2018-07-12 Richard Biener <rguenther@suse.de>
[official-gcc.git] / Makefile.in
blobe0dfad337a6cab955508eafd76e93166e956b423
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 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
157 GOC="$(GOC_FOR_BUILD)"; export GOC; \
158 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
159 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
160 LD="$(LD_FOR_BUILD)"; export LD; \
161 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
162 NM="$(NM_FOR_BUILD)"; export NM; \
163 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
164 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
165 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
167 # These variables must be set on the make command line for directories
168 # built for the build system to override those in BASE_FLAGS_TO_PASS.
169 EXTRA_BUILD_FLAGS = \
170 CFLAGS="$(CFLAGS_FOR_BUILD)" \
171 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
173 # This is the list of directories to built for the host system.
174 SUBDIRS = @configdirs@
175 TARGET_CONFIGDIRS = @target_configdirs@
176 # This is set by the configure script to the arguments to use when configuring
177 # directories built for the host system.
178 HOST_CONFIGARGS = @host_configargs@
179 # Host programs are put under this directory, which is . except if building
180 # with srcdir=..
181 HOST_SUBDIR = @host_subdir@
182 # This is the list of variables to export in the environment when
183 # configuring subdirectories for the host system. We need to pass
184 # some to the GCC configure because of its hybrid host/target nature.
185 HOST_EXPORTS = \
186 $(BASE_EXPORTS) \
187 CC="$(CC)"; export CC; \
188 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
189 CFLAGS="$(CFLAGS)"; export CFLAGS; \
190 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
191 CXX="$(CXX)"; export CXX; \
192 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
193 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
194 GOC="$(GOC)"; export GOC; \
195 AR="$(AR)"; export AR; \
196 AS="$(AS)"; export AS; \
197 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
198 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
199 LD="$(LD)"; export LD; \
200 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
201 NM="$(NM)"; export NM; \
202 RANLIB="$(RANLIB)"; export RANLIB; \
203 WINDRES="$(WINDRES)"; export WINDRES; \
204 WINDMC="$(WINDMC)"; export WINDMC; \
205 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
206 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
207 READELF="$(READELF)"; export READELF; \
208 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
209 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
210 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
211 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
212 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
213 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
214 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
215 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
216 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
217 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
218 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
219 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
220 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
221 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
224 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
225 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
226 @if gcc-bootstrap
227 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
228 @endif gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
231 POSTSTAGE1_CXX_EXPORT = \
232 CXX='$(CXX)'; export CXX; \
233 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
234 @if target-libstdc++-v3-bootstrap
235 # Override the above if we're bootstrapping C++.
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
238 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
239 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
241 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
242 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
244 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
246 export CXX; \
247 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
248 @endif target-libstdc++-v3-bootstrap
250 # Similar, for later GCC stages.
251 POSTSTAGE1_HOST_EXPORTS = \
252 $(HOST_EXPORTS) \
253 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
254 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
255 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
256 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
257 $(POSTSTAGE1_CXX_EXPORT) \
258 $(LTO_EXPORTS) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
280 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
281 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
282 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
283 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
284 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
285 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
286 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
287 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find isl
313 HOST_ISLLIBS = @isllibs@
314 HOST_ISLINC = @islinc@
316 # Where to find libelf
317 HOST_LIBELFLIBS = @libelflibs@
318 HOST_LIBELFINC = @libelfinc@
320 # ----------------------------------------------
321 # Programs producing files for the BUILD machine
322 # ----------------------------------------------
324 SHELL = @SHELL@
326 # pwd command to use. Allow user to override default by setting PWDCMD in
327 # the environment to account for automounters. The make variable must not
328 # be called PWDCMD, otherwise the value set here is passed to make
329 # subprocesses and overrides the setting from the user's environment.
330 # Don't use PWD since it is a common shell environment variable and we
331 # don't want to corrupt it.
332 PWD_COMMAND = $${PWDCMD-pwd}
334 # compilers to use to create programs which must be run in the build
335 # environment.
336 AR_FOR_BUILD = @AR_FOR_BUILD@
337 AS_FOR_BUILD = @AS_FOR_BUILD@
338 CC_FOR_BUILD = @CC_FOR_BUILD@
339 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
340 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
341 CXX_FOR_BUILD = @CXX_FOR_BUILD@
342 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
343 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
344 GOC_FOR_BUILD = @GOC_FOR_BUILD@
345 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
346 LD_FOR_BUILD = @LD_FOR_BUILD@
347 NM_FOR_BUILD = @NM_FOR_BUILD@
348 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
349 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
350 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
352 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
353 # here so that they can be overridden by Makefile fragments.
354 BUILD_PREFIX = @BUILD_PREFIX@
355 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
357 # Flags to pass to stage2 and later makes. They are defined
358 # here so that they can be overridden by Makefile fragments.
359 BOOT_CFLAGS= -g -O2
360 BOOT_LDFLAGS=
361 BOOT_ADAFLAGS= -gnatpg
363 AWK = @AWK@
364 SED = @SED@
365 BISON = @BISON@
366 YACC = @YACC@
367 FLEX = @FLEX@
368 LEX = @LEX@
369 M4 = @M4@
370 MAKEINFO = @MAKEINFO@
371 EXPECT = @EXPECT@
372 RUNTEST = @RUNTEST@
374 AUTO_PROFILE = gcc-auto-profile -c 1000000
376 # This just becomes part of the MAKEINFO definition passed down to
377 # sub-makes. It lets flags be given on the command line while still
378 # using the makeinfo from the object tree.
379 # (Default to avoid splitting info files by setting the threshold high.)
380 MAKEINFOFLAGS = --split-size=5000000
382 # ---------------------------------------------
383 # Programs producing files for the HOST machine
384 # ---------------------------------------------
386 AS = @AS@
387 AR = @AR@
388 AR_FLAGS = rc
389 CC = @CC@
390 CXX = @CXX@
391 DLLTOOL = @DLLTOOL@
392 LD = @LD@
393 LIPO = @LIPO@
394 NM = @NM@
395 OBJDUMP = @OBJDUMP@
396 RANLIB = @RANLIB@
397 READELF = @READELF@
398 STRIP = @STRIP@
399 WINDRES = @WINDRES@
400 WINDMC = @WINDMC@
402 GNATBIND = @GNATBIND@
403 GNATMAKE = @GNATMAKE@
405 CFLAGS = @CFLAGS@
406 LDFLAGS = @LDFLAGS@
407 LIBCFLAGS = $(CFLAGS)
408 CXXFLAGS = @CXXFLAGS@
409 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
410 GOCFLAGS = $(CFLAGS)
412 CREATE_GCOV = create_gcov
414 TFLAGS =
416 # Defaults for all stages; some are overridden below.
418 STAGE_CFLAGS = $(BOOT_CFLAGS)
419 STAGE_TFLAGS = $(TFLAGS)
420 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
423 # Defaults for stage 1; some are overridden below.
424 STAGE1_CFLAGS = $(STAGE_CFLAGS)
425 STAGE1_CXXFLAGS = $(CXXFLAGS)
426 @if target-libstdc++-v3-bootstrap
427 # Override the above if we're bootstrapping C++.
428 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
429 @endif target-libstdc++-v3-bootstrap
430 STAGE1_TFLAGS = $(STAGE_TFLAGS)
431 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
433 # Defaults for stage 2; some are overridden below.
434 STAGE2_CFLAGS = $(STAGE_CFLAGS)
435 STAGE2_CXXFLAGS = $(CXXFLAGS)
436 @if target-libstdc++-v3-bootstrap
437 # Override the above if we're bootstrapping C++.
438 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
439 @endif target-libstdc++-v3-bootstrap
440 STAGE2_TFLAGS = $(STAGE_TFLAGS)
441 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
443 # Defaults for stage 3; some are overridden below.
444 STAGE3_CFLAGS = $(STAGE_CFLAGS)
445 STAGE3_CXXFLAGS = $(CXXFLAGS)
446 @if target-libstdc++-v3-bootstrap
447 # Override the above if we're bootstrapping C++.
448 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
449 @endif target-libstdc++-v3-bootstrap
450 STAGE3_TFLAGS = $(STAGE_TFLAGS)
451 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
453 # Defaults for stage 4; some are overridden below.
454 STAGE4_CFLAGS = $(STAGE_CFLAGS)
455 STAGE4_CXXFLAGS = $(CXXFLAGS)
456 @if target-libstdc++-v3-bootstrap
457 # Override the above if we're bootstrapping C++.
458 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
459 @endif target-libstdc++-v3-bootstrap
460 STAGE4_TFLAGS = $(STAGE_TFLAGS)
461 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
463 # Defaults for stage profile; some are overridden below.
464 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
465 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
466 @if target-libstdc++-v3-bootstrap
467 # Override the above if we're bootstrapping C++.
468 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
469 @endif target-libstdc++-v3-bootstrap
470 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
471 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
473 # Defaults for stage train; some are overridden below.
474 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
475 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
476 @if target-libstdc++-v3-bootstrap
477 # Override the above if we're bootstrapping C++.
478 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
479 @endif target-libstdc++-v3-bootstrap
480 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
481 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
483 # Defaults for stage feedback; some are overridden below.
484 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
485 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
486 @if target-libstdc++-v3-bootstrap
487 # Override the above if we're bootstrapping C++.
488 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
489 @endif target-libstdc++-v3-bootstrap
490 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
491 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
493 # Defaults for stage autoprofile; some are overridden below.
494 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
495 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
496 @if target-libstdc++-v3-bootstrap
497 # Override the above if we're bootstrapping C++.
498 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
499 @endif target-libstdc++-v3-bootstrap
500 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
501 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
503 # Defaults for stage autofeedback; some are overridden below.
504 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
505 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
506 @if target-libstdc++-v3-bootstrap
507 # Override the above if we're bootstrapping C++.
508 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
509 @endif target-libstdc++-v3-bootstrap
510 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
511 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
514 # By default, C and C++ are the only stage1 languages, because they are the
515 # only ones we require to build with the bootstrap compiler, and also the
516 # only ones useful for building stage2.
518 STAGE1_CFLAGS = @stage1_cflags@
519 STAGE1_CHECKING = @stage1_checking@
520 STAGE1_LANGUAGES = @stage1_languages@
521 # * We force-disable intermodule optimizations, even if
522 # --enable-intermodule was passed, since the installed compiler
523 # probably can't handle them. Luckily, autoconf always respects
524 # the last argument when conflicting --enable arguments are passed.
525 # * Likewise, we force-disable coverage flags, since the installed
526 # compiler probably has never heard of them.
527 # * We also disable -Wformat, since older GCCs don't understand newer %s.
528 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
529 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
530 --disable-build-format-warnings
532 # When using the slow stage1 compiler disable IL verification and forcefully
533 # enable it when using the stage2 compiler instead. As we later compare
534 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
535 # checking when building all target libraries for release builds.
536 STAGE1_TFLAGS += -fno-checking
537 STAGE2_CFLAGS += -fno-checking
538 STAGE2_TFLAGS += -fno-checking
539 STAGE3_CFLAGS += -fchecking=1
540 STAGE3_TFLAGS += -fchecking=1
542 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
543 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
545 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
546 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
548 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
549 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
551 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
552 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
554 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
555 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
557 do-compare = @do_compare@
558 do-compare3 = $(do-compare)
560 # -----------------------------------------------
561 # Programs producing files for the TARGET machine
562 # -----------------------------------------------
564 AR_FOR_TARGET=@AR_FOR_TARGET@
565 AS_FOR_TARGET=@AS_FOR_TARGET@
566 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
568 # If GCC_FOR_TARGET is not overriden on the command line, then this
569 # variable is passed down to the gcc Makefile, where it is used to
570 # build libgcc2.a. We define it here so that it can itself be
571 # overridden on the command line.
572 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
573 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
574 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
575 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
576 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
577 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
578 LD_FOR_TARGET=@LD_FOR_TARGET@
580 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
581 NM_FOR_TARGET=@NM_FOR_TARGET@
582 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
583 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
584 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
585 READELF_FOR_TARGET=@READELF_FOR_TARGET@
586 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
587 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
588 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
590 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
591 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
592 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
594 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
595 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
597 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
598 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
599 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
600 GOCFLAGS_FOR_TARGET = -O2 -g
602 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
603 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
604 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
606 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
608 # ------------------------------------
609 # Miscellaneous targets and flag lists
610 # ------------------------------------
612 # The first rule in the file had better be this one. Don't put any above it.
613 # This lives here to allow makefile fragments to contain dependencies.
614 all:
616 #### host and target specific makefile fragments come in here.
617 @target_makefile_frag@
618 @alphaieee_frag@
619 @ospace_frag@
620 @host_makefile_frag@
623 # This is the list of directories that may be needed in RPATH_ENVVAR
624 # so that programs built for the target machine work.
625 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
627 @if target-libstdc++-v3
628 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
629 @endif target-libstdc++-v3
631 @if target-libsanitizer
632 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
633 @endif target-libsanitizer
635 @if target-libvtv
636 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
637 @endif target-libvtv
639 @if target-liboffloadmic
640 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
641 @endif target-liboffloadmic
643 @if target-libssp
644 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
645 @endif target-libssp
647 @if target-libgomp
648 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
649 @endif target-libgomp
651 @if target-libitm
652 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
653 @endif target-libitm
655 @if target-libatomic
656 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
657 @endif target-libatomic
661 # This is the list of directories that may be needed in RPATH_ENVVAR
662 # so that programs built for the host machine work.
663 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
665 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
666 @if gcc
667 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
668 @endif gcc
671 @if gmp
672 HOST_LIB_PATH_gmp = \
673 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
674 @endif gmp
676 @if mpfr
677 HOST_LIB_PATH_mpfr = \
678 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
679 @endif mpfr
681 @if mpc
682 HOST_LIB_PATH_mpc = \
683 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
684 @endif mpc
686 @if isl
687 HOST_LIB_PATH_isl = \
688 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
689 @endif isl
691 @if libelf
692 HOST_LIB_PATH_libelf = \
693 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
694 @endif libelf
697 CXX_FOR_TARGET_FLAG_TO_PASS = \
698 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
699 @if target-libstdc++-v3
700 # CXX_FOR_TARGET is tricky to get right for target libs that require a
701 # functional C++ compiler. When we recurse, if we expand
702 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
703 # libstdc++ include flags from the script. Instead, we get an
704 # -funconfigured-* word, so that we'll get errors if this invalid C++
705 # command line is used for anything, but also so that we can use the
706 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
707 # don't pass it on, sub-make will use the default definition, that
708 # re-expands it at the time of use, so we'll get it right when we need
709 # it. One potential exception is the expansion of CXX_FOR_TARGET
710 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
711 # really work, for C++ host programs can't depend on the current-stage
712 # C++ target library.
713 CXX_FOR_TARGET_FLAG_TO_PASS = \
714 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
715 @endif target-libstdc++-v3
717 # Flags to pass down to all sub-makes. STAGE*FLAGS,
718 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
719 # overrideable (for a bootstrap build stage1 also builds gcc.info).
720 BASE_FLAGS_TO_PASS = \
721 "DESTDIR=$(DESTDIR)" \
722 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
723 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
724 "bindir=$(bindir)" \
725 "datadir=$(datadir)" \
726 "exec_prefix=$(exec_prefix)" \
727 "includedir=$(includedir)" \
728 "datarootdir=$(datarootdir)" \
729 "docdir=$(docdir)" \
730 "infodir=$(infodir)" \
731 "pdfdir=$(pdfdir)" \
732 "htmldir=$(htmldir)" \
733 "libdir=$(libdir)" \
734 "libexecdir=$(libexecdir)" \
735 "lispdir=$(lispdir)" \
736 "localstatedir=$(localstatedir)" \
737 "mandir=$(mandir)" \
738 "oldincludedir=$(oldincludedir)" \
739 "prefix=$(prefix)" \
740 "sbindir=$(sbindir)" \
741 "sharedstatedir=$(sharedstatedir)" \
742 "sysconfdir=$(sysconfdir)" \
743 "tooldir=$(tooldir)" \
744 "build_tooldir=$(build_tooldir)" \
745 "target_alias=$(target_alias)" \
746 "AWK=$(AWK)" \
747 "BISON=$(BISON)" \
748 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
749 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
750 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
751 "EXPECT=$(EXPECT)" \
752 "FLEX=$(FLEX)" \
753 "INSTALL=$(INSTALL)" \
754 "INSTALL_DATA=$(INSTALL_DATA)" \
755 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
756 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
757 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
758 "LEX=$(LEX)" \
759 "M4=$(M4)" \
760 "MAKE=$(MAKE)" \
761 "RUNTEST=$(RUNTEST)" \
762 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
763 "SED=$(SED)" \
764 "SHELL=$(SHELL)" \
765 "YACC=$(YACC)" \
766 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
767 "ADA_CFLAGS=$(ADA_CFLAGS)" \
768 "AR_FLAGS=$(AR_FLAGS)" \
769 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
770 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
771 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
772 "CFLAGS=$(CFLAGS)" \
773 "CXXFLAGS=$(CXXFLAGS)" \
774 "LDFLAGS=$(LDFLAGS)" \
775 "LIBCFLAGS=$(LIBCFLAGS)" \
776 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
777 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
778 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
779 "GNATBIND=$(GNATBIND)" \
780 "GNATMAKE=$(GNATMAKE)" \
781 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
782 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
783 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
784 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
785 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
786 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
787 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
788 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
789 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
790 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
791 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
792 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
793 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
794 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
795 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
796 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
797 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
798 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
799 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
800 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
801 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
802 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
803 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
804 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
805 "BUILD_CONFIG=$(BUILD_CONFIG)" \
806 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
807 "LEAN=$(LEAN)" \
808 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
809 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
810 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
811 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
812 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
813 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
814 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
815 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
816 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
817 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
818 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
819 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
820 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
821 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
822 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
823 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
824 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
825 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
826 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
827 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
828 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
829 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
830 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
831 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
832 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
833 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
834 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
835 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
836 "TFLAGS=$(TFLAGS)" \
837 "CONFIG_SHELL=$(SHELL)" \
838 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
839 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
841 # We leave this in just in case, but it is not needed anymore.
842 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
844 # Flags to pass down to most sub-makes, in which we're building with
845 # the host environment.
846 EXTRA_HOST_FLAGS = \
847 'AR=$(AR)' \
848 'AS=$(AS)' \
849 'CC=$(CC)' \
850 'CXX=$(CXX)' \
851 'DLLTOOL=$(DLLTOOL)' \
852 'GFORTRAN=$(GFORTRAN)' \
853 'GOC=$(GOC)' \
854 'LD=$(LD)' \
855 'LIPO=$(LIPO)' \
856 'NM=$(NM)' \
857 'OBJDUMP=$(OBJDUMP)' \
858 'RANLIB=$(RANLIB)' \
859 'READELF=$(READELF)' \
860 'STRIP=$(STRIP)' \
861 'WINDRES=$(WINDRES)' \
862 'WINDMC=$(WINDMC)' \
863 'CREATE_GCOV=$(CREATE_GCOV)'
865 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
867 # Flags to pass to stage1 or when not bootstrapping.
869 STAGE1_FLAGS_TO_PASS = \
870 LDFLAGS="$${LDFLAGS}" \
871 HOST_LIBS="$${HOST_LIBS}"
873 # Flags to pass to stage2 and later makes.
875 POSTSTAGE1_FLAGS_TO_PASS = \
876 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
877 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
878 GNATBIND="$${GNATBIND}" \
879 LDFLAGS="$${LDFLAGS}" \
880 HOST_LIBS="$${HOST_LIBS}" \
881 $(LTO_FLAGS_TO_PASS) \
882 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
884 @if gcc-bootstrap
885 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
886 $(POSTSTAGE1_HOST_EXPORTS) \
889 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
890 @endif gcc-bootstrap
892 # Flags to pass down to makes which are built with the target environment.
893 # The double $ decreases the length of the command line; those variables
894 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
895 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
896 # so we expand them here.
897 EXTRA_TARGET_FLAGS = \
898 'AR=$$(AR_FOR_TARGET)' \
899 'AS=$(COMPILER_AS_FOR_TARGET)' \
900 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
901 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
902 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
903 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
904 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
905 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
906 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
907 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
908 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
909 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
910 'LD=$(COMPILER_LD_FOR_TARGET)' \
911 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
912 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
913 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
914 'NM=$(COMPILER_NM_FOR_TARGET)' \
915 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
916 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
917 'RANLIB=$$(RANLIB_FOR_TARGET)' \
918 'READELF=$$(READELF_FOR_TARGET)' \
919 'WINDRES=$$(WINDRES_FOR_TARGET)' \
920 'WINDMC=$$(WINDMC_FOR_TARGET)' \
921 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
922 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
923 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
924 "TFLAGS=$$TFLAGS"
926 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
928 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
929 # unfortunately needs the native compiler and the target ar and
930 # ranlib.
931 # If any variables are added here, they must be added to do-*, below.
932 # The BUILD_* variables are a special case, which are used for the gcc
933 # cross-building scheme.
934 EXTRA_GCC_FLAGS = \
935 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
936 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
937 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
939 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
941 @if gcc
942 BUILD_CONFIG = @BUILD_CONFIG@
943 ifneq ($(BUILD_CONFIG),)
944 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
945 endif
946 @endif gcc
948 .PHONY: configure-host
949 configure-host: \
950 maybe-configure-bfd \
951 maybe-configure-opcodes \
952 maybe-configure-binutils \
953 maybe-configure-bison \
954 maybe-configure-cgen \
955 maybe-configure-dejagnu \
956 maybe-configure-etc \
957 maybe-configure-fastjar \
958 maybe-configure-fixincludes \
959 maybe-configure-flex \
960 maybe-configure-gas \
961 maybe-configure-gcc \
962 maybe-configure-gmp \
963 maybe-configure-mpfr \
964 maybe-configure-mpc \
965 maybe-configure-isl \
966 maybe-configure-libelf \
967 maybe-configure-gold \
968 maybe-configure-gprof \
969 maybe-configure-intl \
970 maybe-configure-tcl \
971 maybe-configure-itcl \
972 maybe-configure-ld \
973 maybe-configure-libbacktrace \
974 maybe-configure-libcpp \
975 maybe-configure-libdecnumber \
976 maybe-configure-libgui \
977 maybe-configure-libiberty \
978 maybe-configure-libiberty-linker-plugin \
979 maybe-configure-libiconv \
980 maybe-configure-m4 \
981 maybe-configure-readline \
982 maybe-configure-sid \
983 maybe-configure-sim \
984 maybe-configure-texinfo \
985 maybe-configure-zlib \
986 maybe-configure-gdb \
987 maybe-configure-expect \
988 maybe-configure-guile \
989 maybe-configure-tk \
990 maybe-configure-libtermcap \
991 maybe-configure-utils \
992 maybe-configure-gnattools \
993 maybe-configure-lto-plugin \
994 maybe-configure-libcc1 \
995 maybe-configure-gotools
996 .PHONY: configure-target
997 configure-target: \
998 maybe-configure-target-libstdc++-v3 \
999 maybe-configure-target-libsanitizer \
1000 maybe-configure-target-libvtv \
1001 maybe-configure-target-liboffloadmic \
1002 maybe-configure-target-libssp \
1003 maybe-configure-target-newlib \
1004 maybe-configure-target-libgcc \
1005 maybe-configure-target-libbacktrace \
1006 maybe-configure-target-libquadmath \
1007 maybe-configure-target-libgfortran \
1008 maybe-configure-target-libobjc \
1009 maybe-configure-target-libgo \
1010 maybe-configure-target-libhsail-rt \
1011 maybe-configure-target-libtermcap \
1012 maybe-configure-target-winsup \
1013 maybe-configure-target-libgloss \
1014 maybe-configure-target-libffi \
1015 maybe-configure-target-zlib \
1016 maybe-configure-target-rda \
1017 maybe-configure-target-libada \
1018 maybe-configure-target-libgomp \
1019 maybe-configure-target-libitm \
1020 maybe-configure-target-libatomic
1022 # The target built for a native non-bootstrap build.
1023 .PHONY: all
1024 all:
1025 @if gcc-bootstrap
1026 [ -f stage_final ] || echo stage3 > stage_final
1027 @r=`${PWD_COMMAND}`; export r; \
1028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1029 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1030 @endif gcc-bootstrap
1031 @: $(MAKE); $(unstage)
1032 @r=`${PWD_COMMAND}`; export r; \
1033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1034 @if gcc-bootstrap
1035 if [ -f stage_last ]; then \
1036 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1037 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1038 else \
1039 @endif gcc-bootstrap
1040 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1041 @if gcc-bootstrap
1043 fi \
1044 @endif gcc-bootstrap
1045 && :
1047 .PHONY: all-build
1049 all-build: maybe-all-build-libiberty
1050 all-build: maybe-all-build-bison
1051 all-build: maybe-all-build-flex
1052 all-build: maybe-all-build-m4
1053 all-build: maybe-all-build-texinfo
1054 all-build: maybe-all-build-fixincludes
1055 all-build: maybe-all-build-libcpp
1057 .PHONY: all-host
1059 @if bfd-no-bootstrap
1060 all-host: maybe-all-bfd
1061 @endif bfd-no-bootstrap
1062 @if opcodes-no-bootstrap
1063 all-host: maybe-all-opcodes
1064 @endif opcodes-no-bootstrap
1065 @if binutils-no-bootstrap
1066 all-host: maybe-all-binutils
1067 @endif binutils-no-bootstrap
1068 all-host: maybe-all-bison
1069 all-host: maybe-all-cgen
1070 all-host: maybe-all-dejagnu
1071 all-host: maybe-all-etc
1072 all-host: maybe-all-fastjar
1073 @if fixincludes-no-bootstrap
1074 all-host: maybe-all-fixincludes
1075 @endif fixincludes-no-bootstrap
1076 all-host: maybe-all-flex
1077 @if gas-no-bootstrap
1078 all-host: maybe-all-gas
1079 @endif gas-no-bootstrap
1080 @if gcc-no-bootstrap
1081 all-host: maybe-all-gcc
1082 @endif gcc-no-bootstrap
1083 @if gmp-no-bootstrap
1084 all-host: maybe-all-gmp
1085 @endif gmp-no-bootstrap
1086 @if mpfr-no-bootstrap
1087 all-host: maybe-all-mpfr
1088 @endif mpfr-no-bootstrap
1089 @if mpc-no-bootstrap
1090 all-host: maybe-all-mpc
1091 @endif mpc-no-bootstrap
1092 @if isl-no-bootstrap
1093 all-host: maybe-all-isl
1094 @endif isl-no-bootstrap
1095 @if libelf-no-bootstrap
1096 all-host: maybe-all-libelf
1097 @endif libelf-no-bootstrap
1098 @if gold-no-bootstrap
1099 all-host: maybe-all-gold
1100 @endif gold-no-bootstrap
1101 all-host: maybe-all-gprof
1102 @if intl-no-bootstrap
1103 all-host: maybe-all-intl
1104 @endif intl-no-bootstrap
1105 all-host: maybe-all-tcl
1106 all-host: maybe-all-itcl
1107 @if ld-no-bootstrap
1108 all-host: maybe-all-ld
1109 @endif ld-no-bootstrap
1110 @if libbacktrace-no-bootstrap
1111 all-host: maybe-all-libbacktrace
1112 @endif libbacktrace-no-bootstrap
1113 @if libcpp-no-bootstrap
1114 all-host: maybe-all-libcpp
1115 @endif libcpp-no-bootstrap
1116 @if libdecnumber-no-bootstrap
1117 all-host: maybe-all-libdecnumber
1118 @endif libdecnumber-no-bootstrap
1119 all-host: maybe-all-libgui
1120 @if libiberty-no-bootstrap
1121 all-host: maybe-all-libiberty
1122 @endif libiberty-no-bootstrap
1123 @if libiberty-linker-plugin-no-bootstrap
1124 all-host: maybe-all-libiberty-linker-plugin
1125 @endif libiberty-linker-plugin-no-bootstrap
1126 @if libiconv-no-bootstrap
1127 all-host: maybe-all-libiconv
1128 @endif libiconv-no-bootstrap
1129 all-host: maybe-all-m4
1130 all-host: maybe-all-readline
1131 all-host: maybe-all-sid
1132 all-host: maybe-all-sim
1133 all-host: maybe-all-texinfo
1134 @if zlib-no-bootstrap
1135 all-host: maybe-all-zlib
1136 @endif zlib-no-bootstrap
1137 all-host: maybe-all-gdb
1138 all-host: maybe-all-expect
1139 all-host: maybe-all-guile
1140 all-host: maybe-all-tk
1141 all-host: maybe-all-libtermcap
1142 all-host: maybe-all-utils
1143 all-host: maybe-all-gnattools
1144 @if lto-plugin-no-bootstrap
1145 all-host: maybe-all-lto-plugin
1146 @endif lto-plugin-no-bootstrap
1147 all-host: maybe-all-libcc1
1148 all-host: maybe-all-gotools
1150 .PHONY: all-target
1152 @if target-libstdc++-v3-no-bootstrap
1153 all-target: maybe-all-target-libstdc++-v3
1154 @endif target-libstdc++-v3-no-bootstrap
1155 @if target-libsanitizer-no-bootstrap
1156 all-target: maybe-all-target-libsanitizer
1157 @endif target-libsanitizer-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-liboffloadmic
1162 all-target: maybe-all-target-libssp
1163 all-target: maybe-all-target-newlib
1164 @if target-libgcc-no-bootstrap
1165 all-target: maybe-all-target-libgcc
1166 @endif target-libgcc-no-bootstrap
1167 all-target: maybe-all-target-libbacktrace
1168 all-target: maybe-all-target-libquadmath
1169 all-target: maybe-all-target-libgfortran
1170 all-target: maybe-all-target-libobjc
1171 all-target: maybe-all-target-libgo
1172 all-target: maybe-all-target-libhsail-rt
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-zlib
1178 all-target: maybe-all-target-rda
1179 all-target: maybe-all-target-libada
1180 @if target-libgomp-no-bootstrap
1181 all-target: maybe-all-target-libgomp
1182 @endif target-libgomp-no-bootstrap
1183 all-target: maybe-all-target-libitm
1184 all-target: maybe-all-target-libatomic
1186 # Do a target for all the subdirectories. A ``make do-X'' will do a
1187 # ``make X'' in all subdirectories (because, in general, there is a
1188 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1189 # but it may do additional work as well).
1191 .PHONY: do-info
1192 do-info:
1193 @: $(MAKE); $(unstage)
1194 @r=`${PWD_COMMAND}`; export r; \
1195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1196 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1197 info-target
1200 .PHONY: info-host
1202 info-host: maybe-info-bfd
1203 info-host: maybe-info-opcodes
1204 info-host: maybe-info-binutils
1205 info-host: maybe-info-bison
1206 info-host: maybe-info-cgen
1207 info-host: maybe-info-dejagnu
1208 info-host: maybe-info-etc
1209 info-host: maybe-info-fastjar
1210 info-host: maybe-info-fixincludes
1211 info-host: maybe-info-flex
1212 info-host: maybe-info-gas
1213 info-host: maybe-info-gcc
1214 info-host: maybe-info-gmp
1215 info-host: maybe-info-mpfr
1216 info-host: maybe-info-mpc
1217 info-host: maybe-info-isl
1218 info-host: maybe-info-libelf
1219 info-host: maybe-info-gold
1220 info-host: maybe-info-gprof
1221 info-host: maybe-info-intl
1222 info-host: maybe-info-tcl
1223 info-host: maybe-info-itcl
1224 info-host: maybe-info-ld
1225 info-host: maybe-info-libbacktrace
1226 info-host: maybe-info-libcpp
1227 info-host: maybe-info-libdecnumber
1228 info-host: maybe-info-libgui
1229 info-host: maybe-info-libiberty
1230 info-host: maybe-info-libiberty-linker-plugin
1231 info-host: maybe-info-libiconv
1232 info-host: maybe-info-m4
1233 info-host: maybe-info-readline
1234 info-host: maybe-info-sid
1235 info-host: maybe-info-sim
1236 info-host: maybe-info-texinfo
1237 info-host: maybe-info-zlib
1238 info-host: maybe-info-gdb
1239 info-host: maybe-info-expect
1240 info-host: maybe-info-guile
1241 info-host: maybe-info-tk
1242 info-host: maybe-info-libtermcap
1243 info-host: maybe-info-utils
1244 info-host: maybe-info-gnattools
1245 info-host: maybe-info-lto-plugin
1246 info-host: maybe-info-libcc1
1247 info-host: maybe-info-gotools
1249 .PHONY: info-target
1251 info-target: maybe-info-target-libstdc++-v3
1252 info-target: maybe-info-target-libsanitizer
1253 info-target: maybe-info-target-libvtv
1254 info-target: maybe-info-target-liboffloadmic
1255 info-target: maybe-info-target-libssp
1256 info-target: maybe-info-target-newlib
1257 info-target: maybe-info-target-libgcc
1258 info-target: maybe-info-target-libbacktrace
1259 info-target: maybe-info-target-libquadmath
1260 info-target: maybe-info-target-libgfortran
1261 info-target: maybe-info-target-libobjc
1262 info-target: maybe-info-target-libgo
1263 info-target: maybe-info-target-libhsail-rt
1264 info-target: maybe-info-target-libtermcap
1265 info-target: maybe-info-target-winsup
1266 info-target: maybe-info-target-libgloss
1267 info-target: maybe-info-target-libffi
1268 info-target: maybe-info-target-zlib
1269 info-target: maybe-info-target-rda
1270 info-target: maybe-info-target-libada
1271 info-target: maybe-info-target-libgomp
1272 info-target: maybe-info-target-libitm
1273 info-target: maybe-info-target-libatomic
1275 .PHONY: do-dvi
1276 do-dvi:
1277 @: $(MAKE); $(unstage)
1278 @r=`${PWD_COMMAND}`; export r; \
1279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1280 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1281 dvi-target
1284 .PHONY: dvi-host
1286 dvi-host: maybe-dvi-bfd
1287 dvi-host: maybe-dvi-opcodes
1288 dvi-host: maybe-dvi-binutils
1289 dvi-host: maybe-dvi-bison
1290 dvi-host: maybe-dvi-cgen
1291 dvi-host: maybe-dvi-dejagnu
1292 dvi-host: maybe-dvi-etc
1293 dvi-host: maybe-dvi-fastjar
1294 dvi-host: maybe-dvi-fixincludes
1295 dvi-host: maybe-dvi-flex
1296 dvi-host: maybe-dvi-gas
1297 dvi-host: maybe-dvi-gcc
1298 dvi-host: maybe-dvi-gmp
1299 dvi-host: maybe-dvi-mpfr
1300 dvi-host: maybe-dvi-mpc
1301 dvi-host: maybe-dvi-isl
1302 dvi-host: maybe-dvi-libelf
1303 dvi-host: maybe-dvi-gold
1304 dvi-host: maybe-dvi-gprof
1305 dvi-host: maybe-dvi-intl
1306 dvi-host: maybe-dvi-tcl
1307 dvi-host: maybe-dvi-itcl
1308 dvi-host: maybe-dvi-ld
1309 dvi-host: maybe-dvi-libbacktrace
1310 dvi-host: maybe-dvi-libcpp
1311 dvi-host: maybe-dvi-libdecnumber
1312 dvi-host: maybe-dvi-libgui
1313 dvi-host: maybe-dvi-libiberty
1314 dvi-host: maybe-dvi-libiberty-linker-plugin
1315 dvi-host: maybe-dvi-libiconv
1316 dvi-host: maybe-dvi-m4
1317 dvi-host: maybe-dvi-readline
1318 dvi-host: maybe-dvi-sid
1319 dvi-host: maybe-dvi-sim
1320 dvi-host: maybe-dvi-texinfo
1321 dvi-host: maybe-dvi-zlib
1322 dvi-host: maybe-dvi-gdb
1323 dvi-host: maybe-dvi-expect
1324 dvi-host: maybe-dvi-guile
1325 dvi-host: maybe-dvi-tk
1326 dvi-host: maybe-dvi-libtermcap
1327 dvi-host: maybe-dvi-utils
1328 dvi-host: maybe-dvi-gnattools
1329 dvi-host: maybe-dvi-lto-plugin
1330 dvi-host: maybe-dvi-libcc1
1331 dvi-host: maybe-dvi-gotools
1333 .PHONY: dvi-target
1335 dvi-target: maybe-dvi-target-libstdc++-v3
1336 dvi-target: maybe-dvi-target-libsanitizer
1337 dvi-target: maybe-dvi-target-libvtv
1338 dvi-target: maybe-dvi-target-liboffloadmic
1339 dvi-target: maybe-dvi-target-libssp
1340 dvi-target: maybe-dvi-target-newlib
1341 dvi-target: maybe-dvi-target-libgcc
1342 dvi-target: maybe-dvi-target-libbacktrace
1343 dvi-target: maybe-dvi-target-libquadmath
1344 dvi-target: maybe-dvi-target-libgfortran
1345 dvi-target: maybe-dvi-target-libobjc
1346 dvi-target: maybe-dvi-target-libgo
1347 dvi-target: maybe-dvi-target-libhsail-rt
1348 dvi-target: maybe-dvi-target-libtermcap
1349 dvi-target: maybe-dvi-target-winsup
1350 dvi-target: maybe-dvi-target-libgloss
1351 dvi-target: maybe-dvi-target-libffi
1352 dvi-target: maybe-dvi-target-zlib
1353 dvi-target: maybe-dvi-target-rda
1354 dvi-target: maybe-dvi-target-libada
1355 dvi-target: maybe-dvi-target-libgomp
1356 dvi-target: maybe-dvi-target-libitm
1357 dvi-target: maybe-dvi-target-libatomic
1359 .PHONY: do-pdf
1360 do-pdf:
1361 @: $(MAKE); $(unstage)
1362 @r=`${PWD_COMMAND}`; export r; \
1363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1364 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1365 pdf-target
1368 .PHONY: pdf-host
1370 pdf-host: maybe-pdf-bfd
1371 pdf-host: maybe-pdf-opcodes
1372 pdf-host: maybe-pdf-binutils
1373 pdf-host: maybe-pdf-bison
1374 pdf-host: maybe-pdf-cgen
1375 pdf-host: maybe-pdf-dejagnu
1376 pdf-host: maybe-pdf-etc
1377 pdf-host: maybe-pdf-fastjar
1378 pdf-host: maybe-pdf-fixincludes
1379 pdf-host: maybe-pdf-flex
1380 pdf-host: maybe-pdf-gas
1381 pdf-host: maybe-pdf-gcc
1382 pdf-host: maybe-pdf-gmp
1383 pdf-host: maybe-pdf-mpfr
1384 pdf-host: maybe-pdf-mpc
1385 pdf-host: maybe-pdf-isl
1386 pdf-host: maybe-pdf-libelf
1387 pdf-host: maybe-pdf-gold
1388 pdf-host: maybe-pdf-gprof
1389 pdf-host: maybe-pdf-intl
1390 pdf-host: maybe-pdf-tcl
1391 pdf-host: maybe-pdf-itcl
1392 pdf-host: maybe-pdf-ld
1393 pdf-host: maybe-pdf-libbacktrace
1394 pdf-host: maybe-pdf-libcpp
1395 pdf-host: maybe-pdf-libdecnumber
1396 pdf-host: maybe-pdf-libgui
1397 pdf-host: maybe-pdf-libiberty
1398 pdf-host: maybe-pdf-libiberty-linker-plugin
1399 pdf-host: maybe-pdf-libiconv
1400 pdf-host: maybe-pdf-m4
1401 pdf-host: maybe-pdf-readline
1402 pdf-host: maybe-pdf-sid
1403 pdf-host: maybe-pdf-sim
1404 pdf-host: maybe-pdf-texinfo
1405 pdf-host: maybe-pdf-zlib
1406 pdf-host: maybe-pdf-gdb
1407 pdf-host: maybe-pdf-expect
1408 pdf-host: maybe-pdf-guile
1409 pdf-host: maybe-pdf-tk
1410 pdf-host: maybe-pdf-libtermcap
1411 pdf-host: maybe-pdf-utils
1412 pdf-host: maybe-pdf-gnattools
1413 pdf-host: maybe-pdf-lto-plugin
1414 pdf-host: maybe-pdf-libcc1
1415 pdf-host: maybe-pdf-gotools
1417 .PHONY: pdf-target
1419 pdf-target: maybe-pdf-target-libstdc++-v3
1420 pdf-target: maybe-pdf-target-libsanitizer
1421 pdf-target: maybe-pdf-target-libvtv
1422 pdf-target: maybe-pdf-target-liboffloadmic
1423 pdf-target: maybe-pdf-target-libssp
1424 pdf-target: maybe-pdf-target-newlib
1425 pdf-target: maybe-pdf-target-libgcc
1426 pdf-target: maybe-pdf-target-libbacktrace
1427 pdf-target: maybe-pdf-target-libquadmath
1428 pdf-target: maybe-pdf-target-libgfortran
1429 pdf-target: maybe-pdf-target-libobjc
1430 pdf-target: maybe-pdf-target-libgo
1431 pdf-target: maybe-pdf-target-libhsail-rt
1432 pdf-target: maybe-pdf-target-libtermcap
1433 pdf-target: maybe-pdf-target-winsup
1434 pdf-target: maybe-pdf-target-libgloss
1435 pdf-target: maybe-pdf-target-libffi
1436 pdf-target: maybe-pdf-target-zlib
1437 pdf-target: maybe-pdf-target-rda
1438 pdf-target: maybe-pdf-target-libada
1439 pdf-target: maybe-pdf-target-libgomp
1440 pdf-target: maybe-pdf-target-libitm
1441 pdf-target: maybe-pdf-target-libatomic
1443 .PHONY: do-html
1444 do-html:
1445 @: $(MAKE); $(unstage)
1446 @r=`${PWD_COMMAND}`; export r; \
1447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1448 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1449 html-target
1452 .PHONY: html-host
1454 html-host: maybe-html-bfd
1455 html-host: maybe-html-opcodes
1456 html-host: maybe-html-binutils
1457 html-host: maybe-html-bison
1458 html-host: maybe-html-cgen
1459 html-host: maybe-html-dejagnu
1460 html-host: maybe-html-etc
1461 html-host: maybe-html-fastjar
1462 html-host: maybe-html-fixincludes
1463 html-host: maybe-html-flex
1464 html-host: maybe-html-gas
1465 html-host: maybe-html-gcc
1466 html-host: maybe-html-gmp
1467 html-host: maybe-html-mpfr
1468 html-host: maybe-html-mpc
1469 html-host: maybe-html-isl
1470 html-host: maybe-html-libelf
1471 html-host: maybe-html-gold
1472 html-host: maybe-html-gprof
1473 html-host: maybe-html-intl
1474 html-host: maybe-html-tcl
1475 html-host: maybe-html-itcl
1476 html-host: maybe-html-ld
1477 html-host: maybe-html-libbacktrace
1478 html-host: maybe-html-libcpp
1479 html-host: maybe-html-libdecnumber
1480 html-host: maybe-html-libgui
1481 html-host: maybe-html-libiberty
1482 html-host: maybe-html-libiberty-linker-plugin
1483 html-host: maybe-html-libiconv
1484 html-host: maybe-html-m4
1485 html-host: maybe-html-readline
1486 html-host: maybe-html-sid
1487 html-host: maybe-html-sim
1488 html-host: maybe-html-texinfo
1489 html-host: maybe-html-zlib
1490 html-host: maybe-html-gdb
1491 html-host: maybe-html-expect
1492 html-host: maybe-html-guile
1493 html-host: maybe-html-tk
1494 html-host: maybe-html-libtermcap
1495 html-host: maybe-html-utils
1496 html-host: maybe-html-gnattools
1497 html-host: maybe-html-lto-plugin
1498 html-host: maybe-html-libcc1
1499 html-host: maybe-html-gotools
1501 .PHONY: html-target
1503 html-target: maybe-html-target-libstdc++-v3
1504 html-target: maybe-html-target-libsanitizer
1505 html-target: maybe-html-target-libvtv
1506 html-target: maybe-html-target-liboffloadmic
1507 html-target: maybe-html-target-libssp
1508 html-target: maybe-html-target-newlib
1509 html-target: maybe-html-target-libgcc
1510 html-target: maybe-html-target-libbacktrace
1511 html-target: maybe-html-target-libquadmath
1512 html-target: maybe-html-target-libgfortran
1513 html-target: maybe-html-target-libobjc
1514 html-target: maybe-html-target-libgo
1515 html-target: maybe-html-target-libhsail-rt
1516 html-target: maybe-html-target-libtermcap
1517 html-target: maybe-html-target-winsup
1518 html-target: maybe-html-target-libgloss
1519 html-target: maybe-html-target-libffi
1520 html-target: maybe-html-target-zlib
1521 html-target: maybe-html-target-rda
1522 html-target: maybe-html-target-libada
1523 html-target: maybe-html-target-libgomp
1524 html-target: maybe-html-target-libitm
1525 html-target: maybe-html-target-libatomic
1527 .PHONY: do-TAGS
1528 do-TAGS:
1529 @: $(MAKE); $(unstage)
1530 @r=`${PWD_COMMAND}`; export r; \
1531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1532 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1533 TAGS-target
1536 .PHONY: TAGS-host
1538 TAGS-host: maybe-TAGS-bfd
1539 TAGS-host: maybe-TAGS-opcodes
1540 TAGS-host: maybe-TAGS-binutils
1541 TAGS-host: maybe-TAGS-bison
1542 TAGS-host: maybe-TAGS-cgen
1543 TAGS-host: maybe-TAGS-dejagnu
1544 TAGS-host: maybe-TAGS-etc
1545 TAGS-host: maybe-TAGS-fastjar
1546 TAGS-host: maybe-TAGS-fixincludes
1547 TAGS-host: maybe-TAGS-flex
1548 TAGS-host: maybe-TAGS-gas
1549 TAGS-host: maybe-TAGS-gcc
1550 TAGS-host: maybe-TAGS-gmp
1551 TAGS-host: maybe-TAGS-mpfr
1552 TAGS-host: maybe-TAGS-mpc
1553 TAGS-host: maybe-TAGS-isl
1554 TAGS-host: maybe-TAGS-libelf
1555 TAGS-host: maybe-TAGS-gold
1556 TAGS-host: maybe-TAGS-gprof
1557 TAGS-host: maybe-TAGS-intl
1558 TAGS-host: maybe-TAGS-tcl
1559 TAGS-host: maybe-TAGS-itcl
1560 TAGS-host: maybe-TAGS-ld
1561 TAGS-host: maybe-TAGS-libbacktrace
1562 TAGS-host: maybe-TAGS-libcpp
1563 TAGS-host: maybe-TAGS-libdecnumber
1564 TAGS-host: maybe-TAGS-libgui
1565 TAGS-host: maybe-TAGS-libiberty
1566 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1567 TAGS-host: maybe-TAGS-libiconv
1568 TAGS-host: maybe-TAGS-m4
1569 TAGS-host: maybe-TAGS-readline
1570 TAGS-host: maybe-TAGS-sid
1571 TAGS-host: maybe-TAGS-sim
1572 TAGS-host: maybe-TAGS-texinfo
1573 TAGS-host: maybe-TAGS-zlib
1574 TAGS-host: maybe-TAGS-gdb
1575 TAGS-host: maybe-TAGS-expect
1576 TAGS-host: maybe-TAGS-guile
1577 TAGS-host: maybe-TAGS-tk
1578 TAGS-host: maybe-TAGS-libtermcap
1579 TAGS-host: maybe-TAGS-utils
1580 TAGS-host: maybe-TAGS-gnattools
1581 TAGS-host: maybe-TAGS-lto-plugin
1582 TAGS-host: maybe-TAGS-libcc1
1583 TAGS-host: maybe-TAGS-gotools
1585 .PHONY: TAGS-target
1587 TAGS-target: maybe-TAGS-target-libstdc++-v3
1588 TAGS-target: maybe-TAGS-target-libsanitizer
1589 TAGS-target: maybe-TAGS-target-libvtv
1590 TAGS-target: maybe-TAGS-target-liboffloadmic
1591 TAGS-target: maybe-TAGS-target-libssp
1592 TAGS-target: maybe-TAGS-target-newlib
1593 TAGS-target: maybe-TAGS-target-libgcc
1594 TAGS-target: maybe-TAGS-target-libbacktrace
1595 TAGS-target: maybe-TAGS-target-libquadmath
1596 TAGS-target: maybe-TAGS-target-libgfortran
1597 TAGS-target: maybe-TAGS-target-libobjc
1598 TAGS-target: maybe-TAGS-target-libgo
1599 TAGS-target: maybe-TAGS-target-libhsail-rt
1600 TAGS-target: maybe-TAGS-target-libtermcap
1601 TAGS-target: maybe-TAGS-target-winsup
1602 TAGS-target: maybe-TAGS-target-libgloss
1603 TAGS-target: maybe-TAGS-target-libffi
1604 TAGS-target: maybe-TAGS-target-zlib
1605 TAGS-target: maybe-TAGS-target-rda
1606 TAGS-target: maybe-TAGS-target-libada
1607 TAGS-target: maybe-TAGS-target-libgomp
1608 TAGS-target: maybe-TAGS-target-libitm
1609 TAGS-target: maybe-TAGS-target-libatomic
1611 .PHONY: do-install-info
1612 do-install-info:
1613 @: $(MAKE); $(unstage)
1614 @r=`${PWD_COMMAND}`; export r; \
1615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1616 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1617 install-info-target
1620 .PHONY: install-info-host
1622 install-info-host: maybe-install-info-bfd
1623 install-info-host: maybe-install-info-opcodes
1624 install-info-host: maybe-install-info-binutils
1625 install-info-host: maybe-install-info-bison
1626 install-info-host: maybe-install-info-cgen
1627 install-info-host: maybe-install-info-dejagnu
1628 install-info-host: maybe-install-info-etc
1629 install-info-host: maybe-install-info-fastjar
1630 install-info-host: maybe-install-info-fixincludes
1631 install-info-host: maybe-install-info-flex
1632 install-info-host: maybe-install-info-gas
1633 install-info-host: maybe-install-info-gcc
1634 install-info-host: maybe-install-info-gmp
1635 install-info-host: maybe-install-info-mpfr
1636 install-info-host: maybe-install-info-mpc
1637 install-info-host: maybe-install-info-isl
1638 install-info-host: maybe-install-info-libelf
1639 install-info-host: maybe-install-info-gold
1640 install-info-host: maybe-install-info-gprof
1641 install-info-host: maybe-install-info-intl
1642 install-info-host: maybe-install-info-tcl
1643 install-info-host: maybe-install-info-itcl
1644 install-info-host: maybe-install-info-ld
1645 install-info-host: maybe-install-info-libbacktrace
1646 install-info-host: maybe-install-info-libcpp
1647 install-info-host: maybe-install-info-libdecnumber
1648 install-info-host: maybe-install-info-libgui
1649 install-info-host: maybe-install-info-libiberty
1650 install-info-host: maybe-install-info-libiberty-linker-plugin
1651 install-info-host: maybe-install-info-libiconv
1652 install-info-host: maybe-install-info-m4
1653 install-info-host: maybe-install-info-readline
1654 install-info-host: maybe-install-info-sid
1655 install-info-host: maybe-install-info-sim
1656 install-info-host: maybe-install-info-texinfo
1657 install-info-host: maybe-install-info-zlib
1658 install-info-host: maybe-install-info-gdb
1659 install-info-host: maybe-install-info-expect
1660 install-info-host: maybe-install-info-guile
1661 install-info-host: maybe-install-info-tk
1662 install-info-host: maybe-install-info-libtermcap
1663 install-info-host: maybe-install-info-utils
1664 install-info-host: maybe-install-info-gnattools
1665 install-info-host: maybe-install-info-lto-plugin
1666 install-info-host: maybe-install-info-libcc1
1667 install-info-host: maybe-install-info-gotools
1669 .PHONY: install-info-target
1671 install-info-target: maybe-install-info-target-libstdc++-v3
1672 install-info-target: maybe-install-info-target-libsanitizer
1673 install-info-target: maybe-install-info-target-libvtv
1674 install-info-target: maybe-install-info-target-liboffloadmic
1675 install-info-target: maybe-install-info-target-libssp
1676 install-info-target: maybe-install-info-target-newlib
1677 install-info-target: maybe-install-info-target-libgcc
1678 install-info-target: maybe-install-info-target-libbacktrace
1679 install-info-target: maybe-install-info-target-libquadmath
1680 install-info-target: maybe-install-info-target-libgfortran
1681 install-info-target: maybe-install-info-target-libobjc
1682 install-info-target: maybe-install-info-target-libgo
1683 install-info-target: maybe-install-info-target-libhsail-rt
1684 install-info-target: maybe-install-info-target-libtermcap
1685 install-info-target: maybe-install-info-target-winsup
1686 install-info-target: maybe-install-info-target-libgloss
1687 install-info-target: maybe-install-info-target-libffi
1688 install-info-target: maybe-install-info-target-zlib
1689 install-info-target: maybe-install-info-target-rda
1690 install-info-target: maybe-install-info-target-libada
1691 install-info-target: maybe-install-info-target-libgomp
1692 install-info-target: maybe-install-info-target-libitm
1693 install-info-target: maybe-install-info-target-libatomic
1695 .PHONY: do-install-pdf
1696 do-install-pdf:
1697 @: $(MAKE); $(unstage)
1698 @r=`${PWD_COMMAND}`; export r; \
1699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1700 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1701 install-pdf-target
1704 .PHONY: install-pdf-host
1706 install-pdf-host: maybe-install-pdf-bfd
1707 install-pdf-host: maybe-install-pdf-opcodes
1708 install-pdf-host: maybe-install-pdf-binutils
1709 install-pdf-host: maybe-install-pdf-bison
1710 install-pdf-host: maybe-install-pdf-cgen
1711 install-pdf-host: maybe-install-pdf-dejagnu
1712 install-pdf-host: maybe-install-pdf-etc
1713 install-pdf-host: maybe-install-pdf-fastjar
1714 install-pdf-host: maybe-install-pdf-fixincludes
1715 install-pdf-host: maybe-install-pdf-flex
1716 install-pdf-host: maybe-install-pdf-gas
1717 install-pdf-host: maybe-install-pdf-gcc
1718 install-pdf-host: maybe-install-pdf-gmp
1719 install-pdf-host: maybe-install-pdf-mpfr
1720 install-pdf-host: maybe-install-pdf-mpc
1721 install-pdf-host: maybe-install-pdf-isl
1722 install-pdf-host: maybe-install-pdf-libelf
1723 install-pdf-host: maybe-install-pdf-gold
1724 install-pdf-host: maybe-install-pdf-gprof
1725 install-pdf-host: maybe-install-pdf-intl
1726 install-pdf-host: maybe-install-pdf-tcl
1727 install-pdf-host: maybe-install-pdf-itcl
1728 install-pdf-host: maybe-install-pdf-ld
1729 install-pdf-host: maybe-install-pdf-libbacktrace
1730 install-pdf-host: maybe-install-pdf-libcpp
1731 install-pdf-host: maybe-install-pdf-libdecnumber
1732 install-pdf-host: maybe-install-pdf-libgui
1733 install-pdf-host: maybe-install-pdf-libiberty
1734 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1735 install-pdf-host: maybe-install-pdf-libiconv
1736 install-pdf-host: maybe-install-pdf-m4
1737 install-pdf-host: maybe-install-pdf-readline
1738 install-pdf-host: maybe-install-pdf-sid
1739 install-pdf-host: maybe-install-pdf-sim
1740 install-pdf-host: maybe-install-pdf-texinfo
1741 install-pdf-host: maybe-install-pdf-zlib
1742 install-pdf-host: maybe-install-pdf-gdb
1743 install-pdf-host: maybe-install-pdf-expect
1744 install-pdf-host: maybe-install-pdf-guile
1745 install-pdf-host: maybe-install-pdf-tk
1746 install-pdf-host: maybe-install-pdf-libtermcap
1747 install-pdf-host: maybe-install-pdf-utils
1748 install-pdf-host: maybe-install-pdf-gnattools
1749 install-pdf-host: maybe-install-pdf-lto-plugin
1750 install-pdf-host: maybe-install-pdf-libcc1
1751 install-pdf-host: maybe-install-pdf-gotools
1753 .PHONY: install-pdf-target
1755 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1756 install-pdf-target: maybe-install-pdf-target-libsanitizer
1757 install-pdf-target: maybe-install-pdf-target-libvtv
1758 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1759 install-pdf-target: maybe-install-pdf-target-libssp
1760 install-pdf-target: maybe-install-pdf-target-newlib
1761 install-pdf-target: maybe-install-pdf-target-libgcc
1762 install-pdf-target: maybe-install-pdf-target-libbacktrace
1763 install-pdf-target: maybe-install-pdf-target-libquadmath
1764 install-pdf-target: maybe-install-pdf-target-libgfortran
1765 install-pdf-target: maybe-install-pdf-target-libobjc
1766 install-pdf-target: maybe-install-pdf-target-libgo
1767 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1768 install-pdf-target: maybe-install-pdf-target-libtermcap
1769 install-pdf-target: maybe-install-pdf-target-winsup
1770 install-pdf-target: maybe-install-pdf-target-libgloss
1771 install-pdf-target: maybe-install-pdf-target-libffi
1772 install-pdf-target: maybe-install-pdf-target-zlib
1773 install-pdf-target: maybe-install-pdf-target-rda
1774 install-pdf-target: maybe-install-pdf-target-libada
1775 install-pdf-target: maybe-install-pdf-target-libgomp
1776 install-pdf-target: maybe-install-pdf-target-libitm
1777 install-pdf-target: maybe-install-pdf-target-libatomic
1779 .PHONY: do-install-html
1780 do-install-html:
1781 @: $(MAKE); $(unstage)
1782 @r=`${PWD_COMMAND}`; export r; \
1783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1784 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1785 install-html-target
1788 .PHONY: install-html-host
1790 install-html-host: maybe-install-html-bfd
1791 install-html-host: maybe-install-html-opcodes
1792 install-html-host: maybe-install-html-binutils
1793 install-html-host: maybe-install-html-bison
1794 install-html-host: maybe-install-html-cgen
1795 install-html-host: maybe-install-html-dejagnu
1796 install-html-host: maybe-install-html-etc
1797 install-html-host: maybe-install-html-fastjar
1798 install-html-host: maybe-install-html-fixincludes
1799 install-html-host: maybe-install-html-flex
1800 install-html-host: maybe-install-html-gas
1801 install-html-host: maybe-install-html-gcc
1802 install-html-host: maybe-install-html-gmp
1803 install-html-host: maybe-install-html-mpfr
1804 install-html-host: maybe-install-html-mpc
1805 install-html-host: maybe-install-html-isl
1806 install-html-host: maybe-install-html-libelf
1807 install-html-host: maybe-install-html-gold
1808 install-html-host: maybe-install-html-gprof
1809 install-html-host: maybe-install-html-intl
1810 install-html-host: maybe-install-html-tcl
1811 install-html-host: maybe-install-html-itcl
1812 install-html-host: maybe-install-html-ld
1813 install-html-host: maybe-install-html-libbacktrace
1814 install-html-host: maybe-install-html-libcpp
1815 install-html-host: maybe-install-html-libdecnumber
1816 install-html-host: maybe-install-html-libgui
1817 install-html-host: maybe-install-html-libiberty
1818 install-html-host: maybe-install-html-libiberty-linker-plugin
1819 install-html-host: maybe-install-html-libiconv
1820 install-html-host: maybe-install-html-m4
1821 install-html-host: maybe-install-html-readline
1822 install-html-host: maybe-install-html-sid
1823 install-html-host: maybe-install-html-sim
1824 install-html-host: maybe-install-html-texinfo
1825 install-html-host: maybe-install-html-zlib
1826 install-html-host: maybe-install-html-gdb
1827 install-html-host: maybe-install-html-expect
1828 install-html-host: maybe-install-html-guile
1829 install-html-host: maybe-install-html-tk
1830 install-html-host: maybe-install-html-libtermcap
1831 install-html-host: maybe-install-html-utils
1832 install-html-host: maybe-install-html-gnattools
1833 install-html-host: maybe-install-html-lto-plugin
1834 install-html-host: maybe-install-html-libcc1
1835 install-html-host: maybe-install-html-gotools
1837 .PHONY: install-html-target
1839 install-html-target: maybe-install-html-target-libstdc++-v3
1840 install-html-target: maybe-install-html-target-libsanitizer
1841 install-html-target: maybe-install-html-target-libvtv
1842 install-html-target: maybe-install-html-target-liboffloadmic
1843 install-html-target: maybe-install-html-target-libssp
1844 install-html-target: maybe-install-html-target-newlib
1845 install-html-target: maybe-install-html-target-libgcc
1846 install-html-target: maybe-install-html-target-libbacktrace
1847 install-html-target: maybe-install-html-target-libquadmath
1848 install-html-target: maybe-install-html-target-libgfortran
1849 install-html-target: maybe-install-html-target-libobjc
1850 install-html-target: maybe-install-html-target-libgo
1851 install-html-target: maybe-install-html-target-libhsail-rt
1852 install-html-target: maybe-install-html-target-libtermcap
1853 install-html-target: maybe-install-html-target-winsup
1854 install-html-target: maybe-install-html-target-libgloss
1855 install-html-target: maybe-install-html-target-libffi
1856 install-html-target: maybe-install-html-target-zlib
1857 install-html-target: maybe-install-html-target-rda
1858 install-html-target: maybe-install-html-target-libada
1859 install-html-target: maybe-install-html-target-libgomp
1860 install-html-target: maybe-install-html-target-libitm
1861 install-html-target: maybe-install-html-target-libatomic
1863 .PHONY: do-installcheck
1864 do-installcheck:
1865 @: $(MAKE); $(unstage)
1866 @r=`${PWD_COMMAND}`; export r; \
1867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1868 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1869 installcheck-target
1872 .PHONY: installcheck-host
1874 installcheck-host: maybe-installcheck-bfd
1875 installcheck-host: maybe-installcheck-opcodes
1876 installcheck-host: maybe-installcheck-binutils
1877 installcheck-host: maybe-installcheck-bison
1878 installcheck-host: maybe-installcheck-cgen
1879 installcheck-host: maybe-installcheck-dejagnu
1880 installcheck-host: maybe-installcheck-etc
1881 installcheck-host: maybe-installcheck-fastjar
1882 installcheck-host: maybe-installcheck-fixincludes
1883 installcheck-host: maybe-installcheck-flex
1884 installcheck-host: maybe-installcheck-gas
1885 installcheck-host: maybe-installcheck-gcc
1886 installcheck-host: maybe-installcheck-gmp
1887 installcheck-host: maybe-installcheck-mpfr
1888 installcheck-host: maybe-installcheck-mpc
1889 installcheck-host: maybe-installcheck-isl
1890 installcheck-host: maybe-installcheck-libelf
1891 installcheck-host: maybe-installcheck-gold
1892 installcheck-host: maybe-installcheck-gprof
1893 installcheck-host: maybe-installcheck-intl
1894 installcheck-host: maybe-installcheck-tcl
1895 installcheck-host: maybe-installcheck-itcl
1896 installcheck-host: maybe-installcheck-ld
1897 installcheck-host: maybe-installcheck-libbacktrace
1898 installcheck-host: maybe-installcheck-libcpp
1899 installcheck-host: maybe-installcheck-libdecnumber
1900 installcheck-host: maybe-installcheck-libgui
1901 installcheck-host: maybe-installcheck-libiberty
1902 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1903 installcheck-host: maybe-installcheck-libiconv
1904 installcheck-host: maybe-installcheck-m4
1905 installcheck-host: maybe-installcheck-readline
1906 installcheck-host: maybe-installcheck-sid
1907 installcheck-host: maybe-installcheck-sim
1908 installcheck-host: maybe-installcheck-texinfo
1909 installcheck-host: maybe-installcheck-zlib
1910 installcheck-host: maybe-installcheck-gdb
1911 installcheck-host: maybe-installcheck-expect
1912 installcheck-host: maybe-installcheck-guile
1913 installcheck-host: maybe-installcheck-tk
1914 installcheck-host: maybe-installcheck-libtermcap
1915 installcheck-host: maybe-installcheck-utils
1916 installcheck-host: maybe-installcheck-gnattools
1917 installcheck-host: maybe-installcheck-lto-plugin
1918 installcheck-host: maybe-installcheck-libcc1
1919 installcheck-host: maybe-installcheck-gotools
1921 .PHONY: installcheck-target
1923 installcheck-target: maybe-installcheck-target-libstdc++-v3
1924 installcheck-target: maybe-installcheck-target-libsanitizer
1925 installcheck-target: maybe-installcheck-target-libvtv
1926 installcheck-target: maybe-installcheck-target-liboffloadmic
1927 installcheck-target: maybe-installcheck-target-libssp
1928 installcheck-target: maybe-installcheck-target-newlib
1929 installcheck-target: maybe-installcheck-target-libgcc
1930 installcheck-target: maybe-installcheck-target-libbacktrace
1931 installcheck-target: maybe-installcheck-target-libquadmath
1932 installcheck-target: maybe-installcheck-target-libgfortran
1933 installcheck-target: maybe-installcheck-target-libobjc
1934 installcheck-target: maybe-installcheck-target-libgo
1935 installcheck-target: maybe-installcheck-target-libhsail-rt
1936 installcheck-target: maybe-installcheck-target-libtermcap
1937 installcheck-target: maybe-installcheck-target-winsup
1938 installcheck-target: maybe-installcheck-target-libgloss
1939 installcheck-target: maybe-installcheck-target-libffi
1940 installcheck-target: maybe-installcheck-target-zlib
1941 installcheck-target: maybe-installcheck-target-rda
1942 installcheck-target: maybe-installcheck-target-libada
1943 installcheck-target: maybe-installcheck-target-libgomp
1944 installcheck-target: maybe-installcheck-target-libitm
1945 installcheck-target: maybe-installcheck-target-libatomic
1947 .PHONY: do-mostlyclean
1948 do-mostlyclean:
1949 @: $(MAKE); $(unstage)
1950 @r=`${PWD_COMMAND}`; export r; \
1951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1952 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1953 mostlyclean-target
1956 .PHONY: mostlyclean-host
1958 mostlyclean-host: maybe-mostlyclean-bfd
1959 mostlyclean-host: maybe-mostlyclean-opcodes
1960 mostlyclean-host: maybe-mostlyclean-binutils
1961 mostlyclean-host: maybe-mostlyclean-bison
1962 mostlyclean-host: maybe-mostlyclean-cgen
1963 mostlyclean-host: maybe-mostlyclean-dejagnu
1964 mostlyclean-host: maybe-mostlyclean-etc
1965 mostlyclean-host: maybe-mostlyclean-fastjar
1966 mostlyclean-host: maybe-mostlyclean-fixincludes
1967 mostlyclean-host: maybe-mostlyclean-flex
1968 mostlyclean-host: maybe-mostlyclean-gas
1969 mostlyclean-host: maybe-mostlyclean-gcc
1970 mostlyclean-host: maybe-mostlyclean-gmp
1971 mostlyclean-host: maybe-mostlyclean-mpfr
1972 mostlyclean-host: maybe-mostlyclean-mpc
1973 mostlyclean-host: maybe-mostlyclean-isl
1974 mostlyclean-host: maybe-mostlyclean-libelf
1975 mostlyclean-host: maybe-mostlyclean-gold
1976 mostlyclean-host: maybe-mostlyclean-gprof
1977 mostlyclean-host: maybe-mostlyclean-intl
1978 mostlyclean-host: maybe-mostlyclean-tcl
1979 mostlyclean-host: maybe-mostlyclean-itcl
1980 mostlyclean-host: maybe-mostlyclean-ld
1981 mostlyclean-host: maybe-mostlyclean-libbacktrace
1982 mostlyclean-host: maybe-mostlyclean-libcpp
1983 mostlyclean-host: maybe-mostlyclean-libdecnumber
1984 mostlyclean-host: maybe-mostlyclean-libgui
1985 mostlyclean-host: maybe-mostlyclean-libiberty
1986 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1987 mostlyclean-host: maybe-mostlyclean-libiconv
1988 mostlyclean-host: maybe-mostlyclean-m4
1989 mostlyclean-host: maybe-mostlyclean-readline
1990 mostlyclean-host: maybe-mostlyclean-sid
1991 mostlyclean-host: maybe-mostlyclean-sim
1992 mostlyclean-host: maybe-mostlyclean-texinfo
1993 mostlyclean-host: maybe-mostlyclean-zlib
1994 mostlyclean-host: maybe-mostlyclean-gdb
1995 mostlyclean-host: maybe-mostlyclean-expect
1996 mostlyclean-host: maybe-mostlyclean-guile
1997 mostlyclean-host: maybe-mostlyclean-tk
1998 mostlyclean-host: maybe-mostlyclean-libtermcap
1999 mostlyclean-host: maybe-mostlyclean-utils
2000 mostlyclean-host: maybe-mostlyclean-gnattools
2001 mostlyclean-host: maybe-mostlyclean-lto-plugin
2002 mostlyclean-host: maybe-mostlyclean-libcc1
2003 mostlyclean-host: maybe-mostlyclean-gotools
2005 .PHONY: mostlyclean-target
2007 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2008 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2009 mostlyclean-target: maybe-mostlyclean-target-libvtv
2010 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2011 mostlyclean-target: maybe-mostlyclean-target-libssp
2012 mostlyclean-target: maybe-mostlyclean-target-newlib
2013 mostlyclean-target: maybe-mostlyclean-target-libgcc
2014 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2015 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2016 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2017 mostlyclean-target: maybe-mostlyclean-target-libobjc
2018 mostlyclean-target: maybe-mostlyclean-target-libgo
2019 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2020 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2021 mostlyclean-target: maybe-mostlyclean-target-winsup
2022 mostlyclean-target: maybe-mostlyclean-target-libgloss
2023 mostlyclean-target: maybe-mostlyclean-target-libffi
2024 mostlyclean-target: maybe-mostlyclean-target-zlib
2025 mostlyclean-target: maybe-mostlyclean-target-rda
2026 mostlyclean-target: maybe-mostlyclean-target-libada
2027 mostlyclean-target: maybe-mostlyclean-target-libgomp
2028 mostlyclean-target: maybe-mostlyclean-target-libitm
2029 mostlyclean-target: maybe-mostlyclean-target-libatomic
2031 .PHONY: do-clean
2032 do-clean:
2033 @: $(MAKE); $(unstage)
2034 @r=`${PWD_COMMAND}`; export r; \
2035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2036 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2037 clean-target
2040 .PHONY: clean-host
2042 clean-host: maybe-clean-bfd
2043 clean-host: maybe-clean-opcodes
2044 clean-host: maybe-clean-binutils
2045 clean-host: maybe-clean-bison
2046 clean-host: maybe-clean-cgen
2047 clean-host: maybe-clean-dejagnu
2048 clean-host: maybe-clean-etc
2049 clean-host: maybe-clean-fastjar
2050 clean-host: maybe-clean-fixincludes
2051 clean-host: maybe-clean-flex
2052 clean-host: maybe-clean-gas
2053 clean-host: maybe-clean-gcc
2054 clean-host: maybe-clean-gmp
2055 clean-host: maybe-clean-mpfr
2056 clean-host: maybe-clean-mpc
2057 clean-host: maybe-clean-isl
2058 clean-host: maybe-clean-libelf
2059 clean-host: maybe-clean-gold
2060 clean-host: maybe-clean-gprof
2061 clean-host: maybe-clean-intl
2062 clean-host: maybe-clean-tcl
2063 clean-host: maybe-clean-itcl
2064 clean-host: maybe-clean-ld
2065 clean-host: maybe-clean-libbacktrace
2066 clean-host: maybe-clean-libcpp
2067 clean-host: maybe-clean-libdecnumber
2068 clean-host: maybe-clean-libgui
2069 clean-host: maybe-clean-libiberty
2070 clean-host: maybe-clean-libiberty-linker-plugin
2071 clean-host: maybe-clean-libiconv
2072 clean-host: maybe-clean-m4
2073 clean-host: maybe-clean-readline
2074 clean-host: maybe-clean-sid
2075 clean-host: maybe-clean-sim
2076 clean-host: maybe-clean-texinfo
2077 clean-host: maybe-clean-zlib
2078 clean-host: maybe-clean-gdb
2079 clean-host: maybe-clean-expect
2080 clean-host: maybe-clean-guile
2081 clean-host: maybe-clean-tk
2082 clean-host: maybe-clean-libtermcap
2083 clean-host: maybe-clean-utils
2084 clean-host: maybe-clean-gnattools
2085 clean-host: maybe-clean-lto-plugin
2086 clean-host: maybe-clean-libcc1
2087 clean-host: maybe-clean-gotools
2089 .PHONY: clean-target
2091 clean-target: maybe-clean-target-libstdc++-v3
2092 clean-target: maybe-clean-target-libsanitizer
2093 clean-target: maybe-clean-target-libvtv
2094 clean-target: maybe-clean-target-liboffloadmic
2095 clean-target: maybe-clean-target-libssp
2096 clean-target: maybe-clean-target-newlib
2097 clean-target: maybe-clean-target-libgcc
2098 clean-target: maybe-clean-target-libbacktrace
2099 clean-target: maybe-clean-target-libquadmath
2100 clean-target: maybe-clean-target-libgfortran
2101 clean-target: maybe-clean-target-libobjc
2102 clean-target: maybe-clean-target-libgo
2103 clean-target: maybe-clean-target-libhsail-rt
2104 clean-target: maybe-clean-target-libtermcap
2105 clean-target: maybe-clean-target-winsup
2106 clean-target: maybe-clean-target-libgloss
2107 clean-target: maybe-clean-target-libffi
2108 clean-target: maybe-clean-target-zlib
2109 clean-target: maybe-clean-target-rda
2110 clean-target: maybe-clean-target-libada
2111 clean-target: maybe-clean-target-libgomp
2112 clean-target: maybe-clean-target-libitm
2113 clean-target: maybe-clean-target-libatomic
2115 .PHONY: do-distclean
2116 do-distclean:
2117 @: $(MAKE); $(unstage)
2118 @r=`${PWD_COMMAND}`; export r; \
2119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2120 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2121 distclean-target
2124 .PHONY: distclean-host
2126 distclean-host: maybe-distclean-bfd
2127 distclean-host: maybe-distclean-opcodes
2128 distclean-host: maybe-distclean-binutils
2129 distclean-host: maybe-distclean-bison
2130 distclean-host: maybe-distclean-cgen
2131 distclean-host: maybe-distclean-dejagnu
2132 distclean-host: maybe-distclean-etc
2133 distclean-host: maybe-distclean-fastjar
2134 distclean-host: maybe-distclean-fixincludes
2135 distclean-host: maybe-distclean-flex
2136 distclean-host: maybe-distclean-gas
2137 distclean-host: maybe-distclean-gcc
2138 distclean-host: maybe-distclean-gmp
2139 distclean-host: maybe-distclean-mpfr
2140 distclean-host: maybe-distclean-mpc
2141 distclean-host: maybe-distclean-isl
2142 distclean-host: maybe-distclean-libelf
2143 distclean-host: maybe-distclean-gold
2144 distclean-host: maybe-distclean-gprof
2145 distclean-host: maybe-distclean-intl
2146 distclean-host: maybe-distclean-tcl
2147 distclean-host: maybe-distclean-itcl
2148 distclean-host: maybe-distclean-ld
2149 distclean-host: maybe-distclean-libbacktrace
2150 distclean-host: maybe-distclean-libcpp
2151 distclean-host: maybe-distclean-libdecnumber
2152 distclean-host: maybe-distclean-libgui
2153 distclean-host: maybe-distclean-libiberty
2154 distclean-host: maybe-distclean-libiberty-linker-plugin
2155 distclean-host: maybe-distclean-libiconv
2156 distclean-host: maybe-distclean-m4
2157 distclean-host: maybe-distclean-readline
2158 distclean-host: maybe-distclean-sid
2159 distclean-host: maybe-distclean-sim
2160 distclean-host: maybe-distclean-texinfo
2161 distclean-host: maybe-distclean-zlib
2162 distclean-host: maybe-distclean-gdb
2163 distclean-host: maybe-distclean-expect
2164 distclean-host: maybe-distclean-guile
2165 distclean-host: maybe-distclean-tk
2166 distclean-host: maybe-distclean-libtermcap
2167 distclean-host: maybe-distclean-utils
2168 distclean-host: maybe-distclean-gnattools
2169 distclean-host: maybe-distclean-lto-plugin
2170 distclean-host: maybe-distclean-libcc1
2171 distclean-host: maybe-distclean-gotools
2173 .PHONY: distclean-target
2175 distclean-target: maybe-distclean-target-libstdc++-v3
2176 distclean-target: maybe-distclean-target-libsanitizer
2177 distclean-target: maybe-distclean-target-libvtv
2178 distclean-target: maybe-distclean-target-liboffloadmic
2179 distclean-target: maybe-distclean-target-libssp
2180 distclean-target: maybe-distclean-target-newlib
2181 distclean-target: maybe-distclean-target-libgcc
2182 distclean-target: maybe-distclean-target-libbacktrace
2183 distclean-target: maybe-distclean-target-libquadmath
2184 distclean-target: maybe-distclean-target-libgfortran
2185 distclean-target: maybe-distclean-target-libobjc
2186 distclean-target: maybe-distclean-target-libgo
2187 distclean-target: maybe-distclean-target-libhsail-rt
2188 distclean-target: maybe-distclean-target-libtermcap
2189 distclean-target: maybe-distclean-target-winsup
2190 distclean-target: maybe-distclean-target-libgloss
2191 distclean-target: maybe-distclean-target-libffi
2192 distclean-target: maybe-distclean-target-zlib
2193 distclean-target: maybe-distclean-target-rda
2194 distclean-target: maybe-distclean-target-libada
2195 distclean-target: maybe-distclean-target-libgomp
2196 distclean-target: maybe-distclean-target-libitm
2197 distclean-target: maybe-distclean-target-libatomic
2199 .PHONY: do-maintainer-clean
2200 do-maintainer-clean:
2201 @: $(MAKE); $(unstage)
2202 @r=`${PWD_COMMAND}`; export r; \
2203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2204 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2205 maintainer-clean-target
2208 .PHONY: maintainer-clean-host
2210 maintainer-clean-host: maybe-maintainer-clean-bfd
2211 maintainer-clean-host: maybe-maintainer-clean-opcodes
2212 maintainer-clean-host: maybe-maintainer-clean-binutils
2213 maintainer-clean-host: maybe-maintainer-clean-bison
2214 maintainer-clean-host: maybe-maintainer-clean-cgen
2215 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2216 maintainer-clean-host: maybe-maintainer-clean-etc
2217 maintainer-clean-host: maybe-maintainer-clean-fastjar
2218 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2219 maintainer-clean-host: maybe-maintainer-clean-flex
2220 maintainer-clean-host: maybe-maintainer-clean-gas
2221 maintainer-clean-host: maybe-maintainer-clean-gcc
2222 maintainer-clean-host: maybe-maintainer-clean-gmp
2223 maintainer-clean-host: maybe-maintainer-clean-mpfr
2224 maintainer-clean-host: maybe-maintainer-clean-mpc
2225 maintainer-clean-host: maybe-maintainer-clean-isl
2226 maintainer-clean-host: maybe-maintainer-clean-libelf
2227 maintainer-clean-host: maybe-maintainer-clean-gold
2228 maintainer-clean-host: maybe-maintainer-clean-gprof
2229 maintainer-clean-host: maybe-maintainer-clean-intl
2230 maintainer-clean-host: maybe-maintainer-clean-tcl
2231 maintainer-clean-host: maybe-maintainer-clean-itcl
2232 maintainer-clean-host: maybe-maintainer-clean-ld
2233 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2234 maintainer-clean-host: maybe-maintainer-clean-libcpp
2235 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2236 maintainer-clean-host: maybe-maintainer-clean-libgui
2237 maintainer-clean-host: maybe-maintainer-clean-libiberty
2238 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2239 maintainer-clean-host: maybe-maintainer-clean-libiconv
2240 maintainer-clean-host: maybe-maintainer-clean-m4
2241 maintainer-clean-host: maybe-maintainer-clean-readline
2242 maintainer-clean-host: maybe-maintainer-clean-sid
2243 maintainer-clean-host: maybe-maintainer-clean-sim
2244 maintainer-clean-host: maybe-maintainer-clean-texinfo
2245 maintainer-clean-host: maybe-maintainer-clean-zlib
2246 maintainer-clean-host: maybe-maintainer-clean-gdb
2247 maintainer-clean-host: maybe-maintainer-clean-expect
2248 maintainer-clean-host: maybe-maintainer-clean-guile
2249 maintainer-clean-host: maybe-maintainer-clean-tk
2250 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2251 maintainer-clean-host: maybe-maintainer-clean-utils
2252 maintainer-clean-host: maybe-maintainer-clean-gnattools
2253 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2254 maintainer-clean-host: maybe-maintainer-clean-libcc1
2255 maintainer-clean-host: maybe-maintainer-clean-gotools
2257 .PHONY: maintainer-clean-target
2259 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2260 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2261 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2262 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2263 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2264 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2265 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2266 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2267 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2268 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2269 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2270 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2271 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2272 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2273 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2274 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2275 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2276 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2277 maintainer-clean-target: maybe-maintainer-clean-target-rda
2278 maintainer-clean-target: maybe-maintainer-clean-target-libada
2279 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2280 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2281 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2284 # Here are the targets which correspond to the do-X targets.
2286 .PHONY: info installcheck dvi pdf html
2287 .PHONY: install-info install-pdf install-html
2288 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2289 .PHONY: local-clean local-distclean local-maintainer-clean
2290 info: do-info
2291 installcheck: do-installcheck
2292 dvi: do-dvi
2293 pdf: do-pdf
2294 html: do-html
2296 # Make sure makeinfo is built before we do a `make info', if we're
2297 # in fact building texinfo.
2298 do-info: maybe-all-texinfo
2300 install-info: do-install-info dir.info
2301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2302 if [ -f dir.info ]; then \
2303 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2304 else true; fi
2306 install-pdf: do-install-pdf
2308 install-html: do-install-html
2310 local-clean:
2311 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2313 local-distclean:
2314 -rm -f Makefile config.status config.cache mh-frag mt-frag
2315 -rm -f maybedep.tmp serdep.tmp stage_final
2316 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2317 rm -rf $(TARGET_SUBDIR); \
2318 else true; fi
2319 -rm -rf $(BUILD_SUBDIR)
2320 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2321 rm -rf $(HOST_SUBDIR); \
2322 else true; fi
2323 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2324 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2325 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2326 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2327 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2328 -rmdir texinfo zlib 2>/dev/null
2329 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2331 local-maintainer-clean:
2332 @echo "This command is intended for maintainers to use;"
2333 @echo "it deletes files that may require special tools to rebuild."
2335 clean: do-clean local-clean
2336 mostlyclean: do-mostlyclean local-clean
2337 distclean: do-distclean local-clean local-distclean
2338 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2339 maintainer-clean: local-distclean
2340 realclean: maintainer-clean
2342 # Check target.
2344 .PHONY: check do-check
2345 check: do-check
2347 # Only include modules actually being configured and built.
2348 .PHONY: check-host
2349 check-host: \
2350 maybe-check-bfd \
2351 maybe-check-opcodes \
2352 maybe-check-binutils \
2353 maybe-check-bison \
2354 maybe-check-cgen \
2355 maybe-check-dejagnu \
2356 maybe-check-etc \
2357 maybe-check-fastjar \
2358 maybe-check-fixincludes \
2359 maybe-check-flex \
2360 maybe-check-gas \
2361 maybe-check-gcc \
2362 maybe-check-gmp \
2363 maybe-check-mpfr \
2364 maybe-check-mpc \
2365 maybe-check-isl \
2366 maybe-check-libelf \
2367 maybe-check-gold \
2368 maybe-check-gprof \
2369 maybe-check-intl \
2370 maybe-check-tcl \
2371 maybe-check-itcl \
2372 maybe-check-ld \
2373 maybe-check-libbacktrace \
2374 maybe-check-libcpp \
2375 maybe-check-libdecnumber \
2376 maybe-check-libgui \
2377 maybe-check-libiberty \
2378 maybe-check-libiberty-linker-plugin \
2379 maybe-check-libiconv \
2380 maybe-check-m4 \
2381 maybe-check-readline \
2382 maybe-check-sid \
2383 maybe-check-sim \
2384 maybe-check-texinfo \
2385 maybe-check-zlib \
2386 maybe-check-gdb \
2387 maybe-check-expect \
2388 maybe-check-guile \
2389 maybe-check-tk \
2390 maybe-check-libtermcap \
2391 maybe-check-utils \
2392 maybe-check-gnattools \
2393 maybe-check-lto-plugin \
2394 maybe-check-libcc1 \
2395 maybe-check-gotools
2397 .PHONY: check-target
2398 check-target: \
2399 maybe-check-target-libstdc++-v3 \
2400 maybe-check-target-libsanitizer \
2401 maybe-check-target-libvtv \
2402 maybe-check-target-liboffloadmic \
2403 maybe-check-target-libssp \
2404 maybe-check-target-newlib \
2405 maybe-check-target-libgcc \
2406 maybe-check-target-libbacktrace \
2407 maybe-check-target-libquadmath \
2408 maybe-check-target-libgfortran \
2409 maybe-check-target-libobjc \
2410 maybe-check-target-libgo \
2411 maybe-check-target-libhsail-rt \
2412 maybe-check-target-libtermcap \
2413 maybe-check-target-winsup \
2414 maybe-check-target-libgloss \
2415 maybe-check-target-libffi \
2416 maybe-check-target-zlib \
2417 maybe-check-target-rda \
2418 maybe-check-target-libada \
2419 maybe-check-target-libgomp \
2420 maybe-check-target-libitm \
2421 maybe-check-target-libatomic
2423 do-check:
2424 @: $(MAKE); $(unstage)
2425 @r=`${PWD_COMMAND}`; export r; \
2426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2427 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2429 # Automated reporting of test results.
2431 warning.log: build.log
2432 $(srcdir)/contrib/warn_summary build.log > $@
2434 mail-report.log:
2435 if test x'$(BOOT_CFLAGS)' != x''; then \
2436 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2437 fi; \
2438 $(srcdir)/contrib/test_summary -t >$@
2439 chmod +x $@
2440 echo If you really want to send e-mail, run ./$@ now
2442 mail-report-with-warnings.log: warning.log
2443 if test x'$(BOOT_CFLAGS)' != x''; then \
2444 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2445 fi; \
2446 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2447 chmod +x $@
2448 echo If you really want to send e-mail, run ./$@ now
2450 # Local Vim config
2452 $(srcdir)/.local.vimrc:
2453 $(LN_S) contrib/vimrc $@
2455 $(srcdir)/.lvimrc:
2456 $(LN_S) contrib/vimrc $@
2458 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2460 .PHONY: vimrc
2462 # clang-format config
2464 $(srcdir)/.clang-format:
2465 $(LN_S) contrib/clang-format $@
2467 clang-format: $(srcdir)/.clang-format
2469 .PHONY: clang-format
2471 # Installation targets.
2473 .PHONY: install uninstall
2474 install:
2475 @: $(MAKE); $(unstage)
2476 @r=`${PWD_COMMAND}`; export r; \
2477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2478 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2480 .PHONY: install-host-nogcc
2481 install-host-nogcc: \
2482 maybe-install-bfd \
2483 maybe-install-opcodes \
2484 maybe-install-binutils \
2485 maybe-install-bison \
2486 maybe-install-cgen \
2487 maybe-install-dejagnu \
2488 maybe-install-etc \
2489 maybe-install-fastjar \
2490 maybe-install-fixincludes \
2491 maybe-install-flex \
2492 maybe-install-gas \
2493 maybe-install-gmp \
2494 maybe-install-mpfr \
2495 maybe-install-mpc \
2496 maybe-install-isl \
2497 maybe-install-libelf \
2498 maybe-install-gold \
2499 maybe-install-gprof \
2500 maybe-install-intl \
2501 maybe-install-tcl \
2502 maybe-install-itcl \
2503 maybe-install-ld \
2504 maybe-install-libbacktrace \
2505 maybe-install-libcpp \
2506 maybe-install-libdecnumber \
2507 maybe-install-libgui \
2508 maybe-install-libiberty \
2509 maybe-install-libiberty-linker-plugin \
2510 maybe-install-libiconv \
2511 maybe-install-m4 \
2512 maybe-install-readline \
2513 maybe-install-sid \
2514 maybe-install-sim \
2515 maybe-install-texinfo \
2516 maybe-install-zlib \
2517 maybe-install-gdb \
2518 maybe-install-expect \
2519 maybe-install-guile \
2520 maybe-install-tk \
2521 maybe-install-libtermcap \
2522 maybe-install-utils \
2523 maybe-install-gnattools \
2524 maybe-install-lto-plugin \
2525 maybe-install-libcc1 \
2526 maybe-install-gotools
2528 .PHONY: install-host
2529 install-host: \
2530 maybe-install-bfd \
2531 maybe-install-opcodes \
2532 maybe-install-binutils \
2533 maybe-install-bison \
2534 maybe-install-cgen \
2535 maybe-install-dejagnu \
2536 maybe-install-etc \
2537 maybe-install-fastjar \
2538 maybe-install-fixincludes \
2539 maybe-install-flex \
2540 maybe-install-gas \
2541 maybe-install-gcc \
2542 maybe-install-gmp \
2543 maybe-install-mpfr \
2544 maybe-install-mpc \
2545 maybe-install-isl \
2546 maybe-install-libelf \
2547 maybe-install-gold \
2548 maybe-install-gprof \
2549 maybe-install-intl \
2550 maybe-install-tcl \
2551 maybe-install-itcl \
2552 maybe-install-ld \
2553 maybe-install-libbacktrace \
2554 maybe-install-libcpp \
2555 maybe-install-libdecnumber \
2556 maybe-install-libgui \
2557 maybe-install-libiberty \
2558 maybe-install-libiberty-linker-plugin \
2559 maybe-install-libiconv \
2560 maybe-install-m4 \
2561 maybe-install-readline \
2562 maybe-install-sid \
2563 maybe-install-sim \
2564 maybe-install-texinfo \
2565 maybe-install-zlib \
2566 maybe-install-gdb \
2567 maybe-install-expect \
2568 maybe-install-guile \
2569 maybe-install-tk \
2570 maybe-install-libtermcap \
2571 maybe-install-utils \
2572 maybe-install-gnattools \
2573 maybe-install-lto-plugin \
2574 maybe-install-libcc1 \
2575 maybe-install-gotools
2577 .PHONY: install-target
2578 install-target: \
2579 maybe-install-target-libstdc++-v3 \
2580 maybe-install-target-libsanitizer \
2581 maybe-install-target-libvtv \
2582 maybe-install-target-liboffloadmic \
2583 maybe-install-target-libssp \
2584 maybe-install-target-newlib \
2585 maybe-install-target-libgcc \
2586 maybe-install-target-libbacktrace \
2587 maybe-install-target-libquadmath \
2588 maybe-install-target-libgfortran \
2589 maybe-install-target-libobjc \
2590 maybe-install-target-libgo \
2591 maybe-install-target-libhsail-rt \
2592 maybe-install-target-libtermcap \
2593 maybe-install-target-winsup \
2594 maybe-install-target-libgloss \
2595 maybe-install-target-libffi \
2596 maybe-install-target-zlib \
2597 maybe-install-target-rda \
2598 maybe-install-target-libada \
2599 maybe-install-target-libgomp \
2600 maybe-install-target-libitm \
2601 maybe-install-target-libatomic
2603 uninstall:
2604 @echo "the uninstall target is not supported in this tree"
2606 .PHONY: install.all
2607 install.all: install-no-fixedincludes
2608 @if [ -f ./gcc/Makefile ]; then \
2609 r=`${PWD_COMMAND}`; export r; \
2610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2611 $(HOST_EXPORTS) \
2612 (cd ./gcc && \
2613 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2614 else \
2615 true; \
2618 # install-no-fixedincludes is used to allow the elaboration of binary packages
2619 # suitable for distribution, where we cannot include the fixed system header
2620 # files.
2621 .PHONY: install-no-fixedincludes
2622 install-no-fixedincludes: installdirs install-host-nogcc \
2623 install-target gcc-install-no-fixedincludes
2625 .PHONY: install-strip
2626 install-strip:
2627 @: $(MAKE); $(unstage)
2628 @r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2632 .PHONY: install-strip-host
2633 install-strip-host: \
2634 maybe-install-strip-bfd \
2635 maybe-install-strip-opcodes \
2636 maybe-install-strip-binutils \
2637 maybe-install-strip-bison \
2638 maybe-install-strip-cgen \
2639 maybe-install-strip-dejagnu \
2640 maybe-install-strip-etc \
2641 maybe-install-strip-fastjar \
2642 maybe-install-strip-fixincludes \
2643 maybe-install-strip-flex \
2644 maybe-install-strip-gas \
2645 maybe-install-strip-gcc \
2646 maybe-install-strip-gmp \
2647 maybe-install-strip-mpfr \
2648 maybe-install-strip-mpc \
2649 maybe-install-strip-isl \
2650 maybe-install-strip-libelf \
2651 maybe-install-strip-gold \
2652 maybe-install-strip-gprof \
2653 maybe-install-strip-intl \
2654 maybe-install-strip-tcl \
2655 maybe-install-strip-itcl \
2656 maybe-install-strip-ld \
2657 maybe-install-strip-libbacktrace \
2658 maybe-install-strip-libcpp \
2659 maybe-install-strip-libdecnumber \
2660 maybe-install-strip-libgui \
2661 maybe-install-strip-libiberty \
2662 maybe-install-strip-libiberty-linker-plugin \
2663 maybe-install-strip-libiconv \
2664 maybe-install-strip-m4 \
2665 maybe-install-strip-readline \
2666 maybe-install-strip-sid \
2667 maybe-install-strip-sim \
2668 maybe-install-strip-texinfo \
2669 maybe-install-strip-zlib \
2670 maybe-install-strip-gdb \
2671 maybe-install-strip-expect \
2672 maybe-install-strip-guile \
2673 maybe-install-strip-tk \
2674 maybe-install-strip-libtermcap \
2675 maybe-install-strip-utils \
2676 maybe-install-strip-gnattools \
2677 maybe-install-strip-lto-plugin \
2678 maybe-install-strip-libcc1 \
2679 maybe-install-strip-gotools
2681 .PHONY: install-strip-target
2682 install-strip-target: \
2683 maybe-install-strip-target-libstdc++-v3 \
2684 maybe-install-strip-target-libsanitizer \
2685 maybe-install-strip-target-libvtv \
2686 maybe-install-strip-target-liboffloadmic \
2687 maybe-install-strip-target-libssp \
2688 maybe-install-strip-target-newlib \
2689 maybe-install-strip-target-libgcc \
2690 maybe-install-strip-target-libbacktrace \
2691 maybe-install-strip-target-libquadmath \
2692 maybe-install-strip-target-libgfortran \
2693 maybe-install-strip-target-libobjc \
2694 maybe-install-strip-target-libgo \
2695 maybe-install-strip-target-libhsail-rt \
2696 maybe-install-strip-target-libtermcap \
2697 maybe-install-strip-target-winsup \
2698 maybe-install-strip-target-libgloss \
2699 maybe-install-strip-target-libffi \
2700 maybe-install-strip-target-zlib \
2701 maybe-install-strip-target-rda \
2702 maybe-install-strip-target-libada \
2703 maybe-install-strip-target-libgomp \
2704 maybe-install-strip-target-libitm \
2705 maybe-install-strip-target-libatomic
2708 ### other supporting targets
2710 MAKEDIRS= \
2711 $(DESTDIR)$(prefix) \
2712 $(DESTDIR)$(exec_prefix)
2713 .PHONY: installdirs
2714 installdirs: mkinstalldirs
2715 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2717 dir.info: do-install-info
2718 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2719 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2720 mv -f dir.info.new dir.info; \
2721 else true; \
2724 dist:
2725 @echo "Building a full distribution of this tree isn't done"
2726 @echo "via 'make dist'. Check out the etc/ subdirectory"
2728 etags tags: TAGS
2730 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2731 # ability to use several tags files at once, so there is probably no need
2732 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2733 # (if we felt like it) have this Makefile write a piece of elisp which
2734 # the user could load to tell emacs19 where all the TAGS files we just
2735 # built are.
2736 TAGS: do-TAGS
2738 # ------------------------------------
2739 # Macros for configure and all targets
2740 # ------------------------------------
2746 # --------------------------------------
2747 # Modules which run on the build machine
2748 # --------------------------------------
2751 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2752 maybe-configure-build-libiberty:
2753 @if gcc-bootstrap
2754 configure-build-libiberty: stage_current
2755 @endif gcc-bootstrap
2756 @if build-libiberty
2757 maybe-configure-build-libiberty: configure-build-libiberty
2758 configure-build-libiberty:
2759 @: $(MAKE); $(unstage)
2760 @r=`${PWD_COMMAND}`; export r; \
2761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2762 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2763 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2764 $(BUILD_EXPORTS) \
2765 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2766 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2767 case $(srcdir) in \
2768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2769 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2771 esac; \
2772 module_srcdir=libiberty; \
2773 rm -f no-such-file || : ; \
2774 CONFIG_SITE=no-such-file $(SHELL) \
2775 $$s/$$module_srcdir/configure \
2776 --srcdir=$${topdir}/$$module_srcdir \
2777 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2778 --target=${target_alias} \
2779 || exit 1
2780 @endif build-libiberty
2786 .PHONY: all-build-libiberty maybe-all-build-libiberty
2787 maybe-all-build-libiberty:
2788 @if gcc-bootstrap
2789 all-build-libiberty: stage_current
2790 @endif gcc-bootstrap
2791 @if build-libiberty
2792 TARGET-build-libiberty=all
2793 maybe-all-build-libiberty: all-build-libiberty
2794 all-build-libiberty: configure-build-libiberty
2795 @: $(MAKE); $(unstage)
2796 @r=`${PWD_COMMAND}`; export r; \
2797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2798 $(BUILD_EXPORTS) \
2799 (cd $(BUILD_SUBDIR)/libiberty && \
2800 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2801 $(TARGET-build-libiberty))
2802 @endif build-libiberty
2808 .PHONY: configure-build-bison maybe-configure-build-bison
2809 maybe-configure-build-bison:
2810 @if gcc-bootstrap
2811 configure-build-bison: stage_current
2812 @endif gcc-bootstrap
2813 @if build-bison
2814 maybe-configure-build-bison: configure-build-bison
2815 configure-build-bison:
2816 @: $(MAKE); $(unstage)
2817 @r=`${PWD_COMMAND}`; export r; \
2818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2819 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2820 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2821 $(BUILD_EXPORTS) \
2822 echo Configuring in $(BUILD_SUBDIR)/bison; \
2823 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2824 case $(srcdir) in \
2825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2826 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2828 esac; \
2829 module_srcdir=bison; \
2830 rm -f no-such-file || : ; \
2831 CONFIG_SITE=no-such-file $(SHELL) \
2832 $$s/$$module_srcdir/configure \
2833 --srcdir=$${topdir}/$$module_srcdir \
2834 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2835 --target=${target_alias} \
2836 || exit 1
2837 @endif build-bison
2843 .PHONY: all-build-bison maybe-all-build-bison
2844 maybe-all-build-bison:
2845 @if gcc-bootstrap
2846 all-build-bison: stage_current
2847 @endif gcc-bootstrap
2848 @if build-bison
2849 TARGET-build-bison=all
2850 maybe-all-build-bison: all-build-bison
2851 all-build-bison: configure-build-bison
2852 @: $(MAKE); $(unstage)
2853 @r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855 $(BUILD_EXPORTS) \
2856 (cd $(BUILD_SUBDIR)/bison && \
2857 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2858 $(TARGET-build-bison))
2859 @endif build-bison
2865 .PHONY: configure-build-flex maybe-configure-build-flex
2866 maybe-configure-build-flex:
2867 @if gcc-bootstrap
2868 configure-build-flex: stage_current
2869 @endif gcc-bootstrap
2870 @if build-flex
2871 maybe-configure-build-flex: configure-build-flex
2872 configure-build-flex:
2873 @: $(MAKE); $(unstage)
2874 @r=`${PWD_COMMAND}`; export r; \
2875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2876 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2877 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2878 $(BUILD_EXPORTS) \
2879 echo Configuring in $(BUILD_SUBDIR)/flex; \
2880 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2881 case $(srcdir) in \
2882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2883 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2885 esac; \
2886 module_srcdir=flex; \
2887 rm -f no-such-file || : ; \
2888 CONFIG_SITE=no-such-file $(SHELL) \
2889 $$s/$$module_srcdir/configure \
2890 --srcdir=$${topdir}/$$module_srcdir \
2891 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2892 --target=${target_alias} \
2893 || exit 1
2894 @endif build-flex
2900 .PHONY: all-build-flex maybe-all-build-flex
2901 maybe-all-build-flex:
2902 @if gcc-bootstrap
2903 all-build-flex: stage_current
2904 @endif gcc-bootstrap
2905 @if build-flex
2906 TARGET-build-flex=all
2907 maybe-all-build-flex: all-build-flex
2908 all-build-flex: configure-build-flex
2909 @: $(MAKE); $(unstage)
2910 @r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2912 $(BUILD_EXPORTS) \
2913 (cd $(BUILD_SUBDIR)/flex && \
2914 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2915 $(TARGET-build-flex))
2916 @endif build-flex
2922 .PHONY: configure-build-m4 maybe-configure-build-m4
2923 maybe-configure-build-m4:
2924 @if gcc-bootstrap
2925 configure-build-m4: stage_current
2926 @endif gcc-bootstrap
2927 @if build-m4
2928 maybe-configure-build-m4: configure-build-m4
2929 configure-build-m4:
2930 @: $(MAKE); $(unstage)
2931 @r=`${PWD_COMMAND}`; export r; \
2932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2933 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2934 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2935 $(BUILD_EXPORTS) \
2936 echo Configuring in $(BUILD_SUBDIR)/m4; \
2937 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2938 case $(srcdir) in \
2939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2940 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2942 esac; \
2943 module_srcdir=m4; \
2944 rm -f no-such-file || : ; \
2945 CONFIG_SITE=no-such-file $(SHELL) \
2946 $$s/$$module_srcdir/configure \
2947 --srcdir=$${topdir}/$$module_srcdir \
2948 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2949 --target=${target_alias} \
2950 || exit 1
2951 @endif build-m4
2957 .PHONY: all-build-m4 maybe-all-build-m4
2958 maybe-all-build-m4:
2959 @if gcc-bootstrap
2960 all-build-m4: stage_current
2961 @endif gcc-bootstrap
2962 @if build-m4
2963 TARGET-build-m4=all
2964 maybe-all-build-m4: all-build-m4
2965 all-build-m4: configure-build-m4
2966 @: $(MAKE); $(unstage)
2967 @r=`${PWD_COMMAND}`; export r; \
2968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2969 $(BUILD_EXPORTS) \
2970 (cd $(BUILD_SUBDIR)/m4 && \
2971 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2972 $(TARGET-build-m4))
2973 @endif build-m4
2979 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2980 maybe-configure-build-texinfo:
2981 @if gcc-bootstrap
2982 configure-build-texinfo: stage_current
2983 @endif gcc-bootstrap
2984 @if build-texinfo
2985 maybe-configure-build-texinfo: configure-build-texinfo
2986 configure-build-texinfo:
2987 @: $(MAKE); $(unstage)
2988 @r=`${PWD_COMMAND}`; export r; \
2989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2990 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2991 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
2992 $(BUILD_EXPORTS) \
2993 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2994 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2995 case $(srcdir) in \
2996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2997 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2999 esac; \
3000 module_srcdir=texinfo; \
3001 rm -f no-such-file || : ; \
3002 CONFIG_SITE=no-such-file $(SHELL) \
3003 $$s/$$module_srcdir/configure \
3004 --srcdir=$${topdir}/$$module_srcdir \
3005 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3006 --target=${target_alias} \
3007 || exit 1
3008 @endif build-texinfo
3014 .PHONY: all-build-texinfo maybe-all-build-texinfo
3015 maybe-all-build-texinfo:
3016 @if gcc-bootstrap
3017 all-build-texinfo: stage_current
3018 @endif gcc-bootstrap
3019 @if build-texinfo
3020 TARGET-build-texinfo=all
3021 maybe-all-build-texinfo: all-build-texinfo
3022 all-build-texinfo: configure-build-texinfo
3023 @: $(MAKE); $(unstage)
3024 @r=`${PWD_COMMAND}`; export r; \
3025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3026 $(BUILD_EXPORTS) \
3027 (cd $(BUILD_SUBDIR)/texinfo && \
3028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3029 $(TARGET-build-texinfo))
3030 @endif build-texinfo
3036 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3037 maybe-configure-build-fixincludes:
3038 @if gcc-bootstrap
3039 configure-build-fixincludes: stage_current
3040 @endif gcc-bootstrap
3041 @if build-fixincludes
3042 maybe-configure-build-fixincludes: configure-build-fixincludes
3043 configure-build-fixincludes:
3044 @: $(MAKE); $(unstage)
3045 @r=`${PWD_COMMAND}`; export r; \
3046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3048 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3049 $(BUILD_EXPORTS) \
3050 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3051 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3052 case $(srcdir) in \
3053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3054 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3056 esac; \
3057 module_srcdir=fixincludes; \
3058 rm -f no-such-file || : ; \
3059 CONFIG_SITE=no-such-file $(SHELL) \
3060 $$s/$$module_srcdir/configure \
3061 --srcdir=$${topdir}/$$module_srcdir \
3062 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3063 --target=${target_alias} \
3064 || exit 1
3065 @endif build-fixincludes
3071 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3072 maybe-all-build-fixincludes:
3073 @if gcc-bootstrap
3074 all-build-fixincludes: stage_current
3075 @endif gcc-bootstrap
3076 @if build-fixincludes
3077 TARGET-build-fixincludes=all
3078 maybe-all-build-fixincludes: all-build-fixincludes
3079 all-build-fixincludes: configure-build-fixincludes
3080 @: $(MAKE); $(unstage)
3081 @r=`${PWD_COMMAND}`; export r; \
3082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 $(BUILD_EXPORTS) \
3084 (cd $(BUILD_SUBDIR)/fixincludes && \
3085 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3086 $(TARGET-build-fixincludes))
3087 @endif build-fixincludes
3093 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3094 maybe-configure-build-libcpp:
3095 @if gcc-bootstrap
3096 configure-build-libcpp: stage_current
3097 @endif gcc-bootstrap
3098 @if build-libcpp
3099 maybe-configure-build-libcpp: configure-build-libcpp
3100 configure-build-libcpp:
3101 @: $(MAKE); $(unstage)
3102 @r=`${PWD_COMMAND}`; export r; \
3103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3104 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3105 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3106 $(BUILD_EXPORTS) \
3107 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3108 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3109 case $(srcdir) in \
3110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3111 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3113 esac; \
3114 module_srcdir=libcpp; \
3115 rm -f no-such-file || : ; \
3116 CONFIG_SITE=no-such-file $(SHELL) \
3117 $$s/$$module_srcdir/configure \
3118 --srcdir=$${topdir}/$$module_srcdir \
3119 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3120 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3121 || exit 1
3122 @endif build-libcpp
3128 .PHONY: all-build-libcpp maybe-all-build-libcpp
3129 maybe-all-build-libcpp:
3130 @if gcc-bootstrap
3131 all-build-libcpp: stage_current
3132 @endif gcc-bootstrap
3133 @if build-libcpp
3134 TARGET-build-libcpp=all
3135 maybe-all-build-libcpp: all-build-libcpp
3136 all-build-libcpp: configure-build-libcpp
3137 @: $(MAKE); $(unstage)
3138 @r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 $(BUILD_EXPORTS) \
3141 (cd $(BUILD_SUBDIR)/libcpp && \
3142 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3143 $(TARGET-build-libcpp))
3144 @endif build-libcpp
3150 # --------------------------------------
3151 # Modules which run on the host machine
3152 # --------------------------------------
3155 .PHONY: configure-bfd maybe-configure-bfd
3156 maybe-configure-bfd:
3157 @if gcc-bootstrap
3158 configure-bfd: stage_current
3159 @endif gcc-bootstrap
3160 @if bfd
3161 maybe-configure-bfd: configure-bfd
3162 configure-bfd:
3163 @r=`${PWD_COMMAND}`; export r; \
3164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3165 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3167 $(HOST_EXPORTS) \
3168 echo Configuring in $(HOST_SUBDIR)/bfd; \
3169 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3170 case $(srcdir) in \
3171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3172 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3174 esac; \
3175 module_srcdir=bfd; \
3176 $(SHELL) \
3177 $$s/$$module_srcdir/configure \
3178 --srcdir=$${topdir}/$$module_srcdir \
3179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3180 --target=${target_alias} \
3181 || exit 1
3182 @endif bfd
3186 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3187 maybe-configure-stage1-bfd:
3188 @if bfd-bootstrap
3189 maybe-configure-stage1-bfd: configure-stage1-bfd
3190 configure-stage1-bfd:
3191 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3193 @r=`${PWD_COMMAND}`; export r; \
3194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3195 TFLAGS="$(STAGE1_TFLAGS)"; \
3196 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3197 $(HOST_EXPORTS) \
3198 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3199 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3200 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3201 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3203 cd $(HOST_SUBDIR)/bfd || exit 1; \
3204 case $(srcdir) in \
3205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3206 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3208 esac; \
3209 module_srcdir=bfd; \
3210 $(SHELL) $$s/$$module_srcdir/configure \
3211 --srcdir=$${topdir}/$$module_srcdir \
3212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3213 --target=${target_alias} \
3215 $(STAGE1_CONFIGURE_FLAGS)
3216 @endif bfd-bootstrap
3218 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3219 maybe-configure-stage2-bfd:
3220 @if bfd-bootstrap
3221 maybe-configure-stage2-bfd: configure-stage2-bfd
3222 configure-stage2-bfd:
3223 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3225 @r=`${PWD_COMMAND}`; export r; \
3226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3227 TFLAGS="$(STAGE2_TFLAGS)"; \
3228 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3229 $(HOST_EXPORTS) \
3230 $(POSTSTAGE1_HOST_EXPORTS) \
3231 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3232 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3233 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3234 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3236 cd $(HOST_SUBDIR)/bfd || exit 1; \
3237 case $(srcdir) in \
3238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3239 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3241 esac; \
3242 module_srcdir=bfd; \
3243 $(SHELL) $$s/$$module_srcdir/configure \
3244 --srcdir=$${topdir}/$$module_srcdir \
3245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3246 --target=${target_alias} \
3247 --with-build-libsubdir=$(HOST_SUBDIR) \
3248 $(STAGE2_CONFIGURE_FLAGS)
3249 @endif bfd-bootstrap
3251 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3252 maybe-configure-stage3-bfd:
3253 @if bfd-bootstrap
3254 maybe-configure-stage3-bfd: configure-stage3-bfd
3255 configure-stage3-bfd:
3256 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3258 @r=`${PWD_COMMAND}`; export r; \
3259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3260 TFLAGS="$(STAGE3_TFLAGS)"; \
3261 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3262 $(HOST_EXPORTS) \
3263 $(POSTSTAGE1_HOST_EXPORTS) \
3264 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3265 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3266 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3267 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3269 cd $(HOST_SUBDIR)/bfd || exit 1; \
3270 case $(srcdir) in \
3271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3272 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3274 esac; \
3275 module_srcdir=bfd; \
3276 $(SHELL) $$s/$$module_srcdir/configure \
3277 --srcdir=$${topdir}/$$module_srcdir \
3278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3279 --target=${target_alias} \
3280 --with-build-libsubdir=$(HOST_SUBDIR) \
3281 $(STAGE3_CONFIGURE_FLAGS)
3282 @endif bfd-bootstrap
3284 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3285 maybe-configure-stage4-bfd:
3286 @if bfd-bootstrap
3287 maybe-configure-stage4-bfd: configure-stage4-bfd
3288 configure-stage4-bfd:
3289 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3291 @r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3293 TFLAGS="$(STAGE4_TFLAGS)"; \
3294 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3295 $(HOST_EXPORTS) \
3296 $(POSTSTAGE1_HOST_EXPORTS) \
3297 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3298 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3299 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3300 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3302 cd $(HOST_SUBDIR)/bfd || exit 1; \
3303 case $(srcdir) in \
3304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3305 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3307 esac; \
3308 module_srcdir=bfd; \
3309 $(SHELL) $$s/$$module_srcdir/configure \
3310 --srcdir=$${topdir}/$$module_srcdir \
3311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3312 --target=${target_alias} \
3313 --with-build-libsubdir=$(HOST_SUBDIR) \
3314 $(STAGE4_CONFIGURE_FLAGS)
3315 @endif bfd-bootstrap
3317 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3318 maybe-configure-stageprofile-bfd:
3319 @if bfd-bootstrap
3320 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3321 configure-stageprofile-bfd:
3322 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3324 @r=`${PWD_COMMAND}`; export r; \
3325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3326 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3327 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3328 $(HOST_EXPORTS) \
3329 $(POSTSTAGE1_HOST_EXPORTS) \
3330 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3331 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3332 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3333 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3335 cd $(HOST_SUBDIR)/bfd || exit 1; \
3336 case $(srcdir) in \
3337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3338 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3340 esac; \
3341 module_srcdir=bfd; \
3342 $(SHELL) $$s/$$module_srcdir/configure \
3343 --srcdir=$${topdir}/$$module_srcdir \
3344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3345 --target=${target_alias} \
3346 --with-build-libsubdir=$(HOST_SUBDIR) \
3347 $(STAGEprofile_CONFIGURE_FLAGS)
3348 @endif bfd-bootstrap
3350 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3351 maybe-configure-stagetrain-bfd:
3352 @if bfd-bootstrap
3353 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3354 configure-stagetrain-bfd:
3355 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3357 @r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3360 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3361 $(HOST_EXPORTS) \
3362 $(POSTSTAGE1_HOST_EXPORTS) \
3363 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3364 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3365 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3366 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3368 cd $(HOST_SUBDIR)/bfd || exit 1; \
3369 case $(srcdir) in \
3370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3371 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3373 esac; \
3374 module_srcdir=bfd; \
3375 $(SHELL) $$s/$$module_srcdir/configure \
3376 --srcdir=$${topdir}/$$module_srcdir \
3377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3378 --target=${target_alias} \
3379 --with-build-libsubdir=$(HOST_SUBDIR) \
3380 $(STAGEtrain_CONFIGURE_FLAGS)
3381 @endif bfd-bootstrap
3383 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3384 maybe-configure-stagefeedback-bfd:
3385 @if bfd-bootstrap
3386 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3387 configure-stagefeedback-bfd:
3388 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3390 @r=`${PWD_COMMAND}`; export r; \
3391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3392 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3393 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3394 $(HOST_EXPORTS) \
3395 $(POSTSTAGE1_HOST_EXPORTS) \
3396 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3397 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3398 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3399 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3401 cd $(HOST_SUBDIR)/bfd || exit 1; \
3402 case $(srcdir) in \
3403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3404 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3406 esac; \
3407 module_srcdir=bfd; \
3408 $(SHELL) $$s/$$module_srcdir/configure \
3409 --srcdir=$${topdir}/$$module_srcdir \
3410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3411 --target=${target_alias} \
3412 --with-build-libsubdir=$(HOST_SUBDIR) \
3413 $(STAGEfeedback_CONFIGURE_FLAGS)
3414 @endif bfd-bootstrap
3416 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3417 maybe-configure-stageautoprofile-bfd:
3418 @if bfd-bootstrap
3419 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3420 configure-stageautoprofile-bfd:
3421 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3423 @r=`${PWD_COMMAND}`; export r; \
3424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3426 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3427 $(HOST_EXPORTS) \
3428 $(POSTSTAGE1_HOST_EXPORTS) \
3429 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3430 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3431 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3432 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3434 cd $(HOST_SUBDIR)/bfd || exit 1; \
3435 case $(srcdir) in \
3436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3437 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3439 esac; \
3440 module_srcdir=bfd; \
3441 $(SHELL) $$s/$$module_srcdir/configure \
3442 --srcdir=$${topdir}/$$module_srcdir \
3443 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3444 --target=${target_alias} \
3445 --with-build-libsubdir=$(HOST_SUBDIR) \
3446 $(STAGEautoprofile_CONFIGURE_FLAGS)
3447 @endif bfd-bootstrap
3449 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3450 maybe-configure-stageautofeedback-bfd:
3451 @if bfd-bootstrap
3452 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3453 configure-stageautofeedback-bfd:
3454 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3456 @r=`${PWD_COMMAND}`; export r; \
3457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3459 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3460 $(HOST_EXPORTS) \
3461 $(POSTSTAGE1_HOST_EXPORTS) \
3462 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3463 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3464 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3465 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3467 cd $(HOST_SUBDIR)/bfd || exit 1; \
3468 case $(srcdir) in \
3469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3470 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3472 esac; \
3473 module_srcdir=bfd; \
3474 $(SHELL) $$s/$$module_srcdir/configure \
3475 --srcdir=$${topdir}/$$module_srcdir \
3476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3477 --target=${target_alias} \
3478 --with-build-libsubdir=$(HOST_SUBDIR) \
3479 $(STAGEautofeedback_CONFIGURE_FLAGS)
3480 @endif bfd-bootstrap
3486 .PHONY: all-bfd maybe-all-bfd
3487 maybe-all-bfd:
3488 @if gcc-bootstrap
3489 all-bfd: stage_current
3490 @endif gcc-bootstrap
3491 @if bfd
3492 TARGET-bfd=all
3493 maybe-all-bfd: all-bfd
3494 all-bfd: configure-bfd
3495 @r=`${PWD_COMMAND}`; export r; \
3496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3497 $(HOST_EXPORTS) \
3498 (cd $(HOST_SUBDIR)/bfd && \
3499 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3500 $(TARGET-bfd))
3501 @endif bfd
3505 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3506 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3507 maybe-all-stage1-bfd:
3508 maybe-clean-stage1-bfd:
3509 @if bfd-bootstrap
3510 maybe-all-stage1-bfd: all-stage1-bfd
3511 all-stage1: all-stage1-bfd
3512 TARGET-stage1-bfd = $(TARGET-bfd)
3513 all-stage1-bfd: configure-stage1-bfd
3514 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3515 @r=`${PWD_COMMAND}`; export r; \
3516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3517 TFLAGS="$(STAGE1_TFLAGS)"; \
3518 $(HOST_EXPORTS) \
3519 cd $(HOST_SUBDIR)/bfd && \
3521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3522 CFLAGS="$(STAGE1_CFLAGS)" \
3523 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3524 LIBCFLAGS="$(LIBCFLAGS)" \
3525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3528 $(EXTRA_HOST_FLAGS) \
3529 $(STAGE1_FLAGS_TO_PASS) \
3530 TFLAGS="$(STAGE1_TFLAGS)" \
3531 $(TARGET-stage1-bfd)
3533 maybe-clean-stage1-bfd: clean-stage1-bfd
3534 clean-stage1: clean-stage1-bfd
3535 clean-stage1-bfd:
3536 @if [ $(current_stage) = stage1 ]; then \
3537 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3538 else \
3539 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3540 $(MAKE) stage1-start; \
3541 fi; \
3542 cd $(HOST_SUBDIR)/bfd && \
3543 $(MAKE) $(EXTRA_HOST_FLAGS) \
3544 $(STAGE1_FLAGS_TO_PASS) clean
3545 @endif bfd-bootstrap
3548 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3549 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3550 maybe-all-stage2-bfd:
3551 maybe-clean-stage2-bfd:
3552 @if bfd-bootstrap
3553 maybe-all-stage2-bfd: all-stage2-bfd
3554 all-stage2: all-stage2-bfd
3555 TARGET-stage2-bfd = $(TARGET-bfd)
3556 all-stage2-bfd: configure-stage2-bfd
3557 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3558 @r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 TFLAGS="$(STAGE2_TFLAGS)"; \
3561 $(HOST_EXPORTS) \
3562 $(POSTSTAGE1_HOST_EXPORTS) \
3563 cd $(HOST_SUBDIR)/bfd && \
3565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3566 CFLAGS="$(STAGE2_CFLAGS)" \
3567 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3568 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3569 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3570 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3571 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3572 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3573 TFLAGS="$(STAGE2_TFLAGS)" \
3574 $(TARGET-stage2-bfd)
3576 maybe-clean-stage2-bfd: clean-stage2-bfd
3577 clean-stage2: clean-stage2-bfd
3578 clean-stage2-bfd:
3579 @if [ $(current_stage) = stage2 ]; then \
3580 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3581 else \
3582 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3583 $(MAKE) stage2-start; \
3584 fi; \
3585 cd $(HOST_SUBDIR)/bfd && \
3586 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3587 @endif bfd-bootstrap
3590 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3591 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3592 maybe-all-stage3-bfd:
3593 maybe-clean-stage3-bfd:
3594 @if bfd-bootstrap
3595 maybe-all-stage3-bfd: all-stage3-bfd
3596 all-stage3: all-stage3-bfd
3597 TARGET-stage3-bfd = $(TARGET-bfd)
3598 all-stage3-bfd: configure-stage3-bfd
3599 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3600 @r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 TFLAGS="$(STAGE3_TFLAGS)"; \
3603 $(HOST_EXPORTS) \
3604 $(POSTSTAGE1_HOST_EXPORTS) \
3605 cd $(HOST_SUBDIR)/bfd && \
3607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3608 CFLAGS="$(STAGE3_CFLAGS)" \
3609 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3610 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3615 TFLAGS="$(STAGE3_TFLAGS)" \
3616 $(TARGET-stage3-bfd)
3618 maybe-clean-stage3-bfd: clean-stage3-bfd
3619 clean-stage3: clean-stage3-bfd
3620 clean-stage3-bfd:
3621 @if [ $(current_stage) = stage3 ]; then \
3622 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3623 else \
3624 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3625 $(MAKE) stage3-start; \
3626 fi; \
3627 cd $(HOST_SUBDIR)/bfd && \
3628 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3629 @endif bfd-bootstrap
3632 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3633 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3634 maybe-all-stage4-bfd:
3635 maybe-clean-stage4-bfd:
3636 @if bfd-bootstrap
3637 maybe-all-stage4-bfd: all-stage4-bfd
3638 all-stage4: all-stage4-bfd
3639 TARGET-stage4-bfd = $(TARGET-bfd)
3640 all-stage4-bfd: configure-stage4-bfd
3641 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3642 @r=`${PWD_COMMAND}`; export r; \
3643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3644 TFLAGS="$(STAGE4_TFLAGS)"; \
3645 $(HOST_EXPORTS) \
3646 $(POSTSTAGE1_HOST_EXPORTS) \
3647 cd $(HOST_SUBDIR)/bfd && \
3649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3650 CFLAGS="$(STAGE4_CFLAGS)" \
3651 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3652 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3653 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3654 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3655 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3656 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3657 TFLAGS="$(STAGE4_TFLAGS)" \
3658 $(TARGET-stage4-bfd)
3660 maybe-clean-stage4-bfd: clean-stage4-bfd
3661 clean-stage4: clean-stage4-bfd
3662 clean-stage4-bfd:
3663 @if [ $(current_stage) = stage4 ]; then \
3664 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3665 else \
3666 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3667 $(MAKE) stage4-start; \
3668 fi; \
3669 cd $(HOST_SUBDIR)/bfd && \
3670 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3671 @endif bfd-bootstrap
3674 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3675 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3676 maybe-all-stageprofile-bfd:
3677 maybe-clean-stageprofile-bfd:
3678 @if bfd-bootstrap
3679 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3680 all-stageprofile: all-stageprofile-bfd
3681 TARGET-stageprofile-bfd = $(TARGET-bfd)
3682 all-stageprofile-bfd: configure-stageprofile-bfd
3683 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3684 @r=`${PWD_COMMAND}`; export r; \
3685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3686 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3687 $(HOST_EXPORTS) \
3688 $(POSTSTAGE1_HOST_EXPORTS) \
3689 cd $(HOST_SUBDIR)/bfd && \
3691 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3692 CFLAGS="$(STAGEprofile_CFLAGS)" \
3693 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3694 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3695 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3696 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3697 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3698 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3699 TFLAGS="$(STAGEprofile_TFLAGS)" \
3700 $(TARGET-stageprofile-bfd)
3702 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3703 clean-stageprofile: clean-stageprofile-bfd
3704 clean-stageprofile-bfd:
3705 @if [ $(current_stage) = stageprofile ]; then \
3706 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3707 else \
3708 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3709 $(MAKE) stageprofile-start; \
3710 fi; \
3711 cd $(HOST_SUBDIR)/bfd && \
3712 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3713 @endif bfd-bootstrap
3716 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3717 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3718 maybe-all-stagetrain-bfd:
3719 maybe-clean-stagetrain-bfd:
3720 @if bfd-bootstrap
3721 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3722 all-stagetrain: all-stagetrain-bfd
3723 TARGET-stagetrain-bfd = $(TARGET-bfd)
3724 all-stagetrain-bfd: configure-stagetrain-bfd
3725 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3726 @r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3729 $(HOST_EXPORTS) \
3730 $(POSTSTAGE1_HOST_EXPORTS) \
3731 cd $(HOST_SUBDIR)/bfd && \
3733 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3734 CFLAGS="$(STAGEtrain_CFLAGS)" \
3735 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3736 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3737 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3738 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3739 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3740 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3741 TFLAGS="$(STAGEtrain_TFLAGS)" \
3742 $(TARGET-stagetrain-bfd)
3744 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3745 clean-stagetrain: clean-stagetrain-bfd
3746 clean-stagetrain-bfd:
3747 @if [ $(current_stage) = stagetrain ]; then \
3748 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3749 else \
3750 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3751 $(MAKE) stagetrain-start; \
3752 fi; \
3753 cd $(HOST_SUBDIR)/bfd && \
3754 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3755 @endif bfd-bootstrap
3758 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3759 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3760 maybe-all-stagefeedback-bfd:
3761 maybe-clean-stagefeedback-bfd:
3762 @if bfd-bootstrap
3763 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3764 all-stagefeedback: all-stagefeedback-bfd
3765 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3766 all-stagefeedback-bfd: configure-stagefeedback-bfd
3767 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3768 @r=`${PWD_COMMAND}`; export r; \
3769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3770 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3771 $(HOST_EXPORTS) \
3772 $(POSTSTAGE1_HOST_EXPORTS) \
3773 cd $(HOST_SUBDIR)/bfd && \
3775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3776 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3777 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3778 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3783 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3784 $(TARGET-stagefeedback-bfd)
3786 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3787 clean-stagefeedback: clean-stagefeedback-bfd
3788 clean-stagefeedback-bfd:
3789 @if [ $(current_stage) = stagefeedback ]; then \
3790 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3791 else \
3792 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3793 $(MAKE) stagefeedback-start; \
3794 fi; \
3795 cd $(HOST_SUBDIR)/bfd && \
3796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3797 @endif bfd-bootstrap
3800 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3801 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3802 maybe-all-stageautoprofile-bfd:
3803 maybe-clean-stageautoprofile-bfd:
3804 @if bfd-bootstrap
3805 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3806 all-stageautoprofile: all-stageautoprofile-bfd
3807 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3808 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3809 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3810 @r=`${PWD_COMMAND}`; export r; \
3811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3812 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3813 $(HOST_EXPORTS) \
3814 $(POSTSTAGE1_HOST_EXPORTS) \
3815 cd $(HOST_SUBDIR)/bfd && \
3816 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3818 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3819 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3820 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3821 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3822 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3823 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3824 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3825 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3826 $(TARGET-stageautoprofile-bfd)
3828 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3829 clean-stageautoprofile: clean-stageautoprofile-bfd
3830 clean-stageautoprofile-bfd:
3831 @if [ $(current_stage) = stageautoprofile ]; then \
3832 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3833 else \
3834 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3835 $(MAKE) stageautoprofile-start; \
3836 fi; \
3837 cd $(HOST_SUBDIR)/bfd && \
3838 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3839 @endif bfd-bootstrap
3842 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3843 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3844 maybe-all-stageautofeedback-bfd:
3845 maybe-clean-stageautofeedback-bfd:
3846 @if bfd-bootstrap
3847 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3848 all-stageautofeedback: all-stageautofeedback-bfd
3849 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3850 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3851 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3852 @r=`${PWD_COMMAND}`; export r; \
3853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3855 $(HOST_EXPORTS) \
3856 $(POSTSTAGE1_HOST_EXPORTS) \
3857 cd $(HOST_SUBDIR)/bfd && \
3859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3860 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3861 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3862 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3863 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3864 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3865 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3866 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3867 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3868 $(TARGET-stageautofeedback-bfd)
3870 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3871 clean-stageautofeedback: clean-stageautofeedback-bfd
3872 clean-stageautofeedback-bfd:
3873 @if [ $(current_stage) = stageautofeedback ]; then \
3874 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3875 else \
3876 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3877 $(MAKE) stageautofeedback-start; \
3878 fi; \
3879 cd $(HOST_SUBDIR)/bfd && \
3880 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3881 @endif bfd-bootstrap
3887 .PHONY: check-bfd maybe-check-bfd
3888 maybe-check-bfd:
3889 @if bfd
3890 maybe-check-bfd: check-bfd
3892 check-bfd:
3893 @: $(MAKE); $(unstage)
3894 @r=`${PWD_COMMAND}`; export r; \
3895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3896 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3897 (cd $(HOST_SUBDIR)/bfd && \
3898 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3900 @endif bfd
3902 .PHONY: install-bfd maybe-install-bfd
3903 maybe-install-bfd:
3904 @if bfd
3905 maybe-install-bfd: install-bfd
3907 install-bfd: installdirs
3908 @: $(MAKE); $(unstage)
3909 @r=`${PWD_COMMAND}`; export r; \
3910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3911 $(HOST_EXPORTS) \
3912 (cd $(HOST_SUBDIR)/bfd && \
3913 $(MAKE) $(FLAGS_TO_PASS) install)
3915 @endif bfd
3917 .PHONY: install-strip-bfd maybe-install-strip-bfd
3918 maybe-install-strip-bfd:
3919 @if bfd
3920 maybe-install-strip-bfd: install-strip-bfd
3922 install-strip-bfd: installdirs
3923 @: $(MAKE); $(unstage)
3924 @r=`${PWD_COMMAND}`; export r; \
3925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3926 $(HOST_EXPORTS) \
3927 (cd $(HOST_SUBDIR)/bfd && \
3928 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3930 @endif bfd
3932 # Other targets (info, dvi, pdf, etc.)
3934 .PHONY: maybe-info-bfd info-bfd
3935 maybe-info-bfd:
3936 @if bfd
3937 maybe-info-bfd: info-bfd
3939 info-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 info 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 info) \
3955 || exit 1
3957 @endif bfd
3959 .PHONY: maybe-dvi-bfd dvi-bfd
3960 maybe-dvi-bfd:
3961 @if bfd
3962 maybe-dvi-bfd: dvi-bfd
3964 dvi-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 dvi 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 dvi) \
3980 || exit 1
3982 @endif bfd
3984 .PHONY: maybe-pdf-bfd pdf-bfd
3985 maybe-pdf-bfd:
3986 @if bfd
3987 maybe-pdf-bfd: pdf-bfd
3989 pdf-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 pdf 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 pdf) \
4005 || exit 1
4007 @endif bfd
4009 .PHONY: maybe-html-bfd html-bfd
4010 maybe-html-bfd:
4011 @if bfd
4012 maybe-html-bfd: html-bfd
4014 html-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 html 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 html) \
4030 || exit 1
4032 @endif bfd
4034 .PHONY: maybe-TAGS-bfd TAGS-bfd
4035 maybe-TAGS-bfd:
4036 @if bfd
4037 maybe-TAGS-bfd: TAGS-bfd
4039 TAGS-bfd: \
4040 configure-bfd
4041 @[ -f ./bfd/Makefile ] || exit 0; \
4042 r=`${PWD_COMMAND}`; export r; \
4043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4044 $(HOST_EXPORTS) \
4045 for flag in $(EXTRA_HOST_FLAGS) ; do \
4046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4047 done; \
4048 echo "Doing TAGS in bfd"; \
4049 (cd $(HOST_SUBDIR)/bfd && \
4050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4052 "RANLIB=$${RANLIB}" \
4053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4054 TAGS) \
4055 || exit 1
4057 @endif bfd
4059 .PHONY: maybe-install-info-bfd install-info-bfd
4060 maybe-install-info-bfd:
4061 @if bfd
4062 maybe-install-info-bfd: install-info-bfd
4064 install-info-bfd: \
4065 configure-bfd \
4066 info-bfd
4067 @[ -f ./bfd/Makefile ] || exit 0; \
4068 r=`${PWD_COMMAND}`; export r; \
4069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4070 $(HOST_EXPORTS) \
4071 for flag in $(EXTRA_HOST_FLAGS) ; do \
4072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4073 done; \
4074 echo "Doing install-info in bfd"; \
4075 (cd $(HOST_SUBDIR)/bfd && \
4076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4078 "RANLIB=$${RANLIB}" \
4079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4080 install-info) \
4081 || exit 1
4083 @endif bfd
4085 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4086 maybe-install-pdf-bfd:
4087 @if bfd
4088 maybe-install-pdf-bfd: install-pdf-bfd
4090 install-pdf-bfd: \
4091 configure-bfd \
4092 pdf-bfd
4093 @[ -f ./bfd/Makefile ] || exit 0; \
4094 r=`${PWD_COMMAND}`; export r; \
4095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4096 $(HOST_EXPORTS) \
4097 for flag in $(EXTRA_HOST_FLAGS) ; do \
4098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4099 done; \
4100 echo "Doing install-pdf in bfd"; \
4101 (cd $(HOST_SUBDIR)/bfd && \
4102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4104 "RANLIB=$${RANLIB}" \
4105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4106 install-pdf) \
4107 || exit 1
4109 @endif bfd
4111 .PHONY: maybe-install-html-bfd install-html-bfd
4112 maybe-install-html-bfd:
4113 @if bfd
4114 maybe-install-html-bfd: install-html-bfd
4116 install-html-bfd: \
4117 configure-bfd \
4118 html-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 install-html 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 install-html) \
4133 || exit 1
4135 @endif bfd
4137 .PHONY: maybe-installcheck-bfd installcheck-bfd
4138 maybe-installcheck-bfd:
4139 @if bfd
4140 maybe-installcheck-bfd: installcheck-bfd
4142 installcheck-bfd: \
4143 configure-bfd
4144 @[ -f ./bfd/Makefile ] || exit 0; \
4145 r=`${PWD_COMMAND}`; export r; \
4146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4147 $(HOST_EXPORTS) \
4148 for flag in $(EXTRA_HOST_FLAGS) ; do \
4149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4150 done; \
4151 echo "Doing installcheck in bfd"; \
4152 (cd $(HOST_SUBDIR)/bfd && \
4153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4155 "RANLIB=$${RANLIB}" \
4156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4157 installcheck) \
4158 || exit 1
4160 @endif bfd
4162 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4163 maybe-mostlyclean-bfd:
4164 @if bfd
4165 maybe-mostlyclean-bfd: mostlyclean-bfd
4167 mostlyclean-bfd:
4168 @[ -f ./bfd/Makefile ] || exit 0; \
4169 r=`${PWD_COMMAND}`; export r; \
4170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4171 $(HOST_EXPORTS) \
4172 for flag in $(EXTRA_HOST_FLAGS) ; do \
4173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4174 done; \
4175 echo "Doing mostlyclean in bfd"; \
4176 (cd $(HOST_SUBDIR)/bfd && \
4177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4179 "RANLIB=$${RANLIB}" \
4180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4181 mostlyclean) \
4182 || exit 1
4184 @endif bfd
4186 .PHONY: maybe-clean-bfd clean-bfd
4187 maybe-clean-bfd:
4188 @if bfd
4189 maybe-clean-bfd: clean-bfd
4191 clean-bfd:
4192 @[ -f ./bfd/Makefile ] || exit 0; \
4193 r=`${PWD_COMMAND}`; export r; \
4194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4195 $(HOST_EXPORTS) \
4196 for flag in $(EXTRA_HOST_FLAGS) ; do \
4197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4198 done; \
4199 echo "Doing clean in bfd"; \
4200 (cd $(HOST_SUBDIR)/bfd && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4203 "RANLIB=$${RANLIB}" \
4204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4205 clean) \
4206 || exit 1
4208 @endif bfd
4210 .PHONY: maybe-distclean-bfd distclean-bfd
4211 maybe-distclean-bfd:
4212 @if bfd
4213 maybe-distclean-bfd: distclean-bfd
4215 distclean-bfd:
4216 @[ -f ./bfd/Makefile ] || exit 0; \
4217 r=`${PWD_COMMAND}`; export r; \
4218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4219 $(HOST_EXPORTS) \
4220 for flag in $(EXTRA_HOST_FLAGS) ; do \
4221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4222 done; \
4223 echo "Doing distclean in bfd"; \
4224 (cd $(HOST_SUBDIR)/bfd && \
4225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4227 "RANLIB=$${RANLIB}" \
4228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4229 distclean) \
4230 || exit 1
4232 @endif bfd
4234 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4235 maybe-maintainer-clean-bfd:
4236 @if bfd
4237 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4239 maintainer-clean-bfd:
4240 @[ -f ./bfd/Makefile ] || exit 0; \
4241 r=`${PWD_COMMAND}`; export r; \
4242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4243 $(HOST_EXPORTS) \
4244 for flag in $(EXTRA_HOST_FLAGS) ; do \
4245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4246 done; \
4247 echo "Doing maintainer-clean in bfd"; \
4248 (cd $(HOST_SUBDIR)/bfd && \
4249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4251 "RANLIB=$${RANLIB}" \
4252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4253 maintainer-clean) \
4254 || exit 1
4256 @endif bfd
4260 .PHONY: configure-opcodes maybe-configure-opcodes
4261 maybe-configure-opcodes:
4262 @if gcc-bootstrap
4263 configure-opcodes: stage_current
4264 @endif gcc-bootstrap
4265 @if opcodes
4266 maybe-configure-opcodes: configure-opcodes
4267 configure-opcodes:
4268 @r=`${PWD_COMMAND}`; export r; \
4269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4270 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4272 $(HOST_EXPORTS) \
4273 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4274 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4275 case $(srcdir) in \
4276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4277 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4279 esac; \
4280 module_srcdir=opcodes; \
4281 $(SHELL) \
4282 $$s/$$module_srcdir/configure \
4283 --srcdir=$${topdir}/$$module_srcdir \
4284 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4285 --target=${target_alias} \
4286 || exit 1
4287 @endif opcodes
4291 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4292 maybe-configure-stage1-opcodes:
4293 @if opcodes-bootstrap
4294 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4295 configure-stage1-opcodes:
4296 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4298 @r=`${PWD_COMMAND}`; export r; \
4299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4300 TFLAGS="$(STAGE1_TFLAGS)"; \
4301 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4302 $(HOST_EXPORTS) \
4303 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4304 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4305 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4306 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4308 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4309 case $(srcdir) in \
4310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4311 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4313 esac; \
4314 module_srcdir=opcodes; \
4315 $(SHELL) $$s/$$module_srcdir/configure \
4316 --srcdir=$${topdir}/$$module_srcdir \
4317 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4318 --target=${target_alias} \
4320 $(STAGE1_CONFIGURE_FLAGS)
4321 @endif opcodes-bootstrap
4323 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4324 maybe-configure-stage2-opcodes:
4325 @if opcodes-bootstrap
4326 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4327 configure-stage2-opcodes:
4328 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4330 @r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 TFLAGS="$(STAGE2_TFLAGS)"; \
4333 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4334 $(HOST_EXPORTS) \
4335 $(POSTSTAGE1_HOST_EXPORTS) \
4336 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4337 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4338 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4339 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4341 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4342 case $(srcdir) in \
4343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4344 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4346 esac; \
4347 module_srcdir=opcodes; \
4348 $(SHELL) $$s/$$module_srcdir/configure \
4349 --srcdir=$${topdir}/$$module_srcdir \
4350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4351 --target=${target_alias} \
4352 --with-build-libsubdir=$(HOST_SUBDIR) \
4353 $(STAGE2_CONFIGURE_FLAGS)
4354 @endif opcodes-bootstrap
4356 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4357 maybe-configure-stage3-opcodes:
4358 @if opcodes-bootstrap
4359 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4360 configure-stage3-opcodes:
4361 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4362 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4363 @r=`${PWD_COMMAND}`; export r; \
4364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 TFLAGS="$(STAGE3_TFLAGS)"; \
4366 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4367 $(HOST_EXPORTS) \
4368 $(POSTSTAGE1_HOST_EXPORTS) \
4369 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4370 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4371 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4372 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4374 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4375 case $(srcdir) in \
4376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4377 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4379 esac; \
4380 module_srcdir=opcodes; \
4381 $(SHELL) $$s/$$module_srcdir/configure \
4382 --srcdir=$${topdir}/$$module_srcdir \
4383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4384 --target=${target_alias} \
4385 --with-build-libsubdir=$(HOST_SUBDIR) \
4386 $(STAGE3_CONFIGURE_FLAGS)
4387 @endif opcodes-bootstrap
4389 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4390 maybe-configure-stage4-opcodes:
4391 @if opcodes-bootstrap
4392 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4393 configure-stage4-opcodes:
4394 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4395 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4396 @r=`${PWD_COMMAND}`; export r; \
4397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4398 TFLAGS="$(STAGE4_TFLAGS)"; \
4399 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4400 $(HOST_EXPORTS) \
4401 $(POSTSTAGE1_HOST_EXPORTS) \
4402 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4403 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4404 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4405 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4407 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4408 case $(srcdir) in \
4409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4410 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4412 esac; \
4413 module_srcdir=opcodes; \
4414 $(SHELL) $$s/$$module_srcdir/configure \
4415 --srcdir=$${topdir}/$$module_srcdir \
4416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4417 --target=${target_alias} \
4418 --with-build-libsubdir=$(HOST_SUBDIR) \
4419 $(STAGE4_CONFIGURE_FLAGS)
4420 @endif opcodes-bootstrap
4422 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4423 maybe-configure-stageprofile-opcodes:
4424 @if opcodes-bootstrap
4425 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4426 configure-stageprofile-opcodes:
4427 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4428 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4429 @r=`${PWD_COMMAND}`; export r; \
4430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4431 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4432 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4433 $(HOST_EXPORTS) \
4434 $(POSTSTAGE1_HOST_EXPORTS) \
4435 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4436 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4437 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4438 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4440 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4441 case $(srcdir) in \
4442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4443 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4445 esac; \
4446 module_srcdir=opcodes; \
4447 $(SHELL) $$s/$$module_srcdir/configure \
4448 --srcdir=$${topdir}/$$module_srcdir \
4449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4450 --target=${target_alias} \
4451 --with-build-libsubdir=$(HOST_SUBDIR) \
4452 $(STAGEprofile_CONFIGURE_FLAGS)
4453 @endif opcodes-bootstrap
4455 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4456 maybe-configure-stagetrain-opcodes:
4457 @if opcodes-bootstrap
4458 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4459 configure-stagetrain-opcodes:
4460 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4461 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4462 @r=`${PWD_COMMAND}`; export r; \
4463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4464 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4465 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4466 $(HOST_EXPORTS) \
4467 $(POSTSTAGE1_HOST_EXPORTS) \
4468 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4469 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4470 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4471 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4473 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4474 case $(srcdir) in \
4475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4476 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4478 esac; \
4479 module_srcdir=opcodes; \
4480 $(SHELL) $$s/$$module_srcdir/configure \
4481 --srcdir=$${topdir}/$$module_srcdir \
4482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4483 --target=${target_alias} \
4484 --with-build-libsubdir=$(HOST_SUBDIR) \
4485 $(STAGEtrain_CONFIGURE_FLAGS)
4486 @endif opcodes-bootstrap
4488 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4489 maybe-configure-stagefeedback-opcodes:
4490 @if opcodes-bootstrap
4491 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4492 configure-stagefeedback-opcodes:
4493 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4494 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4495 @r=`${PWD_COMMAND}`; export r; \
4496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4497 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4498 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4499 $(HOST_EXPORTS) \
4500 $(POSTSTAGE1_HOST_EXPORTS) \
4501 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4502 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4503 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4504 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4506 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4507 case $(srcdir) in \
4508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4509 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4511 esac; \
4512 module_srcdir=opcodes; \
4513 $(SHELL) $$s/$$module_srcdir/configure \
4514 --srcdir=$${topdir}/$$module_srcdir \
4515 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4516 --target=${target_alias} \
4517 --with-build-libsubdir=$(HOST_SUBDIR) \
4518 $(STAGEfeedback_CONFIGURE_FLAGS)
4519 @endif opcodes-bootstrap
4521 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4522 maybe-configure-stageautoprofile-opcodes:
4523 @if opcodes-bootstrap
4524 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4525 configure-stageautoprofile-opcodes:
4526 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4527 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4528 @r=`${PWD_COMMAND}`; export r; \
4529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4530 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4531 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4532 $(HOST_EXPORTS) \
4533 $(POSTSTAGE1_HOST_EXPORTS) \
4534 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4535 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4536 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4537 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4539 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4540 case $(srcdir) in \
4541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4542 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4544 esac; \
4545 module_srcdir=opcodes; \
4546 $(SHELL) $$s/$$module_srcdir/configure \
4547 --srcdir=$${topdir}/$$module_srcdir \
4548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4549 --target=${target_alias} \
4550 --with-build-libsubdir=$(HOST_SUBDIR) \
4551 $(STAGEautoprofile_CONFIGURE_FLAGS)
4552 @endif opcodes-bootstrap
4554 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4555 maybe-configure-stageautofeedback-opcodes:
4556 @if opcodes-bootstrap
4557 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4558 configure-stageautofeedback-opcodes:
4559 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4561 @r=`${PWD_COMMAND}`; export r; \
4562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4564 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4565 $(HOST_EXPORTS) \
4566 $(POSTSTAGE1_HOST_EXPORTS) \
4567 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4568 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4569 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4570 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4572 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4573 case $(srcdir) in \
4574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4575 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4577 esac; \
4578 module_srcdir=opcodes; \
4579 $(SHELL) $$s/$$module_srcdir/configure \
4580 --srcdir=$${topdir}/$$module_srcdir \
4581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4582 --target=${target_alias} \
4583 --with-build-libsubdir=$(HOST_SUBDIR) \
4584 $(STAGEautofeedback_CONFIGURE_FLAGS)
4585 @endif opcodes-bootstrap
4591 .PHONY: all-opcodes maybe-all-opcodes
4592 maybe-all-opcodes:
4593 @if gcc-bootstrap
4594 all-opcodes: stage_current
4595 @endif gcc-bootstrap
4596 @if opcodes
4597 TARGET-opcodes=all
4598 maybe-all-opcodes: all-opcodes
4599 all-opcodes: configure-opcodes
4600 @r=`${PWD_COMMAND}`; export r; \
4601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4602 $(HOST_EXPORTS) \
4603 (cd $(HOST_SUBDIR)/opcodes && \
4604 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4605 $(TARGET-opcodes))
4606 @endif opcodes
4610 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4611 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4612 maybe-all-stage1-opcodes:
4613 maybe-clean-stage1-opcodes:
4614 @if opcodes-bootstrap
4615 maybe-all-stage1-opcodes: all-stage1-opcodes
4616 all-stage1: all-stage1-opcodes
4617 TARGET-stage1-opcodes = $(TARGET-opcodes)
4618 all-stage1-opcodes: configure-stage1-opcodes
4619 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4620 @r=`${PWD_COMMAND}`; export r; \
4621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4622 TFLAGS="$(STAGE1_TFLAGS)"; \
4623 $(HOST_EXPORTS) \
4624 cd $(HOST_SUBDIR)/opcodes && \
4626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4627 CFLAGS="$(STAGE1_CFLAGS)" \
4628 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4629 LIBCFLAGS="$(LIBCFLAGS)" \
4630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4633 $(EXTRA_HOST_FLAGS) \
4634 $(STAGE1_FLAGS_TO_PASS) \
4635 TFLAGS="$(STAGE1_TFLAGS)" \
4636 $(TARGET-stage1-opcodes)
4638 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4639 clean-stage1: clean-stage1-opcodes
4640 clean-stage1-opcodes:
4641 @if [ $(current_stage) = stage1 ]; then \
4642 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4643 else \
4644 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4645 $(MAKE) stage1-start; \
4646 fi; \
4647 cd $(HOST_SUBDIR)/opcodes && \
4648 $(MAKE) $(EXTRA_HOST_FLAGS) \
4649 $(STAGE1_FLAGS_TO_PASS) clean
4650 @endif opcodes-bootstrap
4653 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4654 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4655 maybe-all-stage2-opcodes:
4656 maybe-clean-stage2-opcodes:
4657 @if opcodes-bootstrap
4658 maybe-all-stage2-opcodes: all-stage2-opcodes
4659 all-stage2: all-stage2-opcodes
4660 TARGET-stage2-opcodes = $(TARGET-opcodes)
4661 all-stage2-opcodes: configure-stage2-opcodes
4662 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4663 @r=`${PWD_COMMAND}`; export r; \
4664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4665 TFLAGS="$(STAGE2_TFLAGS)"; \
4666 $(HOST_EXPORTS) \
4667 $(POSTSTAGE1_HOST_EXPORTS) \
4668 cd $(HOST_SUBDIR)/opcodes && \
4670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4671 CFLAGS="$(STAGE2_CFLAGS)" \
4672 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4673 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4677 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4678 TFLAGS="$(STAGE2_TFLAGS)" \
4679 $(TARGET-stage2-opcodes)
4681 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4682 clean-stage2: clean-stage2-opcodes
4683 clean-stage2-opcodes:
4684 @if [ $(current_stage) = stage2 ]; then \
4685 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4686 else \
4687 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4688 $(MAKE) stage2-start; \
4689 fi; \
4690 cd $(HOST_SUBDIR)/opcodes && \
4691 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4692 @endif opcodes-bootstrap
4695 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4696 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4697 maybe-all-stage3-opcodes:
4698 maybe-clean-stage3-opcodes:
4699 @if opcodes-bootstrap
4700 maybe-all-stage3-opcodes: all-stage3-opcodes
4701 all-stage3: all-stage3-opcodes
4702 TARGET-stage3-opcodes = $(TARGET-opcodes)
4703 all-stage3-opcodes: configure-stage3-opcodes
4704 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4705 @r=`${PWD_COMMAND}`; export r; \
4706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4707 TFLAGS="$(STAGE3_TFLAGS)"; \
4708 $(HOST_EXPORTS) \
4709 $(POSTSTAGE1_HOST_EXPORTS) \
4710 cd $(HOST_SUBDIR)/opcodes && \
4712 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4713 CFLAGS="$(STAGE3_CFLAGS)" \
4714 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4715 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4716 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4717 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4718 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4719 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4720 TFLAGS="$(STAGE3_TFLAGS)" \
4721 $(TARGET-stage3-opcodes)
4723 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4724 clean-stage3: clean-stage3-opcodes
4725 clean-stage3-opcodes:
4726 @if [ $(current_stage) = stage3 ]; then \
4727 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4728 else \
4729 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4730 $(MAKE) stage3-start; \
4731 fi; \
4732 cd $(HOST_SUBDIR)/opcodes && \
4733 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4734 @endif opcodes-bootstrap
4737 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4738 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4739 maybe-all-stage4-opcodes:
4740 maybe-clean-stage4-opcodes:
4741 @if opcodes-bootstrap
4742 maybe-all-stage4-opcodes: all-stage4-opcodes
4743 all-stage4: all-stage4-opcodes
4744 TARGET-stage4-opcodes = $(TARGET-opcodes)
4745 all-stage4-opcodes: configure-stage4-opcodes
4746 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4747 @r=`${PWD_COMMAND}`; export r; \
4748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4749 TFLAGS="$(STAGE4_TFLAGS)"; \
4750 $(HOST_EXPORTS) \
4751 $(POSTSTAGE1_HOST_EXPORTS) \
4752 cd $(HOST_SUBDIR)/opcodes && \
4754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4755 CFLAGS="$(STAGE4_CFLAGS)" \
4756 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4757 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4761 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4762 TFLAGS="$(STAGE4_TFLAGS)" \
4763 $(TARGET-stage4-opcodes)
4765 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4766 clean-stage4: clean-stage4-opcodes
4767 clean-stage4-opcodes:
4768 @if [ $(current_stage) = stage4 ]; then \
4769 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4770 else \
4771 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4772 $(MAKE) stage4-start; \
4773 fi; \
4774 cd $(HOST_SUBDIR)/opcodes && \
4775 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4776 @endif opcodes-bootstrap
4779 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4780 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4781 maybe-all-stageprofile-opcodes:
4782 maybe-clean-stageprofile-opcodes:
4783 @if opcodes-bootstrap
4784 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4785 all-stageprofile: all-stageprofile-opcodes
4786 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4787 all-stageprofile-opcodes: configure-stageprofile-opcodes
4788 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4789 @r=`${PWD_COMMAND}`; export r; \
4790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4791 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4792 $(HOST_EXPORTS) \
4793 $(POSTSTAGE1_HOST_EXPORTS) \
4794 cd $(HOST_SUBDIR)/opcodes && \
4796 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4797 CFLAGS="$(STAGEprofile_CFLAGS)" \
4798 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4799 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4800 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4801 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4802 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4803 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4804 TFLAGS="$(STAGEprofile_TFLAGS)" \
4805 $(TARGET-stageprofile-opcodes)
4807 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4808 clean-stageprofile: clean-stageprofile-opcodes
4809 clean-stageprofile-opcodes:
4810 @if [ $(current_stage) = stageprofile ]; then \
4811 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4812 else \
4813 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4814 $(MAKE) stageprofile-start; \
4815 fi; \
4816 cd $(HOST_SUBDIR)/opcodes && \
4817 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4818 @endif opcodes-bootstrap
4821 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4822 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4823 maybe-all-stagetrain-opcodes:
4824 maybe-clean-stagetrain-opcodes:
4825 @if opcodes-bootstrap
4826 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4827 all-stagetrain: all-stagetrain-opcodes
4828 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4829 all-stagetrain-opcodes: configure-stagetrain-opcodes
4830 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4831 @r=`${PWD_COMMAND}`; export r; \
4832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4833 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4834 $(HOST_EXPORTS) \
4835 $(POSTSTAGE1_HOST_EXPORTS) \
4836 cd $(HOST_SUBDIR)/opcodes && \
4838 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4839 CFLAGS="$(STAGEtrain_CFLAGS)" \
4840 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4841 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4842 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4843 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4844 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4845 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4846 TFLAGS="$(STAGEtrain_TFLAGS)" \
4847 $(TARGET-stagetrain-opcodes)
4849 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4850 clean-stagetrain: clean-stagetrain-opcodes
4851 clean-stagetrain-opcodes:
4852 @if [ $(current_stage) = stagetrain ]; then \
4853 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4854 else \
4855 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4856 $(MAKE) stagetrain-start; \
4857 fi; \
4858 cd $(HOST_SUBDIR)/opcodes && \
4859 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4860 @endif opcodes-bootstrap
4863 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4864 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4865 maybe-all-stagefeedback-opcodes:
4866 maybe-clean-stagefeedback-opcodes:
4867 @if opcodes-bootstrap
4868 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4869 all-stagefeedback: all-stagefeedback-opcodes
4870 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4871 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4873 @r=`${PWD_COMMAND}`; export r; \
4874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4875 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4876 $(HOST_EXPORTS) \
4877 $(POSTSTAGE1_HOST_EXPORTS) \
4878 cd $(HOST_SUBDIR)/opcodes && \
4880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4881 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4882 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4883 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4888 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4889 $(TARGET-stagefeedback-opcodes)
4891 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4892 clean-stagefeedback: clean-stagefeedback-opcodes
4893 clean-stagefeedback-opcodes:
4894 @if [ $(current_stage) = stagefeedback ]; then \
4895 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4896 else \
4897 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4898 $(MAKE) stagefeedback-start; \
4899 fi; \
4900 cd $(HOST_SUBDIR)/opcodes && \
4901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4902 @endif opcodes-bootstrap
4905 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4906 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4907 maybe-all-stageautoprofile-opcodes:
4908 maybe-clean-stageautoprofile-opcodes:
4909 @if opcodes-bootstrap
4910 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4911 all-stageautoprofile: all-stageautoprofile-opcodes
4912 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4913 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4914 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4915 @r=`${PWD_COMMAND}`; export r; \
4916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4917 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4918 $(HOST_EXPORTS) \
4919 $(POSTSTAGE1_HOST_EXPORTS) \
4920 cd $(HOST_SUBDIR)/opcodes && \
4921 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4923 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4924 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4925 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4929 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4930 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4931 $(TARGET-stageautoprofile-opcodes)
4933 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4934 clean-stageautoprofile: clean-stageautoprofile-opcodes
4935 clean-stageautoprofile-opcodes:
4936 @if [ $(current_stage) = stageautoprofile ]; then \
4937 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4938 else \
4939 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4940 $(MAKE) stageautoprofile-start; \
4941 fi; \
4942 cd $(HOST_SUBDIR)/opcodes && \
4943 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4944 @endif opcodes-bootstrap
4947 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4948 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4949 maybe-all-stageautofeedback-opcodes:
4950 maybe-clean-stageautofeedback-opcodes:
4951 @if opcodes-bootstrap
4952 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
4953 all-stageautofeedback: all-stageautofeedback-opcodes
4954 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
4955 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4956 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4957 @r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4960 $(HOST_EXPORTS) \
4961 $(POSTSTAGE1_HOST_EXPORTS) \
4962 cd $(HOST_SUBDIR)/opcodes && \
4964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4965 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4966 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4967 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4972 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4973 $(TARGET-stageautofeedback-opcodes)
4975 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
4976 clean-stageautofeedback: clean-stageautofeedback-opcodes
4977 clean-stageautofeedback-opcodes:
4978 @if [ $(current_stage) = stageautofeedback ]; then \
4979 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4980 else \
4981 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
4982 $(MAKE) stageautofeedback-start; \
4983 fi; \
4984 cd $(HOST_SUBDIR)/opcodes && \
4985 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4986 @endif opcodes-bootstrap
4992 .PHONY: check-opcodes maybe-check-opcodes
4993 maybe-check-opcodes:
4994 @if opcodes
4995 maybe-check-opcodes: check-opcodes
4997 check-opcodes:
4998 @: $(MAKE); $(unstage)
4999 @r=`${PWD_COMMAND}`; export r; \
5000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5002 (cd $(HOST_SUBDIR)/opcodes && \
5003 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5005 @endif opcodes
5007 .PHONY: install-opcodes maybe-install-opcodes
5008 maybe-install-opcodes:
5009 @if opcodes
5010 maybe-install-opcodes: install-opcodes
5012 install-opcodes: installdirs
5013 @: $(MAKE); $(unstage)
5014 @r=`${PWD_COMMAND}`; export r; \
5015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5016 $(HOST_EXPORTS) \
5017 (cd $(HOST_SUBDIR)/opcodes && \
5018 $(MAKE) $(FLAGS_TO_PASS) install)
5020 @endif opcodes
5022 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5023 maybe-install-strip-opcodes:
5024 @if opcodes
5025 maybe-install-strip-opcodes: install-strip-opcodes
5027 install-strip-opcodes: installdirs
5028 @: $(MAKE); $(unstage)
5029 @r=`${PWD_COMMAND}`; export r; \
5030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5031 $(HOST_EXPORTS) \
5032 (cd $(HOST_SUBDIR)/opcodes && \
5033 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5035 @endif opcodes
5037 # Other targets (info, dvi, pdf, etc.)
5039 .PHONY: maybe-info-opcodes info-opcodes
5040 maybe-info-opcodes:
5041 @if opcodes
5042 maybe-info-opcodes: info-opcodes
5044 info-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 info 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 info) \
5060 || exit 1
5062 @endif opcodes
5064 .PHONY: maybe-dvi-opcodes dvi-opcodes
5065 maybe-dvi-opcodes:
5066 @if opcodes
5067 maybe-dvi-opcodes: dvi-opcodes
5069 dvi-opcodes: \
5070 configure-opcodes
5071 @[ -f ./opcodes/Makefile ] || exit 0; \
5072 r=`${PWD_COMMAND}`; export r; \
5073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5074 $(HOST_EXPORTS) \
5075 for flag in $(EXTRA_HOST_FLAGS) ; do \
5076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5077 done; \
5078 echo "Doing dvi in opcodes"; \
5079 (cd $(HOST_SUBDIR)/opcodes && \
5080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5082 "RANLIB=$${RANLIB}" \
5083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5084 dvi) \
5085 || exit 1
5087 @endif opcodes
5089 .PHONY: maybe-pdf-opcodes pdf-opcodes
5090 maybe-pdf-opcodes:
5091 @if opcodes
5092 maybe-pdf-opcodes: pdf-opcodes
5094 pdf-opcodes: \
5095 configure-opcodes
5096 @[ -f ./opcodes/Makefile ] || exit 0; \
5097 r=`${PWD_COMMAND}`; export r; \
5098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5099 $(HOST_EXPORTS) \
5100 for flag in $(EXTRA_HOST_FLAGS) ; do \
5101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5102 done; \
5103 echo "Doing pdf in opcodes"; \
5104 (cd $(HOST_SUBDIR)/opcodes && \
5105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5107 "RANLIB=$${RANLIB}" \
5108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5109 pdf) \
5110 || exit 1
5112 @endif opcodes
5114 .PHONY: maybe-html-opcodes html-opcodes
5115 maybe-html-opcodes:
5116 @if opcodes
5117 maybe-html-opcodes: html-opcodes
5119 html-opcodes: \
5120 configure-opcodes
5121 @[ -f ./opcodes/Makefile ] || exit 0; \
5122 r=`${PWD_COMMAND}`; export r; \
5123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5124 $(HOST_EXPORTS) \
5125 for flag in $(EXTRA_HOST_FLAGS) ; do \
5126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5127 done; \
5128 echo "Doing html in opcodes"; \
5129 (cd $(HOST_SUBDIR)/opcodes && \
5130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5132 "RANLIB=$${RANLIB}" \
5133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5134 html) \
5135 || exit 1
5137 @endif opcodes
5139 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5140 maybe-TAGS-opcodes:
5141 @if opcodes
5142 maybe-TAGS-opcodes: TAGS-opcodes
5144 TAGS-opcodes: \
5145 configure-opcodes
5146 @[ -f ./opcodes/Makefile ] || exit 0; \
5147 r=`${PWD_COMMAND}`; export r; \
5148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5149 $(HOST_EXPORTS) \
5150 for flag in $(EXTRA_HOST_FLAGS) ; do \
5151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5152 done; \
5153 echo "Doing TAGS in opcodes"; \
5154 (cd $(HOST_SUBDIR)/opcodes && \
5155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5157 "RANLIB=$${RANLIB}" \
5158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5159 TAGS) \
5160 || exit 1
5162 @endif opcodes
5164 .PHONY: maybe-install-info-opcodes install-info-opcodes
5165 maybe-install-info-opcodes:
5166 @if opcodes
5167 maybe-install-info-opcodes: install-info-opcodes
5169 install-info-opcodes: \
5170 configure-opcodes \
5171 info-opcodes
5172 @[ -f ./opcodes/Makefile ] || exit 0; \
5173 r=`${PWD_COMMAND}`; export r; \
5174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5175 $(HOST_EXPORTS) \
5176 for flag in $(EXTRA_HOST_FLAGS) ; do \
5177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5178 done; \
5179 echo "Doing install-info in opcodes"; \
5180 (cd $(HOST_SUBDIR)/opcodes && \
5181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5183 "RANLIB=$${RANLIB}" \
5184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5185 install-info) \
5186 || exit 1
5188 @endif opcodes
5190 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5191 maybe-install-pdf-opcodes:
5192 @if opcodes
5193 maybe-install-pdf-opcodes: install-pdf-opcodes
5195 install-pdf-opcodes: \
5196 configure-opcodes \
5197 pdf-opcodes
5198 @[ -f ./opcodes/Makefile ] || exit 0; \
5199 r=`${PWD_COMMAND}`; export r; \
5200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5201 $(HOST_EXPORTS) \
5202 for flag in $(EXTRA_HOST_FLAGS) ; do \
5203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5204 done; \
5205 echo "Doing install-pdf in opcodes"; \
5206 (cd $(HOST_SUBDIR)/opcodes && \
5207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5209 "RANLIB=$${RANLIB}" \
5210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5211 install-pdf) \
5212 || exit 1
5214 @endif opcodes
5216 .PHONY: maybe-install-html-opcodes install-html-opcodes
5217 maybe-install-html-opcodes:
5218 @if opcodes
5219 maybe-install-html-opcodes: install-html-opcodes
5221 install-html-opcodes: \
5222 configure-opcodes \
5223 html-opcodes
5224 @[ -f ./opcodes/Makefile ] || exit 0; \
5225 r=`${PWD_COMMAND}`; export r; \
5226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5227 $(HOST_EXPORTS) \
5228 for flag in $(EXTRA_HOST_FLAGS) ; do \
5229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5230 done; \
5231 echo "Doing install-html in opcodes"; \
5232 (cd $(HOST_SUBDIR)/opcodes && \
5233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5235 "RANLIB=$${RANLIB}" \
5236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5237 install-html) \
5238 || exit 1
5240 @endif opcodes
5242 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5243 maybe-installcheck-opcodes:
5244 @if opcodes
5245 maybe-installcheck-opcodes: installcheck-opcodes
5247 installcheck-opcodes: \
5248 configure-opcodes
5249 @[ -f ./opcodes/Makefile ] || exit 0; \
5250 r=`${PWD_COMMAND}`; export r; \
5251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5252 $(HOST_EXPORTS) \
5253 for flag in $(EXTRA_HOST_FLAGS) ; do \
5254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5255 done; \
5256 echo "Doing installcheck in opcodes"; \
5257 (cd $(HOST_SUBDIR)/opcodes && \
5258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5260 "RANLIB=$${RANLIB}" \
5261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5262 installcheck) \
5263 || exit 1
5265 @endif opcodes
5267 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5268 maybe-mostlyclean-opcodes:
5269 @if opcodes
5270 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5272 mostlyclean-opcodes:
5273 @[ -f ./opcodes/Makefile ] || exit 0; \
5274 r=`${PWD_COMMAND}`; export r; \
5275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5276 $(HOST_EXPORTS) \
5277 for flag in $(EXTRA_HOST_FLAGS) ; do \
5278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5279 done; \
5280 echo "Doing mostlyclean in opcodes"; \
5281 (cd $(HOST_SUBDIR)/opcodes && \
5282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5284 "RANLIB=$${RANLIB}" \
5285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5286 mostlyclean) \
5287 || exit 1
5289 @endif opcodes
5291 .PHONY: maybe-clean-opcodes clean-opcodes
5292 maybe-clean-opcodes:
5293 @if opcodes
5294 maybe-clean-opcodes: clean-opcodes
5296 clean-opcodes:
5297 @[ -f ./opcodes/Makefile ] || exit 0; \
5298 r=`${PWD_COMMAND}`; export r; \
5299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5300 $(HOST_EXPORTS) \
5301 for flag in $(EXTRA_HOST_FLAGS) ; do \
5302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5303 done; \
5304 echo "Doing clean in opcodes"; \
5305 (cd $(HOST_SUBDIR)/opcodes && \
5306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5308 "RANLIB=$${RANLIB}" \
5309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5310 clean) \
5311 || exit 1
5313 @endif opcodes
5315 .PHONY: maybe-distclean-opcodes distclean-opcodes
5316 maybe-distclean-opcodes:
5317 @if opcodes
5318 maybe-distclean-opcodes: distclean-opcodes
5320 distclean-opcodes:
5321 @[ -f ./opcodes/Makefile ] || exit 0; \
5322 r=`${PWD_COMMAND}`; export r; \
5323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5324 $(HOST_EXPORTS) \
5325 for flag in $(EXTRA_HOST_FLAGS) ; do \
5326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5327 done; \
5328 echo "Doing distclean in opcodes"; \
5329 (cd $(HOST_SUBDIR)/opcodes && \
5330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5332 "RANLIB=$${RANLIB}" \
5333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5334 distclean) \
5335 || exit 1
5337 @endif opcodes
5339 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5340 maybe-maintainer-clean-opcodes:
5341 @if opcodes
5342 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5344 maintainer-clean-opcodes:
5345 @[ -f ./opcodes/Makefile ] || exit 0; \
5346 r=`${PWD_COMMAND}`; export r; \
5347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5348 $(HOST_EXPORTS) \
5349 for flag in $(EXTRA_HOST_FLAGS) ; do \
5350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5351 done; \
5352 echo "Doing maintainer-clean in opcodes"; \
5353 (cd $(HOST_SUBDIR)/opcodes && \
5354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5356 "RANLIB=$${RANLIB}" \
5357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5358 maintainer-clean) \
5359 || exit 1
5361 @endif opcodes
5365 .PHONY: configure-binutils maybe-configure-binutils
5366 maybe-configure-binutils:
5367 @if gcc-bootstrap
5368 configure-binutils: stage_current
5369 @endif gcc-bootstrap
5370 @if binutils
5371 maybe-configure-binutils: configure-binutils
5372 configure-binutils:
5373 @r=`${PWD_COMMAND}`; export r; \
5374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5375 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5377 $(HOST_EXPORTS) \
5378 echo Configuring in $(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) \
5387 $$s/$$module_srcdir/configure \
5388 --srcdir=$${topdir}/$$module_srcdir \
5389 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5390 --target=${target_alias} \
5391 || exit 1
5392 @endif binutils
5396 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5397 maybe-configure-stage1-binutils:
5398 @if binutils-bootstrap
5399 maybe-configure-stage1-binutils: configure-stage1-binutils
5400 configure-stage1-binutils:
5401 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5403 @r=`${PWD_COMMAND}`; export r; \
5404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5405 TFLAGS="$(STAGE1_TFLAGS)"; \
5406 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5407 $(HOST_EXPORTS) \
5408 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5409 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5410 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5411 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5413 cd $(HOST_SUBDIR)/binutils || exit 1; \
5414 case $(srcdir) in \
5415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5416 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5418 esac; \
5419 module_srcdir=binutils; \
5420 $(SHELL) $$s/$$module_srcdir/configure \
5421 --srcdir=$${topdir}/$$module_srcdir \
5422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5423 --target=${target_alias} \
5425 $(STAGE1_CONFIGURE_FLAGS)
5426 @endif binutils-bootstrap
5428 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5429 maybe-configure-stage2-binutils:
5430 @if binutils-bootstrap
5431 maybe-configure-stage2-binutils: configure-stage2-binutils
5432 configure-stage2-binutils:
5433 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5434 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5435 @r=`${PWD_COMMAND}`; export r; \
5436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5437 TFLAGS="$(STAGE2_TFLAGS)"; \
5438 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5439 $(HOST_EXPORTS) \
5440 $(POSTSTAGE1_HOST_EXPORTS) \
5441 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5442 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5443 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5444 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5446 cd $(HOST_SUBDIR)/binutils || exit 1; \
5447 case $(srcdir) in \
5448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5449 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5451 esac; \
5452 module_srcdir=binutils; \
5453 $(SHELL) $$s/$$module_srcdir/configure \
5454 --srcdir=$${topdir}/$$module_srcdir \
5455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5456 --target=${target_alias} \
5457 --with-build-libsubdir=$(HOST_SUBDIR) \
5458 $(STAGE2_CONFIGURE_FLAGS)
5459 @endif binutils-bootstrap
5461 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5462 maybe-configure-stage3-binutils:
5463 @if binutils-bootstrap
5464 maybe-configure-stage3-binutils: configure-stage3-binutils
5465 configure-stage3-binutils:
5466 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5467 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5468 @r=`${PWD_COMMAND}`; export r; \
5469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5470 TFLAGS="$(STAGE3_TFLAGS)"; \
5471 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5472 $(HOST_EXPORTS) \
5473 $(POSTSTAGE1_HOST_EXPORTS) \
5474 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5475 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5476 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5477 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5478 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5479 cd $(HOST_SUBDIR)/binutils || exit 1; \
5480 case $(srcdir) in \
5481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5482 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5484 esac; \
5485 module_srcdir=binutils; \
5486 $(SHELL) $$s/$$module_srcdir/configure \
5487 --srcdir=$${topdir}/$$module_srcdir \
5488 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5489 --target=${target_alias} \
5490 --with-build-libsubdir=$(HOST_SUBDIR) \
5491 $(STAGE3_CONFIGURE_FLAGS)
5492 @endif binutils-bootstrap
5494 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5495 maybe-configure-stage4-binutils:
5496 @if binutils-bootstrap
5497 maybe-configure-stage4-binutils: configure-stage4-binutils
5498 configure-stage4-binutils:
5499 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5500 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5501 @r=`${PWD_COMMAND}`; export r; \
5502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5503 TFLAGS="$(STAGE4_TFLAGS)"; \
5504 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5505 $(HOST_EXPORTS) \
5506 $(POSTSTAGE1_HOST_EXPORTS) \
5507 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5508 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5509 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5510 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5512 cd $(HOST_SUBDIR)/binutils || exit 1; \
5513 case $(srcdir) in \
5514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5515 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5517 esac; \
5518 module_srcdir=binutils; \
5519 $(SHELL) $$s/$$module_srcdir/configure \
5520 --srcdir=$${topdir}/$$module_srcdir \
5521 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5522 --target=${target_alias} \
5523 --with-build-libsubdir=$(HOST_SUBDIR) \
5524 $(STAGE4_CONFIGURE_FLAGS)
5525 @endif binutils-bootstrap
5527 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5528 maybe-configure-stageprofile-binutils:
5529 @if binutils-bootstrap
5530 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5531 configure-stageprofile-binutils:
5532 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5534 @r=`${PWD_COMMAND}`; export r; \
5535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5536 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5537 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5538 $(HOST_EXPORTS) \
5539 $(POSTSTAGE1_HOST_EXPORTS) \
5540 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5541 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5542 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5543 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5545 cd $(HOST_SUBDIR)/binutils || exit 1; \
5546 case $(srcdir) in \
5547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5548 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5550 esac; \
5551 module_srcdir=binutils; \
5552 $(SHELL) $$s/$$module_srcdir/configure \
5553 --srcdir=$${topdir}/$$module_srcdir \
5554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5555 --target=${target_alias} \
5556 --with-build-libsubdir=$(HOST_SUBDIR) \
5557 $(STAGEprofile_CONFIGURE_FLAGS)
5558 @endif binutils-bootstrap
5560 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5561 maybe-configure-stagetrain-binutils:
5562 @if binutils-bootstrap
5563 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5564 configure-stagetrain-binutils:
5565 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5567 @r=`${PWD_COMMAND}`; export r; \
5568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5569 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5570 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5571 $(HOST_EXPORTS) \
5572 $(POSTSTAGE1_HOST_EXPORTS) \
5573 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5574 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5575 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5576 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5578 cd $(HOST_SUBDIR)/binutils || exit 1; \
5579 case $(srcdir) in \
5580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5581 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5583 esac; \
5584 module_srcdir=binutils; \
5585 $(SHELL) $$s/$$module_srcdir/configure \
5586 --srcdir=$${topdir}/$$module_srcdir \
5587 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5588 --target=${target_alias} \
5589 --with-build-libsubdir=$(HOST_SUBDIR) \
5590 $(STAGEtrain_CONFIGURE_FLAGS)
5591 @endif binutils-bootstrap
5593 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5594 maybe-configure-stagefeedback-binutils:
5595 @if binutils-bootstrap
5596 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5597 configure-stagefeedback-binutils:
5598 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5599 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5600 @r=`${PWD_COMMAND}`; export r; \
5601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5602 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5603 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5604 $(HOST_EXPORTS) \
5605 $(POSTSTAGE1_HOST_EXPORTS) \
5606 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5607 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5608 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5609 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5611 cd $(HOST_SUBDIR)/binutils || exit 1; \
5612 case $(srcdir) in \
5613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5614 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5616 esac; \
5617 module_srcdir=binutils; \
5618 $(SHELL) $$s/$$module_srcdir/configure \
5619 --srcdir=$${topdir}/$$module_srcdir \
5620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5621 --target=${target_alias} \
5622 --with-build-libsubdir=$(HOST_SUBDIR) \
5623 $(STAGEfeedback_CONFIGURE_FLAGS)
5624 @endif binutils-bootstrap
5626 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5627 maybe-configure-stageautoprofile-binutils:
5628 @if binutils-bootstrap
5629 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5630 configure-stageautoprofile-binutils:
5631 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5632 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5633 @r=`${PWD_COMMAND}`; export r; \
5634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5635 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5636 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5637 $(HOST_EXPORTS) \
5638 $(POSTSTAGE1_HOST_EXPORTS) \
5639 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5640 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5641 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5642 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5644 cd $(HOST_SUBDIR)/binutils || exit 1; \
5645 case $(srcdir) in \
5646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5647 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5649 esac; \
5650 module_srcdir=binutils; \
5651 $(SHELL) $$s/$$module_srcdir/configure \
5652 --srcdir=$${topdir}/$$module_srcdir \
5653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5654 --target=${target_alias} \
5655 --with-build-libsubdir=$(HOST_SUBDIR) \
5656 $(STAGEautoprofile_CONFIGURE_FLAGS)
5657 @endif binutils-bootstrap
5659 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5660 maybe-configure-stageautofeedback-binutils:
5661 @if binutils-bootstrap
5662 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5663 configure-stageautofeedback-binutils:
5664 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5666 @r=`${PWD_COMMAND}`; export r; \
5667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5668 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5669 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5670 $(HOST_EXPORTS) \
5671 $(POSTSTAGE1_HOST_EXPORTS) \
5672 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5673 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5674 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5675 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5677 cd $(HOST_SUBDIR)/binutils || exit 1; \
5678 case $(srcdir) in \
5679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5680 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5682 esac; \
5683 module_srcdir=binutils; \
5684 $(SHELL) $$s/$$module_srcdir/configure \
5685 --srcdir=$${topdir}/$$module_srcdir \
5686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5687 --target=${target_alias} \
5688 --with-build-libsubdir=$(HOST_SUBDIR) \
5689 $(STAGEautofeedback_CONFIGURE_FLAGS)
5690 @endif binutils-bootstrap
5696 .PHONY: all-binutils maybe-all-binutils
5697 maybe-all-binutils:
5698 @if gcc-bootstrap
5699 all-binutils: stage_current
5700 @endif gcc-bootstrap
5701 @if binutils
5702 TARGET-binutils=all
5703 maybe-all-binutils: all-binutils
5704 all-binutils: configure-binutils
5705 @r=`${PWD_COMMAND}`; export r; \
5706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5707 $(HOST_EXPORTS) \
5708 (cd $(HOST_SUBDIR)/binutils && \
5709 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5710 $(TARGET-binutils))
5711 @endif binutils
5715 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5716 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5717 maybe-all-stage1-binutils:
5718 maybe-clean-stage1-binutils:
5719 @if binutils-bootstrap
5720 maybe-all-stage1-binutils: all-stage1-binutils
5721 all-stage1: all-stage1-binutils
5722 TARGET-stage1-binutils = $(TARGET-binutils)
5723 all-stage1-binutils: configure-stage1-binutils
5724 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5725 @r=`${PWD_COMMAND}`; export r; \
5726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5727 TFLAGS="$(STAGE1_TFLAGS)"; \
5728 $(HOST_EXPORTS) \
5729 cd $(HOST_SUBDIR)/binutils && \
5731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5732 CFLAGS="$(STAGE1_CFLAGS)" \
5733 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5734 LIBCFLAGS="$(LIBCFLAGS)" \
5735 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5736 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5737 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5738 $(EXTRA_HOST_FLAGS) \
5739 $(STAGE1_FLAGS_TO_PASS) \
5740 TFLAGS="$(STAGE1_TFLAGS)" \
5741 $(TARGET-stage1-binutils)
5743 maybe-clean-stage1-binutils: clean-stage1-binutils
5744 clean-stage1: clean-stage1-binutils
5745 clean-stage1-binutils:
5746 @if [ $(current_stage) = stage1 ]; then \
5747 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5748 else \
5749 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5750 $(MAKE) stage1-start; \
5751 fi; \
5752 cd $(HOST_SUBDIR)/binutils && \
5753 $(MAKE) $(EXTRA_HOST_FLAGS) \
5754 $(STAGE1_FLAGS_TO_PASS) clean
5755 @endif binutils-bootstrap
5758 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5759 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5760 maybe-all-stage2-binutils:
5761 maybe-clean-stage2-binutils:
5762 @if binutils-bootstrap
5763 maybe-all-stage2-binutils: all-stage2-binutils
5764 all-stage2: all-stage2-binutils
5765 TARGET-stage2-binutils = $(TARGET-binutils)
5766 all-stage2-binutils: configure-stage2-binutils
5767 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5768 @r=`${PWD_COMMAND}`; export r; \
5769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5770 TFLAGS="$(STAGE2_TFLAGS)"; \
5771 $(HOST_EXPORTS) \
5772 $(POSTSTAGE1_HOST_EXPORTS) \
5773 cd $(HOST_SUBDIR)/binutils && \
5775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5776 CFLAGS="$(STAGE2_CFLAGS)" \
5777 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5778 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5783 TFLAGS="$(STAGE2_TFLAGS)" \
5784 $(TARGET-stage2-binutils)
5786 maybe-clean-stage2-binutils: clean-stage2-binutils
5787 clean-stage2: clean-stage2-binutils
5788 clean-stage2-binutils:
5789 @if [ $(current_stage) = stage2 ]; then \
5790 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5791 else \
5792 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5793 $(MAKE) stage2-start; \
5794 fi; \
5795 cd $(HOST_SUBDIR)/binutils && \
5796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5797 @endif binutils-bootstrap
5800 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5801 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5802 maybe-all-stage3-binutils:
5803 maybe-clean-stage3-binutils:
5804 @if binutils-bootstrap
5805 maybe-all-stage3-binutils: all-stage3-binutils
5806 all-stage3: all-stage3-binutils
5807 TARGET-stage3-binutils = $(TARGET-binutils)
5808 all-stage3-binutils: configure-stage3-binutils
5809 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5810 @r=`${PWD_COMMAND}`; export r; \
5811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5812 TFLAGS="$(STAGE3_TFLAGS)"; \
5813 $(HOST_EXPORTS) \
5814 $(POSTSTAGE1_HOST_EXPORTS) \
5815 cd $(HOST_SUBDIR)/binutils && \
5817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5818 CFLAGS="$(STAGE3_CFLAGS)" \
5819 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5820 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5821 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5822 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5823 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5824 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5825 TFLAGS="$(STAGE3_TFLAGS)" \
5826 $(TARGET-stage3-binutils)
5828 maybe-clean-stage3-binutils: clean-stage3-binutils
5829 clean-stage3: clean-stage3-binutils
5830 clean-stage3-binutils:
5831 @if [ $(current_stage) = stage3 ]; then \
5832 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5833 else \
5834 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5835 $(MAKE) stage3-start; \
5836 fi; \
5837 cd $(HOST_SUBDIR)/binutils && \
5838 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5839 @endif binutils-bootstrap
5842 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5843 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5844 maybe-all-stage4-binutils:
5845 maybe-clean-stage4-binutils:
5846 @if binutils-bootstrap
5847 maybe-all-stage4-binutils: all-stage4-binutils
5848 all-stage4: all-stage4-binutils
5849 TARGET-stage4-binutils = $(TARGET-binutils)
5850 all-stage4-binutils: configure-stage4-binutils
5851 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5852 @r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 TFLAGS="$(STAGE4_TFLAGS)"; \
5855 $(HOST_EXPORTS) \
5856 $(POSTSTAGE1_HOST_EXPORTS) \
5857 cd $(HOST_SUBDIR)/binutils && \
5859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5860 CFLAGS="$(STAGE4_CFLAGS)" \
5861 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5862 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5863 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5864 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5865 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5866 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5867 TFLAGS="$(STAGE4_TFLAGS)" \
5868 $(TARGET-stage4-binutils)
5870 maybe-clean-stage4-binutils: clean-stage4-binutils
5871 clean-stage4: clean-stage4-binutils
5872 clean-stage4-binutils:
5873 @if [ $(current_stage) = stage4 ]; then \
5874 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5875 else \
5876 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5877 $(MAKE) stage4-start; \
5878 fi; \
5879 cd $(HOST_SUBDIR)/binutils && \
5880 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5881 @endif binutils-bootstrap
5884 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5885 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5886 maybe-all-stageprofile-binutils:
5887 maybe-clean-stageprofile-binutils:
5888 @if binutils-bootstrap
5889 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5890 all-stageprofile: all-stageprofile-binutils
5891 TARGET-stageprofile-binutils = $(TARGET-binutils)
5892 all-stageprofile-binutils: configure-stageprofile-binutils
5893 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5894 @r=`${PWD_COMMAND}`; export r; \
5895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5896 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5897 $(HOST_EXPORTS) \
5898 $(POSTSTAGE1_HOST_EXPORTS) \
5899 cd $(HOST_SUBDIR)/binutils && \
5901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5902 CFLAGS="$(STAGEprofile_CFLAGS)" \
5903 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5904 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5908 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5909 TFLAGS="$(STAGEprofile_TFLAGS)" \
5910 $(TARGET-stageprofile-binutils)
5912 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5913 clean-stageprofile: clean-stageprofile-binutils
5914 clean-stageprofile-binutils:
5915 @if [ $(current_stage) = stageprofile ]; then \
5916 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5917 else \
5918 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5919 $(MAKE) stageprofile-start; \
5920 fi; \
5921 cd $(HOST_SUBDIR)/binutils && \
5922 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5923 @endif binutils-bootstrap
5926 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
5927 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
5928 maybe-all-stagetrain-binutils:
5929 maybe-clean-stagetrain-binutils:
5930 @if binutils-bootstrap
5931 maybe-all-stagetrain-binutils: all-stagetrain-binutils
5932 all-stagetrain: all-stagetrain-binutils
5933 TARGET-stagetrain-binutils = $(TARGET-binutils)
5934 all-stagetrain-binutils: configure-stagetrain-binutils
5935 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5936 @r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5939 $(HOST_EXPORTS) \
5940 $(POSTSTAGE1_HOST_EXPORTS) \
5941 cd $(HOST_SUBDIR)/binutils && \
5943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5944 CFLAGS="$(STAGEtrain_CFLAGS)" \
5945 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5946 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
5947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5950 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5951 TFLAGS="$(STAGEtrain_TFLAGS)" \
5952 $(TARGET-stagetrain-binutils)
5954 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
5955 clean-stagetrain: clean-stagetrain-binutils
5956 clean-stagetrain-binutils:
5957 @if [ $(current_stage) = stagetrain ]; then \
5958 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5959 else \
5960 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
5961 $(MAKE) stagetrain-start; \
5962 fi; \
5963 cd $(HOST_SUBDIR)/binutils && \
5964 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5965 @endif binutils-bootstrap
5968 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5969 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5970 maybe-all-stagefeedback-binutils:
5971 maybe-clean-stagefeedback-binutils:
5972 @if binutils-bootstrap
5973 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5974 all-stagefeedback: all-stagefeedback-binutils
5975 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5976 all-stagefeedback-binutils: configure-stagefeedback-binutils
5977 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5978 @r=`${PWD_COMMAND}`; export r; \
5979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5980 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5981 $(HOST_EXPORTS) \
5982 $(POSTSTAGE1_HOST_EXPORTS) \
5983 cd $(HOST_SUBDIR)/binutils && \
5985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5986 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5987 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5988 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5993 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5994 $(TARGET-stagefeedback-binutils)
5996 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5997 clean-stagefeedback: clean-stagefeedback-binutils
5998 clean-stagefeedback-binutils:
5999 @if [ $(current_stage) = stagefeedback ]; then \
6000 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6001 else \
6002 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6003 $(MAKE) stagefeedback-start; \
6004 fi; \
6005 cd $(HOST_SUBDIR)/binutils && \
6006 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6007 @endif binutils-bootstrap
6010 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6011 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6012 maybe-all-stageautoprofile-binutils:
6013 maybe-clean-stageautoprofile-binutils:
6014 @if binutils-bootstrap
6015 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6016 all-stageautoprofile: all-stageautoprofile-binutils
6017 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6018 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6019 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6020 @r=`${PWD_COMMAND}`; export r; \
6021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6022 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6023 $(HOST_EXPORTS) \
6024 $(POSTSTAGE1_HOST_EXPORTS) \
6025 cd $(HOST_SUBDIR)/binutils && \
6026 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6028 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6029 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6030 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6034 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6035 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6036 $(TARGET-stageautoprofile-binutils)
6038 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6039 clean-stageautoprofile: clean-stageautoprofile-binutils
6040 clean-stageautoprofile-binutils:
6041 @if [ $(current_stage) = stageautoprofile ]; then \
6042 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6043 else \
6044 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6045 $(MAKE) stageautoprofile-start; \
6046 fi; \
6047 cd $(HOST_SUBDIR)/binutils && \
6048 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6049 @endif binutils-bootstrap
6052 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6053 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6054 maybe-all-stageautofeedback-binutils:
6055 maybe-clean-stageautofeedback-binutils:
6056 @if binutils-bootstrap
6057 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6058 all-stageautofeedback: all-stageautofeedback-binutils
6059 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6060 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6061 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6062 @r=`${PWD_COMMAND}`; export r; \
6063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6064 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6065 $(HOST_EXPORTS) \
6066 $(POSTSTAGE1_HOST_EXPORTS) \
6067 cd $(HOST_SUBDIR)/binutils && \
6069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6070 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6071 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6072 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6077 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6078 $(TARGET-stageautofeedback-binutils)
6080 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6081 clean-stageautofeedback: clean-stageautofeedback-binutils
6082 clean-stageautofeedback-binutils:
6083 @if [ $(current_stage) = stageautofeedback ]; then \
6084 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6085 else \
6086 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6087 $(MAKE) stageautofeedback-start; \
6088 fi; \
6089 cd $(HOST_SUBDIR)/binutils && \
6090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6091 @endif binutils-bootstrap
6097 .PHONY: check-binutils maybe-check-binutils
6098 maybe-check-binutils:
6099 @if binutils
6100 maybe-check-binutils: check-binutils
6102 check-binutils:
6103 @: $(MAKE); $(unstage)
6104 @r=`${PWD_COMMAND}`; export r; \
6105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6106 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6107 (cd $(HOST_SUBDIR)/binutils && \
6108 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6110 @endif binutils
6112 .PHONY: install-binutils maybe-install-binutils
6113 maybe-install-binutils:
6114 @if binutils
6115 maybe-install-binutils: install-binutils
6117 install-binutils: installdirs
6118 @: $(MAKE); $(unstage)
6119 @r=`${PWD_COMMAND}`; export r; \
6120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6121 $(HOST_EXPORTS) \
6122 (cd $(HOST_SUBDIR)/binutils && \
6123 $(MAKE) $(FLAGS_TO_PASS) install)
6125 @endif binutils
6127 .PHONY: install-strip-binutils maybe-install-strip-binutils
6128 maybe-install-strip-binutils:
6129 @if binutils
6130 maybe-install-strip-binutils: install-strip-binutils
6132 install-strip-binutils: installdirs
6133 @: $(MAKE); $(unstage)
6134 @r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 $(HOST_EXPORTS) \
6137 (cd $(HOST_SUBDIR)/binutils && \
6138 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6140 @endif binutils
6142 # Other targets (info, dvi, pdf, etc.)
6144 .PHONY: maybe-info-binutils info-binutils
6145 maybe-info-binutils:
6146 @if binutils
6147 maybe-info-binutils: info-binutils
6149 info-binutils: \
6150 configure-binutils
6151 @[ -f ./binutils/Makefile ] || exit 0; \
6152 r=`${PWD_COMMAND}`; export r; \
6153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6154 $(HOST_EXPORTS) \
6155 for flag in $(EXTRA_HOST_FLAGS) ; do \
6156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6157 done; \
6158 echo "Doing info in binutils"; \
6159 (cd $(HOST_SUBDIR)/binutils && \
6160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6162 "RANLIB=$${RANLIB}" \
6163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6164 info) \
6165 || exit 1
6167 @endif binutils
6169 .PHONY: maybe-dvi-binutils dvi-binutils
6170 maybe-dvi-binutils:
6171 @if binutils
6172 maybe-dvi-binutils: dvi-binutils
6174 dvi-binutils: \
6175 configure-binutils
6176 @[ -f ./binutils/Makefile ] || exit 0; \
6177 r=`${PWD_COMMAND}`; export r; \
6178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6179 $(HOST_EXPORTS) \
6180 for flag in $(EXTRA_HOST_FLAGS) ; do \
6181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6182 done; \
6183 echo "Doing dvi in binutils"; \
6184 (cd $(HOST_SUBDIR)/binutils && \
6185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6187 "RANLIB=$${RANLIB}" \
6188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6189 dvi) \
6190 || exit 1
6192 @endif binutils
6194 .PHONY: maybe-pdf-binutils pdf-binutils
6195 maybe-pdf-binutils:
6196 @if binutils
6197 maybe-pdf-binutils: pdf-binutils
6199 pdf-binutils: \
6200 configure-binutils
6201 @[ -f ./binutils/Makefile ] || exit 0; \
6202 r=`${PWD_COMMAND}`; export r; \
6203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 $(HOST_EXPORTS) \
6205 for flag in $(EXTRA_HOST_FLAGS) ; do \
6206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6207 done; \
6208 echo "Doing pdf in binutils"; \
6209 (cd $(HOST_SUBDIR)/binutils && \
6210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6212 "RANLIB=$${RANLIB}" \
6213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6214 pdf) \
6215 || exit 1
6217 @endif binutils
6219 .PHONY: maybe-html-binutils html-binutils
6220 maybe-html-binutils:
6221 @if binutils
6222 maybe-html-binutils: html-binutils
6224 html-binutils: \
6225 configure-binutils
6226 @[ -f ./binutils/Makefile ] || exit 0; \
6227 r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6229 $(HOST_EXPORTS) \
6230 for flag in $(EXTRA_HOST_FLAGS) ; do \
6231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6232 done; \
6233 echo "Doing html in binutils"; \
6234 (cd $(HOST_SUBDIR)/binutils && \
6235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6237 "RANLIB=$${RANLIB}" \
6238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6239 html) \
6240 || exit 1
6242 @endif binutils
6244 .PHONY: maybe-TAGS-binutils TAGS-binutils
6245 maybe-TAGS-binutils:
6246 @if binutils
6247 maybe-TAGS-binutils: TAGS-binutils
6249 TAGS-binutils: \
6250 configure-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 TAGS 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 TAGS) \
6265 || exit 1
6267 @endif binutils
6269 .PHONY: maybe-install-info-binutils install-info-binutils
6270 maybe-install-info-binutils:
6271 @if binutils
6272 maybe-install-info-binutils: install-info-binutils
6274 install-info-binutils: \
6275 configure-binutils \
6276 info-binutils
6277 @[ -f ./binutils/Makefile ] || exit 0; \
6278 r=`${PWD_COMMAND}`; export r; \
6279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6280 $(HOST_EXPORTS) \
6281 for flag in $(EXTRA_HOST_FLAGS) ; do \
6282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6283 done; \
6284 echo "Doing install-info in binutils"; \
6285 (cd $(HOST_SUBDIR)/binutils && \
6286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6288 "RANLIB=$${RANLIB}" \
6289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6290 install-info) \
6291 || exit 1
6293 @endif binutils
6295 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6296 maybe-install-pdf-binutils:
6297 @if binutils
6298 maybe-install-pdf-binutils: install-pdf-binutils
6300 install-pdf-binutils: \
6301 configure-binutils \
6302 pdf-binutils
6303 @[ -f ./binutils/Makefile ] || exit 0; \
6304 r=`${PWD_COMMAND}`; export r; \
6305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6306 $(HOST_EXPORTS) \
6307 for flag in $(EXTRA_HOST_FLAGS) ; do \
6308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6309 done; \
6310 echo "Doing install-pdf in binutils"; \
6311 (cd $(HOST_SUBDIR)/binutils && \
6312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6314 "RANLIB=$${RANLIB}" \
6315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6316 install-pdf) \
6317 || exit 1
6319 @endif binutils
6321 .PHONY: maybe-install-html-binutils install-html-binutils
6322 maybe-install-html-binutils:
6323 @if binutils
6324 maybe-install-html-binutils: install-html-binutils
6326 install-html-binutils: \
6327 configure-binutils \
6328 html-binutils
6329 @[ -f ./binutils/Makefile ] || exit 0; \
6330 r=`${PWD_COMMAND}`; export r; \
6331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6332 $(HOST_EXPORTS) \
6333 for flag in $(EXTRA_HOST_FLAGS) ; do \
6334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6335 done; \
6336 echo "Doing install-html in binutils"; \
6337 (cd $(HOST_SUBDIR)/binutils && \
6338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6340 "RANLIB=$${RANLIB}" \
6341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6342 install-html) \
6343 || exit 1
6345 @endif binutils
6347 .PHONY: maybe-installcheck-binutils installcheck-binutils
6348 maybe-installcheck-binutils:
6349 @if binutils
6350 maybe-installcheck-binutils: installcheck-binutils
6352 installcheck-binutils: \
6353 configure-binutils
6354 @[ -f ./binutils/Makefile ] || exit 0; \
6355 r=`${PWD_COMMAND}`; export r; \
6356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6357 $(HOST_EXPORTS) \
6358 for flag in $(EXTRA_HOST_FLAGS) ; do \
6359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6360 done; \
6361 echo "Doing installcheck in binutils"; \
6362 (cd $(HOST_SUBDIR)/binutils && \
6363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6365 "RANLIB=$${RANLIB}" \
6366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6367 installcheck) \
6368 || exit 1
6370 @endif binutils
6372 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6373 maybe-mostlyclean-binutils:
6374 @if binutils
6375 maybe-mostlyclean-binutils: mostlyclean-binutils
6377 mostlyclean-binutils:
6378 @[ -f ./binutils/Makefile ] || exit 0; \
6379 r=`${PWD_COMMAND}`; export r; \
6380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6381 $(HOST_EXPORTS) \
6382 for flag in $(EXTRA_HOST_FLAGS) ; do \
6383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6384 done; \
6385 echo "Doing mostlyclean in binutils"; \
6386 (cd $(HOST_SUBDIR)/binutils && \
6387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6389 "RANLIB=$${RANLIB}" \
6390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6391 mostlyclean) \
6392 || exit 1
6394 @endif binutils
6396 .PHONY: maybe-clean-binutils clean-binutils
6397 maybe-clean-binutils:
6398 @if binutils
6399 maybe-clean-binutils: clean-binutils
6401 clean-binutils:
6402 @[ -f ./binutils/Makefile ] || exit 0; \
6403 r=`${PWD_COMMAND}`; export r; \
6404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6405 $(HOST_EXPORTS) \
6406 for flag in $(EXTRA_HOST_FLAGS) ; do \
6407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6408 done; \
6409 echo "Doing clean in binutils"; \
6410 (cd $(HOST_SUBDIR)/binutils && \
6411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6413 "RANLIB=$${RANLIB}" \
6414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6415 clean) \
6416 || exit 1
6418 @endif binutils
6420 .PHONY: maybe-distclean-binutils distclean-binutils
6421 maybe-distclean-binutils:
6422 @if binutils
6423 maybe-distclean-binutils: distclean-binutils
6425 distclean-binutils:
6426 @[ -f ./binutils/Makefile ] || exit 0; \
6427 r=`${PWD_COMMAND}`; export r; \
6428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6429 $(HOST_EXPORTS) \
6430 for flag in $(EXTRA_HOST_FLAGS) ; do \
6431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6432 done; \
6433 echo "Doing distclean in binutils"; \
6434 (cd $(HOST_SUBDIR)/binutils && \
6435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6437 "RANLIB=$${RANLIB}" \
6438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6439 distclean) \
6440 || exit 1
6442 @endif binutils
6444 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6445 maybe-maintainer-clean-binutils:
6446 @if binutils
6447 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6449 maintainer-clean-binutils:
6450 @[ -f ./binutils/Makefile ] || exit 0; \
6451 r=`${PWD_COMMAND}`; export r; \
6452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6453 $(HOST_EXPORTS) \
6454 for flag in $(EXTRA_HOST_FLAGS) ; do \
6455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6456 done; \
6457 echo "Doing maintainer-clean in binutils"; \
6458 (cd $(HOST_SUBDIR)/binutils && \
6459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6461 "RANLIB=$${RANLIB}" \
6462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6463 maintainer-clean) \
6464 || exit 1
6466 @endif binutils
6470 .PHONY: configure-bison maybe-configure-bison
6471 maybe-configure-bison:
6472 @if gcc-bootstrap
6473 configure-bison: stage_current
6474 @endif gcc-bootstrap
6475 @if bison
6476 maybe-configure-bison: configure-bison
6477 configure-bison:
6478 @: $(MAKE); $(unstage)
6479 @r=`${PWD_COMMAND}`; export r; \
6480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6481 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6483 $(HOST_EXPORTS) \
6484 echo Configuring in $(HOST_SUBDIR)/bison; \
6485 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6486 case $(srcdir) in \
6487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6488 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6490 esac; \
6491 module_srcdir=bison; \
6492 $(SHELL) \
6493 $$s/$$module_srcdir/configure \
6494 --srcdir=$${topdir}/$$module_srcdir \
6495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6496 --target=${target_alias} \
6497 || exit 1
6498 @endif bison
6504 .PHONY: all-bison maybe-all-bison
6505 maybe-all-bison:
6506 @if gcc-bootstrap
6507 all-bison: stage_current
6508 @endif gcc-bootstrap
6509 @if bison
6510 TARGET-bison=all
6511 maybe-all-bison: all-bison
6512 all-bison: configure-bison
6513 @: $(MAKE); $(unstage)
6514 @r=`${PWD_COMMAND}`; export r; \
6515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6516 $(HOST_EXPORTS) \
6517 (cd $(HOST_SUBDIR)/bison && \
6518 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6519 $(TARGET-bison))
6520 @endif bison
6525 .PHONY: check-bison maybe-check-bison
6526 maybe-check-bison:
6527 @if bison
6528 maybe-check-bison: check-bison
6530 # This module is only tested in a native toolchain.
6531 check-bison:
6532 @: $(MAKE); $(unstage)
6533 @if [ '$(host)' = '$(target)' ]; then \
6534 r=`${PWD_COMMAND}`; export r; \
6535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6536 $(HOST_EXPORTS) \
6537 (cd $(HOST_SUBDIR)/bison && \
6538 $(MAKE) $(FLAGS_TO_PASS) check)
6541 @endif bison
6543 .PHONY: install-bison maybe-install-bison
6544 maybe-install-bison:
6545 @if bison
6546 maybe-install-bison: install-bison
6548 install-bison: installdirs
6549 @: $(MAKE); $(unstage)
6550 @r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6552 $(HOST_EXPORTS) \
6553 (cd $(HOST_SUBDIR)/bison && \
6554 $(MAKE) $(FLAGS_TO_PASS) install)
6556 @endif bison
6558 .PHONY: install-strip-bison maybe-install-strip-bison
6559 maybe-install-strip-bison:
6560 @if bison
6561 maybe-install-strip-bison: install-strip-bison
6563 install-strip-bison: installdirs
6564 @: $(MAKE); $(unstage)
6565 @r=`${PWD_COMMAND}`; export r; \
6566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6567 $(HOST_EXPORTS) \
6568 (cd $(HOST_SUBDIR)/bison && \
6569 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6571 @endif bison
6573 # Other targets (info, dvi, pdf, etc.)
6575 .PHONY: maybe-info-bison info-bison
6576 maybe-info-bison:
6577 @if bison
6578 maybe-info-bison: info-bison
6580 info-bison: \
6581 configure-bison
6582 @: $(MAKE); $(unstage)
6583 @[ -f ./bison/Makefile ] || exit 0; \
6584 r=`${PWD_COMMAND}`; export r; \
6585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6586 $(HOST_EXPORTS) \
6587 for flag in $(EXTRA_HOST_FLAGS) ; do \
6588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6589 done; \
6590 echo "Doing info in bison"; \
6591 (cd $(HOST_SUBDIR)/bison && \
6592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6594 "RANLIB=$${RANLIB}" \
6595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6596 info) \
6597 || exit 1
6599 @endif bison
6601 .PHONY: maybe-dvi-bison dvi-bison
6602 maybe-dvi-bison:
6603 @if bison
6604 maybe-dvi-bison: dvi-bison
6606 dvi-bison: \
6607 configure-bison
6608 @: $(MAKE); $(unstage)
6609 @[ -f ./bison/Makefile ] || exit 0; \
6610 r=`${PWD_COMMAND}`; export r; \
6611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6612 $(HOST_EXPORTS) \
6613 for flag in $(EXTRA_HOST_FLAGS) ; do \
6614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6615 done; \
6616 echo "Doing dvi in bison"; \
6617 (cd $(HOST_SUBDIR)/bison && \
6618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6620 "RANLIB=$${RANLIB}" \
6621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6622 dvi) \
6623 || exit 1
6625 @endif bison
6627 .PHONY: maybe-pdf-bison pdf-bison
6628 maybe-pdf-bison:
6629 @if bison
6630 maybe-pdf-bison: pdf-bison
6632 pdf-bison: \
6633 configure-bison
6634 @: $(MAKE); $(unstage)
6635 @[ -f ./bison/Makefile ] || exit 0; \
6636 r=`${PWD_COMMAND}`; export r; \
6637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6638 $(HOST_EXPORTS) \
6639 for flag in $(EXTRA_HOST_FLAGS) ; do \
6640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6641 done; \
6642 echo "Doing pdf in bison"; \
6643 (cd $(HOST_SUBDIR)/bison && \
6644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6646 "RANLIB=$${RANLIB}" \
6647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6648 pdf) \
6649 || exit 1
6651 @endif bison
6653 .PHONY: maybe-html-bison html-bison
6654 maybe-html-bison:
6655 @if bison
6656 maybe-html-bison: html-bison
6658 html-bison: \
6659 configure-bison
6660 @: $(MAKE); $(unstage)
6661 @[ -f ./bison/Makefile ] || exit 0; \
6662 r=`${PWD_COMMAND}`; export r; \
6663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6664 $(HOST_EXPORTS) \
6665 for flag in $(EXTRA_HOST_FLAGS) ; do \
6666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6667 done; \
6668 echo "Doing html in bison"; \
6669 (cd $(HOST_SUBDIR)/bison && \
6670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6672 "RANLIB=$${RANLIB}" \
6673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6674 html) \
6675 || exit 1
6677 @endif bison
6679 .PHONY: maybe-TAGS-bison TAGS-bison
6680 maybe-TAGS-bison:
6681 @if bison
6682 maybe-TAGS-bison: TAGS-bison
6684 TAGS-bison: \
6685 configure-bison
6686 @: $(MAKE); $(unstage)
6687 @[ -f ./bison/Makefile ] || exit 0; \
6688 r=`${PWD_COMMAND}`; export r; \
6689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6690 $(HOST_EXPORTS) \
6691 for flag in $(EXTRA_HOST_FLAGS) ; do \
6692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6693 done; \
6694 echo "Doing TAGS in bison"; \
6695 (cd $(HOST_SUBDIR)/bison && \
6696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6698 "RANLIB=$${RANLIB}" \
6699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6700 TAGS) \
6701 || exit 1
6703 @endif bison
6705 .PHONY: maybe-install-info-bison install-info-bison
6706 maybe-install-info-bison:
6707 @if bison
6708 maybe-install-info-bison: install-info-bison
6710 install-info-bison: \
6711 configure-bison \
6712 info-bison
6713 @: $(MAKE); $(unstage)
6714 @[ -f ./bison/Makefile ] || exit 0; \
6715 r=`${PWD_COMMAND}`; export r; \
6716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6717 $(HOST_EXPORTS) \
6718 for flag in $(EXTRA_HOST_FLAGS) ; do \
6719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6720 done; \
6721 echo "Doing install-info in bison"; \
6722 (cd $(HOST_SUBDIR)/bison && \
6723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6725 "RANLIB=$${RANLIB}" \
6726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6727 install-info) \
6728 || exit 1
6730 @endif bison
6732 .PHONY: maybe-install-pdf-bison install-pdf-bison
6733 maybe-install-pdf-bison:
6734 @if bison
6735 maybe-install-pdf-bison: install-pdf-bison
6737 install-pdf-bison: \
6738 configure-bison \
6739 pdf-bison
6740 @: $(MAKE); $(unstage)
6741 @[ -f ./bison/Makefile ] || exit 0; \
6742 r=`${PWD_COMMAND}`; export r; \
6743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6744 $(HOST_EXPORTS) \
6745 for flag in $(EXTRA_HOST_FLAGS) ; do \
6746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6747 done; \
6748 echo "Doing install-pdf in bison"; \
6749 (cd $(HOST_SUBDIR)/bison && \
6750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6752 "RANLIB=$${RANLIB}" \
6753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6754 install-pdf) \
6755 || exit 1
6757 @endif bison
6759 .PHONY: maybe-install-html-bison install-html-bison
6760 maybe-install-html-bison:
6761 @if bison
6762 maybe-install-html-bison: install-html-bison
6764 install-html-bison: \
6765 configure-bison \
6766 html-bison
6767 @: $(MAKE); $(unstage)
6768 @[ -f ./bison/Makefile ] || exit 0; \
6769 r=`${PWD_COMMAND}`; export r; \
6770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6771 $(HOST_EXPORTS) \
6772 for flag in $(EXTRA_HOST_FLAGS) ; do \
6773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6774 done; \
6775 echo "Doing install-html in bison"; \
6776 (cd $(HOST_SUBDIR)/bison && \
6777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6779 "RANLIB=$${RANLIB}" \
6780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6781 install-html) \
6782 || exit 1
6784 @endif bison
6786 .PHONY: maybe-installcheck-bison installcheck-bison
6787 maybe-installcheck-bison:
6788 @if bison
6789 maybe-installcheck-bison: installcheck-bison
6791 installcheck-bison: \
6792 configure-bison
6793 @: $(MAKE); $(unstage)
6794 @[ -f ./bison/Makefile ] || exit 0; \
6795 r=`${PWD_COMMAND}`; export r; \
6796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6797 $(HOST_EXPORTS) \
6798 for flag in $(EXTRA_HOST_FLAGS) ; do \
6799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6800 done; \
6801 echo "Doing installcheck in bison"; \
6802 (cd $(HOST_SUBDIR)/bison && \
6803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6805 "RANLIB=$${RANLIB}" \
6806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6807 installcheck) \
6808 || exit 1
6810 @endif bison
6812 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6813 maybe-mostlyclean-bison:
6814 @if bison
6815 maybe-mostlyclean-bison: mostlyclean-bison
6817 mostlyclean-bison:
6818 @: $(MAKE); $(unstage)
6819 @[ -f ./bison/Makefile ] || exit 0; \
6820 r=`${PWD_COMMAND}`; export r; \
6821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6822 $(HOST_EXPORTS) \
6823 for flag in $(EXTRA_HOST_FLAGS) ; do \
6824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6825 done; \
6826 echo "Doing mostlyclean in bison"; \
6827 (cd $(HOST_SUBDIR)/bison && \
6828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6830 "RANLIB=$${RANLIB}" \
6831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6832 mostlyclean) \
6833 || exit 1
6835 @endif bison
6837 .PHONY: maybe-clean-bison clean-bison
6838 maybe-clean-bison:
6839 @if bison
6840 maybe-clean-bison: clean-bison
6842 clean-bison:
6843 @: $(MAKE); $(unstage)
6844 @[ -f ./bison/Makefile ] || exit 0; \
6845 r=`${PWD_COMMAND}`; export r; \
6846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847 $(HOST_EXPORTS) \
6848 for flag in $(EXTRA_HOST_FLAGS) ; do \
6849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6850 done; \
6851 echo "Doing clean in bison"; \
6852 (cd $(HOST_SUBDIR)/bison && \
6853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855 "RANLIB=$${RANLIB}" \
6856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6857 clean) \
6858 || exit 1
6860 @endif bison
6862 .PHONY: maybe-distclean-bison distclean-bison
6863 maybe-distclean-bison:
6864 @if bison
6865 maybe-distclean-bison: distclean-bison
6867 distclean-bison:
6868 @: $(MAKE); $(unstage)
6869 @[ -f ./bison/Makefile ] || exit 0; \
6870 r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 $(HOST_EXPORTS) \
6873 for flag in $(EXTRA_HOST_FLAGS) ; do \
6874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6875 done; \
6876 echo "Doing distclean in bison"; \
6877 (cd $(HOST_SUBDIR)/bison && \
6878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6880 "RANLIB=$${RANLIB}" \
6881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6882 distclean) \
6883 || exit 1
6885 @endif bison
6887 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6888 maybe-maintainer-clean-bison:
6889 @if bison
6890 maybe-maintainer-clean-bison: maintainer-clean-bison
6892 maintainer-clean-bison:
6893 @: $(MAKE); $(unstage)
6894 @[ -f ./bison/Makefile ] || exit 0; \
6895 r=`${PWD_COMMAND}`; export r; \
6896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6897 $(HOST_EXPORTS) \
6898 for flag in $(EXTRA_HOST_FLAGS) ; do \
6899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6900 done; \
6901 echo "Doing maintainer-clean in bison"; \
6902 (cd $(HOST_SUBDIR)/bison && \
6903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6905 "RANLIB=$${RANLIB}" \
6906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6907 maintainer-clean) \
6908 || exit 1
6910 @endif bison
6914 .PHONY: configure-cgen maybe-configure-cgen
6915 maybe-configure-cgen:
6916 @if gcc-bootstrap
6917 configure-cgen: stage_current
6918 @endif gcc-bootstrap
6919 @if cgen
6920 maybe-configure-cgen: configure-cgen
6921 configure-cgen:
6922 @: $(MAKE); $(unstage)
6923 @r=`${PWD_COMMAND}`; export r; \
6924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6927 $(HOST_EXPORTS) \
6928 echo Configuring in $(HOST_SUBDIR)/cgen; \
6929 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6930 case $(srcdir) in \
6931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6932 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6934 esac; \
6935 module_srcdir=cgen; \
6936 $(SHELL) \
6937 $$s/$$module_srcdir/configure \
6938 --srcdir=$${topdir}/$$module_srcdir \
6939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6940 --target=${target_alias} \
6941 || exit 1
6942 @endif cgen
6948 .PHONY: all-cgen maybe-all-cgen
6949 maybe-all-cgen:
6950 @if gcc-bootstrap
6951 all-cgen: stage_current
6952 @endif gcc-bootstrap
6953 @if cgen
6954 TARGET-cgen=all
6955 maybe-all-cgen: all-cgen
6956 all-cgen: configure-cgen
6957 @: $(MAKE); $(unstage)
6958 @r=`${PWD_COMMAND}`; export r; \
6959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6960 $(HOST_EXPORTS) \
6961 (cd $(HOST_SUBDIR)/cgen && \
6962 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6963 $(TARGET-cgen))
6964 @endif cgen
6969 .PHONY: check-cgen maybe-check-cgen
6970 maybe-check-cgen:
6971 @if cgen
6972 maybe-check-cgen: check-cgen
6974 check-cgen:
6975 @: $(MAKE); $(unstage)
6976 @r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 $(HOST_EXPORTS) \
6979 (cd $(HOST_SUBDIR)/cgen && \
6980 $(MAKE) $(FLAGS_TO_PASS) check)
6982 @endif cgen
6984 .PHONY: install-cgen maybe-install-cgen
6985 maybe-install-cgen:
6986 @if cgen
6987 maybe-install-cgen: install-cgen
6989 install-cgen: installdirs
6990 @: $(MAKE); $(unstage)
6991 @r=`${PWD_COMMAND}`; export r; \
6992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6993 $(HOST_EXPORTS) \
6994 (cd $(HOST_SUBDIR)/cgen && \
6995 $(MAKE) $(FLAGS_TO_PASS) install)
6997 @endif cgen
6999 .PHONY: install-strip-cgen maybe-install-strip-cgen
7000 maybe-install-strip-cgen:
7001 @if cgen
7002 maybe-install-strip-cgen: install-strip-cgen
7004 install-strip-cgen: installdirs
7005 @: $(MAKE); $(unstage)
7006 @r=`${PWD_COMMAND}`; export r; \
7007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7008 $(HOST_EXPORTS) \
7009 (cd $(HOST_SUBDIR)/cgen && \
7010 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7012 @endif cgen
7014 # Other targets (info, dvi, pdf, etc.)
7016 .PHONY: maybe-info-cgen info-cgen
7017 maybe-info-cgen:
7018 @if cgen
7019 maybe-info-cgen: info-cgen
7021 info-cgen: \
7022 configure-cgen
7023 @: $(MAKE); $(unstage)
7024 @[ -f ./cgen/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7027 $(HOST_EXPORTS) \
7028 for flag in $(EXTRA_HOST_FLAGS) ; do \
7029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7030 done; \
7031 echo "Doing info in cgen"; \
7032 (cd $(HOST_SUBDIR)/cgen && \
7033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035 "RANLIB=$${RANLIB}" \
7036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7037 info) \
7038 || exit 1
7040 @endif cgen
7042 .PHONY: maybe-dvi-cgen dvi-cgen
7043 maybe-dvi-cgen:
7044 @if cgen
7045 maybe-dvi-cgen: dvi-cgen
7047 dvi-cgen: \
7048 configure-cgen
7049 @: $(MAKE); $(unstage)
7050 @[ -f ./cgen/Makefile ] || exit 0; \
7051 r=`${PWD_COMMAND}`; export r; \
7052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7053 $(HOST_EXPORTS) \
7054 for flag in $(EXTRA_HOST_FLAGS) ; do \
7055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7056 done; \
7057 echo "Doing dvi in cgen"; \
7058 (cd $(HOST_SUBDIR)/cgen && \
7059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7061 "RANLIB=$${RANLIB}" \
7062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7063 dvi) \
7064 || exit 1
7066 @endif cgen
7068 .PHONY: maybe-pdf-cgen pdf-cgen
7069 maybe-pdf-cgen:
7070 @if cgen
7071 maybe-pdf-cgen: pdf-cgen
7073 pdf-cgen: \
7074 configure-cgen
7075 @: $(MAKE); $(unstage)
7076 @[ -f ./cgen/Makefile ] || exit 0; \
7077 r=`${PWD_COMMAND}`; export r; \
7078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7079 $(HOST_EXPORTS) \
7080 for flag in $(EXTRA_HOST_FLAGS) ; do \
7081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7082 done; \
7083 echo "Doing pdf in cgen"; \
7084 (cd $(HOST_SUBDIR)/cgen && \
7085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7087 "RANLIB=$${RANLIB}" \
7088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7089 pdf) \
7090 || exit 1
7092 @endif cgen
7094 .PHONY: maybe-html-cgen html-cgen
7095 maybe-html-cgen:
7096 @if cgen
7097 maybe-html-cgen: html-cgen
7099 html-cgen: \
7100 configure-cgen
7101 @: $(MAKE); $(unstage)
7102 @[ -f ./cgen/Makefile ] || exit 0; \
7103 r=`${PWD_COMMAND}`; export r; \
7104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7105 $(HOST_EXPORTS) \
7106 for flag in $(EXTRA_HOST_FLAGS) ; do \
7107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7108 done; \
7109 echo "Doing html in cgen"; \
7110 (cd $(HOST_SUBDIR)/cgen && \
7111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7113 "RANLIB=$${RANLIB}" \
7114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7115 html) \
7116 || exit 1
7118 @endif cgen
7120 .PHONY: maybe-TAGS-cgen TAGS-cgen
7121 maybe-TAGS-cgen:
7122 @if cgen
7123 maybe-TAGS-cgen: TAGS-cgen
7125 TAGS-cgen: \
7126 configure-cgen
7127 @: $(MAKE); $(unstage)
7128 @[ -f ./cgen/Makefile ] || exit 0; \
7129 r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131 $(HOST_EXPORTS) \
7132 for flag in $(EXTRA_HOST_FLAGS) ; do \
7133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7134 done; \
7135 echo "Doing TAGS in cgen"; \
7136 (cd $(HOST_SUBDIR)/cgen && \
7137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139 "RANLIB=$${RANLIB}" \
7140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7141 TAGS) \
7142 || exit 1
7144 @endif cgen
7146 .PHONY: maybe-install-info-cgen install-info-cgen
7147 maybe-install-info-cgen:
7148 @if cgen
7149 maybe-install-info-cgen: install-info-cgen
7151 install-info-cgen: \
7152 configure-cgen \
7153 info-cgen
7154 @: $(MAKE); $(unstage)
7155 @[ -f ./cgen/Makefile ] || exit 0; \
7156 r=`${PWD_COMMAND}`; export r; \
7157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7158 $(HOST_EXPORTS) \
7159 for flag in $(EXTRA_HOST_FLAGS) ; do \
7160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7161 done; \
7162 echo "Doing install-info in cgen"; \
7163 (cd $(HOST_SUBDIR)/cgen && \
7164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7166 "RANLIB=$${RANLIB}" \
7167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7168 install-info) \
7169 || exit 1
7171 @endif cgen
7173 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7174 maybe-install-pdf-cgen:
7175 @if cgen
7176 maybe-install-pdf-cgen: install-pdf-cgen
7178 install-pdf-cgen: \
7179 configure-cgen \
7180 pdf-cgen
7181 @: $(MAKE); $(unstage)
7182 @[ -f ./cgen/Makefile ] || exit 0; \
7183 r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7185 $(HOST_EXPORTS) \
7186 for flag in $(EXTRA_HOST_FLAGS) ; do \
7187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7188 done; \
7189 echo "Doing install-pdf in cgen"; \
7190 (cd $(HOST_SUBDIR)/cgen && \
7191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7193 "RANLIB=$${RANLIB}" \
7194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7195 install-pdf) \
7196 || exit 1
7198 @endif cgen
7200 .PHONY: maybe-install-html-cgen install-html-cgen
7201 maybe-install-html-cgen:
7202 @if cgen
7203 maybe-install-html-cgen: install-html-cgen
7205 install-html-cgen: \
7206 configure-cgen \
7207 html-cgen
7208 @: $(MAKE); $(unstage)
7209 @[ -f ./cgen/Makefile ] || exit 0; \
7210 r=`${PWD_COMMAND}`; export r; \
7211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7212 $(HOST_EXPORTS) \
7213 for flag in $(EXTRA_HOST_FLAGS) ; do \
7214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7215 done; \
7216 echo "Doing install-html in cgen"; \
7217 (cd $(HOST_SUBDIR)/cgen && \
7218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7220 "RANLIB=$${RANLIB}" \
7221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7222 install-html) \
7223 || exit 1
7225 @endif cgen
7227 .PHONY: maybe-installcheck-cgen installcheck-cgen
7228 maybe-installcheck-cgen:
7229 @if cgen
7230 maybe-installcheck-cgen: installcheck-cgen
7232 installcheck-cgen: \
7233 configure-cgen
7234 @: $(MAKE); $(unstage)
7235 @[ -f ./cgen/Makefile ] || exit 0; \
7236 r=`${PWD_COMMAND}`; export r; \
7237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7238 $(HOST_EXPORTS) \
7239 for flag in $(EXTRA_HOST_FLAGS) ; do \
7240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7241 done; \
7242 echo "Doing installcheck in cgen"; \
7243 (cd $(HOST_SUBDIR)/cgen && \
7244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7246 "RANLIB=$${RANLIB}" \
7247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7248 installcheck) \
7249 || exit 1
7251 @endif cgen
7253 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7254 maybe-mostlyclean-cgen:
7255 @if cgen
7256 maybe-mostlyclean-cgen: mostlyclean-cgen
7258 mostlyclean-cgen:
7259 @: $(MAKE); $(unstage)
7260 @[ -f ./cgen/Makefile ] || exit 0; \
7261 r=`${PWD_COMMAND}`; export r; \
7262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7263 $(HOST_EXPORTS) \
7264 for flag in $(EXTRA_HOST_FLAGS) ; do \
7265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7266 done; \
7267 echo "Doing mostlyclean in cgen"; \
7268 (cd $(HOST_SUBDIR)/cgen && \
7269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7271 "RANLIB=$${RANLIB}" \
7272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7273 mostlyclean) \
7274 || exit 1
7276 @endif cgen
7278 .PHONY: maybe-clean-cgen clean-cgen
7279 maybe-clean-cgen:
7280 @if cgen
7281 maybe-clean-cgen: clean-cgen
7283 clean-cgen:
7284 @: $(MAKE); $(unstage)
7285 @[ -f ./cgen/Makefile ] || exit 0; \
7286 r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 $(HOST_EXPORTS) \
7289 for flag in $(EXTRA_HOST_FLAGS) ; do \
7290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7291 done; \
7292 echo "Doing clean in cgen"; \
7293 (cd $(HOST_SUBDIR)/cgen && \
7294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7296 "RANLIB=$${RANLIB}" \
7297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7298 clean) \
7299 || exit 1
7301 @endif cgen
7303 .PHONY: maybe-distclean-cgen distclean-cgen
7304 maybe-distclean-cgen:
7305 @if cgen
7306 maybe-distclean-cgen: distclean-cgen
7308 distclean-cgen:
7309 @: $(MAKE); $(unstage)
7310 @[ -f ./cgen/Makefile ] || exit 0; \
7311 r=`${PWD_COMMAND}`; export r; \
7312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313 $(HOST_EXPORTS) \
7314 for flag in $(EXTRA_HOST_FLAGS) ; do \
7315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7316 done; \
7317 echo "Doing distclean in cgen"; \
7318 (cd $(HOST_SUBDIR)/cgen && \
7319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7321 "RANLIB=$${RANLIB}" \
7322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7323 distclean) \
7324 || exit 1
7326 @endif cgen
7328 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7329 maybe-maintainer-clean-cgen:
7330 @if cgen
7331 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7333 maintainer-clean-cgen:
7334 @: $(MAKE); $(unstage)
7335 @[ -f ./cgen/Makefile ] || exit 0; \
7336 r=`${PWD_COMMAND}`; export r; \
7337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7338 $(HOST_EXPORTS) \
7339 for flag in $(EXTRA_HOST_FLAGS) ; do \
7340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7341 done; \
7342 echo "Doing maintainer-clean in cgen"; \
7343 (cd $(HOST_SUBDIR)/cgen && \
7344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7346 "RANLIB=$${RANLIB}" \
7347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7348 maintainer-clean) \
7349 || exit 1
7351 @endif cgen
7355 .PHONY: configure-dejagnu maybe-configure-dejagnu
7356 maybe-configure-dejagnu:
7357 @if gcc-bootstrap
7358 configure-dejagnu: stage_current
7359 @endif gcc-bootstrap
7360 @if dejagnu
7361 maybe-configure-dejagnu: configure-dejagnu
7362 configure-dejagnu:
7363 @: $(MAKE); $(unstage)
7364 @r=`${PWD_COMMAND}`; export r; \
7365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7368 $(HOST_EXPORTS) \
7369 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7370 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7371 case $(srcdir) in \
7372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7373 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7375 esac; \
7376 module_srcdir=dejagnu; \
7377 $(SHELL) \
7378 $$s/$$module_srcdir/configure \
7379 --srcdir=$${topdir}/$$module_srcdir \
7380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7381 --target=${target_alias} \
7382 || exit 1
7383 @endif dejagnu
7389 .PHONY: all-dejagnu maybe-all-dejagnu
7390 maybe-all-dejagnu:
7391 @if gcc-bootstrap
7392 all-dejagnu: stage_current
7393 @endif gcc-bootstrap
7394 @if dejagnu
7395 TARGET-dejagnu=all
7396 maybe-all-dejagnu: all-dejagnu
7397 all-dejagnu: configure-dejagnu
7398 @: $(MAKE); $(unstage)
7399 @r=`${PWD_COMMAND}`; export r; \
7400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7401 $(HOST_EXPORTS) \
7402 (cd $(HOST_SUBDIR)/dejagnu && \
7403 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7404 $(TARGET-dejagnu))
7405 @endif dejagnu
7410 .PHONY: check-dejagnu maybe-check-dejagnu
7411 maybe-check-dejagnu:
7412 @if dejagnu
7413 maybe-check-dejagnu: check-dejagnu
7415 check-dejagnu:
7416 @: $(MAKE); $(unstage)
7417 @r=`${PWD_COMMAND}`; export r; \
7418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 $(HOST_EXPORTS) \
7420 (cd $(HOST_SUBDIR)/dejagnu && \
7421 $(MAKE) $(FLAGS_TO_PASS) check)
7423 @endif dejagnu
7425 .PHONY: install-dejagnu maybe-install-dejagnu
7426 maybe-install-dejagnu:
7427 @if dejagnu
7428 maybe-install-dejagnu: install-dejagnu
7430 install-dejagnu: installdirs
7431 @: $(MAKE); $(unstage)
7432 @r=`${PWD_COMMAND}`; export r; \
7433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7434 $(HOST_EXPORTS) \
7435 (cd $(HOST_SUBDIR)/dejagnu && \
7436 $(MAKE) $(FLAGS_TO_PASS) install)
7438 @endif dejagnu
7440 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7441 maybe-install-strip-dejagnu:
7442 @if dejagnu
7443 maybe-install-strip-dejagnu: install-strip-dejagnu
7445 install-strip-dejagnu: installdirs
7446 @: $(MAKE); $(unstage)
7447 @r=`${PWD_COMMAND}`; export r; \
7448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7449 $(HOST_EXPORTS) \
7450 (cd $(HOST_SUBDIR)/dejagnu && \
7451 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7453 @endif dejagnu
7455 # Other targets (info, dvi, pdf, etc.)
7457 .PHONY: maybe-info-dejagnu info-dejagnu
7458 maybe-info-dejagnu:
7459 @if dejagnu
7460 maybe-info-dejagnu: info-dejagnu
7462 info-dejagnu: \
7463 configure-dejagnu
7464 @: $(MAKE); $(unstage)
7465 @[ -f ./dejagnu/Makefile ] || exit 0; \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7468 $(HOST_EXPORTS) \
7469 for flag in $(EXTRA_HOST_FLAGS) ; do \
7470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7471 done; \
7472 echo "Doing info in dejagnu"; \
7473 (cd $(HOST_SUBDIR)/dejagnu && \
7474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7476 "RANLIB=$${RANLIB}" \
7477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7478 info) \
7479 || exit 1
7481 @endif dejagnu
7483 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7484 maybe-dvi-dejagnu:
7485 @if dejagnu
7486 maybe-dvi-dejagnu: dvi-dejagnu
7488 dvi-dejagnu: \
7489 configure-dejagnu
7490 @: $(MAKE); $(unstage)
7491 @[ -f ./dejagnu/Makefile ] || exit 0; \
7492 r=`${PWD_COMMAND}`; export r; \
7493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7494 $(HOST_EXPORTS) \
7495 for flag in $(EXTRA_HOST_FLAGS) ; do \
7496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7497 done; \
7498 echo "Doing dvi in dejagnu"; \
7499 (cd $(HOST_SUBDIR)/dejagnu && \
7500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7502 "RANLIB=$${RANLIB}" \
7503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7504 dvi) \
7505 || exit 1
7507 @endif dejagnu
7509 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7510 maybe-pdf-dejagnu:
7511 @if dejagnu
7512 maybe-pdf-dejagnu: pdf-dejagnu
7514 pdf-dejagnu: \
7515 configure-dejagnu
7516 @: $(MAKE); $(unstage)
7517 @[ -f ./dejagnu/Makefile ] || exit 0; \
7518 r=`${PWD_COMMAND}`; export r; \
7519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 $(HOST_EXPORTS) \
7521 for flag in $(EXTRA_HOST_FLAGS) ; do \
7522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7523 done; \
7524 echo "Doing pdf in dejagnu"; \
7525 (cd $(HOST_SUBDIR)/dejagnu && \
7526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7528 "RANLIB=$${RANLIB}" \
7529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7530 pdf) \
7531 || exit 1
7533 @endif dejagnu
7535 .PHONY: maybe-html-dejagnu html-dejagnu
7536 maybe-html-dejagnu:
7537 @if dejagnu
7538 maybe-html-dejagnu: html-dejagnu
7540 html-dejagnu: \
7541 configure-dejagnu
7542 @: $(MAKE); $(unstage)
7543 @[ -f ./dejagnu/Makefile ] || exit 0; \
7544 r=`${PWD_COMMAND}`; export r; \
7545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7546 $(HOST_EXPORTS) \
7547 for flag in $(EXTRA_HOST_FLAGS) ; do \
7548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7549 done; \
7550 echo "Doing html in dejagnu"; \
7551 (cd $(HOST_SUBDIR)/dejagnu && \
7552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7554 "RANLIB=$${RANLIB}" \
7555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7556 html) \
7557 || exit 1
7559 @endif dejagnu
7561 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7562 maybe-TAGS-dejagnu:
7563 @if dejagnu
7564 maybe-TAGS-dejagnu: TAGS-dejagnu
7566 TAGS-dejagnu: \
7567 configure-dejagnu
7568 @: $(MAKE); $(unstage)
7569 @[ -f ./dejagnu/Makefile ] || exit 0; \
7570 r=`${PWD_COMMAND}`; export r; \
7571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7572 $(HOST_EXPORTS) \
7573 for flag in $(EXTRA_HOST_FLAGS) ; do \
7574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7575 done; \
7576 echo "Doing TAGS in dejagnu"; \
7577 (cd $(HOST_SUBDIR)/dejagnu && \
7578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7580 "RANLIB=$${RANLIB}" \
7581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7582 TAGS) \
7583 || exit 1
7585 @endif dejagnu
7587 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7588 maybe-install-info-dejagnu:
7589 @if dejagnu
7590 maybe-install-info-dejagnu: install-info-dejagnu
7592 install-info-dejagnu: \
7593 configure-dejagnu \
7594 info-dejagnu
7595 @: $(MAKE); $(unstage)
7596 @[ -f ./dejagnu/Makefile ] || exit 0; \
7597 r=`${PWD_COMMAND}`; export r; \
7598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7599 $(HOST_EXPORTS) \
7600 for flag in $(EXTRA_HOST_FLAGS) ; do \
7601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7602 done; \
7603 echo "Doing install-info in dejagnu"; \
7604 (cd $(HOST_SUBDIR)/dejagnu && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7607 "RANLIB=$${RANLIB}" \
7608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7609 install-info) \
7610 || exit 1
7612 @endif dejagnu
7614 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7615 maybe-install-pdf-dejagnu:
7616 @if dejagnu
7617 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7619 install-pdf-dejagnu: \
7620 configure-dejagnu \
7621 pdf-dejagnu
7622 @: $(MAKE); $(unstage)
7623 @[ -f ./dejagnu/Makefile ] || exit 0; \
7624 r=`${PWD_COMMAND}`; export r; \
7625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7626 $(HOST_EXPORTS) \
7627 for flag in $(EXTRA_HOST_FLAGS) ; do \
7628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7629 done; \
7630 echo "Doing install-pdf in dejagnu"; \
7631 (cd $(HOST_SUBDIR)/dejagnu && \
7632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7634 "RANLIB=$${RANLIB}" \
7635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7636 install-pdf) \
7637 || exit 1
7639 @endif dejagnu
7641 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7642 maybe-install-html-dejagnu:
7643 @if dejagnu
7644 maybe-install-html-dejagnu: install-html-dejagnu
7646 install-html-dejagnu: \
7647 configure-dejagnu \
7648 html-dejagnu
7649 @: $(MAKE); $(unstage)
7650 @[ -f ./dejagnu/Makefile ] || exit 0; \
7651 r=`${PWD_COMMAND}`; export r; \
7652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 $(HOST_EXPORTS) \
7654 for flag in $(EXTRA_HOST_FLAGS) ; do \
7655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7656 done; \
7657 echo "Doing install-html in dejagnu"; \
7658 (cd $(HOST_SUBDIR)/dejagnu && \
7659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7661 "RANLIB=$${RANLIB}" \
7662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7663 install-html) \
7664 || exit 1
7666 @endif dejagnu
7668 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7669 maybe-installcheck-dejagnu:
7670 @if dejagnu
7671 maybe-installcheck-dejagnu: installcheck-dejagnu
7673 installcheck-dejagnu: \
7674 configure-dejagnu
7675 @: $(MAKE); $(unstage)
7676 @[ -f ./dejagnu/Makefile ] || exit 0; \
7677 r=`${PWD_COMMAND}`; export r; \
7678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7679 $(HOST_EXPORTS) \
7680 for flag in $(EXTRA_HOST_FLAGS) ; do \
7681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7682 done; \
7683 echo "Doing installcheck in dejagnu"; \
7684 (cd $(HOST_SUBDIR)/dejagnu && \
7685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7687 "RANLIB=$${RANLIB}" \
7688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7689 installcheck) \
7690 || exit 1
7692 @endif dejagnu
7694 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7695 maybe-mostlyclean-dejagnu:
7696 @if dejagnu
7697 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7699 mostlyclean-dejagnu:
7700 @: $(MAKE); $(unstage)
7701 @[ -f ./dejagnu/Makefile ] || exit 0; \
7702 r=`${PWD_COMMAND}`; export r; \
7703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 $(HOST_EXPORTS) \
7705 for flag in $(EXTRA_HOST_FLAGS) ; do \
7706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7707 done; \
7708 echo "Doing mostlyclean in dejagnu"; \
7709 (cd $(HOST_SUBDIR)/dejagnu && \
7710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7712 "RANLIB=$${RANLIB}" \
7713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7714 mostlyclean) \
7715 || exit 1
7717 @endif dejagnu
7719 .PHONY: maybe-clean-dejagnu clean-dejagnu
7720 maybe-clean-dejagnu:
7721 @if dejagnu
7722 maybe-clean-dejagnu: clean-dejagnu
7724 clean-dejagnu:
7725 @: $(MAKE); $(unstage)
7726 @[ -f ./dejagnu/Makefile ] || exit 0; \
7727 r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729 $(HOST_EXPORTS) \
7730 for flag in $(EXTRA_HOST_FLAGS) ; do \
7731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7732 done; \
7733 echo "Doing clean in dejagnu"; \
7734 (cd $(HOST_SUBDIR)/dejagnu && \
7735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7737 "RANLIB=$${RANLIB}" \
7738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7739 clean) \
7740 || exit 1
7742 @endif dejagnu
7744 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7745 maybe-distclean-dejagnu:
7746 @if dejagnu
7747 maybe-distclean-dejagnu: distclean-dejagnu
7749 distclean-dejagnu:
7750 @: $(MAKE); $(unstage)
7751 @[ -f ./dejagnu/Makefile ] || exit 0; \
7752 r=`${PWD_COMMAND}`; export r; \
7753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7754 $(HOST_EXPORTS) \
7755 for flag in $(EXTRA_HOST_FLAGS) ; do \
7756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7757 done; \
7758 echo "Doing distclean in dejagnu"; \
7759 (cd $(HOST_SUBDIR)/dejagnu && \
7760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7762 "RANLIB=$${RANLIB}" \
7763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7764 distclean) \
7765 || exit 1
7767 @endif dejagnu
7769 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7770 maybe-maintainer-clean-dejagnu:
7771 @if dejagnu
7772 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7774 maintainer-clean-dejagnu:
7775 @: $(MAKE); $(unstage)
7776 @[ -f ./dejagnu/Makefile ] || exit 0; \
7777 r=`${PWD_COMMAND}`; export r; \
7778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7779 $(HOST_EXPORTS) \
7780 for flag in $(EXTRA_HOST_FLAGS) ; do \
7781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7782 done; \
7783 echo "Doing maintainer-clean in dejagnu"; \
7784 (cd $(HOST_SUBDIR)/dejagnu && \
7785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7787 "RANLIB=$${RANLIB}" \
7788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7789 maintainer-clean) \
7790 || exit 1
7792 @endif dejagnu
7796 .PHONY: configure-etc maybe-configure-etc
7797 maybe-configure-etc:
7798 @if gcc-bootstrap
7799 configure-etc: stage_current
7800 @endif gcc-bootstrap
7801 @if etc
7802 maybe-configure-etc: configure-etc
7803 configure-etc:
7804 @: $(MAKE); $(unstage)
7805 @r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7807 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7809 $(HOST_EXPORTS) \
7810 echo Configuring in $(HOST_SUBDIR)/etc; \
7811 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7812 case $(srcdir) in \
7813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7814 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7816 esac; \
7817 module_srcdir=etc; \
7818 $(SHELL) \
7819 $$s/$$module_srcdir/configure \
7820 --srcdir=$${topdir}/$$module_srcdir \
7821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7822 --target=${target_alias} \
7823 || exit 1
7824 @endif etc
7830 .PHONY: all-etc maybe-all-etc
7831 maybe-all-etc:
7832 @if gcc-bootstrap
7833 all-etc: stage_current
7834 @endif gcc-bootstrap
7835 @if etc
7836 TARGET-etc=all
7837 maybe-all-etc: all-etc
7838 all-etc: configure-etc
7839 @: $(MAKE); $(unstage)
7840 @r=`${PWD_COMMAND}`; export r; \
7841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7842 $(HOST_EXPORTS) \
7843 (cd $(HOST_SUBDIR)/etc && \
7844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7845 $(TARGET-etc))
7846 @endif etc
7851 .PHONY: check-etc maybe-check-etc
7852 maybe-check-etc:
7853 @if etc
7854 maybe-check-etc: check-etc
7856 check-etc:
7857 @: $(MAKE); $(unstage)
7858 @r=`${PWD_COMMAND}`; export r; \
7859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7860 $(HOST_EXPORTS) \
7861 (cd $(HOST_SUBDIR)/etc && \
7862 $(MAKE) $(FLAGS_TO_PASS) check)
7864 @endif etc
7866 .PHONY: install-etc maybe-install-etc
7867 maybe-install-etc:
7868 @if etc
7869 maybe-install-etc: install-etc
7871 install-etc: installdirs
7872 @: $(MAKE); $(unstage)
7873 @r=`${PWD_COMMAND}`; export r; \
7874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7875 $(HOST_EXPORTS) \
7876 (cd $(HOST_SUBDIR)/etc && \
7877 $(MAKE) $(FLAGS_TO_PASS) install)
7879 @endif etc
7881 .PHONY: install-strip-etc maybe-install-strip-etc
7882 maybe-install-strip-etc:
7883 @if etc
7884 maybe-install-strip-etc: install-strip-etc
7886 install-strip-etc: installdirs
7887 @: $(MAKE); $(unstage)
7888 @r=`${PWD_COMMAND}`; export r; \
7889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7890 $(HOST_EXPORTS) \
7891 (cd $(HOST_SUBDIR)/etc && \
7892 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7894 @endif etc
7896 # Other targets (info, dvi, pdf, etc.)
7898 .PHONY: maybe-info-etc info-etc
7899 maybe-info-etc:
7900 @if etc
7901 maybe-info-etc: info-etc
7903 info-etc: \
7904 configure-etc
7905 @: $(MAKE); $(unstage)
7906 @[ -f ./etc/Makefile ] || exit 0; \
7907 r=`${PWD_COMMAND}`; export r; \
7908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7909 $(HOST_EXPORTS) \
7910 for flag in $(EXTRA_HOST_FLAGS) ; do \
7911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7912 done; \
7913 echo "Doing info in etc"; \
7914 (cd $(HOST_SUBDIR)/etc && \
7915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7917 "RANLIB=$${RANLIB}" \
7918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7919 info) \
7920 || exit 1
7922 @endif etc
7924 .PHONY: maybe-dvi-etc dvi-etc
7925 maybe-dvi-etc:
7926 @if etc
7927 maybe-dvi-etc: dvi-etc
7929 dvi-etc: \
7930 configure-etc
7931 @: $(MAKE); $(unstage)
7932 @[ -f ./etc/Makefile ] || exit 0; \
7933 r=`${PWD_COMMAND}`; export r; \
7934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7935 $(HOST_EXPORTS) \
7936 for flag in $(EXTRA_HOST_FLAGS) ; do \
7937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7938 done; \
7939 echo "Doing dvi in etc"; \
7940 (cd $(HOST_SUBDIR)/etc && \
7941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7943 "RANLIB=$${RANLIB}" \
7944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7945 dvi) \
7946 || exit 1
7948 @endif etc
7950 .PHONY: maybe-pdf-etc pdf-etc
7951 maybe-pdf-etc:
7952 @if etc
7953 maybe-pdf-etc: pdf-etc
7955 pdf-etc: \
7956 configure-etc
7957 @: $(MAKE); $(unstage)
7958 @[ -f ./etc/Makefile ] || exit 0; \
7959 r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961 $(HOST_EXPORTS) \
7962 for flag in $(EXTRA_HOST_FLAGS) ; do \
7963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7964 done; \
7965 echo "Doing pdf in etc"; \
7966 (cd $(HOST_SUBDIR)/etc && \
7967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7969 "RANLIB=$${RANLIB}" \
7970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7971 pdf) \
7972 || exit 1
7974 @endif etc
7976 .PHONY: maybe-html-etc html-etc
7977 maybe-html-etc:
7978 @if etc
7979 maybe-html-etc: html-etc
7981 html-etc: \
7982 configure-etc
7983 @: $(MAKE); $(unstage)
7984 @[ -f ./etc/Makefile ] || exit 0; \
7985 r=`${PWD_COMMAND}`; export r; \
7986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7987 $(HOST_EXPORTS) \
7988 for flag in $(EXTRA_HOST_FLAGS) ; do \
7989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7990 done; \
7991 echo "Doing html in etc"; \
7992 (cd $(HOST_SUBDIR)/etc && \
7993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7995 "RANLIB=$${RANLIB}" \
7996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7997 html) \
7998 || exit 1
8000 @endif etc
8002 .PHONY: maybe-TAGS-etc TAGS-etc
8003 maybe-TAGS-etc:
8004 @if etc
8005 maybe-TAGS-etc: TAGS-etc
8007 TAGS-etc: \
8008 configure-etc
8009 @: $(MAKE); $(unstage)
8010 @[ -f ./etc/Makefile ] || exit 0; \
8011 r=`${PWD_COMMAND}`; export r; \
8012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8013 $(HOST_EXPORTS) \
8014 for flag in $(EXTRA_HOST_FLAGS) ; do \
8015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8016 done; \
8017 echo "Doing TAGS in etc"; \
8018 (cd $(HOST_SUBDIR)/etc && \
8019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8021 "RANLIB=$${RANLIB}" \
8022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8023 TAGS) \
8024 || exit 1
8026 @endif etc
8028 .PHONY: maybe-install-info-etc install-info-etc
8029 maybe-install-info-etc:
8030 @if etc
8031 maybe-install-info-etc: install-info-etc
8033 install-info-etc: \
8034 configure-etc \
8035 info-etc
8036 @: $(MAKE); $(unstage)
8037 @[ -f ./etc/Makefile ] || exit 0; \
8038 r=`${PWD_COMMAND}`; export r; \
8039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8040 $(HOST_EXPORTS) \
8041 for flag in $(EXTRA_HOST_FLAGS) ; do \
8042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8043 done; \
8044 echo "Doing install-info in etc"; \
8045 (cd $(HOST_SUBDIR)/etc && \
8046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8048 "RANLIB=$${RANLIB}" \
8049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8050 install-info) \
8051 || exit 1
8053 @endif etc
8055 .PHONY: maybe-install-pdf-etc install-pdf-etc
8056 maybe-install-pdf-etc:
8057 @if etc
8058 maybe-install-pdf-etc: install-pdf-etc
8060 install-pdf-etc: \
8061 configure-etc \
8062 pdf-etc
8063 @: $(MAKE); $(unstage)
8064 @[ -f ./etc/Makefile ] || exit 0; \
8065 r=`${PWD_COMMAND}`; export r; \
8066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 $(HOST_EXPORTS) \
8068 for flag in $(EXTRA_HOST_FLAGS) ; do \
8069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8070 done; \
8071 echo "Doing install-pdf in etc"; \
8072 (cd $(HOST_SUBDIR)/etc && \
8073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8075 "RANLIB=$${RANLIB}" \
8076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8077 install-pdf) \
8078 || exit 1
8080 @endif etc
8082 .PHONY: maybe-install-html-etc install-html-etc
8083 maybe-install-html-etc:
8084 @if etc
8085 maybe-install-html-etc: install-html-etc
8087 install-html-etc: \
8088 configure-etc \
8089 html-etc
8090 @: $(MAKE); $(unstage)
8091 @[ -f ./etc/Makefile ] || exit 0; \
8092 r=`${PWD_COMMAND}`; export r; \
8093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8094 $(HOST_EXPORTS) \
8095 for flag in $(EXTRA_HOST_FLAGS) ; do \
8096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8097 done; \
8098 echo "Doing install-html in etc"; \
8099 (cd $(HOST_SUBDIR)/etc && \
8100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8102 "RANLIB=$${RANLIB}" \
8103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8104 install-html) \
8105 || exit 1
8107 @endif etc
8109 .PHONY: maybe-installcheck-etc installcheck-etc
8110 maybe-installcheck-etc:
8111 @if etc
8112 maybe-installcheck-etc: installcheck-etc
8114 installcheck-etc: \
8115 configure-etc
8116 @: $(MAKE); $(unstage)
8117 @[ -f ./etc/Makefile ] || exit 0; \
8118 r=`${PWD_COMMAND}`; export r; \
8119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8120 $(HOST_EXPORTS) \
8121 for flag in $(EXTRA_HOST_FLAGS) ; do \
8122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8123 done; \
8124 echo "Doing installcheck in etc"; \
8125 (cd $(HOST_SUBDIR)/etc && \
8126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8128 "RANLIB=$${RANLIB}" \
8129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8130 installcheck) \
8131 || exit 1
8133 @endif etc
8135 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8136 maybe-mostlyclean-etc:
8137 @if etc
8138 maybe-mostlyclean-etc: mostlyclean-etc
8140 mostlyclean-etc:
8141 @: $(MAKE); $(unstage)
8142 @[ -f ./etc/Makefile ] || exit 0; \
8143 r=`${PWD_COMMAND}`; export r; \
8144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8145 $(HOST_EXPORTS) \
8146 for flag in $(EXTRA_HOST_FLAGS) ; do \
8147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8148 done; \
8149 echo "Doing mostlyclean in etc"; \
8150 (cd $(HOST_SUBDIR)/etc && \
8151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8153 "RANLIB=$${RANLIB}" \
8154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8155 mostlyclean) \
8156 || exit 1
8158 @endif etc
8160 .PHONY: maybe-clean-etc clean-etc
8161 maybe-clean-etc:
8162 @if etc
8163 maybe-clean-etc: clean-etc
8165 clean-etc:
8166 @: $(MAKE); $(unstage)
8167 @[ -f ./etc/Makefile ] || exit 0; \
8168 r=`${PWD_COMMAND}`; export r; \
8169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8170 $(HOST_EXPORTS) \
8171 for flag in $(EXTRA_HOST_FLAGS) ; do \
8172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8173 done; \
8174 echo "Doing clean in etc"; \
8175 (cd $(HOST_SUBDIR)/etc && \
8176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8178 "RANLIB=$${RANLIB}" \
8179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8180 clean) \
8181 || exit 1
8183 @endif etc
8185 .PHONY: maybe-distclean-etc distclean-etc
8186 maybe-distclean-etc:
8187 @if etc
8188 maybe-distclean-etc: distclean-etc
8190 distclean-etc:
8191 @: $(MAKE); $(unstage)
8192 @[ -f ./etc/Makefile ] || exit 0; \
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195 $(HOST_EXPORTS) \
8196 for flag in $(EXTRA_HOST_FLAGS) ; do \
8197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8198 done; \
8199 echo "Doing distclean in etc"; \
8200 (cd $(HOST_SUBDIR)/etc && \
8201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203 "RANLIB=$${RANLIB}" \
8204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8205 distclean) \
8206 || exit 1
8208 @endif etc
8210 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8211 maybe-maintainer-clean-etc:
8212 @if etc
8213 maybe-maintainer-clean-etc: maintainer-clean-etc
8215 maintainer-clean-etc:
8216 @: $(MAKE); $(unstage)
8217 @[ -f ./etc/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(HOST_EXPORTS) \
8221 for flag in $(EXTRA_HOST_FLAGS) ; do \
8222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8223 done; \
8224 echo "Doing maintainer-clean in etc"; \
8225 (cd $(HOST_SUBDIR)/etc && \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8230 maintainer-clean) \
8231 || exit 1
8233 @endif etc
8237 .PHONY: configure-fastjar maybe-configure-fastjar
8238 maybe-configure-fastjar:
8239 @if gcc-bootstrap
8240 configure-fastjar: stage_current
8241 @endif gcc-bootstrap
8242 @if fastjar
8243 maybe-configure-fastjar: configure-fastjar
8244 configure-fastjar:
8245 @: $(MAKE); $(unstage)
8246 @r=`${PWD_COMMAND}`; export r; \
8247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8248 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8250 $(HOST_EXPORTS) \
8251 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8252 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8253 case $(srcdir) in \
8254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8255 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8257 esac; \
8258 module_srcdir=fastjar; \
8259 $(SHELL) \
8260 $$s/$$module_srcdir/configure \
8261 --srcdir=$${topdir}/$$module_srcdir \
8262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8263 --target=${target_alias} \
8264 || exit 1
8265 @endif fastjar
8271 .PHONY: all-fastjar maybe-all-fastjar
8272 maybe-all-fastjar:
8273 @if gcc-bootstrap
8274 all-fastjar: stage_current
8275 @endif gcc-bootstrap
8276 @if fastjar
8277 TARGET-fastjar=all
8278 maybe-all-fastjar: all-fastjar
8279 all-fastjar: configure-fastjar
8280 @: $(MAKE); $(unstage)
8281 @r=`${PWD_COMMAND}`; export r; \
8282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8283 $(HOST_EXPORTS) \
8284 (cd $(HOST_SUBDIR)/fastjar && \
8285 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8286 $(TARGET-fastjar))
8287 @endif fastjar
8292 .PHONY: check-fastjar maybe-check-fastjar
8293 maybe-check-fastjar:
8294 @if fastjar
8295 maybe-check-fastjar: check-fastjar
8297 # This module is only tested in a native toolchain.
8298 check-fastjar:
8299 @: $(MAKE); $(unstage)
8300 @if [ '$(host)' = '$(target)' ]; then \
8301 r=`${PWD_COMMAND}`; export r; \
8302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8303 $(HOST_EXPORTS) \
8304 (cd $(HOST_SUBDIR)/fastjar && \
8305 $(MAKE) $(FLAGS_TO_PASS) check)
8308 @endif fastjar
8310 .PHONY: install-fastjar maybe-install-fastjar
8311 maybe-install-fastjar:
8312 @if fastjar
8313 maybe-install-fastjar: install-fastjar
8315 install-fastjar: installdirs
8316 @: $(MAKE); $(unstage)
8317 @r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(HOST_EXPORTS) \
8320 (cd $(HOST_SUBDIR)/fastjar && \
8321 $(MAKE) $(FLAGS_TO_PASS) install)
8323 @endif fastjar
8325 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8326 maybe-install-strip-fastjar:
8327 @if fastjar
8328 maybe-install-strip-fastjar: install-strip-fastjar
8330 install-strip-fastjar: installdirs
8331 @: $(MAKE); $(unstage)
8332 @r=`${PWD_COMMAND}`; export r; \
8333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8334 $(HOST_EXPORTS) \
8335 (cd $(HOST_SUBDIR)/fastjar && \
8336 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8338 @endif fastjar
8340 # Other targets (info, dvi, pdf, etc.)
8342 .PHONY: maybe-info-fastjar info-fastjar
8343 maybe-info-fastjar:
8344 @if fastjar
8345 maybe-info-fastjar: info-fastjar
8347 info-fastjar: \
8348 configure-fastjar
8349 @: $(MAKE); $(unstage)
8350 @[ -f ./fastjar/Makefile ] || exit 0; \
8351 r=`${PWD_COMMAND}`; export r; \
8352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8353 $(HOST_EXPORTS) \
8354 for flag in $(EXTRA_HOST_FLAGS) ; do \
8355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8356 done; \
8357 echo "Doing info in fastjar"; \
8358 (cd $(HOST_SUBDIR)/fastjar && \
8359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8361 "RANLIB=$${RANLIB}" \
8362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8363 info) \
8364 || exit 1
8366 @endif fastjar
8368 .PHONY: maybe-dvi-fastjar dvi-fastjar
8369 maybe-dvi-fastjar:
8370 @if fastjar
8371 maybe-dvi-fastjar: dvi-fastjar
8373 dvi-fastjar: \
8374 configure-fastjar
8375 @: $(MAKE); $(unstage)
8376 @[ -f ./fastjar/Makefile ] || exit 0; \
8377 r=`${PWD_COMMAND}`; export r; \
8378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8379 $(HOST_EXPORTS) \
8380 for flag in $(EXTRA_HOST_FLAGS) ; do \
8381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8382 done; \
8383 echo "Doing dvi in fastjar"; \
8384 (cd $(HOST_SUBDIR)/fastjar && \
8385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8387 "RANLIB=$${RANLIB}" \
8388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8389 dvi) \
8390 || exit 1
8392 @endif fastjar
8394 .PHONY: maybe-pdf-fastjar pdf-fastjar
8395 maybe-pdf-fastjar:
8396 @if fastjar
8397 maybe-pdf-fastjar: pdf-fastjar
8399 pdf-fastjar: \
8400 configure-fastjar
8401 @: $(MAKE); $(unstage)
8402 @[ -f ./fastjar/Makefile ] || exit 0; \
8403 r=`${PWD_COMMAND}`; export r; \
8404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8405 $(HOST_EXPORTS) \
8406 for flag in $(EXTRA_HOST_FLAGS) ; do \
8407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8408 done; \
8409 echo "Doing pdf in fastjar"; \
8410 (cd $(HOST_SUBDIR)/fastjar && \
8411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8413 "RANLIB=$${RANLIB}" \
8414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8415 pdf) \
8416 || exit 1
8418 @endif fastjar
8420 .PHONY: maybe-html-fastjar html-fastjar
8421 maybe-html-fastjar:
8422 @if fastjar
8423 maybe-html-fastjar: html-fastjar
8425 html-fastjar: \
8426 configure-fastjar
8427 @: $(MAKE); $(unstage)
8428 @[ -f ./fastjar/Makefile ] || exit 0; \
8429 r=`${PWD_COMMAND}`; export r; \
8430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8431 $(HOST_EXPORTS) \
8432 for flag in $(EXTRA_HOST_FLAGS) ; do \
8433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8434 done; \
8435 echo "Doing html in fastjar"; \
8436 (cd $(HOST_SUBDIR)/fastjar && \
8437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8439 "RANLIB=$${RANLIB}" \
8440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8441 html) \
8442 || exit 1
8444 @endif fastjar
8446 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8447 maybe-TAGS-fastjar:
8448 @if fastjar
8449 maybe-TAGS-fastjar: TAGS-fastjar
8451 TAGS-fastjar: \
8452 configure-fastjar
8453 @: $(MAKE); $(unstage)
8454 @[ -f ./fastjar/Makefile ] || exit 0; \
8455 r=`${PWD_COMMAND}`; export r; \
8456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8457 $(HOST_EXPORTS) \
8458 for flag in $(EXTRA_HOST_FLAGS) ; do \
8459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8460 done; \
8461 echo "Doing TAGS in fastjar"; \
8462 (cd $(HOST_SUBDIR)/fastjar && \
8463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8465 "RANLIB=$${RANLIB}" \
8466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8467 TAGS) \
8468 || exit 1
8470 @endif fastjar
8472 .PHONY: maybe-install-info-fastjar install-info-fastjar
8473 maybe-install-info-fastjar:
8474 @if fastjar
8475 maybe-install-info-fastjar: install-info-fastjar
8477 install-info-fastjar: \
8478 configure-fastjar \
8479 info-fastjar
8480 @: $(MAKE); $(unstage)
8481 @[ -f ./fastjar/Makefile ] || exit 0; \
8482 r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing install-info in fastjar"; \
8489 (cd $(HOST_SUBDIR)/fastjar && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8494 install-info) \
8495 || exit 1
8497 @endif fastjar
8499 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8500 maybe-install-pdf-fastjar:
8501 @if fastjar
8502 maybe-install-pdf-fastjar: install-pdf-fastjar
8504 install-pdf-fastjar: \
8505 configure-fastjar \
8506 pdf-fastjar
8507 @: $(MAKE); $(unstage)
8508 @[ -f ./fastjar/Makefile ] || exit 0; \
8509 r=`${PWD_COMMAND}`; export r; \
8510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511 $(HOST_EXPORTS) \
8512 for flag in $(EXTRA_HOST_FLAGS) ; do \
8513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8514 done; \
8515 echo "Doing install-pdf in fastjar"; \
8516 (cd $(HOST_SUBDIR)/fastjar && \
8517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8519 "RANLIB=$${RANLIB}" \
8520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8521 install-pdf) \
8522 || exit 1
8524 @endif fastjar
8526 .PHONY: maybe-install-html-fastjar install-html-fastjar
8527 maybe-install-html-fastjar:
8528 @if fastjar
8529 maybe-install-html-fastjar: install-html-fastjar
8531 install-html-fastjar: \
8532 configure-fastjar \
8533 html-fastjar
8534 @: $(MAKE); $(unstage)
8535 @[ -f ./fastjar/Makefile ] || exit 0; \
8536 r=`${PWD_COMMAND}`; export r; \
8537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8538 $(HOST_EXPORTS) \
8539 for flag in $(EXTRA_HOST_FLAGS) ; do \
8540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8541 done; \
8542 echo "Doing install-html in fastjar"; \
8543 (cd $(HOST_SUBDIR)/fastjar && \
8544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8546 "RANLIB=$${RANLIB}" \
8547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8548 install-html) \
8549 || exit 1
8551 @endif fastjar
8553 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8554 maybe-installcheck-fastjar:
8555 @if fastjar
8556 maybe-installcheck-fastjar: installcheck-fastjar
8558 installcheck-fastjar: \
8559 configure-fastjar
8560 @: $(MAKE); $(unstage)
8561 @[ -f ./fastjar/Makefile ] || exit 0; \
8562 r=`${PWD_COMMAND}`; export r; \
8563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8564 $(HOST_EXPORTS) \
8565 for flag in $(EXTRA_HOST_FLAGS) ; do \
8566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8567 done; \
8568 echo "Doing installcheck in fastjar"; \
8569 (cd $(HOST_SUBDIR)/fastjar && \
8570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8572 "RANLIB=$${RANLIB}" \
8573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8574 installcheck) \
8575 || exit 1
8577 @endif fastjar
8579 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8580 maybe-mostlyclean-fastjar:
8581 @if fastjar
8582 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8584 mostlyclean-fastjar:
8585 @: $(MAKE); $(unstage)
8586 @[ -f ./fastjar/Makefile ] || exit 0; \
8587 r=`${PWD_COMMAND}`; export r; \
8588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8589 $(HOST_EXPORTS) \
8590 for flag in $(EXTRA_HOST_FLAGS) ; do \
8591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8592 done; \
8593 echo "Doing mostlyclean in fastjar"; \
8594 (cd $(HOST_SUBDIR)/fastjar && \
8595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8597 "RANLIB=$${RANLIB}" \
8598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8599 mostlyclean) \
8600 || exit 1
8602 @endif fastjar
8604 .PHONY: maybe-clean-fastjar clean-fastjar
8605 maybe-clean-fastjar:
8606 @if fastjar
8607 maybe-clean-fastjar: clean-fastjar
8609 clean-fastjar:
8610 @: $(MAKE); $(unstage)
8611 @[ -f ./fastjar/Makefile ] || exit 0; \
8612 r=`${PWD_COMMAND}`; export r; \
8613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8614 $(HOST_EXPORTS) \
8615 for flag in $(EXTRA_HOST_FLAGS) ; do \
8616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8617 done; \
8618 echo "Doing clean in fastjar"; \
8619 (cd $(HOST_SUBDIR)/fastjar && \
8620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8622 "RANLIB=$${RANLIB}" \
8623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8624 clean) \
8625 || exit 1
8627 @endif fastjar
8629 .PHONY: maybe-distclean-fastjar distclean-fastjar
8630 maybe-distclean-fastjar:
8631 @if fastjar
8632 maybe-distclean-fastjar: distclean-fastjar
8634 distclean-fastjar:
8635 @: $(MAKE); $(unstage)
8636 @[ -f ./fastjar/Makefile ] || exit 0; \
8637 r=`${PWD_COMMAND}`; export r; \
8638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8639 $(HOST_EXPORTS) \
8640 for flag in $(EXTRA_HOST_FLAGS) ; do \
8641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8642 done; \
8643 echo "Doing distclean in fastjar"; \
8644 (cd $(HOST_SUBDIR)/fastjar && \
8645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8647 "RANLIB=$${RANLIB}" \
8648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8649 distclean) \
8650 || exit 1
8652 @endif fastjar
8654 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8655 maybe-maintainer-clean-fastjar:
8656 @if fastjar
8657 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8659 maintainer-clean-fastjar:
8660 @: $(MAKE); $(unstage)
8661 @[ -f ./fastjar/Makefile ] || exit 0; \
8662 r=`${PWD_COMMAND}`; export r; \
8663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8664 $(HOST_EXPORTS) \
8665 for flag in $(EXTRA_HOST_FLAGS) ; do \
8666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8667 done; \
8668 echo "Doing maintainer-clean in fastjar"; \
8669 (cd $(HOST_SUBDIR)/fastjar && \
8670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672 "RANLIB=$${RANLIB}" \
8673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8674 maintainer-clean) \
8675 || exit 1
8677 @endif fastjar
8681 .PHONY: configure-fixincludes maybe-configure-fixincludes
8682 maybe-configure-fixincludes:
8683 @if gcc-bootstrap
8684 configure-fixincludes: stage_current
8685 @endif gcc-bootstrap
8686 @if fixincludes
8687 maybe-configure-fixincludes: configure-fixincludes
8688 configure-fixincludes:
8689 @r=`${PWD_COMMAND}`; export r; \
8690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8691 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8693 $(HOST_EXPORTS) \
8694 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8695 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8696 case $(srcdir) in \
8697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8698 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8700 esac; \
8701 module_srcdir=fixincludes; \
8702 $(SHELL) \
8703 $$s/$$module_srcdir/configure \
8704 --srcdir=$${topdir}/$$module_srcdir \
8705 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8706 --target=${target_alias} \
8707 || exit 1
8708 @endif fixincludes
8712 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8713 maybe-configure-stage1-fixincludes:
8714 @if fixincludes-bootstrap
8715 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8716 configure-stage1-fixincludes:
8717 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8719 @r=`${PWD_COMMAND}`; export r; \
8720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8721 TFLAGS="$(STAGE1_TFLAGS)"; \
8722 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8723 $(HOST_EXPORTS) \
8724 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8725 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8726 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8727 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8729 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8730 case $(srcdir) in \
8731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8732 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8734 esac; \
8735 module_srcdir=fixincludes; \
8736 $(SHELL) $$s/$$module_srcdir/configure \
8737 --srcdir=$${topdir}/$$module_srcdir \
8738 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8739 --target=${target_alias} \
8741 $(STAGE1_CONFIGURE_FLAGS)
8742 @endif fixincludes-bootstrap
8744 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8745 maybe-configure-stage2-fixincludes:
8746 @if fixincludes-bootstrap
8747 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8748 configure-stage2-fixincludes:
8749 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8751 @r=`${PWD_COMMAND}`; export r; \
8752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8753 TFLAGS="$(STAGE2_TFLAGS)"; \
8754 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8755 $(HOST_EXPORTS) \
8756 $(POSTSTAGE1_HOST_EXPORTS) \
8757 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8758 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8759 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8760 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8762 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8763 case $(srcdir) in \
8764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8765 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8767 esac; \
8768 module_srcdir=fixincludes; \
8769 $(SHELL) $$s/$$module_srcdir/configure \
8770 --srcdir=$${topdir}/$$module_srcdir \
8771 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8772 --target=${target_alias} \
8773 --with-build-libsubdir=$(HOST_SUBDIR) \
8774 $(STAGE2_CONFIGURE_FLAGS)
8775 @endif fixincludes-bootstrap
8777 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8778 maybe-configure-stage3-fixincludes:
8779 @if fixincludes-bootstrap
8780 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8781 configure-stage3-fixincludes:
8782 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8783 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8784 @r=`${PWD_COMMAND}`; export r; \
8785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8786 TFLAGS="$(STAGE3_TFLAGS)"; \
8787 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8788 $(HOST_EXPORTS) \
8789 $(POSTSTAGE1_HOST_EXPORTS) \
8790 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8791 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8792 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8793 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8795 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8796 case $(srcdir) in \
8797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8798 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8800 esac; \
8801 module_srcdir=fixincludes; \
8802 $(SHELL) $$s/$$module_srcdir/configure \
8803 --srcdir=$${topdir}/$$module_srcdir \
8804 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8805 --target=${target_alias} \
8806 --with-build-libsubdir=$(HOST_SUBDIR) \
8807 $(STAGE3_CONFIGURE_FLAGS)
8808 @endif fixincludes-bootstrap
8810 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8811 maybe-configure-stage4-fixincludes:
8812 @if fixincludes-bootstrap
8813 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8814 configure-stage4-fixincludes:
8815 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8817 @r=`${PWD_COMMAND}`; export r; \
8818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8819 TFLAGS="$(STAGE4_TFLAGS)"; \
8820 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8821 $(HOST_EXPORTS) \
8822 $(POSTSTAGE1_HOST_EXPORTS) \
8823 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8824 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8825 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8826 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8828 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8829 case $(srcdir) in \
8830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8831 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8833 esac; \
8834 module_srcdir=fixincludes; \
8835 $(SHELL) $$s/$$module_srcdir/configure \
8836 --srcdir=$${topdir}/$$module_srcdir \
8837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8838 --target=${target_alias} \
8839 --with-build-libsubdir=$(HOST_SUBDIR) \
8840 $(STAGE4_CONFIGURE_FLAGS)
8841 @endif fixincludes-bootstrap
8843 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8844 maybe-configure-stageprofile-fixincludes:
8845 @if fixincludes-bootstrap
8846 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8847 configure-stageprofile-fixincludes:
8848 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8849 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8850 @r=`${PWD_COMMAND}`; export r; \
8851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8852 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8853 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8854 $(HOST_EXPORTS) \
8855 $(POSTSTAGE1_HOST_EXPORTS) \
8856 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8857 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8858 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8859 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8861 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8862 case $(srcdir) in \
8863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8864 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8866 esac; \
8867 module_srcdir=fixincludes; \
8868 $(SHELL) $$s/$$module_srcdir/configure \
8869 --srcdir=$${topdir}/$$module_srcdir \
8870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8871 --target=${target_alias} \
8872 --with-build-libsubdir=$(HOST_SUBDIR) \
8873 $(STAGEprofile_CONFIGURE_FLAGS)
8874 @endif fixincludes-bootstrap
8876 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
8877 maybe-configure-stagetrain-fixincludes:
8878 @if fixincludes-bootstrap
8879 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
8880 configure-stagetrain-fixincludes:
8881 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
8882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8883 @r=`${PWD_COMMAND}`; export r; \
8884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8885 TFLAGS="$(STAGEtrain_TFLAGS)"; \
8886 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8887 $(HOST_EXPORTS) \
8888 $(POSTSTAGE1_HOST_EXPORTS) \
8889 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
8890 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
8891 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
8892 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
8893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8894 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8895 case $(srcdir) in \
8896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8897 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8899 esac; \
8900 module_srcdir=fixincludes; \
8901 $(SHELL) $$s/$$module_srcdir/configure \
8902 --srcdir=$${topdir}/$$module_srcdir \
8903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8904 --target=${target_alias} \
8905 --with-build-libsubdir=$(HOST_SUBDIR) \
8906 $(STAGEtrain_CONFIGURE_FLAGS)
8907 @endif fixincludes-bootstrap
8909 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8910 maybe-configure-stagefeedback-fixincludes:
8911 @if fixincludes-bootstrap
8912 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8913 configure-stagefeedback-fixincludes:
8914 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8915 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8916 @r=`${PWD_COMMAND}`; export r; \
8917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8918 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8919 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8920 $(HOST_EXPORTS) \
8921 $(POSTSTAGE1_HOST_EXPORTS) \
8922 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8923 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8924 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8925 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8927 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8928 case $(srcdir) in \
8929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8930 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8932 esac; \
8933 module_srcdir=fixincludes; \
8934 $(SHELL) $$s/$$module_srcdir/configure \
8935 --srcdir=$${topdir}/$$module_srcdir \
8936 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8937 --target=${target_alias} \
8938 --with-build-libsubdir=$(HOST_SUBDIR) \
8939 $(STAGEfeedback_CONFIGURE_FLAGS)
8940 @endif fixincludes-bootstrap
8942 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8943 maybe-configure-stageautoprofile-fixincludes:
8944 @if fixincludes-bootstrap
8945 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8946 configure-stageautoprofile-fixincludes:
8947 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8948 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8949 @r=`${PWD_COMMAND}`; export r; \
8950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8951 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8952 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8953 $(HOST_EXPORTS) \
8954 $(POSTSTAGE1_HOST_EXPORTS) \
8955 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
8956 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
8957 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
8958 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
8959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8960 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8961 case $(srcdir) in \
8962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8963 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8965 esac; \
8966 module_srcdir=fixincludes; \
8967 $(SHELL) $$s/$$module_srcdir/configure \
8968 --srcdir=$${topdir}/$$module_srcdir \
8969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8970 --target=${target_alias} \
8971 --with-build-libsubdir=$(HOST_SUBDIR) \
8972 $(STAGEautoprofile_CONFIGURE_FLAGS)
8973 @endif fixincludes-bootstrap
8975 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
8976 maybe-configure-stageautofeedback-fixincludes:
8977 @if fixincludes-bootstrap
8978 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
8979 configure-stageautofeedback-fixincludes:
8980 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
8981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8982 @r=`${PWD_COMMAND}`; export r; \
8983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8984 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
8985 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8986 $(HOST_EXPORTS) \
8987 $(POSTSTAGE1_HOST_EXPORTS) \
8988 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
8989 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
8990 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
8991 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
8992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8993 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8994 case $(srcdir) in \
8995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8996 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8998 esac; \
8999 module_srcdir=fixincludes; \
9000 $(SHELL) $$s/$$module_srcdir/configure \
9001 --srcdir=$${topdir}/$$module_srcdir \
9002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9003 --target=${target_alias} \
9004 --with-build-libsubdir=$(HOST_SUBDIR) \
9005 $(STAGEautofeedback_CONFIGURE_FLAGS)
9006 @endif fixincludes-bootstrap
9012 .PHONY: all-fixincludes maybe-all-fixincludes
9013 maybe-all-fixincludes:
9014 @if gcc-bootstrap
9015 all-fixincludes: stage_current
9016 @endif gcc-bootstrap
9017 @if fixincludes
9018 TARGET-fixincludes=all
9019 maybe-all-fixincludes: all-fixincludes
9020 all-fixincludes: configure-fixincludes
9021 @r=`${PWD_COMMAND}`; export r; \
9022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9023 $(HOST_EXPORTS) \
9024 (cd $(HOST_SUBDIR)/fixincludes && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9026 $(TARGET-fixincludes))
9027 @endif fixincludes
9031 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9032 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9033 maybe-all-stage1-fixincludes:
9034 maybe-clean-stage1-fixincludes:
9035 @if fixincludes-bootstrap
9036 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9037 all-stage1: all-stage1-fixincludes
9038 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9039 all-stage1-fixincludes: configure-stage1-fixincludes
9040 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9041 @r=`${PWD_COMMAND}`; export r; \
9042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9043 TFLAGS="$(STAGE1_TFLAGS)"; \
9044 $(HOST_EXPORTS) \
9045 cd $(HOST_SUBDIR)/fixincludes && \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9048 CFLAGS="$(STAGE1_CFLAGS)" \
9049 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9050 LIBCFLAGS="$(LIBCFLAGS)" \
9051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9054 $(EXTRA_HOST_FLAGS) \
9055 $(STAGE1_FLAGS_TO_PASS) \
9056 TFLAGS="$(STAGE1_TFLAGS)" \
9057 $(TARGET-stage1-fixincludes)
9059 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9060 clean-stage1: clean-stage1-fixincludes
9061 clean-stage1-fixincludes:
9062 @if [ $(current_stage) = stage1 ]; then \
9063 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9064 else \
9065 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9066 $(MAKE) stage1-start; \
9067 fi; \
9068 cd $(HOST_SUBDIR)/fixincludes && \
9069 $(MAKE) $(EXTRA_HOST_FLAGS) \
9070 $(STAGE1_FLAGS_TO_PASS) clean
9071 @endif fixincludes-bootstrap
9074 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9075 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9076 maybe-all-stage2-fixincludes:
9077 maybe-clean-stage2-fixincludes:
9078 @if fixincludes-bootstrap
9079 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9080 all-stage2: all-stage2-fixincludes
9081 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9082 all-stage2-fixincludes: configure-stage2-fixincludes
9083 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9084 @r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 TFLAGS="$(STAGE2_TFLAGS)"; \
9087 $(HOST_EXPORTS) \
9088 $(POSTSTAGE1_HOST_EXPORTS) \
9089 cd $(HOST_SUBDIR)/fixincludes && \
9091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9092 CFLAGS="$(STAGE2_CFLAGS)" \
9093 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9094 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9095 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9096 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9097 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9098 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9099 TFLAGS="$(STAGE2_TFLAGS)" \
9100 $(TARGET-stage2-fixincludes)
9102 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9103 clean-stage2: clean-stage2-fixincludes
9104 clean-stage2-fixincludes:
9105 @if [ $(current_stage) = stage2 ]; then \
9106 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9107 else \
9108 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9109 $(MAKE) stage2-start; \
9110 fi; \
9111 cd $(HOST_SUBDIR)/fixincludes && \
9112 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9113 @endif fixincludes-bootstrap
9116 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9117 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9118 maybe-all-stage3-fixincludes:
9119 maybe-clean-stage3-fixincludes:
9120 @if fixincludes-bootstrap
9121 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9122 all-stage3: all-stage3-fixincludes
9123 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9124 all-stage3-fixincludes: configure-stage3-fixincludes
9125 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9126 @r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128 TFLAGS="$(STAGE3_TFLAGS)"; \
9129 $(HOST_EXPORTS) \
9130 $(POSTSTAGE1_HOST_EXPORTS) \
9131 cd $(HOST_SUBDIR)/fixincludes && \
9133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9134 CFLAGS="$(STAGE3_CFLAGS)" \
9135 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9136 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9141 TFLAGS="$(STAGE3_TFLAGS)" \
9142 $(TARGET-stage3-fixincludes)
9144 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9145 clean-stage3: clean-stage3-fixincludes
9146 clean-stage3-fixincludes:
9147 @if [ $(current_stage) = stage3 ]; then \
9148 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9149 else \
9150 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9151 $(MAKE) stage3-start; \
9152 fi; \
9153 cd $(HOST_SUBDIR)/fixincludes && \
9154 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9155 @endif fixincludes-bootstrap
9158 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9159 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9160 maybe-all-stage4-fixincludes:
9161 maybe-clean-stage4-fixincludes:
9162 @if fixincludes-bootstrap
9163 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9164 all-stage4: all-stage4-fixincludes
9165 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9166 all-stage4-fixincludes: configure-stage4-fixincludes
9167 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9168 @r=`${PWD_COMMAND}`; export r; \
9169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9170 TFLAGS="$(STAGE4_TFLAGS)"; \
9171 $(HOST_EXPORTS) \
9172 $(POSTSTAGE1_HOST_EXPORTS) \
9173 cd $(HOST_SUBDIR)/fixincludes && \
9175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9176 CFLAGS="$(STAGE4_CFLAGS)" \
9177 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9178 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9182 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9183 TFLAGS="$(STAGE4_TFLAGS)" \
9184 $(TARGET-stage4-fixincludes)
9186 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9187 clean-stage4: clean-stage4-fixincludes
9188 clean-stage4-fixincludes:
9189 @if [ $(current_stage) = stage4 ]; then \
9190 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9191 else \
9192 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9193 $(MAKE) stage4-start; \
9194 fi; \
9195 cd $(HOST_SUBDIR)/fixincludes && \
9196 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9197 @endif fixincludes-bootstrap
9200 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9201 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9202 maybe-all-stageprofile-fixincludes:
9203 maybe-clean-stageprofile-fixincludes:
9204 @if fixincludes-bootstrap
9205 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9206 all-stageprofile: all-stageprofile-fixincludes
9207 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9208 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9209 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9210 @r=`${PWD_COMMAND}`; export r; \
9211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9213 $(HOST_EXPORTS) \
9214 $(POSTSTAGE1_HOST_EXPORTS) \
9215 cd $(HOST_SUBDIR)/fixincludes && \
9217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9218 CFLAGS="$(STAGEprofile_CFLAGS)" \
9219 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9220 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9225 TFLAGS="$(STAGEprofile_TFLAGS)" \
9226 $(TARGET-stageprofile-fixincludes)
9228 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9229 clean-stageprofile: clean-stageprofile-fixincludes
9230 clean-stageprofile-fixincludes:
9231 @if [ $(current_stage) = stageprofile ]; then \
9232 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9233 else \
9234 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9235 $(MAKE) stageprofile-start; \
9236 fi; \
9237 cd $(HOST_SUBDIR)/fixincludes && \
9238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9239 @endif fixincludes-bootstrap
9242 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9243 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9244 maybe-all-stagetrain-fixincludes:
9245 maybe-clean-stagetrain-fixincludes:
9246 @if fixincludes-bootstrap
9247 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9248 all-stagetrain: all-stagetrain-fixincludes
9249 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9250 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9251 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9252 @r=`${PWD_COMMAND}`; export r; \
9253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9254 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9255 $(HOST_EXPORTS) \
9256 $(POSTSTAGE1_HOST_EXPORTS) \
9257 cd $(HOST_SUBDIR)/fixincludes && \
9259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9260 CFLAGS="$(STAGEtrain_CFLAGS)" \
9261 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9262 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9266 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9267 TFLAGS="$(STAGEtrain_TFLAGS)" \
9268 $(TARGET-stagetrain-fixincludes)
9270 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9271 clean-stagetrain: clean-stagetrain-fixincludes
9272 clean-stagetrain-fixincludes:
9273 @if [ $(current_stage) = stagetrain ]; then \
9274 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9275 else \
9276 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9277 $(MAKE) stagetrain-start; \
9278 fi; \
9279 cd $(HOST_SUBDIR)/fixincludes && \
9280 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9281 @endif fixincludes-bootstrap
9284 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9285 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9286 maybe-all-stagefeedback-fixincludes:
9287 maybe-clean-stagefeedback-fixincludes:
9288 @if fixincludes-bootstrap
9289 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9290 all-stagefeedback: all-stagefeedback-fixincludes
9291 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9292 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9293 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9294 @r=`${PWD_COMMAND}`; export r; \
9295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9296 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9297 $(HOST_EXPORTS) \
9298 $(POSTSTAGE1_HOST_EXPORTS) \
9299 cd $(HOST_SUBDIR)/fixincludes && \
9301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9302 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9303 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9304 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9308 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9309 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9310 $(TARGET-stagefeedback-fixincludes)
9312 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9313 clean-stagefeedback: clean-stagefeedback-fixincludes
9314 clean-stagefeedback-fixincludes:
9315 @if [ $(current_stage) = stagefeedback ]; then \
9316 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9317 else \
9318 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9319 $(MAKE) stagefeedback-start; \
9320 fi; \
9321 cd $(HOST_SUBDIR)/fixincludes && \
9322 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9323 @endif fixincludes-bootstrap
9326 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9327 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9328 maybe-all-stageautoprofile-fixincludes:
9329 maybe-clean-stageautoprofile-fixincludes:
9330 @if fixincludes-bootstrap
9331 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9332 all-stageautoprofile: all-stageautoprofile-fixincludes
9333 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9334 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9335 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9336 @r=`${PWD_COMMAND}`; export r; \
9337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9338 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9339 $(HOST_EXPORTS) \
9340 $(POSTSTAGE1_HOST_EXPORTS) \
9341 cd $(HOST_SUBDIR)/fixincludes && \
9342 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9344 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9345 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9346 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9351 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9352 $(TARGET-stageautoprofile-fixincludes)
9354 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9355 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9356 clean-stageautoprofile-fixincludes:
9357 @if [ $(current_stage) = stageautoprofile ]; then \
9358 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9359 else \
9360 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9361 $(MAKE) stageautoprofile-start; \
9362 fi; \
9363 cd $(HOST_SUBDIR)/fixincludes && \
9364 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9365 @endif fixincludes-bootstrap
9368 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9369 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9370 maybe-all-stageautofeedback-fixincludes:
9371 maybe-clean-stageautofeedback-fixincludes:
9372 @if fixincludes-bootstrap
9373 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9374 all-stageautofeedback: all-stageautofeedback-fixincludes
9375 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9376 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9377 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9378 @r=`${PWD_COMMAND}`; export r; \
9379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9380 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9381 $(HOST_EXPORTS) \
9382 $(POSTSTAGE1_HOST_EXPORTS) \
9383 cd $(HOST_SUBDIR)/fixincludes && \
9385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9386 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9387 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9388 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9393 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9394 $(TARGET-stageautofeedback-fixincludes)
9396 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9397 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9398 clean-stageautofeedback-fixincludes:
9399 @if [ $(current_stage) = stageautofeedback ]; then \
9400 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9401 else \
9402 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9403 $(MAKE) stageautofeedback-start; \
9404 fi; \
9405 cd $(HOST_SUBDIR)/fixincludes && \
9406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9407 @endif fixincludes-bootstrap
9413 .PHONY: check-fixincludes maybe-check-fixincludes
9414 maybe-check-fixincludes:
9415 @if fixincludes
9416 maybe-check-fixincludes: check-fixincludes
9418 check-fixincludes:
9419 @: $(MAKE); $(unstage)
9420 @r=`${PWD_COMMAND}`; export r; \
9421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9422 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9423 (cd $(HOST_SUBDIR)/fixincludes && \
9424 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9426 @endif fixincludes
9428 .PHONY: install-fixincludes maybe-install-fixincludes
9429 maybe-install-fixincludes:
9430 @if fixincludes
9431 maybe-install-fixincludes: install-fixincludes
9433 install-fixincludes: installdirs
9434 @: $(MAKE); $(unstage)
9435 @r=`${PWD_COMMAND}`; export r; \
9436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9437 $(HOST_EXPORTS) \
9438 (cd $(HOST_SUBDIR)/fixincludes && \
9439 $(MAKE) $(FLAGS_TO_PASS) install)
9441 @endif fixincludes
9443 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9444 maybe-install-strip-fixincludes:
9445 @if fixincludes
9446 maybe-install-strip-fixincludes: install-strip-fixincludes
9448 install-strip-fixincludes: installdirs
9449 @: $(MAKE); $(unstage)
9450 @r=`${PWD_COMMAND}`; export r; \
9451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9452 $(HOST_EXPORTS) \
9453 (cd $(HOST_SUBDIR)/fixincludes && \
9454 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9456 @endif fixincludes
9458 # Other targets (info, dvi, pdf, etc.)
9460 .PHONY: maybe-info-fixincludes info-fixincludes
9461 maybe-info-fixincludes:
9462 @if fixincludes
9463 maybe-info-fixincludes: info-fixincludes
9465 info-fixincludes: \
9466 configure-fixincludes
9467 @[ -f ./fixincludes/Makefile ] || exit 0; \
9468 r=`${PWD_COMMAND}`; export r; \
9469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9470 $(HOST_EXPORTS) \
9471 for flag in $(EXTRA_HOST_FLAGS) ; do \
9472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9473 done; \
9474 echo "Doing info in fixincludes"; \
9475 (cd $(HOST_SUBDIR)/fixincludes && \
9476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9478 "RANLIB=$${RANLIB}" \
9479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9480 info) \
9481 || exit 1
9483 @endif fixincludes
9485 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9486 maybe-dvi-fixincludes:
9487 @if fixincludes
9488 maybe-dvi-fixincludes: dvi-fixincludes
9490 dvi-fixincludes: \
9491 configure-fixincludes
9492 @[ -f ./fixincludes/Makefile ] || exit 0; \
9493 r=`${PWD_COMMAND}`; export r; \
9494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9495 $(HOST_EXPORTS) \
9496 for flag in $(EXTRA_HOST_FLAGS) ; do \
9497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9498 done; \
9499 echo "Doing dvi in fixincludes"; \
9500 (cd $(HOST_SUBDIR)/fixincludes && \
9501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9503 "RANLIB=$${RANLIB}" \
9504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9505 dvi) \
9506 || exit 1
9508 @endif fixincludes
9510 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9511 maybe-pdf-fixincludes:
9512 @if fixincludes
9513 maybe-pdf-fixincludes: pdf-fixincludes
9515 pdf-fixincludes: \
9516 configure-fixincludes
9517 @[ -f ./fixincludes/Makefile ] || exit 0; \
9518 r=`${PWD_COMMAND}`; export r; \
9519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9520 $(HOST_EXPORTS) \
9521 for flag in $(EXTRA_HOST_FLAGS) ; do \
9522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9523 done; \
9524 echo "Doing pdf in fixincludes"; \
9525 (cd $(HOST_SUBDIR)/fixincludes && \
9526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9528 "RANLIB=$${RANLIB}" \
9529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9530 pdf) \
9531 || exit 1
9533 @endif fixincludes
9535 .PHONY: maybe-html-fixincludes html-fixincludes
9536 maybe-html-fixincludes:
9537 @if fixincludes
9538 maybe-html-fixincludes: html-fixincludes
9540 html-fixincludes: \
9541 configure-fixincludes
9542 @[ -f ./fixincludes/Makefile ] || exit 0; \
9543 r=`${PWD_COMMAND}`; export r; \
9544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9545 $(HOST_EXPORTS) \
9546 for flag in $(EXTRA_HOST_FLAGS) ; do \
9547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9548 done; \
9549 echo "Doing html in fixincludes"; \
9550 (cd $(HOST_SUBDIR)/fixincludes && \
9551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9553 "RANLIB=$${RANLIB}" \
9554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9555 html) \
9556 || exit 1
9558 @endif fixincludes
9560 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9561 maybe-TAGS-fixincludes:
9562 @if fixincludes
9563 maybe-TAGS-fixincludes: TAGS-fixincludes
9565 # fixincludes doesn't support TAGS.
9566 TAGS-fixincludes:
9568 @endif fixincludes
9570 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9571 maybe-install-info-fixincludes:
9572 @if fixincludes
9573 maybe-install-info-fixincludes: install-info-fixincludes
9575 install-info-fixincludes: \
9576 configure-fixincludes \
9577 info-fixincludes
9578 @[ -f ./fixincludes/Makefile ] || exit 0; \
9579 r=`${PWD_COMMAND}`; export r; \
9580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9581 $(HOST_EXPORTS) \
9582 for flag in $(EXTRA_HOST_FLAGS) ; do \
9583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9584 done; \
9585 echo "Doing install-info in fixincludes"; \
9586 (cd $(HOST_SUBDIR)/fixincludes && \
9587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589 "RANLIB=$${RANLIB}" \
9590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9591 install-info) \
9592 || exit 1
9594 @endif fixincludes
9596 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9597 maybe-install-pdf-fixincludes:
9598 @if fixincludes
9599 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9601 install-pdf-fixincludes: \
9602 configure-fixincludes \
9603 pdf-fixincludes
9604 @[ -f ./fixincludes/Makefile ] || exit 0; \
9605 r=`${PWD_COMMAND}`; export r; \
9606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9607 $(HOST_EXPORTS) \
9608 for flag in $(EXTRA_HOST_FLAGS) ; do \
9609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9610 done; \
9611 echo "Doing install-pdf in fixincludes"; \
9612 (cd $(HOST_SUBDIR)/fixincludes && \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9615 "RANLIB=$${RANLIB}" \
9616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9617 install-pdf) \
9618 || exit 1
9620 @endif fixincludes
9622 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9623 maybe-install-html-fixincludes:
9624 @if fixincludes
9625 maybe-install-html-fixincludes: install-html-fixincludes
9627 install-html-fixincludes: \
9628 configure-fixincludes \
9629 html-fixincludes
9630 @[ -f ./fixincludes/Makefile ] || exit 0; \
9631 r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633 $(HOST_EXPORTS) \
9634 for flag in $(EXTRA_HOST_FLAGS) ; do \
9635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9636 done; \
9637 echo "Doing install-html in fixincludes"; \
9638 (cd $(HOST_SUBDIR)/fixincludes && \
9639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641 "RANLIB=$${RANLIB}" \
9642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9643 install-html) \
9644 || exit 1
9646 @endif fixincludes
9648 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9649 maybe-installcheck-fixincludes:
9650 @if fixincludes
9651 maybe-installcheck-fixincludes: installcheck-fixincludes
9653 installcheck-fixincludes: \
9654 configure-fixincludes
9655 @[ -f ./fixincludes/Makefile ] || exit 0; \
9656 r=`${PWD_COMMAND}`; export r; \
9657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9658 $(HOST_EXPORTS) \
9659 for flag in $(EXTRA_HOST_FLAGS) ; do \
9660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9661 done; \
9662 echo "Doing installcheck in fixincludes"; \
9663 (cd $(HOST_SUBDIR)/fixincludes && \
9664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9666 "RANLIB=$${RANLIB}" \
9667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9668 installcheck) \
9669 || exit 1
9671 @endif fixincludes
9673 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9674 maybe-mostlyclean-fixincludes:
9675 @if fixincludes
9676 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9678 mostlyclean-fixincludes:
9679 @[ -f ./fixincludes/Makefile ] || exit 0; \
9680 r=`${PWD_COMMAND}`; export r; \
9681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9682 $(HOST_EXPORTS) \
9683 for flag in $(EXTRA_HOST_FLAGS) ; do \
9684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9685 done; \
9686 echo "Doing mostlyclean in fixincludes"; \
9687 (cd $(HOST_SUBDIR)/fixincludes && \
9688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9690 "RANLIB=$${RANLIB}" \
9691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9692 mostlyclean) \
9693 || exit 1
9695 @endif fixincludes
9697 .PHONY: maybe-clean-fixincludes clean-fixincludes
9698 maybe-clean-fixincludes:
9699 @if fixincludes
9700 maybe-clean-fixincludes: clean-fixincludes
9702 clean-fixincludes:
9703 @[ -f ./fixincludes/Makefile ] || exit 0; \
9704 r=`${PWD_COMMAND}`; export r; \
9705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9706 $(HOST_EXPORTS) \
9707 for flag in $(EXTRA_HOST_FLAGS) ; do \
9708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9709 done; \
9710 echo "Doing clean in fixincludes"; \
9711 (cd $(HOST_SUBDIR)/fixincludes && \
9712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9714 "RANLIB=$${RANLIB}" \
9715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9716 clean) \
9717 || exit 1
9719 @endif fixincludes
9721 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9722 maybe-distclean-fixincludes:
9723 @if fixincludes
9724 maybe-distclean-fixincludes: distclean-fixincludes
9726 distclean-fixincludes:
9727 @[ -f ./fixincludes/Makefile ] || exit 0; \
9728 r=`${PWD_COMMAND}`; export r; \
9729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9730 $(HOST_EXPORTS) \
9731 for flag in $(EXTRA_HOST_FLAGS) ; do \
9732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9733 done; \
9734 echo "Doing distclean in fixincludes"; \
9735 (cd $(HOST_SUBDIR)/fixincludes && \
9736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9738 "RANLIB=$${RANLIB}" \
9739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9740 distclean) \
9741 || exit 1
9743 @endif fixincludes
9745 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9746 maybe-maintainer-clean-fixincludes:
9747 @if fixincludes
9748 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9750 maintainer-clean-fixincludes:
9751 @[ -f ./fixincludes/Makefile ] || exit 0; \
9752 r=`${PWD_COMMAND}`; export r; \
9753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9754 $(HOST_EXPORTS) \
9755 for flag in $(EXTRA_HOST_FLAGS) ; do \
9756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9757 done; \
9758 echo "Doing maintainer-clean in fixincludes"; \
9759 (cd $(HOST_SUBDIR)/fixincludes && \
9760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9762 "RANLIB=$${RANLIB}" \
9763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9764 maintainer-clean) \
9765 || exit 1
9767 @endif fixincludes
9771 .PHONY: configure-flex maybe-configure-flex
9772 maybe-configure-flex:
9773 @if gcc-bootstrap
9774 configure-flex: stage_current
9775 @endif gcc-bootstrap
9776 @if flex
9777 maybe-configure-flex: configure-flex
9778 configure-flex:
9779 @: $(MAKE); $(unstage)
9780 @r=`${PWD_COMMAND}`; export r; \
9781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9782 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9784 $(HOST_EXPORTS) \
9785 echo Configuring in $(HOST_SUBDIR)/flex; \
9786 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9787 case $(srcdir) in \
9788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9789 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9791 esac; \
9792 module_srcdir=flex; \
9793 $(SHELL) \
9794 $$s/$$module_srcdir/configure \
9795 --srcdir=$${topdir}/$$module_srcdir \
9796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9797 --target=${target_alias} \
9798 || exit 1
9799 @endif flex
9805 .PHONY: all-flex maybe-all-flex
9806 maybe-all-flex:
9807 @if gcc-bootstrap
9808 all-flex: stage_current
9809 @endif gcc-bootstrap
9810 @if flex
9811 TARGET-flex=all
9812 maybe-all-flex: all-flex
9813 all-flex: configure-flex
9814 @: $(MAKE); $(unstage)
9815 @r=`${PWD_COMMAND}`; export r; \
9816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9817 $(HOST_EXPORTS) \
9818 (cd $(HOST_SUBDIR)/flex && \
9819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9820 $(TARGET-flex))
9821 @endif flex
9826 .PHONY: check-flex maybe-check-flex
9827 maybe-check-flex:
9828 @if flex
9829 maybe-check-flex: check-flex
9831 # This module is only tested in a native toolchain.
9832 check-flex:
9833 @: $(MAKE); $(unstage)
9834 @if [ '$(host)' = '$(target)' ]; then \
9835 r=`${PWD_COMMAND}`; export r; \
9836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9837 $(HOST_EXPORTS) \
9838 (cd $(HOST_SUBDIR)/flex && \
9839 $(MAKE) $(FLAGS_TO_PASS) check)
9842 @endif flex
9844 .PHONY: install-flex maybe-install-flex
9845 maybe-install-flex:
9846 @if flex
9847 maybe-install-flex: install-flex
9849 install-flex: installdirs
9850 @: $(MAKE); $(unstage)
9851 @r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 (cd $(HOST_SUBDIR)/flex && \
9855 $(MAKE) $(FLAGS_TO_PASS) install)
9857 @endif flex
9859 .PHONY: install-strip-flex maybe-install-strip-flex
9860 maybe-install-strip-flex:
9861 @if flex
9862 maybe-install-strip-flex: install-strip-flex
9864 install-strip-flex: installdirs
9865 @: $(MAKE); $(unstage)
9866 @r=`${PWD_COMMAND}`; export r; \
9867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9868 $(HOST_EXPORTS) \
9869 (cd $(HOST_SUBDIR)/flex && \
9870 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9872 @endif flex
9874 # Other targets (info, dvi, pdf, etc.)
9876 .PHONY: maybe-info-flex info-flex
9877 maybe-info-flex:
9878 @if flex
9879 maybe-info-flex: info-flex
9881 info-flex: \
9882 configure-flex
9883 @: $(MAKE); $(unstage)
9884 @[ -f ./flex/Makefile ] || exit 0; \
9885 r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(HOST_EXPORTS) \
9888 for flag in $(EXTRA_HOST_FLAGS) ; do \
9889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9890 done; \
9891 echo "Doing info in flex"; \
9892 (cd $(HOST_SUBDIR)/flex && \
9893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9895 "RANLIB=$${RANLIB}" \
9896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9897 info) \
9898 || exit 1
9900 @endif flex
9902 .PHONY: maybe-dvi-flex dvi-flex
9903 maybe-dvi-flex:
9904 @if flex
9905 maybe-dvi-flex: dvi-flex
9907 dvi-flex: \
9908 configure-flex
9909 @: $(MAKE); $(unstage)
9910 @[ -f ./flex/Makefile ] || exit 0; \
9911 r=`${PWD_COMMAND}`; export r; \
9912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9913 $(HOST_EXPORTS) \
9914 for flag in $(EXTRA_HOST_FLAGS) ; do \
9915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9916 done; \
9917 echo "Doing dvi in flex"; \
9918 (cd $(HOST_SUBDIR)/flex && \
9919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9921 "RANLIB=$${RANLIB}" \
9922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9923 dvi) \
9924 || exit 1
9926 @endif flex
9928 .PHONY: maybe-pdf-flex pdf-flex
9929 maybe-pdf-flex:
9930 @if flex
9931 maybe-pdf-flex: pdf-flex
9933 pdf-flex: \
9934 configure-flex
9935 @: $(MAKE); $(unstage)
9936 @[ -f ./flex/Makefile ] || exit 0; \
9937 r=`${PWD_COMMAND}`; export r; \
9938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9939 $(HOST_EXPORTS) \
9940 for flag in $(EXTRA_HOST_FLAGS) ; do \
9941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9942 done; \
9943 echo "Doing pdf in flex"; \
9944 (cd $(HOST_SUBDIR)/flex && \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9947 "RANLIB=$${RANLIB}" \
9948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9949 pdf) \
9950 || exit 1
9952 @endif flex
9954 .PHONY: maybe-html-flex html-flex
9955 maybe-html-flex:
9956 @if flex
9957 maybe-html-flex: html-flex
9959 html-flex: \
9960 configure-flex
9961 @: $(MAKE); $(unstage)
9962 @[ -f ./flex/Makefile ] || exit 0; \
9963 r=`${PWD_COMMAND}`; export r; \
9964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9965 $(HOST_EXPORTS) \
9966 for flag in $(EXTRA_HOST_FLAGS) ; do \
9967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9968 done; \
9969 echo "Doing html in flex"; \
9970 (cd $(HOST_SUBDIR)/flex && \
9971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9973 "RANLIB=$${RANLIB}" \
9974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9975 html) \
9976 || exit 1
9978 @endif flex
9980 .PHONY: maybe-TAGS-flex TAGS-flex
9981 maybe-TAGS-flex:
9982 @if flex
9983 maybe-TAGS-flex: TAGS-flex
9985 TAGS-flex: \
9986 configure-flex
9987 @: $(MAKE); $(unstage)
9988 @[ -f ./flex/Makefile ] || exit 0; \
9989 r=`${PWD_COMMAND}`; export r; \
9990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 $(HOST_EXPORTS) \
9992 for flag in $(EXTRA_HOST_FLAGS) ; do \
9993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9994 done; \
9995 echo "Doing TAGS in flex"; \
9996 (cd $(HOST_SUBDIR)/flex && \
9997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9999 "RANLIB=$${RANLIB}" \
10000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10001 TAGS) \
10002 || exit 1
10004 @endif flex
10006 .PHONY: maybe-install-info-flex install-info-flex
10007 maybe-install-info-flex:
10008 @if flex
10009 maybe-install-info-flex: install-info-flex
10011 install-info-flex: \
10012 configure-flex \
10013 info-flex
10014 @: $(MAKE); $(unstage)
10015 @[ -f ./flex/Makefile ] || exit 0; \
10016 r=`${PWD_COMMAND}`; export r; \
10017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10018 $(HOST_EXPORTS) \
10019 for flag in $(EXTRA_HOST_FLAGS) ; do \
10020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10021 done; \
10022 echo "Doing install-info in flex"; \
10023 (cd $(HOST_SUBDIR)/flex && \
10024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10026 "RANLIB=$${RANLIB}" \
10027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10028 install-info) \
10029 || exit 1
10031 @endif flex
10033 .PHONY: maybe-install-pdf-flex install-pdf-flex
10034 maybe-install-pdf-flex:
10035 @if flex
10036 maybe-install-pdf-flex: install-pdf-flex
10038 install-pdf-flex: \
10039 configure-flex \
10040 pdf-flex
10041 @: $(MAKE); $(unstage)
10042 @[ -f ./flex/Makefile ] || exit 0; \
10043 r=`${PWD_COMMAND}`; export r; \
10044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10045 $(HOST_EXPORTS) \
10046 for flag in $(EXTRA_HOST_FLAGS) ; do \
10047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10048 done; \
10049 echo "Doing install-pdf in flex"; \
10050 (cd $(HOST_SUBDIR)/flex && \
10051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10053 "RANLIB=$${RANLIB}" \
10054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10055 install-pdf) \
10056 || exit 1
10058 @endif flex
10060 .PHONY: maybe-install-html-flex install-html-flex
10061 maybe-install-html-flex:
10062 @if flex
10063 maybe-install-html-flex: install-html-flex
10065 install-html-flex: \
10066 configure-flex \
10067 html-flex
10068 @: $(MAKE); $(unstage)
10069 @[ -f ./flex/Makefile ] || exit 0; \
10070 r=`${PWD_COMMAND}`; export r; \
10071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10072 $(HOST_EXPORTS) \
10073 for flag in $(EXTRA_HOST_FLAGS) ; do \
10074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10075 done; \
10076 echo "Doing install-html in flex"; \
10077 (cd $(HOST_SUBDIR)/flex && \
10078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10080 "RANLIB=$${RANLIB}" \
10081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10082 install-html) \
10083 || exit 1
10085 @endif flex
10087 .PHONY: maybe-installcheck-flex installcheck-flex
10088 maybe-installcheck-flex:
10089 @if flex
10090 maybe-installcheck-flex: installcheck-flex
10092 installcheck-flex: \
10093 configure-flex
10094 @: $(MAKE); $(unstage)
10095 @[ -f ./flex/Makefile ] || exit 0; \
10096 r=`${PWD_COMMAND}`; export r; \
10097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10098 $(HOST_EXPORTS) \
10099 for flag in $(EXTRA_HOST_FLAGS) ; do \
10100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10101 done; \
10102 echo "Doing installcheck in flex"; \
10103 (cd $(HOST_SUBDIR)/flex && \
10104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10106 "RANLIB=$${RANLIB}" \
10107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10108 installcheck) \
10109 || exit 1
10111 @endif flex
10113 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10114 maybe-mostlyclean-flex:
10115 @if flex
10116 maybe-mostlyclean-flex: mostlyclean-flex
10118 mostlyclean-flex:
10119 @: $(MAKE); $(unstage)
10120 @[ -f ./flex/Makefile ] || exit 0; \
10121 r=`${PWD_COMMAND}`; export r; \
10122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10123 $(HOST_EXPORTS) \
10124 for flag in $(EXTRA_HOST_FLAGS) ; do \
10125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10126 done; \
10127 echo "Doing mostlyclean in flex"; \
10128 (cd $(HOST_SUBDIR)/flex && \
10129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10131 "RANLIB=$${RANLIB}" \
10132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10133 mostlyclean) \
10134 || exit 1
10136 @endif flex
10138 .PHONY: maybe-clean-flex clean-flex
10139 maybe-clean-flex:
10140 @if flex
10141 maybe-clean-flex: clean-flex
10143 clean-flex:
10144 @: $(MAKE); $(unstage)
10145 @[ -f ./flex/Makefile ] || exit 0; \
10146 r=`${PWD_COMMAND}`; export r; \
10147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10148 $(HOST_EXPORTS) \
10149 for flag in $(EXTRA_HOST_FLAGS) ; do \
10150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10151 done; \
10152 echo "Doing clean in flex"; \
10153 (cd $(HOST_SUBDIR)/flex && \
10154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10156 "RANLIB=$${RANLIB}" \
10157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10158 clean) \
10159 || exit 1
10161 @endif flex
10163 .PHONY: maybe-distclean-flex distclean-flex
10164 maybe-distclean-flex:
10165 @if flex
10166 maybe-distclean-flex: distclean-flex
10168 distclean-flex:
10169 @: $(MAKE); $(unstage)
10170 @[ -f ./flex/Makefile ] || exit 0; \
10171 r=`${PWD_COMMAND}`; export r; \
10172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10173 $(HOST_EXPORTS) \
10174 for flag in $(EXTRA_HOST_FLAGS) ; do \
10175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10176 done; \
10177 echo "Doing distclean in flex"; \
10178 (cd $(HOST_SUBDIR)/flex && \
10179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10181 "RANLIB=$${RANLIB}" \
10182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10183 distclean) \
10184 || exit 1
10186 @endif flex
10188 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10189 maybe-maintainer-clean-flex:
10190 @if flex
10191 maybe-maintainer-clean-flex: maintainer-clean-flex
10193 maintainer-clean-flex:
10194 @: $(MAKE); $(unstage)
10195 @[ -f ./flex/Makefile ] || exit 0; \
10196 r=`${PWD_COMMAND}`; export r; \
10197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198 $(HOST_EXPORTS) \
10199 for flag in $(EXTRA_HOST_FLAGS) ; do \
10200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10201 done; \
10202 echo "Doing maintainer-clean in flex"; \
10203 (cd $(HOST_SUBDIR)/flex && \
10204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10206 "RANLIB=$${RANLIB}" \
10207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10208 maintainer-clean) \
10209 || exit 1
10211 @endif flex
10215 .PHONY: configure-gas maybe-configure-gas
10216 maybe-configure-gas:
10217 @if gcc-bootstrap
10218 configure-gas: stage_current
10219 @endif gcc-bootstrap
10220 @if gas
10221 maybe-configure-gas: configure-gas
10222 configure-gas:
10223 @r=`${PWD_COMMAND}`; export r; \
10224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10225 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10227 $(HOST_EXPORTS) \
10228 echo Configuring in $(HOST_SUBDIR)/gas; \
10229 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10230 case $(srcdir) in \
10231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10232 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10234 esac; \
10235 module_srcdir=gas; \
10236 $(SHELL) \
10237 $$s/$$module_srcdir/configure \
10238 --srcdir=$${topdir}/$$module_srcdir \
10239 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10240 --target=${target_alias} \
10241 || exit 1
10242 @endif gas
10246 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10247 maybe-configure-stage1-gas:
10248 @if gas-bootstrap
10249 maybe-configure-stage1-gas: configure-stage1-gas
10250 configure-stage1-gas:
10251 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10252 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10253 @r=`${PWD_COMMAND}`; export r; \
10254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10255 TFLAGS="$(STAGE1_TFLAGS)"; \
10256 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10257 $(HOST_EXPORTS) \
10258 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10259 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10260 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10261 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10263 cd $(HOST_SUBDIR)/gas || exit 1; \
10264 case $(srcdir) in \
10265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10266 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10268 esac; \
10269 module_srcdir=gas; \
10270 $(SHELL) $$s/$$module_srcdir/configure \
10271 --srcdir=$${topdir}/$$module_srcdir \
10272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10273 --target=${target_alias} \
10275 $(STAGE1_CONFIGURE_FLAGS)
10276 @endif gas-bootstrap
10278 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10279 maybe-configure-stage2-gas:
10280 @if gas-bootstrap
10281 maybe-configure-stage2-gas: configure-stage2-gas
10282 configure-stage2-gas:
10283 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10285 @r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 TFLAGS="$(STAGE2_TFLAGS)"; \
10288 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10289 $(HOST_EXPORTS) \
10290 $(POSTSTAGE1_HOST_EXPORTS) \
10291 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10292 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10293 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10294 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10296 cd $(HOST_SUBDIR)/gas || exit 1; \
10297 case $(srcdir) in \
10298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10299 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10301 esac; \
10302 module_srcdir=gas; \
10303 $(SHELL) $$s/$$module_srcdir/configure \
10304 --srcdir=$${topdir}/$$module_srcdir \
10305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10306 --target=${target_alias} \
10307 --with-build-libsubdir=$(HOST_SUBDIR) \
10308 $(STAGE2_CONFIGURE_FLAGS)
10309 @endif gas-bootstrap
10311 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10312 maybe-configure-stage3-gas:
10313 @if gas-bootstrap
10314 maybe-configure-stage3-gas: configure-stage3-gas
10315 configure-stage3-gas:
10316 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10318 @r=`${PWD_COMMAND}`; export r; \
10319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10320 TFLAGS="$(STAGE3_TFLAGS)"; \
10321 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10322 $(HOST_EXPORTS) \
10323 $(POSTSTAGE1_HOST_EXPORTS) \
10324 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10325 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10326 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10327 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10329 cd $(HOST_SUBDIR)/gas || exit 1; \
10330 case $(srcdir) in \
10331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10332 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10334 esac; \
10335 module_srcdir=gas; \
10336 $(SHELL) $$s/$$module_srcdir/configure \
10337 --srcdir=$${topdir}/$$module_srcdir \
10338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10339 --target=${target_alias} \
10340 --with-build-libsubdir=$(HOST_SUBDIR) \
10341 $(STAGE3_CONFIGURE_FLAGS)
10342 @endif gas-bootstrap
10344 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10345 maybe-configure-stage4-gas:
10346 @if gas-bootstrap
10347 maybe-configure-stage4-gas: configure-stage4-gas
10348 configure-stage4-gas:
10349 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10351 @r=`${PWD_COMMAND}`; export r; \
10352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10353 TFLAGS="$(STAGE4_TFLAGS)"; \
10354 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10355 $(HOST_EXPORTS) \
10356 $(POSTSTAGE1_HOST_EXPORTS) \
10357 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10358 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10359 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10360 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10362 cd $(HOST_SUBDIR)/gas || exit 1; \
10363 case $(srcdir) in \
10364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10365 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10367 esac; \
10368 module_srcdir=gas; \
10369 $(SHELL) $$s/$$module_srcdir/configure \
10370 --srcdir=$${topdir}/$$module_srcdir \
10371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10372 --target=${target_alias} \
10373 --with-build-libsubdir=$(HOST_SUBDIR) \
10374 $(STAGE4_CONFIGURE_FLAGS)
10375 @endif gas-bootstrap
10377 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10378 maybe-configure-stageprofile-gas:
10379 @if gas-bootstrap
10380 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10381 configure-stageprofile-gas:
10382 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10384 @r=`${PWD_COMMAND}`; export r; \
10385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10386 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10387 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10388 $(HOST_EXPORTS) \
10389 $(POSTSTAGE1_HOST_EXPORTS) \
10390 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10391 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10392 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10393 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10395 cd $(HOST_SUBDIR)/gas || exit 1; \
10396 case $(srcdir) in \
10397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10398 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10400 esac; \
10401 module_srcdir=gas; \
10402 $(SHELL) $$s/$$module_srcdir/configure \
10403 --srcdir=$${topdir}/$$module_srcdir \
10404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10405 --target=${target_alias} \
10406 --with-build-libsubdir=$(HOST_SUBDIR) \
10407 $(STAGEprofile_CONFIGURE_FLAGS)
10408 @endif gas-bootstrap
10410 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10411 maybe-configure-stagetrain-gas:
10412 @if gas-bootstrap
10413 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10414 configure-stagetrain-gas:
10415 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10416 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10417 @r=`${PWD_COMMAND}`; export r; \
10418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10419 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10420 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10421 $(HOST_EXPORTS) \
10422 $(POSTSTAGE1_HOST_EXPORTS) \
10423 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10424 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10425 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10426 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10428 cd $(HOST_SUBDIR)/gas || exit 1; \
10429 case $(srcdir) in \
10430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10431 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10433 esac; \
10434 module_srcdir=gas; \
10435 $(SHELL) $$s/$$module_srcdir/configure \
10436 --srcdir=$${topdir}/$$module_srcdir \
10437 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10438 --target=${target_alias} \
10439 --with-build-libsubdir=$(HOST_SUBDIR) \
10440 $(STAGEtrain_CONFIGURE_FLAGS)
10441 @endif gas-bootstrap
10443 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10444 maybe-configure-stagefeedback-gas:
10445 @if gas-bootstrap
10446 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10447 configure-stagefeedback-gas:
10448 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10449 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10450 @r=`${PWD_COMMAND}`; export r; \
10451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10452 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10453 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10454 $(HOST_EXPORTS) \
10455 $(POSTSTAGE1_HOST_EXPORTS) \
10456 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10457 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10458 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10459 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10461 cd $(HOST_SUBDIR)/gas || exit 1; \
10462 case $(srcdir) in \
10463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10464 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10466 esac; \
10467 module_srcdir=gas; \
10468 $(SHELL) $$s/$$module_srcdir/configure \
10469 --srcdir=$${topdir}/$$module_srcdir \
10470 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10471 --target=${target_alias} \
10472 --with-build-libsubdir=$(HOST_SUBDIR) \
10473 $(STAGEfeedback_CONFIGURE_FLAGS)
10474 @endif gas-bootstrap
10476 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10477 maybe-configure-stageautoprofile-gas:
10478 @if gas-bootstrap
10479 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10480 configure-stageautoprofile-gas:
10481 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10483 @r=`${PWD_COMMAND}`; export r; \
10484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10485 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10486 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10487 $(HOST_EXPORTS) \
10488 $(POSTSTAGE1_HOST_EXPORTS) \
10489 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10490 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10491 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10492 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10494 cd $(HOST_SUBDIR)/gas || exit 1; \
10495 case $(srcdir) in \
10496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10497 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10499 esac; \
10500 module_srcdir=gas; \
10501 $(SHELL) $$s/$$module_srcdir/configure \
10502 --srcdir=$${topdir}/$$module_srcdir \
10503 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10504 --target=${target_alias} \
10505 --with-build-libsubdir=$(HOST_SUBDIR) \
10506 $(STAGEautoprofile_CONFIGURE_FLAGS)
10507 @endif gas-bootstrap
10509 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10510 maybe-configure-stageautofeedback-gas:
10511 @if gas-bootstrap
10512 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10513 configure-stageautofeedback-gas:
10514 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10516 @r=`${PWD_COMMAND}`; export r; \
10517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10518 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10519 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10520 $(HOST_EXPORTS) \
10521 $(POSTSTAGE1_HOST_EXPORTS) \
10522 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10523 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10524 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10525 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10527 cd $(HOST_SUBDIR)/gas || exit 1; \
10528 case $(srcdir) in \
10529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10530 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10532 esac; \
10533 module_srcdir=gas; \
10534 $(SHELL) $$s/$$module_srcdir/configure \
10535 --srcdir=$${topdir}/$$module_srcdir \
10536 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10537 --target=${target_alias} \
10538 --with-build-libsubdir=$(HOST_SUBDIR) \
10539 $(STAGEautofeedback_CONFIGURE_FLAGS)
10540 @endif gas-bootstrap
10546 .PHONY: all-gas maybe-all-gas
10547 maybe-all-gas:
10548 @if gcc-bootstrap
10549 all-gas: stage_current
10550 @endif gcc-bootstrap
10551 @if gas
10552 TARGET-gas=all
10553 maybe-all-gas: all-gas
10554 all-gas: configure-gas
10555 @r=`${PWD_COMMAND}`; export r; \
10556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10557 $(HOST_EXPORTS) \
10558 (cd $(HOST_SUBDIR)/gas && \
10559 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10560 $(TARGET-gas))
10561 @endif gas
10565 .PHONY: all-stage1-gas maybe-all-stage1-gas
10566 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10567 maybe-all-stage1-gas:
10568 maybe-clean-stage1-gas:
10569 @if gas-bootstrap
10570 maybe-all-stage1-gas: all-stage1-gas
10571 all-stage1: all-stage1-gas
10572 TARGET-stage1-gas = $(TARGET-gas)
10573 all-stage1-gas: configure-stage1-gas
10574 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10575 @r=`${PWD_COMMAND}`; export r; \
10576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10577 TFLAGS="$(STAGE1_TFLAGS)"; \
10578 $(HOST_EXPORTS) \
10579 cd $(HOST_SUBDIR)/gas && \
10581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10582 CFLAGS="$(STAGE1_CFLAGS)" \
10583 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10584 LIBCFLAGS="$(LIBCFLAGS)" \
10585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10588 $(EXTRA_HOST_FLAGS) \
10589 $(STAGE1_FLAGS_TO_PASS) \
10590 TFLAGS="$(STAGE1_TFLAGS)" \
10591 $(TARGET-stage1-gas)
10593 maybe-clean-stage1-gas: clean-stage1-gas
10594 clean-stage1: clean-stage1-gas
10595 clean-stage1-gas:
10596 @if [ $(current_stage) = stage1 ]; then \
10597 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10598 else \
10599 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10600 $(MAKE) stage1-start; \
10601 fi; \
10602 cd $(HOST_SUBDIR)/gas && \
10603 $(MAKE) $(EXTRA_HOST_FLAGS) \
10604 $(STAGE1_FLAGS_TO_PASS) clean
10605 @endif gas-bootstrap
10608 .PHONY: all-stage2-gas maybe-all-stage2-gas
10609 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10610 maybe-all-stage2-gas:
10611 maybe-clean-stage2-gas:
10612 @if gas-bootstrap
10613 maybe-all-stage2-gas: all-stage2-gas
10614 all-stage2: all-stage2-gas
10615 TARGET-stage2-gas = $(TARGET-gas)
10616 all-stage2-gas: configure-stage2-gas
10617 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10618 @r=`${PWD_COMMAND}`; export r; \
10619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10620 TFLAGS="$(STAGE2_TFLAGS)"; \
10621 $(HOST_EXPORTS) \
10622 $(POSTSTAGE1_HOST_EXPORTS) \
10623 cd $(HOST_SUBDIR)/gas && \
10625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10626 CFLAGS="$(STAGE2_CFLAGS)" \
10627 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10628 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10633 TFLAGS="$(STAGE2_TFLAGS)" \
10634 $(TARGET-stage2-gas)
10636 maybe-clean-stage2-gas: clean-stage2-gas
10637 clean-stage2: clean-stage2-gas
10638 clean-stage2-gas:
10639 @if [ $(current_stage) = stage2 ]; then \
10640 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10641 else \
10642 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10643 $(MAKE) stage2-start; \
10644 fi; \
10645 cd $(HOST_SUBDIR)/gas && \
10646 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10647 @endif gas-bootstrap
10650 .PHONY: all-stage3-gas maybe-all-stage3-gas
10651 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10652 maybe-all-stage3-gas:
10653 maybe-clean-stage3-gas:
10654 @if gas-bootstrap
10655 maybe-all-stage3-gas: all-stage3-gas
10656 all-stage3: all-stage3-gas
10657 TARGET-stage3-gas = $(TARGET-gas)
10658 all-stage3-gas: configure-stage3-gas
10659 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10660 @r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10662 TFLAGS="$(STAGE3_TFLAGS)"; \
10663 $(HOST_EXPORTS) \
10664 $(POSTSTAGE1_HOST_EXPORTS) \
10665 cd $(HOST_SUBDIR)/gas && \
10667 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10668 CFLAGS="$(STAGE3_CFLAGS)" \
10669 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10670 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10671 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10672 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10673 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10674 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10675 TFLAGS="$(STAGE3_TFLAGS)" \
10676 $(TARGET-stage3-gas)
10678 maybe-clean-stage3-gas: clean-stage3-gas
10679 clean-stage3: clean-stage3-gas
10680 clean-stage3-gas:
10681 @if [ $(current_stage) = stage3 ]; then \
10682 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10683 else \
10684 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10685 $(MAKE) stage3-start; \
10686 fi; \
10687 cd $(HOST_SUBDIR)/gas && \
10688 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10689 @endif gas-bootstrap
10692 .PHONY: all-stage4-gas maybe-all-stage4-gas
10693 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10694 maybe-all-stage4-gas:
10695 maybe-clean-stage4-gas:
10696 @if gas-bootstrap
10697 maybe-all-stage4-gas: all-stage4-gas
10698 all-stage4: all-stage4-gas
10699 TARGET-stage4-gas = $(TARGET-gas)
10700 all-stage4-gas: configure-stage4-gas
10701 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10702 @r=`${PWD_COMMAND}`; export r; \
10703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10704 TFLAGS="$(STAGE4_TFLAGS)"; \
10705 $(HOST_EXPORTS) \
10706 $(POSTSTAGE1_HOST_EXPORTS) \
10707 cd $(HOST_SUBDIR)/gas && \
10709 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10710 CFLAGS="$(STAGE4_CFLAGS)" \
10711 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10712 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10713 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10714 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10715 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10716 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10717 TFLAGS="$(STAGE4_TFLAGS)" \
10718 $(TARGET-stage4-gas)
10720 maybe-clean-stage4-gas: clean-stage4-gas
10721 clean-stage4: clean-stage4-gas
10722 clean-stage4-gas:
10723 @if [ $(current_stage) = stage4 ]; then \
10724 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10725 else \
10726 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10727 $(MAKE) stage4-start; \
10728 fi; \
10729 cd $(HOST_SUBDIR)/gas && \
10730 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10731 @endif gas-bootstrap
10734 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10735 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10736 maybe-all-stageprofile-gas:
10737 maybe-clean-stageprofile-gas:
10738 @if gas-bootstrap
10739 maybe-all-stageprofile-gas: all-stageprofile-gas
10740 all-stageprofile: all-stageprofile-gas
10741 TARGET-stageprofile-gas = $(TARGET-gas)
10742 all-stageprofile-gas: configure-stageprofile-gas
10743 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10744 @r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10747 $(HOST_EXPORTS) \
10748 $(POSTSTAGE1_HOST_EXPORTS) \
10749 cd $(HOST_SUBDIR)/gas && \
10751 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10752 CFLAGS="$(STAGEprofile_CFLAGS)" \
10753 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10754 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10755 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10756 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10757 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10758 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10759 TFLAGS="$(STAGEprofile_TFLAGS)" \
10760 $(TARGET-stageprofile-gas)
10762 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10763 clean-stageprofile: clean-stageprofile-gas
10764 clean-stageprofile-gas:
10765 @if [ $(current_stage) = stageprofile ]; then \
10766 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10767 else \
10768 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10769 $(MAKE) stageprofile-start; \
10770 fi; \
10771 cd $(HOST_SUBDIR)/gas && \
10772 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10773 @endif gas-bootstrap
10776 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10777 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10778 maybe-all-stagetrain-gas:
10779 maybe-clean-stagetrain-gas:
10780 @if gas-bootstrap
10781 maybe-all-stagetrain-gas: all-stagetrain-gas
10782 all-stagetrain: all-stagetrain-gas
10783 TARGET-stagetrain-gas = $(TARGET-gas)
10784 all-stagetrain-gas: configure-stagetrain-gas
10785 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10786 @r=`${PWD_COMMAND}`; export r; \
10787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10788 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10789 $(HOST_EXPORTS) \
10790 $(POSTSTAGE1_HOST_EXPORTS) \
10791 cd $(HOST_SUBDIR)/gas && \
10793 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10794 CFLAGS="$(STAGEtrain_CFLAGS)" \
10795 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10796 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10797 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10798 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10799 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10800 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10801 TFLAGS="$(STAGEtrain_TFLAGS)" \
10802 $(TARGET-stagetrain-gas)
10804 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10805 clean-stagetrain: clean-stagetrain-gas
10806 clean-stagetrain-gas:
10807 @if [ $(current_stage) = stagetrain ]; then \
10808 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10809 else \
10810 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10811 $(MAKE) stagetrain-start; \
10812 fi; \
10813 cd $(HOST_SUBDIR)/gas && \
10814 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10815 @endif gas-bootstrap
10818 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10819 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10820 maybe-all-stagefeedback-gas:
10821 maybe-clean-stagefeedback-gas:
10822 @if gas-bootstrap
10823 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10824 all-stagefeedback: all-stagefeedback-gas
10825 TARGET-stagefeedback-gas = $(TARGET-gas)
10826 all-stagefeedback-gas: configure-stagefeedback-gas
10827 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10828 @r=`${PWD_COMMAND}`; export r; \
10829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10830 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10831 $(HOST_EXPORTS) \
10832 $(POSTSTAGE1_HOST_EXPORTS) \
10833 cd $(HOST_SUBDIR)/gas && \
10835 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10836 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10837 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10838 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10842 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10843 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10844 $(TARGET-stagefeedback-gas)
10846 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10847 clean-stagefeedback: clean-stagefeedback-gas
10848 clean-stagefeedback-gas:
10849 @if [ $(current_stage) = stagefeedback ]; then \
10850 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10851 else \
10852 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10853 $(MAKE) stagefeedback-start; \
10854 fi; \
10855 cd $(HOST_SUBDIR)/gas && \
10856 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10857 @endif gas-bootstrap
10860 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10861 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10862 maybe-all-stageautoprofile-gas:
10863 maybe-clean-stageautoprofile-gas:
10864 @if gas-bootstrap
10865 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10866 all-stageautoprofile: all-stageautoprofile-gas
10867 TARGET-stageautoprofile-gas = $(TARGET-gas)
10868 all-stageautoprofile-gas: configure-stageautoprofile-gas
10869 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10870 @r=`${PWD_COMMAND}`; export r; \
10871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10872 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10873 $(HOST_EXPORTS) \
10874 $(POSTSTAGE1_HOST_EXPORTS) \
10875 cd $(HOST_SUBDIR)/gas && \
10876 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10878 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10879 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10880 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10884 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10885 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10886 $(TARGET-stageautoprofile-gas)
10888 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10889 clean-stageautoprofile: clean-stageautoprofile-gas
10890 clean-stageautoprofile-gas:
10891 @if [ $(current_stage) = stageautoprofile ]; then \
10892 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10893 else \
10894 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10895 $(MAKE) stageautoprofile-start; \
10896 fi; \
10897 cd $(HOST_SUBDIR)/gas && \
10898 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10899 @endif gas-bootstrap
10902 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10903 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10904 maybe-all-stageautofeedback-gas:
10905 maybe-clean-stageautofeedback-gas:
10906 @if gas-bootstrap
10907 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10908 all-stageautofeedback: all-stageautofeedback-gas
10909 TARGET-stageautofeedback-gas = $(TARGET-gas)
10910 all-stageautofeedback-gas: configure-stageautofeedback-gas
10911 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10912 @r=`${PWD_COMMAND}`; export r; \
10913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10914 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10915 $(HOST_EXPORTS) \
10916 $(POSTSTAGE1_HOST_EXPORTS) \
10917 cd $(HOST_SUBDIR)/gas && \
10919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10920 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10921 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10922 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10923 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10924 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10925 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10926 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10927 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10928 $(TARGET-stageautofeedback-gas)
10930 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10931 clean-stageautofeedback: clean-stageautofeedback-gas
10932 clean-stageautofeedback-gas:
10933 @if [ $(current_stage) = stageautofeedback ]; then \
10934 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10935 else \
10936 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10937 $(MAKE) stageautofeedback-start; \
10938 fi; \
10939 cd $(HOST_SUBDIR)/gas && \
10940 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10941 @endif gas-bootstrap
10947 .PHONY: check-gas maybe-check-gas
10948 maybe-check-gas:
10949 @if gas
10950 maybe-check-gas: check-gas
10952 check-gas:
10953 @: $(MAKE); $(unstage)
10954 @r=`${PWD_COMMAND}`; export r; \
10955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10956 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10957 (cd $(HOST_SUBDIR)/gas && \
10958 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10960 @endif gas
10962 .PHONY: install-gas maybe-install-gas
10963 maybe-install-gas:
10964 @if gas
10965 maybe-install-gas: install-gas
10967 install-gas: installdirs
10968 @: $(MAKE); $(unstage)
10969 @r=`${PWD_COMMAND}`; export r; \
10970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10971 $(HOST_EXPORTS) \
10972 (cd $(HOST_SUBDIR)/gas && \
10973 $(MAKE) $(FLAGS_TO_PASS) install)
10975 @endif gas
10977 .PHONY: install-strip-gas maybe-install-strip-gas
10978 maybe-install-strip-gas:
10979 @if gas
10980 maybe-install-strip-gas: install-strip-gas
10982 install-strip-gas: installdirs
10983 @: $(MAKE); $(unstage)
10984 @r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(HOST_EXPORTS) \
10987 (cd $(HOST_SUBDIR)/gas && \
10988 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10990 @endif gas
10992 # Other targets (info, dvi, pdf, etc.)
10994 .PHONY: maybe-info-gas info-gas
10995 maybe-info-gas:
10996 @if gas
10997 maybe-info-gas: info-gas
10999 info-gas: \
11000 configure-gas
11001 @[ -f ./gas/Makefile ] || exit 0; \
11002 r=`${PWD_COMMAND}`; export r; \
11003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 $(HOST_EXPORTS) \
11005 for flag in $(EXTRA_HOST_FLAGS) ; do \
11006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11007 done; \
11008 echo "Doing info in gas"; \
11009 (cd $(HOST_SUBDIR)/gas && \
11010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11012 "RANLIB=$${RANLIB}" \
11013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11014 info) \
11015 || exit 1
11017 @endif gas
11019 .PHONY: maybe-dvi-gas dvi-gas
11020 maybe-dvi-gas:
11021 @if gas
11022 maybe-dvi-gas: dvi-gas
11024 dvi-gas: \
11025 configure-gas
11026 @[ -f ./gas/Makefile ] || exit 0; \
11027 r=`${PWD_COMMAND}`; export r; \
11028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11029 $(HOST_EXPORTS) \
11030 for flag in $(EXTRA_HOST_FLAGS) ; do \
11031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11032 done; \
11033 echo "Doing dvi in gas"; \
11034 (cd $(HOST_SUBDIR)/gas && \
11035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11037 "RANLIB=$${RANLIB}" \
11038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11039 dvi) \
11040 || exit 1
11042 @endif gas
11044 .PHONY: maybe-pdf-gas pdf-gas
11045 maybe-pdf-gas:
11046 @if gas
11047 maybe-pdf-gas: pdf-gas
11049 pdf-gas: \
11050 configure-gas
11051 @[ -f ./gas/Makefile ] || exit 0; \
11052 r=`${PWD_COMMAND}`; export r; \
11053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11054 $(HOST_EXPORTS) \
11055 for flag in $(EXTRA_HOST_FLAGS) ; do \
11056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11057 done; \
11058 echo "Doing pdf in gas"; \
11059 (cd $(HOST_SUBDIR)/gas && \
11060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11062 "RANLIB=$${RANLIB}" \
11063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11064 pdf) \
11065 || exit 1
11067 @endif gas
11069 .PHONY: maybe-html-gas html-gas
11070 maybe-html-gas:
11071 @if gas
11072 maybe-html-gas: html-gas
11074 html-gas: \
11075 configure-gas
11076 @[ -f ./gas/Makefile ] || exit 0; \
11077 r=`${PWD_COMMAND}`; export r; \
11078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11079 $(HOST_EXPORTS) \
11080 for flag in $(EXTRA_HOST_FLAGS) ; do \
11081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11082 done; \
11083 echo "Doing html in gas"; \
11084 (cd $(HOST_SUBDIR)/gas && \
11085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11087 "RANLIB=$${RANLIB}" \
11088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11089 html) \
11090 || exit 1
11092 @endif gas
11094 .PHONY: maybe-TAGS-gas TAGS-gas
11095 maybe-TAGS-gas:
11096 @if gas
11097 maybe-TAGS-gas: TAGS-gas
11099 TAGS-gas: \
11100 configure-gas
11101 @[ -f ./gas/Makefile ] || exit 0; \
11102 r=`${PWD_COMMAND}`; export r; \
11103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11104 $(HOST_EXPORTS) \
11105 for flag in $(EXTRA_HOST_FLAGS) ; do \
11106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11107 done; \
11108 echo "Doing TAGS in gas"; \
11109 (cd $(HOST_SUBDIR)/gas && \
11110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11112 "RANLIB=$${RANLIB}" \
11113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11114 TAGS) \
11115 || exit 1
11117 @endif gas
11119 .PHONY: maybe-install-info-gas install-info-gas
11120 maybe-install-info-gas:
11121 @if gas
11122 maybe-install-info-gas: install-info-gas
11124 install-info-gas: \
11125 configure-gas \
11126 info-gas
11127 @[ -f ./gas/Makefile ] || exit 0; \
11128 r=`${PWD_COMMAND}`; export r; \
11129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11130 $(HOST_EXPORTS) \
11131 for flag in $(EXTRA_HOST_FLAGS) ; do \
11132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11133 done; \
11134 echo "Doing install-info in gas"; \
11135 (cd $(HOST_SUBDIR)/gas && \
11136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11138 "RANLIB=$${RANLIB}" \
11139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11140 install-info) \
11141 || exit 1
11143 @endif gas
11145 .PHONY: maybe-install-pdf-gas install-pdf-gas
11146 maybe-install-pdf-gas:
11147 @if gas
11148 maybe-install-pdf-gas: install-pdf-gas
11150 install-pdf-gas: \
11151 configure-gas \
11152 pdf-gas
11153 @[ -f ./gas/Makefile ] || exit 0; \
11154 r=`${PWD_COMMAND}`; export r; \
11155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11156 $(HOST_EXPORTS) \
11157 for flag in $(EXTRA_HOST_FLAGS) ; do \
11158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11159 done; \
11160 echo "Doing install-pdf in gas"; \
11161 (cd $(HOST_SUBDIR)/gas && \
11162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11164 "RANLIB=$${RANLIB}" \
11165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11166 install-pdf) \
11167 || exit 1
11169 @endif gas
11171 .PHONY: maybe-install-html-gas install-html-gas
11172 maybe-install-html-gas:
11173 @if gas
11174 maybe-install-html-gas: install-html-gas
11176 install-html-gas: \
11177 configure-gas \
11178 html-gas
11179 @[ -f ./gas/Makefile ] || exit 0; \
11180 r=`${PWD_COMMAND}`; export r; \
11181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11182 $(HOST_EXPORTS) \
11183 for flag in $(EXTRA_HOST_FLAGS) ; do \
11184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11185 done; \
11186 echo "Doing install-html in gas"; \
11187 (cd $(HOST_SUBDIR)/gas && \
11188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11190 "RANLIB=$${RANLIB}" \
11191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11192 install-html) \
11193 || exit 1
11195 @endif gas
11197 .PHONY: maybe-installcheck-gas installcheck-gas
11198 maybe-installcheck-gas:
11199 @if gas
11200 maybe-installcheck-gas: installcheck-gas
11202 installcheck-gas: \
11203 configure-gas
11204 @[ -f ./gas/Makefile ] || exit 0; \
11205 r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 $(HOST_EXPORTS) \
11208 for flag in $(EXTRA_HOST_FLAGS) ; do \
11209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 done; \
11211 echo "Doing installcheck in gas"; \
11212 (cd $(HOST_SUBDIR)/gas && \
11213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11215 "RANLIB=$${RANLIB}" \
11216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11217 installcheck) \
11218 || exit 1
11220 @endif gas
11222 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11223 maybe-mostlyclean-gas:
11224 @if gas
11225 maybe-mostlyclean-gas: mostlyclean-gas
11227 mostlyclean-gas:
11228 @[ -f ./gas/Makefile ] || exit 0; \
11229 r=`${PWD_COMMAND}`; export r; \
11230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11231 $(HOST_EXPORTS) \
11232 for flag in $(EXTRA_HOST_FLAGS) ; do \
11233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11234 done; \
11235 echo "Doing mostlyclean in gas"; \
11236 (cd $(HOST_SUBDIR)/gas && \
11237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11239 "RANLIB=$${RANLIB}" \
11240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11241 mostlyclean) \
11242 || exit 1
11244 @endif gas
11246 .PHONY: maybe-clean-gas clean-gas
11247 maybe-clean-gas:
11248 @if gas
11249 maybe-clean-gas: clean-gas
11251 clean-gas:
11252 @[ -f ./gas/Makefile ] || exit 0; \
11253 r=`${PWD_COMMAND}`; export r; \
11254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255 $(HOST_EXPORTS) \
11256 for flag in $(EXTRA_HOST_FLAGS) ; do \
11257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11258 done; \
11259 echo "Doing clean in gas"; \
11260 (cd $(HOST_SUBDIR)/gas && \
11261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11263 "RANLIB=$${RANLIB}" \
11264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11265 clean) \
11266 || exit 1
11268 @endif gas
11270 .PHONY: maybe-distclean-gas distclean-gas
11271 maybe-distclean-gas:
11272 @if gas
11273 maybe-distclean-gas: distclean-gas
11275 distclean-gas:
11276 @[ -f ./gas/Makefile ] || exit 0; \
11277 r=`${PWD_COMMAND}`; export r; \
11278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11279 $(HOST_EXPORTS) \
11280 for flag in $(EXTRA_HOST_FLAGS) ; do \
11281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11282 done; \
11283 echo "Doing distclean in gas"; \
11284 (cd $(HOST_SUBDIR)/gas && \
11285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11287 "RANLIB=$${RANLIB}" \
11288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11289 distclean) \
11290 || exit 1
11292 @endif gas
11294 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11295 maybe-maintainer-clean-gas:
11296 @if gas
11297 maybe-maintainer-clean-gas: maintainer-clean-gas
11299 maintainer-clean-gas:
11300 @[ -f ./gas/Makefile ] || exit 0; \
11301 r=`${PWD_COMMAND}`; export r; \
11302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11303 $(HOST_EXPORTS) \
11304 for flag in $(EXTRA_HOST_FLAGS) ; do \
11305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11306 done; \
11307 echo "Doing maintainer-clean in gas"; \
11308 (cd $(HOST_SUBDIR)/gas && \
11309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11311 "RANLIB=$${RANLIB}" \
11312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11313 maintainer-clean) \
11314 || exit 1
11316 @endif gas
11320 .PHONY: configure-gcc maybe-configure-gcc
11321 maybe-configure-gcc:
11322 @if gcc-bootstrap
11323 configure-gcc: stage_current
11324 @endif gcc-bootstrap
11325 @if gcc
11326 maybe-configure-gcc: configure-gcc
11327 configure-gcc:
11328 @r=`${PWD_COMMAND}`; export r; \
11329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11330 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11332 $(HOST_EXPORTS) \
11333 echo Configuring in $(HOST_SUBDIR)/gcc; \
11334 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11335 case $(srcdir) in \
11336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11337 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11339 esac; \
11340 module_srcdir=gcc; \
11341 $(SHELL) \
11342 $$s/$$module_srcdir/configure \
11343 --srcdir=$${topdir}/$$module_srcdir \
11344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11345 --target=${target_alias} \
11346 || exit 1
11347 @endif gcc
11351 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11352 maybe-configure-stage1-gcc:
11353 @if gcc-bootstrap
11354 maybe-configure-stage1-gcc: configure-stage1-gcc
11355 configure-stage1-gcc:
11356 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11357 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11358 @r=`${PWD_COMMAND}`; export r; \
11359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11360 TFLAGS="$(STAGE1_TFLAGS)"; \
11361 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11362 $(HOST_EXPORTS) \
11363 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11364 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11365 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11366 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11368 cd $(HOST_SUBDIR)/gcc || exit 1; \
11369 case $(srcdir) in \
11370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11371 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11373 esac; \
11374 module_srcdir=gcc; \
11375 $(SHELL) $$s/$$module_srcdir/configure \
11376 --srcdir=$${topdir}/$$module_srcdir \
11377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11378 --target=${target_alias} \
11380 $(STAGE1_CONFIGURE_FLAGS)
11381 @endif gcc-bootstrap
11383 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11384 maybe-configure-stage2-gcc:
11385 @if gcc-bootstrap
11386 maybe-configure-stage2-gcc: configure-stage2-gcc
11387 configure-stage2-gcc:
11388 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11390 @r=`${PWD_COMMAND}`; export r; \
11391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11392 TFLAGS="$(STAGE2_TFLAGS)"; \
11393 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11394 $(HOST_EXPORTS) \
11395 $(POSTSTAGE1_HOST_EXPORTS) \
11396 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11397 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11398 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11399 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11401 cd $(HOST_SUBDIR)/gcc || exit 1; \
11402 case $(srcdir) in \
11403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11404 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11406 esac; \
11407 module_srcdir=gcc; \
11408 $(SHELL) $$s/$$module_srcdir/configure \
11409 --srcdir=$${topdir}/$$module_srcdir \
11410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11411 --target=${target_alias} \
11412 --with-build-libsubdir=$(HOST_SUBDIR) \
11413 $(STAGE2_CONFIGURE_FLAGS)
11414 @endif gcc-bootstrap
11416 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11417 maybe-configure-stage3-gcc:
11418 @if gcc-bootstrap
11419 maybe-configure-stage3-gcc: configure-stage3-gcc
11420 configure-stage3-gcc:
11421 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11423 @r=`${PWD_COMMAND}`; export r; \
11424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11425 TFLAGS="$(STAGE3_TFLAGS)"; \
11426 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11427 $(HOST_EXPORTS) \
11428 $(POSTSTAGE1_HOST_EXPORTS) \
11429 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11430 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11431 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11432 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11434 cd $(HOST_SUBDIR)/gcc || exit 1; \
11435 case $(srcdir) in \
11436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11437 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11439 esac; \
11440 module_srcdir=gcc; \
11441 $(SHELL) $$s/$$module_srcdir/configure \
11442 --srcdir=$${topdir}/$$module_srcdir \
11443 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11444 --target=${target_alias} \
11445 --with-build-libsubdir=$(HOST_SUBDIR) \
11446 $(STAGE3_CONFIGURE_FLAGS)
11447 @endif gcc-bootstrap
11449 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11450 maybe-configure-stage4-gcc:
11451 @if gcc-bootstrap
11452 maybe-configure-stage4-gcc: configure-stage4-gcc
11453 configure-stage4-gcc:
11454 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11456 @r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 TFLAGS="$(STAGE4_TFLAGS)"; \
11459 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11460 $(HOST_EXPORTS) \
11461 $(POSTSTAGE1_HOST_EXPORTS) \
11462 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11463 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11464 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11465 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11467 cd $(HOST_SUBDIR)/gcc || exit 1; \
11468 case $(srcdir) in \
11469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11470 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11472 esac; \
11473 module_srcdir=gcc; \
11474 $(SHELL) $$s/$$module_srcdir/configure \
11475 --srcdir=$${topdir}/$$module_srcdir \
11476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11477 --target=${target_alias} \
11478 --with-build-libsubdir=$(HOST_SUBDIR) \
11479 $(STAGE4_CONFIGURE_FLAGS)
11480 @endif gcc-bootstrap
11482 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11483 maybe-configure-stageprofile-gcc:
11484 @if gcc-bootstrap
11485 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11486 configure-stageprofile-gcc:
11487 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11489 @r=`${PWD_COMMAND}`; export r; \
11490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11491 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11492 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11493 $(HOST_EXPORTS) \
11494 $(POSTSTAGE1_HOST_EXPORTS) \
11495 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11496 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11497 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11498 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11500 cd $(HOST_SUBDIR)/gcc || exit 1; \
11501 case $(srcdir) in \
11502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11503 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11505 esac; \
11506 module_srcdir=gcc; \
11507 $(SHELL) $$s/$$module_srcdir/configure \
11508 --srcdir=$${topdir}/$$module_srcdir \
11509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11510 --target=${target_alias} \
11511 --with-build-libsubdir=$(HOST_SUBDIR) \
11512 $(STAGEprofile_CONFIGURE_FLAGS)
11513 @endif gcc-bootstrap
11515 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11516 maybe-configure-stagetrain-gcc:
11517 @if gcc-bootstrap
11518 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11519 configure-stagetrain-gcc:
11520 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11521 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11522 @r=`${PWD_COMMAND}`; export r; \
11523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11524 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11525 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11526 $(HOST_EXPORTS) \
11527 $(POSTSTAGE1_HOST_EXPORTS) \
11528 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11529 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11530 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11531 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11533 cd $(HOST_SUBDIR)/gcc || exit 1; \
11534 case $(srcdir) in \
11535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11536 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11538 esac; \
11539 module_srcdir=gcc; \
11540 $(SHELL) $$s/$$module_srcdir/configure \
11541 --srcdir=$${topdir}/$$module_srcdir \
11542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11543 --target=${target_alias} \
11544 --with-build-libsubdir=$(HOST_SUBDIR) \
11545 $(STAGEtrain_CONFIGURE_FLAGS)
11546 @endif gcc-bootstrap
11548 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11549 maybe-configure-stagefeedback-gcc:
11550 @if gcc-bootstrap
11551 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11552 configure-stagefeedback-gcc:
11553 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11555 @r=`${PWD_COMMAND}`; export r; \
11556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11558 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11559 $(HOST_EXPORTS) \
11560 $(POSTSTAGE1_HOST_EXPORTS) \
11561 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11562 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11563 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11564 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11566 cd $(HOST_SUBDIR)/gcc || exit 1; \
11567 case $(srcdir) in \
11568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11569 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11571 esac; \
11572 module_srcdir=gcc; \
11573 $(SHELL) $$s/$$module_srcdir/configure \
11574 --srcdir=$${topdir}/$$module_srcdir \
11575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11576 --target=${target_alias} \
11577 --with-build-libsubdir=$(HOST_SUBDIR) \
11578 $(STAGEfeedback_CONFIGURE_FLAGS)
11579 @endif gcc-bootstrap
11581 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11582 maybe-configure-stageautoprofile-gcc:
11583 @if gcc-bootstrap
11584 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11585 configure-stageautoprofile-gcc:
11586 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11588 @r=`${PWD_COMMAND}`; export r; \
11589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11590 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11591 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11592 $(HOST_EXPORTS) \
11593 $(POSTSTAGE1_HOST_EXPORTS) \
11594 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11595 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11596 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11597 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11599 cd $(HOST_SUBDIR)/gcc || exit 1; \
11600 case $(srcdir) in \
11601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11602 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11604 esac; \
11605 module_srcdir=gcc; \
11606 $(SHELL) $$s/$$module_srcdir/configure \
11607 --srcdir=$${topdir}/$$module_srcdir \
11608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11609 --target=${target_alias} \
11610 --with-build-libsubdir=$(HOST_SUBDIR) \
11611 $(STAGEautoprofile_CONFIGURE_FLAGS)
11612 @endif gcc-bootstrap
11614 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11615 maybe-configure-stageautofeedback-gcc:
11616 @if gcc-bootstrap
11617 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11618 configure-stageautofeedback-gcc:
11619 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11621 @r=`${PWD_COMMAND}`; export r; \
11622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11624 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11625 $(HOST_EXPORTS) \
11626 $(POSTSTAGE1_HOST_EXPORTS) \
11627 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11628 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11629 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11630 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11632 cd $(HOST_SUBDIR)/gcc || exit 1; \
11633 case $(srcdir) in \
11634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11635 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11637 esac; \
11638 module_srcdir=gcc; \
11639 $(SHELL) $$s/$$module_srcdir/configure \
11640 --srcdir=$${topdir}/$$module_srcdir \
11641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11642 --target=${target_alias} \
11643 --with-build-libsubdir=$(HOST_SUBDIR) \
11644 $(STAGEautofeedback_CONFIGURE_FLAGS)
11645 @endif gcc-bootstrap
11651 .PHONY: all-gcc maybe-all-gcc
11652 maybe-all-gcc:
11653 @if gcc-bootstrap
11654 all-gcc: stage_current
11655 @endif gcc-bootstrap
11656 @if gcc
11657 TARGET-gcc=all
11658 maybe-all-gcc: all-gcc
11659 all-gcc: configure-gcc
11660 @r=`${PWD_COMMAND}`; export r; \
11661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11662 $(HOST_EXPORTS) \
11663 (cd $(HOST_SUBDIR)/gcc && \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11665 $(TARGET-gcc))
11666 @endif gcc
11670 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11671 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11672 maybe-all-stage1-gcc:
11673 maybe-clean-stage1-gcc:
11674 @if gcc-bootstrap
11675 maybe-all-stage1-gcc: all-stage1-gcc
11676 all-stage1: all-stage1-gcc
11677 TARGET-stage1-gcc = $(TARGET-gcc)
11678 all-stage1-gcc: configure-stage1-gcc
11679 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11680 @r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 TFLAGS="$(STAGE1_TFLAGS)"; \
11683 $(HOST_EXPORTS) \
11684 cd $(HOST_SUBDIR)/gcc && \
11686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11687 CFLAGS="$(STAGE1_CFLAGS)" \
11688 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11689 LIBCFLAGS="$(LIBCFLAGS)" \
11690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11693 $(EXTRA_HOST_FLAGS) \
11694 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11695 TFLAGS="$(STAGE1_TFLAGS)" \
11696 $(TARGET-stage1-gcc)
11698 maybe-clean-stage1-gcc: clean-stage1-gcc
11699 clean-stage1: clean-stage1-gcc
11700 clean-stage1-gcc:
11701 @if [ $(current_stage) = stage1 ]; then \
11702 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11703 else \
11704 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11705 $(MAKE) stage1-start; \
11706 fi; \
11707 cd $(HOST_SUBDIR)/gcc && \
11708 $(MAKE) $(EXTRA_HOST_FLAGS) \
11709 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11710 @endif gcc-bootstrap
11713 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11714 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11715 maybe-all-stage2-gcc:
11716 maybe-clean-stage2-gcc:
11717 @if gcc-bootstrap
11718 maybe-all-stage2-gcc: all-stage2-gcc
11719 all-stage2: all-stage2-gcc
11720 TARGET-stage2-gcc = $(TARGET-gcc)
11721 all-stage2-gcc: configure-stage2-gcc
11722 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11723 @r=`${PWD_COMMAND}`; export r; \
11724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11725 TFLAGS="$(STAGE2_TFLAGS)"; \
11726 $(HOST_EXPORTS) \
11727 $(POSTSTAGE1_HOST_EXPORTS) \
11728 cd $(HOST_SUBDIR)/gcc && \
11730 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11731 CFLAGS="$(STAGE2_CFLAGS)" \
11732 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11733 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11734 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11735 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11736 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11737 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11738 TFLAGS="$(STAGE2_TFLAGS)" \
11739 $(TARGET-stage2-gcc)
11741 maybe-clean-stage2-gcc: clean-stage2-gcc
11742 clean-stage2: clean-stage2-gcc
11743 clean-stage2-gcc:
11744 @if [ $(current_stage) = stage2 ]; then \
11745 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11746 else \
11747 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11748 $(MAKE) stage2-start; \
11749 fi; \
11750 cd $(HOST_SUBDIR)/gcc && \
11751 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11752 @endif gcc-bootstrap
11755 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11756 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11757 maybe-all-stage3-gcc:
11758 maybe-clean-stage3-gcc:
11759 @if gcc-bootstrap
11760 maybe-all-stage3-gcc: all-stage3-gcc
11761 all-stage3: all-stage3-gcc
11762 TARGET-stage3-gcc = $(TARGET-gcc)
11763 all-stage3-gcc: configure-stage3-gcc
11764 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11765 @r=`${PWD_COMMAND}`; export r; \
11766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11767 TFLAGS="$(STAGE3_TFLAGS)"; \
11768 $(HOST_EXPORTS) \
11769 $(POSTSTAGE1_HOST_EXPORTS) \
11770 cd $(HOST_SUBDIR)/gcc && \
11772 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11773 CFLAGS="$(STAGE3_CFLAGS)" \
11774 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11775 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11776 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11777 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11778 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11779 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11780 TFLAGS="$(STAGE3_TFLAGS)" \
11781 $(TARGET-stage3-gcc)
11783 maybe-clean-stage3-gcc: clean-stage3-gcc
11784 clean-stage3: clean-stage3-gcc
11785 clean-stage3-gcc:
11786 @if [ $(current_stage) = stage3 ]; then \
11787 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11788 else \
11789 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11790 $(MAKE) stage3-start; \
11791 fi; \
11792 cd $(HOST_SUBDIR)/gcc && \
11793 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11794 @endif gcc-bootstrap
11797 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11798 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11799 maybe-all-stage4-gcc:
11800 maybe-clean-stage4-gcc:
11801 @if gcc-bootstrap
11802 maybe-all-stage4-gcc: all-stage4-gcc
11803 all-stage4: all-stage4-gcc
11804 TARGET-stage4-gcc = $(TARGET-gcc)
11805 all-stage4-gcc: configure-stage4-gcc
11806 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11807 @r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 TFLAGS="$(STAGE4_TFLAGS)"; \
11810 $(HOST_EXPORTS) \
11811 $(POSTSTAGE1_HOST_EXPORTS) \
11812 cd $(HOST_SUBDIR)/gcc && \
11814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11815 CFLAGS="$(STAGE4_CFLAGS)" \
11816 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11817 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11818 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11819 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11820 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11821 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11822 TFLAGS="$(STAGE4_TFLAGS)" \
11823 $(TARGET-stage4-gcc)
11825 maybe-clean-stage4-gcc: clean-stage4-gcc
11826 clean-stage4: clean-stage4-gcc
11827 clean-stage4-gcc:
11828 @if [ $(current_stage) = stage4 ]; then \
11829 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11830 else \
11831 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11832 $(MAKE) stage4-start; \
11833 fi; \
11834 cd $(HOST_SUBDIR)/gcc && \
11835 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11836 @endif gcc-bootstrap
11839 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11840 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11841 maybe-all-stageprofile-gcc:
11842 maybe-clean-stageprofile-gcc:
11843 @if gcc-bootstrap
11844 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11845 all-stageprofile: all-stageprofile-gcc
11846 TARGET-stageprofile-gcc = $(TARGET-gcc)
11847 all-stageprofile-gcc: configure-stageprofile-gcc
11848 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11849 @r=`${PWD_COMMAND}`; export r; \
11850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11851 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11852 $(HOST_EXPORTS) \
11853 $(POSTSTAGE1_HOST_EXPORTS) \
11854 cd $(HOST_SUBDIR)/gcc && \
11856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11857 CFLAGS="$(STAGEprofile_CFLAGS)" \
11858 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11859 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11863 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11864 TFLAGS="$(STAGEprofile_TFLAGS)" \
11865 $(TARGET-stageprofile-gcc)
11867 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11868 clean-stageprofile: clean-stageprofile-gcc
11869 clean-stageprofile-gcc:
11870 @if [ $(current_stage) = stageprofile ]; then \
11871 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11872 else \
11873 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11874 $(MAKE) stageprofile-start; \
11875 fi; \
11876 cd $(HOST_SUBDIR)/gcc && \
11877 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11878 @endif gcc-bootstrap
11881 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
11882 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
11883 maybe-all-stagetrain-gcc:
11884 maybe-clean-stagetrain-gcc:
11885 @if gcc-bootstrap
11886 maybe-all-stagetrain-gcc: all-stagetrain-gcc
11887 all-stagetrain: all-stagetrain-gcc
11888 TARGET-stagetrain-gcc = $(TARGET-gcc)
11889 all-stagetrain-gcc: configure-stagetrain-gcc
11890 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11891 @r=`${PWD_COMMAND}`; export r; \
11892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11893 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11894 $(HOST_EXPORTS) \
11895 $(POSTSTAGE1_HOST_EXPORTS) \
11896 cd $(HOST_SUBDIR)/gcc && \
11898 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11899 CFLAGS="$(STAGEtrain_CFLAGS)" \
11900 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11901 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11902 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11903 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11904 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11905 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11906 TFLAGS="$(STAGEtrain_TFLAGS)" \
11907 $(TARGET-stagetrain-gcc)
11909 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
11910 clean-stagetrain: clean-stagetrain-gcc
11911 clean-stagetrain-gcc:
11912 @if [ $(current_stage) = stagetrain ]; then \
11913 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11914 else \
11915 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
11916 $(MAKE) stagetrain-start; \
11917 fi; \
11918 cd $(HOST_SUBDIR)/gcc && \
11919 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11920 @endif gcc-bootstrap
11923 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11924 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11925 maybe-all-stagefeedback-gcc:
11926 maybe-clean-stagefeedback-gcc:
11927 @if gcc-bootstrap
11928 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11929 all-stagefeedback: all-stagefeedback-gcc
11930 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11931 all-stagefeedback-gcc: configure-stagefeedback-gcc
11932 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11933 @r=`${PWD_COMMAND}`; export r; \
11934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11935 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11936 $(HOST_EXPORTS) \
11937 $(POSTSTAGE1_HOST_EXPORTS) \
11938 cd $(HOST_SUBDIR)/gcc && \
11940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11941 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11942 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11943 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11948 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11949 $(TARGET-stagefeedback-gcc)
11951 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11952 clean-stagefeedback: clean-stagefeedback-gcc
11953 clean-stagefeedback-gcc:
11954 @if [ $(current_stage) = stagefeedback ]; then \
11955 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11956 else \
11957 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
11958 $(MAKE) stagefeedback-start; \
11959 fi; \
11960 cd $(HOST_SUBDIR)/gcc && \
11961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11962 @endif gcc-bootstrap
11965 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
11966 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
11967 maybe-all-stageautoprofile-gcc:
11968 maybe-clean-stageautoprofile-gcc:
11969 @if gcc-bootstrap
11970 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
11971 all-stageautoprofile: all-stageautoprofile-gcc
11972 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
11973 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
11974 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11975 @r=`${PWD_COMMAND}`; export r; \
11976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11977 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11978 $(HOST_EXPORTS) \
11979 $(POSTSTAGE1_HOST_EXPORTS) \
11980 cd $(HOST_SUBDIR)/gcc && \
11981 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11983 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11984 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11985 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11989 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11990 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11991 $(TARGET-stageautoprofile-gcc)
11993 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
11994 clean-stageautoprofile: clean-stageautoprofile-gcc
11995 clean-stageautoprofile-gcc:
11996 @if [ $(current_stage) = stageautoprofile ]; then \
11997 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11998 else \
11999 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12000 $(MAKE) stageautoprofile-start; \
12001 fi; \
12002 cd $(HOST_SUBDIR)/gcc && \
12003 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12004 @endif gcc-bootstrap
12007 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12008 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12009 maybe-all-stageautofeedback-gcc:
12010 maybe-clean-stageautofeedback-gcc:
12011 @if gcc-bootstrap
12012 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12013 all-stageautofeedback: all-stageautofeedback-gcc
12014 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12015 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12016 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12017 @r=`${PWD_COMMAND}`; export r; \
12018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12019 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12020 $(HOST_EXPORTS) \
12021 $(POSTSTAGE1_HOST_EXPORTS) \
12022 cd $(HOST_SUBDIR)/gcc && \
12024 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12025 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12026 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12027 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12028 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12029 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12030 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12031 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12032 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12033 $(TARGET-stageautofeedback-gcc)
12035 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12036 clean-stageautofeedback: clean-stageautofeedback-gcc
12037 clean-stageautofeedback-gcc:
12038 @if [ $(current_stage) = stageautofeedback ]; then \
12039 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12040 else \
12041 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12042 $(MAKE) stageautofeedback-start; \
12043 fi; \
12044 cd $(HOST_SUBDIR)/gcc && \
12045 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12046 @endif gcc-bootstrap
12052 .PHONY: check-gcc maybe-check-gcc
12053 maybe-check-gcc:
12054 @if gcc
12055 maybe-check-gcc: check-gcc
12057 check-gcc:
12058 @: $(MAKE); $(unstage)
12059 @r=`${PWD_COMMAND}`; export r; \
12060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12061 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12062 (cd $(HOST_SUBDIR)/gcc && \
12063 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12065 @endif gcc
12067 .PHONY: install-gcc maybe-install-gcc
12068 maybe-install-gcc:
12069 @if gcc
12070 maybe-install-gcc: install-gcc
12072 install-gcc: installdirs
12073 @: $(MAKE); $(unstage)
12074 @r=`${PWD_COMMAND}`; export r; \
12075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12076 $(HOST_EXPORTS) \
12077 (cd $(HOST_SUBDIR)/gcc && \
12078 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12080 @endif gcc
12082 .PHONY: install-strip-gcc maybe-install-strip-gcc
12083 maybe-install-strip-gcc:
12084 @if gcc
12085 maybe-install-strip-gcc: install-strip-gcc
12087 install-strip-gcc: installdirs
12088 @: $(MAKE); $(unstage)
12089 @r=`${PWD_COMMAND}`; export r; \
12090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12091 $(HOST_EXPORTS) \
12092 (cd $(HOST_SUBDIR)/gcc && \
12093 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12095 @endif gcc
12097 # Other targets (info, dvi, pdf, etc.)
12099 .PHONY: maybe-info-gcc info-gcc
12100 maybe-info-gcc:
12101 @if gcc
12102 maybe-info-gcc: info-gcc
12104 info-gcc: \
12105 configure-gcc
12106 @[ -f ./gcc/Makefile ] || exit 0; \
12107 r=`${PWD_COMMAND}`; export r; \
12108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12109 $(HOST_EXPORTS) \
12110 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12112 done; \
12113 echo "Doing info in gcc"; \
12114 (cd $(HOST_SUBDIR)/gcc && \
12115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12117 "RANLIB=$${RANLIB}" \
12118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12119 info) \
12120 || exit 1
12122 @endif gcc
12124 .PHONY: maybe-dvi-gcc dvi-gcc
12125 maybe-dvi-gcc:
12126 @if gcc
12127 maybe-dvi-gcc: dvi-gcc
12129 dvi-gcc: \
12130 configure-gcc
12131 @[ -f ./gcc/Makefile ] || exit 0; \
12132 r=`${PWD_COMMAND}`; export r; \
12133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12134 $(HOST_EXPORTS) \
12135 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12137 done; \
12138 echo "Doing dvi in gcc"; \
12139 (cd $(HOST_SUBDIR)/gcc && \
12140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12142 "RANLIB=$${RANLIB}" \
12143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12144 dvi) \
12145 || exit 1
12147 @endif gcc
12149 .PHONY: maybe-pdf-gcc pdf-gcc
12150 maybe-pdf-gcc:
12151 @if gcc
12152 maybe-pdf-gcc: pdf-gcc
12154 pdf-gcc: \
12155 configure-gcc
12156 @[ -f ./gcc/Makefile ] || exit 0; \
12157 r=`${PWD_COMMAND}`; export r; \
12158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12159 $(HOST_EXPORTS) \
12160 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12162 done; \
12163 echo "Doing pdf in gcc"; \
12164 (cd $(HOST_SUBDIR)/gcc && \
12165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12167 "RANLIB=$${RANLIB}" \
12168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12169 pdf) \
12170 || exit 1
12172 @endif gcc
12174 .PHONY: maybe-html-gcc html-gcc
12175 maybe-html-gcc:
12176 @if gcc
12177 maybe-html-gcc: html-gcc
12179 html-gcc: \
12180 configure-gcc
12181 @[ -f ./gcc/Makefile ] || exit 0; \
12182 r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 $(HOST_EXPORTS) \
12185 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12187 done; \
12188 echo "Doing html in gcc"; \
12189 (cd $(HOST_SUBDIR)/gcc && \
12190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12192 "RANLIB=$${RANLIB}" \
12193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12194 html) \
12195 || exit 1
12197 @endif gcc
12199 .PHONY: maybe-TAGS-gcc TAGS-gcc
12200 maybe-TAGS-gcc:
12201 @if gcc
12202 maybe-TAGS-gcc: TAGS-gcc
12204 TAGS-gcc: \
12205 configure-gcc
12206 @[ -f ./gcc/Makefile ] || exit 0; \
12207 r=`${PWD_COMMAND}`; export r; \
12208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12209 $(HOST_EXPORTS) \
12210 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12212 done; \
12213 echo "Doing TAGS in gcc"; \
12214 (cd $(HOST_SUBDIR)/gcc && \
12215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12217 "RANLIB=$${RANLIB}" \
12218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12219 TAGS) \
12220 || exit 1
12222 @endif gcc
12224 .PHONY: maybe-install-info-gcc install-info-gcc
12225 maybe-install-info-gcc:
12226 @if gcc
12227 maybe-install-info-gcc: install-info-gcc
12229 install-info-gcc: \
12230 configure-gcc \
12231 info-gcc
12232 @[ -f ./gcc/Makefile ] || exit 0; \
12233 r=`${PWD_COMMAND}`; export r; \
12234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12235 $(HOST_EXPORTS) \
12236 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12238 done; \
12239 echo "Doing install-info in gcc"; \
12240 (cd $(HOST_SUBDIR)/gcc && \
12241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12243 "RANLIB=$${RANLIB}" \
12244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12245 install-info) \
12246 || exit 1
12248 @endif gcc
12250 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12251 maybe-install-pdf-gcc:
12252 @if gcc
12253 maybe-install-pdf-gcc: install-pdf-gcc
12255 install-pdf-gcc: \
12256 configure-gcc \
12257 pdf-gcc
12258 @[ -f ./gcc/Makefile ] || exit 0; \
12259 r=`${PWD_COMMAND}`; export r; \
12260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12261 $(HOST_EXPORTS) \
12262 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12264 done; \
12265 echo "Doing install-pdf in gcc"; \
12266 (cd $(HOST_SUBDIR)/gcc && \
12267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12269 "RANLIB=$${RANLIB}" \
12270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12271 install-pdf) \
12272 || exit 1
12274 @endif gcc
12276 .PHONY: maybe-install-html-gcc install-html-gcc
12277 maybe-install-html-gcc:
12278 @if gcc
12279 maybe-install-html-gcc: install-html-gcc
12281 install-html-gcc: \
12282 configure-gcc \
12283 html-gcc
12284 @[ -f ./gcc/Makefile ] || exit 0; \
12285 r=`${PWD_COMMAND}`; export r; \
12286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12287 $(HOST_EXPORTS) \
12288 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12290 done; \
12291 echo "Doing install-html in gcc"; \
12292 (cd $(HOST_SUBDIR)/gcc && \
12293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12295 "RANLIB=$${RANLIB}" \
12296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12297 install-html) \
12298 || exit 1
12300 @endif gcc
12302 .PHONY: maybe-installcheck-gcc installcheck-gcc
12303 maybe-installcheck-gcc:
12304 @if gcc
12305 maybe-installcheck-gcc: installcheck-gcc
12307 installcheck-gcc: \
12308 configure-gcc
12309 @[ -f ./gcc/Makefile ] || exit 0; \
12310 r=`${PWD_COMMAND}`; export r; \
12311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12312 $(HOST_EXPORTS) \
12313 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12315 done; \
12316 echo "Doing installcheck in gcc"; \
12317 (cd $(HOST_SUBDIR)/gcc && \
12318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12320 "RANLIB=$${RANLIB}" \
12321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12322 installcheck) \
12323 || exit 1
12325 @endif gcc
12327 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12328 maybe-mostlyclean-gcc:
12329 @if gcc
12330 maybe-mostlyclean-gcc: mostlyclean-gcc
12332 mostlyclean-gcc:
12333 @[ -f ./gcc/Makefile ] || exit 0; \
12334 r=`${PWD_COMMAND}`; export r; \
12335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12336 $(HOST_EXPORTS) \
12337 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12339 done; \
12340 echo "Doing mostlyclean in gcc"; \
12341 (cd $(HOST_SUBDIR)/gcc && \
12342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12344 "RANLIB=$${RANLIB}" \
12345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12346 mostlyclean) \
12347 || exit 1
12349 @endif gcc
12351 .PHONY: maybe-clean-gcc clean-gcc
12352 maybe-clean-gcc:
12353 @if gcc
12354 maybe-clean-gcc: clean-gcc
12356 clean-gcc:
12357 @[ -f ./gcc/Makefile ] || exit 0; \
12358 r=`${PWD_COMMAND}`; export r; \
12359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12360 $(HOST_EXPORTS) \
12361 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12363 done; \
12364 echo "Doing clean in gcc"; \
12365 (cd $(HOST_SUBDIR)/gcc && \
12366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12368 "RANLIB=$${RANLIB}" \
12369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12370 clean) \
12371 || exit 1
12373 @endif gcc
12375 .PHONY: maybe-distclean-gcc distclean-gcc
12376 maybe-distclean-gcc:
12377 @if gcc
12378 maybe-distclean-gcc: distclean-gcc
12380 distclean-gcc:
12381 @[ -f ./gcc/Makefile ] || exit 0; \
12382 r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 $(HOST_EXPORTS) \
12385 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12387 done; \
12388 echo "Doing distclean in gcc"; \
12389 (cd $(HOST_SUBDIR)/gcc && \
12390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12392 "RANLIB=$${RANLIB}" \
12393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12394 distclean) \
12395 || exit 1
12397 @endif gcc
12399 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12400 maybe-maintainer-clean-gcc:
12401 @if gcc
12402 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12404 maintainer-clean-gcc:
12405 @[ -f ./gcc/Makefile ] || exit 0; \
12406 r=`${PWD_COMMAND}`; export r; \
12407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12408 $(HOST_EXPORTS) \
12409 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12411 done; \
12412 echo "Doing maintainer-clean in gcc"; \
12413 (cd $(HOST_SUBDIR)/gcc && \
12414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12416 "RANLIB=$${RANLIB}" \
12417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12418 maintainer-clean) \
12419 || exit 1
12421 @endif gcc
12425 .PHONY: configure-gmp maybe-configure-gmp
12426 maybe-configure-gmp:
12427 @if gcc-bootstrap
12428 configure-gmp: stage_current
12429 @endif gcc-bootstrap
12430 @if gmp
12431 maybe-configure-gmp: configure-gmp
12432 configure-gmp:
12433 @r=`${PWD_COMMAND}`; export r; \
12434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12435 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12437 $(HOST_EXPORTS) \
12438 echo Configuring in $(HOST_SUBDIR)/gmp; \
12439 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12440 case $(srcdir) in \
12441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12442 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12444 esac; \
12445 module_srcdir=gmp; \
12446 $(SHELL) \
12447 $$s/$$module_srcdir/configure \
12448 --srcdir=$${topdir}/$$module_srcdir \
12449 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12450 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12451 || exit 1
12452 @endif gmp
12456 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12457 maybe-configure-stage1-gmp:
12458 @if gmp-bootstrap
12459 maybe-configure-stage1-gmp: configure-stage1-gmp
12460 configure-stage1-gmp:
12461 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12462 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12463 @r=`${PWD_COMMAND}`; export r; \
12464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12465 TFLAGS="$(STAGE1_TFLAGS)"; \
12466 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12467 $(HOST_EXPORTS) \
12468 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12469 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12470 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12471 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12473 cd $(HOST_SUBDIR)/gmp || exit 1; \
12474 case $(srcdir) in \
12475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12476 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12478 esac; \
12479 module_srcdir=gmp; \
12480 $(SHELL) $$s/$$module_srcdir/configure \
12481 --srcdir=$${topdir}/$$module_srcdir \
12482 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12483 --target=none-${host_vendor}-${host_os} \
12485 $(STAGE1_CONFIGURE_FLAGS) \
12486 --disable-shared LEX="touch lex.yy.c"
12487 @endif gmp-bootstrap
12489 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12490 maybe-configure-stage2-gmp:
12491 @if gmp-bootstrap
12492 maybe-configure-stage2-gmp: configure-stage2-gmp
12493 configure-stage2-gmp:
12494 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12495 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12496 @r=`${PWD_COMMAND}`; export r; \
12497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12498 TFLAGS="$(STAGE2_TFLAGS)"; \
12499 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12500 $(HOST_EXPORTS) \
12501 $(POSTSTAGE1_HOST_EXPORTS) \
12502 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12503 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12504 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12505 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12507 cd $(HOST_SUBDIR)/gmp || exit 1; \
12508 case $(srcdir) in \
12509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12510 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12512 esac; \
12513 module_srcdir=gmp; \
12514 $(SHELL) $$s/$$module_srcdir/configure \
12515 --srcdir=$${topdir}/$$module_srcdir \
12516 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12517 --target=none-${host_vendor}-${host_os} \
12518 --with-build-libsubdir=$(HOST_SUBDIR) \
12519 $(STAGE2_CONFIGURE_FLAGS) \
12520 --disable-shared LEX="touch lex.yy.c"
12521 @endif gmp-bootstrap
12523 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12524 maybe-configure-stage3-gmp:
12525 @if gmp-bootstrap
12526 maybe-configure-stage3-gmp: configure-stage3-gmp
12527 configure-stage3-gmp:
12528 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12529 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12530 @r=`${PWD_COMMAND}`; export r; \
12531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12532 TFLAGS="$(STAGE3_TFLAGS)"; \
12533 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12534 $(HOST_EXPORTS) \
12535 $(POSTSTAGE1_HOST_EXPORTS) \
12536 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12537 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12538 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12539 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12541 cd $(HOST_SUBDIR)/gmp || exit 1; \
12542 case $(srcdir) in \
12543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12544 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12546 esac; \
12547 module_srcdir=gmp; \
12548 $(SHELL) $$s/$$module_srcdir/configure \
12549 --srcdir=$${topdir}/$$module_srcdir \
12550 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12551 --target=none-${host_vendor}-${host_os} \
12552 --with-build-libsubdir=$(HOST_SUBDIR) \
12553 $(STAGE3_CONFIGURE_FLAGS) \
12554 --disable-shared LEX="touch lex.yy.c"
12555 @endif gmp-bootstrap
12557 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12558 maybe-configure-stage4-gmp:
12559 @if gmp-bootstrap
12560 maybe-configure-stage4-gmp: configure-stage4-gmp
12561 configure-stage4-gmp:
12562 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12563 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12564 @r=`${PWD_COMMAND}`; export r; \
12565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12566 TFLAGS="$(STAGE4_TFLAGS)"; \
12567 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12568 $(HOST_EXPORTS) \
12569 $(POSTSTAGE1_HOST_EXPORTS) \
12570 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12571 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12572 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12573 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12575 cd $(HOST_SUBDIR)/gmp || exit 1; \
12576 case $(srcdir) in \
12577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12578 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12580 esac; \
12581 module_srcdir=gmp; \
12582 $(SHELL) $$s/$$module_srcdir/configure \
12583 --srcdir=$${topdir}/$$module_srcdir \
12584 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12585 --target=none-${host_vendor}-${host_os} \
12586 --with-build-libsubdir=$(HOST_SUBDIR) \
12587 $(STAGE4_CONFIGURE_FLAGS) \
12588 --disable-shared LEX="touch lex.yy.c"
12589 @endif gmp-bootstrap
12591 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12592 maybe-configure-stageprofile-gmp:
12593 @if gmp-bootstrap
12594 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12595 configure-stageprofile-gmp:
12596 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12598 @r=`${PWD_COMMAND}`; export r; \
12599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12600 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12601 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12602 $(HOST_EXPORTS) \
12603 $(POSTSTAGE1_HOST_EXPORTS) \
12604 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12605 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12606 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12607 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12609 cd $(HOST_SUBDIR)/gmp || exit 1; \
12610 case $(srcdir) in \
12611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12612 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12614 esac; \
12615 module_srcdir=gmp; \
12616 $(SHELL) $$s/$$module_srcdir/configure \
12617 --srcdir=$${topdir}/$$module_srcdir \
12618 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12619 --target=none-${host_vendor}-${host_os} \
12620 --with-build-libsubdir=$(HOST_SUBDIR) \
12621 $(STAGEprofile_CONFIGURE_FLAGS) \
12622 --disable-shared LEX="touch lex.yy.c"
12623 @endif gmp-bootstrap
12625 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12626 maybe-configure-stagetrain-gmp:
12627 @if gmp-bootstrap
12628 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12629 configure-stagetrain-gmp:
12630 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12632 @r=`${PWD_COMMAND}`; export r; \
12633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12634 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12635 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12636 $(HOST_EXPORTS) \
12637 $(POSTSTAGE1_HOST_EXPORTS) \
12638 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12639 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12640 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12641 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12643 cd $(HOST_SUBDIR)/gmp || exit 1; \
12644 case $(srcdir) in \
12645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12646 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12648 esac; \
12649 module_srcdir=gmp; \
12650 $(SHELL) $$s/$$module_srcdir/configure \
12651 --srcdir=$${topdir}/$$module_srcdir \
12652 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12653 --target=none-${host_vendor}-${host_os} \
12654 --with-build-libsubdir=$(HOST_SUBDIR) \
12655 $(STAGEtrain_CONFIGURE_FLAGS) \
12656 --disable-shared LEX="touch lex.yy.c"
12657 @endif gmp-bootstrap
12659 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12660 maybe-configure-stagefeedback-gmp:
12661 @if gmp-bootstrap
12662 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12663 configure-stagefeedback-gmp:
12664 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12666 @r=`${PWD_COMMAND}`; export r; \
12667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12668 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12669 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12670 $(HOST_EXPORTS) \
12671 $(POSTSTAGE1_HOST_EXPORTS) \
12672 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12673 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12674 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12675 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12677 cd $(HOST_SUBDIR)/gmp || exit 1; \
12678 case $(srcdir) in \
12679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12680 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12682 esac; \
12683 module_srcdir=gmp; \
12684 $(SHELL) $$s/$$module_srcdir/configure \
12685 --srcdir=$${topdir}/$$module_srcdir \
12686 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12687 --target=none-${host_vendor}-${host_os} \
12688 --with-build-libsubdir=$(HOST_SUBDIR) \
12689 $(STAGEfeedback_CONFIGURE_FLAGS) \
12690 --disable-shared LEX="touch lex.yy.c"
12691 @endif gmp-bootstrap
12693 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12694 maybe-configure-stageautoprofile-gmp:
12695 @if gmp-bootstrap
12696 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12697 configure-stageautoprofile-gmp:
12698 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12700 @r=`${PWD_COMMAND}`; export r; \
12701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12702 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12703 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12704 $(HOST_EXPORTS) \
12705 $(POSTSTAGE1_HOST_EXPORTS) \
12706 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12707 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12708 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12709 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12711 cd $(HOST_SUBDIR)/gmp || exit 1; \
12712 case $(srcdir) in \
12713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12714 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12716 esac; \
12717 module_srcdir=gmp; \
12718 $(SHELL) $$s/$$module_srcdir/configure \
12719 --srcdir=$${topdir}/$$module_srcdir \
12720 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12721 --target=none-${host_vendor}-${host_os} \
12722 --with-build-libsubdir=$(HOST_SUBDIR) \
12723 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12724 --disable-shared LEX="touch lex.yy.c"
12725 @endif gmp-bootstrap
12727 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12728 maybe-configure-stageautofeedback-gmp:
12729 @if gmp-bootstrap
12730 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12731 configure-stageautofeedback-gmp:
12732 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12734 @r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12736 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12737 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12738 $(HOST_EXPORTS) \
12739 $(POSTSTAGE1_HOST_EXPORTS) \
12740 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12741 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12742 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12743 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12745 cd $(HOST_SUBDIR)/gmp || exit 1; \
12746 case $(srcdir) in \
12747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12748 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12750 esac; \
12751 module_srcdir=gmp; \
12752 $(SHELL) $$s/$$module_srcdir/configure \
12753 --srcdir=$${topdir}/$$module_srcdir \
12754 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12755 --target=none-${host_vendor}-${host_os} \
12756 --with-build-libsubdir=$(HOST_SUBDIR) \
12757 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12758 --disable-shared LEX="touch lex.yy.c"
12759 @endif gmp-bootstrap
12765 .PHONY: all-gmp maybe-all-gmp
12766 maybe-all-gmp:
12767 @if gcc-bootstrap
12768 all-gmp: stage_current
12769 @endif gcc-bootstrap
12770 @if gmp
12771 TARGET-gmp=all
12772 maybe-all-gmp: all-gmp
12773 all-gmp: configure-gmp
12774 @r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(HOST_EXPORTS) \
12777 (cd $(HOST_SUBDIR)/gmp && \
12778 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12779 $(TARGET-gmp))
12780 @endif gmp
12784 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12785 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12786 maybe-all-stage1-gmp:
12787 maybe-clean-stage1-gmp:
12788 @if gmp-bootstrap
12789 maybe-all-stage1-gmp: all-stage1-gmp
12790 all-stage1: all-stage1-gmp
12791 TARGET-stage1-gmp = $(TARGET-gmp)
12792 all-stage1-gmp: configure-stage1-gmp
12793 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12794 @r=`${PWD_COMMAND}`; export r; \
12795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12796 TFLAGS="$(STAGE1_TFLAGS)"; \
12797 $(HOST_EXPORTS) \
12798 cd $(HOST_SUBDIR)/gmp && \
12800 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12801 CFLAGS="$(STAGE1_CFLAGS)" \
12802 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12803 LIBCFLAGS="$(LIBCFLAGS)" \
12804 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12805 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12806 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12807 $(EXTRA_HOST_FLAGS) \
12808 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12809 TFLAGS="$(STAGE1_TFLAGS)" \
12810 $(TARGET-stage1-gmp)
12812 maybe-clean-stage1-gmp: clean-stage1-gmp
12813 clean-stage1: clean-stage1-gmp
12814 clean-stage1-gmp:
12815 @if [ $(current_stage) = stage1 ]; then \
12816 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12817 else \
12818 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12819 $(MAKE) stage1-start; \
12820 fi; \
12821 cd $(HOST_SUBDIR)/gmp && \
12822 $(MAKE) $(EXTRA_HOST_FLAGS) \
12823 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12824 @endif gmp-bootstrap
12827 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12828 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12829 maybe-all-stage2-gmp:
12830 maybe-clean-stage2-gmp:
12831 @if gmp-bootstrap
12832 maybe-all-stage2-gmp: all-stage2-gmp
12833 all-stage2: all-stage2-gmp
12834 TARGET-stage2-gmp = $(TARGET-gmp)
12835 all-stage2-gmp: configure-stage2-gmp
12836 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12837 @r=`${PWD_COMMAND}`; export r; \
12838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12839 TFLAGS="$(STAGE2_TFLAGS)"; \
12840 $(HOST_EXPORTS) \
12841 $(POSTSTAGE1_HOST_EXPORTS) \
12842 cd $(HOST_SUBDIR)/gmp && \
12844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12845 CFLAGS="$(STAGE2_CFLAGS)" \
12846 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12847 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12851 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12852 TFLAGS="$(STAGE2_TFLAGS)" \
12853 $(TARGET-stage2-gmp)
12855 maybe-clean-stage2-gmp: clean-stage2-gmp
12856 clean-stage2: clean-stage2-gmp
12857 clean-stage2-gmp:
12858 @if [ $(current_stage) = stage2 ]; then \
12859 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12860 else \
12861 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12862 $(MAKE) stage2-start; \
12863 fi; \
12864 cd $(HOST_SUBDIR)/gmp && \
12865 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12866 @endif gmp-bootstrap
12869 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12870 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12871 maybe-all-stage3-gmp:
12872 maybe-clean-stage3-gmp:
12873 @if gmp-bootstrap
12874 maybe-all-stage3-gmp: all-stage3-gmp
12875 all-stage3: all-stage3-gmp
12876 TARGET-stage3-gmp = $(TARGET-gmp)
12877 all-stage3-gmp: configure-stage3-gmp
12878 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12879 @r=`${PWD_COMMAND}`; export r; \
12880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12881 TFLAGS="$(STAGE3_TFLAGS)"; \
12882 $(HOST_EXPORTS) \
12883 $(POSTSTAGE1_HOST_EXPORTS) \
12884 cd $(HOST_SUBDIR)/gmp && \
12886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12887 CFLAGS="$(STAGE3_CFLAGS)" \
12888 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12889 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12893 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12894 TFLAGS="$(STAGE3_TFLAGS)" \
12895 $(TARGET-stage3-gmp)
12897 maybe-clean-stage3-gmp: clean-stage3-gmp
12898 clean-stage3: clean-stage3-gmp
12899 clean-stage3-gmp:
12900 @if [ $(current_stage) = stage3 ]; then \
12901 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12902 else \
12903 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12904 $(MAKE) stage3-start; \
12905 fi; \
12906 cd $(HOST_SUBDIR)/gmp && \
12907 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12908 @endif gmp-bootstrap
12911 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12912 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12913 maybe-all-stage4-gmp:
12914 maybe-clean-stage4-gmp:
12915 @if gmp-bootstrap
12916 maybe-all-stage4-gmp: all-stage4-gmp
12917 all-stage4: all-stage4-gmp
12918 TARGET-stage4-gmp = $(TARGET-gmp)
12919 all-stage4-gmp: configure-stage4-gmp
12920 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12921 @r=`${PWD_COMMAND}`; export r; \
12922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12923 TFLAGS="$(STAGE4_TFLAGS)"; \
12924 $(HOST_EXPORTS) \
12925 $(POSTSTAGE1_HOST_EXPORTS) \
12926 cd $(HOST_SUBDIR)/gmp && \
12928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12929 CFLAGS="$(STAGE4_CFLAGS)" \
12930 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12931 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12936 TFLAGS="$(STAGE4_TFLAGS)" \
12937 $(TARGET-stage4-gmp)
12939 maybe-clean-stage4-gmp: clean-stage4-gmp
12940 clean-stage4: clean-stage4-gmp
12941 clean-stage4-gmp:
12942 @if [ $(current_stage) = stage4 ]; then \
12943 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12944 else \
12945 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12946 $(MAKE) stage4-start; \
12947 fi; \
12948 cd $(HOST_SUBDIR)/gmp && \
12949 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12950 @endif gmp-bootstrap
12953 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
12954 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
12955 maybe-all-stageprofile-gmp:
12956 maybe-clean-stageprofile-gmp:
12957 @if gmp-bootstrap
12958 maybe-all-stageprofile-gmp: all-stageprofile-gmp
12959 all-stageprofile: all-stageprofile-gmp
12960 TARGET-stageprofile-gmp = $(TARGET-gmp)
12961 all-stageprofile-gmp: configure-stageprofile-gmp
12962 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12963 @r=`${PWD_COMMAND}`; export r; \
12964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12965 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12966 $(HOST_EXPORTS) \
12967 $(POSTSTAGE1_HOST_EXPORTS) \
12968 cd $(HOST_SUBDIR)/gmp && \
12970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12971 CFLAGS="$(STAGEprofile_CFLAGS)" \
12972 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12973 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12978 TFLAGS="$(STAGEprofile_TFLAGS)" \
12979 $(TARGET-stageprofile-gmp)
12981 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
12982 clean-stageprofile: clean-stageprofile-gmp
12983 clean-stageprofile-gmp:
12984 @if [ $(current_stage) = stageprofile ]; then \
12985 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12986 else \
12987 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
12988 $(MAKE) stageprofile-start; \
12989 fi; \
12990 cd $(HOST_SUBDIR)/gmp && \
12991 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12992 @endif gmp-bootstrap
12995 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
12996 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
12997 maybe-all-stagetrain-gmp:
12998 maybe-clean-stagetrain-gmp:
12999 @if gmp-bootstrap
13000 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13001 all-stagetrain: all-stagetrain-gmp
13002 TARGET-stagetrain-gmp = $(TARGET-gmp)
13003 all-stagetrain-gmp: configure-stagetrain-gmp
13004 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13005 @r=`${PWD_COMMAND}`; export r; \
13006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13007 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13008 $(HOST_EXPORTS) \
13009 $(POSTSTAGE1_HOST_EXPORTS) \
13010 cd $(HOST_SUBDIR)/gmp && \
13012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13013 CFLAGS="$(STAGEtrain_CFLAGS)" \
13014 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13015 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13020 TFLAGS="$(STAGEtrain_TFLAGS)" \
13021 $(TARGET-stagetrain-gmp)
13023 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13024 clean-stagetrain: clean-stagetrain-gmp
13025 clean-stagetrain-gmp:
13026 @if [ $(current_stage) = stagetrain ]; then \
13027 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13028 else \
13029 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13030 $(MAKE) stagetrain-start; \
13031 fi; \
13032 cd $(HOST_SUBDIR)/gmp && \
13033 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13034 @endif gmp-bootstrap
13037 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13038 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13039 maybe-all-stagefeedback-gmp:
13040 maybe-clean-stagefeedback-gmp:
13041 @if gmp-bootstrap
13042 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13043 all-stagefeedback: all-stagefeedback-gmp
13044 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13045 all-stagefeedback-gmp: configure-stagefeedback-gmp
13046 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13047 @r=`${PWD_COMMAND}`; export r; \
13048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13049 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13050 $(HOST_EXPORTS) \
13051 $(POSTSTAGE1_HOST_EXPORTS) \
13052 cd $(HOST_SUBDIR)/gmp && \
13054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13055 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13056 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13057 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13062 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13063 $(TARGET-stagefeedback-gmp)
13065 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13066 clean-stagefeedback: clean-stagefeedback-gmp
13067 clean-stagefeedback-gmp:
13068 @if [ $(current_stage) = stagefeedback ]; then \
13069 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13070 else \
13071 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13072 $(MAKE) stagefeedback-start; \
13073 fi; \
13074 cd $(HOST_SUBDIR)/gmp && \
13075 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13076 @endif gmp-bootstrap
13079 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13080 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13081 maybe-all-stageautoprofile-gmp:
13082 maybe-clean-stageautoprofile-gmp:
13083 @if gmp-bootstrap
13084 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13085 all-stageautoprofile: all-stageautoprofile-gmp
13086 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13087 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13088 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13089 @r=`${PWD_COMMAND}`; export r; \
13090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13091 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13092 $(HOST_EXPORTS) \
13093 $(POSTSTAGE1_HOST_EXPORTS) \
13094 cd $(HOST_SUBDIR)/gmp && \
13095 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13096 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13097 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13098 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13099 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13100 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13101 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13102 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13103 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13104 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13105 $(TARGET-stageautoprofile-gmp)
13107 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13108 clean-stageautoprofile: clean-stageautoprofile-gmp
13109 clean-stageautoprofile-gmp:
13110 @if [ $(current_stage) = stageautoprofile ]; then \
13111 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13112 else \
13113 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13114 $(MAKE) stageautoprofile-start; \
13115 fi; \
13116 cd $(HOST_SUBDIR)/gmp && \
13117 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13118 @endif gmp-bootstrap
13121 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13122 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13123 maybe-all-stageautofeedback-gmp:
13124 maybe-clean-stageautofeedback-gmp:
13125 @if gmp-bootstrap
13126 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13127 all-stageautofeedback: all-stageautofeedback-gmp
13128 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13129 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13130 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13131 @r=`${PWD_COMMAND}`; export r; \
13132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13133 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13134 $(HOST_EXPORTS) \
13135 $(POSTSTAGE1_HOST_EXPORTS) \
13136 cd $(HOST_SUBDIR)/gmp && \
13138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13139 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13140 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13141 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13146 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13147 $(TARGET-stageautofeedback-gmp)
13149 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13150 clean-stageautofeedback: clean-stageautofeedback-gmp
13151 clean-stageautofeedback-gmp:
13152 @if [ $(current_stage) = stageautofeedback ]; then \
13153 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13154 else \
13155 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13156 $(MAKE) stageautofeedback-start; \
13157 fi; \
13158 cd $(HOST_SUBDIR)/gmp && \
13159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13160 @endif gmp-bootstrap
13166 .PHONY: check-gmp maybe-check-gmp
13167 maybe-check-gmp:
13168 @if gmp
13169 maybe-check-gmp: check-gmp
13171 check-gmp:
13172 @: $(MAKE); $(unstage)
13173 @r=`${PWD_COMMAND}`; export r; \
13174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13175 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13176 (cd $(HOST_SUBDIR)/gmp && \
13177 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13179 @endif gmp
13181 .PHONY: install-gmp maybe-install-gmp
13182 maybe-install-gmp:
13183 @if gmp
13184 maybe-install-gmp: install-gmp
13186 install-gmp:
13188 @endif gmp
13190 .PHONY: install-strip-gmp maybe-install-strip-gmp
13191 maybe-install-strip-gmp:
13192 @if gmp
13193 maybe-install-strip-gmp: install-strip-gmp
13195 install-strip-gmp:
13197 @endif gmp
13199 # Other targets (info, dvi, pdf, etc.)
13201 .PHONY: maybe-info-gmp info-gmp
13202 maybe-info-gmp:
13203 @if gmp
13204 maybe-info-gmp: info-gmp
13206 info-gmp: \
13207 configure-gmp
13208 @[ -f ./gmp/Makefile ] || exit 0; \
13209 r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 $(HOST_EXPORTS) \
13212 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13214 done; \
13215 echo "Doing info in gmp"; \
13216 (cd $(HOST_SUBDIR)/gmp && \
13217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13219 "RANLIB=$${RANLIB}" \
13220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13221 info) \
13222 || exit 1
13224 @endif gmp
13226 .PHONY: maybe-dvi-gmp dvi-gmp
13227 maybe-dvi-gmp:
13228 @if gmp
13229 maybe-dvi-gmp: dvi-gmp
13231 dvi-gmp: \
13232 configure-gmp
13233 @[ -f ./gmp/Makefile ] || exit 0; \
13234 r=`${PWD_COMMAND}`; export r; \
13235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13236 $(HOST_EXPORTS) \
13237 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13239 done; \
13240 echo "Doing dvi in gmp"; \
13241 (cd $(HOST_SUBDIR)/gmp && \
13242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13244 "RANLIB=$${RANLIB}" \
13245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13246 dvi) \
13247 || exit 1
13249 @endif gmp
13251 .PHONY: maybe-pdf-gmp pdf-gmp
13252 maybe-pdf-gmp:
13253 @if gmp
13254 maybe-pdf-gmp: pdf-gmp
13256 pdf-gmp: \
13257 configure-gmp
13258 @[ -f ./gmp/Makefile ] || exit 0; \
13259 r=`${PWD_COMMAND}`; export r; \
13260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13261 $(HOST_EXPORTS) \
13262 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13264 done; \
13265 echo "Doing pdf in gmp"; \
13266 (cd $(HOST_SUBDIR)/gmp && \
13267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13269 "RANLIB=$${RANLIB}" \
13270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13271 pdf) \
13272 || exit 1
13274 @endif gmp
13276 .PHONY: maybe-html-gmp html-gmp
13277 maybe-html-gmp:
13278 @if gmp
13279 maybe-html-gmp: html-gmp
13281 html-gmp: \
13282 configure-gmp
13283 @[ -f ./gmp/Makefile ] || exit 0; \
13284 r=`${PWD_COMMAND}`; export r; \
13285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13286 $(HOST_EXPORTS) \
13287 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13289 done; \
13290 echo "Doing html in gmp"; \
13291 (cd $(HOST_SUBDIR)/gmp && \
13292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13294 "RANLIB=$${RANLIB}" \
13295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13296 html) \
13297 || exit 1
13299 @endif gmp
13301 .PHONY: maybe-TAGS-gmp TAGS-gmp
13302 maybe-TAGS-gmp:
13303 @if gmp
13304 maybe-TAGS-gmp: TAGS-gmp
13306 TAGS-gmp: \
13307 configure-gmp
13308 @[ -f ./gmp/Makefile ] || exit 0; \
13309 r=`${PWD_COMMAND}`; export r; \
13310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13311 $(HOST_EXPORTS) \
13312 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13314 done; \
13315 echo "Doing TAGS in gmp"; \
13316 (cd $(HOST_SUBDIR)/gmp && \
13317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13319 "RANLIB=$${RANLIB}" \
13320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13321 TAGS) \
13322 || exit 1
13324 @endif gmp
13326 .PHONY: maybe-install-info-gmp install-info-gmp
13327 maybe-install-info-gmp:
13328 @if gmp
13329 maybe-install-info-gmp: install-info-gmp
13331 install-info-gmp: \
13332 configure-gmp \
13333 info-gmp
13334 @[ -f ./gmp/Makefile ] || exit 0; \
13335 r=`${PWD_COMMAND}`; export r; \
13336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13337 $(HOST_EXPORTS) \
13338 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13340 done; \
13341 echo "Doing install-info in gmp"; \
13342 (cd $(HOST_SUBDIR)/gmp && \
13343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13345 "RANLIB=$${RANLIB}" \
13346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13347 install-info) \
13348 || exit 1
13350 @endif gmp
13352 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13353 maybe-install-pdf-gmp:
13354 @if gmp
13355 maybe-install-pdf-gmp: install-pdf-gmp
13357 install-pdf-gmp: \
13358 configure-gmp \
13359 pdf-gmp
13360 @[ -f ./gmp/Makefile ] || exit 0; \
13361 r=`${PWD_COMMAND}`; export r; \
13362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13363 $(HOST_EXPORTS) \
13364 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13366 done; \
13367 echo "Doing install-pdf in gmp"; \
13368 (cd $(HOST_SUBDIR)/gmp && \
13369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13371 "RANLIB=$${RANLIB}" \
13372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13373 install-pdf) \
13374 || exit 1
13376 @endif gmp
13378 .PHONY: maybe-install-html-gmp install-html-gmp
13379 maybe-install-html-gmp:
13380 @if gmp
13381 maybe-install-html-gmp: install-html-gmp
13383 install-html-gmp: \
13384 configure-gmp \
13385 html-gmp
13386 @[ -f ./gmp/Makefile ] || exit 0; \
13387 r=`${PWD_COMMAND}`; export r; \
13388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13389 $(HOST_EXPORTS) \
13390 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13392 done; \
13393 echo "Doing install-html in gmp"; \
13394 (cd $(HOST_SUBDIR)/gmp && \
13395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13397 "RANLIB=$${RANLIB}" \
13398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13399 install-html) \
13400 || exit 1
13402 @endif gmp
13404 .PHONY: maybe-installcheck-gmp installcheck-gmp
13405 maybe-installcheck-gmp:
13406 @if gmp
13407 maybe-installcheck-gmp: installcheck-gmp
13409 installcheck-gmp: \
13410 configure-gmp
13411 @[ -f ./gmp/Makefile ] || exit 0; \
13412 r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 $(HOST_EXPORTS) \
13415 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13417 done; \
13418 echo "Doing installcheck in gmp"; \
13419 (cd $(HOST_SUBDIR)/gmp && \
13420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13422 "RANLIB=$${RANLIB}" \
13423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13424 installcheck) \
13425 || exit 1
13427 @endif gmp
13429 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13430 maybe-mostlyclean-gmp:
13431 @if gmp
13432 maybe-mostlyclean-gmp: mostlyclean-gmp
13434 mostlyclean-gmp:
13435 @[ -f ./gmp/Makefile ] || exit 0; \
13436 r=`${PWD_COMMAND}`; export r; \
13437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13438 $(HOST_EXPORTS) \
13439 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13441 done; \
13442 echo "Doing mostlyclean in gmp"; \
13443 (cd $(HOST_SUBDIR)/gmp && \
13444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13446 "RANLIB=$${RANLIB}" \
13447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13448 mostlyclean) \
13449 || exit 1
13451 @endif gmp
13453 .PHONY: maybe-clean-gmp clean-gmp
13454 maybe-clean-gmp:
13455 @if gmp
13456 maybe-clean-gmp: clean-gmp
13458 clean-gmp:
13459 @[ -f ./gmp/Makefile ] || exit 0; \
13460 r=`${PWD_COMMAND}`; export r; \
13461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13462 $(HOST_EXPORTS) \
13463 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13465 done; \
13466 echo "Doing clean in gmp"; \
13467 (cd $(HOST_SUBDIR)/gmp && \
13468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13470 "RANLIB=$${RANLIB}" \
13471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13472 clean) \
13473 || exit 1
13475 @endif gmp
13477 .PHONY: maybe-distclean-gmp distclean-gmp
13478 maybe-distclean-gmp:
13479 @if gmp
13480 maybe-distclean-gmp: distclean-gmp
13482 distclean-gmp:
13483 @[ -f ./gmp/Makefile ] || exit 0; \
13484 r=`${PWD_COMMAND}`; export r; \
13485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13486 $(HOST_EXPORTS) \
13487 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13489 done; \
13490 echo "Doing distclean in gmp"; \
13491 (cd $(HOST_SUBDIR)/gmp && \
13492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13494 "RANLIB=$${RANLIB}" \
13495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13496 distclean) \
13497 || exit 1
13499 @endif gmp
13501 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13502 maybe-maintainer-clean-gmp:
13503 @if gmp
13504 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13506 maintainer-clean-gmp:
13507 @[ -f ./gmp/Makefile ] || exit 0; \
13508 r=`${PWD_COMMAND}`; export r; \
13509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13510 $(HOST_EXPORTS) \
13511 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13513 done; \
13514 echo "Doing maintainer-clean in gmp"; \
13515 (cd $(HOST_SUBDIR)/gmp && \
13516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13518 "RANLIB=$${RANLIB}" \
13519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13520 maintainer-clean) \
13521 || exit 1
13523 @endif gmp
13527 .PHONY: configure-mpfr maybe-configure-mpfr
13528 maybe-configure-mpfr:
13529 @if gcc-bootstrap
13530 configure-mpfr: stage_current
13531 @endif gcc-bootstrap
13532 @if mpfr
13533 maybe-configure-mpfr: configure-mpfr
13534 configure-mpfr:
13535 @r=`${PWD_COMMAND}`; export r; \
13536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13537 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13539 $(HOST_EXPORTS) \
13540 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13541 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13542 case $(srcdir) in \
13543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13544 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13546 esac; \
13547 module_srcdir=mpfr; \
13548 $(SHELL) \
13549 $$s/$$module_srcdir/configure \
13550 --srcdir=$${topdir}/$$module_srcdir \
13551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13552 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13553 || exit 1
13554 @endif mpfr
13558 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13559 maybe-configure-stage1-mpfr:
13560 @if mpfr-bootstrap
13561 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13562 configure-stage1-mpfr:
13563 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13564 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13565 @r=`${PWD_COMMAND}`; export r; \
13566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567 TFLAGS="$(STAGE1_TFLAGS)"; \
13568 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13569 $(HOST_EXPORTS) \
13570 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13571 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13572 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13573 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13575 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13576 case $(srcdir) in \
13577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13578 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13580 esac; \
13581 module_srcdir=mpfr; \
13582 $(SHELL) $$s/$$module_srcdir/configure \
13583 --srcdir=$${topdir}/$$module_srcdir \
13584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13585 --target=${target_alias} \
13587 $(STAGE1_CONFIGURE_FLAGS) \
13588 --disable-shared @extra_mpfr_configure_flags@
13589 @endif mpfr-bootstrap
13591 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13592 maybe-configure-stage2-mpfr:
13593 @if mpfr-bootstrap
13594 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13595 configure-stage2-mpfr:
13596 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13598 @r=`${PWD_COMMAND}`; export r; \
13599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13600 TFLAGS="$(STAGE2_TFLAGS)"; \
13601 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13602 $(HOST_EXPORTS) \
13603 $(POSTSTAGE1_HOST_EXPORTS) \
13604 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13605 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13606 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13607 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13609 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13610 case $(srcdir) in \
13611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13612 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13614 esac; \
13615 module_srcdir=mpfr; \
13616 $(SHELL) $$s/$$module_srcdir/configure \
13617 --srcdir=$${topdir}/$$module_srcdir \
13618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13619 --target=${target_alias} \
13620 --with-build-libsubdir=$(HOST_SUBDIR) \
13621 $(STAGE2_CONFIGURE_FLAGS) \
13622 --disable-shared @extra_mpfr_configure_flags@
13623 @endif mpfr-bootstrap
13625 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13626 maybe-configure-stage3-mpfr:
13627 @if mpfr-bootstrap
13628 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13629 configure-stage3-mpfr:
13630 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13632 @r=`${PWD_COMMAND}`; export r; \
13633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 TFLAGS="$(STAGE3_TFLAGS)"; \
13635 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13636 $(HOST_EXPORTS) \
13637 $(POSTSTAGE1_HOST_EXPORTS) \
13638 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13639 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13640 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13641 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13643 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13644 case $(srcdir) in \
13645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13646 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13648 esac; \
13649 module_srcdir=mpfr; \
13650 $(SHELL) $$s/$$module_srcdir/configure \
13651 --srcdir=$${topdir}/$$module_srcdir \
13652 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13653 --target=${target_alias} \
13654 --with-build-libsubdir=$(HOST_SUBDIR) \
13655 $(STAGE3_CONFIGURE_FLAGS) \
13656 --disable-shared @extra_mpfr_configure_flags@
13657 @endif mpfr-bootstrap
13659 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13660 maybe-configure-stage4-mpfr:
13661 @if mpfr-bootstrap
13662 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13663 configure-stage4-mpfr:
13664 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13666 @r=`${PWD_COMMAND}`; export r; \
13667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 TFLAGS="$(STAGE4_TFLAGS)"; \
13669 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13670 $(HOST_EXPORTS) \
13671 $(POSTSTAGE1_HOST_EXPORTS) \
13672 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13673 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13674 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13675 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13677 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13678 case $(srcdir) in \
13679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13680 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13682 esac; \
13683 module_srcdir=mpfr; \
13684 $(SHELL) $$s/$$module_srcdir/configure \
13685 --srcdir=$${topdir}/$$module_srcdir \
13686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13687 --target=${target_alias} \
13688 --with-build-libsubdir=$(HOST_SUBDIR) \
13689 $(STAGE4_CONFIGURE_FLAGS) \
13690 --disable-shared @extra_mpfr_configure_flags@
13691 @endif mpfr-bootstrap
13693 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13694 maybe-configure-stageprofile-mpfr:
13695 @if mpfr-bootstrap
13696 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13697 configure-stageprofile-mpfr:
13698 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13700 @r=`${PWD_COMMAND}`; export r; \
13701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13702 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13703 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13704 $(HOST_EXPORTS) \
13705 $(POSTSTAGE1_HOST_EXPORTS) \
13706 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13707 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13708 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13709 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13711 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13712 case $(srcdir) in \
13713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13714 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13716 esac; \
13717 module_srcdir=mpfr; \
13718 $(SHELL) $$s/$$module_srcdir/configure \
13719 --srcdir=$${topdir}/$$module_srcdir \
13720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13721 --target=${target_alias} \
13722 --with-build-libsubdir=$(HOST_SUBDIR) \
13723 $(STAGEprofile_CONFIGURE_FLAGS) \
13724 --disable-shared @extra_mpfr_configure_flags@
13725 @endif mpfr-bootstrap
13727 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13728 maybe-configure-stagetrain-mpfr:
13729 @if mpfr-bootstrap
13730 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13731 configure-stagetrain-mpfr:
13732 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13734 @r=`${PWD_COMMAND}`; export r; \
13735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13736 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13737 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13738 $(HOST_EXPORTS) \
13739 $(POSTSTAGE1_HOST_EXPORTS) \
13740 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13741 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13742 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13743 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13745 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13746 case $(srcdir) in \
13747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13748 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13750 esac; \
13751 module_srcdir=mpfr; \
13752 $(SHELL) $$s/$$module_srcdir/configure \
13753 --srcdir=$${topdir}/$$module_srcdir \
13754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13755 --target=${target_alias} \
13756 --with-build-libsubdir=$(HOST_SUBDIR) \
13757 $(STAGEtrain_CONFIGURE_FLAGS) \
13758 --disable-shared @extra_mpfr_configure_flags@
13759 @endif mpfr-bootstrap
13761 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13762 maybe-configure-stagefeedback-mpfr:
13763 @if mpfr-bootstrap
13764 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13765 configure-stagefeedback-mpfr:
13766 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13768 @r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13770 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13771 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13772 $(HOST_EXPORTS) \
13773 $(POSTSTAGE1_HOST_EXPORTS) \
13774 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13775 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13776 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13777 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13779 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13780 case $(srcdir) in \
13781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13782 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13784 esac; \
13785 module_srcdir=mpfr; \
13786 $(SHELL) $$s/$$module_srcdir/configure \
13787 --srcdir=$${topdir}/$$module_srcdir \
13788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13789 --target=${target_alias} \
13790 --with-build-libsubdir=$(HOST_SUBDIR) \
13791 $(STAGEfeedback_CONFIGURE_FLAGS) \
13792 --disable-shared @extra_mpfr_configure_flags@
13793 @endif mpfr-bootstrap
13795 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13796 maybe-configure-stageautoprofile-mpfr:
13797 @if mpfr-bootstrap
13798 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13799 configure-stageautoprofile-mpfr:
13800 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13802 @r=`${PWD_COMMAND}`; export r; \
13803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13804 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13805 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13806 $(HOST_EXPORTS) \
13807 $(POSTSTAGE1_HOST_EXPORTS) \
13808 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13809 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13810 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13811 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13813 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13814 case $(srcdir) in \
13815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13816 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13818 esac; \
13819 module_srcdir=mpfr; \
13820 $(SHELL) $$s/$$module_srcdir/configure \
13821 --srcdir=$${topdir}/$$module_srcdir \
13822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13823 --target=${target_alias} \
13824 --with-build-libsubdir=$(HOST_SUBDIR) \
13825 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13826 --disable-shared @extra_mpfr_configure_flags@
13827 @endif mpfr-bootstrap
13829 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13830 maybe-configure-stageautofeedback-mpfr:
13831 @if mpfr-bootstrap
13832 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13833 configure-stageautofeedback-mpfr:
13834 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13836 @r=`${PWD_COMMAND}`; export r; \
13837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13838 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13839 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13840 $(HOST_EXPORTS) \
13841 $(POSTSTAGE1_HOST_EXPORTS) \
13842 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13843 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13844 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13845 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13847 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13848 case $(srcdir) in \
13849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13850 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13852 esac; \
13853 module_srcdir=mpfr; \
13854 $(SHELL) $$s/$$module_srcdir/configure \
13855 --srcdir=$${topdir}/$$module_srcdir \
13856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13857 --target=${target_alias} \
13858 --with-build-libsubdir=$(HOST_SUBDIR) \
13859 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13860 --disable-shared @extra_mpfr_configure_flags@
13861 @endif mpfr-bootstrap
13867 .PHONY: all-mpfr maybe-all-mpfr
13868 maybe-all-mpfr:
13869 @if gcc-bootstrap
13870 all-mpfr: stage_current
13871 @endif gcc-bootstrap
13872 @if mpfr
13873 TARGET-mpfr=all
13874 maybe-all-mpfr: all-mpfr
13875 all-mpfr: configure-mpfr
13876 @r=`${PWD_COMMAND}`; export r; \
13877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13878 $(HOST_EXPORTS) \
13879 (cd $(HOST_SUBDIR)/mpfr && \
13880 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13881 $(TARGET-mpfr))
13882 @endif mpfr
13886 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13887 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13888 maybe-all-stage1-mpfr:
13889 maybe-clean-stage1-mpfr:
13890 @if mpfr-bootstrap
13891 maybe-all-stage1-mpfr: all-stage1-mpfr
13892 all-stage1: all-stage1-mpfr
13893 TARGET-stage1-mpfr = $(TARGET-mpfr)
13894 all-stage1-mpfr: configure-stage1-mpfr
13895 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13896 @r=`${PWD_COMMAND}`; export r; \
13897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13898 TFLAGS="$(STAGE1_TFLAGS)"; \
13899 $(HOST_EXPORTS) \
13900 cd $(HOST_SUBDIR)/mpfr && \
13902 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13903 CFLAGS="$(STAGE1_CFLAGS)" \
13904 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13905 LIBCFLAGS="$(LIBCFLAGS)" \
13906 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13907 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13908 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13909 $(EXTRA_HOST_FLAGS) \
13910 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13911 TFLAGS="$(STAGE1_TFLAGS)" \
13912 $(TARGET-stage1-mpfr)
13914 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13915 clean-stage1: clean-stage1-mpfr
13916 clean-stage1-mpfr:
13917 @if [ $(current_stage) = stage1 ]; then \
13918 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13919 else \
13920 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13921 $(MAKE) stage1-start; \
13922 fi; \
13923 cd $(HOST_SUBDIR)/mpfr && \
13924 $(MAKE) $(EXTRA_HOST_FLAGS) \
13925 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13926 @endif mpfr-bootstrap
13929 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13930 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13931 maybe-all-stage2-mpfr:
13932 maybe-clean-stage2-mpfr:
13933 @if mpfr-bootstrap
13934 maybe-all-stage2-mpfr: all-stage2-mpfr
13935 all-stage2: all-stage2-mpfr
13936 TARGET-stage2-mpfr = $(TARGET-mpfr)
13937 all-stage2-mpfr: configure-stage2-mpfr
13938 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13939 @r=`${PWD_COMMAND}`; export r; \
13940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13941 TFLAGS="$(STAGE2_TFLAGS)"; \
13942 $(HOST_EXPORTS) \
13943 $(POSTSTAGE1_HOST_EXPORTS) \
13944 cd $(HOST_SUBDIR)/mpfr && \
13946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13947 CFLAGS="$(STAGE2_CFLAGS)" \
13948 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13949 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13954 TFLAGS="$(STAGE2_TFLAGS)" \
13955 $(TARGET-stage2-mpfr)
13957 maybe-clean-stage2-mpfr: clean-stage2-mpfr
13958 clean-stage2: clean-stage2-mpfr
13959 clean-stage2-mpfr:
13960 @if [ $(current_stage) = stage2 ]; then \
13961 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13962 else \
13963 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
13964 $(MAKE) stage2-start; \
13965 fi; \
13966 cd $(HOST_SUBDIR)/mpfr && \
13967 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13968 @endif mpfr-bootstrap
13971 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
13972 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
13973 maybe-all-stage3-mpfr:
13974 maybe-clean-stage3-mpfr:
13975 @if mpfr-bootstrap
13976 maybe-all-stage3-mpfr: all-stage3-mpfr
13977 all-stage3: all-stage3-mpfr
13978 TARGET-stage3-mpfr = $(TARGET-mpfr)
13979 all-stage3-mpfr: configure-stage3-mpfr
13980 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13981 @r=`${PWD_COMMAND}`; export r; \
13982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13983 TFLAGS="$(STAGE3_TFLAGS)"; \
13984 $(HOST_EXPORTS) \
13985 $(POSTSTAGE1_HOST_EXPORTS) \
13986 cd $(HOST_SUBDIR)/mpfr && \
13988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13989 CFLAGS="$(STAGE3_CFLAGS)" \
13990 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13991 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13992 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13993 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13994 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13995 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13996 TFLAGS="$(STAGE3_TFLAGS)" \
13997 $(TARGET-stage3-mpfr)
13999 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14000 clean-stage3: clean-stage3-mpfr
14001 clean-stage3-mpfr:
14002 @if [ $(current_stage) = stage3 ]; then \
14003 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14004 else \
14005 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14006 $(MAKE) stage3-start; \
14007 fi; \
14008 cd $(HOST_SUBDIR)/mpfr && \
14009 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14010 @endif mpfr-bootstrap
14013 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14014 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14015 maybe-all-stage4-mpfr:
14016 maybe-clean-stage4-mpfr:
14017 @if mpfr-bootstrap
14018 maybe-all-stage4-mpfr: all-stage4-mpfr
14019 all-stage4: all-stage4-mpfr
14020 TARGET-stage4-mpfr = $(TARGET-mpfr)
14021 all-stage4-mpfr: configure-stage4-mpfr
14022 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14023 @r=`${PWD_COMMAND}`; export r; \
14024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14025 TFLAGS="$(STAGE4_TFLAGS)"; \
14026 $(HOST_EXPORTS) \
14027 $(POSTSTAGE1_HOST_EXPORTS) \
14028 cd $(HOST_SUBDIR)/mpfr && \
14030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14031 CFLAGS="$(STAGE4_CFLAGS)" \
14032 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14033 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14038 TFLAGS="$(STAGE4_TFLAGS)" \
14039 $(TARGET-stage4-mpfr)
14041 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14042 clean-stage4: clean-stage4-mpfr
14043 clean-stage4-mpfr:
14044 @if [ $(current_stage) = stage4 ]; then \
14045 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14046 else \
14047 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14048 $(MAKE) stage4-start; \
14049 fi; \
14050 cd $(HOST_SUBDIR)/mpfr && \
14051 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14052 @endif mpfr-bootstrap
14055 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14056 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14057 maybe-all-stageprofile-mpfr:
14058 maybe-clean-stageprofile-mpfr:
14059 @if mpfr-bootstrap
14060 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14061 all-stageprofile: all-stageprofile-mpfr
14062 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14063 all-stageprofile-mpfr: configure-stageprofile-mpfr
14064 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14065 @r=`${PWD_COMMAND}`; export r; \
14066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14067 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14068 $(HOST_EXPORTS) \
14069 $(POSTSTAGE1_HOST_EXPORTS) \
14070 cd $(HOST_SUBDIR)/mpfr && \
14072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14073 CFLAGS="$(STAGEprofile_CFLAGS)" \
14074 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14075 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14080 TFLAGS="$(STAGEprofile_TFLAGS)" \
14081 $(TARGET-stageprofile-mpfr)
14083 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14084 clean-stageprofile: clean-stageprofile-mpfr
14085 clean-stageprofile-mpfr:
14086 @if [ $(current_stage) = stageprofile ]; then \
14087 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14088 else \
14089 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14090 $(MAKE) stageprofile-start; \
14091 fi; \
14092 cd $(HOST_SUBDIR)/mpfr && \
14093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14094 @endif mpfr-bootstrap
14097 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14098 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14099 maybe-all-stagetrain-mpfr:
14100 maybe-clean-stagetrain-mpfr:
14101 @if mpfr-bootstrap
14102 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14103 all-stagetrain: all-stagetrain-mpfr
14104 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14105 all-stagetrain-mpfr: configure-stagetrain-mpfr
14106 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14107 @r=`${PWD_COMMAND}`; export r; \
14108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14109 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14110 $(HOST_EXPORTS) \
14111 $(POSTSTAGE1_HOST_EXPORTS) \
14112 cd $(HOST_SUBDIR)/mpfr && \
14114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14115 CFLAGS="$(STAGEtrain_CFLAGS)" \
14116 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14117 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14122 TFLAGS="$(STAGEtrain_TFLAGS)" \
14123 $(TARGET-stagetrain-mpfr)
14125 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14126 clean-stagetrain: clean-stagetrain-mpfr
14127 clean-stagetrain-mpfr:
14128 @if [ $(current_stage) = stagetrain ]; then \
14129 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14130 else \
14131 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14132 $(MAKE) stagetrain-start; \
14133 fi; \
14134 cd $(HOST_SUBDIR)/mpfr && \
14135 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14136 @endif mpfr-bootstrap
14139 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14140 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14141 maybe-all-stagefeedback-mpfr:
14142 maybe-clean-stagefeedback-mpfr:
14143 @if mpfr-bootstrap
14144 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14145 all-stagefeedback: all-stagefeedback-mpfr
14146 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14147 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14148 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14149 @r=`${PWD_COMMAND}`; export r; \
14150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14151 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14152 $(HOST_EXPORTS) \
14153 $(POSTSTAGE1_HOST_EXPORTS) \
14154 cd $(HOST_SUBDIR)/mpfr && \
14156 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14157 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14158 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14159 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14160 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14161 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14162 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14163 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14164 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14165 $(TARGET-stagefeedback-mpfr)
14167 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14168 clean-stagefeedback: clean-stagefeedback-mpfr
14169 clean-stagefeedback-mpfr:
14170 @if [ $(current_stage) = stagefeedback ]; then \
14171 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14172 else \
14173 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14174 $(MAKE) stagefeedback-start; \
14175 fi; \
14176 cd $(HOST_SUBDIR)/mpfr && \
14177 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14178 @endif mpfr-bootstrap
14181 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14182 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14183 maybe-all-stageautoprofile-mpfr:
14184 maybe-clean-stageautoprofile-mpfr:
14185 @if mpfr-bootstrap
14186 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14187 all-stageautoprofile: all-stageautoprofile-mpfr
14188 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14189 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14190 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14191 @r=`${PWD_COMMAND}`; export r; \
14192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14193 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14194 $(HOST_EXPORTS) \
14195 $(POSTSTAGE1_HOST_EXPORTS) \
14196 cd $(HOST_SUBDIR)/mpfr && \
14197 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14199 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14200 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14201 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14205 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14206 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14207 $(TARGET-stageautoprofile-mpfr)
14209 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14210 clean-stageautoprofile: clean-stageautoprofile-mpfr
14211 clean-stageautoprofile-mpfr:
14212 @if [ $(current_stage) = stageautoprofile ]; then \
14213 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14214 else \
14215 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14216 $(MAKE) stageautoprofile-start; \
14217 fi; \
14218 cd $(HOST_SUBDIR)/mpfr && \
14219 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14220 @endif mpfr-bootstrap
14223 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14224 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14225 maybe-all-stageautofeedback-mpfr:
14226 maybe-clean-stageautofeedback-mpfr:
14227 @if mpfr-bootstrap
14228 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14229 all-stageautofeedback: all-stageautofeedback-mpfr
14230 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14231 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14232 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14233 @r=`${PWD_COMMAND}`; export r; \
14234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14235 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14236 $(HOST_EXPORTS) \
14237 $(POSTSTAGE1_HOST_EXPORTS) \
14238 cd $(HOST_SUBDIR)/mpfr && \
14240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14241 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14242 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14243 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14247 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14248 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14249 $(TARGET-stageautofeedback-mpfr)
14251 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14252 clean-stageautofeedback: clean-stageautofeedback-mpfr
14253 clean-stageautofeedback-mpfr:
14254 @if [ $(current_stage) = stageautofeedback ]; then \
14255 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14256 else \
14257 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14258 $(MAKE) stageautofeedback-start; \
14259 fi; \
14260 cd $(HOST_SUBDIR)/mpfr && \
14261 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14262 @endif mpfr-bootstrap
14268 .PHONY: check-mpfr maybe-check-mpfr
14269 maybe-check-mpfr:
14270 @if mpfr
14271 maybe-check-mpfr: check-mpfr
14273 check-mpfr:
14274 @: $(MAKE); $(unstage)
14275 @r=`${PWD_COMMAND}`; export r; \
14276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14277 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14278 (cd $(HOST_SUBDIR)/mpfr && \
14279 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14281 @endif mpfr
14283 .PHONY: install-mpfr maybe-install-mpfr
14284 maybe-install-mpfr:
14285 @if mpfr
14286 maybe-install-mpfr: install-mpfr
14288 install-mpfr:
14290 @endif mpfr
14292 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14293 maybe-install-strip-mpfr:
14294 @if mpfr
14295 maybe-install-strip-mpfr: install-strip-mpfr
14297 install-strip-mpfr:
14299 @endif mpfr
14301 # Other targets (info, dvi, pdf, etc.)
14303 .PHONY: maybe-info-mpfr info-mpfr
14304 maybe-info-mpfr:
14305 @if mpfr
14306 maybe-info-mpfr: info-mpfr
14308 info-mpfr: \
14309 configure-mpfr
14310 @[ -f ./mpfr/Makefile ] || exit 0; \
14311 r=`${PWD_COMMAND}`; export r; \
14312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14313 $(HOST_EXPORTS) \
14314 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14316 done; \
14317 echo "Doing info in mpfr"; \
14318 (cd $(HOST_SUBDIR)/mpfr && \
14319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14321 "RANLIB=$${RANLIB}" \
14322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14323 info) \
14324 || exit 1
14326 @endif mpfr
14328 .PHONY: maybe-dvi-mpfr dvi-mpfr
14329 maybe-dvi-mpfr:
14330 @if mpfr
14331 maybe-dvi-mpfr: dvi-mpfr
14333 dvi-mpfr: \
14334 configure-mpfr
14335 @[ -f ./mpfr/Makefile ] || exit 0; \
14336 r=`${PWD_COMMAND}`; export r; \
14337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14338 $(HOST_EXPORTS) \
14339 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14341 done; \
14342 echo "Doing dvi in mpfr"; \
14343 (cd $(HOST_SUBDIR)/mpfr && \
14344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14346 "RANLIB=$${RANLIB}" \
14347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14348 dvi) \
14349 || exit 1
14351 @endif mpfr
14353 .PHONY: maybe-pdf-mpfr pdf-mpfr
14354 maybe-pdf-mpfr:
14355 @if mpfr
14356 maybe-pdf-mpfr: pdf-mpfr
14358 pdf-mpfr: \
14359 configure-mpfr
14360 @[ -f ./mpfr/Makefile ] || exit 0; \
14361 r=`${PWD_COMMAND}`; export r; \
14362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14363 $(HOST_EXPORTS) \
14364 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14366 done; \
14367 echo "Doing pdf in mpfr"; \
14368 (cd $(HOST_SUBDIR)/mpfr && \
14369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14371 "RANLIB=$${RANLIB}" \
14372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14373 pdf) \
14374 || exit 1
14376 @endif mpfr
14378 .PHONY: maybe-html-mpfr html-mpfr
14379 maybe-html-mpfr:
14380 @if mpfr
14381 maybe-html-mpfr: html-mpfr
14383 html-mpfr: \
14384 configure-mpfr
14385 @[ -f ./mpfr/Makefile ] || exit 0; \
14386 r=`${PWD_COMMAND}`; export r; \
14387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14388 $(HOST_EXPORTS) \
14389 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14391 done; \
14392 echo "Doing html in mpfr"; \
14393 (cd $(HOST_SUBDIR)/mpfr && \
14394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14396 "RANLIB=$${RANLIB}" \
14397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14398 html) \
14399 || exit 1
14401 @endif mpfr
14403 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14404 maybe-TAGS-mpfr:
14405 @if mpfr
14406 maybe-TAGS-mpfr: TAGS-mpfr
14408 TAGS-mpfr: \
14409 configure-mpfr
14410 @[ -f ./mpfr/Makefile ] || exit 0; \
14411 r=`${PWD_COMMAND}`; export r; \
14412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14413 $(HOST_EXPORTS) \
14414 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14416 done; \
14417 echo "Doing TAGS in mpfr"; \
14418 (cd $(HOST_SUBDIR)/mpfr && \
14419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14421 "RANLIB=$${RANLIB}" \
14422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14423 TAGS) \
14424 || exit 1
14426 @endif mpfr
14428 .PHONY: maybe-install-info-mpfr install-info-mpfr
14429 maybe-install-info-mpfr:
14430 @if mpfr
14431 maybe-install-info-mpfr: install-info-mpfr
14433 install-info-mpfr: \
14434 configure-mpfr \
14435 info-mpfr
14436 @[ -f ./mpfr/Makefile ] || exit 0; \
14437 r=`${PWD_COMMAND}`; export r; \
14438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14439 $(HOST_EXPORTS) \
14440 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14442 done; \
14443 echo "Doing install-info in mpfr"; \
14444 (cd $(HOST_SUBDIR)/mpfr && \
14445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14447 "RANLIB=$${RANLIB}" \
14448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14449 install-info) \
14450 || exit 1
14452 @endif mpfr
14454 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14455 maybe-install-pdf-mpfr:
14456 @if mpfr
14457 maybe-install-pdf-mpfr: install-pdf-mpfr
14459 install-pdf-mpfr: \
14460 configure-mpfr \
14461 pdf-mpfr
14462 @[ -f ./mpfr/Makefile ] || exit 0; \
14463 r=`${PWD_COMMAND}`; export r; \
14464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14465 $(HOST_EXPORTS) \
14466 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14468 done; \
14469 echo "Doing install-pdf in mpfr"; \
14470 (cd $(HOST_SUBDIR)/mpfr && \
14471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14473 "RANLIB=$${RANLIB}" \
14474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14475 install-pdf) \
14476 || exit 1
14478 @endif mpfr
14480 .PHONY: maybe-install-html-mpfr install-html-mpfr
14481 maybe-install-html-mpfr:
14482 @if mpfr
14483 maybe-install-html-mpfr: install-html-mpfr
14485 install-html-mpfr: \
14486 configure-mpfr \
14487 html-mpfr
14488 @[ -f ./mpfr/Makefile ] || exit 0; \
14489 r=`${PWD_COMMAND}`; export r; \
14490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14491 $(HOST_EXPORTS) \
14492 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14494 done; \
14495 echo "Doing install-html in mpfr"; \
14496 (cd $(HOST_SUBDIR)/mpfr && \
14497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14499 "RANLIB=$${RANLIB}" \
14500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14501 install-html) \
14502 || exit 1
14504 @endif mpfr
14506 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14507 maybe-installcheck-mpfr:
14508 @if mpfr
14509 maybe-installcheck-mpfr: installcheck-mpfr
14511 installcheck-mpfr: \
14512 configure-mpfr
14513 @[ -f ./mpfr/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing installcheck in mpfr"; \
14521 (cd $(HOST_SUBDIR)/mpfr && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14526 installcheck) \
14527 || exit 1
14529 @endif mpfr
14531 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14532 maybe-mostlyclean-mpfr:
14533 @if mpfr
14534 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14536 mostlyclean-mpfr:
14537 @[ -f ./mpfr/Makefile ] || exit 0; \
14538 r=`${PWD_COMMAND}`; export r; \
14539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14540 $(HOST_EXPORTS) \
14541 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14543 done; \
14544 echo "Doing mostlyclean in mpfr"; \
14545 (cd $(HOST_SUBDIR)/mpfr && \
14546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14548 "RANLIB=$${RANLIB}" \
14549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14550 mostlyclean) \
14551 || exit 1
14553 @endif mpfr
14555 .PHONY: maybe-clean-mpfr clean-mpfr
14556 maybe-clean-mpfr:
14557 @if mpfr
14558 maybe-clean-mpfr: clean-mpfr
14560 clean-mpfr:
14561 @[ -f ./mpfr/Makefile ] || exit 0; \
14562 r=`${PWD_COMMAND}`; export r; \
14563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14564 $(HOST_EXPORTS) \
14565 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14567 done; \
14568 echo "Doing clean in mpfr"; \
14569 (cd $(HOST_SUBDIR)/mpfr && \
14570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14572 "RANLIB=$${RANLIB}" \
14573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14574 clean) \
14575 || exit 1
14577 @endif mpfr
14579 .PHONY: maybe-distclean-mpfr distclean-mpfr
14580 maybe-distclean-mpfr:
14581 @if mpfr
14582 maybe-distclean-mpfr: distclean-mpfr
14584 distclean-mpfr:
14585 @[ -f ./mpfr/Makefile ] || exit 0; \
14586 r=`${PWD_COMMAND}`; export r; \
14587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14588 $(HOST_EXPORTS) \
14589 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14591 done; \
14592 echo "Doing distclean in mpfr"; \
14593 (cd $(HOST_SUBDIR)/mpfr && \
14594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14596 "RANLIB=$${RANLIB}" \
14597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14598 distclean) \
14599 || exit 1
14601 @endif mpfr
14603 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14604 maybe-maintainer-clean-mpfr:
14605 @if mpfr
14606 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14608 maintainer-clean-mpfr:
14609 @[ -f ./mpfr/Makefile ] || exit 0; \
14610 r=`${PWD_COMMAND}`; export r; \
14611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14612 $(HOST_EXPORTS) \
14613 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14615 done; \
14616 echo "Doing maintainer-clean in mpfr"; \
14617 (cd $(HOST_SUBDIR)/mpfr && \
14618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14620 "RANLIB=$${RANLIB}" \
14621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14622 maintainer-clean) \
14623 || exit 1
14625 @endif mpfr
14629 .PHONY: configure-mpc maybe-configure-mpc
14630 maybe-configure-mpc:
14631 @if gcc-bootstrap
14632 configure-mpc: stage_current
14633 @endif gcc-bootstrap
14634 @if mpc
14635 maybe-configure-mpc: configure-mpc
14636 configure-mpc:
14637 @r=`${PWD_COMMAND}`; export r; \
14638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14639 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14641 $(HOST_EXPORTS) \
14642 echo Configuring in $(HOST_SUBDIR)/mpc; \
14643 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14644 case $(srcdir) in \
14645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14646 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14648 esac; \
14649 module_srcdir=mpc; \
14650 $(SHELL) \
14651 $$s/$$module_srcdir/configure \
14652 --srcdir=$${topdir}/$$module_srcdir \
14653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14654 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14655 || exit 1
14656 @endif mpc
14660 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14661 maybe-configure-stage1-mpc:
14662 @if mpc-bootstrap
14663 maybe-configure-stage1-mpc: configure-stage1-mpc
14664 configure-stage1-mpc:
14665 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14666 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14667 @r=`${PWD_COMMAND}`; export r; \
14668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14669 TFLAGS="$(STAGE1_TFLAGS)"; \
14670 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14671 $(HOST_EXPORTS) \
14672 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14673 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14674 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14675 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14677 cd $(HOST_SUBDIR)/mpc || exit 1; \
14678 case $(srcdir) in \
14679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14680 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14682 esac; \
14683 module_srcdir=mpc; \
14684 $(SHELL) $$s/$$module_srcdir/configure \
14685 --srcdir=$${topdir}/$$module_srcdir \
14686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14687 --target=${target_alias} \
14689 $(STAGE1_CONFIGURE_FLAGS) \
14690 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14691 @endif mpc-bootstrap
14693 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14694 maybe-configure-stage2-mpc:
14695 @if mpc-bootstrap
14696 maybe-configure-stage2-mpc: configure-stage2-mpc
14697 configure-stage2-mpc:
14698 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14700 @r=`${PWD_COMMAND}`; export r; \
14701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14702 TFLAGS="$(STAGE2_TFLAGS)"; \
14703 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14704 $(HOST_EXPORTS) \
14705 $(POSTSTAGE1_HOST_EXPORTS) \
14706 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14707 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14708 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14709 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14711 cd $(HOST_SUBDIR)/mpc || exit 1; \
14712 case $(srcdir) in \
14713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14714 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14716 esac; \
14717 module_srcdir=mpc; \
14718 $(SHELL) $$s/$$module_srcdir/configure \
14719 --srcdir=$${topdir}/$$module_srcdir \
14720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14721 --target=${target_alias} \
14722 --with-build-libsubdir=$(HOST_SUBDIR) \
14723 $(STAGE2_CONFIGURE_FLAGS) \
14724 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14725 @endif mpc-bootstrap
14727 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14728 maybe-configure-stage3-mpc:
14729 @if mpc-bootstrap
14730 maybe-configure-stage3-mpc: configure-stage3-mpc
14731 configure-stage3-mpc:
14732 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14734 @r=`${PWD_COMMAND}`; export r; \
14735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14736 TFLAGS="$(STAGE3_TFLAGS)"; \
14737 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14738 $(HOST_EXPORTS) \
14739 $(POSTSTAGE1_HOST_EXPORTS) \
14740 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14741 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14742 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14743 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14745 cd $(HOST_SUBDIR)/mpc || exit 1; \
14746 case $(srcdir) in \
14747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14748 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14750 esac; \
14751 module_srcdir=mpc; \
14752 $(SHELL) $$s/$$module_srcdir/configure \
14753 --srcdir=$${topdir}/$$module_srcdir \
14754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14755 --target=${target_alias} \
14756 --with-build-libsubdir=$(HOST_SUBDIR) \
14757 $(STAGE3_CONFIGURE_FLAGS) \
14758 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14759 @endif mpc-bootstrap
14761 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14762 maybe-configure-stage4-mpc:
14763 @if mpc-bootstrap
14764 maybe-configure-stage4-mpc: configure-stage4-mpc
14765 configure-stage4-mpc:
14766 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14768 @r=`${PWD_COMMAND}`; export r; \
14769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14770 TFLAGS="$(STAGE4_TFLAGS)"; \
14771 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14772 $(HOST_EXPORTS) \
14773 $(POSTSTAGE1_HOST_EXPORTS) \
14774 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14775 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14776 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14777 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14779 cd $(HOST_SUBDIR)/mpc || exit 1; \
14780 case $(srcdir) in \
14781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14782 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14784 esac; \
14785 module_srcdir=mpc; \
14786 $(SHELL) $$s/$$module_srcdir/configure \
14787 --srcdir=$${topdir}/$$module_srcdir \
14788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14789 --target=${target_alias} \
14790 --with-build-libsubdir=$(HOST_SUBDIR) \
14791 $(STAGE4_CONFIGURE_FLAGS) \
14792 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14793 @endif mpc-bootstrap
14795 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14796 maybe-configure-stageprofile-mpc:
14797 @if mpc-bootstrap
14798 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14799 configure-stageprofile-mpc:
14800 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14802 @r=`${PWD_COMMAND}`; export r; \
14803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14805 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14806 $(HOST_EXPORTS) \
14807 $(POSTSTAGE1_HOST_EXPORTS) \
14808 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14809 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14810 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14811 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14813 cd $(HOST_SUBDIR)/mpc || exit 1; \
14814 case $(srcdir) in \
14815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14816 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14818 esac; \
14819 module_srcdir=mpc; \
14820 $(SHELL) $$s/$$module_srcdir/configure \
14821 --srcdir=$${topdir}/$$module_srcdir \
14822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14823 --target=${target_alias} \
14824 --with-build-libsubdir=$(HOST_SUBDIR) \
14825 $(STAGEprofile_CONFIGURE_FLAGS) \
14826 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14827 @endif mpc-bootstrap
14829 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
14830 maybe-configure-stagetrain-mpc:
14831 @if mpc-bootstrap
14832 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
14833 configure-stagetrain-mpc:
14834 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14836 @r=`${PWD_COMMAND}`; export r; \
14837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14838 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14839 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14840 $(HOST_EXPORTS) \
14841 $(POSTSTAGE1_HOST_EXPORTS) \
14842 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14843 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14844 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14845 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
14846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14847 cd $(HOST_SUBDIR)/mpc || exit 1; \
14848 case $(srcdir) in \
14849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14850 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14852 esac; \
14853 module_srcdir=mpc; \
14854 $(SHELL) $$s/$$module_srcdir/configure \
14855 --srcdir=$${topdir}/$$module_srcdir \
14856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14857 --target=${target_alias} \
14858 --with-build-libsubdir=$(HOST_SUBDIR) \
14859 $(STAGEtrain_CONFIGURE_FLAGS) \
14860 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14861 @endif mpc-bootstrap
14863 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14864 maybe-configure-stagefeedback-mpc:
14865 @if mpc-bootstrap
14866 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14867 configure-stagefeedback-mpc:
14868 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14870 @r=`${PWD_COMMAND}`; export r; \
14871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14872 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14873 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14874 $(HOST_EXPORTS) \
14875 $(POSTSTAGE1_HOST_EXPORTS) \
14876 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14877 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14878 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14879 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14881 cd $(HOST_SUBDIR)/mpc || exit 1; \
14882 case $(srcdir) in \
14883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14884 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14886 esac; \
14887 module_srcdir=mpc; \
14888 $(SHELL) $$s/$$module_srcdir/configure \
14889 --srcdir=$${topdir}/$$module_srcdir \
14890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14891 --target=${target_alias} \
14892 --with-build-libsubdir=$(HOST_SUBDIR) \
14893 $(STAGEfeedback_CONFIGURE_FLAGS) \
14894 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14895 @endif mpc-bootstrap
14897 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14898 maybe-configure-stageautoprofile-mpc:
14899 @if mpc-bootstrap
14900 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14901 configure-stageautoprofile-mpc:
14902 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14904 @r=`${PWD_COMMAND}`; export r; \
14905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14906 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14907 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14908 $(HOST_EXPORTS) \
14909 $(POSTSTAGE1_HOST_EXPORTS) \
14910 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14911 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14912 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14913 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14915 cd $(HOST_SUBDIR)/mpc || exit 1; \
14916 case $(srcdir) in \
14917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14918 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14920 esac; \
14921 module_srcdir=mpc; \
14922 $(SHELL) $$s/$$module_srcdir/configure \
14923 --srcdir=$${topdir}/$$module_srcdir \
14924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14925 --target=${target_alias} \
14926 --with-build-libsubdir=$(HOST_SUBDIR) \
14927 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14928 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14929 @endif mpc-bootstrap
14931 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14932 maybe-configure-stageautofeedback-mpc:
14933 @if mpc-bootstrap
14934 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14935 configure-stageautofeedback-mpc:
14936 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14938 @r=`${PWD_COMMAND}`; export r; \
14939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14940 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14941 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14942 $(HOST_EXPORTS) \
14943 $(POSTSTAGE1_HOST_EXPORTS) \
14944 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14945 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14946 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14947 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14949 cd $(HOST_SUBDIR)/mpc || exit 1; \
14950 case $(srcdir) in \
14951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14952 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14954 esac; \
14955 module_srcdir=mpc; \
14956 $(SHELL) $$s/$$module_srcdir/configure \
14957 --srcdir=$${topdir}/$$module_srcdir \
14958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14959 --target=${target_alias} \
14960 --with-build-libsubdir=$(HOST_SUBDIR) \
14961 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14962 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14963 @endif mpc-bootstrap
14969 .PHONY: all-mpc maybe-all-mpc
14970 maybe-all-mpc:
14971 @if gcc-bootstrap
14972 all-mpc: stage_current
14973 @endif gcc-bootstrap
14974 @if mpc
14975 TARGET-mpc=all
14976 maybe-all-mpc: all-mpc
14977 all-mpc: configure-mpc
14978 @r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(HOST_EXPORTS) \
14981 (cd $(HOST_SUBDIR)/mpc && \
14982 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14983 $(TARGET-mpc))
14984 @endif mpc
14988 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
14989 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
14990 maybe-all-stage1-mpc:
14991 maybe-clean-stage1-mpc:
14992 @if mpc-bootstrap
14993 maybe-all-stage1-mpc: all-stage1-mpc
14994 all-stage1: all-stage1-mpc
14995 TARGET-stage1-mpc = $(TARGET-mpc)
14996 all-stage1-mpc: configure-stage1-mpc
14997 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14998 @r=`${PWD_COMMAND}`; export r; \
14999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15000 TFLAGS="$(STAGE1_TFLAGS)"; \
15001 $(HOST_EXPORTS) \
15002 cd $(HOST_SUBDIR)/mpc && \
15004 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15005 CFLAGS="$(STAGE1_CFLAGS)" \
15006 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15007 LIBCFLAGS="$(LIBCFLAGS)" \
15008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15011 $(EXTRA_HOST_FLAGS) \
15012 $(STAGE1_FLAGS_TO_PASS) \
15013 TFLAGS="$(STAGE1_TFLAGS)" \
15014 $(TARGET-stage1-mpc)
15016 maybe-clean-stage1-mpc: clean-stage1-mpc
15017 clean-stage1: clean-stage1-mpc
15018 clean-stage1-mpc:
15019 @if [ $(current_stage) = stage1 ]; then \
15020 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15021 else \
15022 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15023 $(MAKE) stage1-start; \
15024 fi; \
15025 cd $(HOST_SUBDIR)/mpc && \
15026 $(MAKE) $(EXTRA_HOST_FLAGS) \
15027 $(STAGE1_FLAGS_TO_PASS) clean
15028 @endif mpc-bootstrap
15031 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15032 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15033 maybe-all-stage2-mpc:
15034 maybe-clean-stage2-mpc:
15035 @if mpc-bootstrap
15036 maybe-all-stage2-mpc: all-stage2-mpc
15037 all-stage2: all-stage2-mpc
15038 TARGET-stage2-mpc = $(TARGET-mpc)
15039 all-stage2-mpc: configure-stage2-mpc
15040 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15041 @r=`${PWD_COMMAND}`; export r; \
15042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15043 TFLAGS="$(STAGE2_TFLAGS)"; \
15044 $(HOST_EXPORTS) \
15045 $(POSTSTAGE1_HOST_EXPORTS) \
15046 cd $(HOST_SUBDIR)/mpc && \
15048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15049 CFLAGS="$(STAGE2_CFLAGS)" \
15050 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15051 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15056 TFLAGS="$(STAGE2_TFLAGS)" \
15057 $(TARGET-stage2-mpc)
15059 maybe-clean-stage2-mpc: clean-stage2-mpc
15060 clean-stage2: clean-stage2-mpc
15061 clean-stage2-mpc:
15062 @if [ $(current_stage) = stage2 ]; then \
15063 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15064 else \
15065 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15066 $(MAKE) stage2-start; \
15067 fi; \
15068 cd $(HOST_SUBDIR)/mpc && \
15069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15070 @endif mpc-bootstrap
15073 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15074 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15075 maybe-all-stage3-mpc:
15076 maybe-clean-stage3-mpc:
15077 @if mpc-bootstrap
15078 maybe-all-stage3-mpc: all-stage3-mpc
15079 all-stage3: all-stage3-mpc
15080 TARGET-stage3-mpc = $(TARGET-mpc)
15081 all-stage3-mpc: configure-stage3-mpc
15082 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15083 @r=`${PWD_COMMAND}`; export r; \
15084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085 TFLAGS="$(STAGE3_TFLAGS)"; \
15086 $(HOST_EXPORTS) \
15087 $(POSTSTAGE1_HOST_EXPORTS) \
15088 cd $(HOST_SUBDIR)/mpc && \
15090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15091 CFLAGS="$(STAGE3_CFLAGS)" \
15092 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15093 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15098 TFLAGS="$(STAGE3_TFLAGS)" \
15099 $(TARGET-stage3-mpc)
15101 maybe-clean-stage3-mpc: clean-stage3-mpc
15102 clean-stage3: clean-stage3-mpc
15103 clean-stage3-mpc:
15104 @if [ $(current_stage) = stage3 ]; then \
15105 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15106 else \
15107 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15108 $(MAKE) stage3-start; \
15109 fi; \
15110 cd $(HOST_SUBDIR)/mpc && \
15111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15112 @endif mpc-bootstrap
15115 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15116 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15117 maybe-all-stage4-mpc:
15118 maybe-clean-stage4-mpc:
15119 @if mpc-bootstrap
15120 maybe-all-stage4-mpc: all-stage4-mpc
15121 all-stage4: all-stage4-mpc
15122 TARGET-stage4-mpc = $(TARGET-mpc)
15123 all-stage4-mpc: configure-stage4-mpc
15124 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15125 @r=`${PWD_COMMAND}`; export r; \
15126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15127 TFLAGS="$(STAGE4_TFLAGS)"; \
15128 $(HOST_EXPORTS) \
15129 $(POSTSTAGE1_HOST_EXPORTS) \
15130 cd $(HOST_SUBDIR)/mpc && \
15132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15133 CFLAGS="$(STAGE4_CFLAGS)" \
15134 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15135 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15136 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15137 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15138 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15139 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15140 TFLAGS="$(STAGE4_TFLAGS)" \
15141 $(TARGET-stage4-mpc)
15143 maybe-clean-stage4-mpc: clean-stage4-mpc
15144 clean-stage4: clean-stage4-mpc
15145 clean-stage4-mpc:
15146 @if [ $(current_stage) = stage4 ]; then \
15147 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15148 else \
15149 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15150 $(MAKE) stage4-start; \
15151 fi; \
15152 cd $(HOST_SUBDIR)/mpc && \
15153 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15154 @endif mpc-bootstrap
15157 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15158 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15159 maybe-all-stageprofile-mpc:
15160 maybe-clean-stageprofile-mpc:
15161 @if mpc-bootstrap
15162 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15163 all-stageprofile: all-stageprofile-mpc
15164 TARGET-stageprofile-mpc = $(TARGET-mpc)
15165 all-stageprofile-mpc: configure-stageprofile-mpc
15166 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15167 @r=`${PWD_COMMAND}`; export r; \
15168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15169 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15170 $(HOST_EXPORTS) \
15171 $(POSTSTAGE1_HOST_EXPORTS) \
15172 cd $(HOST_SUBDIR)/mpc && \
15174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15175 CFLAGS="$(STAGEprofile_CFLAGS)" \
15176 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15177 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15182 TFLAGS="$(STAGEprofile_TFLAGS)" \
15183 $(TARGET-stageprofile-mpc)
15185 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15186 clean-stageprofile: clean-stageprofile-mpc
15187 clean-stageprofile-mpc:
15188 @if [ $(current_stage) = stageprofile ]; then \
15189 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15190 else \
15191 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15192 $(MAKE) stageprofile-start; \
15193 fi; \
15194 cd $(HOST_SUBDIR)/mpc && \
15195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15196 @endif mpc-bootstrap
15199 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15200 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15201 maybe-all-stagetrain-mpc:
15202 maybe-clean-stagetrain-mpc:
15203 @if mpc-bootstrap
15204 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15205 all-stagetrain: all-stagetrain-mpc
15206 TARGET-stagetrain-mpc = $(TARGET-mpc)
15207 all-stagetrain-mpc: configure-stagetrain-mpc
15208 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15209 @r=`${PWD_COMMAND}`; export r; \
15210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15211 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15212 $(HOST_EXPORTS) \
15213 $(POSTSTAGE1_HOST_EXPORTS) \
15214 cd $(HOST_SUBDIR)/mpc && \
15216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15217 CFLAGS="$(STAGEtrain_CFLAGS)" \
15218 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15219 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15223 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15224 TFLAGS="$(STAGEtrain_TFLAGS)" \
15225 $(TARGET-stagetrain-mpc)
15227 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15228 clean-stagetrain: clean-stagetrain-mpc
15229 clean-stagetrain-mpc:
15230 @if [ $(current_stage) = stagetrain ]; then \
15231 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15232 else \
15233 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15234 $(MAKE) stagetrain-start; \
15235 fi; \
15236 cd $(HOST_SUBDIR)/mpc && \
15237 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15238 @endif mpc-bootstrap
15241 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15242 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15243 maybe-all-stagefeedback-mpc:
15244 maybe-clean-stagefeedback-mpc:
15245 @if mpc-bootstrap
15246 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15247 all-stagefeedback: all-stagefeedback-mpc
15248 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15249 all-stagefeedback-mpc: configure-stagefeedback-mpc
15250 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15251 @r=`${PWD_COMMAND}`; export r; \
15252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15253 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15254 $(HOST_EXPORTS) \
15255 $(POSTSTAGE1_HOST_EXPORTS) \
15256 cd $(HOST_SUBDIR)/mpc && \
15258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15259 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15260 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15261 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15266 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15267 $(TARGET-stagefeedback-mpc)
15269 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15270 clean-stagefeedback: clean-stagefeedback-mpc
15271 clean-stagefeedback-mpc:
15272 @if [ $(current_stage) = stagefeedback ]; then \
15273 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15274 else \
15275 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15276 $(MAKE) stagefeedback-start; \
15277 fi; \
15278 cd $(HOST_SUBDIR)/mpc && \
15279 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15280 @endif mpc-bootstrap
15283 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15284 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15285 maybe-all-stageautoprofile-mpc:
15286 maybe-clean-stageautoprofile-mpc:
15287 @if mpc-bootstrap
15288 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15289 all-stageautoprofile: all-stageautoprofile-mpc
15290 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15291 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15292 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15293 @r=`${PWD_COMMAND}`; export r; \
15294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15295 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15296 $(HOST_EXPORTS) \
15297 $(POSTSTAGE1_HOST_EXPORTS) \
15298 cd $(HOST_SUBDIR)/mpc && \
15299 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15301 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15302 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15303 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15308 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15309 $(TARGET-stageautoprofile-mpc)
15311 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15312 clean-stageautoprofile: clean-stageautoprofile-mpc
15313 clean-stageautoprofile-mpc:
15314 @if [ $(current_stage) = stageautoprofile ]; then \
15315 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15316 else \
15317 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15318 $(MAKE) stageautoprofile-start; \
15319 fi; \
15320 cd $(HOST_SUBDIR)/mpc && \
15321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15322 @endif mpc-bootstrap
15325 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15326 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15327 maybe-all-stageautofeedback-mpc:
15328 maybe-clean-stageautofeedback-mpc:
15329 @if mpc-bootstrap
15330 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15331 all-stageautofeedback: all-stageautofeedback-mpc
15332 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15333 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15334 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15335 @r=`${PWD_COMMAND}`; export r; \
15336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15337 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15338 $(HOST_EXPORTS) \
15339 $(POSTSTAGE1_HOST_EXPORTS) \
15340 cd $(HOST_SUBDIR)/mpc && \
15342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15343 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15344 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15345 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15350 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15351 $(TARGET-stageautofeedback-mpc)
15353 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15354 clean-stageautofeedback: clean-stageautofeedback-mpc
15355 clean-stageautofeedback-mpc:
15356 @if [ $(current_stage) = stageautofeedback ]; then \
15357 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15358 else \
15359 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15360 $(MAKE) stageautofeedback-start; \
15361 fi; \
15362 cd $(HOST_SUBDIR)/mpc && \
15363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15364 @endif mpc-bootstrap
15370 .PHONY: check-mpc maybe-check-mpc
15371 maybe-check-mpc:
15372 @if mpc
15373 maybe-check-mpc: check-mpc
15375 check-mpc:
15376 @: $(MAKE); $(unstage)
15377 @r=`${PWD_COMMAND}`; export r; \
15378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15379 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15380 (cd $(HOST_SUBDIR)/mpc && \
15381 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15383 @endif mpc
15385 .PHONY: install-mpc maybe-install-mpc
15386 maybe-install-mpc:
15387 @if mpc
15388 maybe-install-mpc: install-mpc
15390 install-mpc:
15392 @endif mpc
15394 .PHONY: install-strip-mpc maybe-install-strip-mpc
15395 maybe-install-strip-mpc:
15396 @if mpc
15397 maybe-install-strip-mpc: install-strip-mpc
15399 install-strip-mpc:
15401 @endif mpc
15403 # Other targets (info, dvi, pdf, etc.)
15405 .PHONY: maybe-info-mpc info-mpc
15406 maybe-info-mpc:
15407 @if mpc
15408 maybe-info-mpc: info-mpc
15410 info-mpc: \
15411 configure-mpc
15412 @[ -f ./mpc/Makefile ] || exit 0; \
15413 r=`${PWD_COMMAND}`; export r; \
15414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15415 $(HOST_EXPORTS) \
15416 for flag in $(EXTRA_HOST_FLAGS) ; do \
15417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15418 done; \
15419 echo "Doing info in mpc"; \
15420 (cd $(HOST_SUBDIR)/mpc && \
15421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15423 "RANLIB=$${RANLIB}" \
15424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15425 info) \
15426 || exit 1
15428 @endif mpc
15430 .PHONY: maybe-dvi-mpc dvi-mpc
15431 maybe-dvi-mpc:
15432 @if mpc
15433 maybe-dvi-mpc: dvi-mpc
15435 dvi-mpc: \
15436 configure-mpc
15437 @[ -f ./mpc/Makefile ] || exit 0; \
15438 r=`${PWD_COMMAND}`; export r; \
15439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15440 $(HOST_EXPORTS) \
15441 for flag in $(EXTRA_HOST_FLAGS) ; do \
15442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15443 done; \
15444 echo "Doing dvi in mpc"; \
15445 (cd $(HOST_SUBDIR)/mpc && \
15446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15448 "RANLIB=$${RANLIB}" \
15449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15450 dvi) \
15451 || exit 1
15453 @endif mpc
15455 .PHONY: maybe-pdf-mpc pdf-mpc
15456 maybe-pdf-mpc:
15457 @if mpc
15458 maybe-pdf-mpc: pdf-mpc
15460 pdf-mpc: \
15461 configure-mpc
15462 @[ -f ./mpc/Makefile ] || exit 0; \
15463 r=`${PWD_COMMAND}`; export r; \
15464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15465 $(HOST_EXPORTS) \
15466 for flag in $(EXTRA_HOST_FLAGS) ; do \
15467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15468 done; \
15469 echo "Doing pdf in mpc"; \
15470 (cd $(HOST_SUBDIR)/mpc && \
15471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15473 "RANLIB=$${RANLIB}" \
15474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15475 pdf) \
15476 || exit 1
15478 @endif mpc
15480 .PHONY: maybe-html-mpc html-mpc
15481 maybe-html-mpc:
15482 @if mpc
15483 maybe-html-mpc: html-mpc
15485 html-mpc: \
15486 configure-mpc
15487 @[ -f ./mpc/Makefile ] || exit 0; \
15488 r=`${PWD_COMMAND}`; export r; \
15489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15490 $(HOST_EXPORTS) \
15491 for flag in $(EXTRA_HOST_FLAGS) ; do \
15492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15493 done; \
15494 echo "Doing html in mpc"; \
15495 (cd $(HOST_SUBDIR)/mpc && \
15496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15498 "RANLIB=$${RANLIB}" \
15499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15500 html) \
15501 || exit 1
15503 @endif mpc
15505 .PHONY: maybe-TAGS-mpc TAGS-mpc
15506 maybe-TAGS-mpc:
15507 @if mpc
15508 maybe-TAGS-mpc: TAGS-mpc
15510 TAGS-mpc: \
15511 configure-mpc
15512 @[ -f ./mpc/Makefile ] || exit 0; \
15513 r=`${PWD_COMMAND}`; export r; \
15514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15515 $(HOST_EXPORTS) \
15516 for flag in $(EXTRA_HOST_FLAGS) ; do \
15517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15518 done; \
15519 echo "Doing TAGS in mpc"; \
15520 (cd $(HOST_SUBDIR)/mpc && \
15521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15523 "RANLIB=$${RANLIB}" \
15524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15525 TAGS) \
15526 || exit 1
15528 @endif mpc
15530 .PHONY: maybe-install-info-mpc install-info-mpc
15531 maybe-install-info-mpc:
15532 @if mpc
15533 maybe-install-info-mpc: install-info-mpc
15535 install-info-mpc: \
15536 configure-mpc \
15537 info-mpc
15538 @[ -f ./mpc/Makefile ] || exit 0; \
15539 r=`${PWD_COMMAND}`; export r; \
15540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15541 $(HOST_EXPORTS) \
15542 for flag in $(EXTRA_HOST_FLAGS) ; do \
15543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15544 done; \
15545 echo "Doing install-info in mpc"; \
15546 (cd $(HOST_SUBDIR)/mpc && \
15547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15549 "RANLIB=$${RANLIB}" \
15550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15551 install-info) \
15552 || exit 1
15554 @endif mpc
15556 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15557 maybe-install-pdf-mpc:
15558 @if mpc
15559 maybe-install-pdf-mpc: install-pdf-mpc
15561 install-pdf-mpc: \
15562 configure-mpc \
15563 pdf-mpc
15564 @[ -f ./mpc/Makefile ] || exit 0; \
15565 r=`${PWD_COMMAND}`; export r; \
15566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15567 $(HOST_EXPORTS) \
15568 for flag in $(EXTRA_HOST_FLAGS) ; do \
15569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15570 done; \
15571 echo "Doing install-pdf in mpc"; \
15572 (cd $(HOST_SUBDIR)/mpc && \
15573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15575 "RANLIB=$${RANLIB}" \
15576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15577 install-pdf) \
15578 || exit 1
15580 @endif mpc
15582 .PHONY: maybe-install-html-mpc install-html-mpc
15583 maybe-install-html-mpc:
15584 @if mpc
15585 maybe-install-html-mpc: install-html-mpc
15587 install-html-mpc: \
15588 configure-mpc \
15589 html-mpc
15590 @[ -f ./mpc/Makefile ] || exit 0; \
15591 r=`${PWD_COMMAND}`; export r; \
15592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15593 $(HOST_EXPORTS) \
15594 for flag in $(EXTRA_HOST_FLAGS) ; do \
15595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15596 done; \
15597 echo "Doing install-html in mpc"; \
15598 (cd $(HOST_SUBDIR)/mpc && \
15599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15601 "RANLIB=$${RANLIB}" \
15602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15603 install-html) \
15604 || exit 1
15606 @endif mpc
15608 .PHONY: maybe-installcheck-mpc installcheck-mpc
15609 maybe-installcheck-mpc:
15610 @if mpc
15611 maybe-installcheck-mpc: installcheck-mpc
15613 installcheck-mpc: \
15614 configure-mpc
15615 @[ -f ./mpc/Makefile ] || exit 0; \
15616 r=`${PWD_COMMAND}`; export r; \
15617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15618 $(HOST_EXPORTS) \
15619 for flag in $(EXTRA_HOST_FLAGS) ; do \
15620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15621 done; \
15622 echo "Doing installcheck in mpc"; \
15623 (cd $(HOST_SUBDIR)/mpc && \
15624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15626 "RANLIB=$${RANLIB}" \
15627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15628 installcheck) \
15629 || exit 1
15631 @endif mpc
15633 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15634 maybe-mostlyclean-mpc:
15635 @if mpc
15636 maybe-mostlyclean-mpc: mostlyclean-mpc
15638 mostlyclean-mpc:
15639 @[ -f ./mpc/Makefile ] || exit 0; \
15640 r=`${PWD_COMMAND}`; export r; \
15641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15642 $(HOST_EXPORTS) \
15643 for flag in $(EXTRA_HOST_FLAGS) ; do \
15644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15645 done; \
15646 echo "Doing mostlyclean in mpc"; \
15647 (cd $(HOST_SUBDIR)/mpc && \
15648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15650 "RANLIB=$${RANLIB}" \
15651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15652 mostlyclean) \
15653 || exit 1
15655 @endif mpc
15657 .PHONY: maybe-clean-mpc clean-mpc
15658 maybe-clean-mpc:
15659 @if mpc
15660 maybe-clean-mpc: clean-mpc
15662 clean-mpc:
15663 @[ -f ./mpc/Makefile ] || exit 0; \
15664 r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 $(HOST_EXPORTS) \
15667 for flag in $(EXTRA_HOST_FLAGS) ; do \
15668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15669 done; \
15670 echo "Doing clean in mpc"; \
15671 (cd $(HOST_SUBDIR)/mpc && \
15672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15674 "RANLIB=$${RANLIB}" \
15675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15676 clean) \
15677 || exit 1
15679 @endif mpc
15681 .PHONY: maybe-distclean-mpc distclean-mpc
15682 maybe-distclean-mpc:
15683 @if mpc
15684 maybe-distclean-mpc: distclean-mpc
15686 distclean-mpc:
15687 @[ -f ./mpc/Makefile ] || exit 0; \
15688 r=`${PWD_COMMAND}`; export r; \
15689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 $(HOST_EXPORTS) \
15691 for flag in $(EXTRA_HOST_FLAGS) ; do \
15692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15693 done; \
15694 echo "Doing distclean in mpc"; \
15695 (cd $(HOST_SUBDIR)/mpc && \
15696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15698 "RANLIB=$${RANLIB}" \
15699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15700 distclean) \
15701 || exit 1
15703 @endif mpc
15705 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15706 maybe-maintainer-clean-mpc:
15707 @if mpc
15708 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15710 maintainer-clean-mpc:
15711 @[ -f ./mpc/Makefile ] || exit 0; \
15712 r=`${PWD_COMMAND}`; export r; \
15713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15714 $(HOST_EXPORTS) \
15715 for flag in $(EXTRA_HOST_FLAGS) ; do \
15716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15717 done; \
15718 echo "Doing maintainer-clean in mpc"; \
15719 (cd $(HOST_SUBDIR)/mpc && \
15720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15722 "RANLIB=$${RANLIB}" \
15723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15724 maintainer-clean) \
15725 || exit 1
15727 @endif mpc
15731 .PHONY: configure-isl maybe-configure-isl
15732 maybe-configure-isl:
15733 @if gcc-bootstrap
15734 configure-isl: stage_current
15735 @endif gcc-bootstrap
15736 @if isl
15737 maybe-configure-isl: configure-isl
15738 configure-isl:
15739 @r=`${PWD_COMMAND}`; export r; \
15740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15741 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15743 $(HOST_EXPORTS) \
15744 echo Configuring in $(HOST_SUBDIR)/isl; \
15745 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15746 case $(srcdir) in \
15747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15748 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15750 esac; \
15751 module_srcdir=isl; \
15752 $(SHELL) \
15753 $$s/$$module_srcdir/configure \
15754 --srcdir=$${topdir}/$$module_srcdir \
15755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15756 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15757 || exit 1
15758 @endif isl
15762 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15763 maybe-configure-stage1-isl:
15764 @if isl-bootstrap
15765 maybe-configure-stage1-isl: configure-stage1-isl
15766 configure-stage1-isl:
15767 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15769 @r=`${PWD_COMMAND}`; export r; \
15770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15771 TFLAGS="$(STAGE1_TFLAGS)"; \
15772 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15773 $(HOST_EXPORTS) \
15774 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15775 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15776 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15777 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15779 cd $(HOST_SUBDIR)/isl || exit 1; \
15780 case $(srcdir) in \
15781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15782 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15784 esac; \
15785 module_srcdir=isl; \
15786 $(SHELL) $$s/$$module_srcdir/configure \
15787 --srcdir=$${topdir}/$$module_srcdir \
15788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15789 --target=${target_alias} \
15791 $(STAGE1_CONFIGURE_FLAGS) \
15792 --disable-shared @extra_isl_gmp_configure_flags@
15793 @endif isl-bootstrap
15795 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15796 maybe-configure-stage2-isl:
15797 @if isl-bootstrap
15798 maybe-configure-stage2-isl: configure-stage2-isl
15799 configure-stage2-isl:
15800 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15802 @r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804 TFLAGS="$(STAGE2_TFLAGS)"; \
15805 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15806 $(HOST_EXPORTS) \
15807 $(POSTSTAGE1_HOST_EXPORTS) \
15808 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15809 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15810 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15811 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15813 cd $(HOST_SUBDIR)/isl || exit 1; \
15814 case $(srcdir) in \
15815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15816 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15818 esac; \
15819 module_srcdir=isl; \
15820 $(SHELL) $$s/$$module_srcdir/configure \
15821 --srcdir=$${topdir}/$$module_srcdir \
15822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15823 --target=${target_alias} \
15824 --with-build-libsubdir=$(HOST_SUBDIR) \
15825 $(STAGE2_CONFIGURE_FLAGS) \
15826 --disable-shared @extra_isl_gmp_configure_flags@
15827 @endif isl-bootstrap
15829 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15830 maybe-configure-stage3-isl:
15831 @if isl-bootstrap
15832 maybe-configure-stage3-isl: configure-stage3-isl
15833 configure-stage3-isl:
15834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15836 @r=`${PWD_COMMAND}`; export r; \
15837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 TFLAGS="$(STAGE3_TFLAGS)"; \
15839 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15840 $(HOST_EXPORTS) \
15841 $(POSTSTAGE1_HOST_EXPORTS) \
15842 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15843 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15844 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15845 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15847 cd $(HOST_SUBDIR)/isl || exit 1; \
15848 case $(srcdir) in \
15849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15850 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15852 esac; \
15853 module_srcdir=isl; \
15854 $(SHELL) $$s/$$module_srcdir/configure \
15855 --srcdir=$${topdir}/$$module_srcdir \
15856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15857 --target=${target_alias} \
15858 --with-build-libsubdir=$(HOST_SUBDIR) \
15859 $(STAGE3_CONFIGURE_FLAGS) \
15860 --disable-shared @extra_isl_gmp_configure_flags@
15861 @endif isl-bootstrap
15863 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15864 maybe-configure-stage4-isl:
15865 @if isl-bootstrap
15866 maybe-configure-stage4-isl: configure-stage4-isl
15867 configure-stage4-isl:
15868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15870 @r=`${PWD_COMMAND}`; export r; \
15871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15872 TFLAGS="$(STAGE4_TFLAGS)"; \
15873 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15874 $(HOST_EXPORTS) \
15875 $(POSTSTAGE1_HOST_EXPORTS) \
15876 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15877 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15878 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15879 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15881 cd $(HOST_SUBDIR)/isl || exit 1; \
15882 case $(srcdir) in \
15883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15884 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15886 esac; \
15887 module_srcdir=isl; \
15888 $(SHELL) $$s/$$module_srcdir/configure \
15889 --srcdir=$${topdir}/$$module_srcdir \
15890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15891 --target=${target_alias} \
15892 --with-build-libsubdir=$(HOST_SUBDIR) \
15893 $(STAGE4_CONFIGURE_FLAGS) \
15894 --disable-shared @extra_isl_gmp_configure_flags@
15895 @endif isl-bootstrap
15897 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15898 maybe-configure-stageprofile-isl:
15899 @if isl-bootstrap
15900 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15901 configure-stageprofile-isl:
15902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15904 @r=`${PWD_COMMAND}`; export r; \
15905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15907 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15908 $(HOST_EXPORTS) \
15909 $(POSTSTAGE1_HOST_EXPORTS) \
15910 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15912 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15913 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15915 cd $(HOST_SUBDIR)/isl || exit 1; \
15916 case $(srcdir) in \
15917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15918 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15920 esac; \
15921 module_srcdir=isl; \
15922 $(SHELL) $$s/$$module_srcdir/configure \
15923 --srcdir=$${topdir}/$$module_srcdir \
15924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15925 --target=${target_alias} \
15926 --with-build-libsubdir=$(HOST_SUBDIR) \
15927 $(STAGEprofile_CONFIGURE_FLAGS) \
15928 --disable-shared @extra_isl_gmp_configure_flags@
15929 @endif isl-bootstrap
15931 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
15932 maybe-configure-stagetrain-isl:
15933 @if isl-bootstrap
15934 maybe-configure-stagetrain-isl: configure-stagetrain-isl
15935 configure-stagetrain-isl:
15936 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15938 @r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15940 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15941 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15942 $(HOST_EXPORTS) \
15943 $(POSTSTAGE1_HOST_EXPORTS) \
15944 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15945 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15946 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15947 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
15948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15949 cd $(HOST_SUBDIR)/isl || exit 1; \
15950 case $(srcdir) in \
15951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15952 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15954 esac; \
15955 module_srcdir=isl; \
15956 $(SHELL) $$s/$$module_srcdir/configure \
15957 --srcdir=$${topdir}/$$module_srcdir \
15958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15959 --target=${target_alias} \
15960 --with-build-libsubdir=$(HOST_SUBDIR) \
15961 $(STAGEtrain_CONFIGURE_FLAGS) \
15962 --disable-shared @extra_isl_gmp_configure_flags@
15963 @endif isl-bootstrap
15965 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
15966 maybe-configure-stagefeedback-isl:
15967 @if isl-bootstrap
15968 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
15969 configure-stagefeedback-isl:
15970 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15972 @r=`${PWD_COMMAND}`; export r; \
15973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15975 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15976 $(HOST_EXPORTS) \
15977 $(POSTSTAGE1_HOST_EXPORTS) \
15978 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15979 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15980 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15981 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
15982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15983 cd $(HOST_SUBDIR)/isl || exit 1; \
15984 case $(srcdir) in \
15985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15986 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15988 esac; \
15989 module_srcdir=isl; \
15990 $(SHELL) $$s/$$module_srcdir/configure \
15991 --srcdir=$${topdir}/$$module_srcdir \
15992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15993 --target=${target_alias} \
15994 --with-build-libsubdir=$(HOST_SUBDIR) \
15995 $(STAGEfeedback_CONFIGURE_FLAGS) \
15996 --disable-shared @extra_isl_gmp_configure_flags@
15997 @endif isl-bootstrap
15999 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16000 maybe-configure-stageautoprofile-isl:
16001 @if isl-bootstrap
16002 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16003 configure-stageautoprofile-isl:
16004 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16006 @r=`${PWD_COMMAND}`; export r; \
16007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16008 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16009 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16010 $(HOST_EXPORTS) \
16011 $(POSTSTAGE1_HOST_EXPORTS) \
16012 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16013 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16014 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16015 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16017 cd $(HOST_SUBDIR)/isl || exit 1; \
16018 case $(srcdir) in \
16019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16020 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16022 esac; \
16023 module_srcdir=isl; \
16024 $(SHELL) $$s/$$module_srcdir/configure \
16025 --srcdir=$${topdir}/$$module_srcdir \
16026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16027 --target=${target_alias} \
16028 --with-build-libsubdir=$(HOST_SUBDIR) \
16029 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16030 --disable-shared @extra_isl_gmp_configure_flags@
16031 @endif isl-bootstrap
16033 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16034 maybe-configure-stageautofeedback-isl:
16035 @if isl-bootstrap
16036 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16037 configure-stageautofeedback-isl:
16038 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16040 @r=`${PWD_COMMAND}`; export r; \
16041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16042 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16043 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16044 $(HOST_EXPORTS) \
16045 $(POSTSTAGE1_HOST_EXPORTS) \
16046 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16047 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16048 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16049 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16051 cd $(HOST_SUBDIR)/isl || exit 1; \
16052 case $(srcdir) in \
16053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16054 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16056 esac; \
16057 module_srcdir=isl; \
16058 $(SHELL) $$s/$$module_srcdir/configure \
16059 --srcdir=$${topdir}/$$module_srcdir \
16060 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16061 --target=${target_alias} \
16062 --with-build-libsubdir=$(HOST_SUBDIR) \
16063 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16064 --disable-shared @extra_isl_gmp_configure_flags@
16065 @endif isl-bootstrap
16071 .PHONY: all-isl maybe-all-isl
16072 maybe-all-isl:
16073 @if gcc-bootstrap
16074 all-isl: stage_current
16075 @endif gcc-bootstrap
16076 @if isl
16077 TARGET-isl=all
16078 maybe-all-isl: all-isl
16079 all-isl: configure-isl
16080 @r=`${PWD_COMMAND}`; export r; \
16081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16082 $(HOST_EXPORTS) \
16083 (cd $(HOST_SUBDIR)/isl && \
16084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16085 $(TARGET-isl))
16086 @endif isl
16090 .PHONY: all-stage1-isl maybe-all-stage1-isl
16091 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16092 maybe-all-stage1-isl:
16093 maybe-clean-stage1-isl:
16094 @if isl-bootstrap
16095 maybe-all-stage1-isl: all-stage1-isl
16096 all-stage1: all-stage1-isl
16097 TARGET-stage1-isl = $(TARGET-isl)
16098 all-stage1-isl: configure-stage1-isl
16099 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16100 @r=`${PWD_COMMAND}`; export r; \
16101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16102 TFLAGS="$(STAGE1_TFLAGS)"; \
16103 $(HOST_EXPORTS) \
16104 cd $(HOST_SUBDIR)/isl && \
16106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16107 CFLAGS="$(STAGE1_CFLAGS)" \
16108 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16109 LIBCFLAGS="$(LIBCFLAGS)" \
16110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16113 $(EXTRA_HOST_FLAGS) \
16114 $(STAGE1_FLAGS_TO_PASS) V=1 \
16115 TFLAGS="$(STAGE1_TFLAGS)" \
16116 $(TARGET-stage1-isl)
16118 maybe-clean-stage1-isl: clean-stage1-isl
16119 clean-stage1: clean-stage1-isl
16120 clean-stage1-isl:
16121 @if [ $(current_stage) = stage1 ]; then \
16122 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16123 else \
16124 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16125 $(MAKE) stage1-start; \
16126 fi; \
16127 cd $(HOST_SUBDIR)/isl && \
16128 $(MAKE) $(EXTRA_HOST_FLAGS) \
16129 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16130 @endif isl-bootstrap
16133 .PHONY: all-stage2-isl maybe-all-stage2-isl
16134 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16135 maybe-all-stage2-isl:
16136 maybe-clean-stage2-isl:
16137 @if isl-bootstrap
16138 maybe-all-stage2-isl: all-stage2-isl
16139 all-stage2: all-stage2-isl
16140 TARGET-stage2-isl = $(TARGET-isl)
16141 all-stage2-isl: configure-stage2-isl
16142 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16143 @r=`${PWD_COMMAND}`; export r; \
16144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 TFLAGS="$(STAGE2_TFLAGS)"; \
16146 $(HOST_EXPORTS) \
16147 $(POSTSTAGE1_HOST_EXPORTS) \
16148 cd $(HOST_SUBDIR)/isl && \
16150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16151 CFLAGS="$(STAGE2_CFLAGS)" \
16152 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16153 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16158 TFLAGS="$(STAGE2_TFLAGS)" \
16159 $(TARGET-stage2-isl)
16161 maybe-clean-stage2-isl: clean-stage2-isl
16162 clean-stage2: clean-stage2-isl
16163 clean-stage2-isl:
16164 @if [ $(current_stage) = stage2 ]; then \
16165 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16166 else \
16167 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16168 $(MAKE) stage2-start; \
16169 fi; \
16170 cd $(HOST_SUBDIR)/isl && \
16171 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16172 @endif isl-bootstrap
16175 .PHONY: all-stage3-isl maybe-all-stage3-isl
16176 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16177 maybe-all-stage3-isl:
16178 maybe-clean-stage3-isl:
16179 @if isl-bootstrap
16180 maybe-all-stage3-isl: all-stage3-isl
16181 all-stage3: all-stage3-isl
16182 TARGET-stage3-isl = $(TARGET-isl)
16183 all-stage3-isl: configure-stage3-isl
16184 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16185 @r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 TFLAGS="$(STAGE3_TFLAGS)"; \
16188 $(HOST_EXPORTS) \
16189 $(POSTSTAGE1_HOST_EXPORTS) \
16190 cd $(HOST_SUBDIR)/isl && \
16192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16193 CFLAGS="$(STAGE3_CFLAGS)" \
16194 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16195 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16200 TFLAGS="$(STAGE3_TFLAGS)" \
16201 $(TARGET-stage3-isl)
16203 maybe-clean-stage3-isl: clean-stage3-isl
16204 clean-stage3: clean-stage3-isl
16205 clean-stage3-isl:
16206 @if [ $(current_stage) = stage3 ]; then \
16207 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16208 else \
16209 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16210 $(MAKE) stage3-start; \
16211 fi; \
16212 cd $(HOST_SUBDIR)/isl && \
16213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16214 @endif isl-bootstrap
16217 .PHONY: all-stage4-isl maybe-all-stage4-isl
16218 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16219 maybe-all-stage4-isl:
16220 maybe-clean-stage4-isl:
16221 @if isl-bootstrap
16222 maybe-all-stage4-isl: all-stage4-isl
16223 all-stage4: all-stage4-isl
16224 TARGET-stage4-isl = $(TARGET-isl)
16225 all-stage4-isl: configure-stage4-isl
16226 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16227 @r=`${PWD_COMMAND}`; export r; \
16228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16229 TFLAGS="$(STAGE4_TFLAGS)"; \
16230 $(HOST_EXPORTS) \
16231 $(POSTSTAGE1_HOST_EXPORTS) \
16232 cd $(HOST_SUBDIR)/isl && \
16234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16235 CFLAGS="$(STAGE4_CFLAGS)" \
16236 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16237 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16242 TFLAGS="$(STAGE4_TFLAGS)" \
16243 $(TARGET-stage4-isl)
16245 maybe-clean-stage4-isl: clean-stage4-isl
16246 clean-stage4: clean-stage4-isl
16247 clean-stage4-isl:
16248 @if [ $(current_stage) = stage4 ]; then \
16249 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16250 else \
16251 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16252 $(MAKE) stage4-start; \
16253 fi; \
16254 cd $(HOST_SUBDIR)/isl && \
16255 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16256 @endif isl-bootstrap
16259 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16260 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16261 maybe-all-stageprofile-isl:
16262 maybe-clean-stageprofile-isl:
16263 @if isl-bootstrap
16264 maybe-all-stageprofile-isl: all-stageprofile-isl
16265 all-stageprofile: all-stageprofile-isl
16266 TARGET-stageprofile-isl = $(TARGET-isl)
16267 all-stageprofile-isl: configure-stageprofile-isl
16268 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16269 @r=`${PWD_COMMAND}`; export r; \
16270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16271 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16272 $(HOST_EXPORTS) \
16273 $(POSTSTAGE1_HOST_EXPORTS) \
16274 cd $(HOST_SUBDIR)/isl && \
16276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16277 CFLAGS="$(STAGEprofile_CFLAGS)" \
16278 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16279 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16284 TFLAGS="$(STAGEprofile_TFLAGS)" \
16285 $(TARGET-stageprofile-isl)
16287 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16288 clean-stageprofile: clean-stageprofile-isl
16289 clean-stageprofile-isl:
16290 @if [ $(current_stage) = stageprofile ]; then \
16291 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16292 else \
16293 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16294 $(MAKE) stageprofile-start; \
16295 fi; \
16296 cd $(HOST_SUBDIR)/isl && \
16297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16298 @endif isl-bootstrap
16301 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16302 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16303 maybe-all-stagetrain-isl:
16304 maybe-clean-stagetrain-isl:
16305 @if isl-bootstrap
16306 maybe-all-stagetrain-isl: all-stagetrain-isl
16307 all-stagetrain: all-stagetrain-isl
16308 TARGET-stagetrain-isl = $(TARGET-isl)
16309 all-stagetrain-isl: configure-stagetrain-isl
16310 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16311 @r=`${PWD_COMMAND}`; export r; \
16312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16313 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16314 $(HOST_EXPORTS) \
16315 $(POSTSTAGE1_HOST_EXPORTS) \
16316 cd $(HOST_SUBDIR)/isl && \
16318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16319 CFLAGS="$(STAGEtrain_CFLAGS)" \
16320 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16321 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16326 TFLAGS="$(STAGEtrain_TFLAGS)" \
16327 $(TARGET-stagetrain-isl)
16329 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16330 clean-stagetrain: clean-stagetrain-isl
16331 clean-stagetrain-isl:
16332 @if [ $(current_stage) = stagetrain ]; then \
16333 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16334 else \
16335 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16336 $(MAKE) stagetrain-start; \
16337 fi; \
16338 cd $(HOST_SUBDIR)/isl && \
16339 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16340 @endif isl-bootstrap
16343 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16344 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16345 maybe-all-stagefeedback-isl:
16346 maybe-clean-stagefeedback-isl:
16347 @if isl-bootstrap
16348 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16349 all-stagefeedback: all-stagefeedback-isl
16350 TARGET-stagefeedback-isl = $(TARGET-isl)
16351 all-stagefeedback-isl: configure-stagefeedback-isl
16352 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16353 @r=`${PWD_COMMAND}`; export r; \
16354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16355 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16356 $(HOST_EXPORTS) \
16357 $(POSTSTAGE1_HOST_EXPORTS) \
16358 cd $(HOST_SUBDIR)/isl && \
16360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16361 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16362 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16363 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16364 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16365 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16366 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16367 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16368 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16369 $(TARGET-stagefeedback-isl)
16371 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16372 clean-stagefeedback: clean-stagefeedback-isl
16373 clean-stagefeedback-isl:
16374 @if [ $(current_stage) = stagefeedback ]; then \
16375 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16376 else \
16377 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16378 $(MAKE) stagefeedback-start; \
16379 fi; \
16380 cd $(HOST_SUBDIR)/isl && \
16381 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16382 @endif isl-bootstrap
16385 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16386 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16387 maybe-all-stageautoprofile-isl:
16388 maybe-clean-stageautoprofile-isl:
16389 @if isl-bootstrap
16390 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16391 all-stageautoprofile: all-stageautoprofile-isl
16392 TARGET-stageautoprofile-isl = $(TARGET-isl)
16393 all-stageautoprofile-isl: configure-stageautoprofile-isl
16394 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16395 @r=`${PWD_COMMAND}`; export r; \
16396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16397 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16398 $(HOST_EXPORTS) \
16399 $(POSTSTAGE1_HOST_EXPORTS) \
16400 cd $(HOST_SUBDIR)/isl && \
16401 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16403 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16404 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16405 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16410 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16411 $(TARGET-stageautoprofile-isl)
16413 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16414 clean-stageautoprofile: clean-stageautoprofile-isl
16415 clean-stageautoprofile-isl:
16416 @if [ $(current_stage) = stageautoprofile ]; then \
16417 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16418 else \
16419 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16420 $(MAKE) stageautoprofile-start; \
16421 fi; \
16422 cd $(HOST_SUBDIR)/isl && \
16423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16424 @endif isl-bootstrap
16427 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16428 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16429 maybe-all-stageautofeedback-isl:
16430 maybe-clean-stageautofeedback-isl:
16431 @if isl-bootstrap
16432 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16433 all-stageautofeedback: all-stageautofeedback-isl
16434 TARGET-stageautofeedback-isl = $(TARGET-isl)
16435 all-stageautofeedback-isl: configure-stageautofeedback-isl
16436 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16437 @r=`${PWD_COMMAND}`; export r; \
16438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16440 $(HOST_EXPORTS) \
16441 $(POSTSTAGE1_HOST_EXPORTS) \
16442 cd $(HOST_SUBDIR)/isl && \
16444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16445 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16446 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16447 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16448 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16449 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16450 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16451 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16452 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16453 $(TARGET-stageautofeedback-isl)
16455 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16456 clean-stageautofeedback: clean-stageautofeedback-isl
16457 clean-stageautofeedback-isl:
16458 @if [ $(current_stage) = stageautofeedback ]; then \
16459 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16460 else \
16461 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16462 $(MAKE) stageautofeedback-start; \
16463 fi; \
16464 cd $(HOST_SUBDIR)/isl && \
16465 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16466 @endif isl-bootstrap
16472 .PHONY: check-isl maybe-check-isl
16473 maybe-check-isl:
16474 @if isl
16475 maybe-check-isl: check-isl
16477 check-isl:
16478 @: $(MAKE); $(unstage)
16479 @r=`${PWD_COMMAND}`; export r; \
16480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16481 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16482 (cd $(HOST_SUBDIR)/isl && \
16483 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16485 @endif isl
16487 .PHONY: install-isl maybe-install-isl
16488 maybe-install-isl:
16489 @if isl
16490 maybe-install-isl: install-isl
16492 install-isl:
16494 @endif isl
16496 .PHONY: install-strip-isl maybe-install-strip-isl
16497 maybe-install-strip-isl:
16498 @if isl
16499 maybe-install-strip-isl: install-strip-isl
16501 install-strip-isl:
16503 @endif isl
16505 # Other targets (info, dvi, pdf, etc.)
16507 .PHONY: maybe-info-isl info-isl
16508 maybe-info-isl:
16509 @if isl
16510 maybe-info-isl: info-isl
16512 info-isl: \
16513 configure-isl
16514 @[ -f ./isl/Makefile ] || exit 0; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16517 $(HOST_EXPORTS) \
16518 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16520 done; \
16521 echo "Doing info in isl"; \
16522 (cd $(HOST_SUBDIR)/isl && \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16525 "RANLIB=$${RANLIB}" \
16526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16527 info) \
16528 || exit 1
16530 @endif isl
16532 .PHONY: maybe-dvi-isl dvi-isl
16533 maybe-dvi-isl:
16534 @if isl
16535 maybe-dvi-isl: dvi-isl
16537 dvi-isl: \
16538 configure-isl
16539 @[ -f ./isl/Makefile ] || exit 0; \
16540 r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(HOST_EXPORTS) \
16543 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16545 done; \
16546 echo "Doing dvi in isl"; \
16547 (cd $(HOST_SUBDIR)/isl && \
16548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16550 "RANLIB=$${RANLIB}" \
16551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16552 dvi) \
16553 || exit 1
16555 @endif isl
16557 .PHONY: maybe-pdf-isl pdf-isl
16558 maybe-pdf-isl:
16559 @if isl
16560 maybe-pdf-isl: pdf-isl
16562 pdf-isl: \
16563 configure-isl
16564 @[ -f ./isl/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(HOST_EXPORTS) \
16568 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16570 done; \
16571 echo "Doing pdf in isl"; \
16572 (cd $(HOST_SUBDIR)/isl && \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16575 "RANLIB=$${RANLIB}" \
16576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16577 pdf) \
16578 || exit 1
16580 @endif isl
16582 .PHONY: maybe-html-isl html-isl
16583 maybe-html-isl:
16584 @if isl
16585 maybe-html-isl: html-isl
16587 html-isl: \
16588 configure-isl
16589 @[ -f ./isl/Makefile ] || exit 0; \
16590 r=`${PWD_COMMAND}`; export r; \
16591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16592 $(HOST_EXPORTS) \
16593 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16595 done; \
16596 echo "Doing html in isl"; \
16597 (cd $(HOST_SUBDIR)/isl && \
16598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16600 "RANLIB=$${RANLIB}" \
16601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16602 html) \
16603 || exit 1
16605 @endif isl
16607 .PHONY: maybe-TAGS-isl TAGS-isl
16608 maybe-TAGS-isl:
16609 @if isl
16610 maybe-TAGS-isl: TAGS-isl
16612 TAGS-isl: \
16613 configure-isl
16614 @[ -f ./isl/Makefile ] || exit 0; \
16615 r=`${PWD_COMMAND}`; export r; \
16616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16617 $(HOST_EXPORTS) \
16618 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16620 done; \
16621 echo "Doing TAGS in isl"; \
16622 (cd $(HOST_SUBDIR)/isl && \
16623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16625 "RANLIB=$${RANLIB}" \
16626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16627 TAGS) \
16628 || exit 1
16630 @endif isl
16632 .PHONY: maybe-install-info-isl install-info-isl
16633 maybe-install-info-isl:
16634 @if isl
16635 maybe-install-info-isl: install-info-isl
16637 install-info-isl: \
16638 configure-isl \
16639 info-isl
16640 @[ -f ./isl/Makefile ] || exit 0; \
16641 r=`${PWD_COMMAND}`; export r; \
16642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16643 $(HOST_EXPORTS) \
16644 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16646 done; \
16647 echo "Doing install-info in isl"; \
16648 (cd $(HOST_SUBDIR)/isl && \
16649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16651 "RANLIB=$${RANLIB}" \
16652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16653 install-info) \
16654 || exit 1
16656 @endif isl
16658 .PHONY: maybe-install-pdf-isl install-pdf-isl
16659 maybe-install-pdf-isl:
16660 @if isl
16661 maybe-install-pdf-isl: install-pdf-isl
16663 install-pdf-isl: \
16664 configure-isl \
16665 pdf-isl
16666 @[ -f ./isl/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 $(HOST_EXPORTS) \
16670 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16672 done; \
16673 echo "Doing install-pdf in isl"; \
16674 (cd $(HOST_SUBDIR)/isl && \
16675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16677 "RANLIB=$${RANLIB}" \
16678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16679 install-pdf) \
16680 || exit 1
16682 @endif isl
16684 .PHONY: maybe-install-html-isl install-html-isl
16685 maybe-install-html-isl:
16686 @if isl
16687 maybe-install-html-isl: install-html-isl
16689 install-html-isl: \
16690 configure-isl \
16691 html-isl
16692 @[ -f ./isl/Makefile ] || exit 0; \
16693 r=`${PWD_COMMAND}`; export r; \
16694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16695 $(HOST_EXPORTS) \
16696 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16698 done; \
16699 echo "Doing install-html in isl"; \
16700 (cd $(HOST_SUBDIR)/isl && \
16701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16703 "RANLIB=$${RANLIB}" \
16704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16705 install-html) \
16706 || exit 1
16708 @endif isl
16710 .PHONY: maybe-installcheck-isl installcheck-isl
16711 maybe-installcheck-isl:
16712 @if isl
16713 maybe-installcheck-isl: installcheck-isl
16715 installcheck-isl: \
16716 configure-isl
16717 @[ -f ./isl/Makefile ] || exit 0; \
16718 r=`${PWD_COMMAND}`; export r; \
16719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16720 $(HOST_EXPORTS) \
16721 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16723 done; \
16724 echo "Doing installcheck in isl"; \
16725 (cd $(HOST_SUBDIR)/isl && \
16726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16728 "RANLIB=$${RANLIB}" \
16729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16730 installcheck) \
16731 || exit 1
16733 @endif isl
16735 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16736 maybe-mostlyclean-isl:
16737 @if isl
16738 maybe-mostlyclean-isl: mostlyclean-isl
16740 mostlyclean-isl:
16741 @[ -f ./isl/Makefile ] || exit 0; \
16742 r=`${PWD_COMMAND}`; export r; \
16743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16744 $(HOST_EXPORTS) \
16745 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16747 done; \
16748 echo "Doing mostlyclean in isl"; \
16749 (cd $(HOST_SUBDIR)/isl && \
16750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16752 "RANLIB=$${RANLIB}" \
16753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16754 mostlyclean) \
16755 || exit 1
16757 @endif isl
16759 .PHONY: maybe-clean-isl clean-isl
16760 maybe-clean-isl:
16761 @if isl
16762 maybe-clean-isl: clean-isl
16764 clean-isl:
16765 @[ -f ./isl/Makefile ] || exit 0; \
16766 r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16768 $(HOST_EXPORTS) \
16769 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16771 done; \
16772 echo "Doing clean in isl"; \
16773 (cd $(HOST_SUBDIR)/isl && \
16774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16776 "RANLIB=$${RANLIB}" \
16777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16778 clean) \
16779 || exit 1
16781 @endif isl
16783 .PHONY: maybe-distclean-isl distclean-isl
16784 maybe-distclean-isl:
16785 @if isl
16786 maybe-distclean-isl: distclean-isl
16788 distclean-isl:
16789 @[ -f ./isl/Makefile ] || exit 0; \
16790 r=`${PWD_COMMAND}`; export r; \
16791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16792 $(HOST_EXPORTS) \
16793 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16795 done; \
16796 echo "Doing distclean in isl"; \
16797 (cd $(HOST_SUBDIR)/isl && \
16798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16800 "RANLIB=$${RANLIB}" \
16801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16802 distclean) \
16803 || exit 1
16805 @endif isl
16807 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16808 maybe-maintainer-clean-isl:
16809 @if isl
16810 maybe-maintainer-clean-isl: maintainer-clean-isl
16812 maintainer-clean-isl:
16813 @[ -f ./isl/Makefile ] || exit 0; \
16814 r=`${PWD_COMMAND}`; export r; \
16815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16816 $(HOST_EXPORTS) \
16817 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16819 done; \
16820 echo "Doing maintainer-clean in isl"; \
16821 (cd $(HOST_SUBDIR)/isl && \
16822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16824 "RANLIB=$${RANLIB}" \
16825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16826 maintainer-clean) \
16827 || exit 1
16829 @endif isl
16833 .PHONY: configure-libelf maybe-configure-libelf
16834 maybe-configure-libelf:
16835 @if gcc-bootstrap
16836 configure-libelf: stage_current
16837 @endif gcc-bootstrap
16838 @if libelf
16839 maybe-configure-libelf: configure-libelf
16840 configure-libelf:
16841 @r=`${PWD_COMMAND}`; export r; \
16842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16843 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16845 $(HOST_EXPORTS) \
16846 echo Configuring in $(HOST_SUBDIR)/libelf; \
16847 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16848 case $(srcdir) in \
16849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16850 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16852 esac; \
16853 module_srcdir=libelf; \
16854 $(SHELL) \
16855 $$s/$$module_srcdir/configure \
16856 --srcdir=$${topdir}/$$module_srcdir \
16857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16858 --target=${target_alias} --disable-shared \
16859 || exit 1
16860 @endif libelf
16864 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16865 maybe-configure-stage1-libelf:
16866 @if libelf-bootstrap
16867 maybe-configure-stage1-libelf: configure-stage1-libelf
16868 configure-stage1-libelf:
16869 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16870 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16871 @r=`${PWD_COMMAND}`; export r; \
16872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16873 TFLAGS="$(STAGE1_TFLAGS)"; \
16874 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16875 $(HOST_EXPORTS) \
16876 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16877 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16878 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16879 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16881 cd $(HOST_SUBDIR)/libelf || exit 1; \
16882 case $(srcdir) in \
16883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16884 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16886 esac; \
16887 module_srcdir=libelf; \
16888 $(SHELL) $$s/$$module_srcdir/configure \
16889 --srcdir=$${topdir}/$$module_srcdir \
16890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16891 --target=${target_alias} \
16893 $(STAGE1_CONFIGURE_FLAGS) \
16894 --disable-shared
16895 @endif libelf-bootstrap
16897 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16898 maybe-configure-stage2-libelf:
16899 @if libelf-bootstrap
16900 maybe-configure-stage2-libelf: configure-stage2-libelf
16901 configure-stage2-libelf:
16902 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16904 @r=`${PWD_COMMAND}`; export r; \
16905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16906 TFLAGS="$(STAGE2_TFLAGS)"; \
16907 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16908 $(HOST_EXPORTS) \
16909 $(POSTSTAGE1_HOST_EXPORTS) \
16910 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16911 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16912 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16913 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16915 cd $(HOST_SUBDIR)/libelf || exit 1; \
16916 case $(srcdir) in \
16917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16918 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16920 esac; \
16921 module_srcdir=libelf; \
16922 $(SHELL) $$s/$$module_srcdir/configure \
16923 --srcdir=$${topdir}/$$module_srcdir \
16924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16925 --target=${target_alias} \
16926 --with-build-libsubdir=$(HOST_SUBDIR) \
16927 $(STAGE2_CONFIGURE_FLAGS) \
16928 --disable-shared
16929 @endif libelf-bootstrap
16931 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16932 maybe-configure-stage3-libelf:
16933 @if libelf-bootstrap
16934 maybe-configure-stage3-libelf: configure-stage3-libelf
16935 configure-stage3-libelf:
16936 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16938 @r=`${PWD_COMMAND}`; export r; \
16939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16940 TFLAGS="$(STAGE3_TFLAGS)"; \
16941 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16942 $(HOST_EXPORTS) \
16943 $(POSTSTAGE1_HOST_EXPORTS) \
16944 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16945 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16946 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16947 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
16948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16949 cd $(HOST_SUBDIR)/libelf || exit 1; \
16950 case $(srcdir) in \
16951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16952 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16954 esac; \
16955 module_srcdir=libelf; \
16956 $(SHELL) $$s/$$module_srcdir/configure \
16957 --srcdir=$${topdir}/$$module_srcdir \
16958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16959 --target=${target_alias} \
16960 --with-build-libsubdir=$(HOST_SUBDIR) \
16961 $(STAGE3_CONFIGURE_FLAGS) \
16962 --disable-shared
16963 @endif libelf-bootstrap
16965 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
16966 maybe-configure-stage4-libelf:
16967 @if libelf-bootstrap
16968 maybe-configure-stage4-libelf: configure-stage4-libelf
16969 configure-stage4-libelf:
16970 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16972 @r=`${PWD_COMMAND}`; export r; \
16973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16974 TFLAGS="$(STAGE4_TFLAGS)"; \
16975 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16976 $(HOST_EXPORTS) \
16977 $(POSTSTAGE1_HOST_EXPORTS) \
16978 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16979 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16980 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16981 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
16982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16983 cd $(HOST_SUBDIR)/libelf || exit 1; \
16984 case $(srcdir) in \
16985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16986 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16988 esac; \
16989 module_srcdir=libelf; \
16990 $(SHELL) $$s/$$module_srcdir/configure \
16991 --srcdir=$${topdir}/$$module_srcdir \
16992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16993 --target=${target_alias} \
16994 --with-build-libsubdir=$(HOST_SUBDIR) \
16995 $(STAGE4_CONFIGURE_FLAGS) \
16996 --disable-shared
16997 @endif libelf-bootstrap
16999 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17000 maybe-configure-stageprofile-libelf:
17001 @if libelf-bootstrap
17002 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17003 configure-stageprofile-libelf:
17004 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17006 @r=`${PWD_COMMAND}`; export r; \
17007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17008 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17009 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17010 $(HOST_EXPORTS) \
17011 $(POSTSTAGE1_HOST_EXPORTS) \
17012 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17013 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17014 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17015 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17017 cd $(HOST_SUBDIR)/libelf || exit 1; \
17018 case $(srcdir) in \
17019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17020 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17022 esac; \
17023 module_srcdir=libelf; \
17024 $(SHELL) $$s/$$module_srcdir/configure \
17025 --srcdir=$${topdir}/$$module_srcdir \
17026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17027 --target=${target_alias} \
17028 --with-build-libsubdir=$(HOST_SUBDIR) \
17029 $(STAGEprofile_CONFIGURE_FLAGS) \
17030 --disable-shared
17031 @endif libelf-bootstrap
17033 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17034 maybe-configure-stagetrain-libelf:
17035 @if libelf-bootstrap
17036 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17037 configure-stagetrain-libelf:
17038 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17040 @r=`${PWD_COMMAND}`; export r; \
17041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17042 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17043 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17044 $(HOST_EXPORTS) \
17045 $(POSTSTAGE1_HOST_EXPORTS) \
17046 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17047 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17048 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17049 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17051 cd $(HOST_SUBDIR)/libelf || exit 1; \
17052 case $(srcdir) in \
17053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17054 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17056 esac; \
17057 module_srcdir=libelf; \
17058 $(SHELL) $$s/$$module_srcdir/configure \
17059 --srcdir=$${topdir}/$$module_srcdir \
17060 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17061 --target=${target_alias} \
17062 --with-build-libsubdir=$(HOST_SUBDIR) \
17063 $(STAGEtrain_CONFIGURE_FLAGS) \
17064 --disable-shared
17065 @endif libelf-bootstrap
17067 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17068 maybe-configure-stagefeedback-libelf:
17069 @if libelf-bootstrap
17070 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17071 configure-stagefeedback-libelf:
17072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17074 @r=`${PWD_COMMAND}`; export r; \
17075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17076 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17077 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17078 $(HOST_EXPORTS) \
17079 $(POSTSTAGE1_HOST_EXPORTS) \
17080 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17081 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17082 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17083 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17085 cd $(HOST_SUBDIR)/libelf || exit 1; \
17086 case $(srcdir) in \
17087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17088 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17090 esac; \
17091 module_srcdir=libelf; \
17092 $(SHELL) $$s/$$module_srcdir/configure \
17093 --srcdir=$${topdir}/$$module_srcdir \
17094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17095 --target=${target_alias} \
17096 --with-build-libsubdir=$(HOST_SUBDIR) \
17097 $(STAGEfeedback_CONFIGURE_FLAGS) \
17098 --disable-shared
17099 @endif libelf-bootstrap
17101 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17102 maybe-configure-stageautoprofile-libelf:
17103 @if libelf-bootstrap
17104 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17105 configure-stageautoprofile-libelf:
17106 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17108 @r=`${PWD_COMMAND}`; export r; \
17109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17110 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17111 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17112 $(HOST_EXPORTS) \
17113 $(POSTSTAGE1_HOST_EXPORTS) \
17114 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17115 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17116 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17117 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17119 cd $(HOST_SUBDIR)/libelf || exit 1; \
17120 case $(srcdir) in \
17121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17122 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17124 esac; \
17125 module_srcdir=libelf; \
17126 $(SHELL) $$s/$$module_srcdir/configure \
17127 --srcdir=$${topdir}/$$module_srcdir \
17128 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17129 --target=${target_alias} \
17130 --with-build-libsubdir=$(HOST_SUBDIR) \
17131 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17132 --disable-shared
17133 @endif libelf-bootstrap
17135 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17136 maybe-configure-stageautofeedback-libelf:
17137 @if libelf-bootstrap
17138 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17139 configure-stageautofeedback-libelf:
17140 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17142 @r=`${PWD_COMMAND}`; export r; \
17143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17144 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17145 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17146 $(HOST_EXPORTS) \
17147 $(POSTSTAGE1_HOST_EXPORTS) \
17148 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17149 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17150 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17151 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17153 cd $(HOST_SUBDIR)/libelf || exit 1; \
17154 case $(srcdir) in \
17155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17156 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17158 esac; \
17159 module_srcdir=libelf; \
17160 $(SHELL) $$s/$$module_srcdir/configure \
17161 --srcdir=$${topdir}/$$module_srcdir \
17162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17163 --target=${target_alias} \
17164 --with-build-libsubdir=$(HOST_SUBDIR) \
17165 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17166 --disable-shared
17167 @endif libelf-bootstrap
17173 .PHONY: all-libelf maybe-all-libelf
17174 maybe-all-libelf:
17175 @if gcc-bootstrap
17176 all-libelf: stage_current
17177 @endif gcc-bootstrap
17178 @if libelf
17179 TARGET-libelf=all
17180 maybe-all-libelf: all-libelf
17181 all-libelf: configure-libelf
17182 @r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 $(HOST_EXPORTS) \
17185 (cd $(HOST_SUBDIR)/libelf && \
17186 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17187 $(TARGET-libelf))
17188 @endif libelf
17192 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17193 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17194 maybe-all-stage1-libelf:
17195 maybe-clean-stage1-libelf:
17196 @if libelf-bootstrap
17197 maybe-all-stage1-libelf: all-stage1-libelf
17198 all-stage1: all-stage1-libelf
17199 TARGET-stage1-libelf = $(TARGET-libelf)
17200 all-stage1-libelf: configure-stage1-libelf
17201 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17202 @r=`${PWD_COMMAND}`; export r; \
17203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17204 TFLAGS="$(STAGE1_TFLAGS)"; \
17205 $(HOST_EXPORTS) \
17206 cd $(HOST_SUBDIR)/libelf && \
17208 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17209 CFLAGS="$(STAGE1_CFLAGS)" \
17210 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17211 LIBCFLAGS="$(LIBCFLAGS)" \
17212 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17213 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17214 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17215 $(EXTRA_HOST_FLAGS) \
17216 $(STAGE1_FLAGS_TO_PASS) \
17217 TFLAGS="$(STAGE1_TFLAGS)" \
17218 $(TARGET-stage1-libelf)
17220 maybe-clean-stage1-libelf: clean-stage1-libelf
17221 clean-stage1: clean-stage1-libelf
17222 clean-stage1-libelf:
17223 @if [ $(current_stage) = stage1 ]; then \
17224 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17225 else \
17226 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17227 $(MAKE) stage1-start; \
17228 fi; \
17229 cd $(HOST_SUBDIR)/libelf && \
17230 $(MAKE) $(EXTRA_HOST_FLAGS) \
17231 $(STAGE1_FLAGS_TO_PASS) clean
17232 @endif libelf-bootstrap
17235 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17236 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17237 maybe-all-stage2-libelf:
17238 maybe-clean-stage2-libelf:
17239 @if libelf-bootstrap
17240 maybe-all-stage2-libelf: all-stage2-libelf
17241 all-stage2: all-stage2-libelf
17242 TARGET-stage2-libelf = $(TARGET-libelf)
17243 all-stage2-libelf: configure-stage2-libelf
17244 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17245 @r=`${PWD_COMMAND}`; export r; \
17246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17247 TFLAGS="$(STAGE2_TFLAGS)"; \
17248 $(HOST_EXPORTS) \
17249 $(POSTSTAGE1_HOST_EXPORTS) \
17250 cd $(HOST_SUBDIR)/libelf && \
17252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17253 CFLAGS="$(STAGE2_CFLAGS)" \
17254 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17255 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17260 TFLAGS="$(STAGE2_TFLAGS)" \
17261 $(TARGET-stage2-libelf)
17263 maybe-clean-stage2-libelf: clean-stage2-libelf
17264 clean-stage2: clean-stage2-libelf
17265 clean-stage2-libelf:
17266 @if [ $(current_stage) = stage2 ]; then \
17267 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17268 else \
17269 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17270 $(MAKE) stage2-start; \
17271 fi; \
17272 cd $(HOST_SUBDIR)/libelf && \
17273 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17274 @endif libelf-bootstrap
17277 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17278 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17279 maybe-all-stage3-libelf:
17280 maybe-clean-stage3-libelf:
17281 @if libelf-bootstrap
17282 maybe-all-stage3-libelf: all-stage3-libelf
17283 all-stage3: all-stage3-libelf
17284 TARGET-stage3-libelf = $(TARGET-libelf)
17285 all-stage3-libelf: configure-stage3-libelf
17286 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17287 @r=`${PWD_COMMAND}`; export r; \
17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17289 TFLAGS="$(STAGE3_TFLAGS)"; \
17290 $(HOST_EXPORTS) \
17291 $(POSTSTAGE1_HOST_EXPORTS) \
17292 cd $(HOST_SUBDIR)/libelf && \
17294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17295 CFLAGS="$(STAGE3_CFLAGS)" \
17296 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17297 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17302 TFLAGS="$(STAGE3_TFLAGS)" \
17303 $(TARGET-stage3-libelf)
17305 maybe-clean-stage3-libelf: clean-stage3-libelf
17306 clean-stage3: clean-stage3-libelf
17307 clean-stage3-libelf:
17308 @if [ $(current_stage) = stage3 ]; then \
17309 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17310 else \
17311 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17312 $(MAKE) stage3-start; \
17313 fi; \
17314 cd $(HOST_SUBDIR)/libelf && \
17315 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17316 @endif libelf-bootstrap
17319 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17320 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17321 maybe-all-stage4-libelf:
17322 maybe-clean-stage4-libelf:
17323 @if libelf-bootstrap
17324 maybe-all-stage4-libelf: all-stage4-libelf
17325 all-stage4: all-stage4-libelf
17326 TARGET-stage4-libelf = $(TARGET-libelf)
17327 all-stage4-libelf: configure-stage4-libelf
17328 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17329 @r=`${PWD_COMMAND}`; export r; \
17330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17331 TFLAGS="$(STAGE4_TFLAGS)"; \
17332 $(HOST_EXPORTS) \
17333 $(POSTSTAGE1_HOST_EXPORTS) \
17334 cd $(HOST_SUBDIR)/libelf && \
17336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17337 CFLAGS="$(STAGE4_CFLAGS)" \
17338 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17339 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17344 TFLAGS="$(STAGE4_TFLAGS)" \
17345 $(TARGET-stage4-libelf)
17347 maybe-clean-stage4-libelf: clean-stage4-libelf
17348 clean-stage4: clean-stage4-libelf
17349 clean-stage4-libelf:
17350 @if [ $(current_stage) = stage4 ]; then \
17351 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17352 else \
17353 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17354 $(MAKE) stage4-start; \
17355 fi; \
17356 cd $(HOST_SUBDIR)/libelf && \
17357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17358 @endif libelf-bootstrap
17361 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17362 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17363 maybe-all-stageprofile-libelf:
17364 maybe-clean-stageprofile-libelf:
17365 @if libelf-bootstrap
17366 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17367 all-stageprofile: all-stageprofile-libelf
17368 TARGET-stageprofile-libelf = $(TARGET-libelf)
17369 all-stageprofile-libelf: configure-stageprofile-libelf
17370 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17371 @r=`${PWD_COMMAND}`; export r; \
17372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17373 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17374 $(HOST_EXPORTS) \
17375 $(POSTSTAGE1_HOST_EXPORTS) \
17376 cd $(HOST_SUBDIR)/libelf && \
17378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17379 CFLAGS="$(STAGEprofile_CFLAGS)" \
17380 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17381 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17386 TFLAGS="$(STAGEprofile_TFLAGS)" \
17387 $(TARGET-stageprofile-libelf)
17389 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17390 clean-stageprofile: clean-stageprofile-libelf
17391 clean-stageprofile-libelf:
17392 @if [ $(current_stage) = stageprofile ]; then \
17393 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17394 else \
17395 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17396 $(MAKE) stageprofile-start; \
17397 fi; \
17398 cd $(HOST_SUBDIR)/libelf && \
17399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17400 @endif libelf-bootstrap
17403 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17404 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17405 maybe-all-stagetrain-libelf:
17406 maybe-clean-stagetrain-libelf:
17407 @if libelf-bootstrap
17408 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17409 all-stagetrain: all-stagetrain-libelf
17410 TARGET-stagetrain-libelf = $(TARGET-libelf)
17411 all-stagetrain-libelf: configure-stagetrain-libelf
17412 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17413 @r=`${PWD_COMMAND}`; export r; \
17414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17415 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17416 $(HOST_EXPORTS) \
17417 $(POSTSTAGE1_HOST_EXPORTS) \
17418 cd $(HOST_SUBDIR)/libelf && \
17420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17421 CFLAGS="$(STAGEtrain_CFLAGS)" \
17422 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17423 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17427 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17428 TFLAGS="$(STAGEtrain_TFLAGS)" \
17429 $(TARGET-stagetrain-libelf)
17431 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17432 clean-stagetrain: clean-stagetrain-libelf
17433 clean-stagetrain-libelf:
17434 @if [ $(current_stage) = stagetrain ]; then \
17435 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17436 else \
17437 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17438 $(MAKE) stagetrain-start; \
17439 fi; \
17440 cd $(HOST_SUBDIR)/libelf && \
17441 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17442 @endif libelf-bootstrap
17445 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17446 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17447 maybe-all-stagefeedback-libelf:
17448 maybe-clean-stagefeedback-libelf:
17449 @if libelf-bootstrap
17450 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17451 all-stagefeedback: all-stagefeedback-libelf
17452 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17453 all-stagefeedback-libelf: configure-stagefeedback-libelf
17454 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17455 @r=`${PWD_COMMAND}`; export r; \
17456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17457 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17458 $(HOST_EXPORTS) \
17459 $(POSTSTAGE1_HOST_EXPORTS) \
17460 cd $(HOST_SUBDIR)/libelf && \
17462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17463 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17464 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17465 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17469 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17470 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17471 $(TARGET-stagefeedback-libelf)
17473 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17474 clean-stagefeedback: clean-stagefeedback-libelf
17475 clean-stagefeedback-libelf:
17476 @if [ $(current_stage) = stagefeedback ]; then \
17477 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17478 else \
17479 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17480 $(MAKE) stagefeedback-start; \
17481 fi; \
17482 cd $(HOST_SUBDIR)/libelf && \
17483 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17484 @endif libelf-bootstrap
17487 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17488 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17489 maybe-all-stageautoprofile-libelf:
17490 maybe-clean-stageautoprofile-libelf:
17491 @if libelf-bootstrap
17492 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17493 all-stageautoprofile: all-stageautoprofile-libelf
17494 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17495 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17496 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17497 @r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17500 $(HOST_EXPORTS) \
17501 $(POSTSTAGE1_HOST_EXPORTS) \
17502 cd $(HOST_SUBDIR)/libelf && \
17503 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17505 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17506 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17507 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17512 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17513 $(TARGET-stageautoprofile-libelf)
17515 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17516 clean-stageautoprofile: clean-stageautoprofile-libelf
17517 clean-stageautoprofile-libelf:
17518 @if [ $(current_stage) = stageautoprofile ]; then \
17519 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17520 else \
17521 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17522 $(MAKE) stageautoprofile-start; \
17523 fi; \
17524 cd $(HOST_SUBDIR)/libelf && \
17525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17526 @endif libelf-bootstrap
17529 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17530 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17531 maybe-all-stageautofeedback-libelf:
17532 maybe-clean-stageautofeedback-libelf:
17533 @if libelf-bootstrap
17534 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17535 all-stageautofeedback: all-stageautofeedback-libelf
17536 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17537 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17538 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17539 @r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17542 $(HOST_EXPORTS) \
17543 $(POSTSTAGE1_HOST_EXPORTS) \
17544 cd $(HOST_SUBDIR)/libelf && \
17546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17547 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17548 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17549 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17550 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17553 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17554 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17555 $(TARGET-stageautofeedback-libelf)
17557 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17558 clean-stageautofeedback: clean-stageautofeedback-libelf
17559 clean-stageautofeedback-libelf:
17560 @if [ $(current_stage) = stageautofeedback ]; then \
17561 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17562 else \
17563 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17564 $(MAKE) stageautofeedback-start; \
17565 fi; \
17566 cd $(HOST_SUBDIR)/libelf && \
17567 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17568 @endif libelf-bootstrap
17574 .PHONY: check-libelf maybe-check-libelf
17575 maybe-check-libelf:
17576 @if libelf
17577 maybe-check-libelf: check-libelf
17579 check-libelf:
17580 @: $(MAKE); $(unstage)
17581 @r=`${PWD_COMMAND}`; export r; \
17582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17583 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17584 (cd $(HOST_SUBDIR)/libelf && \
17585 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17587 @endif libelf
17589 .PHONY: install-libelf maybe-install-libelf
17590 maybe-install-libelf:
17591 @if libelf
17592 maybe-install-libelf: install-libelf
17594 install-libelf:
17596 @endif libelf
17598 .PHONY: install-strip-libelf maybe-install-strip-libelf
17599 maybe-install-strip-libelf:
17600 @if libelf
17601 maybe-install-strip-libelf: install-strip-libelf
17603 install-strip-libelf:
17605 @endif libelf
17607 # Other targets (info, dvi, pdf, etc.)
17609 .PHONY: maybe-info-libelf info-libelf
17610 maybe-info-libelf:
17611 @if libelf
17612 maybe-info-libelf: info-libelf
17614 info-libelf: \
17615 configure-libelf
17616 @[ -f ./libelf/Makefile ] || exit 0; \
17617 r=`${PWD_COMMAND}`; export r; \
17618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17619 $(HOST_EXPORTS) \
17620 for flag in $(EXTRA_HOST_FLAGS) ; do \
17621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17622 done; \
17623 echo "Doing info in libelf"; \
17624 (cd $(HOST_SUBDIR)/libelf && \
17625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17627 "RANLIB=$${RANLIB}" \
17628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17629 info) \
17630 || exit 1
17632 @endif libelf
17634 .PHONY: maybe-dvi-libelf dvi-libelf
17635 maybe-dvi-libelf:
17636 @if libelf
17637 maybe-dvi-libelf: dvi-libelf
17639 dvi-libelf: \
17640 configure-libelf
17641 @[ -f ./libelf/Makefile ] || exit 0; \
17642 r=`${PWD_COMMAND}`; export r; \
17643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17644 $(HOST_EXPORTS) \
17645 for flag in $(EXTRA_HOST_FLAGS) ; do \
17646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17647 done; \
17648 echo "Doing dvi in libelf"; \
17649 (cd $(HOST_SUBDIR)/libelf && \
17650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17652 "RANLIB=$${RANLIB}" \
17653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17654 dvi) \
17655 || exit 1
17657 @endif libelf
17659 .PHONY: maybe-pdf-libelf pdf-libelf
17660 maybe-pdf-libelf:
17661 @if libelf
17662 maybe-pdf-libelf: pdf-libelf
17664 pdf-libelf: \
17665 configure-libelf
17666 @[ -f ./libelf/Makefile ] || exit 0; \
17667 r=`${PWD_COMMAND}`; export r; \
17668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17669 $(HOST_EXPORTS) \
17670 for flag in $(EXTRA_HOST_FLAGS) ; do \
17671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17672 done; \
17673 echo "Doing pdf in libelf"; \
17674 (cd $(HOST_SUBDIR)/libelf && \
17675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17677 "RANLIB=$${RANLIB}" \
17678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17679 pdf) \
17680 || exit 1
17682 @endif libelf
17684 .PHONY: maybe-html-libelf html-libelf
17685 maybe-html-libelf:
17686 @if libelf
17687 maybe-html-libelf: html-libelf
17689 html-libelf: \
17690 configure-libelf
17691 @[ -f ./libelf/Makefile ] || exit 0; \
17692 r=`${PWD_COMMAND}`; export r; \
17693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17694 $(HOST_EXPORTS) \
17695 for flag in $(EXTRA_HOST_FLAGS) ; do \
17696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17697 done; \
17698 echo "Doing html in libelf"; \
17699 (cd $(HOST_SUBDIR)/libelf && \
17700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17702 "RANLIB=$${RANLIB}" \
17703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17704 html) \
17705 || exit 1
17707 @endif libelf
17709 .PHONY: maybe-TAGS-libelf TAGS-libelf
17710 maybe-TAGS-libelf:
17711 @if libelf
17712 maybe-TAGS-libelf: TAGS-libelf
17714 TAGS-libelf: \
17715 configure-libelf
17716 @[ -f ./libelf/Makefile ] || exit 0; \
17717 r=`${PWD_COMMAND}`; export r; \
17718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17719 $(HOST_EXPORTS) \
17720 for flag in $(EXTRA_HOST_FLAGS) ; do \
17721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17722 done; \
17723 echo "Doing TAGS in libelf"; \
17724 (cd $(HOST_SUBDIR)/libelf && \
17725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17727 "RANLIB=$${RANLIB}" \
17728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17729 TAGS) \
17730 || exit 1
17732 @endif libelf
17734 .PHONY: maybe-install-info-libelf install-info-libelf
17735 maybe-install-info-libelf:
17736 @if libelf
17737 maybe-install-info-libelf: install-info-libelf
17739 install-info-libelf: \
17740 configure-libelf \
17741 info-libelf
17742 @[ -f ./libelf/Makefile ] || exit 0; \
17743 r=`${PWD_COMMAND}`; export r; \
17744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17745 $(HOST_EXPORTS) \
17746 for flag in $(EXTRA_HOST_FLAGS) ; do \
17747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17748 done; \
17749 echo "Doing install-info in libelf"; \
17750 (cd $(HOST_SUBDIR)/libelf && \
17751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17753 "RANLIB=$${RANLIB}" \
17754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17755 install-info) \
17756 || exit 1
17758 @endif libelf
17760 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17761 maybe-install-pdf-libelf:
17762 @if libelf
17763 maybe-install-pdf-libelf: install-pdf-libelf
17765 install-pdf-libelf: \
17766 configure-libelf \
17767 pdf-libelf
17768 @[ -f ./libelf/Makefile ] || exit 0; \
17769 r=`${PWD_COMMAND}`; export r; \
17770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17771 $(HOST_EXPORTS) \
17772 for flag in $(EXTRA_HOST_FLAGS) ; do \
17773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17774 done; \
17775 echo "Doing install-pdf in libelf"; \
17776 (cd $(HOST_SUBDIR)/libelf && \
17777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17779 "RANLIB=$${RANLIB}" \
17780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17781 install-pdf) \
17782 || exit 1
17784 @endif libelf
17786 .PHONY: maybe-install-html-libelf install-html-libelf
17787 maybe-install-html-libelf:
17788 @if libelf
17789 maybe-install-html-libelf: install-html-libelf
17791 install-html-libelf: \
17792 configure-libelf \
17793 html-libelf
17794 @[ -f ./libelf/Makefile ] || exit 0; \
17795 r=`${PWD_COMMAND}`; export r; \
17796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17797 $(HOST_EXPORTS) \
17798 for flag in $(EXTRA_HOST_FLAGS) ; do \
17799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17800 done; \
17801 echo "Doing install-html in libelf"; \
17802 (cd $(HOST_SUBDIR)/libelf && \
17803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17805 "RANLIB=$${RANLIB}" \
17806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17807 install-html) \
17808 || exit 1
17810 @endif libelf
17812 .PHONY: maybe-installcheck-libelf installcheck-libelf
17813 maybe-installcheck-libelf:
17814 @if libelf
17815 maybe-installcheck-libelf: installcheck-libelf
17817 installcheck-libelf: \
17818 configure-libelf
17819 @[ -f ./libelf/Makefile ] || exit 0; \
17820 r=`${PWD_COMMAND}`; export r; \
17821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17822 $(HOST_EXPORTS) \
17823 for flag in $(EXTRA_HOST_FLAGS) ; do \
17824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17825 done; \
17826 echo "Doing installcheck in libelf"; \
17827 (cd $(HOST_SUBDIR)/libelf && \
17828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17830 "RANLIB=$${RANLIB}" \
17831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17832 installcheck) \
17833 || exit 1
17835 @endif libelf
17837 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17838 maybe-mostlyclean-libelf:
17839 @if libelf
17840 maybe-mostlyclean-libelf: mostlyclean-libelf
17842 mostlyclean-libelf:
17843 @[ -f ./libelf/Makefile ] || exit 0; \
17844 r=`${PWD_COMMAND}`; export r; \
17845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17846 $(HOST_EXPORTS) \
17847 for flag in $(EXTRA_HOST_FLAGS) ; do \
17848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17849 done; \
17850 echo "Doing mostlyclean in libelf"; \
17851 (cd $(HOST_SUBDIR)/libelf && \
17852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17854 "RANLIB=$${RANLIB}" \
17855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17856 mostlyclean) \
17857 || exit 1
17859 @endif libelf
17861 .PHONY: maybe-clean-libelf clean-libelf
17862 maybe-clean-libelf:
17863 @if libelf
17864 maybe-clean-libelf: clean-libelf
17866 clean-libelf:
17867 @[ -f ./libelf/Makefile ] || exit 0; \
17868 r=`${PWD_COMMAND}`; export r; \
17869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17870 $(HOST_EXPORTS) \
17871 for flag in $(EXTRA_HOST_FLAGS) ; do \
17872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17873 done; \
17874 echo "Doing clean in libelf"; \
17875 (cd $(HOST_SUBDIR)/libelf && \
17876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17878 "RANLIB=$${RANLIB}" \
17879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17880 clean) \
17881 || exit 1
17883 @endif libelf
17885 .PHONY: maybe-distclean-libelf distclean-libelf
17886 maybe-distclean-libelf:
17887 @if libelf
17888 maybe-distclean-libelf: distclean-libelf
17890 distclean-libelf:
17891 @[ -f ./libelf/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 distclean in libelf"; \
17899 (cd $(HOST_SUBDIR)/libelf && \
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 distclean) \
17905 || exit 1
17907 @endif libelf
17909 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17910 maybe-maintainer-clean-libelf:
17911 @if libelf
17912 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17914 maintainer-clean-libelf:
17915 @[ -f ./libelf/Makefile ] || exit 0; \
17916 r=`${PWD_COMMAND}`; export r; \
17917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17918 $(HOST_EXPORTS) \
17919 for flag in $(EXTRA_HOST_FLAGS) ; do \
17920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17921 done; \
17922 echo "Doing maintainer-clean in libelf"; \
17923 (cd $(HOST_SUBDIR)/libelf && \
17924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17926 "RANLIB=$${RANLIB}" \
17927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17928 maintainer-clean) \
17929 || exit 1
17931 @endif libelf
17935 .PHONY: configure-gold maybe-configure-gold
17936 maybe-configure-gold:
17937 @if gcc-bootstrap
17938 configure-gold: stage_current
17939 @endif gcc-bootstrap
17940 @if gold
17941 maybe-configure-gold: configure-gold
17942 configure-gold:
17943 @r=`${PWD_COMMAND}`; export r; \
17944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17945 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17947 $(HOST_EXPORTS) \
17948 echo Configuring in $(HOST_SUBDIR)/gold; \
17949 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17950 case $(srcdir) in \
17951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17952 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17954 esac; \
17955 module_srcdir=gold; \
17956 $(SHELL) \
17957 $$s/$$module_srcdir/configure \
17958 --srcdir=$${topdir}/$$module_srcdir \
17959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17960 --target=${target_alias} \
17961 || exit 1
17962 @endif gold
17966 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
17967 maybe-configure-stage1-gold:
17968 @if gold-bootstrap
17969 maybe-configure-stage1-gold: configure-stage1-gold
17970 configure-stage1-gold:
17971 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17973 @r=`${PWD_COMMAND}`; export r; \
17974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17975 TFLAGS="$(STAGE1_TFLAGS)"; \
17976 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17977 $(HOST_EXPORTS) \
17978 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17979 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17980 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17981 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
17982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17983 cd $(HOST_SUBDIR)/gold || exit 1; \
17984 case $(srcdir) in \
17985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17986 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17988 esac; \
17989 module_srcdir=gold; \
17990 $(SHELL) $$s/$$module_srcdir/configure \
17991 --srcdir=$${topdir}/$$module_srcdir \
17992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17993 --target=${target_alias} \
17995 $(STAGE1_CONFIGURE_FLAGS)
17996 @endif gold-bootstrap
17998 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
17999 maybe-configure-stage2-gold:
18000 @if gold-bootstrap
18001 maybe-configure-stage2-gold: configure-stage2-gold
18002 configure-stage2-gold:
18003 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18005 @r=`${PWD_COMMAND}`; export r; \
18006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18007 TFLAGS="$(STAGE2_TFLAGS)"; \
18008 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18009 $(HOST_EXPORTS) \
18010 $(POSTSTAGE1_HOST_EXPORTS) \
18011 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18012 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18013 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18014 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18016 cd $(HOST_SUBDIR)/gold || exit 1; \
18017 case $(srcdir) in \
18018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18019 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18021 esac; \
18022 module_srcdir=gold; \
18023 $(SHELL) $$s/$$module_srcdir/configure \
18024 --srcdir=$${topdir}/$$module_srcdir \
18025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18026 --target=${target_alias} \
18027 --with-build-libsubdir=$(HOST_SUBDIR) \
18028 $(STAGE2_CONFIGURE_FLAGS)
18029 @endif gold-bootstrap
18031 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18032 maybe-configure-stage3-gold:
18033 @if gold-bootstrap
18034 maybe-configure-stage3-gold: configure-stage3-gold
18035 configure-stage3-gold:
18036 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18038 @r=`${PWD_COMMAND}`; export r; \
18039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18040 TFLAGS="$(STAGE3_TFLAGS)"; \
18041 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18042 $(HOST_EXPORTS) \
18043 $(POSTSTAGE1_HOST_EXPORTS) \
18044 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18045 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18046 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18047 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18049 cd $(HOST_SUBDIR)/gold || exit 1; \
18050 case $(srcdir) in \
18051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18052 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18054 esac; \
18055 module_srcdir=gold; \
18056 $(SHELL) $$s/$$module_srcdir/configure \
18057 --srcdir=$${topdir}/$$module_srcdir \
18058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18059 --target=${target_alias} \
18060 --with-build-libsubdir=$(HOST_SUBDIR) \
18061 $(STAGE3_CONFIGURE_FLAGS)
18062 @endif gold-bootstrap
18064 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18065 maybe-configure-stage4-gold:
18066 @if gold-bootstrap
18067 maybe-configure-stage4-gold: configure-stage4-gold
18068 configure-stage4-gold:
18069 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18071 @r=`${PWD_COMMAND}`; export r; \
18072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18073 TFLAGS="$(STAGE4_TFLAGS)"; \
18074 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18075 $(HOST_EXPORTS) \
18076 $(POSTSTAGE1_HOST_EXPORTS) \
18077 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18078 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18079 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18080 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18082 cd $(HOST_SUBDIR)/gold || exit 1; \
18083 case $(srcdir) in \
18084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18085 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18087 esac; \
18088 module_srcdir=gold; \
18089 $(SHELL) $$s/$$module_srcdir/configure \
18090 --srcdir=$${topdir}/$$module_srcdir \
18091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18092 --target=${target_alias} \
18093 --with-build-libsubdir=$(HOST_SUBDIR) \
18094 $(STAGE4_CONFIGURE_FLAGS)
18095 @endif gold-bootstrap
18097 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18098 maybe-configure-stageprofile-gold:
18099 @if gold-bootstrap
18100 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18101 configure-stageprofile-gold:
18102 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18104 @r=`${PWD_COMMAND}`; export r; \
18105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18106 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18107 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18108 $(HOST_EXPORTS) \
18109 $(POSTSTAGE1_HOST_EXPORTS) \
18110 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18111 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18112 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18113 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18115 cd $(HOST_SUBDIR)/gold || exit 1; \
18116 case $(srcdir) in \
18117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18118 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18120 esac; \
18121 module_srcdir=gold; \
18122 $(SHELL) $$s/$$module_srcdir/configure \
18123 --srcdir=$${topdir}/$$module_srcdir \
18124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18125 --target=${target_alias} \
18126 --with-build-libsubdir=$(HOST_SUBDIR) \
18127 $(STAGEprofile_CONFIGURE_FLAGS)
18128 @endif gold-bootstrap
18130 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18131 maybe-configure-stagetrain-gold:
18132 @if gold-bootstrap
18133 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18134 configure-stagetrain-gold:
18135 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18137 @r=`${PWD_COMMAND}`; export r; \
18138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18139 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18140 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18141 $(HOST_EXPORTS) \
18142 $(POSTSTAGE1_HOST_EXPORTS) \
18143 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18144 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18145 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18146 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18148 cd $(HOST_SUBDIR)/gold || exit 1; \
18149 case $(srcdir) in \
18150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18151 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18153 esac; \
18154 module_srcdir=gold; \
18155 $(SHELL) $$s/$$module_srcdir/configure \
18156 --srcdir=$${topdir}/$$module_srcdir \
18157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18158 --target=${target_alias} \
18159 --with-build-libsubdir=$(HOST_SUBDIR) \
18160 $(STAGEtrain_CONFIGURE_FLAGS)
18161 @endif gold-bootstrap
18163 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18164 maybe-configure-stagefeedback-gold:
18165 @if gold-bootstrap
18166 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18167 configure-stagefeedback-gold:
18168 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18170 @r=`${PWD_COMMAND}`; export r; \
18171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18173 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18174 $(HOST_EXPORTS) \
18175 $(POSTSTAGE1_HOST_EXPORTS) \
18176 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18177 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18178 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18179 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18181 cd $(HOST_SUBDIR)/gold || exit 1; \
18182 case $(srcdir) in \
18183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18184 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18186 esac; \
18187 module_srcdir=gold; \
18188 $(SHELL) $$s/$$module_srcdir/configure \
18189 --srcdir=$${topdir}/$$module_srcdir \
18190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18191 --target=${target_alias} \
18192 --with-build-libsubdir=$(HOST_SUBDIR) \
18193 $(STAGEfeedback_CONFIGURE_FLAGS)
18194 @endif gold-bootstrap
18196 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18197 maybe-configure-stageautoprofile-gold:
18198 @if gold-bootstrap
18199 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18200 configure-stageautoprofile-gold:
18201 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18203 @r=`${PWD_COMMAND}`; export r; \
18204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18205 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18206 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18207 $(HOST_EXPORTS) \
18208 $(POSTSTAGE1_HOST_EXPORTS) \
18209 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18210 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18211 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18212 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18214 cd $(HOST_SUBDIR)/gold || exit 1; \
18215 case $(srcdir) in \
18216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18217 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18219 esac; \
18220 module_srcdir=gold; \
18221 $(SHELL) $$s/$$module_srcdir/configure \
18222 --srcdir=$${topdir}/$$module_srcdir \
18223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18224 --target=${target_alias} \
18225 --with-build-libsubdir=$(HOST_SUBDIR) \
18226 $(STAGEautoprofile_CONFIGURE_FLAGS)
18227 @endif gold-bootstrap
18229 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18230 maybe-configure-stageautofeedback-gold:
18231 @if gold-bootstrap
18232 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18233 configure-stageautofeedback-gold:
18234 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18235 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18236 @r=`${PWD_COMMAND}`; export r; \
18237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18238 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18239 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18240 $(HOST_EXPORTS) \
18241 $(POSTSTAGE1_HOST_EXPORTS) \
18242 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18243 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18244 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18245 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18247 cd $(HOST_SUBDIR)/gold || exit 1; \
18248 case $(srcdir) in \
18249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18250 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18252 esac; \
18253 module_srcdir=gold; \
18254 $(SHELL) $$s/$$module_srcdir/configure \
18255 --srcdir=$${topdir}/$$module_srcdir \
18256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18257 --target=${target_alias} \
18258 --with-build-libsubdir=$(HOST_SUBDIR) \
18259 $(STAGEautofeedback_CONFIGURE_FLAGS)
18260 @endif gold-bootstrap
18266 .PHONY: all-gold maybe-all-gold
18267 maybe-all-gold:
18268 @if gcc-bootstrap
18269 all-gold: stage_current
18270 @endif gcc-bootstrap
18271 @if gold
18272 TARGET-gold=all
18273 maybe-all-gold: all-gold
18274 all-gold: configure-gold
18275 @r=`${PWD_COMMAND}`; export r; \
18276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18277 $(HOST_EXPORTS) \
18278 (cd $(HOST_SUBDIR)/gold && \
18279 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18280 $(TARGET-gold))
18281 @endif gold
18285 .PHONY: all-stage1-gold maybe-all-stage1-gold
18286 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18287 maybe-all-stage1-gold:
18288 maybe-clean-stage1-gold:
18289 @if gold-bootstrap
18290 maybe-all-stage1-gold: all-stage1-gold
18291 all-stage1: all-stage1-gold
18292 TARGET-stage1-gold = $(TARGET-gold)
18293 all-stage1-gold: configure-stage1-gold
18294 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18295 @r=`${PWD_COMMAND}`; export r; \
18296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18297 TFLAGS="$(STAGE1_TFLAGS)"; \
18298 $(HOST_EXPORTS) \
18299 cd $(HOST_SUBDIR)/gold && \
18301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18302 CFLAGS="$(STAGE1_CFLAGS)" \
18303 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18304 LIBCFLAGS="$(LIBCFLAGS)" \
18305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18308 $(EXTRA_HOST_FLAGS) \
18309 $(STAGE1_FLAGS_TO_PASS) \
18310 TFLAGS="$(STAGE1_TFLAGS)" \
18311 $(TARGET-stage1-gold)
18313 maybe-clean-stage1-gold: clean-stage1-gold
18314 clean-stage1: clean-stage1-gold
18315 clean-stage1-gold:
18316 @if [ $(current_stage) = stage1 ]; then \
18317 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18318 else \
18319 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18320 $(MAKE) stage1-start; \
18321 fi; \
18322 cd $(HOST_SUBDIR)/gold && \
18323 $(MAKE) $(EXTRA_HOST_FLAGS) \
18324 $(STAGE1_FLAGS_TO_PASS) clean
18325 @endif gold-bootstrap
18328 .PHONY: all-stage2-gold maybe-all-stage2-gold
18329 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18330 maybe-all-stage2-gold:
18331 maybe-clean-stage2-gold:
18332 @if gold-bootstrap
18333 maybe-all-stage2-gold: all-stage2-gold
18334 all-stage2: all-stage2-gold
18335 TARGET-stage2-gold = $(TARGET-gold)
18336 all-stage2-gold: configure-stage2-gold
18337 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18338 @r=`${PWD_COMMAND}`; export r; \
18339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18340 TFLAGS="$(STAGE2_TFLAGS)"; \
18341 $(HOST_EXPORTS) \
18342 $(POSTSTAGE1_HOST_EXPORTS) \
18343 cd $(HOST_SUBDIR)/gold && \
18345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18346 CFLAGS="$(STAGE2_CFLAGS)" \
18347 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18348 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18352 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18353 TFLAGS="$(STAGE2_TFLAGS)" \
18354 $(TARGET-stage2-gold)
18356 maybe-clean-stage2-gold: clean-stage2-gold
18357 clean-stage2: clean-stage2-gold
18358 clean-stage2-gold:
18359 @if [ $(current_stage) = stage2 ]; then \
18360 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18361 else \
18362 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18363 $(MAKE) stage2-start; \
18364 fi; \
18365 cd $(HOST_SUBDIR)/gold && \
18366 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18367 @endif gold-bootstrap
18370 .PHONY: all-stage3-gold maybe-all-stage3-gold
18371 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18372 maybe-all-stage3-gold:
18373 maybe-clean-stage3-gold:
18374 @if gold-bootstrap
18375 maybe-all-stage3-gold: all-stage3-gold
18376 all-stage3: all-stage3-gold
18377 TARGET-stage3-gold = $(TARGET-gold)
18378 all-stage3-gold: configure-stage3-gold
18379 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18380 @r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18382 TFLAGS="$(STAGE3_TFLAGS)"; \
18383 $(HOST_EXPORTS) \
18384 $(POSTSTAGE1_HOST_EXPORTS) \
18385 cd $(HOST_SUBDIR)/gold && \
18387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18388 CFLAGS="$(STAGE3_CFLAGS)" \
18389 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18390 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18391 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18392 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18393 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18394 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18395 TFLAGS="$(STAGE3_TFLAGS)" \
18396 $(TARGET-stage3-gold)
18398 maybe-clean-stage3-gold: clean-stage3-gold
18399 clean-stage3: clean-stage3-gold
18400 clean-stage3-gold:
18401 @if [ $(current_stage) = stage3 ]; then \
18402 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18403 else \
18404 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18405 $(MAKE) stage3-start; \
18406 fi; \
18407 cd $(HOST_SUBDIR)/gold && \
18408 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18409 @endif gold-bootstrap
18412 .PHONY: all-stage4-gold maybe-all-stage4-gold
18413 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18414 maybe-all-stage4-gold:
18415 maybe-clean-stage4-gold:
18416 @if gold-bootstrap
18417 maybe-all-stage4-gold: all-stage4-gold
18418 all-stage4: all-stage4-gold
18419 TARGET-stage4-gold = $(TARGET-gold)
18420 all-stage4-gold: configure-stage4-gold
18421 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18422 @r=`${PWD_COMMAND}`; export r; \
18423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18424 TFLAGS="$(STAGE4_TFLAGS)"; \
18425 $(HOST_EXPORTS) \
18426 $(POSTSTAGE1_HOST_EXPORTS) \
18427 cd $(HOST_SUBDIR)/gold && \
18429 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18430 CFLAGS="$(STAGE4_CFLAGS)" \
18431 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18432 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18433 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18434 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18435 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18436 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18437 TFLAGS="$(STAGE4_TFLAGS)" \
18438 $(TARGET-stage4-gold)
18440 maybe-clean-stage4-gold: clean-stage4-gold
18441 clean-stage4: clean-stage4-gold
18442 clean-stage4-gold:
18443 @if [ $(current_stage) = stage4 ]; then \
18444 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18445 else \
18446 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18447 $(MAKE) stage4-start; \
18448 fi; \
18449 cd $(HOST_SUBDIR)/gold && \
18450 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18451 @endif gold-bootstrap
18454 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18455 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18456 maybe-all-stageprofile-gold:
18457 maybe-clean-stageprofile-gold:
18458 @if gold-bootstrap
18459 maybe-all-stageprofile-gold: all-stageprofile-gold
18460 all-stageprofile: all-stageprofile-gold
18461 TARGET-stageprofile-gold = $(TARGET-gold)
18462 all-stageprofile-gold: configure-stageprofile-gold
18463 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18464 @r=`${PWD_COMMAND}`; export r; \
18465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18466 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18467 $(HOST_EXPORTS) \
18468 $(POSTSTAGE1_HOST_EXPORTS) \
18469 cd $(HOST_SUBDIR)/gold && \
18471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18472 CFLAGS="$(STAGEprofile_CFLAGS)" \
18473 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18474 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18478 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18479 TFLAGS="$(STAGEprofile_TFLAGS)" \
18480 $(TARGET-stageprofile-gold)
18482 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18483 clean-stageprofile: clean-stageprofile-gold
18484 clean-stageprofile-gold:
18485 @if [ $(current_stage) = stageprofile ]; then \
18486 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18487 else \
18488 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18489 $(MAKE) stageprofile-start; \
18490 fi; \
18491 cd $(HOST_SUBDIR)/gold && \
18492 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18493 @endif gold-bootstrap
18496 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18497 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18498 maybe-all-stagetrain-gold:
18499 maybe-clean-stagetrain-gold:
18500 @if gold-bootstrap
18501 maybe-all-stagetrain-gold: all-stagetrain-gold
18502 all-stagetrain: all-stagetrain-gold
18503 TARGET-stagetrain-gold = $(TARGET-gold)
18504 all-stagetrain-gold: configure-stagetrain-gold
18505 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18506 @r=`${PWD_COMMAND}`; export r; \
18507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18508 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18509 $(HOST_EXPORTS) \
18510 $(POSTSTAGE1_HOST_EXPORTS) \
18511 cd $(HOST_SUBDIR)/gold && \
18513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18514 CFLAGS="$(STAGEtrain_CFLAGS)" \
18515 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18516 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18520 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18521 TFLAGS="$(STAGEtrain_TFLAGS)" \
18522 $(TARGET-stagetrain-gold)
18524 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18525 clean-stagetrain: clean-stagetrain-gold
18526 clean-stagetrain-gold:
18527 @if [ $(current_stage) = stagetrain ]; then \
18528 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18529 else \
18530 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18531 $(MAKE) stagetrain-start; \
18532 fi; \
18533 cd $(HOST_SUBDIR)/gold && \
18534 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18535 @endif gold-bootstrap
18538 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18539 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18540 maybe-all-stagefeedback-gold:
18541 maybe-clean-stagefeedback-gold:
18542 @if gold-bootstrap
18543 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18544 all-stagefeedback: all-stagefeedback-gold
18545 TARGET-stagefeedback-gold = $(TARGET-gold)
18546 all-stagefeedback-gold: configure-stagefeedback-gold
18547 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18548 @r=`${PWD_COMMAND}`; export r; \
18549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18550 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18551 $(HOST_EXPORTS) \
18552 $(POSTSTAGE1_HOST_EXPORTS) \
18553 cd $(HOST_SUBDIR)/gold && \
18555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18556 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18557 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18558 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18563 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18564 $(TARGET-stagefeedback-gold)
18566 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18567 clean-stagefeedback: clean-stagefeedback-gold
18568 clean-stagefeedback-gold:
18569 @if [ $(current_stage) = stagefeedback ]; then \
18570 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18571 else \
18572 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18573 $(MAKE) stagefeedback-start; \
18574 fi; \
18575 cd $(HOST_SUBDIR)/gold && \
18576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18577 @endif gold-bootstrap
18580 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18581 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18582 maybe-all-stageautoprofile-gold:
18583 maybe-clean-stageautoprofile-gold:
18584 @if gold-bootstrap
18585 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18586 all-stageautoprofile: all-stageautoprofile-gold
18587 TARGET-stageautoprofile-gold = $(TARGET-gold)
18588 all-stageautoprofile-gold: configure-stageautoprofile-gold
18589 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18590 @r=`${PWD_COMMAND}`; export r; \
18591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18592 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18593 $(HOST_EXPORTS) \
18594 $(POSTSTAGE1_HOST_EXPORTS) \
18595 cd $(HOST_SUBDIR)/gold && \
18596 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18598 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18599 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18600 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18604 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18605 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18606 $(TARGET-stageautoprofile-gold)
18608 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18609 clean-stageautoprofile: clean-stageautoprofile-gold
18610 clean-stageautoprofile-gold:
18611 @if [ $(current_stage) = stageautoprofile ]; then \
18612 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18613 else \
18614 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18615 $(MAKE) stageautoprofile-start; \
18616 fi; \
18617 cd $(HOST_SUBDIR)/gold && \
18618 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18619 @endif gold-bootstrap
18622 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18623 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18624 maybe-all-stageautofeedback-gold:
18625 maybe-clean-stageautofeedback-gold:
18626 @if gold-bootstrap
18627 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18628 all-stageautofeedback: all-stageautofeedback-gold
18629 TARGET-stageautofeedback-gold = $(TARGET-gold)
18630 all-stageautofeedback-gold: configure-stageautofeedback-gold
18631 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18632 @r=`${PWD_COMMAND}`; export r; \
18633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18634 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18635 $(HOST_EXPORTS) \
18636 $(POSTSTAGE1_HOST_EXPORTS) \
18637 cd $(HOST_SUBDIR)/gold && \
18639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18640 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18641 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18642 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18646 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18647 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18648 $(TARGET-stageautofeedback-gold)
18650 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18651 clean-stageautofeedback: clean-stageautofeedback-gold
18652 clean-stageautofeedback-gold:
18653 @if [ $(current_stage) = stageautofeedback ]; then \
18654 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18655 else \
18656 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18657 $(MAKE) stageautofeedback-start; \
18658 fi; \
18659 cd $(HOST_SUBDIR)/gold && \
18660 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18661 @endif gold-bootstrap
18667 .PHONY: check-gold maybe-check-gold
18668 maybe-check-gold:
18669 @if gold
18670 maybe-check-gold: check-gold
18672 check-gold:
18673 @: $(MAKE); $(unstage)
18674 @r=`${PWD_COMMAND}`; export r; \
18675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18676 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18677 (cd $(HOST_SUBDIR)/gold && \
18678 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18680 @endif gold
18682 .PHONY: install-gold maybe-install-gold
18683 maybe-install-gold:
18684 @if gold
18685 maybe-install-gold: install-gold
18687 install-gold: installdirs
18688 @: $(MAKE); $(unstage)
18689 @r=`${PWD_COMMAND}`; export r; \
18690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18691 $(HOST_EXPORTS) \
18692 (cd $(HOST_SUBDIR)/gold && \
18693 $(MAKE) $(FLAGS_TO_PASS) install)
18695 @endif gold
18697 .PHONY: install-strip-gold maybe-install-strip-gold
18698 maybe-install-strip-gold:
18699 @if gold
18700 maybe-install-strip-gold: install-strip-gold
18702 install-strip-gold: installdirs
18703 @: $(MAKE); $(unstage)
18704 @r=`${PWD_COMMAND}`; export r; \
18705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18706 $(HOST_EXPORTS) \
18707 (cd $(HOST_SUBDIR)/gold && \
18708 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18710 @endif gold
18712 # Other targets (info, dvi, pdf, etc.)
18714 .PHONY: maybe-info-gold info-gold
18715 maybe-info-gold:
18716 @if gold
18717 maybe-info-gold: info-gold
18719 info-gold: \
18720 configure-gold
18721 @[ -f ./gold/Makefile ] || exit 0; \
18722 r=`${PWD_COMMAND}`; export r; \
18723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18724 $(HOST_EXPORTS) \
18725 for flag in $(EXTRA_HOST_FLAGS) ; do \
18726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18727 done; \
18728 echo "Doing info in gold"; \
18729 (cd $(HOST_SUBDIR)/gold && \
18730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18732 "RANLIB=$${RANLIB}" \
18733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18734 info) \
18735 || exit 1
18737 @endif gold
18739 .PHONY: maybe-dvi-gold dvi-gold
18740 maybe-dvi-gold:
18741 @if gold
18742 maybe-dvi-gold: dvi-gold
18744 dvi-gold: \
18745 configure-gold
18746 @[ -f ./gold/Makefile ] || exit 0; \
18747 r=`${PWD_COMMAND}`; export r; \
18748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18749 $(HOST_EXPORTS) \
18750 for flag in $(EXTRA_HOST_FLAGS) ; do \
18751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18752 done; \
18753 echo "Doing dvi in gold"; \
18754 (cd $(HOST_SUBDIR)/gold && \
18755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18757 "RANLIB=$${RANLIB}" \
18758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18759 dvi) \
18760 || exit 1
18762 @endif gold
18764 .PHONY: maybe-pdf-gold pdf-gold
18765 maybe-pdf-gold:
18766 @if gold
18767 maybe-pdf-gold: pdf-gold
18769 pdf-gold: \
18770 configure-gold
18771 @[ -f ./gold/Makefile ] || exit 0; \
18772 r=`${PWD_COMMAND}`; export r; \
18773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18774 $(HOST_EXPORTS) \
18775 for flag in $(EXTRA_HOST_FLAGS) ; do \
18776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18777 done; \
18778 echo "Doing pdf in gold"; \
18779 (cd $(HOST_SUBDIR)/gold && \
18780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18782 "RANLIB=$${RANLIB}" \
18783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18784 pdf) \
18785 || exit 1
18787 @endif gold
18789 .PHONY: maybe-html-gold html-gold
18790 maybe-html-gold:
18791 @if gold
18792 maybe-html-gold: html-gold
18794 html-gold: \
18795 configure-gold
18796 @[ -f ./gold/Makefile ] || exit 0; \
18797 r=`${PWD_COMMAND}`; export r; \
18798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18799 $(HOST_EXPORTS) \
18800 for flag in $(EXTRA_HOST_FLAGS) ; do \
18801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18802 done; \
18803 echo "Doing html in gold"; \
18804 (cd $(HOST_SUBDIR)/gold && \
18805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18807 "RANLIB=$${RANLIB}" \
18808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18809 html) \
18810 || exit 1
18812 @endif gold
18814 .PHONY: maybe-TAGS-gold TAGS-gold
18815 maybe-TAGS-gold:
18816 @if gold
18817 maybe-TAGS-gold: TAGS-gold
18819 TAGS-gold: \
18820 configure-gold
18821 @[ -f ./gold/Makefile ] || exit 0; \
18822 r=`${PWD_COMMAND}`; export r; \
18823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18824 $(HOST_EXPORTS) \
18825 for flag in $(EXTRA_HOST_FLAGS) ; do \
18826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18827 done; \
18828 echo "Doing TAGS in gold"; \
18829 (cd $(HOST_SUBDIR)/gold && \
18830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18832 "RANLIB=$${RANLIB}" \
18833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18834 TAGS) \
18835 || exit 1
18837 @endif gold
18839 .PHONY: maybe-install-info-gold install-info-gold
18840 maybe-install-info-gold:
18841 @if gold
18842 maybe-install-info-gold: install-info-gold
18844 install-info-gold: \
18845 configure-gold \
18846 info-gold
18847 @[ -f ./gold/Makefile ] || exit 0; \
18848 r=`${PWD_COMMAND}`; export r; \
18849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18850 $(HOST_EXPORTS) \
18851 for flag in $(EXTRA_HOST_FLAGS) ; do \
18852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18853 done; \
18854 echo "Doing install-info in gold"; \
18855 (cd $(HOST_SUBDIR)/gold && \
18856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18858 "RANLIB=$${RANLIB}" \
18859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18860 install-info) \
18861 || exit 1
18863 @endif gold
18865 .PHONY: maybe-install-pdf-gold install-pdf-gold
18866 maybe-install-pdf-gold:
18867 @if gold
18868 maybe-install-pdf-gold: install-pdf-gold
18870 install-pdf-gold: \
18871 configure-gold \
18872 pdf-gold
18873 @[ -f ./gold/Makefile ] || exit 0; \
18874 r=`${PWD_COMMAND}`; export r; \
18875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18876 $(HOST_EXPORTS) \
18877 for flag in $(EXTRA_HOST_FLAGS) ; do \
18878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18879 done; \
18880 echo "Doing install-pdf in gold"; \
18881 (cd $(HOST_SUBDIR)/gold && \
18882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18884 "RANLIB=$${RANLIB}" \
18885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18886 install-pdf) \
18887 || exit 1
18889 @endif gold
18891 .PHONY: maybe-install-html-gold install-html-gold
18892 maybe-install-html-gold:
18893 @if gold
18894 maybe-install-html-gold: install-html-gold
18896 install-html-gold: \
18897 configure-gold \
18898 html-gold
18899 @[ -f ./gold/Makefile ] || exit 0; \
18900 r=`${PWD_COMMAND}`; export r; \
18901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18902 $(HOST_EXPORTS) \
18903 for flag in $(EXTRA_HOST_FLAGS) ; do \
18904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18905 done; \
18906 echo "Doing install-html in gold"; \
18907 (cd $(HOST_SUBDIR)/gold && \
18908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18910 "RANLIB=$${RANLIB}" \
18911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18912 install-html) \
18913 || exit 1
18915 @endif gold
18917 .PHONY: maybe-installcheck-gold installcheck-gold
18918 maybe-installcheck-gold:
18919 @if gold
18920 maybe-installcheck-gold: installcheck-gold
18922 installcheck-gold: \
18923 configure-gold
18924 @[ -f ./gold/Makefile ] || exit 0; \
18925 r=`${PWD_COMMAND}`; export r; \
18926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18927 $(HOST_EXPORTS) \
18928 for flag in $(EXTRA_HOST_FLAGS) ; do \
18929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18930 done; \
18931 echo "Doing installcheck in gold"; \
18932 (cd $(HOST_SUBDIR)/gold && \
18933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18935 "RANLIB=$${RANLIB}" \
18936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18937 installcheck) \
18938 || exit 1
18940 @endif gold
18942 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18943 maybe-mostlyclean-gold:
18944 @if gold
18945 maybe-mostlyclean-gold: mostlyclean-gold
18947 mostlyclean-gold:
18948 @[ -f ./gold/Makefile ] || exit 0; \
18949 r=`${PWD_COMMAND}`; export r; \
18950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18951 $(HOST_EXPORTS) \
18952 for flag in $(EXTRA_HOST_FLAGS) ; do \
18953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18954 done; \
18955 echo "Doing mostlyclean in gold"; \
18956 (cd $(HOST_SUBDIR)/gold && \
18957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18959 "RANLIB=$${RANLIB}" \
18960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18961 mostlyclean) \
18962 || exit 1
18964 @endif gold
18966 .PHONY: maybe-clean-gold clean-gold
18967 maybe-clean-gold:
18968 @if gold
18969 maybe-clean-gold: clean-gold
18971 clean-gold:
18972 @[ -f ./gold/Makefile ] || exit 0; \
18973 r=`${PWD_COMMAND}`; export r; \
18974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18975 $(HOST_EXPORTS) \
18976 for flag in $(EXTRA_HOST_FLAGS) ; do \
18977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18978 done; \
18979 echo "Doing clean in gold"; \
18980 (cd $(HOST_SUBDIR)/gold && \
18981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18983 "RANLIB=$${RANLIB}" \
18984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18985 clean) \
18986 || exit 1
18988 @endif gold
18990 .PHONY: maybe-distclean-gold distclean-gold
18991 maybe-distclean-gold:
18992 @if gold
18993 maybe-distclean-gold: distclean-gold
18995 distclean-gold:
18996 @[ -f ./gold/Makefile ] || exit 0; \
18997 r=`${PWD_COMMAND}`; export r; \
18998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18999 $(HOST_EXPORTS) \
19000 for flag in $(EXTRA_HOST_FLAGS) ; do \
19001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19002 done; \
19003 echo "Doing distclean in gold"; \
19004 (cd $(HOST_SUBDIR)/gold && \
19005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19007 "RANLIB=$${RANLIB}" \
19008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19009 distclean) \
19010 || exit 1
19012 @endif gold
19014 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19015 maybe-maintainer-clean-gold:
19016 @if gold
19017 maybe-maintainer-clean-gold: maintainer-clean-gold
19019 maintainer-clean-gold:
19020 @[ -f ./gold/Makefile ] || exit 0; \
19021 r=`${PWD_COMMAND}`; export r; \
19022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19023 $(HOST_EXPORTS) \
19024 for flag in $(EXTRA_HOST_FLAGS) ; do \
19025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19026 done; \
19027 echo "Doing maintainer-clean in gold"; \
19028 (cd $(HOST_SUBDIR)/gold && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19031 "RANLIB=$${RANLIB}" \
19032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19033 maintainer-clean) \
19034 || exit 1
19036 @endif gold
19040 .PHONY: configure-gprof maybe-configure-gprof
19041 maybe-configure-gprof:
19042 @if gcc-bootstrap
19043 configure-gprof: stage_current
19044 @endif gcc-bootstrap
19045 @if gprof
19046 maybe-configure-gprof: configure-gprof
19047 configure-gprof:
19048 @: $(MAKE); $(unstage)
19049 @r=`${PWD_COMMAND}`; export r; \
19050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19051 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19053 $(HOST_EXPORTS) \
19054 echo Configuring in $(HOST_SUBDIR)/gprof; \
19055 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19056 case $(srcdir) in \
19057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19058 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19060 esac; \
19061 module_srcdir=gprof; \
19062 $(SHELL) \
19063 $$s/$$module_srcdir/configure \
19064 --srcdir=$${topdir}/$$module_srcdir \
19065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19066 --target=${target_alias} \
19067 || exit 1
19068 @endif gprof
19074 .PHONY: all-gprof maybe-all-gprof
19075 maybe-all-gprof:
19076 @if gcc-bootstrap
19077 all-gprof: stage_current
19078 @endif gcc-bootstrap
19079 @if gprof
19080 TARGET-gprof=all
19081 maybe-all-gprof: all-gprof
19082 all-gprof: configure-gprof
19083 @: $(MAKE); $(unstage)
19084 @r=`${PWD_COMMAND}`; export r; \
19085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19086 $(HOST_EXPORTS) \
19087 (cd $(HOST_SUBDIR)/gprof && \
19088 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19089 $(TARGET-gprof))
19090 @endif gprof
19095 .PHONY: check-gprof maybe-check-gprof
19096 maybe-check-gprof:
19097 @if gprof
19098 maybe-check-gprof: check-gprof
19100 check-gprof:
19101 @: $(MAKE); $(unstage)
19102 @r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 $(HOST_EXPORTS) \
19105 (cd $(HOST_SUBDIR)/gprof && \
19106 $(MAKE) $(FLAGS_TO_PASS) check)
19108 @endif gprof
19110 .PHONY: install-gprof maybe-install-gprof
19111 maybe-install-gprof:
19112 @if gprof
19113 maybe-install-gprof: install-gprof
19115 install-gprof: installdirs
19116 @: $(MAKE); $(unstage)
19117 @r=`${PWD_COMMAND}`; export r; \
19118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119 $(HOST_EXPORTS) \
19120 (cd $(HOST_SUBDIR)/gprof && \
19121 $(MAKE) $(FLAGS_TO_PASS) install)
19123 @endif gprof
19125 .PHONY: install-strip-gprof maybe-install-strip-gprof
19126 maybe-install-strip-gprof:
19127 @if gprof
19128 maybe-install-strip-gprof: install-strip-gprof
19130 install-strip-gprof: installdirs
19131 @: $(MAKE); $(unstage)
19132 @r=`${PWD_COMMAND}`; export r; \
19133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19134 $(HOST_EXPORTS) \
19135 (cd $(HOST_SUBDIR)/gprof && \
19136 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19138 @endif gprof
19140 # Other targets (info, dvi, pdf, etc.)
19142 .PHONY: maybe-info-gprof info-gprof
19143 maybe-info-gprof:
19144 @if gprof
19145 maybe-info-gprof: info-gprof
19147 info-gprof: \
19148 configure-gprof
19149 @: $(MAKE); $(unstage)
19150 @[ -f ./gprof/Makefile ] || exit 0; \
19151 r=`${PWD_COMMAND}`; export r; \
19152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19153 $(HOST_EXPORTS) \
19154 for flag in $(EXTRA_HOST_FLAGS) ; do \
19155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19156 done; \
19157 echo "Doing info in gprof"; \
19158 (cd $(HOST_SUBDIR)/gprof && \
19159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19161 "RANLIB=$${RANLIB}" \
19162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19163 info) \
19164 || exit 1
19166 @endif gprof
19168 .PHONY: maybe-dvi-gprof dvi-gprof
19169 maybe-dvi-gprof:
19170 @if gprof
19171 maybe-dvi-gprof: dvi-gprof
19173 dvi-gprof: \
19174 configure-gprof
19175 @: $(MAKE); $(unstage)
19176 @[ -f ./gprof/Makefile ] || exit 0; \
19177 r=`${PWD_COMMAND}`; export r; \
19178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19179 $(HOST_EXPORTS) \
19180 for flag in $(EXTRA_HOST_FLAGS) ; do \
19181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19182 done; \
19183 echo "Doing dvi in gprof"; \
19184 (cd $(HOST_SUBDIR)/gprof && \
19185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19187 "RANLIB=$${RANLIB}" \
19188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19189 dvi) \
19190 || exit 1
19192 @endif gprof
19194 .PHONY: maybe-pdf-gprof pdf-gprof
19195 maybe-pdf-gprof:
19196 @if gprof
19197 maybe-pdf-gprof: pdf-gprof
19199 pdf-gprof: \
19200 configure-gprof
19201 @: $(MAKE); $(unstage)
19202 @[ -f ./gprof/Makefile ] || exit 0; \
19203 r=`${PWD_COMMAND}`; export r; \
19204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19205 $(HOST_EXPORTS) \
19206 for flag in $(EXTRA_HOST_FLAGS) ; do \
19207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19208 done; \
19209 echo "Doing pdf in gprof"; \
19210 (cd $(HOST_SUBDIR)/gprof && \
19211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19213 "RANLIB=$${RANLIB}" \
19214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19215 pdf) \
19216 || exit 1
19218 @endif gprof
19220 .PHONY: maybe-html-gprof html-gprof
19221 maybe-html-gprof:
19222 @if gprof
19223 maybe-html-gprof: html-gprof
19225 html-gprof: \
19226 configure-gprof
19227 @: $(MAKE); $(unstage)
19228 @[ -f ./gprof/Makefile ] || exit 0; \
19229 r=`${PWD_COMMAND}`; export r; \
19230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19231 $(HOST_EXPORTS) \
19232 for flag in $(EXTRA_HOST_FLAGS) ; do \
19233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19234 done; \
19235 echo "Doing html in gprof"; \
19236 (cd $(HOST_SUBDIR)/gprof && \
19237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19239 "RANLIB=$${RANLIB}" \
19240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19241 html) \
19242 || exit 1
19244 @endif gprof
19246 .PHONY: maybe-TAGS-gprof TAGS-gprof
19247 maybe-TAGS-gprof:
19248 @if gprof
19249 maybe-TAGS-gprof: TAGS-gprof
19251 TAGS-gprof: \
19252 configure-gprof
19253 @: $(MAKE); $(unstage)
19254 @[ -f ./gprof/Makefile ] || exit 0; \
19255 r=`${PWD_COMMAND}`; export r; \
19256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19257 $(HOST_EXPORTS) \
19258 for flag in $(EXTRA_HOST_FLAGS) ; do \
19259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19260 done; \
19261 echo "Doing TAGS in gprof"; \
19262 (cd $(HOST_SUBDIR)/gprof && \
19263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19265 "RANLIB=$${RANLIB}" \
19266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19267 TAGS) \
19268 || exit 1
19270 @endif gprof
19272 .PHONY: maybe-install-info-gprof install-info-gprof
19273 maybe-install-info-gprof:
19274 @if gprof
19275 maybe-install-info-gprof: install-info-gprof
19277 install-info-gprof: \
19278 configure-gprof \
19279 info-gprof
19280 @: $(MAKE); $(unstage)
19281 @[ -f ./gprof/Makefile ] || exit 0; \
19282 r=`${PWD_COMMAND}`; export r; \
19283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19284 $(HOST_EXPORTS) \
19285 for flag in $(EXTRA_HOST_FLAGS) ; do \
19286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19287 done; \
19288 echo "Doing install-info in gprof"; \
19289 (cd $(HOST_SUBDIR)/gprof && \
19290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19292 "RANLIB=$${RANLIB}" \
19293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19294 install-info) \
19295 || exit 1
19297 @endif gprof
19299 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19300 maybe-install-pdf-gprof:
19301 @if gprof
19302 maybe-install-pdf-gprof: install-pdf-gprof
19304 install-pdf-gprof: \
19305 configure-gprof \
19306 pdf-gprof
19307 @: $(MAKE); $(unstage)
19308 @[ -f ./gprof/Makefile ] || exit 0; \
19309 r=`${PWD_COMMAND}`; export r; \
19310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19311 $(HOST_EXPORTS) \
19312 for flag in $(EXTRA_HOST_FLAGS) ; do \
19313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19314 done; \
19315 echo "Doing install-pdf in gprof"; \
19316 (cd $(HOST_SUBDIR)/gprof && \
19317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19319 "RANLIB=$${RANLIB}" \
19320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19321 install-pdf) \
19322 || exit 1
19324 @endif gprof
19326 .PHONY: maybe-install-html-gprof install-html-gprof
19327 maybe-install-html-gprof:
19328 @if gprof
19329 maybe-install-html-gprof: install-html-gprof
19331 install-html-gprof: \
19332 configure-gprof \
19333 html-gprof
19334 @: $(MAKE); $(unstage)
19335 @[ -f ./gprof/Makefile ] || exit 0; \
19336 r=`${PWD_COMMAND}`; export r; \
19337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19338 $(HOST_EXPORTS) \
19339 for flag in $(EXTRA_HOST_FLAGS) ; do \
19340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19341 done; \
19342 echo "Doing install-html in gprof"; \
19343 (cd $(HOST_SUBDIR)/gprof && \
19344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19346 "RANLIB=$${RANLIB}" \
19347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19348 install-html) \
19349 || exit 1
19351 @endif gprof
19353 .PHONY: maybe-installcheck-gprof installcheck-gprof
19354 maybe-installcheck-gprof:
19355 @if gprof
19356 maybe-installcheck-gprof: installcheck-gprof
19358 installcheck-gprof: \
19359 configure-gprof
19360 @: $(MAKE); $(unstage)
19361 @[ -f ./gprof/Makefile ] || exit 0; \
19362 r=`${PWD_COMMAND}`; export r; \
19363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19364 $(HOST_EXPORTS) \
19365 for flag in $(EXTRA_HOST_FLAGS) ; do \
19366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19367 done; \
19368 echo "Doing installcheck in gprof"; \
19369 (cd $(HOST_SUBDIR)/gprof && \
19370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19372 "RANLIB=$${RANLIB}" \
19373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19374 installcheck) \
19375 || exit 1
19377 @endif gprof
19379 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19380 maybe-mostlyclean-gprof:
19381 @if gprof
19382 maybe-mostlyclean-gprof: mostlyclean-gprof
19384 mostlyclean-gprof:
19385 @: $(MAKE); $(unstage)
19386 @[ -f ./gprof/Makefile ] || exit 0; \
19387 r=`${PWD_COMMAND}`; export r; \
19388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19389 $(HOST_EXPORTS) \
19390 for flag in $(EXTRA_HOST_FLAGS) ; do \
19391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19392 done; \
19393 echo "Doing mostlyclean in gprof"; \
19394 (cd $(HOST_SUBDIR)/gprof && \
19395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19397 "RANLIB=$${RANLIB}" \
19398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19399 mostlyclean) \
19400 || exit 1
19402 @endif gprof
19404 .PHONY: maybe-clean-gprof clean-gprof
19405 maybe-clean-gprof:
19406 @if gprof
19407 maybe-clean-gprof: clean-gprof
19409 clean-gprof:
19410 @: $(MAKE); $(unstage)
19411 @[ -f ./gprof/Makefile ] || exit 0; \
19412 r=`${PWD_COMMAND}`; export r; \
19413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19414 $(HOST_EXPORTS) \
19415 for flag in $(EXTRA_HOST_FLAGS) ; do \
19416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19417 done; \
19418 echo "Doing clean in gprof"; \
19419 (cd $(HOST_SUBDIR)/gprof && \
19420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19422 "RANLIB=$${RANLIB}" \
19423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19424 clean) \
19425 || exit 1
19427 @endif gprof
19429 .PHONY: maybe-distclean-gprof distclean-gprof
19430 maybe-distclean-gprof:
19431 @if gprof
19432 maybe-distclean-gprof: distclean-gprof
19434 distclean-gprof:
19435 @: $(MAKE); $(unstage)
19436 @[ -f ./gprof/Makefile ] || exit 0; \
19437 r=`${PWD_COMMAND}`; export r; \
19438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19439 $(HOST_EXPORTS) \
19440 for flag in $(EXTRA_HOST_FLAGS) ; do \
19441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19442 done; \
19443 echo "Doing distclean in gprof"; \
19444 (cd $(HOST_SUBDIR)/gprof && \
19445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19447 "RANLIB=$${RANLIB}" \
19448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19449 distclean) \
19450 || exit 1
19452 @endif gprof
19454 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19455 maybe-maintainer-clean-gprof:
19456 @if gprof
19457 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19459 maintainer-clean-gprof:
19460 @: $(MAKE); $(unstage)
19461 @[ -f ./gprof/Makefile ] || exit 0; \
19462 r=`${PWD_COMMAND}`; export r; \
19463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19464 $(HOST_EXPORTS) \
19465 for flag in $(EXTRA_HOST_FLAGS) ; do \
19466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19467 done; \
19468 echo "Doing maintainer-clean in gprof"; \
19469 (cd $(HOST_SUBDIR)/gprof && \
19470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19472 "RANLIB=$${RANLIB}" \
19473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19474 maintainer-clean) \
19475 || exit 1
19477 @endif gprof
19481 .PHONY: configure-intl maybe-configure-intl
19482 maybe-configure-intl:
19483 @if gcc-bootstrap
19484 configure-intl: stage_current
19485 @endif gcc-bootstrap
19486 @if intl
19487 maybe-configure-intl: configure-intl
19488 configure-intl:
19489 @r=`${PWD_COMMAND}`; export r; \
19490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19491 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19493 $(HOST_EXPORTS) \
19494 echo Configuring in $(HOST_SUBDIR)/intl; \
19495 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19496 case $(srcdir) in \
19497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19498 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19500 esac; \
19501 module_srcdir=intl; \
19502 $(SHELL) \
19503 $$s/$$module_srcdir/configure \
19504 --srcdir=$${topdir}/$$module_srcdir \
19505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19506 --target=${target_alias} \
19507 || exit 1
19508 @endif intl
19512 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19513 maybe-configure-stage1-intl:
19514 @if intl-bootstrap
19515 maybe-configure-stage1-intl: configure-stage1-intl
19516 configure-stage1-intl:
19517 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19519 @r=`${PWD_COMMAND}`; export r; \
19520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19521 TFLAGS="$(STAGE1_TFLAGS)"; \
19522 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19523 $(HOST_EXPORTS) \
19524 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19525 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19526 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19527 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19529 cd $(HOST_SUBDIR)/intl || exit 1; \
19530 case $(srcdir) in \
19531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19532 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19534 esac; \
19535 module_srcdir=intl; \
19536 $(SHELL) $$s/$$module_srcdir/configure \
19537 --srcdir=$${topdir}/$$module_srcdir \
19538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19539 --target=${target_alias} \
19541 $(STAGE1_CONFIGURE_FLAGS)
19542 @endif intl-bootstrap
19544 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19545 maybe-configure-stage2-intl:
19546 @if intl-bootstrap
19547 maybe-configure-stage2-intl: configure-stage2-intl
19548 configure-stage2-intl:
19549 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19550 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19551 @r=`${PWD_COMMAND}`; export r; \
19552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19553 TFLAGS="$(STAGE2_TFLAGS)"; \
19554 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19555 $(HOST_EXPORTS) \
19556 $(POSTSTAGE1_HOST_EXPORTS) \
19557 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19558 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19559 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19560 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19562 cd $(HOST_SUBDIR)/intl || exit 1; \
19563 case $(srcdir) in \
19564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19565 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19567 esac; \
19568 module_srcdir=intl; \
19569 $(SHELL) $$s/$$module_srcdir/configure \
19570 --srcdir=$${topdir}/$$module_srcdir \
19571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19572 --target=${target_alias} \
19573 --with-build-libsubdir=$(HOST_SUBDIR) \
19574 $(STAGE2_CONFIGURE_FLAGS)
19575 @endif intl-bootstrap
19577 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19578 maybe-configure-stage3-intl:
19579 @if intl-bootstrap
19580 maybe-configure-stage3-intl: configure-stage3-intl
19581 configure-stage3-intl:
19582 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19584 @r=`${PWD_COMMAND}`; export r; \
19585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19586 TFLAGS="$(STAGE3_TFLAGS)"; \
19587 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19588 $(HOST_EXPORTS) \
19589 $(POSTSTAGE1_HOST_EXPORTS) \
19590 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19591 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19592 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19593 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19595 cd $(HOST_SUBDIR)/intl || exit 1; \
19596 case $(srcdir) in \
19597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19598 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19600 esac; \
19601 module_srcdir=intl; \
19602 $(SHELL) $$s/$$module_srcdir/configure \
19603 --srcdir=$${topdir}/$$module_srcdir \
19604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19605 --target=${target_alias} \
19606 --with-build-libsubdir=$(HOST_SUBDIR) \
19607 $(STAGE3_CONFIGURE_FLAGS)
19608 @endif intl-bootstrap
19610 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19611 maybe-configure-stage4-intl:
19612 @if intl-bootstrap
19613 maybe-configure-stage4-intl: configure-stage4-intl
19614 configure-stage4-intl:
19615 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19617 @r=`${PWD_COMMAND}`; export r; \
19618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19619 TFLAGS="$(STAGE4_TFLAGS)"; \
19620 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19621 $(HOST_EXPORTS) \
19622 $(POSTSTAGE1_HOST_EXPORTS) \
19623 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19624 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19625 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19626 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19628 cd $(HOST_SUBDIR)/intl || exit 1; \
19629 case $(srcdir) in \
19630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19631 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19633 esac; \
19634 module_srcdir=intl; \
19635 $(SHELL) $$s/$$module_srcdir/configure \
19636 --srcdir=$${topdir}/$$module_srcdir \
19637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19638 --target=${target_alias} \
19639 --with-build-libsubdir=$(HOST_SUBDIR) \
19640 $(STAGE4_CONFIGURE_FLAGS)
19641 @endif intl-bootstrap
19643 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19644 maybe-configure-stageprofile-intl:
19645 @if intl-bootstrap
19646 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19647 configure-stageprofile-intl:
19648 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19649 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19650 @r=`${PWD_COMMAND}`; export r; \
19651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19652 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19653 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19654 $(HOST_EXPORTS) \
19655 $(POSTSTAGE1_HOST_EXPORTS) \
19656 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19657 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19658 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19659 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19661 cd $(HOST_SUBDIR)/intl || exit 1; \
19662 case $(srcdir) in \
19663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19664 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19666 esac; \
19667 module_srcdir=intl; \
19668 $(SHELL) $$s/$$module_srcdir/configure \
19669 --srcdir=$${topdir}/$$module_srcdir \
19670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19671 --target=${target_alias} \
19672 --with-build-libsubdir=$(HOST_SUBDIR) \
19673 $(STAGEprofile_CONFIGURE_FLAGS)
19674 @endif intl-bootstrap
19676 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19677 maybe-configure-stagetrain-intl:
19678 @if intl-bootstrap
19679 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19680 configure-stagetrain-intl:
19681 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19683 @r=`${PWD_COMMAND}`; export r; \
19684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19685 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19686 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19687 $(HOST_EXPORTS) \
19688 $(POSTSTAGE1_HOST_EXPORTS) \
19689 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19690 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19691 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19692 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19694 cd $(HOST_SUBDIR)/intl || exit 1; \
19695 case $(srcdir) in \
19696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19697 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19699 esac; \
19700 module_srcdir=intl; \
19701 $(SHELL) $$s/$$module_srcdir/configure \
19702 --srcdir=$${topdir}/$$module_srcdir \
19703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19704 --target=${target_alias} \
19705 --with-build-libsubdir=$(HOST_SUBDIR) \
19706 $(STAGEtrain_CONFIGURE_FLAGS)
19707 @endif intl-bootstrap
19709 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19710 maybe-configure-stagefeedback-intl:
19711 @if intl-bootstrap
19712 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19713 configure-stagefeedback-intl:
19714 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19716 @r=`${PWD_COMMAND}`; export r; \
19717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19718 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19719 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19720 $(HOST_EXPORTS) \
19721 $(POSTSTAGE1_HOST_EXPORTS) \
19722 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19723 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19724 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19725 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19727 cd $(HOST_SUBDIR)/intl || exit 1; \
19728 case $(srcdir) in \
19729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19730 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19732 esac; \
19733 module_srcdir=intl; \
19734 $(SHELL) $$s/$$module_srcdir/configure \
19735 --srcdir=$${topdir}/$$module_srcdir \
19736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19737 --target=${target_alias} \
19738 --with-build-libsubdir=$(HOST_SUBDIR) \
19739 $(STAGEfeedback_CONFIGURE_FLAGS)
19740 @endif intl-bootstrap
19742 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19743 maybe-configure-stageautoprofile-intl:
19744 @if intl-bootstrap
19745 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19746 configure-stageautoprofile-intl:
19747 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19749 @r=`${PWD_COMMAND}`; export r; \
19750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19751 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19752 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19753 $(HOST_EXPORTS) \
19754 $(POSTSTAGE1_HOST_EXPORTS) \
19755 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19756 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19757 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19758 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19760 cd $(HOST_SUBDIR)/intl || exit 1; \
19761 case $(srcdir) in \
19762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19763 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19765 esac; \
19766 module_srcdir=intl; \
19767 $(SHELL) $$s/$$module_srcdir/configure \
19768 --srcdir=$${topdir}/$$module_srcdir \
19769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19770 --target=${target_alias} \
19771 --with-build-libsubdir=$(HOST_SUBDIR) \
19772 $(STAGEautoprofile_CONFIGURE_FLAGS)
19773 @endif intl-bootstrap
19775 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19776 maybe-configure-stageautofeedback-intl:
19777 @if intl-bootstrap
19778 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19779 configure-stageautofeedback-intl:
19780 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19782 @r=`${PWD_COMMAND}`; export r; \
19783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19784 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19785 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19786 $(HOST_EXPORTS) \
19787 $(POSTSTAGE1_HOST_EXPORTS) \
19788 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19789 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19790 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19791 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
19792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19793 cd $(HOST_SUBDIR)/intl || exit 1; \
19794 case $(srcdir) in \
19795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19796 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19798 esac; \
19799 module_srcdir=intl; \
19800 $(SHELL) $$s/$$module_srcdir/configure \
19801 --srcdir=$${topdir}/$$module_srcdir \
19802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19803 --target=${target_alias} \
19804 --with-build-libsubdir=$(HOST_SUBDIR) \
19805 $(STAGEautofeedback_CONFIGURE_FLAGS)
19806 @endif intl-bootstrap
19812 .PHONY: all-intl maybe-all-intl
19813 maybe-all-intl:
19814 @if gcc-bootstrap
19815 all-intl: stage_current
19816 @endif gcc-bootstrap
19817 @if intl
19818 TARGET-intl=all
19819 maybe-all-intl: all-intl
19820 all-intl: configure-intl
19821 @r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19823 $(HOST_EXPORTS) \
19824 (cd $(HOST_SUBDIR)/intl && \
19825 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19826 $(TARGET-intl))
19827 @endif intl
19831 .PHONY: all-stage1-intl maybe-all-stage1-intl
19832 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
19833 maybe-all-stage1-intl:
19834 maybe-clean-stage1-intl:
19835 @if intl-bootstrap
19836 maybe-all-stage1-intl: all-stage1-intl
19837 all-stage1: all-stage1-intl
19838 TARGET-stage1-intl = $(TARGET-intl)
19839 all-stage1-intl: configure-stage1-intl
19840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19841 @r=`${PWD_COMMAND}`; export r; \
19842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19843 TFLAGS="$(STAGE1_TFLAGS)"; \
19844 $(HOST_EXPORTS) \
19845 cd $(HOST_SUBDIR)/intl && \
19847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19848 CFLAGS="$(STAGE1_CFLAGS)" \
19849 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19850 LIBCFLAGS="$(LIBCFLAGS)" \
19851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19854 $(EXTRA_HOST_FLAGS) \
19855 $(STAGE1_FLAGS_TO_PASS) \
19856 TFLAGS="$(STAGE1_TFLAGS)" \
19857 $(TARGET-stage1-intl)
19859 maybe-clean-stage1-intl: clean-stage1-intl
19860 clean-stage1: clean-stage1-intl
19861 clean-stage1-intl:
19862 @if [ $(current_stage) = stage1 ]; then \
19863 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19864 else \
19865 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
19866 $(MAKE) stage1-start; \
19867 fi; \
19868 cd $(HOST_SUBDIR)/intl && \
19869 $(MAKE) $(EXTRA_HOST_FLAGS) \
19870 $(STAGE1_FLAGS_TO_PASS) clean
19871 @endif intl-bootstrap
19874 .PHONY: all-stage2-intl maybe-all-stage2-intl
19875 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
19876 maybe-all-stage2-intl:
19877 maybe-clean-stage2-intl:
19878 @if intl-bootstrap
19879 maybe-all-stage2-intl: all-stage2-intl
19880 all-stage2: all-stage2-intl
19881 TARGET-stage2-intl = $(TARGET-intl)
19882 all-stage2-intl: configure-stage2-intl
19883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19884 @r=`${PWD_COMMAND}`; export r; \
19885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19886 TFLAGS="$(STAGE2_TFLAGS)"; \
19887 $(HOST_EXPORTS) \
19888 $(POSTSTAGE1_HOST_EXPORTS) \
19889 cd $(HOST_SUBDIR)/intl && \
19891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19892 CFLAGS="$(STAGE2_CFLAGS)" \
19893 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19894 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19898 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19899 TFLAGS="$(STAGE2_TFLAGS)" \
19900 $(TARGET-stage2-intl)
19902 maybe-clean-stage2-intl: clean-stage2-intl
19903 clean-stage2: clean-stage2-intl
19904 clean-stage2-intl:
19905 @if [ $(current_stage) = stage2 ]; then \
19906 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19907 else \
19908 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
19909 $(MAKE) stage2-start; \
19910 fi; \
19911 cd $(HOST_SUBDIR)/intl && \
19912 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19913 @endif intl-bootstrap
19916 .PHONY: all-stage3-intl maybe-all-stage3-intl
19917 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19918 maybe-all-stage3-intl:
19919 maybe-clean-stage3-intl:
19920 @if intl-bootstrap
19921 maybe-all-stage3-intl: all-stage3-intl
19922 all-stage3: all-stage3-intl
19923 TARGET-stage3-intl = $(TARGET-intl)
19924 all-stage3-intl: configure-stage3-intl
19925 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19926 @r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928 TFLAGS="$(STAGE3_TFLAGS)"; \
19929 $(HOST_EXPORTS) \
19930 $(POSTSTAGE1_HOST_EXPORTS) \
19931 cd $(HOST_SUBDIR)/intl && \
19933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19934 CFLAGS="$(STAGE3_CFLAGS)" \
19935 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19936 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19937 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19938 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19939 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19940 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19941 TFLAGS="$(STAGE3_TFLAGS)" \
19942 $(TARGET-stage3-intl)
19944 maybe-clean-stage3-intl: clean-stage3-intl
19945 clean-stage3: clean-stage3-intl
19946 clean-stage3-intl:
19947 @if [ $(current_stage) = stage3 ]; then \
19948 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19949 else \
19950 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
19951 $(MAKE) stage3-start; \
19952 fi; \
19953 cd $(HOST_SUBDIR)/intl && \
19954 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19955 @endif intl-bootstrap
19958 .PHONY: all-stage4-intl maybe-all-stage4-intl
19959 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
19960 maybe-all-stage4-intl:
19961 maybe-clean-stage4-intl:
19962 @if intl-bootstrap
19963 maybe-all-stage4-intl: all-stage4-intl
19964 all-stage4: all-stage4-intl
19965 TARGET-stage4-intl = $(TARGET-intl)
19966 all-stage4-intl: configure-stage4-intl
19967 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19968 @r=`${PWD_COMMAND}`; export r; \
19969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19970 TFLAGS="$(STAGE4_TFLAGS)"; \
19971 $(HOST_EXPORTS) \
19972 $(POSTSTAGE1_HOST_EXPORTS) \
19973 cd $(HOST_SUBDIR)/intl && \
19975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19976 CFLAGS="$(STAGE4_CFLAGS)" \
19977 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19978 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19982 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19983 TFLAGS="$(STAGE4_TFLAGS)" \
19984 $(TARGET-stage4-intl)
19986 maybe-clean-stage4-intl: clean-stage4-intl
19987 clean-stage4: clean-stage4-intl
19988 clean-stage4-intl:
19989 @if [ $(current_stage) = stage4 ]; then \
19990 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19991 else \
19992 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
19993 $(MAKE) stage4-start; \
19994 fi; \
19995 cd $(HOST_SUBDIR)/intl && \
19996 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19997 @endif intl-bootstrap
20000 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20001 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20002 maybe-all-stageprofile-intl:
20003 maybe-clean-stageprofile-intl:
20004 @if intl-bootstrap
20005 maybe-all-stageprofile-intl: all-stageprofile-intl
20006 all-stageprofile: all-stageprofile-intl
20007 TARGET-stageprofile-intl = $(TARGET-intl)
20008 all-stageprofile-intl: configure-stageprofile-intl
20009 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20010 @r=`${PWD_COMMAND}`; export r; \
20011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20012 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20013 $(HOST_EXPORTS) \
20014 $(POSTSTAGE1_HOST_EXPORTS) \
20015 cd $(HOST_SUBDIR)/intl && \
20017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20018 CFLAGS="$(STAGEprofile_CFLAGS)" \
20019 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20020 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20021 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20022 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20023 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20024 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20025 TFLAGS="$(STAGEprofile_TFLAGS)" \
20026 $(TARGET-stageprofile-intl)
20028 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20029 clean-stageprofile: clean-stageprofile-intl
20030 clean-stageprofile-intl:
20031 @if [ $(current_stage) = stageprofile ]; then \
20032 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20033 else \
20034 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20035 $(MAKE) stageprofile-start; \
20036 fi; \
20037 cd $(HOST_SUBDIR)/intl && \
20038 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20039 @endif intl-bootstrap
20042 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20043 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20044 maybe-all-stagetrain-intl:
20045 maybe-clean-stagetrain-intl:
20046 @if intl-bootstrap
20047 maybe-all-stagetrain-intl: all-stagetrain-intl
20048 all-stagetrain: all-stagetrain-intl
20049 TARGET-stagetrain-intl = $(TARGET-intl)
20050 all-stagetrain-intl: configure-stagetrain-intl
20051 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20052 @r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20054 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20055 $(HOST_EXPORTS) \
20056 $(POSTSTAGE1_HOST_EXPORTS) \
20057 cd $(HOST_SUBDIR)/intl && \
20059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20060 CFLAGS="$(STAGEtrain_CFLAGS)" \
20061 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20062 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20066 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20067 TFLAGS="$(STAGEtrain_TFLAGS)" \
20068 $(TARGET-stagetrain-intl)
20070 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20071 clean-stagetrain: clean-stagetrain-intl
20072 clean-stagetrain-intl:
20073 @if [ $(current_stage) = stagetrain ]; then \
20074 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20075 else \
20076 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20077 $(MAKE) stagetrain-start; \
20078 fi; \
20079 cd $(HOST_SUBDIR)/intl && \
20080 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20081 @endif intl-bootstrap
20084 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20085 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20086 maybe-all-stagefeedback-intl:
20087 maybe-clean-stagefeedback-intl:
20088 @if intl-bootstrap
20089 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20090 all-stagefeedback: all-stagefeedback-intl
20091 TARGET-stagefeedback-intl = $(TARGET-intl)
20092 all-stagefeedback-intl: configure-stagefeedback-intl
20093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20094 @r=`${PWD_COMMAND}`; export r; \
20095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20096 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20097 $(HOST_EXPORTS) \
20098 $(POSTSTAGE1_HOST_EXPORTS) \
20099 cd $(HOST_SUBDIR)/intl && \
20101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20102 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20109 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20110 $(TARGET-stagefeedback-intl)
20112 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20113 clean-stagefeedback: clean-stagefeedback-intl
20114 clean-stagefeedback-intl:
20115 @if [ $(current_stage) = stagefeedback ]; then \
20116 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20117 else \
20118 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20119 $(MAKE) stagefeedback-start; \
20120 fi; \
20121 cd $(HOST_SUBDIR)/intl && \
20122 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20123 @endif intl-bootstrap
20126 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20127 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20128 maybe-all-stageautoprofile-intl:
20129 maybe-clean-stageautoprofile-intl:
20130 @if intl-bootstrap
20131 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20132 all-stageautoprofile: all-stageautoprofile-intl
20133 TARGET-stageautoprofile-intl = $(TARGET-intl)
20134 all-stageautoprofile-intl: configure-stageautoprofile-intl
20135 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20136 @r=`${PWD_COMMAND}`; export r; \
20137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20138 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20139 $(HOST_EXPORTS) \
20140 $(POSTSTAGE1_HOST_EXPORTS) \
20141 cd $(HOST_SUBDIR)/intl && \
20142 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20144 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20145 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20146 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20150 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20151 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20152 $(TARGET-stageautoprofile-intl)
20154 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20155 clean-stageautoprofile: clean-stageautoprofile-intl
20156 clean-stageautoprofile-intl:
20157 @if [ $(current_stage) = stageautoprofile ]; then \
20158 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20159 else \
20160 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20161 $(MAKE) stageautoprofile-start; \
20162 fi; \
20163 cd $(HOST_SUBDIR)/intl && \
20164 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20165 @endif intl-bootstrap
20168 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20169 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20170 maybe-all-stageautofeedback-intl:
20171 maybe-clean-stageautofeedback-intl:
20172 @if intl-bootstrap
20173 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20174 all-stageautofeedback: all-stageautofeedback-intl
20175 TARGET-stageautofeedback-intl = $(TARGET-intl)
20176 all-stageautofeedback-intl: configure-stageautofeedback-intl
20177 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20178 @r=`${PWD_COMMAND}`; export r; \
20179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20180 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20181 $(HOST_EXPORTS) \
20182 $(POSTSTAGE1_HOST_EXPORTS) \
20183 cd $(HOST_SUBDIR)/intl && \
20185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20186 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20187 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20188 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20193 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20194 $(TARGET-stageautofeedback-intl)
20196 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20197 clean-stageautofeedback: clean-stageautofeedback-intl
20198 clean-stageautofeedback-intl:
20199 @if [ $(current_stage) = stageautofeedback ]; then \
20200 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20201 else \
20202 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20203 $(MAKE) stageautofeedback-start; \
20204 fi; \
20205 cd $(HOST_SUBDIR)/intl && \
20206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20207 @endif intl-bootstrap
20213 .PHONY: check-intl maybe-check-intl
20214 maybe-check-intl:
20215 @if intl
20216 maybe-check-intl: check-intl
20218 check-intl:
20219 @: $(MAKE); $(unstage)
20220 @r=`${PWD_COMMAND}`; export r; \
20221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20222 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20223 (cd $(HOST_SUBDIR)/intl && \
20224 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20226 @endif intl
20228 .PHONY: install-intl maybe-install-intl
20229 maybe-install-intl:
20230 @if intl
20231 maybe-install-intl: install-intl
20233 install-intl: installdirs
20234 @: $(MAKE); $(unstage)
20235 @r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20237 $(HOST_EXPORTS) \
20238 (cd $(HOST_SUBDIR)/intl && \
20239 $(MAKE) $(FLAGS_TO_PASS) install)
20241 @endif intl
20243 .PHONY: install-strip-intl maybe-install-strip-intl
20244 maybe-install-strip-intl:
20245 @if intl
20246 maybe-install-strip-intl: install-strip-intl
20248 install-strip-intl: installdirs
20249 @: $(MAKE); $(unstage)
20250 @r=`${PWD_COMMAND}`; export r; \
20251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20252 $(HOST_EXPORTS) \
20253 (cd $(HOST_SUBDIR)/intl && \
20254 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20256 @endif intl
20258 # Other targets (info, dvi, pdf, etc.)
20260 .PHONY: maybe-info-intl info-intl
20261 maybe-info-intl:
20262 @if intl
20263 maybe-info-intl: info-intl
20265 info-intl: \
20266 configure-intl
20267 @[ -f ./intl/Makefile ] || exit 0; \
20268 r=`${PWD_COMMAND}`; export r; \
20269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20270 $(HOST_EXPORTS) \
20271 for flag in $(EXTRA_HOST_FLAGS) ; do \
20272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20273 done; \
20274 echo "Doing info in intl"; \
20275 (cd $(HOST_SUBDIR)/intl && \
20276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20278 "RANLIB=$${RANLIB}" \
20279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20280 info) \
20281 || exit 1
20283 @endif intl
20285 .PHONY: maybe-dvi-intl dvi-intl
20286 maybe-dvi-intl:
20287 @if intl
20288 maybe-dvi-intl: dvi-intl
20290 dvi-intl: \
20291 configure-intl
20292 @[ -f ./intl/Makefile ] || exit 0; \
20293 r=`${PWD_COMMAND}`; export r; \
20294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 $(HOST_EXPORTS) \
20296 for flag in $(EXTRA_HOST_FLAGS) ; do \
20297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20298 done; \
20299 echo "Doing dvi in intl"; \
20300 (cd $(HOST_SUBDIR)/intl && \
20301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20303 "RANLIB=$${RANLIB}" \
20304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20305 dvi) \
20306 || exit 1
20308 @endif intl
20310 .PHONY: maybe-pdf-intl pdf-intl
20311 maybe-pdf-intl:
20312 @if intl
20313 maybe-pdf-intl: pdf-intl
20315 pdf-intl: \
20316 configure-intl
20317 @[ -f ./intl/Makefile ] || exit 0; \
20318 r=`${PWD_COMMAND}`; export r; \
20319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20320 $(HOST_EXPORTS) \
20321 for flag in $(EXTRA_HOST_FLAGS) ; do \
20322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20323 done; \
20324 echo "Doing pdf in intl"; \
20325 (cd $(HOST_SUBDIR)/intl && \
20326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20328 "RANLIB=$${RANLIB}" \
20329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20330 pdf) \
20331 || exit 1
20333 @endif intl
20335 .PHONY: maybe-html-intl html-intl
20336 maybe-html-intl:
20337 @if intl
20338 maybe-html-intl: html-intl
20340 html-intl: \
20341 configure-intl
20342 @[ -f ./intl/Makefile ] || exit 0; \
20343 r=`${PWD_COMMAND}`; export r; \
20344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20345 $(HOST_EXPORTS) \
20346 for flag in $(EXTRA_HOST_FLAGS) ; do \
20347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20348 done; \
20349 echo "Doing html in intl"; \
20350 (cd $(HOST_SUBDIR)/intl && \
20351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20353 "RANLIB=$${RANLIB}" \
20354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20355 html) \
20356 || exit 1
20358 @endif intl
20360 .PHONY: maybe-TAGS-intl TAGS-intl
20361 maybe-TAGS-intl:
20362 @if intl
20363 maybe-TAGS-intl: TAGS-intl
20365 TAGS-intl: \
20366 configure-intl
20367 @[ -f ./intl/Makefile ] || exit 0; \
20368 r=`${PWD_COMMAND}`; export r; \
20369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20370 $(HOST_EXPORTS) \
20371 for flag in $(EXTRA_HOST_FLAGS) ; do \
20372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20373 done; \
20374 echo "Doing TAGS in intl"; \
20375 (cd $(HOST_SUBDIR)/intl && \
20376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20378 "RANLIB=$${RANLIB}" \
20379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20380 TAGS) \
20381 || exit 1
20383 @endif intl
20385 .PHONY: maybe-install-info-intl install-info-intl
20386 maybe-install-info-intl:
20387 @if intl
20388 maybe-install-info-intl: install-info-intl
20390 install-info-intl: \
20391 configure-intl \
20392 info-intl
20393 @[ -f ./intl/Makefile ] || exit 0; \
20394 r=`${PWD_COMMAND}`; export r; \
20395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20396 $(HOST_EXPORTS) \
20397 for flag in $(EXTRA_HOST_FLAGS) ; do \
20398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20399 done; \
20400 echo "Doing install-info in intl"; \
20401 (cd $(HOST_SUBDIR)/intl && \
20402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20404 "RANLIB=$${RANLIB}" \
20405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20406 install-info) \
20407 || exit 1
20409 @endif intl
20411 .PHONY: maybe-install-pdf-intl install-pdf-intl
20412 maybe-install-pdf-intl:
20413 @if intl
20414 maybe-install-pdf-intl: install-pdf-intl
20416 install-pdf-intl: \
20417 configure-intl \
20418 pdf-intl
20419 @[ -f ./intl/Makefile ] || exit 0; \
20420 r=`${PWD_COMMAND}`; export r; \
20421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20422 $(HOST_EXPORTS) \
20423 for flag in $(EXTRA_HOST_FLAGS) ; do \
20424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20425 done; \
20426 echo "Doing install-pdf in intl"; \
20427 (cd $(HOST_SUBDIR)/intl && \
20428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20430 "RANLIB=$${RANLIB}" \
20431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20432 install-pdf) \
20433 || exit 1
20435 @endif intl
20437 .PHONY: maybe-install-html-intl install-html-intl
20438 maybe-install-html-intl:
20439 @if intl
20440 maybe-install-html-intl: install-html-intl
20442 install-html-intl: \
20443 configure-intl \
20444 html-intl
20445 @[ -f ./intl/Makefile ] || exit 0; \
20446 r=`${PWD_COMMAND}`; export r; \
20447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 $(HOST_EXPORTS) \
20449 for flag in $(EXTRA_HOST_FLAGS) ; do \
20450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20451 done; \
20452 echo "Doing install-html in intl"; \
20453 (cd $(HOST_SUBDIR)/intl && \
20454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20456 "RANLIB=$${RANLIB}" \
20457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20458 install-html) \
20459 || exit 1
20461 @endif intl
20463 .PHONY: maybe-installcheck-intl installcheck-intl
20464 maybe-installcheck-intl:
20465 @if intl
20466 maybe-installcheck-intl: installcheck-intl
20468 installcheck-intl: \
20469 configure-intl
20470 @[ -f ./intl/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 $(HOST_EXPORTS) \
20474 for flag in $(EXTRA_HOST_FLAGS) ; do \
20475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20476 done; \
20477 echo "Doing installcheck in intl"; \
20478 (cd $(HOST_SUBDIR)/intl && \
20479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20481 "RANLIB=$${RANLIB}" \
20482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20483 installcheck) \
20484 || exit 1
20486 @endif intl
20488 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20489 maybe-mostlyclean-intl:
20490 @if intl
20491 maybe-mostlyclean-intl: mostlyclean-intl
20493 mostlyclean-intl:
20494 @[ -f ./intl/Makefile ] || exit 0; \
20495 r=`${PWD_COMMAND}`; export r; \
20496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20497 $(HOST_EXPORTS) \
20498 for flag in $(EXTRA_HOST_FLAGS) ; do \
20499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20500 done; \
20501 echo "Doing mostlyclean in intl"; \
20502 (cd $(HOST_SUBDIR)/intl && \
20503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20505 "RANLIB=$${RANLIB}" \
20506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20507 mostlyclean) \
20508 || exit 1
20510 @endif intl
20512 .PHONY: maybe-clean-intl clean-intl
20513 maybe-clean-intl:
20514 @if intl
20515 maybe-clean-intl: clean-intl
20517 clean-intl:
20518 @[ -f ./intl/Makefile ] || exit 0; \
20519 r=`${PWD_COMMAND}`; export r; \
20520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20521 $(HOST_EXPORTS) \
20522 for flag in $(EXTRA_HOST_FLAGS) ; do \
20523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20524 done; \
20525 echo "Doing clean in intl"; \
20526 (cd $(HOST_SUBDIR)/intl && \
20527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20529 "RANLIB=$${RANLIB}" \
20530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20531 clean) \
20532 || exit 1
20534 @endif intl
20536 .PHONY: maybe-distclean-intl distclean-intl
20537 maybe-distclean-intl:
20538 @if intl
20539 maybe-distclean-intl: distclean-intl
20541 distclean-intl:
20542 @[ -f ./intl/Makefile ] || exit 0; \
20543 r=`${PWD_COMMAND}`; export r; \
20544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545 $(HOST_EXPORTS) \
20546 for flag in $(EXTRA_HOST_FLAGS) ; do \
20547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20548 done; \
20549 echo "Doing distclean in intl"; \
20550 (cd $(HOST_SUBDIR)/intl && \
20551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20553 "RANLIB=$${RANLIB}" \
20554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20555 distclean) \
20556 || exit 1
20558 @endif intl
20560 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20561 maybe-maintainer-clean-intl:
20562 @if intl
20563 maybe-maintainer-clean-intl: maintainer-clean-intl
20565 maintainer-clean-intl:
20566 @[ -f ./intl/Makefile ] || exit 0; \
20567 r=`${PWD_COMMAND}`; export r; \
20568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 $(HOST_EXPORTS) \
20570 for flag in $(EXTRA_HOST_FLAGS) ; do \
20571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20572 done; \
20573 echo "Doing maintainer-clean in intl"; \
20574 (cd $(HOST_SUBDIR)/intl && \
20575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20577 "RANLIB=$${RANLIB}" \
20578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20579 maintainer-clean) \
20580 || exit 1
20582 @endif intl
20586 .PHONY: configure-tcl maybe-configure-tcl
20587 maybe-configure-tcl:
20588 @if gcc-bootstrap
20589 configure-tcl: stage_current
20590 @endif gcc-bootstrap
20591 @if tcl
20592 maybe-configure-tcl: configure-tcl
20593 configure-tcl:
20594 @: $(MAKE); $(unstage)
20595 @r=`${PWD_COMMAND}`; export r; \
20596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20597 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20599 $(HOST_EXPORTS) \
20600 echo Configuring in $(HOST_SUBDIR)/tcl; \
20601 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20602 case $(srcdir) in \
20603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20604 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20606 esac; \
20607 module_srcdir=tcl; \
20608 $(SHELL) \
20609 $$s/$$module_srcdir/configure \
20610 --srcdir=$${topdir}/$$module_srcdir \
20611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20612 --target=${target_alias} \
20613 || exit 1
20614 @endif tcl
20620 .PHONY: all-tcl maybe-all-tcl
20621 maybe-all-tcl:
20622 @if gcc-bootstrap
20623 all-tcl: stage_current
20624 @endif gcc-bootstrap
20625 @if tcl
20626 TARGET-tcl=all
20627 maybe-all-tcl: all-tcl
20628 all-tcl: configure-tcl
20629 @: $(MAKE); $(unstage)
20630 @r=`${PWD_COMMAND}`; export r; \
20631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20632 $(HOST_EXPORTS) \
20633 (cd $(HOST_SUBDIR)/tcl && \
20634 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20635 $(TARGET-tcl))
20636 @endif tcl
20641 .PHONY: check-tcl maybe-check-tcl
20642 maybe-check-tcl:
20643 @if tcl
20644 maybe-check-tcl: check-tcl
20646 check-tcl:
20647 @: $(MAKE); $(unstage)
20648 @r=`${PWD_COMMAND}`; export r; \
20649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20650 $(HOST_EXPORTS) \
20651 (cd $(HOST_SUBDIR)/tcl && \
20652 $(MAKE) $(FLAGS_TO_PASS) check)
20654 @endif tcl
20656 .PHONY: install-tcl maybe-install-tcl
20657 maybe-install-tcl:
20658 @if tcl
20659 maybe-install-tcl: install-tcl
20661 install-tcl: installdirs
20662 @: $(MAKE); $(unstage)
20663 @r=`${PWD_COMMAND}`; export r; \
20664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20665 $(HOST_EXPORTS) \
20666 (cd $(HOST_SUBDIR)/tcl && \
20667 $(MAKE) $(FLAGS_TO_PASS) install)
20669 @endif tcl
20671 .PHONY: install-strip-tcl maybe-install-strip-tcl
20672 maybe-install-strip-tcl:
20673 @if tcl
20674 maybe-install-strip-tcl: install-strip-tcl
20676 install-strip-tcl: installdirs
20677 @: $(MAKE); $(unstage)
20678 @r=`${PWD_COMMAND}`; export r; \
20679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20680 $(HOST_EXPORTS) \
20681 (cd $(HOST_SUBDIR)/tcl && \
20682 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20684 @endif tcl
20686 # Other targets (info, dvi, pdf, etc.)
20688 .PHONY: maybe-info-tcl info-tcl
20689 maybe-info-tcl:
20690 @if tcl
20691 maybe-info-tcl: info-tcl
20693 info-tcl: \
20694 configure-tcl
20695 @: $(MAKE); $(unstage)
20696 @[ -f ./tcl/Makefile ] || exit 0; \
20697 r=`${PWD_COMMAND}`; export r; \
20698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20699 $(HOST_EXPORTS) \
20700 for flag in $(EXTRA_HOST_FLAGS) ; do \
20701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20702 done; \
20703 echo "Doing info in tcl"; \
20704 (cd $(HOST_SUBDIR)/tcl && \
20705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20707 "RANLIB=$${RANLIB}" \
20708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20709 info) \
20710 || exit 1
20712 @endif tcl
20714 .PHONY: maybe-dvi-tcl dvi-tcl
20715 maybe-dvi-tcl:
20716 @if tcl
20717 maybe-dvi-tcl: dvi-tcl
20719 dvi-tcl: \
20720 configure-tcl
20721 @: $(MAKE); $(unstage)
20722 @[ -f ./tcl/Makefile ] || exit 0; \
20723 r=`${PWD_COMMAND}`; export r; \
20724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20725 $(HOST_EXPORTS) \
20726 for flag in $(EXTRA_HOST_FLAGS) ; do \
20727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20728 done; \
20729 echo "Doing dvi in tcl"; \
20730 (cd $(HOST_SUBDIR)/tcl && \
20731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20733 "RANLIB=$${RANLIB}" \
20734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20735 dvi) \
20736 || exit 1
20738 @endif tcl
20740 .PHONY: maybe-pdf-tcl pdf-tcl
20741 maybe-pdf-tcl:
20742 @if tcl
20743 maybe-pdf-tcl: pdf-tcl
20745 pdf-tcl: \
20746 configure-tcl
20747 @: $(MAKE); $(unstage)
20748 @[ -f ./tcl/Makefile ] || exit 0; \
20749 r=`${PWD_COMMAND}`; export r; \
20750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20751 $(HOST_EXPORTS) \
20752 for flag in $(EXTRA_HOST_FLAGS) ; do \
20753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20754 done; \
20755 echo "Doing pdf in tcl"; \
20756 (cd $(HOST_SUBDIR)/tcl && \
20757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20759 "RANLIB=$${RANLIB}" \
20760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20761 pdf) \
20762 || exit 1
20764 @endif tcl
20766 .PHONY: maybe-html-tcl html-tcl
20767 maybe-html-tcl:
20768 @if tcl
20769 maybe-html-tcl: html-tcl
20771 html-tcl: \
20772 configure-tcl
20773 @: $(MAKE); $(unstage)
20774 @[ -f ./tcl/Makefile ] || exit 0; \
20775 r=`${PWD_COMMAND}`; export r; \
20776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20777 $(HOST_EXPORTS) \
20778 for flag in $(EXTRA_HOST_FLAGS) ; do \
20779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20780 done; \
20781 echo "Doing html in tcl"; \
20782 (cd $(HOST_SUBDIR)/tcl && \
20783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20785 "RANLIB=$${RANLIB}" \
20786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20787 html) \
20788 || exit 1
20790 @endif tcl
20792 .PHONY: maybe-TAGS-tcl TAGS-tcl
20793 maybe-TAGS-tcl:
20794 @if tcl
20795 maybe-TAGS-tcl: TAGS-tcl
20797 TAGS-tcl: \
20798 configure-tcl
20799 @: $(MAKE); $(unstage)
20800 @[ -f ./tcl/Makefile ] || exit 0; \
20801 r=`${PWD_COMMAND}`; export r; \
20802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20803 $(HOST_EXPORTS) \
20804 for flag in $(EXTRA_HOST_FLAGS) ; do \
20805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20806 done; \
20807 echo "Doing TAGS in tcl"; \
20808 (cd $(HOST_SUBDIR)/tcl && \
20809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20811 "RANLIB=$${RANLIB}" \
20812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20813 TAGS) \
20814 || exit 1
20816 @endif tcl
20818 .PHONY: maybe-install-info-tcl install-info-tcl
20819 maybe-install-info-tcl:
20820 @if tcl
20821 maybe-install-info-tcl: install-info-tcl
20823 install-info-tcl: \
20824 configure-tcl \
20825 info-tcl
20826 @: $(MAKE); $(unstage)
20827 @[ -f ./tcl/Makefile ] || exit 0; \
20828 r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 $(HOST_EXPORTS) \
20831 for flag in $(EXTRA_HOST_FLAGS) ; do \
20832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20833 done; \
20834 echo "Doing install-info in tcl"; \
20835 (cd $(HOST_SUBDIR)/tcl && \
20836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20838 "RANLIB=$${RANLIB}" \
20839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20840 install-info) \
20841 || exit 1
20843 @endif tcl
20845 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
20846 maybe-install-pdf-tcl:
20847 @if tcl
20848 maybe-install-pdf-tcl: install-pdf-tcl
20850 install-pdf-tcl: \
20851 configure-tcl \
20852 pdf-tcl
20853 @: $(MAKE); $(unstage)
20854 @[ -f ./tcl/Makefile ] || exit 0; \
20855 r=`${PWD_COMMAND}`; export r; \
20856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20857 $(HOST_EXPORTS) \
20858 for flag in $(EXTRA_HOST_FLAGS) ; do \
20859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20860 done; \
20861 echo "Doing install-pdf in tcl"; \
20862 (cd $(HOST_SUBDIR)/tcl && \
20863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20865 "RANLIB=$${RANLIB}" \
20866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20867 install-pdf) \
20868 || exit 1
20870 @endif tcl
20872 .PHONY: maybe-install-html-tcl install-html-tcl
20873 maybe-install-html-tcl:
20874 @if tcl
20875 maybe-install-html-tcl: install-html-tcl
20877 install-html-tcl: \
20878 configure-tcl \
20879 html-tcl
20880 @: $(MAKE); $(unstage)
20881 @[ -f ./tcl/Makefile ] || exit 0; \
20882 r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 $(HOST_EXPORTS) \
20885 for flag in $(EXTRA_HOST_FLAGS) ; do \
20886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20887 done; \
20888 echo "Doing install-html in tcl"; \
20889 (cd $(HOST_SUBDIR)/tcl && \
20890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20892 "RANLIB=$${RANLIB}" \
20893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20894 install-html) \
20895 || exit 1
20897 @endif tcl
20899 .PHONY: maybe-installcheck-tcl installcheck-tcl
20900 maybe-installcheck-tcl:
20901 @if tcl
20902 maybe-installcheck-tcl: installcheck-tcl
20904 installcheck-tcl: \
20905 configure-tcl
20906 @: $(MAKE); $(unstage)
20907 @[ -f ./tcl/Makefile ] || exit 0; \
20908 r=`${PWD_COMMAND}`; export r; \
20909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 $(HOST_EXPORTS) \
20911 for flag in $(EXTRA_HOST_FLAGS) ; do \
20912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20913 done; \
20914 echo "Doing installcheck in tcl"; \
20915 (cd $(HOST_SUBDIR)/tcl && \
20916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20918 "RANLIB=$${RANLIB}" \
20919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20920 installcheck) \
20921 || exit 1
20923 @endif tcl
20925 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
20926 maybe-mostlyclean-tcl:
20927 @if tcl
20928 maybe-mostlyclean-tcl: mostlyclean-tcl
20930 # tcl doesn't support mostlyclean.
20931 mostlyclean-tcl:
20933 @endif tcl
20935 .PHONY: maybe-clean-tcl clean-tcl
20936 maybe-clean-tcl:
20937 @if tcl
20938 maybe-clean-tcl: clean-tcl
20940 clean-tcl:
20941 @: $(MAKE); $(unstage)
20942 @[ -f ./tcl/Makefile ] || exit 0; \
20943 r=`${PWD_COMMAND}`; export r; \
20944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20945 $(HOST_EXPORTS) \
20946 for flag in $(EXTRA_HOST_FLAGS) ; do \
20947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20948 done; \
20949 echo "Doing clean in tcl"; \
20950 (cd $(HOST_SUBDIR)/tcl && \
20951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20953 "RANLIB=$${RANLIB}" \
20954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20955 clean) \
20956 || exit 1
20958 @endif tcl
20960 .PHONY: maybe-distclean-tcl distclean-tcl
20961 maybe-distclean-tcl:
20962 @if tcl
20963 maybe-distclean-tcl: distclean-tcl
20965 distclean-tcl:
20966 @: $(MAKE); $(unstage)
20967 @[ -f ./tcl/Makefile ] || exit 0; \
20968 r=`${PWD_COMMAND}`; export r; \
20969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20970 $(HOST_EXPORTS) \
20971 for flag in $(EXTRA_HOST_FLAGS) ; do \
20972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20973 done; \
20974 echo "Doing distclean in tcl"; \
20975 (cd $(HOST_SUBDIR)/tcl && \
20976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20978 "RANLIB=$${RANLIB}" \
20979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20980 distclean) \
20981 || exit 1
20983 @endif tcl
20985 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
20986 maybe-maintainer-clean-tcl:
20987 @if tcl
20988 maybe-maintainer-clean-tcl: maintainer-clean-tcl
20990 maintainer-clean-tcl:
20991 @: $(MAKE); $(unstage)
20992 @[ -f ./tcl/Makefile ] || exit 0; \
20993 r=`${PWD_COMMAND}`; export r; \
20994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20995 $(HOST_EXPORTS) \
20996 for flag in $(EXTRA_HOST_FLAGS) ; do \
20997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20998 done; \
20999 echo "Doing maintainer-clean in tcl"; \
21000 (cd $(HOST_SUBDIR)/tcl && \
21001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21003 "RANLIB=$${RANLIB}" \
21004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21005 maintainer-clean) \
21006 || exit 1
21008 @endif tcl
21012 .PHONY: configure-itcl maybe-configure-itcl
21013 maybe-configure-itcl:
21014 @if gcc-bootstrap
21015 configure-itcl: stage_current
21016 @endif gcc-bootstrap
21017 @if itcl
21018 maybe-configure-itcl: configure-itcl
21019 configure-itcl:
21020 @: $(MAKE); $(unstage)
21021 @r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21025 $(HOST_EXPORTS) \
21026 echo Configuring in $(HOST_SUBDIR)/itcl; \
21027 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21028 case $(srcdir) in \
21029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21030 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21032 esac; \
21033 module_srcdir=itcl; \
21034 $(SHELL) \
21035 $$s/$$module_srcdir/configure \
21036 --srcdir=$${topdir}/$$module_srcdir \
21037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21038 --target=${target_alias} \
21039 || exit 1
21040 @endif itcl
21046 .PHONY: all-itcl maybe-all-itcl
21047 maybe-all-itcl:
21048 @if gcc-bootstrap
21049 all-itcl: stage_current
21050 @endif gcc-bootstrap
21051 @if itcl
21052 TARGET-itcl=all
21053 maybe-all-itcl: all-itcl
21054 all-itcl: configure-itcl
21055 @: $(MAKE); $(unstage)
21056 @r=`${PWD_COMMAND}`; export r; \
21057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21058 $(HOST_EXPORTS) \
21059 (cd $(HOST_SUBDIR)/itcl && \
21060 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21061 $(TARGET-itcl))
21062 @endif itcl
21067 .PHONY: check-itcl maybe-check-itcl
21068 maybe-check-itcl:
21069 @if itcl
21070 maybe-check-itcl: check-itcl
21072 check-itcl:
21073 @: $(MAKE); $(unstage)
21074 @r=`${PWD_COMMAND}`; export r; \
21075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21076 $(HOST_EXPORTS) \
21077 (cd $(HOST_SUBDIR)/itcl && \
21078 $(MAKE) $(FLAGS_TO_PASS) check)
21080 @endif itcl
21082 .PHONY: install-itcl maybe-install-itcl
21083 maybe-install-itcl:
21084 @if itcl
21085 maybe-install-itcl: install-itcl
21087 install-itcl: installdirs
21088 @: $(MAKE); $(unstage)
21089 @r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21091 $(HOST_EXPORTS) \
21092 (cd $(HOST_SUBDIR)/itcl && \
21093 $(MAKE) $(FLAGS_TO_PASS) install)
21095 @endif itcl
21097 .PHONY: install-strip-itcl maybe-install-strip-itcl
21098 maybe-install-strip-itcl:
21099 @if itcl
21100 maybe-install-strip-itcl: install-strip-itcl
21102 install-strip-itcl: installdirs
21103 @: $(MAKE); $(unstage)
21104 @r=`${PWD_COMMAND}`; export r; \
21105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21106 $(HOST_EXPORTS) \
21107 (cd $(HOST_SUBDIR)/itcl && \
21108 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21110 @endif itcl
21112 # Other targets (info, dvi, pdf, etc.)
21114 .PHONY: maybe-info-itcl info-itcl
21115 maybe-info-itcl:
21116 @if itcl
21117 maybe-info-itcl: info-itcl
21119 info-itcl: \
21120 configure-itcl
21121 @: $(MAKE); $(unstage)
21122 @[ -f ./itcl/Makefile ] || exit 0; \
21123 r=`${PWD_COMMAND}`; export r; \
21124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21125 $(HOST_EXPORTS) \
21126 for flag in $(EXTRA_HOST_FLAGS) ; do \
21127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21128 done; \
21129 echo "Doing info in itcl"; \
21130 (cd $(HOST_SUBDIR)/itcl && \
21131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21133 "RANLIB=$${RANLIB}" \
21134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21135 info) \
21136 || exit 1
21138 @endif itcl
21140 .PHONY: maybe-dvi-itcl dvi-itcl
21141 maybe-dvi-itcl:
21142 @if itcl
21143 maybe-dvi-itcl: dvi-itcl
21145 dvi-itcl: \
21146 configure-itcl
21147 @: $(MAKE); $(unstage)
21148 @[ -f ./itcl/Makefile ] || exit 0; \
21149 r=`${PWD_COMMAND}`; export r; \
21150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21151 $(HOST_EXPORTS) \
21152 for flag in $(EXTRA_HOST_FLAGS) ; do \
21153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21154 done; \
21155 echo "Doing dvi in itcl"; \
21156 (cd $(HOST_SUBDIR)/itcl && \
21157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21159 "RANLIB=$${RANLIB}" \
21160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21161 dvi) \
21162 || exit 1
21164 @endif itcl
21166 .PHONY: maybe-pdf-itcl pdf-itcl
21167 maybe-pdf-itcl:
21168 @if itcl
21169 maybe-pdf-itcl: pdf-itcl
21171 pdf-itcl: \
21172 configure-itcl
21173 @: $(MAKE); $(unstage)
21174 @[ -f ./itcl/Makefile ] || exit 0; \
21175 r=`${PWD_COMMAND}`; export r; \
21176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21177 $(HOST_EXPORTS) \
21178 for flag in $(EXTRA_HOST_FLAGS) ; do \
21179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21180 done; \
21181 echo "Doing pdf in itcl"; \
21182 (cd $(HOST_SUBDIR)/itcl && \
21183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21185 "RANLIB=$${RANLIB}" \
21186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21187 pdf) \
21188 || exit 1
21190 @endif itcl
21192 .PHONY: maybe-html-itcl html-itcl
21193 maybe-html-itcl:
21194 @if itcl
21195 maybe-html-itcl: html-itcl
21197 html-itcl: \
21198 configure-itcl
21199 @: $(MAKE); $(unstage)
21200 @[ -f ./itcl/Makefile ] || exit 0; \
21201 r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203 $(HOST_EXPORTS) \
21204 for flag in $(EXTRA_HOST_FLAGS) ; do \
21205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21206 done; \
21207 echo "Doing html in itcl"; \
21208 (cd $(HOST_SUBDIR)/itcl && \
21209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21211 "RANLIB=$${RANLIB}" \
21212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21213 html) \
21214 || exit 1
21216 @endif itcl
21218 .PHONY: maybe-TAGS-itcl TAGS-itcl
21219 maybe-TAGS-itcl:
21220 @if itcl
21221 maybe-TAGS-itcl: TAGS-itcl
21223 TAGS-itcl: \
21224 configure-itcl
21225 @: $(MAKE); $(unstage)
21226 @[ -f ./itcl/Makefile ] || exit 0; \
21227 r=`${PWD_COMMAND}`; export r; \
21228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21229 $(HOST_EXPORTS) \
21230 for flag in $(EXTRA_HOST_FLAGS) ; do \
21231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21232 done; \
21233 echo "Doing TAGS in itcl"; \
21234 (cd $(HOST_SUBDIR)/itcl && \
21235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21237 "RANLIB=$${RANLIB}" \
21238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21239 TAGS) \
21240 || exit 1
21242 @endif itcl
21244 .PHONY: maybe-install-info-itcl install-info-itcl
21245 maybe-install-info-itcl:
21246 @if itcl
21247 maybe-install-info-itcl: install-info-itcl
21249 install-info-itcl: \
21250 configure-itcl \
21251 info-itcl
21252 @: $(MAKE); $(unstage)
21253 @[ -f ./itcl/Makefile ] || exit 0; \
21254 r=`${PWD_COMMAND}`; export r; \
21255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21256 $(HOST_EXPORTS) \
21257 for flag in $(EXTRA_HOST_FLAGS) ; do \
21258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21259 done; \
21260 echo "Doing install-info in itcl"; \
21261 (cd $(HOST_SUBDIR)/itcl && \
21262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21264 "RANLIB=$${RANLIB}" \
21265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21266 install-info) \
21267 || exit 1
21269 @endif itcl
21271 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21272 maybe-install-pdf-itcl:
21273 @if itcl
21274 maybe-install-pdf-itcl: install-pdf-itcl
21276 install-pdf-itcl: \
21277 configure-itcl \
21278 pdf-itcl
21279 @: $(MAKE); $(unstage)
21280 @[ -f ./itcl/Makefile ] || exit 0; \
21281 r=`${PWD_COMMAND}`; export r; \
21282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21283 $(HOST_EXPORTS) \
21284 for flag in $(EXTRA_HOST_FLAGS) ; do \
21285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21286 done; \
21287 echo "Doing install-pdf in itcl"; \
21288 (cd $(HOST_SUBDIR)/itcl && \
21289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21291 "RANLIB=$${RANLIB}" \
21292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21293 install-pdf) \
21294 || exit 1
21296 @endif itcl
21298 .PHONY: maybe-install-html-itcl install-html-itcl
21299 maybe-install-html-itcl:
21300 @if itcl
21301 maybe-install-html-itcl: install-html-itcl
21303 install-html-itcl: \
21304 configure-itcl \
21305 html-itcl
21306 @: $(MAKE); $(unstage)
21307 @[ -f ./itcl/Makefile ] || exit 0; \
21308 r=`${PWD_COMMAND}`; export r; \
21309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21310 $(HOST_EXPORTS) \
21311 for flag in $(EXTRA_HOST_FLAGS) ; do \
21312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21313 done; \
21314 echo "Doing install-html in itcl"; \
21315 (cd $(HOST_SUBDIR)/itcl && \
21316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21318 "RANLIB=$${RANLIB}" \
21319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21320 install-html) \
21321 || exit 1
21323 @endif itcl
21325 .PHONY: maybe-installcheck-itcl installcheck-itcl
21326 maybe-installcheck-itcl:
21327 @if itcl
21328 maybe-installcheck-itcl: installcheck-itcl
21330 installcheck-itcl: \
21331 configure-itcl
21332 @: $(MAKE); $(unstage)
21333 @[ -f ./itcl/Makefile ] || exit 0; \
21334 r=`${PWD_COMMAND}`; export r; \
21335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21336 $(HOST_EXPORTS) \
21337 for flag in $(EXTRA_HOST_FLAGS) ; do \
21338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21339 done; \
21340 echo "Doing installcheck in itcl"; \
21341 (cd $(HOST_SUBDIR)/itcl && \
21342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21344 "RANLIB=$${RANLIB}" \
21345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21346 installcheck) \
21347 || exit 1
21349 @endif itcl
21351 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21352 maybe-mostlyclean-itcl:
21353 @if itcl
21354 maybe-mostlyclean-itcl: mostlyclean-itcl
21356 mostlyclean-itcl:
21357 @: $(MAKE); $(unstage)
21358 @[ -f ./itcl/Makefile ] || exit 0; \
21359 r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 $(HOST_EXPORTS) \
21362 for flag in $(EXTRA_HOST_FLAGS) ; do \
21363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21364 done; \
21365 echo "Doing mostlyclean in itcl"; \
21366 (cd $(HOST_SUBDIR)/itcl && \
21367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21369 "RANLIB=$${RANLIB}" \
21370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21371 mostlyclean) \
21372 || exit 1
21374 @endif itcl
21376 .PHONY: maybe-clean-itcl clean-itcl
21377 maybe-clean-itcl:
21378 @if itcl
21379 maybe-clean-itcl: clean-itcl
21381 clean-itcl:
21382 @: $(MAKE); $(unstage)
21383 @[ -f ./itcl/Makefile ] || exit 0; \
21384 r=`${PWD_COMMAND}`; export r; \
21385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21386 $(HOST_EXPORTS) \
21387 for flag in $(EXTRA_HOST_FLAGS) ; do \
21388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21389 done; \
21390 echo "Doing clean in itcl"; \
21391 (cd $(HOST_SUBDIR)/itcl && \
21392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21394 "RANLIB=$${RANLIB}" \
21395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21396 clean) \
21397 || exit 1
21399 @endif itcl
21401 .PHONY: maybe-distclean-itcl distclean-itcl
21402 maybe-distclean-itcl:
21403 @if itcl
21404 maybe-distclean-itcl: distclean-itcl
21406 distclean-itcl:
21407 @: $(MAKE); $(unstage)
21408 @[ -f ./itcl/Makefile ] || exit 0; \
21409 r=`${PWD_COMMAND}`; export r; \
21410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21411 $(HOST_EXPORTS) \
21412 for flag in $(EXTRA_HOST_FLAGS) ; do \
21413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21414 done; \
21415 echo "Doing distclean in itcl"; \
21416 (cd $(HOST_SUBDIR)/itcl && \
21417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21419 "RANLIB=$${RANLIB}" \
21420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21421 distclean) \
21422 || exit 1
21424 @endif itcl
21426 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21427 maybe-maintainer-clean-itcl:
21428 @if itcl
21429 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21431 maintainer-clean-itcl:
21432 @: $(MAKE); $(unstage)
21433 @[ -f ./itcl/Makefile ] || exit 0; \
21434 r=`${PWD_COMMAND}`; export r; \
21435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21436 $(HOST_EXPORTS) \
21437 for flag in $(EXTRA_HOST_FLAGS) ; do \
21438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21439 done; \
21440 echo "Doing maintainer-clean in itcl"; \
21441 (cd $(HOST_SUBDIR)/itcl && \
21442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21444 "RANLIB=$${RANLIB}" \
21445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21446 maintainer-clean) \
21447 || exit 1
21449 @endif itcl
21453 .PHONY: configure-ld maybe-configure-ld
21454 maybe-configure-ld:
21455 @if gcc-bootstrap
21456 configure-ld: stage_current
21457 @endif gcc-bootstrap
21458 @if ld
21459 maybe-configure-ld: configure-ld
21460 configure-ld:
21461 @r=`${PWD_COMMAND}`; export r; \
21462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21463 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21465 $(HOST_EXPORTS) \
21466 echo Configuring in $(HOST_SUBDIR)/ld; \
21467 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21468 case $(srcdir) in \
21469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21470 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21472 esac; \
21473 module_srcdir=ld; \
21474 $(SHELL) \
21475 $$s/$$module_srcdir/configure \
21476 --srcdir=$${topdir}/$$module_srcdir \
21477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21478 --target=${target_alias} \
21479 || exit 1
21480 @endif ld
21484 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21485 maybe-configure-stage1-ld:
21486 @if ld-bootstrap
21487 maybe-configure-stage1-ld: configure-stage1-ld
21488 configure-stage1-ld:
21489 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21490 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21491 @r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21493 TFLAGS="$(STAGE1_TFLAGS)"; \
21494 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21495 $(HOST_EXPORTS) \
21496 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21497 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21498 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21499 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21501 cd $(HOST_SUBDIR)/ld || exit 1; \
21502 case $(srcdir) in \
21503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21504 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21506 esac; \
21507 module_srcdir=ld; \
21508 $(SHELL) $$s/$$module_srcdir/configure \
21509 --srcdir=$${topdir}/$$module_srcdir \
21510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21511 --target=${target_alias} \
21513 $(STAGE1_CONFIGURE_FLAGS)
21514 @endif ld-bootstrap
21516 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21517 maybe-configure-stage2-ld:
21518 @if ld-bootstrap
21519 maybe-configure-stage2-ld: configure-stage2-ld
21520 configure-stage2-ld:
21521 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21523 @r=`${PWD_COMMAND}`; export r; \
21524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21525 TFLAGS="$(STAGE2_TFLAGS)"; \
21526 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21527 $(HOST_EXPORTS) \
21528 $(POSTSTAGE1_HOST_EXPORTS) \
21529 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21530 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21531 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21532 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21534 cd $(HOST_SUBDIR)/ld || exit 1; \
21535 case $(srcdir) in \
21536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21537 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21539 esac; \
21540 module_srcdir=ld; \
21541 $(SHELL) $$s/$$module_srcdir/configure \
21542 --srcdir=$${topdir}/$$module_srcdir \
21543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21544 --target=${target_alias} \
21545 --with-build-libsubdir=$(HOST_SUBDIR) \
21546 $(STAGE2_CONFIGURE_FLAGS)
21547 @endif ld-bootstrap
21549 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21550 maybe-configure-stage3-ld:
21551 @if ld-bootstrap
21552 maybe-configure-stage3-ld: configure-stage3-ld
21553 configure-stage3-ld:
21554 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21556 @r=`${PWD_COMMAND}`; export r; \
21557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21558 TFLAGS="$(STAGE3_TFLAGS)"; \
21559 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21560 $(HOST_EXPORTS) \
21561 $(POSTSTAGE1_HOST_EXPORTS) \
21562 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21563 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21564 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21565 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21567 cd $(HOST_SUBDIR)/ld || exit 1; \
21568 case $(srcdir) in \
21569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21570 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21572 esac; \
21573 module_srcdir=ld; \
21574 $(SHELL) $$s/$$module_srcdir/configure \
21575 --srcdir=$${topdir}/$$module_srcdir \
21576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21577 --target=${target_alias} \
21578 --with-build-libsubdir=$(HOST_SUBDIR) \
21579 $(STAGE3_CONFIGURE_FLAGS)
21580 @endif ld-bootstrap
21582 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21583 maybe-configure-stage4-ld:
21584 @if ld-bootstrap
21585 maybe-configure-stage4-ld: configure-stage4-ld
21586 configure-stage4-ld:
21587 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21589 @r=`${PWD_COMMAND}`; export r; \
21590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21591 TFLAGS="$(STAGE4_TFLAGS)"; \
21592 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21593 $(HOST_EXPORTS) \
21594 $(POSTSTAGE1_HOST_EXPORTS) \
21595 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21596 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21597 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21598 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21600 cd $(HOST_SUBDIR)/ld || exit 1; \
21601 case $(srcdir) in \
21602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21603 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21605 esac; \
21606 module_srcdir=ld; \
21607 $(SHELL) $$s/$$module_srcdir/configure \
21608 --srcdir=$${topdir}/$$module_srcdir \
21609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21610 --target=${target_alias} \
21611 --with-build-libsubdir=$(HOST_SUBDIR) \
21612 $(STAGE4_CONFIGURE_FLAGS)
21613 @endif ld-bootstrap
21615 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21616 maybe-configure-stageprofile-ld:
21617 @if ld-bootstrap
21618 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21619 configure-stageprofile-ld:
21620 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21622 @r=`${PWD_COMMAND}`; export r; \
21623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21624 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21625 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21626 $(HOST_EXPORTS) \
21627 $(POSTSTAGE1_HOST_EXPORTS) \
21628 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21629 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21630 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21631 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21633 cd $(HOST_SUBDIR)/ld || exit 1; \
21634 case $(srcdir) in \
21635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21636 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21638 esac; \
21639 module_srcdir=ld; \
21640 $(SHELL) $$s/$$module_srcdir/configure \
21641 --srcdir=$${topdir}/$$module_srcdir \
21642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21643 --target=${target_alias} \
21644 --with-build-libsubdir=$(HOST_SUBDIR) \
21645 $(STAGEprofile_CONFIGURE_FLAGS)
21646 @endif ld-bootstrap
21648 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21649 maybe-configure-stagetrain-ld:
21650 @if ld-bootstrap
21651 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21652 configure-stagetrain-ld:
21653 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21655 @r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21658 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21659 $(HOST_EXPORTS) \
21660 $(POSTSTAGE1_HOST_EXPORTS) \
21661 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21662 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21663 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21664 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21666 cd $(HOST_SUBDIR)/ld || exit 1; \
21667 case $(srcdir) in \
21668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21669 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21671 esac; \
21672 module_srcdir=ld; \
21673 $(SHELL) $$s/$$module_srcdir/configure \
21674 --srcdir=$${topdir}/$$module_srcdir \
21675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21676 --target=${target_alias} \
21677 --with-build-libsubdir=$(HOST_SUBDIR) \
21678 $(STAGEtrain_CONFIGURE_FLAGS)
21679 @endif ld-bootstrap
21681 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21682 maybe-configure-stagefeedback-ld:
21683 @if ld-bootstrap
21684 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21685 configure-stagefeedback-ld:
21686 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21687 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21688 @r=`${PWD_COMMAND}`; export r; \
21689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21690 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21691 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21692 $(HOST_EXPORTS) \
21693 $(POSTSTAGE1_HOST_EXPORTS) \
21694 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21695 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21696 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21697 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21699 cd $(HOST_SUBDIR)/ld || exit 1; \
21700 case $(srcdir) in \
21701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21702 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21704 esac; \
21705 module_srcdir=ld; \
21706 $(SHELL) $$s/$$module_srcdir/configure \
21707 --srcdir=$${topdir}/$$module_srcdir \
21708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21709 --target=${target_alias} \
21710 --with-build-libsubdir=$(HOST_SUBDIR) \
21711 $(STAGEfeedback_CONFIGURE_FLAGS)
21712 @endif ld-bootstrap
21714 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21715 maybe-configure-stageautoprofile-ld:
21716 @if ld-bootstrap
21717 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21718 configure-stageautoprofile-ld:
21719 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21721 @r=`${PWD_COMMAND}`; export r; \
21722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21723 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21724 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21725 $(HOST_EXPORTS) \
21726 $(POSTSTAGE1_HOST_EXPORTS) \
21727 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21728 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21729 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21730 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21732 cd $(HOST_SUBDIR)/ld || exit 1; \
21733 case $(srcdir) in \
21734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21735 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21737 esac; \
21738 module_srcdir=ld; \
21739 $(SHELL) $$s/$$module_srcdir/configure \
21740 --srcdir=$${topdir}/$$module_srcdir \
21741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21742 --target=${target_alias} \
21743 --with-build-libsubdir=$(HOST_SUBDIR) \
21744 $(STAGEautoprofile_CONFIGURE_FLAGS)
21745 @endif ld-bootstrap
21747 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21748 maybe-configure-stageautofeedback-ld:
21749 @if ld-bootstrap
21750 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21751 configure-stageautofeedback-ld:
21752 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21754 @r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21757 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21758 $(HOST_EXPORTS) \
21759 $(POSTSTAGE1_HOST_EXPORTS) \
21760 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21761 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21762 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21763 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21765 cd $(HOST_SUBDIR)/ld || exit 1; \
21766 case $(srcdir) in \
21767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21768 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21770 esac; \
21771 module_srcdir=ld; \
21772 $(SHELL) $$s/$$module_srcdir/configure \
21773 --srcdir=$${topdir}/$$module_srcdir \
21774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21775 --target=${target_alias} \
21776 --with-build-libsubdir=$(HOST_SUBDIR) \
21777 $(STAGEautofeedback_CONFIGURE_FLAGS)
21778 @endif ld-bootstrap
21784 .PHONY: all-ld maybe-all-ld
21785 maybe-all-ld:
21786 @if gcc-bootstrap
21787 all-ld: stage_current
21788 @endif gcc-bootstrap
21789 @if ld
21790 TARGET-ld=all
21791 maybe-all-ld: all-ld
21792 all-ld: configure-ld
21793 @r=`${PWD_COMMAND}`; export r; \
21794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21795 $(HOST_EXPORTS) \
21796 (cd $(HOST_SUBDIR)/ld && \
21797 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21798 $(TARGET-ld))
21799 @endif ld
21803 .PHONY: all-stage1-ld maybe-all-stage1-ld
21804 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
21805 maybe-all-stage1-ld:
21806 maybe-clean-stage1-ld:
21807 @if ld-bootstrap
21808 maybe-all-stage1-ld: all-stage1-ld
21809 all-stage1: all-stage1-ld
21810 TARGET-stage1-ld = $(TARGET-ld)
21811 all-stage1-ld: configure-stage1-ld
21812 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21813 @r=`${PWD_COMMAND}`; export r; \
21814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21815 TFLAGS="$(STAGE1_TFLAGS)"; \
21816 $(HOST_EXPORTS) \
21817 cd $(HOST_SUBDIR)/ld && \
21819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21820 CFLAGS="$(STAGE1_CFLAGS)" \
21821 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21822 LIBCFLAGS="$(LIBCFLAGS)" \
21823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21826 $(EXTRA_HOST_FLAGS) \
21827 $(STAGE1_FLAGS_TO_PASS) \
21828 TFLAGS="$(STAGE1_TFLAGS)" \
21829 $(TARGET-stage1-ld)
21831 maybe-clean-stage1-ld: clean-stage1-ld
21832 clean-stage1: clean-stage1-ld
21833 clean-stage1-ld:
21834 @if [ $(current_stage) = stage1 ]; then \
21835 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21836 else \
21837 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
21838 $(MAKE) stage1-start; \
21839 fi; \
21840 cd $(HOST_SUBDIR)/ld && \
21841 $(MAKE) $(EXTRA_HOST_FLAGS) \
21842 $(STAGE1_FLAGS_TO_PASS) clean
21843 @endif ld-bootstrap
21846 .PHONY: all-stage2-ld maybe-all-stage2-ld
21847 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
21848 maybe-all-stage2-ld:
21849 maybe-clean-stage2-ld:
21850 @if ld-bootstrap
21851 maybe-all-stage2-ld: all-stage2-ld
21852 all-stage2: all-stage2-ld
21853 TARGET-stage2-ld = $(TARGET-ld)
21854 all-stage2-ld: configure-stage2-ld
21855 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21856 @r=`${PWD_COMMAND}`; export r; \
21857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21858 TFLAGS="$(STAGE2_TFLAGS)"; \
21859 $(HOST_EXPORTS) \
21860 $(POSTSTAGE1_HOST_EXPORTS) \
21861 cd $(HOST_SUBDIR)/ld && \
21863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21864 CFLAGS="$(STAGE2_CFLAGS)" \
21865 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21866 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21870 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21871 TFLAGS="$(STAGE2_TFLAGS)" \
21872 $(TARGET-stage2-ld)
21874 maybe-clean-stage2-ld: clean-stage2-ld
21875 clean-stage2: clean-stage2-ld
21876 clean-stage2-ld:
21877 @if [ $(current_stage) = stage2 ]; then \
21878 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21879 else \
21880 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
21881 $(MAKE) stage2-start; \
21882 fi; \
21883 cd $(HOST_SUBDIR)/ld && \
21884 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21885 @endif ld-bootstrap
21888 .PHONY: all-stage3-ld maybe-all-stage3-ld
21889 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
21890 maybe-all-stage3-ld:
21891 maybe-clean-stage3-ld:
21892 @if ld-bootstrap
21893 maybe-all-stage3-ld: all-stage3-ld
21894 all-stage3: all-stage3-ld
21895 TARGET-stage3-ld = $(TARGET-ld)
21896 all-stage3-ld: configure-stage3-ld
21897 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21898 @r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900 TFLAGS="$(STAGE3_TFLAGS)"; \
21901 $(HOST_EXPORTS) \
21902 $(POSTSTAGE1_HOST_EXPORTS) \
21903 cd $(HOST_SUBDIR)/ld && \
21905 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21906 CFLAGS="$(STAGE3_CFLAGS)" \
21907 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21908 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21909 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21910 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21911 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21912 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21913 TFLAGS="$(STAGE3_TFLAGS)" \
21914 $(TARGET-stage3-ld)
21916 maybe-clean-stage3-ld: clean-stage3-ld
21917 clean-stage3: clean-stage3-ld
21918 clean-stage3-ld:
21919 @if [ $(current_stage) = stage3 ]; then \
21920 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21921 else \
21922 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
21923 $(MAKE) stage3-start; \
21924 fi; \
21925 cd $(HOST_SUBDIR)/ld && \
21926 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21927 @endif ld-bootstrap
21930 .PHONY: all-stage4-ld maybe-all-stage4-ld
21931 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
21932 maybe-all-stage4-ld:
21933 maybe-clean-stage4-ld:
21934 @if ld-bootstrap
21935 maybe-all-stage4-ld: all-stage4-ld
21936 all-stage4: all-stage4-ld
21937 TARGET-stage4-ld = $(TARGET-ld)
21938 all-stage4-ld: configure-stage4-ld
21939 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21940 @r=`${PWD_COMMAND}`; export r; \
21941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 TFLAGS="$(STAGE4_TFLAGS)"; \
21943 $(HOST_EXPORTS) \
21944 $(POSTSTAGE1_HOST_EXPORTS) \
21945 cd $(HOST_SUBDIR)/ld && \
21947 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21948 CFLAGS="$(STAGE4_CFLAGS)" \
21949 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21950 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21951 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21952 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21953 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21954 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21955 TFLAGS="$(STAGE4_TFLAGS)" \
21956 $(TARGET-stage4-ld)
21958 maybe-clean-stage4-ld: clean-stage4-ld
21959 clean-stage4: clean-stage4-ld
21960 clean-stage4-ld:
21961 @if [ $(current_stage) = stage4 ]; then \
21962 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21963 else \
21964 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
21965 $(MAKE) stage4-start; \
21966 fi; \
21967 cd $(HOST_SUBDIR)/ld && \
21968 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21969 @endif ld-bootstrap
21972 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
21973 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
21974 maybe-all-stageprofile-ld:
21975 maybe-clean-stageprofile-ld:
21976 @if ld-bootstrap
21977 maybe-all-stageprofile-ld: all-stageprofile-ld
21978 all-stageprofile: all-stageprofile-ld
21979 TARGET-stageprofile-ld = $(TARGET-ld)
21980 all-stageprofile-ld: configure-stageprofile-ld
21981 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21982 @r=`${PWD_COMMAND}`; export r; \
21983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21984 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21985 $(HOST_EXPORTS) \
21986 $(POSTSTAGE1_HOST_EXPORTS) \
21987 cd $(HOST_SUBDIR)/ld && \
21989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21990 CFLAGS="$(STAGEprofile_CFLAGS)" \
21991 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21992 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21997 TFLAGS="$(STAGEprofile_TFLAGS)" \
21998 $(TARGET-stageprofile-ld)
22000 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22001 clean-stageprofile: clean-stageprofile-ld
22002 clean-stageprofile-ld:
22003 @if [ $(current_stage) = stageprofile ]; then \
22004 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22005 else \
22006 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22007 $(MAKE) stageprofile-start; \
22008 fi; \
22009 cd $(HOST_SUBDIR)/ld && \
22010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22011 @endif ld-bootstrap
22014 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22015 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22016 maybe-all-stagetrain-ld:
22017 maybe-clean-stagetrain-ld:
22018 @if ld-bootstrap
22019 maybe-all-stagetrain-ld: all-stagetrain-ld
22020 all-stagetrain: all-stagetrain-ld
22021 TARGET-stagetrain-ld = $(TARGET-ld)
22022 all-stagetrain-ld: configure-stagetrain-ld
22023 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22024 @r=`${PWD_COMMAND}`; export r; \
22025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22026 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22027 $(HOST_EXPORTS) \
22028 $(POSTSTAGE1_HOST_EXPORTS) \
22029 cd $(HOST_SUBDIR)/ld && \
22031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22032 CFLAGS="$(STAGEtrain_CFLAGS)" \
22033 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22034 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22038 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22039 TFLAGS="$(STAGEtrain_TFLAGS)" \
22040 $(TARGET-stagetrain-ld)
22042 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22043 clean-stagetrain: clean-stagetrain-ld
22044 clean-stagetrain-ld:
22045 @if [ $(current_stage) = stagetrain ]; then \
22046 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22047 else \
22048 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22049 $(MAKE) stagetrain-start; \
22050 fi; \
22051 cd $(HOST_SUBDIR)/ld && \
22052 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22053 @endif ld-bootstrap
22056 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22057 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22058 maybe-all-stagefeedback-ld:
22059 maybe-clean-stagefeedback-ld:
22060 @if ld-bootstrap
22061 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22062 all-stagefeedback: all-stagefeedback-ld
22063 TARGET-stagefeedback-ld = $(TARGET-ld)
22064 all-stagefeedback-ld: configure-stagefeedback-ld
22065 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22066 @r=`${PWD_COMMAND}`; export r; \
22067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22068 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22069 $(HOST_EXPORTS) \
22070 $(POSTSTAGE1_HOST_EXPORTS) \
22071 cd $(HOST_SUBDIR)/ld && \
22073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22074 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22075 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22076 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22080 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22081 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22082 $(TARGET-stagefeedback-ld)
22084 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22085 clean-stagefeedback: clean-stagefeedback-ld
22086 clean-stagefeedback-ld:
22087 @if [ $(current_stage) = stagefeedback ]; then \
22088 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22089 else \
22090 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22091 $(MAKE) stagefeedback-start; \
22092 fi; \
22093 cd $(HOST_SUBDIR)/ld && \
22094 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22095 @endif ld-bootstrap
22098 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22099 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22100 maybe-all-stageautoprofile-ld:
22101 maybe-clean-stageautoprofile-ld:
22102 @if ld-bootstrap
22103 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22104 all-stageautoprofile: all-stageautoprofile-ld
22105 TARGET-stageautoprofile-ld = $(TARGET-ld)
22106 all-stageautoprofile-ld: configure-stageautoprofile-ld
22107 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22108 @r=`${PWD_COMMAND}`; export r; \
22109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22110 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22111 $(HOST_EXPORTS) \
22112 $(POSTSTAGE1_HOST_EXPORTS) \
22113 cd $(HOST_SUBDIR)/ld && \
22114 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22116 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22117 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22118 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22123 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22124 $(TARGET-stageautoprofile-ld)
22126 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22127 clean-stageautoprofile: clean-stageautoprofile-ld
22128 clean-stageautoprofile-ld:
22129 @if [ $(current_stage) = stageautoprofile ]; then \
22130 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22131 else \
22132 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22133 $(MAKE) stageautoprofile-start; \
22134 fi; \
22135 cd $(HOST_SUBDIR)/ld && \
22136 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22137 @endif ld-bootstrap
22140 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22141 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22142 maybe-all-stageautofeedback-ld:
22143 maybe-clean-stageautofeedback-ld:
22144 @if ld-bootstrap
22145 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22146 all-stageautofeedback: all-stageautofeedback-ld
22147 TARGET-stageautofeedback-ld = $(TARGET-ld)
22148 all-stageautofeedback-ld: configure-stageautofeedback-ld
22149 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22150 @r=`${PWD_COMMAND}`; export r; \
22151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22152 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22153 $(HOST_EXPORTS) \
22154 $(POSTSTAGE1_HOST_EXPORTS) \
22155 cd $(HOST_SUBDIR)/ld && \
22157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22158 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22159 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22160 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22165 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22166 $(TARGET-stageautofeedback-ld)
22168 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22169 clean-stageautofeedback: clean-stageautofeedback-ld
22170 clean-stageautofeedback-ld:
22171 @if [ $(current_stage) = stageautofeedback ]; then \
22172 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22173 else \
22174 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22175 $(MAKE) stageautofeedback-start; \
22176 fi; \
22177 cd $(HOST_SUBDIR)/ld && \
22178 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22179 @endif ld-bootstrap
22185 .PHONY: check-ld maybe-check-ld
22186 maybe-check-ld:
22187 @if ld
22188 maybe-check-ld: check-ld
22190 check-ld:
22191 @: $(MAKE); $(unstage)
22192 @r=`${PWD_COMMAND}`; export r; \
22193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22194 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22195 (cd $(HOST_SUBDIR)/ld && \
22196 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22198 @endif ld
22200 .PHONY: install-ld maybe-install-ld
22201 maybe-install-ld:
22202 @if ld
22203 maybe-install-ld: install-ld
22205 install-ld: installdirs
22206 @: $(MAKE); $(unstage)
22207 @r=`${PWD_COMMAND}`; export r; \
22208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209 $(HOST_EXPORTS) \
22210 (cd $(HOST_SUBDIR)/ld && \
22211 $(MAKE) $(FLAGS_TO_PASS) install)
22213 @endif ld
22215 .PHONY: install-strip-ld maybe-install-strip-ld
22216 maybe-install-strip-ld:
22217 @if ld
22218 maybe-install-strip-ld: install-strip-ld
22220 install-strip-ld: installdirs
22221 @: $(MAKE); $(unstage)
22222 @r=`${PWD_COMMAND}`; export r; \
22223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22224 $(HOST_EXPORTS) \
22225 (cd $(HOST_SUBDIR)/ld && \
22226 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22228 @endif ld
22230 # Other targets (info, dvi, pdf, etc.)
22232 .PHONY: maybe-info-ld info-ld
22233 maybe-info-ld:
22234 @if ld
22235 maybe-info-ld: info-ld
22237 info-ld: \
22238 configure-ld
22239 @[ -f ./ld/Makefile ] || exit 0; \
22240 r=`${PWD_COMMAND}`; export r; \
22241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 $(HOST_EXPORTS) \
22243 for flag in $(EXTRA_HOST_FLAGS) ; do \
22244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22245 done; \
22246 echo "Doing info in ld"; \
22247 (cd $(HOST_SUBDIR)/ld && \
22248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22250 "RANLIB=$${RANLIB}" \
22251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22252 info) \
22253 || exit 1
22255 @endif ld
22257 .PHONY: maybe-dvi-ld dvi-ld
22258 maybe-dvi-ld:
22259 @if ld
22260 maybe-dvi-ld: dvi-ld
22262 dvi-ld: \
22263 configure-ld
22264 @[ -f ./ld/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 dvi in ld"; \
22272 (cd $(HOST_SUBDIR)/ld && \
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 dvi) \
22278 || exit 1
22280 @endif ld
22282 .PHONY: maybe-pdf-ld pdf-ld
22283 maybe-pdf-ld:
22284 @if ld
22285 maybe-pdf-ld: pdf-ld
22287 pdf-ld: \
22288 configure-ld
22289 @[ -f ./ld/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 pdf in ld"; \
22297 (cd $(HOST_SUBDIR)/ld && \
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 pdf) \
22303 || exit 1
22305 @endif ld
22307 .PHONY: maybe-html-ld html-ld
22308 maybe-html-ld:
22309 @if ld
22310 maybe-html-ld: html-ld
22312 html-ld: \
22313 configure-ld
22314 @[ -f ./ld/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 html in ld"; \
22322 (cd $(HOST_SUBDIR)/ld && \
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 html) \
22328 || exit 1
22330 @endif ld
22332 .PHONY: maybe-TAGS-ld TAGS-ld
22333 maybe-TAGS-ld:
22334 @if ld
22335 maybe-TAGS-ld: TAGS-ld
22337 TAGS-ld: \
22338 configure-ld
22339 @[ -f ./ld/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 TAGS in ld"; \
22347 (cd $(HOST_SUBDIR)/ld && \
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 TAGS) \
22353 || exit 1
22355 @endif ld
22357 .PHONY: maybe-install-info-ld install-info-ld
22358 maybe-install-info-ld:
22359 @if ld
22360 maybe-install-info-ld: install-info-ld
22362 install-info-ld: \
22363 configure-ld \
22364 info-ld
22365 @[ -f ./ld/Makefile ] || exit 0; \
22366 r=`${PWD_COMMAND}`; export r; \
22367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22368 $(HOST_EXPORTS) \
22369 for flag in $(EXTRA_HOST_FLAGS) ; do \
22370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22371 done; \
22372 echo "Doing install-info in ld"; \
22373 (cd $(HOST_SUBDIR)/ld && \
22374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22376 "RANLIB=$${RANLIB}" \
22377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22378 install-info) \
22379 || exit 1
22381 @endif ld
22383 .PHONY: maybe-install-pdf-ld install-pdf-ld
22384 maybe-install-pdf-ld:
22385 @if ld
22386 maybe-install-pdf-ld: install-pdf-ld
22388 install-pdf-ld: \
22389 configure-ld \
22390 pdf-ld
22391 @[ -f ./ld/Makefile ] || exit 0; \
22392 r=`${PWD_COMMAND}`; export r; \
22393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 $(HOST_EXPORTS) \
22395 for flag in $(EXTRA_HOST_FLAGS) ; do \
22396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22397 done; \
22398 echo "Doing install-pdf in ld"; \
22399 (cd $(HOST_SUBDIR)/ld && \
22400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22402 "RANLIB=$${RANLIB}" \
22403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22404 install-pdf) \
22405 || exit 1
22407 @endif ld
22409 .PHONY: maybe-install-html-ld install-html-ld
22410 maybe-install-html-ld:
22411 @if ld
22412 maybe-install-html-ld: install-html-ld
22414 install-html-ld: \
22415 configure-ld \
22416 html-ld
22417 @[ -f ./ld/Makefile ] || exit 0; \
22418 r=`${PWD_COMMAND}`; export r; \
22419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22420 $(HOST_EXPORTS) \
22421 for flag in $(EXTRA_HOST_FLAGS) ; do \
22422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22423 done; \
22424 echo "Doing install-html in ld"; \
22425 (cd $(HOST_SUBDIR)/ld && \
22426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22428 "RANLIB=$${RANLIB}" \
22429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22430 install-html) \
22431 || exit 1
22433 @endif ld
22435 .PHONY: maybe-installcheck-ld installcheck-ld
22436 maybe-installcheck-ld:
22437 @if ld
22438 maybe-installcheck-ld: installcheck-ld
22440 installcheck-ld: \
22441 configure-ld
22442 @[ -f ./ld/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 installcheck in ld"; \
22450 (cd $(HOST_SUBDIR)/ld && \
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 installcheck) \
22456 || exit 1
22458 @endif ld
22460 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22461 maybe-mostlyclean-ld:
22462 @if ld
22463 maybe-mostlyclean-ld: mostlyclean-ld
22465 mostlyclean-ld:
22466 @[ -f ./ld/Makefile ] || exit 0; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 $(HOST_EXPORTS) \
22470 for flag in $(EXTRA_HOST_FLAGS) ; do \
22471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 done; \
22473 echo "Doing mostlyclean in ld"; \
22474 (cd $(HOST_SUBDIR)/ld && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22479 mostlyclean) \
22480 || exit 1
22482 @endif ld
22484 .PHONY: maybe-clean-ld clean-ld
22485 maybe-clean-ld:
22486 @if ld
22487 maybe-clean-ld: clean-ld
22489 clean-ld:
22490 @[ -f ./ld/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 $(HOST_EXPORTS) \
22494 for flag in $(EXTRA_HOST_FLAGS) ; do \
22495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 done; \
22497 echo "Doing clean in ld"; \
22498 (cd $(HOST_SUBDIR)/ld && \
22499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22501 "RANLIB=$${RANLIB}" \
22502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22503 clean) \
22504 || exit 1
22506 @endif ld
22508 .PHONY: maybe-distclean-ld distclean-ld
22509 maybe-distclean-ld:
22510 @if ld
22511 maybe-distclean-ld: distclean-ld
22513 distclean-ld:
22514 @[ -f ./ld/Makefile ] || exit 0; \
22515 r=`${PWD_COMMAND}`; export r; \
22516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22517 $(HOST_EXPORTS) \
22518 for flag in $(EXTRA_HOST_FLAGS) ; do \
22519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22520 done; \
22521 echo "Doing distclean in ld"; \
22522 (cd $(HOST_SUBDIR)/ld && \
22523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22525 "RANLIB=$${RANLIB}" \
22526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22527 distclean) \
22528 || exit 1
22530 @endif ld
22532 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22533 maybe-maintainer-clean-ld:
22534 @if ld
22535 maybe-maintainer-clean-ld: maintainer-clean-ld
22537 maintainer-clean-ld:
22538 @[ -f ./ld/Makefile ] || exit 0; \
22539 r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22541 $(HOST_EXPORTS) \
22542 for flag in $(EXTRA_HOST_FLAGS) ; do \
22543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22544 done; \
22545 echo "Doing maintainer-clean in ld"; \
22546 (cd $(HOST_SUBDIR)/ld && \
22547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22549 "RANLIB=$${RANLIB}" \
22550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22551 maintainer-clean) \
22552 || exit 1
22554 @endif ld
22558 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22559 maybe-configure-libbacktrace:
22560 @if gcc-bootstrap
22561 configure-libbacktrace: stage_current
22562 @endif gcc-bootstrap
22563 @if libbacktrace
22564 maybe-configure-libbacktrace: configure-libbacktrace
22565 configure-libbacktrace:
22566 @r=`${PWD_COMMAND}`; export r; \
22567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22568 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22570 $(HOST_EXPORTS) \
22571 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22572 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22573 case $(srcdir) in \
22574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22575 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22577 esac; \
22578 module_srcdir=libbacktrace; \
22579 $(SHELL) \
22580 $$s/$$module_srcdir/configure \
22581 --srcdir=$${topdir}/$$module_srcdir \
22582 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22583 --target=${target_alias} \
22584 || exit 1
22585 @endif libbacktrace
22589 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22590 maybe-configure-stage1-libbacktrace:
22591 @if libbacktrace-bootstrap
22592 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22593 configure-stage1-libbacktrace:
22594 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22595 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22596 @r=`${PWD_COMMAND}`; export r; \
22597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22598 TFLAGS="$(STAGE1_TFLAGS)"; \
22599 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22600 $(HOST_EXPORTS) \
22601 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22602 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22603 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22604 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22606 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22607 case $(srcdir) in \
22608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22609 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22611 esac; \
22612 module_srcdir=libbacktrace; \
22613 $(SHELL) $$s/$$module_srcdir/configure \
22614 --srcdir=$${topdir}/$$module_srcdir \
22615 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22616 --target=${target_alias} \
22618 $(STAGE1_CONFIGURE_FLAGS)
22619 @endif libbacktrace-bootstrap
22621 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22622 maybe-configure-stage2-libbacktrace:
22623 @if libbacktrace-bootstrap
22624 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22625 configure-stage2-libbacktrace:
22626 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22627 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22628 @r=`${PWD_COMMAND}`; export r; \
22629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22630 TFLAGS="$(STAGE2_TFLAGS)"; \
22631 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22632 $(HOST_EXPORTS) \
22633 $(POSTSTAGE1_HOST_EXPORTS) \
22634 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22635 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22636 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22637 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22639 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22640 case $(srcdir) in \
22641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22642 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22644 esac; \
22645 module_srcdir=libbacktrace; \
22646 $(SHELL) $$s/$$module_srcdir/configure \
22647 --srcdir=$${topdir}/$$module_srcdir \
22648 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22649 --target=${target_alias} \
22650 --with-build-libsubdir=$(HOST_SUBDIR) \
22651 $(STAGE2_CONFIGURE_FLAGS)
22652 @endif libbacktrace-bootstrap
22654 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22655 maybe-configure-stage3-libbacktrace:
22656 @if libbacktrace-bootstrap
22657 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22658 configure-stage3-libbacktrace:
22659 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22660 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22661 @r=`${PWD_COMMAND}`; export r; \
22662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22663 TFLAGS="$(STAGE3_TFLAGS)"; \
22664 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22665 $(HOST_EXPORTS) \
22666 $(POSTSTAGE1_HOST_EXPORTS) \
22667 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22668 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22669 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22670 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22672 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22673 case $(srcdir) in \
22674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22675 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22677 esac; \
22678 module_srcdir=libbacktrace; \
22679 $(SHELL) $$s/$$module_srcdir/configure \
22680 --srcdir=$${topdir}/$$module_srcdir \
22681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22682 --target=${target_alias} \
22683 --with-build-libsubdir=$(HOST_SUBDIR) \
22684 $(STAGE3_CONFIGURE_FLAGS)
22685 @endif libbacktrace-bootstrap
22687 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22688 maybe-configure-stage4-libbacktrace:
22689 @if libbacktrace-bootstrap
22690 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22691 configure-stage4-libbacktrace:
22692 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22694 @r=`${PWD_COMMAND}`; export r; \
22695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22696 TFLAGS="$(STAGE4_TFLAGS)"; \
22697 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22698 $(HOST_EXPORTS) \
22699 $(POSTSTAGE1_HOST_EXPORTS) \
22700 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22701 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22702 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22703 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22705 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22706 case $(srcdir) in \
22707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22708 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22710 esac; \
22711 module_srcdir=libbacktrace; \
22712 $(SHELL) $$s/$$module_srcdir/configure \
22713 --srcdir=$${topdir}/$$module_srcdir \
22714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22715 --target=${target_alias} \
22716 --with-build-libsubdir=$(HOST_SUBDIR) \
22717 $(STAGE4_CONFIGURE_FLAGS)
22718 @endif libbacktrace-bootstrap
22720 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22721 maybe-configure-stageprofile-libbacktrace:
22722 @if libbacktrace-bootstrap
22723 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22724 configure-stageprofile-libbacktrace:
22725 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22727 @r=`${PWD_COMMAND}`; export r; \
22728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22729 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22730 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22731 $(HOST_EXPORTS) \
22732 $(POSTSTAGE1_HOST_EXPORTS) \
22733 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22734 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22735 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22736 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22738 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22739 case $(srcdir) in \
22740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22741 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22743 esac; \
22744 module_srcdir=libbacktrace; \
22745 $(SHELL) $$s/$$module_srcdir/configure \
22746 --srcdir=$${topdir}/$$module_srcdir \
22747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22748 --target=${target_alias} \
22749 --with-build-libsubdir=$(HOST_SUBDIR) \
22750 $(STAGEprofile_CONFIGURE_FLAGS)
22751 @endif libbacktrace-bootstrap
22753 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22754 maybe-configure-stagetrain-libbacktrace:
22755 @if libbacktrace-bootstrap
22756 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22757 configure-stagetrain-libbacktrace:
22758 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22759 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22760 @r=`${PWD_COMMAND}`; export r; \
22761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22762 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22763 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22764 $(HOST_EXPORTS) \
22765 $(POSTSTAGE1_HOST_EXPORTS) \
22766 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22767 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22768 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22769 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22771 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22772 case $(srcdir) in \
22773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22774 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22776 esac; \
22777 module_srcdir=libbacktrace; \
22778 $(SHELL) $$s/$$module_srcdir/configure \
22779 --srcdir=$${topdir}/$$module_srcdir \
22780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22781 --target=${target_alias} \
22782 --with-build-libsubdir=$(HOST_SUBDIR) \
22783 $(STAGEtrain_CONFIGURE_FLAGS)
22784 @endif libbacktrace-bootstrap
22786 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
22787 maybe-configure-stagefeedback-libbacktrace:
22788 @if libbacktrace-bootstrap
22789 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22790 configure-stagefeedback-libbacktrace:
22791 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22792 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22793 @r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22795 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22796 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22797 $(HOST_EXPORTS) \
22798 $(POSTSTAGE1_HOST_EXPORTS) \
22799 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22800 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22801 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22802 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
22803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22804 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22805 case $(srcdir) in \
22806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22807 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22809 esac; \
22810 module_srcdir=libbacktrace; \
22811 $(SHELL) $$s/$$module_srcdir/configure \
22812 --srcdir=$${topdir}/$$module_srcdir \
22813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22814 --target=${target_alias} \
22815 --with-build-libsubdir=$(HOST_SUBDIR) \
22816 $(STAGEfeedback_CONFIGURE_FLAGS)
22817 @endif libbacktrace-bootstrap
22819 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
22820 maybe-configure-stageautoprofile-libbacktrace:
22821 @if libbacktrace-bootstrap
22822 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22823 configure-stageautoprofile-libbacktrace:
22824 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22826 @r=`${PWD_COMMAND}`; export r; \
22827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22828 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22829 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22830 $(HOST_EXPORTS) \
22831 $(POSTSTAGE1_HOST_EXPORTS) \
22832 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22833 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22834 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22835 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
22836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22837 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22838 case $(srcdir) in \
22839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22840 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22842 esac; \
22843 module_srcdir=libbacktrace; \
22844 $(SHELL) $$s/$$module_srcdir/configure \
22845 --srcdir=$${topdir}/$$module_srcdir \
22846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22847 --target=${target_alias} \
22848 --with-build-libsubdir=$(HOST_SUBDIR) \
22849 $(STAGEautoprofile_CONFIGURE_FLAGS)
22850 @endif libbacktrace-bootstrap
22852 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
22853 maybe-configure-stageautofeedback-libbacktrace:
22854 @if libbacktrace-bootstrap
22855 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22856 configure-stageautofeedback-libbacktrace:
22857 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22859 @r=`${PWD_COMMAND}`; export r; \
22860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22861 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22862 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22863 $(HOST_EXPORTS) \
22864 $(POSTSTAGE1_HOST_EXPORTS) \
22865 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22866 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22867 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22868 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
22869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22870 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22871 case $(srcdir) in \
22872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22873 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22875 esac; \
22876 module_srcdir=libbacktrace; \
22877 $(SHELL) $$s/$$module_srcdir/configure \
22878 --srcdir=$${topdir}/$$module_srcdir \
22879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22880 --target=${target_alias} \
22881 --with-build-libsubdir=$(HOST_SUBDIR) \
22882 $(STAGEautofeedback_CONFIGURE_FLAGS)
22883 @endif libbacktrace-bootstrap
22889 .PHONY: all-libbacktrace maybe-all-libbacktrace
22890 maybe-all-libbacktrace:
22891 @if gcc-bootstrap
22892 all-libbacktrace: stage_current
22893 @endif gcc-bootstrap
22894 @if libbacktrace
22895 TARGET-libbacktrace=all
22896 maybe-all-libbacktrace: all-libbacktrace
22897 all-libbacktrace: configure-libbacktrace
22898 @r=`${PWD_COMMAND}`; export r; \
22899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22900 $(HOST_EXPORTS) \
22901 (cd $(HOST_SUBDIR)/libbacktrace && \
22902 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22903 $(TARGET-libbacktrace))
22904 @endif libbacktrace
22908 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
22909 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
22910 maybe-all-stage1-libbacktrace:
22911 maybe-clean-stage1-libbacktrace:
22912 @if libbacktrace-bootstrap
22913 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
22914 all-stage1: all-stage1-libbacktrace
22915 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
22916 all-stage1-libbacktrace: configure-stage1-libbacktrace
22917 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22918 @r=`${PWD_COMMAND}`; export r; \
22919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22920 TFLAGS="$(STAGE1_TFLAGS)"; \
22921 $(HOST_EXPORTS) \
22922 cd $(HOST_SUBDIR)/libbacktrace && \
22924 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22925 CFLAGS="$(STAGE1_CFLAGS)" \
22926 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22927 LIBCFLAGS="$(LIBCFLAGS)" \
22928 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22929 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22930 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22931 $(EXTRA_HOST_FLAGS) \
22932 $(STAGE1_FLAGS_TO_PASS) \
22933 TFLAGS="$(STAGE1_TFLAGS)" \
22934 $(TARGET-stage1-libbacktrace)
22936 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
22937 clean-stage1: clean-stage1-libbacktrace
22938 clean-stage1-libbacktrace:
22939 @if [ $(current_stage) = stage1 ]; then \
22940 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22941 else \
22942 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
22943 $(MAKE) stage1-start; \
22944 fi; \
22945 cd $(HOST_SUBDIR)/libbacktrace && \
22946 $(MAKE) $(EXTRA_HOST_FLAGS) \
22947 $(STAGE1_FLAGS_TO_PASS) clean
22948 @endif libbacktrace-bootstrap
22951 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
22952 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
22953 maybe-all-stage2-libbacktrace:
22954 maybe-clean-stage2-libbacktrace:
22955 @if libbacktrace-bootstrap
22956 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
22957 all-stage2: all-stage2-libbacktrace
22958 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
22959 all-stage2-libbacktrace: configure-stage2-libbacktrace
22960 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22961 @r=`${PWD_COMMAND}`; export r; \
22962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22963 TFLAGS="$(STAGE2_TFLAGS)"; \
22964 $(HOST_EXPORTS) \
22965 $(POSTSTAGE1_HOST_EXPORTS) \
22966 cd $(HOST_SUBDIR)/libbacktrace && \
22968 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22969 CFLAGS="$(STAGE2_CFLAGS)" \
22970 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22971 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22972 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22973 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22974 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22975 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22976 TFLAGS="$(STAGE2_TFLAGS)" \
22977 $(TARGET-stage2-libbacktrace)
22979 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
22980 clean-stage2: clean-stage2-libbacktrace
22981 clean-stage2-libbacktrace:
22982 @if [ $(current_stage) = stage2 ]; then \
22983 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22984 else \
22985 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
22986 $(MAKE) stage2-start; \
22987 fi; \
22988 cd $(HOST_SUBDIR)/libbacktrace && \
22989 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22990 @endif libbacktrace-bootstrap
22993 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
22994 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
22995 maybe-all-stage3-libbacktrace:
22996 maybe-clean-stage3-libbacktrace:
22997 @if libbacktrace-bootstrap
22998 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
22999 all-stage3: all-stage3-libbacktrace
23000 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23001 all-stage3-libbacktrace: configure-stage3-libbacktrace
23002 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23003 @r=`${PWD_COMMAND}`; export r; \
23004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23005 TFLAGS="$(STAGE3_TFLAGS)"; \
23006 $(HOST_EXPORTS) \
23007 $(POSTSTAGE1_HOST_EXPORTS) \
23008 cd $(HOST_SUBDIR)/libbacktrace && \
23010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23011 CFLAGS="$(STAGE3_CFLAGS)" \
23012 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23013 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23014 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23015 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23016 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23017 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23018 TFLAGS="$(STAGE3_TFLAGS)" \
23019 $(TARGET-stage3-libbacktrace)
23021 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23022 clean-stage3: clean-stage3-libbacktrace
23023 clean-stage3-libbacktrace:
23024 @if [ $(current_stage) = stage3 ]; then \
23025 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23026 else \
23027 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23028 $(MAKE) stage3-start; \
23029 fi; \
23030 cd $(HOST_SUBDIR)/libbacktrace && \
23031 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23032 @endif libbacktrace-bootstrap
23035 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23036 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23037 maybe-all-stage4-libbacktrace:
23038 maybe-clean-stage4-libbacktrace:
23039 @if libbacktrace-bootstrap
23040 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23041 all-stage4: all-stage4-libbacktrace
23042 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23043 all-stage4-libbacktrace: configure-stage4-libbacktrace
23044 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23045 @r=`${PWD_COMMAND}`; export r; \
23046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23047 TFLAGS="$(STAGE4_TFLAGS)"; \
23048 $(HOST_EXPORTS) \
23049 $(POSTSTAGE1_HOST_EXPORTS) \
23050 cd $(HOST_SUBDIR)/libbacktrace && \
23052 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23053 CFLAGS="$(STAGE4_CFLAGS)" \
23054 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23055 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23059 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23060 TFLAGS="$(STAGE4_TFLAGS)" \
23061 $(TARGET-stage4-libbacktrace)
23063 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23064 clean-stage4: clean-stage4-libbacktrace
23065 clean-stage4-libbacktrace:
23066 @if [ $(current_stage) = stage4 ]; then \
23067 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23068 else \
23069 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23070 $(MAKE) stage4-start; \
23071 fi; \
23072 cd $(HOST_SUBDIR)/libbacktrace && \
23073 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23074 @endif libbacktrace-bootstrap
23077 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23078 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23079 maybe-all-stageprofile-libbacktrace:
23080 maybe-clean-stageprofile-libbacktrace:
23081 @if libbacktrace-bootstrap
23082 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23083 all-stageprofile: all-stageprofile-libbacktrace
23084 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23085 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23086 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23087 @r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23090 $(HOST_EXPORTS) \
23091 $(POSTSTAGE1_HOST_EXPORTS) \
23092 cd $(HOST_SUBDIR)/libbacktrace && \
23094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23095 CFLAGS="$(STAGEprofile_CFLAGS)" \
23096 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23097 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23101 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23102 TFLAGS="$(STAGEprofile_TFLAGS)" \
23103 $(TARGET-stageprofile-libbacktrace)
23105 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23106 clean-stageprofile: clean-stageprofile-libbacktrace
23107 clean-stageprofile-libbacktrace:
23108 @if [ $(current_stage) = stageprofile ]; then \
23109 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23110 else \
23111 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23112 $(MAKE) stageprofile-start; \
23113 fi; \
23114 cd $(HOST_SUBDIR)/libbacktrace && \
23115 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23116 @endif libbacktrace-bootstrap
23119 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23120 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23121 maybe-all-stagetrain-libbacktrace:
23122 maybe-clean-stagetrain-libbacktrace:
23123 @if libbacktrace-bootstrap
23124 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23125 all-stagetrain: all-stagetrain-libbacktrace
23126 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23127 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23128 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23129 @r=`${PWD_COMMAND}`; export r; \
23130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23131 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23132 $(HOST_EXPORTS) \
23133 $(POSTSTAGE1_HOST_EXPORTS) \
23134 cd $(HOST_SUBDIR)/libbacktrace && \
23136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23137 CFLAGS="$(STAGEtrain_CFLAGS)" \
23138 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23139 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23143 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23144 TFLAGS="$(STAGEtrain_TFLAGS)" \
23145 $(TARGET-stagetrain-libbacktrace)
23147 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23148 clean-stagetrain: clean-stagetrain-libbacktrace
23149 clean-stagetrain-libbacktrace:
23150 @if [ $(current_stage) = stagetrain ]; then \
23151 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23152 else \
23153 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23154 $(MAKE) stagetrain-start; \
23155 fi; \
23156 cd $(HOST_SUBDIR)/libbacktrace && \
23157 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23158 @endif libbacktrace-bootstrap
23161 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23162 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23163 maybe-all-stagefeedback-libbacktrace:
23164 maybe-clean-stagefeedback-libbacktrace:
23165 @if libbacktrace-bootstrap
23166 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23167 all-stagefeedback: all-stagefeedback-libbacktrace
23168 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23169 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23170 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23171 @r=`${PWD_COMMAND}`; export r; \
23172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23173 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23174 $(HOST_EXPORTS) \
23175 $(POSTSTAGE1_HOST_EXPORTS) \
23176 cd $(HOST_SUBDIR)/libbacktrace && \
23178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23179 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23180 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23181 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23185 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23186 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23187 $(TARGET-stagefeedback-libbacktrace)
23189 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23190 clean-stagefeedback: clean-stagefeedback-libbacktrace
23191 clean-stagefeedback-libbacktrace:
23192 @if [ $(current_stage) = stagefeedback ]; then \
23193 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23194 else \
23195 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23196 $(MAKE) stagefeedback-start; \
23197 fi; \
23198 cd $(HOST_SUBDIR)/libbacktrace && \
23199 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23200 @endif libbacktrace-bootstrap
23203 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23204 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23205 maybe-all-stageautoprofile-libbacktrace:
23206 maybe-clean-stageautoprofile-libbacktrace:
23207 @if libbacktrace-bootstrap
23208 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23209 all-stageautoprofile: all-stageautoprofile-libbacktrace
23210 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23211 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23212 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23213 @r=`${PWD_COMMAND}`; export r; \
23214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23215 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23216 $(HOST_EXPORTS) \
23217 $(POSTSTAGE1_HOST_EXPORTS) \
23218 cd $(HOST_SUBDIR)/libbacktrace && \
23219 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23221 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23222 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23223 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23227 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23228 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23229 $(TARGET-stageautoprofile-libbacktrace)
23231 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23232 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23233 clean-stageautoprofile-libbacktrace:
23234 @if [ $(current_stage) = stageautoprofile ]; then \
23235 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23236 else \
23237 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23238 $(MAKE) stageautoprofile-start; \
23239 fi; \
23240 cd $(HOST_SUBDIR)/libbacktrace && \
23241 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23242 @endif libbacktrace-bootstrap
23245 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23246 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23247 maybe-all-stageautofeedback-libbacktrace:
23248 maybe-clean-stageautofeedback-libbacktrace:
23249 @if libbacktrace-bootstrap
23250 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23251 all-stageautofeedback: all-stageautofeedback-libbacktrace
23252 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23253 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23254 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23255 @r=`${PWD_COMMAND}`; export r; \
23256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23257 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23258 $(HOST_EXPORTS) \
23259 $(POSTSTAGE1_HOST_EXPORTS) \
23260 cd $(HOST_SUBDIR)/libbacktrace && \
23262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23263 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23264 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23265 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23270 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23271 $(TARGET-stageautofeedback-libbacktrace)
23273 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23274 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23275 clean-stageautofeedback-libbacktrace:
23276 @if [ $(current_stage) = stageautofeedback ]; then \
23277 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23278 else \
23279 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23280 $(MAKE) stageautofeedback-start; \
23281 fi; \
23282 cd $(HOST_SUBDIR)/libbacktrace && \
23283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23284 @endif libbacktrace-bootstrap
23290 .PHONY: check-libbacktrace maybe-check-libbacktrace
23291 maybe-check-libbacktrace:
23292 @if libbacktrace
23293 maybe-check-libbacktrace: check-libbacktrace
23295 check-libbacktrace:
23296 @: $(MAKE); $(unstage)
23297 @r=`${PWD_COMMAND}`; export r; \
23298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23299 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23300 (cd $(HOST_SUBDIR)/libbacktrace && \
23301 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23303 @endif libbacktrace
23305 .PHONY: install-libbacktrace maybe-install-libbacktrace
23306 maybe-install-libbacktrace:
23307 @if libbacktrace
23308 maybe-install-libbacktrace: install-libbacktrace
23310 install-libbacktrace: installdirs
23311 @: $(MAKE); $(unstage)
23312 @r=`${PWD_COMMAND}`; export r; \
23313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23314 $(HOST_EXPORTS) \
23315 (cd $(HOST_SUBDIR)/libbacktrace && \
23316 $(MAKE) $(FLAGS_TO_PASS) install)
23318 @endif libbacktrace
23320 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23321 maybe-install-strip-libbacktrace:
23322 @if libbacktrace
23323 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23325 install-strip-libbacktrace: installdirs
23326 @: $(MAKE); $(unstage)
23327 @r=`${PWD_COMMAND}`; export r; \
23328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23329 $(HOST_EXPORTS) \
23330 (cd $(HOST_SUBDIR)/libbacktrace && \
23331 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23333 @endif libbacktrace
23335 # Other targets (info, dvi, pdf, etc.)
23337 .PHONY: maybe-info-libbacktrace info-libbacktrace
23338 maybe-info-libbacktrace:
23339 @if libbacktrace
23340 maybe-info-libbacktrace: info-libbacktrace
23342 info-libbacktrace: \
23343 configure-libbacktrace
23344 @[ -f ./libbacktrace/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 info in libbacktrace"; \
23352 (cd $(HOST_SUBDIR)/libbacktrace && \
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 info) \
23358 || exit 1
23360 @endif libbacktrace
23362 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23363 maybe-dvi-libbacktrace:
23364 @if libbacktrace
23365 maybe-dvi-libbacktrace: dvi-libbacktrace
23367 dvi-libbacktrace: \
23368 configure-libbacktrace
23369 @[ -f ./libbacktrace/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 dvi in libbacktrace"; \
23377 (cd $(HOST_SUBDIR)/libbacktrace && \
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 dvi) \
23383 || exit 1
23385 @endif libbacktrace
23387 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23388 maybe-pdf-libbacktrace:
23389 @if libbacktrace
23390 maybe-pdf-libbacktrace: pdf-libbacktrace
23392 pdf-libbacktrace: \
23393 configure-libbacktrace
23394 @[ -f ./libbacktrace/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 pdf in libbacktrace"; \
23402 (cd $(HOST_SUBDIR)/libbacktrace && \
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 pdf) \
23408 || exit 1
23410 @endif libbacktrace
23412 .PHONY: maybe-html-libbacktrace html-libbacktrace
23413 maybe-html-libbacktrace:
23414 @if libbacktrace
23415 maybe-html-libbacktrace: html-libbacktrace
23417 html-libbacktrace: \
23418 configure-libbacktrace
23419 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23420 r=`${PWD_COMMAND}`; export r; \
23421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23422 $(HOST_EXPORTS) \
23423 for flag in $(EXTRA_HOST_FLAGS) ; do \
23424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23425 done; \
23426 echo "Doing html in libbacktrace"; \
23427 (cd $(HOST_SUBDIR)/libbacktrace && \
23428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23430 "RANLIB=$${RANLIB}" \
23431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23432 html) \
23433 || exit 1
23435 @endif libbacktrace
23437 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23438 maybe-TAGS-libbacktrace:
23439 @if libbacktrace
23440 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23442 TAGS-libbacktrace: \
23443 configure-libbacktrace
23444 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23445 r=`${PWD_COMMAND}`; export r; \
23446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23447 $(HOST_EXPORTS) \
23448 for flag in $(EXTRA_HOST_FLAGS) ; do \
23449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23450 done; \
23451 echo "Doing TAGS in libbacktrace"; \
23452 (cd $(HOST_SUBDIR)/libbacktrace && \
23453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23455 "RANLIB=$${RANLIB}" \
23456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23457 TAGS) \
23458 || exit 1
23460 @endif libbacktrace
23462 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23463 maybe-install-info-libbacktrace:
23464 @if libbacktrace
23465 maybe-install-info-libbacktrace: install-info-libbacktrace
23467 install-info-libbacktrace: \
23468 configure-libbacktrace \
23469 info-libbacktrace
23470 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23471 r=`${PWD_COMMAND}`; export r; \
23472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23473 $(HOST_EXPORTS) \
23474 for flag in $(EXTRA_HOST_FLAGS) ; do \
23475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23476 done; \
23477 echo "Doing install-info in libbacktrace"; \
23478 (cd $(HOST_SUBDIR)/libbacktrace && \
23479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23481 "RANLIB=$${RANLIB}" \
23482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23483 install-info) \
23484 || exit 1
23486 @endif libbacktrace
23488 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23489 maybe-install-pdf-libbacktrace:
23490 @if libbacktrace
23491 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23493 install-pdf-libbacktrace: \
23494 configure-libbacktrace \
23495 pdf-libbacktrace
23496 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23497 r=`${PWD_COMMAND}`; export r; \
23498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23499 $(HOST_EXPORTS) \
23500 for flag in $(EXTRA_HOST_FLAGS) ; do \
23501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23502 done; \
23503 echo "Doing install-pdf in libbacktrace"; \
23504 (cd $(HOST_SUBDIR)/libbacktrace && \
23505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23507 "RANLIB=$${RANLIB}" \
23508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23509 install-pdf) \
23510 || exit 1
23512 @endif libbacktrace
23514 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23515 maybe-install-html-libbacktrace:
23516 @if libbacktrace
23517 maybe-install-html-libbacktrace: install-html-libbacktrace
23519 install-html-libbacktrace: \
23520 configure-libbacktrace \
23521 html-libbacktrace
23522 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23523 r=`${PWD_COMMAND}`; export r; \
23524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23525 $(HOST_EXPORTS) \
23526 for flag in $(EXTRA_HOST_FLAGS) ; do \
23527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23528 done; \
23529 echo "Doing install-html in libbacktrace"; \
23530 (cd $(HOST_SUBDIR)/libbacktrace && \
23531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23533 "RANLIB=$${RANLIB}" \
23534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23535 install-html) \
23536 || exit 1
23538 @endif libbacktrace
23540 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23541 maybe-installcheck-libbacktrace:
23542 @if libbacktrace
23543 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23545 installcheck-libbacktrace: \
23546 configure-libbacktrace
23547 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23548 r=`${PWD_COMMAND}`; export r; \
23549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23550 $(HOST_EXPORTS) \
23551 for flag in $(EXTRA_HOST_FLAGS) ; do \
23552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23553 done; \
23554 echo "Doing installcheck in libbacktrace"; \
23555 (cd $(HOST_SUBDIR)/libbacktrace && \
23556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23558 "RANLIB=$${RANLIB}" \
23559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23560 installcheck) \
23561 || exit 1
23563 @endif libbacktrace
23565 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23566 maybe-mostlyclean-libbacktrace:
23567 @if libbacktrace
23568 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23570 mostlyclean-libbacktrace:
23571 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23572 r=`${PWD_COMMAND}`; export r; \
23573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23574 $(HOST_EXPORTS) \
23575 for flag in $(EXTRA_HOST_FLAGS) ; do \
23576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23577 done; \
23578 echo "Doing mostlyclean in libbacktrace"; \
23579 (cd $(HOST_SUBDIR)/libbacktrace && \
23580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23582 "RANLIB=$${RANLIB}" \
23583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23584 mostlyclean) \
23585 || exit 1
23587 @endif libbacktrace
23589 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23590 maybe-clean-libbacktrace:
23591 @if libbacktrace
23592 maybe-clean-libbacktrace: clean-libbacktrace
23594 clean-libbacktrace:
23595 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23596 r=`${PWD_COMMAND}`; export r; \
23597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23598 $(HOST_EXPORTS) \
23599 for flag in $(EXTRA_HOST_FLAGS) ; do \
23600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23601 done; \
23602 echo "Doing clean in libbacktrace"; \
23603 (cd $(HOST_SUBDIR)/libbacktrace && \
23604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23606 "RANLIB=$${RANLIB}" \
23607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23608 clean) \
23609 || exit 1
23611 @endif libbacktrace
23613 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23614 maybe-distclean-libbacktrace:
23615 @if libbacktrace
23616 maybe-distclean-libbacktrace: distclean-libbacktrace
23618 distclean-libbacktrace:
23619 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23620 r=`${PWD_COMMAND}`; export r; \
23621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23622 $(HOST_EXPORTS) \
23623 for flag in $(EXTRA_HOST_FLAGS) ; do \
23624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23625 done; \
23626 echo "Doing distclean in libbacktrace"; \
23627 (cd $(HOST_SUBDIR)/libbacktrace && \
23628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23630 "RANLIB=$${RANLIB}" \
23631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23632 distclean) \
23633 || exit 1
23635 @endif libbacktrace
23637 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23638 maybe-maintainer-clean-libbacktrace:
23639 @if libbacktrace
23640 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23642 maintainer-clean-libbacktrace:
23643 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23644 r=`${PWD_COMMAND}`; export r; \
23645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23646 $(HOST_EXPORTS) \
23647 for flag in $(EXTRA_HOST_FLAGS) ; do \
23648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23649 done; \
23650 echo "Doing maintainer-clean in libbacktrace"; \
23651 (cd $(HOST_SUBDIR)/libbacktrace && \
23652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23654 "RANLIB=$${RANLIB}" \
23655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23656 maintainer-clean) \
23657 || exit 1
23659 @endif libbacktrace
23663 .PHONY: configure-libcpp maybe-configure-libcpp
23664 maybe-configure-libcpp:
23665 @if gcc-bootstrap
23666 configure-libcpp: stage_current
23667 @endif gcc-bootstrap
23668 @if libcpp
23669 maybe-configure-libcpp: configure-libcpp
23670 configure-libcpp:
23671 @r=`${PWD_COMMAND}`; export r; \
23672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23673 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23675 $(HOST_EXPORTS) \
23676 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23677 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23678 case $(srcdir) in \
23679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23680 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23682 esac; \
23683 module_srcdir=libcpp; \
23684 $(SHELL) \
23685 $$s/$$module_srcdir/configure \
23686 --srcdir=$${topdir}/$$module_srcdir \
23687 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23688 --target=${target_alias} \
23689 || exit 1
23690 @endif libcpp
23694 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23695 maybe-configure-stage1-libcpp:
23696 @if libcpp-bootstrap
23697 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23698 configure-stage1-libcpp:
23699 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23701 @r=`${PWD_COMMAND}`; export r; \
23702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23703 TFLAGS="$(STAGE1_TFLAGS)"; \
23704 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23705 $(HOST_EXPORTS) \
23706 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23707 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23708 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23709 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23711 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23712 case $(srcdir) in \
23713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23714 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23716 esac; \
23717 module_srcdir=libcpp; \
23718 $(SHELL) $$s/$$module_srcdir/configure \
23719 --srcdir=$${topdir}/$$module_srcdir \
23720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23721 --target=${target_alias} \
23723 $(STAGE1_CONFIGURE_FLAGS)
23724 @endif libcpp-bootstrap
23726 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23727 maybe-configure-stage2-libcpp:
23728 @if libcpp-bootstrap
23729 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23730 configure-stage2-libcpp:
23731 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23732 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23733 @r=`${PWD_COMMAND}`; export r; \
23734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23735 TFLAGS="$(STAGE2_TFLAGS)"; \
23736 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23737 $(HOST_EXPORTS) \
23738 $(POSTSTAGE1_HOST_EXPORTS) \
23739 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23740 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23741 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23742 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23744 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23745 case $(srcdir) in \
23746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23747 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23749 esac; \
23750 module_srcdir=libcpp; \
23751 $(SHELL) $$s/$$module_srcdir/configure \
23752 --srcdir=$${topdir}/$$module_srcdir \
23753 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23754 --target=${target_alias} \
23755 --with-build-libsubdir=$(HOST_SUBDIR) \
23756 $(STAGE2_CONFIGURE_FLAGS)
23757 @endif libcpp-bootstrap
23759 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23760 maybe-configure-stage3-libcpp:
23761 @if libcpp-bootstrap
23762 maybe-configure-stage3-libcpp: configure-stage3-libcpp
23763 configure-stage3-libcpp:
23764 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23766 @r=`${PWD_COMMAND}`; export r; \
23767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23768 TFLAGS="$(STAGE3_TFLAGS)"; \
23769 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23770 $(HOST_EXPORTS) \
23771 $(POSTSTAGE1_HOST_EXPORTS) \
23772 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23773 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23774 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23775 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
23776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23777 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23778 case $(srcdir) in \
23779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23780 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23782 esac; \
23783 module_srcdir=libcpp; \
23784 $(SHELL) $$s/$$module_srcdir/configure \
23785 --srcdir=$${topdir}/$$module_srcdir \
23786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23787 --target=${target_alias} \
23788 --with-build-libsubdir=$(HOST_SUBDIR) \
23789 $(STAGE3_CONFIGURE_FLAGS)
23790 @endif libcpp-bootstrap
23792 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
23793 maybe-configure-stage4-libcpp:
23794 @if libcpp-bootstrap
23795 maybe-configure-stage4-libcpp: configure-stage4-libcpp
23796 configure-stage4-libcpp:
23797 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23799 @r=`${PWD_COMMAND}`; export r; \
23800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23801 TFLAGS="$(STAGE4_TFLAGS)"; \
23802 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23803 $(HOST_EXPORTS) \
23804 $(POSTSTAGE1_HOST_EXPORTS) \
23805 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23806 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23807 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23808 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
23809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23810 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23811 case $(srcdir) in \
23812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23813 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23815 esac; \
23816 module_srcdir=libcpp; \
23817 $(SHELL) $$s/$$module_srcdir/configure \
23818 --srcdir=$${topdir}/$$module_srcdir \
23819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23820 --target=${target_alias} \
23821 --with-build-libsubdir=$(HOST_SUBDIR) \
23822 $(STAGE4_CONFIGURE_FLAGS)
23823 @endif libcpp-bootstrap
23825 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
23826 maybe-configure-stageprofile-libcpp:
23827 @if libcpp-bootstrap
23828 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
23829 configure-stageprofile-libcpp:
23830 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23832 @r=`${PWD_COMMAND}`; export r; \
23833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23834 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23835 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23836 $(HOST_EXPORTS) \
23837 $(POSTSTAGE1_HOST_EXPORTS) \
23838 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23839 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23840 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23841 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
23842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23843 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23844 case $(srcdir) in \
23845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23846 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23848 esac; \
23849 module_srcdir=libcpp; \
23850 $(SHELL) $$s/$$module_srcdir/configure \
23851 --srcdir=$${topdir}/$$module_srcdir \
23852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23853 --target=${target_alias} \
23854 --with-build-libsubdir=$(HOST_SUBDIR) \
23855 $(STAGEprofile_CONFIGURE_FLAGS)
23856 @endif libcpp-bootstrap
23858 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
23859 maybe-configure-stagetrain-libcpp:
23860 @if libcpp-bootstrap
23861 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
23862 configure-stagetrain-libcpp:
23863 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23864 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23865 @r=`${PWD_COMMAND}`; export r; \
23866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23867 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23868 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23869 $(HOST_EXPORTS) \
23870 $(POSTSTAGE1_HOST_EXPORTS) \
23871 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23872 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23873 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23874 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
23875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23876 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23877 case $(srcdir) in \
23878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23879 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23881 esac; \
23882 module_srcdir=libcpp; \
23883 $(SHELL) $$s/$$module_srcdir/configure \
23884 --srcdir=$${topdir}/$$module_srcdir \
23885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23886 --target=${target_alias} \
23887 --with-build-libsubdir=$(HOST_SUBDIR) \
23888 $(STAGEtrain_CONFIGURE_FLAGS)
23889 @endif libcpp-bootstrap
23891 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
23892 maybe-configure-stagefeedback-libcpp:
23893 @if libcpp-bootstrap
23894 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
23895 configure-stagefeedback-libcpp:
23896 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23898 @r=`${PWD_COMMAND}`; export r; \
23899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23900 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23901 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23902 $(HOST_EXPORTS) \
23903 $(POSTSTAGE1_HOST_EXPORTS) \
23904 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23905 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23906 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23907 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
23908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23909 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23910 case $(srcdir) in \
23911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23912 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23914 esac; \
23915 module_srcdir=libcpp; \
23916 $(SHELL) $$s/$$module_srcdir/configure \
23917 --srcdir=$${topdir}/$$module_srcdir \
23918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23919 --target=${target_alias} \
23920 --with-build-libsubdir=$(HOST_SUBDIR) \
23921 $(STAGEfeedback_CONFIGURE_FLAGS)
23922 @endif libcpp-bootstrap
23924 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
23925 maybe-configure-stageautoprofile-libcpp:
23926 @if libcpp-bootstrap
23927 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23928 configure-stageautoprofile-libcpp:
23929 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23930 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23931 @r=`${PWD_COMMAND}`; export r; \
23932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23933 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23934 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23935 $(HOST_EXPORTS) \
23936 $(POSTSTAGE1_HOST_EXPORTS) \
23937 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23938 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23939 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23940 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
23941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23942 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23943 case $(srcdir) in \
23944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23945 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23947 esac; \
23948 module_srcdir=libcpp; \
23949 $(SHELL) $$s/$$module_srcdir/configure \
23950 --srcdir=$${topdir}/$$module_srcdir \
23951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23952 --target=${target_alias} \
23953 --with-build-libsubdir=$(HOST_SUBDIR) \
23954 $(STAGEautoprofile_CONFIGURE_FLAGS)
23955 @endif libcpp-bootstrap
23957 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
23958 maybe-configure-stageautofeedback-libcpp:
23959 @if libcpp-bootstrap
23960 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
23961 configure-stageautofeedback-libcpp:
23962 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23964 @r=`${PWD_COMMAND}`; export r; \
23965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23966 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23967 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23968 $(HOST_EXPORTS) \
23969 $(POSTSTAGE1_HOST_EXPORTS) \
23970 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23971 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23972 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23973 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
23974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23975 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23976 case $(srcdir) in \
23977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23978 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23980 esac; \
23981 module_srcdir=libcpp; \
23982 $(SHELL) $$s/$$module_srcdir/configure \
23983 --srcdir=$${topdir}/$$module_srcdir \
23984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23985 --target=${target_alias} \
23986 --with-build-libsubdir=$(HOST_SUBDIR) \
23987 $(STAGEautofeedback_CONFIGURE_FLAGS)
23988 @endif libcpp-bootstrap
23994 .PHONY: all-libcpp maybe-all-libcpp
23995 maybe-all-libcpp:
23996 @if gcc-bootstrap
23997 all-libcpp: stage_current
23998 @endif gcc-bootstrap
23999 @if libcpp
24000 TARGET-libcpp=all
24001 maybe-all-libcpp: all-libcpp
24002 all-libcpp: configure-libcpp
24003 @r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 $(HOST_EXPORTS) \
24006 (cd $(HOST_SUBDIR)/libcpp && \
24007 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24008 $(TARGET-libcpp))
24009 @endif libcpp
24013 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24014 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24015 maybe-all-stage1-libcpp:
24016 maybe-clean-stage1-libcpp:
24017 @if libcpp-bootstrap
24018 maybe-all-stage1-libcpp: all-stage1-libcpp
24019 all-stage1: all-stage1-libcpp
24020 TARGET-stage1-libcpp = $(TARGET-libcpp)
24021 all-stage1-libcpp: configure-stage1-libcpp
24022 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24023 @r=`${PWD_COMMAND}`; export r; \
24024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24025 TFLAGS="$(STAGE1_TFLAGS)"; \
24026 $(HOST_EXPORTS) \
24027 cd $(HOST_SUBDIR)/libcpp && \
24029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24030 CFLAGS="$(STAGE1_CFLAGS)" \
24031 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24032 LIBCFLAGS="$(LIBCFLAGS)" \
24033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24036 $(EXTRA_HOST_FLAGS) \
24037 $(STAGE1_FLAGS_TO_PASS) \
24038 TFLAGS="$(STAGE1_TFLAGS)" \
24039 $(TARGET-stage1-libcpp)
24041 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24042 clean-stage1: clean-stage1-libcpp
24043 clean-stage1-libcpp:
24044 @if [ $(current_stage) = stage1 ]; then \
24045 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24046 else \
24047 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24048 $(MAKE) stage1-start; \
24049 fi; \
24050 cd $(HOST_SUBDIR)/libcpp && \
24051 $(MAKE) $(EXTRA_HOST_FLAGS) \
24052 $(STAGE1_FLAGS_TO_PASS) clean
24053 @endif libcpp-bootstrap
24056 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24057 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24058 maybe-all-stage2-libcpp:
24059 maybe-clean-stage2-libcpp:
24060 @if libcpp-bootstrap
24061 maybe-all-stage2-libcpp: all-stage2-libcpp
24062 all-stage2: all-stage2-libcpp
24063 TARGET-stage2-libcpp = $(TARGET-libcpp)
24064 all-stage2-libcpp: configure-stage2-libcpp
24065 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24066 @r=`${PWD_COMMAND}`; export r; \
24067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24068 TFLAGS="$(STAGE2_TFLAGS)"; \
24069 $(HOST_EXPORTS) \
24070 $(POSTSTAGE1_HOST_EXPORTS) \
24071 cd $(HOST_SUBDIR)/libcpp && \
24073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24074 CFLAGS="$(STAGE2_CFLAGS)" \
24075 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24076 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24080 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24081 TFLAGS="$(STAGE2_TFLAGS)" \
24082 $(TARGET-stage2-libcpp)
24084 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24085 clean-stage2: clean-stage2-libcpp
24086 clean-stage2-libcpp:
24087 @if [ $(current_stage) = stage2 ]; then \
24088 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24089 else \
24090 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24091 $(MAKE) stage2-start; \
24092 fi; \
24093 cd $(HOST_SUBDIR)/libcpp && \
24094 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24095 @endif libcpp-bootstrap
24098 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24099 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24100 maybe-all-stage3-libcpp:
24101 maybe-clean-stage3-libcpp:
24102 @if libcpp-bootstrap
24103 maybe-all-stage3-libcpp: all-stage3-libcpp
24104 all-stage3: all-stage3-libcpp
24105 TARGET-stage3-libcpp = $(TARGET-libcpp)
24106 all-stage3-libcpp: configure-stage3-libcpp
24107 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24108 @r=`${PWD_COMMAND}`; export r; \
24109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24110 TFLAGS="$(STAGE3_TFLAGS)"; \
24111 $(HOST_EXPORTS) \
24112 $(POSTSTAGE1_HOST_EXPORTS) \
24113 cd $(HOST_SUBDIR)/libcpp && \
24115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24116 CFLAGS="$(STAGE3_CFLAGS)" \
24117 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24118 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24123 TFLAGS="$(STAGE3_TFLAGS)" \
24124 $(TARGET-stage3-libcpp)
24126 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24127 clean-stage3: clean-stage3-libcpp
24128 clean-stage3-libcpp:
24129 @if [ $(current_stage) = stage3 ]; then \
24130 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24131 else \
24132 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24133 $(MAKE) stage3-start; \
24134 fi; \
24135 cd $(HOST_SUBDIR)/libcpp && \
24136 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24137 @endif libcpp-bootstrap
24140 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24141 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24142 maybe-all-stage4-libcpp:
24143 maybe-clean-stage4-libcpp:
24144 @if libcpp-bootstrap
24145 maybe-all-stage4-libcpp: all-stage4-libcpp
24146 all-stage4: all-stage4-libcpp
24147 TARGET-stage4-libcpp = $(TARGET-libcpp)
24148 all-stage4-libcpp: configure-stage4-libcpp
24149 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24150 @r=`${PWD_COMMAND}`; export r; \
24151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24152 TFLAGS="$(STAGE4_TFLAGS)"; \
24153 $(HOST_EXPORTS) \
24154 $(POSTSTAGE1_HOST_EXPORTS) \
24155 cd $(HOST_SUBDIR)/libcpp && \
24157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24158 CFLAGS="$(STAGE4_CFLAGS)" \
24159 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24160 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24165 TFLAGS="$(STAGE4_TFLAGS)" \
24166 $(TARGET-stage4-libcpp)
24168 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24169 clean-stage4: clean-stage4-libcpp
24170 clean-stage4-libcpp:
24171 @if [ $(current_stage) = stage4 ]; then \
24172 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24173 else \
24174 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24175 $(MAKE) stage4-start; \
24176 fi; \
24177 cd $(HOST_SUBDIR)/libcpp && \
24178 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24179 @endif libcpp-bootstrap
24182 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24183 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24184 maybe-all-stageprofile-libcpp:
24185 maybe-clean-stageprofile-libcpp:
24186 @if libcpp-bootstrap
24187 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24188 all-stageprofile: all-stageprofile-libcpp
24189 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24190 all-stageprofile-libcpp: configure-stageprofile-libcpp
24191 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24192 @r=`${PWD_COMMAND}`; export r; \
24193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24194 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24195 $(HOST_EXPORTS) \
24196 $(POSTSTAGE1_HOST_EXPORTS) \
24197 cd $(HOST_SUBDIR)/libcpp && \
24199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24200 CFLAGS="$(STAGEprofile_CFLAGS)" \
24201 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24202 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24207 TFLAGS="$(STAGEprofile_TFLAGS)" \
24208 $(TARGET-stageprofile-libcpp)
24210 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24211 clean-stageprofile: clean-stageprofile-libcpp
24212 clean-stageprofile-libcpp:
24213 @if [ $(current_stage) = stageprofile ]; then \
24214 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24215 else \
24216 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24217 $(MAKE) stageprofile-start; \
24218 fi; \
24219 cd $(HOST_SUBDIR)/libcpp && \
24220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24221 @endif libcpp-bootstrap
24224 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24225 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24226 maybe-all-stagetrain-libcpp:
24227 maybe-clean-stagetrain-libcpp:
24228 @if libcpp-bootstrap
24229 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24230 all-stagetrain: all-stagetrain-libcpp
24231 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24232 all-stagetrain-libcpp: configure-stagetrain-libcpp
24233 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24234 @r=`${PWD_COMMAND}`; export r; \
24235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24236 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24237 $(HOST_EXPORTS) \
24238 $(POSTSTAGE1_HOST_EXPORTS) \
24239 cd $(HOST_SUBDIR)/libcpp && \
24241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24242 CFLAGS="$(STAGEtrain_CFLAGS)" \
24243 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24244 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24249 TFLAGS="$(STAGEtrain_TFLAGS)" \
24250 $(TARGET-stagetrain-libcpp)
24252 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24253 clean-stagetrain: clean-stagetrain-libcpp
24254 clean-stagetrain-libcpp:
24255 @if [ $(current_stage) = stagetrain ]; then \
24256 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24257 else \
24258 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24259 $(MAKE) stagetrain-start; \
24260 fi; \
24261 cd $(HOST_SUBDIR)/libcpp && \
24262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24263 @endif libcpp-bootstrap
24266 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24267 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24268 maybe-all-stagefeedback-libcpp:
24269 maybe-clean-stagefeedback-libcpp:
24270 @if libcpp-bootstrap
24271 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24272 all-stagefeedback: all-stagefeedback-libcpp
24273 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24274 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24275 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24276 @r=`${PWD_COMMAND}`; export r; \
24277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24278 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24279 $(HOST_EXPORTS) \
24280 $(POSTSTAGE1_HOST_EXPORTS) \
24281 cd $(HOST_SUBDIR)/libcpp && \
24283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24284 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24285 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24286 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24290 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24291 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24292 $(TARGET-stagefeedback-libcpp)
24294 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24295 clean-stagefeedback: clean-stagefeedback-libcpp
24296 clean-stagefeedback-libcpp:
24297 @if [ $(current_stage) = stagefeedback ]; then \
24298 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24299 else \
24300 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24301 $(MAKE) stagefeedback-start; \
24302 fi; \
24303 cd $(HOST_SUBDIR)/libcpp && \
24304 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24305 @endif libcpp-bootstrap
24308 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24309 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24310 maybe-all-stageautoprofile-libcpp:
24311 maybe-clean-stageautoprofile-libcpp:
24312 @if libcpp-bootstrap
24313 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24314 all-stageautoprofile: all-stageautoprofile-libcpp
24315 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24316 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24317 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24318 @r=`${PWD_COMMAND}`; export r; \
24319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24320 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24321 $(HOST_EXPORTS) \
24322 $(POSTSTAGE1_HOST_EXPORTS) \
24323 cd $(HOST_SUBDIR)/libcpp && \
24324 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24326 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24327 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24328 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24333 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24334 $(TARGET-stageautoprofile-libcpp)
24336 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24337 clean-stageautoprofile: clean-stageautoprofile-libcpp
24338 clean-stageautoprofile-libcpp:
24339 @if [ $(current_stage) = stageautoprofile ]; then \
24340 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24341 else \
24342 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24343 $(MAKE) stageautoprofile-start; \
24344 fi; \
24345 cd $(HOST_SUBDIR)/libcpp && \
24346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24347 @endif libcpp-bootstrap
24350 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24351 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24352 maybe-all-stageautofeedback-libcpp:
24353 maybe-clean-stageautofeedback-libcpp:
24354 @if libcpp-bootstrap
24355 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24356 all-stageautofeedback: all-stageautofeedback-libcpp
24357 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24358 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24359 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24360 @r=`${PWD_COMMAND}`; export r; \
24361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24362 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24363 $(HOST_EXPORTS) \
24364 $(POSTSTAGE1_HOST_EXPORTS) \
24365 cd $(HOST_SUBDIR)/libcpp && \
24367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24368 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24369 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24370 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24375 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24376 $(TARGET-stageautofeedback-libcpp)
24378 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24379 clean-stageautofeedback: clean-stageautofeedback-libcpp
24380 clean-stageautofeedback-libcpp:
24381 @if [ $(current_stage) = stageautofeedback ]; then \
24382 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24383 else \
24384 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24385 $(MAKE) stageautofeedback-start; \
24386 fi; \
24387 cd $(HOST_SUBDIR)/libcpp && \
24388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24389 @endif libcpp-bootstrap
24395 .PHONY: check-libcpp maybe-check-libcpp
24396 maybe-check-libcpp:
24397 @if libcpp
24398 maybe-check-libcpp: check-libcpp
24400 check-libcpp:
24401 @: $(MAKE); $(unstage)
24402 @r=`${PWD_COMMAND}`; export r; \
24403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24404 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24405 (cd $(HOST_SUBDIR)/libcpp && \
24406 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24408 @endif libcpp
24410 .PHONY: install-libcpp maybe-install-libcpp
24411 maybe-install-libcpp:
24412 @if libcpp
24413 maybe-install-libcpp: install-libcpp
24415 install-libcpp: installdirs
24416 @: $(MAKE); $(unstage)
24417 @r=`${PWD_COMMAND}`; export r; \
24418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24419 $(HOST_EXPORTS) \
24420 (cd $(HOST_SUBDIR)/libcpp && \
24421 $(MAKE) $(FLAGS_TO_PASS) install)
24423 @endif libcpp
24425 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24426 maybe-install-strip-libcpp:
24427 @if libcpp
24428 maybe-install-strip-libcpp: install-strip-libcpp
24430 install-strip-libcpp: installdirs
24431 @: $(MAKE); $(unstage)
24432 @r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434 $(HOST_EXPORTS) \
24435 (cd $(HOST_SUBDIR)/libcpp && \
24436 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24438 @endif libcpp
24440 # Other targets (info, dvi, pdf, etc.)
24442 .PHONY: maybe-info-libcpp info-libcpp
24443 maybe-info-libcpp:
24444 @if libcpp
24445 maybe-info-libcpp: info-libcpp
24447 info-libcpp: \
24448 configure-libcpp
24449 @[ -f ./libcpp/Makefile ] || exit 0; \
24450 r=`${PWD_COMMAND}`; export r; \
24451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24452 $(HOST_EXPORTS) \
24453 for flag in $(EXTRA_HOST_FLAGS) ; do \
24454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24455 done; \
24456 echo "Doing info in libcpp"; \
24457 (cd $(HOST_SUBDIR)/libcpp && \
24458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24460 "RANLIB=$${RANLIB}" \
24461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24462 info) \
24463 || exit 1
24465 @endif libcpp
24467 .PHONY: maybe-dvi-libcpp dvi-libcpp
24468 maybe-dvi-libcpp:
24469 @if libcpp
24470 maybe-dvi-libcpp: dvi-libcpp
24472 dvi-libcpp: \
24473 configure-libcpp
24474 @[ -f ./libcpp/Makefile ] || exit 0; \
24475 r=`${PWD_COMMAND}`; export r; \
24476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24477 $(HOST_EXPORTS) \
24478 for flag in $(EXTRA_HOST_FLAGS) ; do \
24479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24480 done; \
24481 echo "Doing dvi in libcpp"; \
24482 (cd $(HOST_SUBDIR)/libcpp && \
24483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24485 "RANLIB=$${RANLIB}" \
24486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24487 dvi) \
24488 || exit 1
24490 @endif libcpp
24492 .PHONY: maybe-pdf-libcpp pdf-libcpp
24493 maybe-pdf-libcpp:
24494 @if libcpp
24495 maybe-pdf-libcpp: pdf-libcpp
24497 pdf-libcpp: \
24498 configure-libcpp
24499 @[ -f ./libcpp/Makefile ] || exit 0; \
24500 r=`${PWD_COMMAND}`; export r; \
24501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24502 $(HOST_EXPORTS) \
24503 for flag in $(EXTRA_HOST_FLAGS) ; do \
24504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24505 done; \
24506 echo "Doing pdf in libcpp"; \
24507 (cd $(HOST_SUBDIR)/libcpp && \
24508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24510 "RANLIB=$${RANLIB}" \
24511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24512 pdf) \
24513 || exit 1
24515 @endif libcpp
24517 .PHONY: maybe-html-libcpp html-libcpp
24518 maybe-html-libcpp:
24519 @if libcpp
24520 maybe-html-libcpp: html-libcpp
24522 html-libcpp: \
24523 configure-libcpp
24524 @[ -f ./libcpp/Makefile ] || exit 0; \
24525 r=`${PWD_COMMAND}`; export r; \
24526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24527 $(HOST_EXPORTS) \
24528 for flag in $(EXTRA_HOST_FLAGS) ; do \
24529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24530 done; \
24531 echo "Doing html in libcpp"; \
24532 (cd $(HOST_SUBDIR)/libcpp && \
24533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24535 "RANLIB=$${RANLIB}" \
24536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24537 html) \
24538 || exit 1
24540 @endif libcpp
24542 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24543 maybe-TAGS-libcpp:
24544 @if libcpp
24545 maybe-TAGS-libcpp: TAGS-libcpp
24547 TAGS-libcpp: \
24548 configure-libcpp
24549 @[ -f ./libcpp/Makefile ] || exit 0; \
24550 r=`${PWD_COMMAND}`; export r; \
24551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24552 $(HOST_EXPORTS) \
24553 for flag in $(EXTRA_HOST_FLAGS) ; do \
24554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24555 done; \
24556 echo "Doing TAGS in libcpp"; \
24557 (cd $(HOST_SUBDIR)/libcpp && \
24558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24560 "RANLIB=$${RANLIB}" \
24561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24562 TAGS) \
24563 || exit 1
24565 @endif libcpp
24567 .PHONY: maybe-install-info-libcpp install-info-libcpp
24568 maybe-install-info-libcpp:
24569 @if libcpp
24570 maybe-install-info-libcpp: install-info-libcpp
24572 install-info-libcpp: \
24573 configure-libcpp \
24574 info-libcpp
24575 @[ -f ./libcpp/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 install-info in libcpp"; \
24583 (cd $(HOST_SUBDIR)/libcpp && \
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 install-info) \
24589 || exit 1
24591 @endif libcpp
24593 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24594 maybe-install-pdf-libcpp:
24595 @if libcpp
24596 maybe-install-pdf-libcpp: install-pdf-libcpp
24598 install-pdf-libcpp: \
24599 configure-libcpp \
24600 pdf-libcpp
24601 @[ -f ./libcpp/Makefile ] || exit 0; \
24602 r=`${PWD_COMMAND}`; export r; \
24603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24604 $(HOST_EXPORTS) \
24605 for flag in $(EXTRA_HOST_FLAGS) ; do \
24606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24607 done; \
24608 echo "Doing install-pdf in libcpp"; \
24609 (cd $(HOST_SUBDIR)/libcpp && \
24610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24612 "RANLIB=$${RANLIB}" \
24613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24614 install-pdf) \
24615 || exit 1
24617 @endif libcpp
24619 .PHONY: maybe-install-html-libcpp install-html-libcpp
24620 maybe-install-html-libcpp:
24621 @if libcpp
24622 maybe-install-html-libcpp: install-html-libcpp
24624 install-html-libcpp: \
24625 configure-libcpp \
24626 html-libcpp
24627 @[ -f ./libcpp/Makefile ] || exit 0; \
24628 r=`${PWD_COMMAND}`; export r; \
24629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24630 $(HOST_EXPORTS) \
24631 for flag in $(EXTRA_HOST_FLAGS) ; do \
24632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24633 done; \
24634 echo "Doing install-html in libcpp"; \
24635 (cd $(HOST_SUBDIR)/libcpp && \
24636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24638 "RANLIB=$${RANLIB}" \
24639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24640 install-html) \
24641 || exit 1
24643 @endif libcpp
24645 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24646 maybe-installcheck-libcpp:
24647 @if libcpp
24648 maybe-installcheck-libcpp: installcheck-libcpp
24650 installcheck-libcpp: \
24651 configure-libcpp
24652 @[ -f ./libcpp/Makefile ] || exit 0; \
24653 r=`${PWD_COMMAND}`; export r; \
24654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24655 $(HOST_EXPORTS) \
24656 for flag in $(EXTRA_HOST_FLAGS) ; do \
24657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24658 done; \
24659 echo "Doing installcheck in libcpp"; \
24660 (cd $(HOST_SUBDIR)/libcpp && \
24661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24663 "RANLIB=$${RANLIB}" \
24664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24665 installcheck) \
24666 || exit 1
24668 @endif libcpp
24670 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24671 maybe-mostlyclean-libcpp:
24672 @if libcpp
24673 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24675 mostlyclean-libcpp:
24676 @[ -f ./libcpp/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing mostlyclean in libcpp"; \
24684 (cd $(HOST_SUBDIR)/libcpp && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24689 mostlyclean) \
24690 || exit 1
24692 @endif libcpp
24694 .PHONY: maybe-clean-libcpp clean-libcpp
24695 maybe-clean-libcpp:
24696 @if libcpp
24697 maybe-clean-libcpp: clean-libcpp
24699 clean-libcpp:
24700 @[ -f ./libcpp/Makefile ] || exit 0; \
24701 r=`${PWD_COMMAND}`; export r; \
24702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24703 $(HOST_EXPORTS) \
24704 for flag in $(EXTRA_HOST_FLAGS) ; do \
24705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24706 done; \
24707 echo "Doing clean in libcpp"; \
24708 (cd $(HOST_SUBDIR)/libcpp && \
24709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24711 "RANLIB=$${RANLIB}" \
24712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24713 clean) \
24714 || exit 1
24716 @endif libcpp
24718 .PHONY: maybe-distclean-libcpp distclean-libcpp
24719 maybe-distclean-libcpp:
24720 @if libcpp
24721 maybe-distclean-libcpp: distclean-libcpp
24723 distclean-libcpp:
24724 @[ -f ./libcpp/Makefile ] || exit 0; \
24725 r=`${PWD_COMMAND}`; export r; \
24726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24727 $(HOST_EXPORTS) \
24728 for flag in $(EXTRA_HOST_FLAGS) ; do \
24729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24730 done; \
24731 echo "Doing distclean in libcpp"; \
24732 (cd $(HOST_SUBDIR)/libcpp && \
24733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24735 "RANLIB=$${RANLIB}" \
24736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24737 distclean) \
24738 || exit 1
24740 @endif libcpp
24742 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24743 maybe-maintainer-clean-libcpp:
24744 @if libcpp
24745 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24747 maintainer-clean-libcpp:
24748 @[ -f ./libcpp/Makefile ] || exit 0; \
24749 r=`${PWD_COMMAND}`; export r; \
24750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24751 $(HOST_EXPORTS) \
24752 for flag in $(EXTRA_HOST_FLAGS) ; do \
24753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24754 done; \
24755 echo "Doing maintainer-clean in libcpp"; \
24756 (cd $(HOST_SUBDIR)/libcpp && \
24757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24759 "RANLIB=$${RANLIB}" \
24760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24761 maintainer-clean) \
24762 || exit 1
24764 @endif libcpp
24768 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
24769 maybe-configure-libdecnumber:
24770 @if gcc-bootstrap
24771 configure-libdecnumber: stage_current
24772 @endif gcc-bootstrap
24773 @if libdecnumber
24774 maybe-configure-libdecnumber: configure-libdecnumber
24775 configure-libdecnumber:
24776 @r=`${PWD_COMMAND}`; export r; \
24777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24778 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24780 $(HOST_EXPORTS) \
24781 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
24782 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
24783 case $(srcdir) in \
24784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24785 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24787 esac; \
24788 module_srcdir=libdecnumber; \
24789 $(SHELL) \
24790 $$s/$$module_srcdir/configure \
24791 --srcdir=$${topdir}/$$module_srcdir \
24792 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24793 --target=${target_alias} \
24794 || exit 1
24795 @endif libdecnumber
24799 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
24800 maybe-configure-stage1-libdecnumber:
24801 @if libdecnumber-bootstrap
24802 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
24803 configure-stage1-libdecnumber:
24804 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24805 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24806 @r=`${PWD_COMMAND}`; export r; \
24807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24808 TFLAGS="$(STAGE1_TFLAGS)"; \
24809 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24810 $(HOST_EXPORTS) \
24811 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24812 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24813 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24814 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
24815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24816 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24817 case $(srcdir) in \
24818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24819 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24821 esac; \
24822 module_srcdir=libdecnumber; \
24823 $(SHELL) $$s/$$module_srcdir/configure \
24824 --srcdir=$${topdir}/$$module_srcdir \
24825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24826 --target=${target_alias} \
24828 $(STAGE1_CONFIGURE_FLAGS)
24829 @endif libdecnumber-bootstrap
24831 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
24832 maybe-configure-stage2-libdecnumber:
24833 @if libdecnumber-bootstrap
24834 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
24835 configure-stage2-libdecnumber:
24836 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24838 @r=`${PWD_COMMAND}`; export r; \
24839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24840 TFLAGS="$(STAGE2_TFLAGS)"; \
24841 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24842 $(HOST_EXPORTS) \
24843 $(POSTSTAGE1_HOST_EXPORTS) \
24844 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24845 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24846 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24847 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
24848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24849 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24850 case $(srcdir) in \
24851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24852 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24854 esac; \
24855 module_srcdir=libdecnumber; \
24856 $(SHELL) $$s/$$module_srcdir/configure \
24857 --srcdir=$${topdir}/$$module_srcdir \
24858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24859 --target=${target_alias} \
24860 --with-build-libsubdir=$(HOST_SUBDIR) \
24861 $(STAGE2_CONFIGURE_FLAGS)
24862 @endif libdecnumber-bootstrap
24864 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
24865 maybe-configure-stage3-libdecnumber:
24866 @if libdecnumber-bootstrap
24867 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
24868 configure-stage3-libdecnumber:
24869 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24870 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24871 @r=`${PWD_COMMAND}`; export r; \
24872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24873 TFLAGS="$(STAGE3_TFLAGS)"; \
24874 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24875 $(HOST_EXPORTS) \
24876 $(POSTSTAGE1_HOST_EXPORTS) \
24877 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24878 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24879 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24880 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
24881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24882 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24883 case $(srcdir) in \
24884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24885 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24887 esac; \
24888 module_srcdir=libdecnumber; \
24889 $(SHELL) $$s/$$module_srcdir/configure \
24890 --srcdir=$${topdir}/$$module_srcdir \
24891 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24892 --target=${target_alias} \
24893 --with-build-libsubdir=$(HOST_SUBDIR) \
24894 $(STAGE3_CONFIGURE_FLAGS)
24895 @endif libdecnumber-bootstrap
24897 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
24898 maybe-configure-stage4-libdecnumber:
24899 @if libdecnumber-bootstrap
24900 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
24901 configure-stage4-libdecnumber:
24902 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24904 @r=`${PWD_COMMAND}`; export r; \
24905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24906 TFLAGS="$(STAGE4_TFLAGS)"; \
24907 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24908 $(HOST_EXPORTS) \
24909 $(POSTSTAGE1_HOST_EXPORTS) \
24910 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24911 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24912 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24913 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
24914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24915 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24916 case $(srcdir) in \
24917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24918 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24920 esac; \
24921 module_srcdir=libdecnumber; \
24922 $(SHELL) $$s/$$module_srcdir/configure \
24923 --srcdir=$${topdir}/$$module_srcdir \
24924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24925 --target=${target_alias} \
24926 --with-build-libsubdir=$(HOST_SUBDIR) \
24927 $(STAGE4_CONFIGURE_FLAGS)
24928 @endif libdecnumber-bootstrap
24930 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
24931 maybe-configure-stageprofile-libdecnumber:
24932 @if libdecnumber-bootstrap
24933 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24934 configure-stageprofile-libdecnumber:
24935 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24937 @r=`${PWD_COMMAND}`; export r; \
24938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24939 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24940 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24941 $(HOST_EXPORTS) \
24942 $(POSTSTAGE1_HOST_EXPORTS) \
24943 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24944 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24945 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24946 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
24947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24948 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24949 case $(srcdir) in \
24950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24951 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24953 esac; \
24954 module_srcdir=libdecnumber; \
24955 $(SHELL) $$s/$$module_srcdir/configure \
24956 --srcdir=$${topdir}/$$module_srcdir \
24957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24958 --target=${target_alias} \
24959 --with-build-libsubdir=$(HOST_SUBDIR) \
24960 $(STAGEprofile_CONFIGURE_FLAGS)
24961 @endif libdecnumber-bootstrap
24963 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
24964 maybe-configure-stagetrain-libdecnumber:
24965 @if libdecnumber-bootstrap
24966 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
24967 configure-stagetrain-libdecnumber:
24968 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24970 @r=`${PWD_COMMAND}`; export r; \
24971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24972 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24973 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24974 $(HOST_EXPORTS) \
24975 $(POSTSTAGE1_HOST_EXPORTS) \
24976 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24977 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24978 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24979 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
24980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24981 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24982 case $(srcdir) in \
24983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24984 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24986 esac; \
24987 module_srcdir=libdecnumber; \
24988 $(SHELL) $$s/$$module_srcdir/configure \
24989 --srcdir=$${topdir}/$$module_srcdir \
24990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24991 --target=${target_alias} \
24992 --with-build-libsubdir=$(HOST_SUBDIR) \
24993 $(STAGEtrain_CONFIGURE_FLAGS)
24994 @endif libdecnumber-bootstrap
24996 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
24997 maybe-configure-stagefeedback-libdecnumber:
24998 @if libdecnumber-bootstrap
24999 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25000 configure-stagefeedback-libdecnumber:
25001 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25003 @r=`${PWD_COMMAND}`; export r; \
25004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25005 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25006 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25007 $(HOST_EXPORTS) \
25008 $(POSTSTAGE1_HOST_EXPORTS) \
25009 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25010 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25011 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25012 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25014 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25015 case $(srcdir) in \
25016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25017 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25019 esac; \
25020 module_srcdir=libdecnumber; \
25021 $(SHELL) $$s/$$module_srcdir/configure \
25022 --srcdir=$${topdir}/$$module_srcdir \
25023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25024 --target=${target_alias} \
25025 --with-build-libsubdir=$(HOST_SUBDIR) \
25026 $(STAGEfeedback_CONFIGURE_FLAGS)
25027 @endif libdecnumber-bootstrap
25029 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25030 maybe-configure-stageautoprofile-libdecnumber:
25031 @if libdecnumber-bootstrap
25032 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25033 configure-stageautoprofile-libdecnumber:
25034 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25036 @r=`${PWD_COMMAND}`; export r; \
25037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25038 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25039 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25040 $(HOST_EXPORTS) \
25041 $(POSTSTAGE1_HOST_EXPORTS) \
25042 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25043 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25044 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25045 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25047 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25048 case $(srcdir) in \
25049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25050 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25052 esac; \
25053 module_srcdir=libdecnumber; \
25054 $(SHELL) $$s/$$module_srcdir/configure \
25055 --srcdir=$${topdir}/$$module_srcdir \
25056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25057 --target=${target_alias} \
25058 --with-build-libsubdir=$(HOST_SUBDIR) \
25059 $(STAGEautoprofile_CONFIGURE_FLAGS)
25060 @endif libdecnumber-bootstrap
25062 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25063 maybe-configure-stageautofeedback-libdecnumber:
25064 @if libdecnumber-bootstrap
25065 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25066 configure-stageautofeedback-libdecnumber:
25067 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25069 @r=`${PWD_COMMAND}`; export r; \
25070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25071 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25072 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25073 $(HOST_EXPORTS) \
25074 $(POSTSTAGE1_HOST_EXPORTS) \
25075 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25076 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25077 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25078 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25080 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25081 case $(srcdir) in \
25082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25083 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25085 esac; \
25086 module_srcdir=libdecnumber; \
25087 $(SHELL) $$s/$$module_srcdir/configure \
25088 --srcdir=$${topdir}/$$module_srcdir \
25089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25090 --target=${target_alias} \
25091 --with-build-libsubdir=$(HOST_SUBDIR) \
25092 $(STAGEautofeedback_CONFIGURE_FLAGS)
25093 @endif libdecnumber-bootstrap
25099 .PHONY: all-libdecnumber maybe-all-libdecnumber
25100 maybe-all-libdecnumber:
25101 @if gcc-bootstrap
25102 all-libdecnumber: stage_current
25103 @endif gcc-bootstrap
25104 @if libdecnumber
25105 TARGET-libdecnumber=all
25106 maybe-all-libdecnumber: all-libdecnumber
25107 all-libdecnumber: configure-libdecnumber
25108 @r=`${PWD_COMMAND}`; export r; \
25109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25110 $(HOST_EXPORTS) \
25111 (cd $(HOST_SUBDIR)/libdecnumber && \
25112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25113 $(TARGET-libdecnumber))
25114 @endif libdecnumber
25118 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25119 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25120 maybe-all-stage1-libdecnumber:
25121 maybe-clean-stage1-libdecnumber:
25122 @if libdecnumber-bootstrap
25123 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25124 all-stage1: all-stage1-libdecnumber
25125 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25126 all-stage1-libdecnumber: configure-stage1-libdecnumber
25127 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25128 @r=`${PWD_COMMAND}`; export r; \
25129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25130 TFLAGS="$(STAGE1_TFLAGS)"; \
25131 $(HOST_EXPORTS) \
25132 cd $(HOST_SUBDIR)/libdecnumber && \
25134 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25135 CFLAGS="$(STAGE1_CFLAGS)" \
25136 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25137 LIBCFLAGS="$(LIBCFLAGS)" \
25138 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25139 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25140 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25141 $(EXTRA_HOST_FLAGS) \
25142 $(STAGE1_FLAGS_TO_PASS) \
25143 TFLAGS="$(STAGE1_TFLAGS)" \
25144 $(TARGET-stage1-libdecnumber)
25146 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25147 clean-stage1: clean-stage1-libdecnumber
25148 clean-stage1-libdecnumber:
25149 @if [ $(current_stage) = stage1 ]; then \
25150 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25151 else \
25152 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25153 $(MAKE) stage1-start; \
25154 fi; \
25155 cd $(HOST_SUBDIR)/libdecnumber && \
25156 $(MAKE) $(EXTRA_HOST_FLAGS) \
25157 $(STAGE1_FLAGS_TO_PASS) clean
25158 @endif libdecnumber-bootstrap
25161 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25162 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25163 maybe-all-stage2-libdecnumber:
25164 maybe-clean-stage2-libdecnumber:
25165 @if libdecnumber-bootstrap
25166 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25167 all-stage2: all-stage2-libdecnumber
25168 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25169 all-stage2-libdecnumber: configure-stage2-libdecnumber
25170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25171 @r=`${PWD_COMMAND}`; export r; \
25172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25173 TFLAGS="$(STAGE2_TFLAGS)"; \
25174 $(HOST_EXPORTS) \
25175 $(POSTSTAGE1_HOST_EXPORTS) \
25176 cd $(HOST_SUBDIR)/libdecnumber && \
25178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25179 CFLAGS="$(STAGE2_CFLAGS)" \
25180 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25181 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25185 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25186 TFLAGS="$(STAGE2_TFLAGS)" \
25187 $(TARGET-stage2-libdecnumber)
25189 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25190 clean-stage2: clean-stage2-libdecnumber
25191 clean-stage2-libdecnumber:
25192 @if [ $(current_stage) = stage2 ]; then \
25193 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25194 else \
25195 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25196 $(MAKE) stage2-start; \
25197 fi; \
25198 cd $(HOST_SUBDIR)/libdecnumber && \
25199 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25200 @endif libdecnumber-bootstrap
25203 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25204 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25205 maybe-all-stage3-libdecnumber:
25206 maybe-clean-stage3-libdecnumber:
25207 @if libdecnumber-bootstrap
25208 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25209 all-stage3: all-stage3-libdecnumber
25210 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25211 all-stage3-libdecnumber: configure-stage3-libdecnumber
25212 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25213 @r=`${PWD_COMMAND}`; export r; \
25214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25215 TFLAGS="$(STAGE3_TFLAGS)"; \
25216 $(HOST_EXPORTS) \
25217 $(POSTSTAGE1_HOST_EXPORTS) \
25218 cd $(HOST_SUBDIR)/libdecnumber && \
25220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25221 CFLAGS="$(STAGE3_CFLAGS)" \
25222 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25223 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25227 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25228 TFLAGS="$(STAGE3_TFLAGS)" \
25229 $(TARGET-stage3-libdecnumber)
25231 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25232 clean-stage3: clean-stage3-libdecnumber
25233 clean-stage3-libdecnumber:
25234 @if [ $(current_stage) = stage3 ]; then \
25235 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25236 else \
25237 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25238 $(MAKE) stage3-start; \
25239 fi; \
25240 cd $(HOST_SUBDIR)/libdecnumber && \
25241 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25242 @endif libdecnumber-bootstrap
25245 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25246 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25247 maybe-all-stage4-libdecnumber:
25248 maybe-clean-stage4-libdecnumber:
25249 @if libdecnumber-bootstrap
25250 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25251 all-stage4: all-stage4-libdecnumber
25252 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25253 all-stage4-libdecnumber: configure-stage4-libdecnumber
25254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25255 @r=`${PWD_COMMAND}`; export r; \
25256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25257 TFLAGS="$(STAGE4_TFLAGS)"; \
25258 $(HOST_EXPORTS) \
25259 $(POSTSTAGE1_HOST_EXPORTS) \
25260 cd $(HOST_SUBDIR)/libdecnumber && \
25262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25263 CFLAGS="$(STAGE4_CFLAGS)" \
25264 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25265 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25270 TFLAGS="$(STAGE4_TFLAGS)" \
25271 $(TARGET-stage4-libdecnumber)
25273 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25274 clean-stage4: clean-stage4-libdecnumber
25275 clean-stage4-libdecnumber:
25276 @if [ $(current_stage) = stage4 ]; then \
25277 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25278 else \
25279 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25280 $(MAKE) stage4-start; \
25281 fi; \
25282 cd $(HOST_SUBDIR)/libdecnumber && \
25283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25284 @endif libdecnumber-bootstrap
25287 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25288 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25289 maybe-all-stageprofile-libdecnumber:
25290 maybe-clean-stageprofile-libdecnumber:
25291 @if libdecnumber-bootstrap
25292 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25293 all-stageprofile: all-stageprofile-libdecnumber
25294 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25295 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25296 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25297 @r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25300 $(HOST_EXPORTS) \
25301 $(POSTSTAGE1_HOST_EXPORTS) \
25302 cd $(HOST_SUBDIR)/libdecnumber && \
25304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25305 CFLAGS="$(STAGEprofile_CFLAGS)" \
25306 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25307 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25312 TFLAGS="$(STAGEprofile_TFLAGS)" \
25313 $(TARGET-stageprofile-libdecnumber)
25315 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25316 clean-stageprofile: clean-stageprofile-libdecnumber
25317 clean-stageprofile-libdecnumber:
25318 @if [ $(current_stage) = stageprofile ]; then \
25319 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25320 else \
25321 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25322 $(MAKE) stageprofile-start; \
25323 fi; \
25324 cd $(HOST_SUBDIR)/libdecnumber && \
25325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25326 @endif libdecnumber-bootstrap
25329 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25330 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25331 maybe-all-stagetrain-libdecnumber:
25332 maybe-clean-stagetrain-libdecnumber:
25333 @if libdecnumber-bootstrap
25334 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25335 all-stagetrain: all-stagetrain-libdecnumber
25336 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25337 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25338 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25339 @r=`${PWD_COMMAND}`; export r; \
25340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25342 $(HOST_EXPORTS) \
25343 $(POSTSTAGE1_HOST_EXPORTS) \
25344 cd $(HOST_SUBDIR)/libdecnumber && \
25346 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25347 CFLAGS="$(STAGEtrain_CFLAGS)" \
25348 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25349 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25353 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25354 TFLAGS="$(STAGEtrain_TFLAGS)" \
25355 $(TARGET-stagetrain-libdecnumber)
25357 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25358 clean-stagetrain: clean-stagetrain-libdecnumber
25359 clean-stagetrain-libdecnumber:
25360 @if [ $(current_stage) = stagetrain ]; then \
25361 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25362 else \
25363 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25364 $(MAKE) stagetrain-start; \
25365 fi; \
25366 cd $(HOST_SUBDIR)/libdecnumber && \
25367 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25368 @endif libdecnumber-bootstrap
25371 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25372 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25373 maybe-all-stagefeedback-libdecnumber:
25374 maybe-clean-stagefeedback-libdecnumber:
25375 @if libdecnumber-bootstrap
25376 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25377 all-stagefeedback: all-stagefeedback-libdecnumber
25378 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25379 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25380 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25381 @r=`${PWD_COMMAND}`; export r; \
25382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25383 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25384 $(HOST_EXPORTS) \
25385 $(POSTSTAGE1_HOST_EXPORTS) \
25386 cd $(HOST_SUBDIR)/libdecnumber && \
25388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25389 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25390 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25391 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25392 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25393 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25394 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25395 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25396 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25397 $(TARGET-stagefeedback-libdecnumber)
25399 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25400 clean-stagefeedback: clean-stagefeedback-libdecnumber
25401 clean-stagefeedback-libdecnumber:
25402 @if [ $(current_stage) = stagefeedback ]; then \
25403 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25404 else \
25405 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25406 $(MAKE) stagefeedback-start; \
25407 fi; \
25408 cd $(HOST_SUBDIR)/libdecnumber && \
25409 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25410 @endif libdecnumber-bootstrap
25413 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25414 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25415 maybe-all-stageautoprofile-libdecnumber:
25416 maybe-clean-stageautoprofile-libdecnumber:
25417 @if libdecnumber-bootstrap
25418 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25419 all-stageautoprofile: all-stageautoprofile-libdecnumber
25420 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25421 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25422 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25423 @r=`${PWD_COMMAND}`; export r; \
25424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25425 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25426 $(HOST_EXPORTS) \
25427 $(POSTSTAGE1_HOST_EXPORTS) \
25428 cd $(HOST_SUBDIR)/libdecnumber && \
25429 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25431 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25432 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25433 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25434 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25435 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25436 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25437 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25438 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25439 $(TARGET-stageautoprofile-libdecnumber)
25441 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25442 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25443 clean-stageautoprofile-libdecnumber:
25444 @if [ $(current_stage) = stageautoprofile ]; then \
25445 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25446 else \
25447 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25448 $(MAKE) stageautoprofile-start; \
25449 fi; \
25450 cd $(HOST_SUBDIR)/libdecnumber && \
25451 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25452 @endif libdecnumber-bootstrap
25455 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25456 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25457 maybe-all-stageautofeedback-libdecnumber:
25458 maybe-clean-stageautofeedback-libdecnumber:
25459 @if libdecnumber-bootstrap
25460 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25461 all-stageautofeedback: all-stageautofeedback-libdecnumber
25462 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25463 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25464 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25465 @r=`${PWD_COMMAND}`; export r; \
25466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25467 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25468 $(HOST_EXPORTS) \
25469 $(POSTSTAGE1_HOST_EXPORTS) \
25470 cd $(HOST_SUBDIR)/libdecnumber && \
25472 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25473 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25474 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25475 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25476 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25477 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25478 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25479 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25480 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25481 $(TARGET-stageautofeedback-libdecnumber)
25483 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25484 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25485 clean-stageautofeedback-libdecnumber:
25486 @if [ $(current_stage) = stageautofeedback ]; then \
25487 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25488 else \
25489 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25490 $(MAKE) stageautofeedback-start; \
25491 fi; \
25492 cd $(HOST_SUBDIR)/libdecnumber && \
25493 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25494 @endif libdecnumber-bootstrap
25500 .PHONY: check-libdecnumber maybe-check-libdecnumber
25501 maybe-check-libdecnumber:
25502 @if libdecnumber
25503 maybe-check-libdecnumber: check-libdecnumber
25505 check-libdecnumber:
25506 @: $(MAKE); $(unstage)
25507 @r=`${PWD_COMMAND}`; export r; \
25508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25510 (cd $(HOST_SUBDIR)/libdecnumber && \
25511 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25513 @endif libdecnumber
25515 .PHONY: install-libdecnumber maybe-install-libdecnumber
25516 maybe-install-libdecnumber:
25517 @if libdecnumber
25518 maybe-install-libdecnumber: install-libdecnumber
25520 install-libdecnumber: installdirs
25521 @: $(MAKE); $(unstage)
25522 @r=`${PWD_COMMAND}`; export r; \
25523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25524 $(HOST_EXPORTS) \
25525 (cd $(HOST_SUBDIR)/libdecnumber && \
25526 $(MAKE) $(FLAGS_TO_PASS) install)
25528 @endif libdecnumber
25530 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25531 maybe-install-strip-libdecnumber:
25532 @if libdecnumber
25533 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25535 install-strip-libdecnumber: installdirs
25536 @: $(MAKE); $(unstage)
25537 @r=`${PWD_COMMAND}`; export r; \
25538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25539 $(HOST_EXPORTS) \
25540 (cd $(HOST_SUBDIR)/libdecnumber && \
25541 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25543 @endif libdecnumber
25545 # Other targets (info, dvi, pdf, etc.)
25547 .PHONY: maybe-info-libdecnumber info-libdecnumber
25548 maybe-info-libdecnumber:
25549 @if libdecnumber
25550 maybe-info-libdecnumber: info-libdecnumber
25552 info-libdecnumber: \
25553 configure-libdecnumber
25554 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25555 r=`${PWD_COMMAND}`; export r; \
25556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25557 $(HOST_EXPORTS) \
25558 for flag in $(EXTRA_HOST_FLAGS) ; do \
25559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25560 done; \
25561 echo "Doing info in libdecnumber"; \
25562 (cd $(HOST_SUBDIR)/libdecnumber && \
25563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25565 "RANLIB=$${RANLIB}" \
25566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25567 info) \
25568 || exit 1
25570 @endif libdecnumber
25572 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25573 maybe-dvi-libdecnumber:
25574 @if libdecnumber
25575 maybe-dvi-libdecnumber: dvi-libdecnumber
25577 dvi-libdecnumber: \
25578 configure-libdecnumber
25579 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25580 r=`${PWD_COMMAND}`; export r; \
25581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25582 $(HOST_EXPORTS) \
25583 for flag in $(EXTRA_HOST_FLAGS) ; do \
25584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25585 done; \
25586 echo "Doing dvi in libdecnumber"; \
25587 (cd $(HOST_SUBDIR)/libdecnumber && \
25588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25590 "RANLIB=$${RANLIB}" \
25591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25592 dvi) \
25593 || exit 1
25595 @endif libdecnumber
25597 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25598 maybe-pdf-libdecnumber:
25599 @if libdecnumber
25600 maybe-pdf-libdecnumber: pdf-libdecnumber
25602 pdf-libdecnumber: \
25603 configure-libdecnumber
25604 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25605 r=`${PWD_COMMAND}`; export r; \
25606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25607 $(HOST_EXPORTS) \
25608 for flag in $(EXTRA_HOST_FLAGS) ; do \
25609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25610 done; \
25611 echo "Doing pdf in libdecnumber"; \
25612 (cd $(HOST_SUBDIR)/libdecnumber && \
25613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25615 "RANLIB=$${RANLIB}" \
25616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25617 pdf) \
25618 || exit 1
25620 @endif libdecnumber
25622 .PHONY: maybe-html-libdecnumber html-libdecnumber
25623 maybe-html-libdecnumber:
25624 @if libdecnumber
25625 maybe-html-libdecnumber: html-libdecnumber
25627 html-libdecnumber: \
25628 configure-libdecnumber
25629 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25630 r=`${PWD_COMMAND}`; export r; \
25631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25632 $(HOST_EXPORTS) \
25633 for flag in $(EXTRA_HOST_FLAGS) ; do \
25634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25635 done; \
25636 echo "Doing html in libdecnumber"; \
25637 (cd $(HOST_SUBDIR)/libdecnumber && \
25638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25640 "RANLIB=$${RANLIB}" \
25641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25642 html) \
25643 || exit 1
25645 @endif libdecnumber
25647 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25648 maybe-TAGS-libdecnumber:
25649 @if libdecnumber
25650 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25652 TAGS-libdecnumber: \
25653 configure-libdecnumber
25654 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25655 r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(HOST_EXPORTS) \
25658 for flag in $(EXTRA_HOST_FLAGS) ; do \
25659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25660 done; \
25661 echo "Doing TAGS in libdecnumber"; \
25662 (cd $(HOST_SUBDIR)/libdecnumber && \
25663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25665 "RANLIB=$${RANLIB}" \
25666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25667 TAGS) \
25668 || exit 1
25670 @endif libdecnumber
25672 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25673 maybe-install-info-libdecnumber:
25674 @if libdecnumber
25675 maybe-install-info-libdecnumber: install-info-libdecnumber
25677 install-info-libdecnumber: \
25678 configure-libdecnumber \
25679 info-libdecnumber
25680 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25681 r=`${PWD_COMMAND}`; export r; \
25682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25683 $(HOST_EXPORTS) \
25684 for flag in $(EXTRA_HOST_FLAGS) ; do \
25685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25686 done; \
25687 echo "Doing install-info in libdecnumber"; \
25688 (cd $(HOST_SUBDIR)/libdecnumber && \
25689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25691 "RANLIB=$${RANLIB}" \
25692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25693 install-info) \
25694 || exit 1
25696 @endif libdecnumber
25698 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25699 maybe-install-pdf-libdecnumber:
25700 @if libdecnumber
25701 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25703 install-pdf-libdecnumber: \
25704 configure-libdecnumber \
25705 pdf-libdecnumber
25706 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25707 r=`${PWD_COMMAND}`; export r; \
25708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25709 $(HOST_EXPORTS) \
25710 for flag in $(EXTRA_HOST_FLAGS) ; do \
25711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25712 done; \
25713 echo "Doing install-pdf in libdecnumber"; \
25714 (cd $(HOST_SUBDIR)/libdecnumber && \
25715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25717 "RANLIB=$${RANLIB}" \
25718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25719 install-pdf) \
25720 || exit 1
25722 @endif libdecnumber
25724 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25725 maybe-install-html-libdecnumber:
25726 @if libdecnumber
25727 maybe-install-html-libdecnumber: install-html-libdecnumber
25729 install-html-libdecnumber: \
25730 configure-libdecnumber \
25731 html-libdecnumber
25732 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25733 r=`${PWD_COMMAND}`; export r; \
25734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25735 $(HOST_EXPORTS) \
25736 for flag in $(EXTRA_HOST_FLAGS) ; do \
25737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25738 done; \
25739 echo "Doing install-html in libdecnumber"; \
25740 (cd $(HOST_SUBDIR)/libdecnumber && \
25741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25743 "RANLIB=$${RANLIB}" \
25744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25745 install-html) \
25746 || exit 1
25748 @endif libdecnumber
25750 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
25751 maybe-installcheck-libdecnumber:
25752 @if libdecnumber
25753 maybe-installcheck-libdecnumber: installcheck-libdecnumber
25755 installcheck-libdecnumber: \
25756 configure-libdecnumber
25757 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25758 r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 $(HOST_EXPORTS) \
25761 for flag in $(EXTRA_HOST_FLAGS) ; do \
25762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25763 done; \
25764 echo "Doing installcheck in libdecnumber"; \
25765 (cd $(HOST_SUBDIR)/libdecnumber && \
25766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25768 "RANLIB=$${RANLIB}" \
25769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25770 installcheck) \
25771 || exit 1
25773 @endif libdecnumber
25775 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
25776 maybe-mostlyclean-libdecnumber:
25777 @if libdecnumber
25778 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
25780 mostlyclean-libdecnumber:
25781 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25782 r=`${PWD_COMMAND}`; export r; \
25783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25784 $(HOST_EXPORTS) \
25785 for flag in $(EXTRA_HOST_FLAGS) ; do \
25786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25787 done; \
25788 echo "Doing mostlyclean in libdecnumber"; \
25789 (cd $(HOST_SUBDIR)/libdecnumber && \
25790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25792 "RANLIB=$${RANLIB}" \
25793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25794 mostlyclean) \
25795 || exit 1
25797 @endif libdecnumber
25799 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
25800 maybe-clean-libdecnumber:
25801 @if libdecnumber
25802 maybe-clean-libdecnumber: clean-libdecnumber
25804 clean-libdecnumber:
25805 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25806 r=`${PWD_COMMAND}`; export r; \
25807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25808 $(HOST_EXPORTS) \
25809 for flag in $(EXTRA_HOST_FLAGS) ; do \
25810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25811 done; \
25812 echo "Doing clean in libdecnumber"; \
25813 (cd $(HOST_SUBDIR)/libdecnumber && \
25814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25816 "RANLIB=$${RANLIB}" \
25817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25818 clean) \
25819 || exit 1
25821 @endif libdecnumber
25823 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
25824 maybe-distclean-libdecnumber:
25825 @if libdecnumber
25826 maybe-distclean-libdecnumber: distclean-libdecnumber
25828 distclean-libdecnumber:
25829 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25830 r=`${PWD_COMMAND}`; export r; \
25831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25832 $(HOST_EXPORTS) \
25833 for flag in $(EXTRA_HOST_FLAGS) ; do \
25834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25835 done; \
25836 echo "Doing distclean in libdecnumber"; \
25837 (cd $(HOST_SUBDIR)/libdecnumber && \
25838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25840 "RANLIB=$${RANLIB}" \
25841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25842 distclean) \
25843 || exit 1
25845 @endif libdecnumber
25847 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
25848 maybe-maintainer-clean-libdecnumber:
25849 @if libdecnumber
25850 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
25852 maintainer-clean-libdecnumber:
25853 @[ -f ./libdecnumber/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 maintainer-clean in libdecnumber"; \
25861 (cd $(HOST_SUBDIR)/libdecnumber && \
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 maintainer-clean) \
25867 || exit 1
25869 @endif libdecnumber
25873 .PHONY: configure-libgui maybe-configure-libgui
25874 maybe-configure-libgui:
25875 @if gcc-bootstrap
25876 configure-libgui: stage_current
25877 @endif gcc-bootstrap
25878 @if libgui
25879 maybe-configure-libgui: configure-libgui
25880 configure-libgui:
25881 @: $(MAKE); $(unstage)
25882 @r=`${PWD_COMMAND}`; export r; \
25883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25884 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
25885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
25886 $(HOST_EXPORTS) \
25887 echo Configuring in $(HOST_SUBDIR)/libgui; \
25888 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
25889 case $(srcdir) in \
25890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25891 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
25892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25893 esac; \
25894 module_srcdir=libgui; \
25895 $(SHELL) \
25896 $$s/$$module_srcdir/configure \
25897 --srcdir=$${topdir}/$$module_srcdir \
25898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25899 --target=${target_alias} \
25900 || exit 1
25901 @endif libgui
25907 .PHONY: all-libgui maybe-all-libgui
25908 maybe-all-libgui:
25909 @if gcc-bootstrap
25910 all-libgui: stage_current
25911 @endif gcc-bootstrap
25912 @if libgui
25913 TARGET-libgui=all
25914 maybe-all-libgui: all-libgui
25915 all-libgui: configure-libgui
25916 @: $(MAKE); $(unstage)
25917 @r=`${PWD_COMMAND}`; export r; \
25918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25919 $(HOST_EXPORTS) \
25920 (cd $(HOST_SUBDIR)/libgui && \
25921 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25922 $(TARGET-libgui))
25923 @endif libgui
25928 .PHONY: check-libgui maybe-check-libgui
25929 maybe-check-libgui:
25930 @if libgui
25931 maybe-check-libgui: check-libgui
25933 check-libgui:
25934 @: $(MAKE); $(unstage)
25935 @r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 $(HOST_EXPORTS) \
25938 (cd $(HOST_SUBDIR)/libgui && \
25939 $(MAKE) $(FLAGS_TO_PASS) check)
25941 @endif libgui
25943 .PHONY: install-libgui maybe-install-libgui
25944 maybe-install-libgui:
25945 @if libgui
25946 maybe-install-libgui: install-libgui
25948 install-libgui: installdirs
25949 @: $(MAKE); $(unstage)
25950 @r=`${PWD_COMMAND}`; export r; \
25951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25952 $(HOST_EXPORTS) \
25953 (cd $(HOST_SUBDIR)/libgui && \
25954 $(MAKE) $(FLAGS_TO_PASS) install)
25956 @endif libgui
25958 .PHONY: install-strip-libgui maybe-install-strip-libgui
25959 maybe-install-strip-libgui:
25960 @if libgui
25961 maybe-install-strip-libgui: install-strip-libgui
25963 install-strip-libgui: installdirs
25964 @: $(MAKE); $(unstage)
25965 @r=`${PWD_COMMAND}`; export r; \
25966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25967 $(HOST_EXPORTS) \
25968 (cd $(HOST_SUBDIR)/libgui && \
25969 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25971 @endif libgui
25973 # Other targets (info, dvi, pdf, etc.)
25975 .PHONY: maybe-info-libgui info-libgui
25976 maybe-info-libgui:
25977 @if libgui
25978 maybe-info-libgui: info-libgui
25980 info-libgui: \
25981 configure-libgui
25982 @: $(MAKE); $(unstage)
25983 @[ -f ./libgui/Makefile ] || exit 0; \
25984 r=`${PWD_COMMAND}`; export r; \
25985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25986 $(HOST_EXPORTS) \
25987 for flag in $(EXTRA_HOST_FLAGS) ; do \
25988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25989 done; \
25990 echo "Doing info in libgui"; \
25991 (cd $(HOST_SUBDIR)/libgui && \
25992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25994 "RANLIB=$${RANLIB}" \
25995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25996 info) \
25997 || exit 1
25999 @endif libgui
26001 .PHONY: maybe-dvi-libgui dvi-libgui
26002 maybe-dvi-libgui:
26003 @if libgui
26004 maybe-dvi-libgui: dvi-libgui
26006 dvi-libgui: \
26007 configure-libgui
26008 @: $(MAKE); $(unstage)
26009 @[ -f ./libgui/Makefile ] || exit 0; \
26010 r=`${PWD_COMMAND}`; export r; \
26011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012 $(HOST_EXPORTS) \
26013 for flag in $(EXTRA_HOST_FLAGS) ; do \
26014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26015 done; \
26016 echo "Doing dvi in libgui"; \
26017 (cd $(HOST_SUBDIR)/libgui && \
26018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26020 "RANLIB=$${RANLIB}" \
26021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26022 dvi) \
26023 || exit 1
26025 @endif libgui
26027 .PHONY: maybe-pdf-libgui pdf-libgui
26028 maybe-pdf-libgui:
26029 @if libgui
26030 maybe-pdf-libgui: pdf-libgui
26032 pdf-libgui: \
26033 configure-libgui
26034 @: $(MAKE); $(unstage)
26035 @[ -f ./libgui/Makefile ] || exit 0; \
26036 r=`${PWD_COMMAND}`; export r; \
26037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26038 $(HOST_EXPORTS) \
26039 for flag in $(EXTRA_HOST_FLAGS) ; do \
26040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26041 done; \
26042 echo "Doing pdf in libgui"; \
26043 (cd $(HOST_SUBDIR)/libgui && \
26044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26046 "RANLIB=$${RANLIB}" \
26047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26048 pdf) \
26049 || exit 1
26051 @endif libgui
26053 .PHONY: maybe-html-libgui html-libgui
26054 maybe-html-libgui:
26055 @if libgui
26056 maybe-html-libgui: html-libgui
26058 html-libgui: \
26059 configure-libgui
26060 @: $(MAKE); $(unstage)
26061 @[ -f ./libgui/Makefile ] || exit 0; \
26062 r=`${PWD_COMMAND}`; export r; \
26063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26064 $(HOST_EXPORTS) \
26065 for flag in $(EXTRA_HOST_FLAGS) ; do \
26066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26067 done; \
26068 echo "Doing html in libgui"; \
26069 (cd $(HOST_SUBDIR)/libgui && \
26070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26072 "RANLIB=$${RANLIB}" \
26073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26074 html) \
26075 || exit 1
26077 @endif libgui
26079 .PHONY: maybe-TAGS-libgui TAGS-libgui
26080 maybe-TAGS-libgui:
26081 @if libgui
26082 maybe-TAGS-libgui: TAGS-libgui
26084 TAGS-libgui: \
26085 configure-libgui
26086 @: $(MAKE); $(unstage)
26087 @[ -f ./libgui/Makefile ] || exit 0; \
26088 r=`${PWD_COMMAND}`; export r; \
26089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26090 $(HOST_EXPORTS) \
26091 for flag in $(EXTRA_HOST_FLAGS) ; do \
26092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26093 done; \
26094 echo "Doing TAGS in libgui"; \
26095 (cd $(HOST_SUBDIR)/libgui && \
26096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26098 "RANLIB=$${RANLIB}" \
26099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26100 TAGS) \
26101 || exit 1
26103 @endif libgui
26105 .PHONY: maybe-install-info-libgui install-info-libgui
26106 maybe-install-info-libgui:
26107 @if libgui
26108 maybe-install-info-libgui: install-info-libgui
26110 install-info-libgui: \
26111 configure-libgui \
26112 info-libgui
26113 @: $(MAKE); $(unstage)
26114 @[ -f ./libgui/Makefile ] || exit 0; \
26115 r=`${PWD_COMMAND}`; export r; \
26116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26117 $(HOST_EXPORTS) \
26118 for flag in $(EXTRA_HOST_FLAGS) ; do \
26119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26120 done; \
26121 echo "Doing install-info in libgui"; \
26122 (cd $(HOST_SUBDIR)/libgui && \
26123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26125 "RANLIB=$${RANLIB}" \
26126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26127 install-info) \
26128 || exit 1
26130 @endif libgui
26132 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26133 maybe-install-pdf-libgui:
26134 @if libgui
26135 maybe-install-pdf-libgui: install-pdf-libgui
26137 install-pdf-libgui: \
26138 configure-libgui \
26139 pdf-libgui
26140 @: $(MAKE); $(unstage)
26141 @[ -f ./libgui/Makefile ] || exit 0; \
26142 r=`${PWD_COMMAND}`; export r; \
26143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26144 $(HOST_EXPORTS) \
26145 for flag in $(EXTRA_HOST_FLAGS) ; do \
26146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26147 done; \
26148 echo "Doing install-pdf in libgui"; \
26149 (cd $(HOST_SUBDIR)/libgui && \
26150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26152 "RANLIB=$${RANLIB}" \
26153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26154 install-pdf) \
26155 || exit 1
26157 @endif libgui
26159 .PHONY: maybe-install-html-libgui install-html-libgui
26160 maybe-install-html-libgui:
26161 @if libgui
26162 maybe-install-html-libgui: install-html-libgui
26164 install-html-libgui: \
26165 configure-libgui \
26166 html-libgui
26167 @: $(MAKE); $(unstage)
26168 @[ -f ./libgui/Makefile ] || exit 0; \
26169 r=`${PWD_COMMAND}`; export r; \
26170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26171 $(HOST_EXPORTS) \
26172 for flag in $(EXTRA_HOST_FLAGS) ; do \
26173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26174 done; \
26175 echo "Doing install-html in libgui"; \
26176 (cd $(HOST_SUBDIR)/libgui && \
26177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26179 "RANLIB=$${RANLIB}" \
26180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26181 install-html) \
26182 || exit 1
26184 @endif libgui
26186 .PHONY: maybe-installcheck-libgui installcheck-libgui
26187 maybe-installcheck-libgui:
26188 @if libgui
26189 maybe-installcheck-libgui: installcheck-libgui
26191 installcheck-libgui: \
26192 configure-libgui
26193 @: $(MAKE); $(unstage)
26194 @[ -f ./libgui/Makefile ] || exit 0; \
26195 r=`${PWD_COMMAND}`; export r; \
26196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26197 $(HOST_EXPORTS) \
26198 for flag in $(EXTRA_HOST_FLAGS) ; do \
26199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26200 done; \
26201 echo "Doing installcheck in libgui"; \
26202 (cd $(HOST_SUBDIR)/libgui && \
26203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26205 "RANLIB=$${RANLIB}" \
26206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26207 installcheck) \
26208 || exit 1
26210 @endif libgui
26212 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26213 maybe-mostlyclean-libgui:
26214 @if libgui
26215 maybe-mostlyclean-libgui: mostlyclean-libgui
26217 mostlyclean-libgui:
26218 @: $(MAKE); $(unstage)
26219 @[ -f ./libgui/Makefile ] || exit 0; \
26220 r=`${PWD_COMMAND}`; export r; \
26221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26222 $(HOST_EXPORTS) \
26223 for flag in $(EXTRA_HOST_FLAGS) ; do \
26224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26225 done; \
26226 echo "Doing mostlyclean in libgui"; \
26227 (cd $(HOST_SUBDIR)/libgui && \
26228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26230 "RANLIB=$${RANLIB}" \
26231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26232 mostlyclean) \
26233 || exit 1
26235 @endif libgui
26237 .PHONY: maybe-clean-libgui clean-libgui
26238 maybe-clean-libgui:
26239 @if libgui
26240 maybe-clean-libgui: clean-libgui
26242 clean-libgui:
26243 @: $(MAKE); $(unstage)
26244 @[ -f ./libgui/Makefile ] || exit 0; \
26245 r=`${PWD_COMMAND}`; export r; \
26246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26247 $(HOST_EXPORTS) \
26248 for flag in $(EXTRA_HOST_FLAGS) ; do \
26249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26250 done; \
26251 echo "Doing clean in libgui"; \
26252 (cd $(HOST_SUBDIR)/libgui && \
26253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26255 "RANLIB=$${RANLIB}" \
26256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26257 clean) \
26258 || exit 1
26260 @endif libgui
26262 .PHONY: maybe-distclean-libgui distclean-libgui
26263 maybe-distclean-libgui:
26264 @if libgui
26265 maybe-distclean-libgui: distclean-libgui
26267 distclean-libgui:
26268 @: $(MAKE); $(unstage)
26269 @[ -f ./libgui/Makefile ] || exit 0; \
26270 r=`${PWD_COMMAND}`; export r; \
26271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26272 $(HOST_EXPORTS) \
26273 for flag in $(EXTRA_HOST_FLAGS) ; do \
26274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26275 done; \
26276 echo "Doing distclean in libgui"; \
26277 (cd $(HOST_SUBDIR)/libgui && \
26278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26280 "RANLIB=$${RANLIB}" \
26281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26282 distclean) \
26283 || exit 1
26285 @endif libgui
26287 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26288 maybe-maintainer-clean-libgui:
26289 @if libgui
26290 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26292 maintainer-clean-libgui:
26293 @: $(MAKE); $(unstage)
26294 @[ -f ./libgui/Makefile ] || exit 0; \
26295 r=`${PWD_COMMAND}`; export r; \
26296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26297 $(HOST_EXPORTS) \
26298 for flag in $(EXTRA_HOST_FLAGS) ; do \
26299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26300 done; \
26301 echo "Doing maintainer-clean in libgui"; \
26302 (cd $(HOST_SUBDIR)/libgui && \
26303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26305 "RANLIB=$${RANLIB}" \
26306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26307 maintainer-clean) \
26308 || exit 1
26310 @endif libgui
26314 .PHONY: configure-libiberty maybe-configure-libiberty
26315 maybe-configure-libiberty:
26316 @if gcc-bootstrap
26317 configure-libiberty: stage_current
26318 @endif gcc-bootstrap
26319 @if libiberty
26320 maybe-configure-libiberty: configure-libiberty
26321 configure-libiberty:
26322 @r=`${PWD_COMMAND}`; export r; \
26323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26324 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26326 $(HOST_EXPORTS) \
26327 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26328 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26329 case $(srcdir) in \
26330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26331 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26333 esac; \
26334 module_srcdir=libiberty; \
26335 $(SHELL) \
26336 $$s/$$module_srcdir/configure \
26337 --srcdir=$${topdir}/$$module_srcdir \
26338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26339 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26340 || exit 1
26341 @endif libiberty
26345 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26346 maybe-configure-stage1-libiberty:
26347 @if libiberty-bootstrap
26348 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26349 configure-stage1-libiberty:
26350 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26352 @r=`${PWD_COMMAND}`; export r; \
26353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26354 TFLAGS="$(STAGE1_TFLAGS)"; \
26355 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26356 $(HOST_EXPORTS) \
26357 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26358 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26359 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26360 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26362 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26363 case $(srcdir) in \
26364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26365 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26367 esac; \
26368 module_srcdir=libiberty; \
26369 $(SHELL) $$s/$$module_srcdir/configure \
26370 --srcdir=$${topdir}/$$module_srcdir \
26371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26372 --target=${target_alias} \
26374 $(STAGE1_CONFIGURE_FLAGS) \
26375 @extra_host_libiberty_configure_flags@
26376 @endif libiberty-bootstrap
26378 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26379 maybe-configure-stage2-libiberty:
26380 @if libiberty-bootstrap
26381 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26382 configure-stage2-libiberty:
26383 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26384 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26385 @r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 TFLAGS="$(STAGE2_TFLAGS)"; \
26388 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26389 $(HOST_EXPORTS) \
26390 $(POSTSTAGE1_HOST_EXPORTS) \
26391 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26392 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26393 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26394 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26395 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26396 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26397 case $(srcdir) in \
26398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26399 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26401 esac; \
26402 module_srcdir=libiberty; \
26403 $(SHELL) $$s/$$module_srcdir/configure \
26404 --srcdir=$${topdir}/$$module_srcdir \
26405 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26406 --target=${target_alias} \
26407 --with-build-libsubdir=$(HOST_SUBDIR) \
26408 $(STAGE2_CONFIGURE_FLAGS) \
26409 @extra_host_libiberty_configure_flags@
26410 @endif libiberty-bootstrap
26412 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26413 maybe-configure-stage3-libiberty:
26414 @if libiberty-bootstrap
26415 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26416 configure-stage3-libiberty:
26417 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26418 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26419 @r=`${PWD_COMMAND}`; export r; \
26420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26421 TFLAGS="$(STAGE3_TFLAGS)"; \
26422 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26423 $(HOST_EXPORTS) \
26424 $(POSTSTAGE1_HOST_EXPORTS) \
26425 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26426 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26427 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26428 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26430 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26431 case $(srcdir) in \
26432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26433 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26435 esac; \
26436 module_srcdir=libiberty; \
26437 $(SHELL) $$s/$$module_srcdir/configure \
26438 --srcdir=$${topdir}/$$module_srcdir \
26439 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26440 --target=${target_alias} \
26441 --with-build-libsubdir=$(HOST_SUBDIR) \
26442 $(STAGE3_CONFIGURE_FLAGS) \
26443 @extra_host_libiberty_configure_flags@
26444 @endif libiberty-bootstrap
26446 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26447 maybe-configure-stage4-libiberty:
26448 @if libiberty-bootstrap
26449 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26450 configure-stage4-libiberty:
26451 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26452 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26453 @r=`${PWD_COMMAND}`; export r; \
26454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26455 TFLAGS="$(STAGE4_TFLAGS)"; \
26456 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26457 $(HOST_EXPORTS) \
26458 $(POSTSTAGE1_HOST_EXPORTS) \
26459 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26460 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26461 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26462 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26464 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26465 case $(srcdir) in \
26466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26467 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26469 esac; \
26470 module_srcdir=libiberty; \
26471 $(SHELL) $$s/$$module_srcdir/configure \
26472 --srcdir=$${topdir}/$$module_srcdir \
26473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26474 --target=${target_alias} \
26475 --with-build-libsubdir=$(HOST_SUBDIR) \
26476 $(STAGE4_CONFIGURE_FLAGS) \
26477 @extra_host_libiberty_configure_flags@
26478 @endif libiberty-bootstrap
26480 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26481 maybe-configure-stageprofile-libiberty:
26482 @if libiberty-bootstrap
26483 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26484 configure-stageprofile-libiberty:
26485 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26486 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26487 @r=`${PWD_COMMAND}`; export r; \
26488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26489 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26490 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26491 $(HOST_EXPORTS) \
26492 $(POSTSTAGE1_HOST_EXPORTS) \
26493 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26494 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26495 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26496 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26498 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26499 case $(srcdir) in \
26500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26501 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26503 esac; \
26504 module_srcdir=libiberty; \
26505 $(SHELL) $$s/$$module_srcdir/configure \
26506 --srcdir=$${topdir}/$$module_srcdir \
26507 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26508 --target=${target_alias} \
26509 --with-build-libsubdir=$(HOST_SUBDIR) \
26510 $(STAGEprofile_CONFIGURE_FLAGS) \
26511 @extra_host_libiberty_configure_flags@
26512 @endif libiberty-bootstrap
26514 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26515 maybe-configure-stagetrain-libiberty:
26516 @if libiberty-bootstrap
26517 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26518 configure-stagetrain-libiberty:
26519 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26520 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26521 @r=`${PWD_COMMAND}`; export r; \
26522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26523 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26524 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26525 $(HOST_EXPORTS) \
26526 $(POSTSTAGE1_HOST_EXPORTS) \
26527 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26528 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26529 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26530 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26532 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26533 case $(srcdir) in \
26534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26535 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26537 esac; \
26538 module_srcdir=libiberty; \
26539 $(SHELL) $$s/$$module_srcdir/configure \
26540 --srcdir=$${topdir}/$$module_srcdir \
26541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26542 --target=${target_alias} \
26543 --with-build-libsubdir=$(HOST_SUBDIR) \
26544 $(STAGEtrain_CONFIGURE_FLAGS) \
26545 @extra_host_libiberty_configure_flags@
26546 @endif libiberty-bootstrap
26548 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26549 maybe-configure-stagefeedback-libiberty:
26550 @if libiberty-bootstrap
26551 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26552 configure-stagefeedback-libiberty:
26553 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26555 @r=`${PWD_COMMAND}`; export r; \
26556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26557 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26558 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26559 $(HOST_EXPORTS) \
26560 $(POSTSTAGE1_HOST_EXPORTS) \
26561 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26562 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26563 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26564 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26566 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26567 case $(srcdir) in \
26568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26569 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26571 esac; \
26572 module_srcdir=libiberty; \
26573 $(SHELL) $$s/$$module_srcdir/configure \
26574 --srcdir=$${topdir}/$$module_srcdir \
26575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26576 --target=${target_alias} \
26577 --with-build-libsubdir=$(HOST_SUBDIR) \
26578 $(STAGEfeedback_CONFIGURE_FLAGS) \
26579 @extra_host_libiberty_configure_flags@
26580 @endif libiberty-bootstrap
26582 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26583 maybe-configure-stageautoprofile-libiberty:
26584 @if libiberty-bootstrap
26585 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26586 configure-stageautoprofile-libiberty:
26587 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26589 @r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26592 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26593 $(HOST_EXPORTS) \
26594 $(POSTSTAGE1_HOST_EXPORTS) \
26595 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26596 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26597 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26598 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26600 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26601 case $(srcdir) in \
26602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26603 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26605 esac; \
26606 module_srcdir=libiberty; \
26607 $(SHELL) $$s/$$module_srcdir/configure \
26608 --srcdir=$${topdir}/$$module_srcdir \
26609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26610 --target=${target_alias} \
26611 --with-build-libsubdir=$(HOST_SUBDIR) \
26612 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26613 @extra_host_libiberty_configure_flags@
26614 @endif libiberty-bootstrap
26616 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26617 maybe-configure-stageautofeedback-libiberty:
26618 @if libiberty-bootstrap
26619 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26620 configure-stageautofeedback-libiberty:
26621 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26622 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26623 @r=`${PWD_COMMAND}`; export r; \
26624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26625 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26626 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26627 $(HOST_EXPORTS) \
26628 $(POSTSTAGE1_HOST_EXPORTS) \
26629 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26630 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26631 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26632 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26634 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26635 case $(srcdir) in \
26636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26637 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26639 esac; \
26640 module_srcdir=libiberty; \
26641 $(SHELL) $$s/$$module_srcdir/configure \
26642 --srcdir=$${topdir}/$$module_srcdir \
26643 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26644 --target=${target_alias} \
26645 --with-build-libsubdir=$(HOST_SUBDIR) \
26646 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26647 @extra_host_libiberty_configure_flags@
26648 @endif libiberty-bootstrap
26654 .PHONY: all-libiberty maybe-all-libiberty
26655 maybe-all-libiberty:
26656 @if gcc-bootstrap
26657 all-libiberty: stage_current
26658 @endif gcc-bootstrap
26659 @if libiberty
26660 TARGET-libiberty=all
26661 maybe-all-libiberty: all-libiberty
26662 all-libiberty: configure-libiberty
26663 @r=`${PWD_COMMAND}`; export r; \
26664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26665 $(HOST_EXPORTS) \
26666 (cd $(HOST_SUBDIR)/libiberty && \
26667 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26668 $(TARGET-libiberty))
26669 @endif libiberty
26673 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26674 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26675 maybe-all-stage1-libiberty:
26676 maybe-clean-stage1-libiberty:
26677 @if libiberty-bootstrap
26678 maybe-all-stage1-libiberty: all-stage1-libiberty
26679 all-stage1: all-stage1-libiberty
26680 TARGET-stage1-libiberty = $(TARGET-libiberty)
26681 all-stage1-libiberty: configure-stage1-libiberty
26682 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26683 @r=`${PWD_COMMAND}`; export r; \
26684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26685 TFLAGS="$(STAGE1_TFLAGS)"; \
26686 $(HOST_EXPORTS) \
26687 cd $(HOST_SUBDIR)/libiberty && \
26689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26690 CFLAGS="$(STAGE1_CFLAGS)" \
26691 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26692 LIBCFLAGS="$(LIBCFLAGS)" \
26693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26696 $(EXTRA_HOST_FLAGS) \
26697 $(STAGE1_FLAGS_TO_PASS) \
26698 TFLAGS="$(STAGE1_TFLAGS)" \
26699 $(TARGET-stage1-libiberty)
26701 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26702 clean-stage1: clean-stage1-libiberty
26703 clean-stage1-libiberty:
26704 @if [ $(current_stage) = stage1 ]; then \
26705 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26706 else \
26707 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26708 $(MAKE) stage1-start; \
26709 fi; \
26710 cd $(HOST_SUBDIR)/libiberty && \
26711 $(MAKE) $(EXTRA_HOST_FLAGS) \
26712 $(STAGE1_FLAGS_TO_PASS) clean
26713 @endif libiberty-bootstrap
26716 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26717 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26718 maybe-all-stage2-libiberty:
26719 maybe-clean-stage2-libiberty:
26720 @if libiberty-bootstrap
26721 maybe-all-stage2-libiberty: all-stage2-libiberty
26722 all-stage2: all-stage2-libiberty
26723 TARGET-stage2-libiberty = $(TARGET-libiberty)
26724 all-stage2-libiberty: configure-stage2-libiberty
26725 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26726 @r=`${PWD_COMMAND}`; export r; \
26727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26728 TFLAGS="$(STAGE2_TFLAGS)"; \
26729 $(HOST_EXPORTS) \
26730 $(POSTSTAGE1_HOST_EXPORTS) \
26731 cd $(HOST_SUBDIR)/libiberty && \
26733 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26734 CFLAGS="$(STAGE2_CFLAGS)" \
26735 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26736 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26737 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26738 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26739 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26740 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26741 TFLAGS="$(STAGE2_TFLAGS)" \
26742 $(TARGET-stage2-libiberty)
26744 maybe-clean-stage2-libiberty: clean-stage2-libiberty
26745 clean-stage2: clean-stage2-libiberty
26746 clean-stage2-libiberty:
26747 @if [ $(current_stage) = stage2 ]; then \
26748 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26749 else \
26750 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
26751 $(MAKE) stage2-start; \
26752 fi; \
26753 cd $(HOST_SUBDIR)/libiberty && \
26754 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26755 @endif libiberty-bootstrap
26758 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
26759 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
26760 maybe-all-stage3-libiberty:
26761 maybe-clean-stage3-libiberty:
26762 @if libiberty-bootstrap
26763 maybe-all-stage3-libiberty: all-stage3-libiberty
26764 all-stage3: all-stage3-libiberty
26765 TARGET-stage3-libiberty = $(TARGET-libiberty)
26766 all-stage3-libiberty: configure-stage3-libiberty
26767 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26768 @r=`${PWD_COMMAND}`; export r; \
26769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26770 TFLAGS="$(STAGE3_TFLAGS)"; \
26771 $(HOST_EXPORTS) \
26772 $(POSTSTAGE1_HOST_EXPORTS) \
26773 cd $(HOST_SUBDIR)/libiberty && \
26775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26776 CFLAGS="$(STAGE3_CFLAGS)" \
26777 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26778 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26783 TFLAGS="$(STAGE3_TFLAGS)" \
26784 $(TARGET-stage3-libiberty)
26786 maybe-clean-stage3-libiberty: clean-stage3-libiberty
26787 clean-stage3: clean-stage3-libiberty
26788 clean-stage3-libiberty:
26789 @if [ $(current_stage) = stage3 ]; then \
26790 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26791 else \
26792 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
26793 $(MAKE) stage3-start; \
26794 fi; \
26795 cd $(HOST_SUBDIR)/libiberty && \
26796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26797 @endif libiberty-bootstrap
26800 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
26801 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
26802 maybe-all-stage4-libiberty:
26803 maybe-clean-stage4-libiberty:
26804 @if libiberty-bootstrap
26805 maybe-all-stage4-libiberty: all-stage4-libiberty
26806 all-stage4: all-stage4-libiberty
26807 TARGET-stage4-libiberty = $(TARGET-libiberty)
26808 all-stage4-libiberty: configure-stage4-libiberty
26809 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26810 @r=`${PWD_COMMAND}`; export r; \
26811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26812 TFLAGS="$(STAGE4_TFLAGS)"; \
26813 $(HOST_EXPORTS) \
26814 $(POSTSTAGE1_HOST_EXPORTS) \
26815 cd $(HOST_SUBDIR)/libiberty && \
26817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26818 CFLAGS="$(STAGE4_CFLAGS)" \
26819 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26820 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26821 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26822 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26823 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26824 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26825 TFLAGS="$(STAGE4_TFLAGS)" \
26826 $(TARGET-stage4-libiberty)
26828 maybe-clean-stage4-libiberty: clean-stage4-libiberty
26829 clean-stage4: clean-stage4-libiberty
26830 clean-stage4-libiberty:
26831 @if [ $(current_stage) = stage4 ]; then \
26832 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26833 else \
26834 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
26835 $(MAKE) stage4-start; \
26836 fi; \
26837 cd $(HOST_SUBDIR)/libiberty && \
26838 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26839 @endif libiberty-bootstrap
26842 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
26843 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
26844 maybe-all-stageprofile-libiberty:
26845 maybe-clean-stageprofile-libiberty:
26846 @if libiberty-bootstrap
26847 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
26848 all-stageprofile: all-stageprofile-libiberty
26849 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
26850 all-stageprofile-libiberty: configure-stageprofile-libiberty
26851 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26852 @r=`${PWD_COMMAND}`; export r; \
26853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26854 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26855 $(HOST_EXPORTS) \
26856 $(POSTSTAGE1_HOST_EXPORTS) \
26857 cd $(HOST_SUBDIR)/libiberty && \
26859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26860 CFLAGS="$(STAGEprofile_CFLAGS)" \
26861 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26862 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26863 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26864 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26865 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26866 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26867 TFLAGS="$(STAGEprofile_TFLAGS)" \
26868 $(TARGET-stageprofile-libiberty)
26870 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
26871 clean-stageprofile: clean-stageprofile-libiberty
26872 clean-stageprofile-libiberty:
26873 @if [ $(current_stage) = stageprofile ]; then \
26874 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26875 else \
26876 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
26877 $(MAKE) stageprofile-start; \
26878 fi; \
26879 cd $(HOST_SUBDIR)/libiberty && \
26880 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26881 @endif libiberty-bootstrap
26884 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
26885 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
26886 maybe-all-stagetrain-libiberty:
26887 maybe-clean-stagetrain-libiberty:
26888 @if libiberty-bootstrap
26889 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
26890 all-stagetrain: all-stagetrain-libiberty
26891 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
26892 all-stagetrain-libiberty: configure-stagetrain-libiberty
26893 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26894 @r=`${PWD_COMMAND}`; export r; \
26895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26896 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26897 $(HOST_EXPORTS) \
26898 $(POSTSTAGE1_HOST_EXPORTS) \
26899 cd $(HOST_SUBDIR)/libiberty && \
26901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26902 CFLAGS="$(STAGEtrain_CFLAGS)" \
26903 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26904 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26908 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26909 TFLAGS="$(STAGEtrain_TFLAGS)" \
26910 $(TARGET-stagetrain-libiberty)
26912 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
26913 clean-stagetrain: clean-stagetrain-libiberty
26914 clean-stagetrain-libiberty:
26915 @if [ $(current_stage) = stagetrain ]; then \
26916 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26917 else \
26918 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
26919 $(MAKE) stagetrain-start; \
26920 fi; \
26921 cd $(HOST_SUBDIR)/libiberty && \
26922 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26923 @endif libiberty-bootstrap
26926 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
26927 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
26928 maybe-all-stagefeedback-libiberty:
26929 maybe-clean-stagefeedback-libiberty:
26930 @if libiberty-bootstrap
26931 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
26932 all-stagefeedback: all-stagefeedback-libiberty
26933 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
26934 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
26935 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26936 @r=`${PWD_COMMAND}`; export r; \
26937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26938 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26939 $(HOST_EXPORTS) \
26940 $(POSTSTAGE1_HOST_EXPORTS) \
26941 cd $(HOST_SUBDIR)/libiberty && \
26943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26944 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26945 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26946 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26950 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26951 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26952 $(TARGET-stagefeedback-libiberty)
26954 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
26955 clean-stagefeedback: clean-stagefeedback-libiberty
26956 clean-stagefeedback-libiberty:
26957 @if [ $(current_stage) = stagefeedback ]; then \
26958 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26959 else \
26960 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
26961 $(MAKE) stagefeedback-start; \
26962 fi; \
26963 cd $(HOST_SUBDIR)/libiberty && \
26964 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26965 @endif libiberty-bootstrap
26968 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
26969 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
26970 maybe-all-stageautoprofile-libiberty:
26971 maybe-clean-stageautoprofile-libiberty:
26972 @if libiberty-bootstrap
26973 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
26974 all-stageautoprofile: all-stageautoprofile-libiberty
26975 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
26976 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26977 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26978 @r=`${PWD_COMMAND}`; export r; \
26979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26980 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26981 $(HOST_EXPORTS) \
26982 $(POSTSTAGE1_HOST_EXPORTS) \
26983 cd $(HOST_SUBDIR)/libiberty && \
26984 $$s/gcc/config/i386/$(AUTO_PROFILE) \
26985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26986 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
26987 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
26988 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
26989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26993 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
26994 $(TARGET-stageautoprofile-libiberty)
26996 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
26997 clean-stageautoprofile: clean-stageautoprofile-libiberty
26998 clean-stageautoprofile-libiberty:
26999 @if [ $(current_stage) = stageautoprofile ]; then \
27000 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27001 else \
27002 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27003 $(MAKE) stageautoprofile-start; \
27004 fi; \
27005 cd $(HOST_SUBDIR)/libiberty && \
27006 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27007 @endif libiberty-bootstrap
27010 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27011 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27012 maybe-all-stageautofeedback-libiberty:
27013 maybe-clean-stageautofeedback-libiberty:
27014 @if libiberty-bootstrap
27015 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27016 all-stageautofeedback: all-stageautofeedback-libiberty
27017 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27018 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27019 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27020 @r=`${PWD_COMMAND}`; export r; \
27021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27022 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27023 $(HOST_EXPORTS) \
27024 $(POSTSTAGE1_HOST_EXPORTS) \
27025 cd $(HOST_SUBDIR)/libiberty && \
27027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27028 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27029 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27030 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27034 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27035 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27036 $(TARGET-stageautofeedback-libiberty)
27038 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27039 clean-stageautofeedback: clean-stageautofeedback-libiberty
27040 clean-stageautofeedback-libiberty:
27041 @if [ $(current_stage) = stageautofeedback ]; then \
27042 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27043 else \
27044 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27045 $(MAKE) stageautofeedback-start; \
27046 fi; \
27047 cd $(HOST_SUBDIR)/libiberty && \
27048 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27049 @endif libiberty-bootstrap
27055 .PHONY: check-libiberty maybe-check-libiberty
27056 maybe-check-libiberty:
27057 @if libiberty
27058 maybe-check-libiberty: check-libiberty
27060 check-libiberty:
27061 @: $(MAKE); $(unstage)
27062 @r=`${PWD_COMMAND}`; export r; \
27063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27064 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27065 (cd $(HOST_SUBDIR)/libiberty && \
27066 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27068 @endif libiberty
27070 .PHONY: install-libiberty maybe-install-libiberty
27071 maybe-install-libiberty:
27072 @if libiberty
27073 maybe-install-libiberty: install-libiberty
27075 install-libiberty: installdirs
27076 @: $(MAKE); $(unstage)
27077 @r=`${PWD_COMMAND}`; export r; \
27078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27079 $(HOST_EXPORTS) \
27080 (cd $(HOST_SUBDIR)/libiberty && \
27081 $(MAKE) $(FLAGS_TO_PASS) install)
27083 @endif libiberty
27085 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27086 maybe-install-strip-libiberty:
27087 @if libiberty
27088 maybe-install-strip-libiberty: install-strip-libiberty
27090 install-strip-libiberty: installdirs
27091 @: $(MAKE); $(unstage)
27092 @r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094 $(HOST_EXPORTS) \
27095 (cd $(HOST_SUBDIR)/libiberty && \
27096 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27098 @endif libiberty
27100 # Other targets (info, dvi, pdf, etc.)
27102 .PHONY: maybe-info-libiberty info-libiberty
27103 maybe-info-libiberty:
27104 @if libiberty
27105 maybe-info-libiberty: info-libiberty
27107 info-libiberty: \
27108 configure-libiberty
27109 @[ -f ./libiberty/Makefile ] || exit 0; \
27110 r=`${PWD_COMMAND}`; export r; \
27111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27112 $(HOST_EXPORTS) \
27113 for flag in $(EXTRA_HOST_FLAGS) ; do \
27114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27115 done; \
27116 echo "Doing info in libiberty"; \
27117 (cd $(HOST_SUBDIR)/libiberty && \
27118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27120 "RANLIB=$${RANLIB}" \
27121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27122 info) \
27123 || exit 1
27125 @endif libiberty
27127 .PHONY: maybe-dvi-libiberty dvi-libiberty
27128 maybe-dvi-libiberty:
27129 @if libiberty
27130 maybe-dvi-libiberty: dvi-libiberty
27132 dvi-libiberty: \
27133 configure-libiberty
27134 @[ -f ./libiberty/Makefile ] || exit 0; \
27135 r=`${PWD_COMMAND}`; export r; \
27136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27137 $(HOST_EXPORTS) \
27138 for flag in $(EXTRA_HOST_FLAGS) ; do \
27139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27140 done; \
27141 echo "Doing dvi in libiberty"; \
27142 (cd $(HOST_SUBDIR)/libiberty && \
27143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27145 "RANLIB=$${RANLIB}" \
27146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27147 dvi) \
27148 || exit 1
27150 @endif libiberty
27152 .PHONY: maybe-pdf-libiberty pdf-libiberty
27153 maybe-pdf-libiberty:
27154 @if libiberty
27155 maybe-pdf-libiberty: pdf-libiberty
27157 pdf-libiberty: \
27158 configure-libiberty
27159 @[ -f ./libiberty/Makefile ] || exit 0; \
27160 r=`${PWD_COMMAND}`; export r; \
27161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27162 $(HOST_EXPORTS) \
27163 for flag in $(EXTRA_HOST_FLAGS) ; do \
27164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27165 done; \
27166 echo "Doing pdf in libiberty"; \
27167 (cd $(HOST_SUBDIR)/libiberty && \
27168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27170 "RANLIB=$${RANLIB}" \
27171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27172 pdf) \
27173 || exit 1
27175 @endif libiberty
27177 .PHONY: maybe-html-libiberty html-libiberty
27178 maybe-html-libiberty:
27179 @if libiberty
27180 maybe-html-libiberty: html-libiberty
27182 html-libiberty: \
27183 configure-libiberty
27184 @[ -f ./libiberty/Makefile ] || exit 0; \
27185 r=`${PWD_COMMAND}`; export r; \
27186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27187 $(HOST_EXPORTS) \
27188 for flag in $(EXTRA_HOST_FLAGS) ; do \
27189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27190 done; \
27191 echo "Doing html in libiberty"; \
27192 (cd $(HOST_SUBDIR)/libiberty && \
27193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27195 "RANLIB=$${RANLIB}" \
27196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27197 html) \
27198 || exit 1
27200 @endif libiberty
27202 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27203 maybe-TAGS-libiberty:
27204 @if libiberty
27205 maybe-TAGS-libiberty: TAGS-libiberty
27207 TAGS-libiberty: \
27208 configure-libiberty
27209 @[ -f ./libiberty/Makefile ] || exit 0; \
27210 r=`${PWD_COMMAND}`; export r; \
27211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27212 $(HOST_EXPORTS) \
27213 for flag in $(EXTRA_HOST_FLAGS) ; do \
27214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27215 done; \
27216 echo "Doing TAGS in libiberty"; \
27217 (cd $(HOST_SUBDIR)/libiberty && \
27218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27220 "RANLIB=$${RANLIB}" \
27221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27222 TAGS) \
27223 || exit 1
27225 @endif libiberty
27227 .PHONY: maybe-install-info-libiberty install-info-libiberty
27228 maybe-install-info-libiberty:
27229 @if libiberty
27230 maybe-install-info-libiberty: install-info-libiberty
27232 install-info-libiberty: \
27233 configure-libiberty \
27234 info-libiberty
27235 @[ -f ./libiberty/Makefile ] || exit 0; \
27236 r=`${PWD_COMMAND}`; export r; \
27237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27238 $(HOST_EXPORTS) \
27239 for flag in $(EXTRA_HOST_FLAGS) ; do \
27240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27241 done; \
27242 echo "Doing install-info in libiberty"; \
27243 (cd $(HOST_SUBDIR)/libiberty && \
27244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27246 "RANLIB=$${RANLIB}" \
27247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27248 install-info) \
27249 || exit 1
27251 @endif libiberty
27253 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27254 maybe-install-pdf-libiberty:
27255 @if libiberty
27256 maybe-install-pdf-libiberty: install-pdf-libiberty
27258 install-pdf-libiberty: \
27259 configure-libiberty \
27260 pdf-libiberty
27261 @[ -f ./libiberty/Makefile ] || exit 0; \
27262 r=`${PWD_COMMAND}`; export r; \
27263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27264 $(HOST_EXPORTS) \
27265 for flag in $(EXTRA_HOST_FLAGS) ; do \
27266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27267 done; \
27268 echo "Doing install-pdf in libiberty"; \
27269 (cd $(HOST_SUBDIR)/libiberty && \
27270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27272 "RANLIB=$${RANLIB}" \
27273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27274 install-pdf) \
27275 || exit 1
27277 @endif libiberty
27279 .PHONY: maybe-install-html-libiberty install-html-libiberty
27280 maybe-install-html-libiberty:
27281 @if libiberty
27282 maybe-install-html-libiberty: install-html-libiberty
27284 install-html-libiberty: \
27285 configure-libiberty \
27286 html-libiberty
27287 @[ -f ./libiberty/Makefile ] || exit 0; \
27288 r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(HOST_EXPORTS) \
27291 for flag in $(EXTRA_HOST_FLAGS) ; do \
27292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27293 done; \
27294 echo "Doing install-html in libiberty"; \
27295 (cd $(HOST_SUBDIR)/libiberty && \
27296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27298 "RANLIB=$${RANLIB}" \
27299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27300 install-html) \
27301 || exit 1
27303 @endif libiberty
27305 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27306 maybe-installcheck-libiberty:
27307 @if libiberty
27308 maybe-installcheck-libiberty: installcheck-libiberty
27310 installcheck-libiberty: \
27311 configure-libiberty
27312 @[ -f ./libiberty/Makefile ] || exit 0; \
27313 r=`${PWD_COMMAND}`; export r; \
27314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27315 $(HOST_EXPORTS) \
27316 for flag in $(EXTRA_HOST_FLAGS) ; do \
27317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27318 done; \
27319 echo "Doing installcheck in libiberty"; \
27320 (cd $(HOST_SUBDIR)/libiberty && \
27321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27323 "RANLIB=$${RANLIB}" \
27324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27325 installcheck) \
27326 || exit 1
27328 @endif libiberty
27330 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27331 maybe-mostlyclean-libiberty:
27332 @if libiberty
27333 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27335 mostlyclean-libiberty:
27336 @[ -f ./libiberty/Makefile ] || exit 0; \
27337 r=`${PWD_COMMAND}`; export r; \
27338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27339 $(HOST_EXPORTS) \
27340 for flag in $(EXTRA_HOST_FLAGS) ; do \
27341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27342 done; \
27343 echo "Doing mostlyclean in libiberty"; \
27344 (cd $(HOST_SUBDIR)/libiberty && \
27345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27347 "RANLIB=$${RANLIB}" \
27348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27349 mostlyclean) \
27350 || exit 1
27352 @endif libiberty
27354 .PHONY: maybe-clean-libiberty clean-libiberty
27355 maybe-clean-libiberty:
27356 @if libiberty
27357 maybe-clean-libiberty: clean-libiberty
27359 clean-libiberty:
27360 @[ -f ./libiberty/Makefile ] || exit 0; \
27361 r=`${PWD_COMMAND}`; export r; \
27362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27363 $(HOST_EXPORTS) \
27364 for flag in $(EXTRA_HOST_FLAGS) ; do \
27365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27366 done; \
27367 echo "Doing clean in libiberty"; \
27368 (cd $(HOST_SUBDIR)/libiberty && \
27369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27371 "RANLIB=$${RANLIB}" \
27372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27373 clean) \
27374 || exit 1
27376 @endif libiberty
27378 .PHONY: maybe-distclean-libiberty distclean-libiberty
27379 maybe-distclean-libiberty:
27380 @if libiberty
27381 maybe-distclean-libiberty: distclean-libiberty
27383 distclean-libiberty:
27384 @[ -f ./libiberty/Makefile ] || exit 0; \
27385 r=`${PWD_COMMAND}`; export r; \
27386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(HOST_EXPORTS) \
27388 for flag in $(EXTRA_HOST_FLAGS) ; do \
27389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27390 done; \
27391 echo "Doing distclean in libiberty"; \
27392 (cd $(HOST_SUBDIR)/libiberty && \
27393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27395 "RANLIB=$${RANLIB}" \
27396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27397 distclean) \
27398 || exit 1
27400 @endif libiberty
27402 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27403 maybe-maintainer-clean-libiberty:
27404 @if libiberty
27405 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27407 maintainer-clean-libiberty:
27408 @[ -f ./libiberty/Makefile ] || exit 0; \
27409 r=`${PWD_COMMAND}`; export r; \
27410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27411 $(HOST_EXPORTS) \
27412 for flag in $(EXTRA_HOST_FLAGS) ; do \
27413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27414 done; \
27415 echo "Doing maintainer-clean in libiberty"; \
27416 (cd $(HOST_SUBDIR)/libiberty && \
27417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27419 "RANLIB=$${RANLIB}" \
27420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27421 maintainer-clean) \
27422 || exit 1
27424 @endif libiberty
27428 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27429 maybe-configure-libiberty-linker-plugin:
27430 @if gcc-bootstrap
27431 configure-libiberty-linker-plugin: stage_current
27432 @endif gcc-bootstrap
27433 @if libiberty-linker-plugin
27434 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27435 configure-libiberty-linker-plugin:
27436 @r=`${PWD_COMMAND}`; export r; \
27437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27438 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27440 $(HOST_EXPORTS) \
27441 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27442 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27443 case $(srcdir) in \
27444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27445 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27447 esac; \
27448 module_srcdir=libiberty; \
27449 $(SHELL) \
27450 $$s/$$module_srcdir/configure \
27451 --srcdir=$${topdir}/$$module_srcdir \
27452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27453 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27454 || exit 1
27455 @endif libiberty-linker-plugin
27459 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27460 maybe-configure-stage1-libiberty-linker-plugin:
27461 @if libiberty-linker-plugin-bootstrap
27462 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27463 configure-stage1-libiberty-linker-plugin:
27464 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27465 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27466 @r=`${PWD_COMMAND}`; export r; \
27467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27468 TFLAGS="$(STAGE1_TFLAGS)"; \
27469 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27470 $(HOST_EXPORTS) \
27471 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27472 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27473 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27474 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27476 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27477 case $(srcdir) in \
27478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27479 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27481 esac; \
27482 module_srcdir=libiberty; \
27483 $(SHELL) $$s/$$module_srcdir/configure \
27484 --srcdir=$${topdir}/$$module_srcdir \
27485 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27486 --target=${target_alias} \
27488 $(STAGE1_CONFIGURE_FLAGS) \
27489 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27490 @endif libiberty-linker-plugin-bootstrap
27492 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27493 maybe-configure-stage2-libiberty-linker-plugin:
27494 @if libiberty-linker-plugin-bootstrap
27495 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27496 configure-stage2-libiberty-linker-plugin:
27497 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27498 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27499 @r=`${PWD_COMMAND}`; export r; \
27500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27501 TFLAGS="$(STAGE2_TFLAGS)"; \
27502 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27503 $(HOST_EXPORTS) \
27504 $(POSTSTAGE1_HOST_EXPORTS) \
27505 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27506 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27507 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27508 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27510 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27511 case $(srcdir) in \
27512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27513 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27515 esac; \
27516 module_srcdir=libiberty; \
27517 $(SHELL) $$s/$$module_srcdir/configure \
27518 --srcdir=$${topdir}/$$module_srcdir \
27519 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27520 --target=${target_alias} \
27521 --with-build-libsubdir=$(HOST_SUBDIR) \
27522 $(STAGE2_CONFIGURE_FLAGS) \
27523 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27524 @endif libiberty-linker-plugin-bootstrap
27526 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27527 maybe-configure-stage3-libiberty-linker-plugin:
27528 @if libiberty-linker-plugin-bootstrap
27529 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27530 configure-stage3-libiberty-linker-plugin:
27531 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27532 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27533 @r=`${PWD_COMMAND}`; export r; \
27534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27535 TFLAGS="$(STAGE3_TFLAGS)"; \
27536 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27537 $(HOST_EXPORTS) \
27538 $(POSTSTAGE1_HOST_EXPORTS) \
27539 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27540 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27541 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27542 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27544 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27545 case $(srcdir) in \
27546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27547 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27549 esac; \
27550 module_srcdir=libiberty; \
27551 $(SHELL) $$s/$$module_srcdir/configure \
27552 --srcdir=$${topdir}/$$module_srcdir \
27553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27554 --target=${target_alias} \
27555 --with-build-libsubdir=$(HOST_SUBDIR) \
27556 $(STAGE3_CONFIGURE_FLAGS) \
27557 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27558 @endif libiberty-linker-plugin-bootstrap
27560 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27561 maybe-configure-stage4-libiberty-linker-plugin:
27562 @if libiberty-linker-plugin-bootstrap
27563 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27564 configure-stage4-libiberty-linker-plugin:
27565 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27567 @r=`${PWD_COMMAND}`; export r; \
27568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27569 TFLAGS="$(STAGE4_TFLAGS)"; \
27570 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27571 $(HOST_EXPORTS) \
27572 $(POSTSTAGE1_HOST_EXPORTS) \
27573 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27574 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27575 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27576 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27578 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27579 case $(srcdir) in \
27580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27581 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27583 esac; \
27584 module_srcdir=libiberty; \
27585 $(SHELL) $$s/$$module_srcdir/configure \
27586 --srcdir=$${topdir}/$$module_srcdir \
27587 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27588 --target=${target_alias} \
27589 --with-build-libsubdir=$(HOST_SUBDIR) \
27590 $(STAGE4_CONFIGURE_FLAGS) \
27591 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27592 @endif libiberty-linker-plugin-bootstrap
27594 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27595 maybe-configure-stageprofile-libiberty-linker-plugin:
27596 @if libiberty-linker-plugin-bootstrap
27597 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27598 configure-stageprofile-libiberty-linker-plugin:
27599 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27600 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27601 @r=`${PWD_COMMAND}`; export r; \
27602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27603 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27604 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27605 $(HOST_EXPORTS) \
27606 $(POSTSTAGE1_HOST_EXPORTS) \
27607 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27608 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27609 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27610 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27612 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27613 case $(srcdir) in \
27614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27615 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27617 esac; \
27618 module_srcdir=libiberty; \
27619 $(SHELL) $$s/$$module_srcdir/configure \
27620 --srcdir=$${topdir}/$$module_srcdir \
27621 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27622 --target=${target_alias} \
27623 --with-build-libsubdir=$(HOST_SUBDIR) \
27624 $(STAGEprofile_CONFIGURE_FLAGS) \
27625 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27626 @endif libiberty-linker-plugin-bootstrap
27628 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27629 maybe-configure-stagetrain-libiberty-linker-plugin:
27630 @if libiberty-linker-plugin-bootstrap
27631 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27632 configure-stagetrain-libiberty-linker-plugin:
27633 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27634 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27635 @r=`${PWD_COMMAND}`; export r; \
27636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27637 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27638 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27639 $(HOST_EXPORTS) \
27640 $(POSTSTAGE1_HOST_EXPORTS) \
27641 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27642 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27643 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27644 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27646 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27647 case $(srcdir) in \
27648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27649 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27651 esac; \
27652 module_srcdir=libiberty; \
27653 $(SHELL) $$s/$$module_srcdir/configure \
27654 --srcdir=$${topdir}/$$module_srcdir \
27655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27656 --target=${target_alias} \
27657 --with-build-libsubdir=$(HOST_SUBDIR) \
27658 $(STAGEtrain_CONFIGURE_FLAGS) \
27659 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27660 @endif libiberty-linker-plugin-bootstrap
27662 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27663 maybe-configure-stagefeedback-libiberty-linker-plugin:
27664 @if libiberty-linker-plugin-bootstrap
27665 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27666 configure-stagefeedback-libiberty-linker-plugin:
27667 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27669 @r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27672 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27673 $(HOST_EXPORTS) \
27674 $(POSTSTAGE1_HOST_EXPORTS) \
27675 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27676 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27677 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27678 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27680 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27681 case $(srcdir) in \
27682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27683 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27685 esac; \
27686 module_srcdir=libiberty; \
27687 $(SHELL) $$s/$$module_srcdir/configure \
27688 --srcdir=$${topdir}/$$module_srcdir \
27689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27690 --target=${target_alias} \
27691 --with-build-libsubdir=$(HOST_SUBDIR) \
27692 $(STAGEfeedback_CONFIGURE_FLAGS) \
27693 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27694 @endif libiberty-linker-plugin-bootstrap
27696 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27697 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27698 @if libiberty-linker-plugin-bootstrap
27699 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27700 configure-stageautoprofile-libiberty-linker-plugin:
27701 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27703 @r=`${PWD_COMMAND}`; export r; \
27704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27706 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27707 $(HOST_EXPORTS) \
27708 $(POSTSTAGE1_HOST_EXPORTS) \
27709 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27710 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27711 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27712 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27714 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27715 case $(srcdir) in \
27716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27717 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27719 esac; \
27720 module_srcdir=libiberty; \
27721 $(SHELL) $$s/$$module_srcdir/configure \
27722 --srcdir=$${topdir}/$$module_srcdir \
27723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27724 --target=${target_alias} \
27725 --with-build-libsubdir=$(HOST_SUBDIR) \
27726 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27727 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27728 @endif libiberty-linker-plugin-bootstrap
27730 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27731 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27732 @if libiberty-linker-plugin-bootstrap
27733 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27734 configure-stageautofeedback-libiberty-linker-plugin:
27735 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27736 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27737 @r=`${PWD_COMMAND}`; export r; \
27738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27739 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27740 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27741 $(HOST_EXPORTS) \
27742 $(POSTSTAGE1_HOST_EXPORTS) \
27743 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27744 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27745 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27746 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27748 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27749 case $(srcdir) in \
27750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27751 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27753 esac; \
27754 module_srcdir=libiberty; \
27755 $(SHELL) $$s/$$module_srcdir/configure \
27756 --srcdir=$${topdir}/$$module_srcdir \
27757 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27758 --target=${target_alias} \
27759 --with-build-libsubdir=$(HOST_SUBDIR) \
27760 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27761 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27762 @endif libiberty-linker-plugin-bootstrap
27768 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
27769 maybe-all-libiberty-linker-plugin:
27770 @if gcc-bootstrap
27771 all-libiberty-linker-plugin: stage_current
27772 @endif gcc-bootstrap
27773 @if libiberty-linker-plugin
27774 TARGET-libiberty-linker-plugin=all
27775 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
27776 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
27777 @r=`${PWD_COMMAND}`; export r; \
27778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27779 $(HOST_EXPORTS) \
27780 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27781 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27782 $(TARGET-libiberty-linker-plugin))
27783 @endif libiberty-linker-plugin
27787 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
27788 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
27789 maybe-all-stage1-libiberty-linker-plugin:
27790 maybe-clean-stage1-libiberty-linker-plugin:
27791 @if libiberty-linker-plugin-bootstrap
27792 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
27793 all-stage1: all-stage1-libiberty-linker-plugin
27794 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27795 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27796 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27797 @r=`${PWD_COMMAND}`; export r; \
27798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27799 TFLAGS="$(STAGE1_TFLAGS)"; \
27800 $(HOST_EXPORTS) \
27801 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27803 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27804 CFLAGS="$(STAGE1_CFLAGS)" \
27805 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27806 LIBCFLAGS="$(LIBCFLAGS)" \
27807 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27808 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27809 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27810 $(EXTRA_HOST_FLAGS) \
27811 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27812 TFLAGS="$(STAGE1_TFLAGS)" \
27813 $(TARGET-stage1-libiberty-linker-plugin)
27815 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
27816 clean-stage1: clean-stage1-libiberty-linker-plugin
27817 clean-stage1-libiberty-linker-plugin:
27818 @if [ $(current_stage) = stage1 ]; then \
27819 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27820 else \
27821 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
27822 $(MAKE) stage1-start; \
27823 fi; \
27824 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27825 $(MAKE) $(EXTRA_HOST_FLAGS) \
27826 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27827 @endif libiberty-linker-plugin-bootstrap
27830 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
27831 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
27832 maybe-all-stage2-libiberty-linker-plugin:
27833 maybe-clean-stage2-libiberty-linker-plugin:
27834 @if libiberty-linker-plugin-bootstrap
27835 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
27836 all-stage2: all-stage2-libiberty-linker-plugin
27837 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27838 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27839 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27840 @r=`${PWD_COMMAND}`; export r; \
27841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27842 TFLAGS="$(STAGE2_TFLAGS)"; \
27843 $(HOST_EXPORTS) \
27844 $(POSTSTAGE1_HOST_EXPORTS) \
27845 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27848 CFLAGS="$(STAGE2_CFLAGS)" \
27849 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27850 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27854 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27855 TFLAGS="$(STAGE2_TFLAGS)" \
27856 $(TARGET-stage2-libiberty-linker-plugin)
27858 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
27859 clean-stage2: clean-stage2-libiberty-linker-plugin
27860 clean-stage2-libiberty-linker-plugin:
27861 @if [ $(current_stage) = stage2 ]; then \
27862 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27863 else \
27864 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
27865 $(MAKE) stage2-start; \
27866 fi; \
27867 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27868 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27869 @endif libiberty-linker-plugin-bootstrap
27872 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
27873 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
27874 maybe-all-stage3-libiberty-linker-plugin:
27875 maybe-clean-stage3-libiberty-linker-plugin:
27876 @if libiberty-linker-plugin-bootstrap
27877 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
27878 all-stage3: all-stage3-libiberty-linker-plugin
27879 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27880 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27881 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27882 @r=`${PWD_COMMAND}`; export r; \
27883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27884 TFLAGS="$(STAGE3_TFLAGS)"; \
27885 $(HOST_EXPORTS) \
27886 $(POSTSTAGE1_HOST_EXPORTS) \
27887 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27889 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27890 CFLAGS="$(STAGE3_CFLAGS)" \
27891 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27892 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27893 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27894 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27895 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27896 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27897 TFLAGS="$(STAGE3_TFLAGS)" \
27898 $(TARGET-stage3-libiberty-linker-plugin)
27900 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
27901 clean-stage3: clean-stage3-libiberty-linker-plugin
27902 clean-stage3-libiberty-linker-plugin:
27903 @if [ $(current_stage) = stage3 ]; then \
27904 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27905 else \
27906 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
27907 $(MAKE) stage3-start; \
27908 fi; \
27909 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27910 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27911 @endif libiberty-linker-plugin-bootstrap
27914 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
27915 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
27916 maybe-all-stage4-libiberty-linker-plugin:
27917 maybe-clean-stage4-libiberty-linker-plugin:
27918 @if libiberty-linker-plugin-bootstrap
27919 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
27920 all-stage4: all-stage4-libiberty-linker-plugin
27921 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27922 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27923 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27924 @r=`${PWD_COMMAND}`; export r; \
27925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27926 TFLAGS="$(STAGE4_TFLAGS)"; \
27927 $(HOST_EXPORTS) \
27928 $(POSTSTAGE1_HOST_EXPORTS) \
27929 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27932 CFLAGS="$(STAGE4_CFLAGS)" \
27933 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27934 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27938 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27939 TFLAGS="$(STAGE4_TFLAGS)" \
27940 $(TARGET-stage4-libiberty-linker-plugin)
27942 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
27943 clean-stage4: clean-stage4-libiberty-linker-plugin
27944 clean-stage4-libiberty-linker-plugin:
27945 @if [ $(current_stage) = stage4 ]; then \
27946 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27947 else \
27948 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
27949 $(MAKE) stage4-start; \
27950 fi; \
27951 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27952 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27953 @endif libiberty-linker-plugin-bootstrap
27956 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
27957 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
27958 maybe-all-stageprofile-libiberty-linker-plugin:
27959 maybe-clean-stageprofile-libiberty-linker-plugin:
27960 @if libiberty-linker-plugin-bootstrap
27961 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
27962 all-stageprofile: all-stageprofile-libiberty-linker-plugin
27963 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27964 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27965 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27966 @r=`${PWD_COMMAND}`; export r; \
27967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27968 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27969 $(HOST_EXPORTS) \
27970 $(POSTSTAGE1_HOST_EXPORTS) \
27971 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27973 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27974 CFLAGS="$(STAGEprofile_CFLAGS)" \
27975 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27976 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27980 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27981 TFLAGS="$(STAGEprofile_TFLAGS)" \
27982 $(TARGET-stageprofile-libiberty-linker-plugin)
27984 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
27985 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
27986 clean-stageprofile-libiberty-linker-plugin:
27987 @if [ $(current_stage) = stageprofile ]; then \
27988 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27989 else \
27990 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
27991 $(MAKE) stageprofile-start; \
27992 fi; \
27993 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27994 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27995 @endif libiberty-linker-plugin-bootstrap
27998 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
27999 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28000 maybe-all-stagetrain-libiberty-linker-plugin:
28001 maybe-clean-stagetrain-libiberty-linker-plugin:
28002 @if libiberty-linker-plugin-bootstrap
28003 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28004 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28005 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28006 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28007 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28008 @r=`${PWD_COMMAND}`; export r; \
28009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28010 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28011 $(HOST_EXPORTS) \
28012 $(POSTSTAGE1_HOST_EXPORTS) \
28013 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28016 CFLAGS="$(STAGEtrain_CFLAGS)" \
28017 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28018 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28023 TFLAGS="$(STAGEtrain_TFLAGS)" \
28024 $(TARGET-stagetrain-libiberty-linker-plugin)
28026 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28027 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28028 clean-stagetrain-libiberty-linker-plugin:
28029 @if [ $(current_stage) = stagetrain ]; then \
28030 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28031 else \
28032 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28033 $(MAKE) stagetrain-start; \
28034 fi; \
28035 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28036 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28037 @endif libiberty-linker-plugin-bootstrap
28040 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28041 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28042 maybe-all-stagefeedback-libiberty-linker-plugin:
28043 maybe-clean-stagefeedback-libiberty-linker-plugin:
28044 @if libiberty-linker-plugin-bootstrap
28045 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28046 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28047 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28048 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28049 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28050 @r=`${PWD_COMMAND}`; export r; \
28051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28052 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28053 $(HOST_EXPORTS) \
28054 $(POSTSTAGE1_HOST_EXPORTS) \
28055 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28058 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28059 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28060 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28065 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28066 $(TARGET-stagefeedback-libiberty-linker-plugin)
28068 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28069 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28070 clean-stagefeedback-libiberty-linker-plugin:
28071 @if [ $(current_stage) = stagefeedback ]; then \
28072 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28073 else \
28074 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28075 $(MAKE) stagefeedback-start; \
28076 fi; \
28077 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28078 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28079 @endif libiberty-linker-plugin-bootstrap
28082 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28083 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28084 maybe-all-stageautoprofile-libiberty-linker-plugin:
28085 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28086 @if libiberty-linker-plugin-bootstrap
28087 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28088 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28089 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28090 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28091 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28092 @r=`${PWD_COMMAND}`; export r; \
28093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28094 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28095 $(HOST_EXPORTS) \
28096 $(POSTSTAGE1_HOST_EXPORTS) \
28097 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28098 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28100 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28101 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28102 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28107 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28108 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28110 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28111 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28112 clean-stageautoprofile-libiberty-linker-plugin:
28113 @if [ $(current_stage) = stageautoprofile ]; then \
28114 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28115 else \
28116 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28117 $(MAKE) stageautoprofile-start; \
28118 fi; \
28119 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28120 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28121 @endif libiberty-linker-plugin-bootstrap
28124 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28125 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28126 maybe-all-stageautofeedback-libiberty-linker-plugin:
28127 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28128 @if libiberty-linker-plugin-bootstrap
28129 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28130 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28131 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28132 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28133 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28134 @r=`${PWD_COMMAND}`; export r; \
28135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28136 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28137 $(HOST_EXPORTS) \
28138 $(POSTSTAGE1_HOST_EXPORTS) \
28139 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28142 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28143 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28144 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28145 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28146 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28147 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28148 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28149 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28150 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28152 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28153 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28154 clean-stageautofeedback-libiberty-linker-plugin:
28155 @if [ $(current_stage) = stageautofeedback ]; then \
28156 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28157 else \
28158 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28159 $(MAKE) stageautofeedback-start; \
28160 fi; \
28161 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28162 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28163 @endif libiberty-linker-plugin-bootstrap
28169 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28170 maybe-check-libiberty-linker-plugin:
28171 @if libiberty-linker-plugin
28172 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28174 check-libiberty-linker-plugin:
28175 @: $(MAKE); $(unstage)
28176 @r=`${PWD_COMMAND}`; export r; \
28177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28178 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28179 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28180 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28182 @endif libiberty-linker-plugin
28184 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28185 maybe-install-libiberty-linker-plugin:
28186 @if libiberty-linker-plugin
28187 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28189 install-libiberty-linker-plugin: installdirs
28190 @: $(MAKE); $(unstage)
28191 @r=`${PWD_COMMAND}`; export r; \
28192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28193 $(HOST_EXPORTS) \
28194 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28195 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28197 @endif libiberty-linker-plugin
28199 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28200 maybe-install-strip-libiberty-linker-plugin:
28201 @if libiberty-linker-plugin
28202 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28204 install-strip-libiberty-linker-plugin: installdirs
28205 @: $(MAKE); $(unstage)
28206 @r=`${PWD_COMMAND}`; export r; \
28207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28208 $(HOST_EXPORTS) \
28209 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28210 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28212 @endif libiberty-linker-plugin
28214 # Other targets (info, dvi, pdf, etc.)
28216 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28217 maybe-info-libiberty-linker-plugin:
28218 @if libiberty-linker-plugin
28219 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28221 info-libiberty-linker-plugin: \
28222 configure-libiberty-linker-plugin
28223 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28224 r=`${PWD_COMMAND}`; export r; \
28225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28226 $(HOST_EXPORTS) \
28227 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28229 done; \
28230 echo "Doing info in libiberty-linker-plugin"; \
28231 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28234 "RANLIB=$${RANLIB}" \
28235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28236 info) \
28237 || exit 1
28239 @endif libiberty-linker-plugin
28241 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28242 maybe-dvi-libiberty-linker-plugin:
28243 @if libiberty-linker-plugin
28244 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28246 dvi-libiberty-linker-plugin: \
28247 configure-libiberty-linker-plugin
28248 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28249 r=`${PWD_COMMAND}`; export r; \
28250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28251 $(HOST_EXPORTS) \
28252 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28254 done; \
28255 echo "Doing dvi in libiberty-linker-plugin"; \
28256 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28259 "RANLIB=$${RANLIB}" \
28260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28261 dvi) \
28262 || exit 1
28264 @endif libiberty-linker-plugin
28266 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28267 maybe-pdf-libiberty-linker-plugin:
28268 @if libiberty-linker-plugin
28269 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28271 pdf-libiberty-linker-plugin: \
28272 configure-libiberty-linker-plugin
28273 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28274 r=`${PWD_COMMAND}`; export r; \
28275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28276 $(HOST_EXPORTS) \
28277 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28279 done; \
28280 echo "Doing pdf in libiberty-linker-plugin"; \
28281 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28284 "RANLIB=$${RANLIB}" \
28285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28286 pdf) \
28287 || exit 1
28289 @endif libiberty-linker-plugin
28291 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28292 maybe-html-libiberty-linker-plugin:
28293 @if libiberty-linker-plugin
28294 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28296 html-libiberty-linker-plugin: \
28297 configure-libiberty-linker-plugin
28298 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28299 r=`${PWD_COMMAND}`; export r; \
28300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28301 $(HOST_EXPORTS) \
28302 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28304 done; \
28305 echo "Doing html in libiberty-linker-plugin"; \
28306 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28309 "RANLIB=$${RANLIB}" \
28310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28311 html) \
28312 || exit 1
28314 @endif libiberty-linker-plugin
28316 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28317 maybe-TAGS-libiberty-linker-plugin:
28318 @if libiberty-linker-plugin
28319 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28321 TAGS-libiberty-linker-plugin: \
28322 configure-libiberty-linker-plugin
28323 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28324 r=`${PWD_COMMAND}`; export r; \
28325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28326 $(HOST_EXPORTS) \
28327 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28329 done; \
28330 echo "Doing TAGS in libiberty-linker-plugin"; \
28331 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28334 "RANLIB=$${RANLIB}" \
28335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28336 TAGS) \
28337 || exit 1
28339 @endif libiberty-linker-plugin
28341 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28342 maybe-install-info-libiberty-linker-plugin:
28343 @if libiberty-linker-plugin
28344 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28346 install-info-libiberty-linker-plugin: \
28347 configure-libiberty-linker-plugin \
28348 info-libiberty-linker-plugin
28349 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28350 r=`${PWD_COMMAND}`; export r; \
28351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28352 $(HOST_EXPORTS) \
28353 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28355 done; \
28356 echo "Doing install-info in libiberty-linker-plugin"; \
28357 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28360 "RANLIB=$${RANLIB}" \
28361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28362 install-info) \
28363 || exit 1
28365 @endif libiberty-linker-plugin
28367 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28368 maybe-install-pdf-libiberty-linker-plugin:
28369 @if libiberty-linker-plugin
28370 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28372 install-pdf-libiberty-linker-plugin: \
28373 configure-libiberty-linker-plugin \
28374 pdf-libiberty-linker-plugin
28375 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28376 r=`${PWD_COMMAND}`; export r; \
28377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28378 $(HOST_EXPORTS) \
28379 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28381 done; \
28382 echo "Doing install-pdf in libiberty-linker-plugin"; \
28383 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28386 "RANLIB=$${RANLIB}" \
28387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28388 install-pdf) \
28389 || exit 1
28391 @endif libiberty-linker-plugin
28393 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28394 maybe-install-html-libiberty-linker-plugin:
28395 @if libiberty-linker-plugin
28396 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28398 install-html-libiberty-linker-plugin: \
28399 configure-libiberty-linker-plugin \
28400 html-libiberty-linker-plugin
28401 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28402 r=`${PWD_COMMAND}`; export r; \
28403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28404 $(HOST_EXPORTS) \
28405 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28407 done; \
28408 echo "Doing install-html in libiberty-linker-plugin"; \
28409 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28412 "RANLIB=$${RANLIB}" \
28413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28414 install-html) \
28415 || exit 1
28417 @endif libiberty-linker-plugin
28419 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28420 maybe-installcheck-libiberty-linker-plugin:
28421 @if libiberty-linker-plugin
28422 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28424 installcheck-libiberty-linker-plugin: \
28425 configure-libiberty-linker-plugin
28426 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28427 r=`${PWD_COMMAND}`; export r; \
28428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28429 $(HOST_EXPORTS) \
28430 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28432 done; \
28433 echo "Doing installcheck in libiberty-linker-plugin"; \
28434 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28437 "RANLIB=$${RANLIB}" \
28438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28439 installcheck) \
28440 || exit 1
28442 @endif libiberty-linker-plugin
28444 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28445 maybe-mostlyclean-libiberty-linker-plugin:
28446 @if libiberty-linker-plugin
28447 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28449 mostlyclean-libiberty-linker-plugin:
28450 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28451 r=`${PWD_COMMAND}`; export r; \
28452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28453 $(HOST_EXPORTS) \
28454 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28456 done; \
28457 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28458 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28461 "RANLIB=$${RANLIB}" \
28462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28463 mostlyclean) \
28464 || exit 1
28466 @endif libiberty-linker-plugin
28468 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28469 maybe-clean-libiberty-linker-plugin:
28470 @if libiberty-linker-plugin
28471 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28473 clean-libiberty-linker-plugin:
28474 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28475 r=`${PWD_COMMAND}`; export r; \
28476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28477 $(HOST_EXPORTS) \
28478 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28480 done; \
28481 echo "Doing clean in libiberty-linker-plugin"; \
28482 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28485 "RANLIB=$${RANLIB}" \
28486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28487 clean) \
28488 || exit 1
28490 @endif libiberty-linker-plugin
28492 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28493 maybe-distclean-libiberty-linker-plugin:
28494 @if libiberty-linker-plugin
28495 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28497 distclean-libiberty-linker-plugin:
28498 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28499 r=`${PWD_COMMAND}`; export r; \
28500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28501 $(HOST_EXPORTS) \
28502 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28504 done; \
28505 echo "Doing distclean in libiberty-linker-plugin"; \
28506 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28509 "RANLIB=$${RANLIB}" \
28510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28511 distclean) \
28512 || exit 1
28514 @endif libiberty-linker-plugin
28516 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28517 maybe-maintainer-clean-libiberty-linker-plugin:
28518 @if libiberty-linker-plugin
28519 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28521 maintainer-clean-libiberty-linker-plugin:
28522 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28523 r=`${PWD_COMMAND}`; export r; \
28524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28525 $(HOST_EXPORTS) \
28526 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28528 done; \
28529 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28530 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28533 "RANLIB=$${RANLIB}" \
28534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28535 maintainer-clean) \
28536 || exit 1
28538 @endif libiberty-linker-plugin
28542 .PHONY: configure-libiconv maybe-configure-libiconv
28543 maybe-configure-libiconv:
28544 @if gcc-bootstrap
28545 configure-libiconv: stage_current
28546 @endif gcc-bootstrap
28547 @if libiconv
28548 maybe-configure-libiconv: configure-libiconv
28549 configure-libiconv:
28550 @r=`${PWD_COMMAND}`; export r; \
28551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28552 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28554 $(HOST_EXPORTS) \
28555 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28556 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28557 case $(srcdir) in \
28558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28559 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28561 esac; \
28562 module_srcdir=libiconv; \
28563 $(SHELL) \
28564 $$s/$$module_srcdir/configure \
28565 --srcdir=$${topdir}/$$module_srcdir \
28566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28567 --target=${target_alias} --disable-shared \
28568 || exit 1
28569 @endif libiconv
28573 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28574 maybe-configure-stage1-libiconv:
28575 @if libiconv-bootstrap
28576 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28577 configure-stage1-libiconv:
28578 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28579 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28580 @r=`${PWD_COMMAND}`; export r; \
28581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28582 TFLAGS="$(STAGE1_TFLAGS)"; \
28583 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28584 $(HOST_EXPORTS) \
28585 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28586 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28587 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28588 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28590 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28591 case $(srcdir) in \
28592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28593 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28595 esac; \
28596 module_srcdir=libiconv; \
28597 $(SHELL) $$s/$$module_srcdir/configure \
28598 --srcdir=$${topdir}/$$module_srcdir \
28599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28600 --target=${target_alias} \
28602 $(STAGE1_CONFIGURE_FLAGS) \
28603 --disable-shared
28604 @endif libiconv-bootstrap
28606 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28607 maybe-configure-stage2-libiconv:
28608 @if libiconv-bootstrap
28609 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28610 configure-stage2-libiconv:
28611 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28613 @r=`${PWD_COMMAND}`; export r; \
28614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28615 TFLAGS="$(STAGE2_TFLAGS)"; \
28616 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28617 $(HOST_EXPORTS) \
28618 $(POSTSTAGE1_HOST_EXPORTS) \
28619 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28620 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28621 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28622 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28624 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28625 case $(srcdir) in \
28626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28627 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28629 esac; \
28630 module_srcdir=libiconv; \
28631 $(SHELL) $$s/$$module_srcdir/configure \
28632 --srcdir=$${topdir}/$$module_srcdir \
28633 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28634 --target=${target_alias} \
28635 --with-build-libsubdir=$(HOST_SUBDIR) \
28636 $(STAGE2_CONFIGURE_FLAGS) \
28637 --disable-shared
28638 @endif libiconv-bootstrap
28640 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28641 maybe-configure-stage3-libiconv:
28642 @if libiconv-bootstrap
28643 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28644 configure-stage3-libiconv:
28645 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28647 @r=`${PWD_COMMAND}`; export r; \
28648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28649 TFLAGS="$(STAGE3_TFLAGS)"; \
28650 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28651 $(HOST_EXPORTS) \
28652 $(POSTSTAGE1_HOST_EXPORTS) \
28653 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28654 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28655 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28656 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28658 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28659 case $(srcdir) in \
28660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28661 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28663 esac; \
28664 module_srcdir=libiconv; \
28665 $(SHELL) $$s/$$module_srcdir/configure \
28666 --srcdir=$${topdir}/$$module_srcdir \
28667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28668 --target=${target_alias} \
28669 --with-build-libsubdir=$(HOST_SUBDIR) \
28670 $(STAGE3_CONFIGURE_FLAGS) \
28671 --disable-shared
28672 @endif libiconv-bootstrap
28674 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28675 maybe-configure-stage4-libiconv:
28676 @if libiconv-bootstrap
28677 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28678 configure-stage4-libiconv:
28679 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28681 @r=`${PWD_COMMAND}`; export r; \
28682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28683 TFLAGS="$(STAGE4_TFLAGS)"; \
28684 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28685 $(HOST_EXPORTS) \
28686 $(POSTSTAGE1_HOST_EXPORTS) \
28687 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28688 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28689 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28690 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28692 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28693 case $(srcdir) in \
28694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28695 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28697 esac; \
28698 module_srcdir=libiconv; \
28699 $(SHELL) $$s/$$module_srcdir/configure \
28700 --srcdir=$${topdir}/$$module_srcdir \
28701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28702 --target=${target_alias} \
28703 --with-build-libsubdir=$(HOST_SUBDIR) \
28704 $(STAGE4_CONFIGURE_FLAGS) \
28705 --disable-shared
28706 @endif libiconv-bootstrap
28708 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28709 maybe-configure-stageprofile-libiconv:
28710 @if libiconv-bootstrap
28711 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28712 configure-stageprofile-libiconv:
28713 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28715 @r=`${PWD_COMMAND}`; export r; \
28716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28717 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28718 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28719 $(HOST_EXPORTS) \
28720 $(POSTSTAGE1_HOST_EXPORTS) \
28721 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28722 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28723 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28724 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28726 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28727 case $(srcdir) in \
28728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28729 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28731 esac; \
28732 module_srcdir=libiconv; \
28733 $(SHELL) $$s/$$module_srcdir/configure \
28734 --srcdir=$${topdir}/$$module_srcdir \
28735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28736 --target=${target_alias} \
28737 --with-build-libsubdir=$(HOST_SUBDIR) \
28738 $(STAGEprofile_CONFIGURE_FLAGS) \
28739 --disable-shared
28740 @endif libiconv-bootstrap
28742 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
28743 maybe-configure-stagetrain-libiconv:
28744 @if libiconv-bootstrap
28745 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
28746 configure-stagetrain-libiconv:
28747 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28749 @r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28751 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28752 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28753 $(HOST_EXPORTS) \
28754 $(POSTSTAGE1_HOST_EXPORTS) \
28755 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
28756 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
28757 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
28758 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
28759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28760 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28761 case $(srcdir) in \
28762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28763 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28765 esac; \
28766 module_srcdir=libiconv; \
28767 $(SHELL) $$s/$$module_srcdir/configure \
28768 --srcdir=$${topdir}/$$module_srcdir \
28769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28770 --target=${target_alias} \
28771 --with-build-libsubdir=$(HOST_SUBDIR) \
28772 $(STAGEtrain_CONFIGURE_FLAGS) \
28773 --disable-shared
28774 @endif libiconv-bootstrap
28776 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
28777 maybe-configure-stagefeedback-libiconv:
28778 @if libiconv-bootstrap
28779 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
28780 configure-stagefeedback-libiconv:
28781 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28783 @r=`${PWD_COMMAND}`; export r; \
28784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28785 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28786 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28787 $(HOST_EXPORTS) \
28788 $(POSTSTAGE1_HOST_EXPORTS) \
28789 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28790 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28791 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28792 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
28793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28794 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28795 case $(srcdir) in \
28796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28797 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28799 esac; \
28800 module_srcdir=libiconv; \
28801 $(SHELL) $$s/$$module_srcdir/configure \
28802 --srcdir=$${topdir}/$$module_srcdir \
28803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28804 --target=${target_alias} \
28805 --with-build-libsubdir=$(HOST_SUBDIR) \
28806 $(STAGEfeedback_CONFIGURE_FLAGS) \
28807 --disable-shared
28808 @endif libiconv-bootstrap
28810 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
28811 maybe-configure-stageautoprofile-libiconv:
28812 @if libiconv-bootstrap
28813 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
28814 configure-stageautoprofile-libiconv:
28815 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28817 @r=`${PWD_COMMAND}`; export r; \
28818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28819 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28820 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28821 $(HOST_EXPORTS) \
28822 $(POSTSTAGE1_HOST_EXPORTS) \
28823 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
28824 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
28825 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28826 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
28827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28828 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28829 case $(srcdir) in \
28830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28831 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28833 esac; \
28834 module_srcdir=libiconv; \
28835 $(SHELL) $$s/$$module_srcdir/configure \
28836 --srcdir=$${topdir}/$$module_srcdir \
28837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28838 --target=${target_alias} \
28839 --with-build-libsubdir=$(HOST_SUBDIR) \
28840 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28841 --disable-shared
28842 @endif libiconv-bootstrap
28844 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
28845 maybe-configure-stageautofeedback-libiconv:
28846 @if libiconv-bootstrap
28847 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
28848 configure-stageautofeedback-libiconv:
28849 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28851 @r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28854 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28855 $(HOST_EXPORTS) \
28856 $(POSTSTAGE1_HOST_EXPORTS) \
28857 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28858 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28859 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28860 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
28861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28862 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28863 case $(srcdir) in \
28864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28865 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28867 esac; \
28868 module_srcdir=libiconv; \
28869 $(SHELL) $$s/$$module_srcdir/configure \
28870 --srcdir=$${topdir}/$$module_srcdir \
28871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28872 --target=${target_alias} \
28873 --with-build-libsubdir=$(HOST_SUBDIR) \
28874 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28875 --disable-shared
28876 @endif libiconv-bootstrap
28882 .PHONY: all-libiconv maybe-all-libiconv
28883 maybe-all-libiconv:
28884 @if gcc-bootstrap
28885 all-libiconv: stage_current
28886 @endif gcc-bootstrap
28887 @if libiconv
28888 TARGET-libiconv=all
28889 maybe-all-libiconv: all-libiconv
28890 all-libiconv: configure-libiconv
28891 @r=`${PWD_COMMAND}`; export r; \
28892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28893 $(HOST_EXPORTS) \
28894 (cd $(HOST_SUBDIR)/libiconv && \
28895 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28896 $(TARGET-libiconv))
28897 @endif libiconv
28901 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
28902 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
28903 maybe-all-stage1-libiconv:
28904 maybe-clean-stage1-libiconv:
28905 @if libiconv-bootstrap
28906 maybe-all-stage1-libiconv: all-stage1-libiconv
28907 all-stage1: all-stage1-libiconv
28908 TARGET-stage1-libiconv = $(TARGET-libiconv)
28909 all-stage1-libiconv: configure-stage1-libiconv
28910 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28911 @r=`${PWD_COMMAND}`; export r; \
28912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28913 TFLAGS="$(STAGE1_TFLAGS)"; \
28914 $(HOST_EXPORTS) \
28915 cd $(HOST_SUBDIR)/libiconv && \
28917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28918 CFLAGS="$(STAGE1_CFLAGS)" \
28919 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28920 LIBCFLAGS="$(LIBCFLAGS)" \
28921 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28922 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28923 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28924 $(EXTRA_HOST_FLAGS) \
28925 $(STAGE1_FLAGS_TO_PASS) \
28926 TFLAGS="$(STAGE1_TFLAGS)" \
28927 $(TARGET-stage1-libiconv)
28929 maybe-clean-stage1-libiconv: clean-stage1-libiconv
28930 clean-stage1: clean-stage1-libiconv
28931 clean-stage1-libiconv:
28932 @if [ $(current_stage) = stage1 ]; then \
28933 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
28934 else \
28935 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
28936 $(MAKE) stage1-start; \
28937 fi; \
28938 cd $(HOST_SUBDIR)/libiconv && \
28939 $(MAKE) $(EXTRA_HOST_FLAGS) \
28940 $(STAGE1_FLAGS_TO_PASS) clean
28941 @endif libiconv-bootstrap
28944 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
28945 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
28946 maybe-all-stage2-libiconv:
28947 maybe-clean-stage2-libiconv:
28948 @if libiconv-bootstrap
28949 maybe-all-stage2-libiconv: all-stage2-libiconv
28950 all-stage2: all-stage2-libiconv
28951 TARGET-stage2-libiconv = $(TARGET-libiconv)
28952 all-stage2-libiconv: configure-stage2-libiconv
28953 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 TFLAGS="$(STAGE2_TFLAGS)"; \
28957 $(HOST_EXPORTS) \
28958 $(POSTSTAGE1_HOST_EXPORTS) \
28959 cd $(HOST_SUBDIR)/libiconv && \
28961 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28962 CFLAGS="$(STAGE2_CFLAGS)" \
28963 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28964 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28968 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28969 TFLAGS="$(STAGE2_TFLAGS)" \
28970 $(TARGET-stage2-libiconv)
28972 maybe-clean-stage2-libiconv: clean-stage2-libiconv
28973 clean-stage2: clean-stage2-libiconv
28974 clean-stage2-libiconv:
28975 @if [ $(current_stage) = stage2 ]; then \
28976 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
28977 else \
28978 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
28979 $(MAKE) stage2-start; \
28980 fi; \
28981 cd $(HOST_SUBDIR)/libiconv && \
28982 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28983 @endif libiconv-bootstrap
28986 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
28987 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
28988 maybe-all-stage3-libiconv:
28989 maybe-clean-stage3-libiconv:
28990 @if libiconv-bootstrap
28991 maybe-all-stage3-libiconv: all-stage3-libiconv
28992 all-stage3: all-stage3-libiconv
28993 TARGET-stage3-libiconv = $(TARGET-libiconv)
28994 all-stage3-libiconv: configure-stage3-libiconv
28995 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28996 @r=`${PWD_COMMAND}`; export r; \
28997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28998 TFLAGS="$(STAGE3_TFLAGS)"; \
28999 $(HOST_EXPORTS) \
29000 $(POSTSTAGE1_HOST_EXPORTS) \
29001 cd $(HOST_SUBDIR)/libiconv && \
29003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29004 CFLAGS="$(STAGE3_CFLAGS)" \
29005 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29006 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29011 TFLAGS="$(STAGE3_TFLAGS)" \
29012 $(TARGET-stage3-libiconv)
29014 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29015 clean-stage3: clean-stage3-libiconv
29016 clean-stage3-libiconv:
29017 @if [ $(current_stage) = stage3 ]; then \
29018 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29019 else \
29020 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29021 $(MAKE) stage3-start; \
29022 fi; \
29023 cd $(HOST_SUBDIR)/libiconv && \
29024 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29025 @endif libiconv-bootstrap
29028 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29029 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29030 maybe-all-stage4-libiconv:
29031 maybe-clean-stage4-libiconv:
29032 @if libiconv-bootstrap
29033 maybe-all-stage4-libiconv: all-stage4-libiconv
29034 all-stage4: all-stage4-libiconv
29035 TARGET-stage4-libiconv = $(TARGET-libiconv)
29036 all-stage4-libiconv: configure-stage4-libiconv
29037 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29038 @r=`${PWD_COMMAND}`; export r; \
29039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29040 TFLAGS="$(STAGE4_TFLAGS)"; \
29041 $(HOST_EXPORTS) \
29042 $(POSTSTAGE1_HOST_EXPORTS) \
29043 cd $(HOST_SUBDIR)/libiconv && \
29045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29046 CFLAGS="$(STAGE4_CFLAGS)" \
29047 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29048 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29052 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29053 TFLAGS="$(STAGE4_TFLAGS)" \
29054 $(TARGET-stage4-libiconv)
29056 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29057 clean-stage4: clean-stage4-libiconv
29058 clean-stage4-libiconv:
29059 @if [ $(current_stage) = stage4 ]; then \
29060 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29061 else \
29062 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29063 $(MAKE) stage4-start; \
29064 fi; \
29065 cd $(HOST_SUBDIR)/libiconv && \
29066 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29067 @endif libiconv-bootstrap
29070 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29071 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29072 maybe-all-stageprofile-libiconv:
29073 maybe-clean-stageprofile-libiconv:
29074 @if libiconv-bootstrap
29075 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29076 all-stageprofile: all-stageprofile-libiconv
29077 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29078 all-stageprofile-libiconv: configure-stageprofile-libiconv
29079 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29080 @r=`${PWD_COMMAND}`; export r; \
29081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29082 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29083 $(HOST_EXPORTS) \
29084 $(POSTSTAGE1_HOST_EXPORTS) \
29085 cd $(HOST_SUBDIR)/libiconv && \
29087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29088 CFLAGS="$(STAGEprofile_CFLAGS)" \
29089 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29090 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29091 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29094 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29095 TFLAGS="$(STAGEprofile_TFLAGS)" \
29096 $(TARGET-stageprofile-libiconv)
29098 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29099 clean-stageprofile: clean-stageprofile-libiconv
29100 clean-stageprofile-libiconv:
29101 @if [ $(current_stage) = stageprofile ]; then \
29102 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29103 else \
29104 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29105 $(MAKE) stageprofile-start; \
29106 fi; \
29107 cd $(HOST_SUBDIR)/libiconv && \
29108 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29109 @endif libiconv-bootstrap
29112 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29113 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29114 maybe-all-stagetrain-libiconv:
29115 maybe-clean-stagetrain-libiconv:
29116 @if libiconv-bootstrap
29117 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29118 all-stagetrain: all-stagetrain-libiconv
29119 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29120 all-stagetrain-libiconv: configure-stagetrain-libiconv
29121 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29122 @r=`${PWD_COMMAND}`; export r; \
29123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29124 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29125 $(HOST_EXPORTS) \
29126 $(POSTSTAGE1_HOST_EXPORTS) \
29127 cd $(HOST_SUBDIR)/libiconv && \
29129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29130 CFLAGS="$(STAGEtrain_CFLAGS)" \
29131 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29132 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29137 TFLAGS="$(STAGEtrain_TFLAGS)" \
29138 $(TARGET-stagetrain-libiconv)
29140 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29141 clean-stagetrain: clean-stagetrain-libiconv
29142 clean-stagetrain-libiconv:
29143 @if [ $(current_stage) = stagetrain ]; then \
29144 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29145 else \
29146 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29147 $(MAKE) stagetrain-start; \
29148 fi; \
29149 cd $(HOST_SUBDIR)/libiconv && \
29150 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29151 @endif libiconv-bootstrap
29154 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29155 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29156 maybe-all-stagefeedback-libiconv:
29157 maybe-clean-stagefeedback-libiconv:
29158 @if libiconv-bootstrap
29159 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29160 all-stagefeedback: all-stagefeedback-libiconv
29161 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29162 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29163 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29164 @r=`${PWD_COMMAND}`; export r; \
29165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29166 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29167 $(HOST_EXPORTS) \
29168 $(POSTSTAGE1_HOST_EXPORTS) \
29169 cd $(HOST_SUBDIR)/libiconv && \
29171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29172 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29173 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29174 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29178 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29179 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29180 $(TARGET-stagefeedback-libiconv)
29182 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29183 clean-stagefeedback: clean-stagefeedback-libiconv
29184 clean-stagefeedback-libiconv:
29185 @if [ $(current_stage) = stagefeedback ]; then \
29186 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29187 else \
29188 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29189 $(MAKE) stagefeedback-start; \
29190 fi; \
29191 cd $(HOST_SUBDIR)/libiconv && \
29192 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29193 @endif libiconv-bootstrap
29196 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29197 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29198 maybe-all-stageautoprofile-libiconv:
29199 maybe-clean-stageautoprofile-libiconv:
29200 @if libiconv-bootstrap
29201 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29202 all-stageautoprofile: all-stageautoprofile-libiconv
29203 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29204 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29205 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29206 @r=`${PWD_COMMAND}`; export r; \
29207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29208 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29209 $(HOST_EXPORTS) \
29210 $(POSTSTAGE1_HOST_EXPORTS) \
29211 cd $(HOST_SUBDIR)/libiconv && \
29212 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29214 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29215 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29216 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29221 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29222 $(TARGET-stageautoprofile-libiconv)
29224 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29225 clean-stageautoprofile: clean-stageautoprofile-libiconv
29226 clean-stageautoprofile-libiconv:
29227 @if [ $(current_stage) = stageautoprofile ]; then \
29228 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29229 else \
29230 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29231 $(MAKE) stageautoprofile-start; \
29232 fi; \
29233 cd $(HOST_SUBDIR)/libiconv && \
29234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29235 @endif libiconv-bootstrap
29238 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29239 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29240 maybe-all-stageautofeedback-libiconv:
29241 maybe-clean-stageautofeedback-libiconv:
29242 @if libiconv-bootstrap
29243 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29244 all-stageautofeedback: all-stageautofeedback-libiconv
29245 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29246 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29247 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29248 @r=`${PWD_COMMAND}`; export r; \
29249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29250 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29251 $(HOST_EXPORTS) \
29252 $(POSTSTAGE1_HOST_EXPORTS) \
29253 cd $(HOST_SUBDIR)/libiconv && \
29255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29256 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29257 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29258 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29263 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29264 $(TARGET-stageautofeedback-libiconv)
29266 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29267 clean-stageautofeedback: clean-stageautofeedback-libiconv
29268 clean-stageautofeedback-libiconv:
29269 @if [ $(current_stage) = stageautofeedback ]; then \
29270 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29271 else \
29272 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29273 $(MAKE) stageautofeedback-start; \
29274 fi; \
29275 cd $(HOST_SUBDIR)/libiconv && \
29276 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29277 @endif libiconv-bootstrap
29283 .PHONY: check-libiconv maybe-check-libiconv
29284 maybe-check-libiconv:
29285 @if libiconv
29286 maybe-check-libiconv: check-libiconv
29288 check-libiconv:
29289 @: $(MAKE); $(unstage)
29290 @r=`${PWD_COMMAND}`; export r; \
29291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29292 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29293 (cd $(HOST_SUBDIR)/libiconv && \
29294 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29296 @endif libiconv
29298 .PHONY: install-libiconv maybe-install-libiconv
29299 maybe-install-libiconv:
29300 @if libiconv
29301 maybe-install-libiconv: install-libiconv
29303 install-libiconv:
29305 @endif libiconv
29307 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29308 maybe-install-strip-libiconv:
29309 @if libiconv
29310 maybe-install-strip-libiconv: install-strip-libiconv
29312 install-strip-libiconv:
29314 @endif libiconv
29316 # Other targets (info, dvi, pdf, etc.)
29318 .PHONY: maybe-info-libiconv info-libiconv
29319 maybe-info-libiconv:
29320 @if libiconv
29321 maybe-info-libiconv: info-libiconv
29323 # libiconv doesn't support info.
29324 info-libiconv:
29326 @endif libiconv
29328 .PHONY: maybe-dvi-libiconv dvi-libiconv
29329 maybe-dvi-libiconv:
29330 @if libiconv
29331 maybe-dvi-libiconv: dvi-libiconv
29333 dvi-libiconv: \
29334 configure-libiconv
29335 @[ -f ./libiconv/Makefile ] || exit 0; \
29336 r=`${PWD_COMMAND}`; export r; \
29337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29338 $(HOST_EXPORTS) \
29339 for flag in $(EXTRA_HOST_FLAGS) ; do \
29340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29341 done; \
29342 echo "Doing dvi in libiconv"; \
29343 (cd $(HOST_SUBDIR)/libiconv && \
29344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29346 "RANLIB=$${RANLIB}" \
29347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29348 dvi) \
29349 || exit 1
29351 @endif libiconv
29353 .PHONY: maybe-pdf-libiconv pdf-libiconv
29354 maybe-pdf-libiconv:
29355 @if libiconv
29356 maybe-pdf-libiconv: pdf-libiconv
29358 # libiconv doesn't support pdf.
29359 pdf-libiconv:
29361 @endif libiconv
29363 .PHONY: maybe-html-libiconv html-libiconv
29364 maybe-html-libiconv:
29365 @if libiconv
29366 maybe-html-libiconv: html-libiconv
29368 # libiconv doesn't support html.
29369 html-libiconv:
29371 @endif libiconv
29373 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29374 maybe-TAGS-libiconv:
29375 @if libiconv
29376 maybe-TAGS-libiconv: TAGS-libiconv
29378 TAGS-libiconv: \
29379 configure-libiconv
29380 @[ -f ./libiconv/Makefile ] || exit 0; \
29381 r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29383 $(HOST_EXPORTS) \
29384 for flag in $(EXTRA_HOST_FLAGS) ; do \
29385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29386 done; \
29387 echo "Doing TAGS in libiconv"; \
29388 (cd $(HOST_SUBDIR)/libiconv && \
29389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29391 "RANLIB=$${RANLIB}" \
29392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29393 TAGS) \
29394 || exit 1
29396 @endif libiconv
29398 .PHONY: maybe-install-info-libiconv install-info-libiconv
29399 maybe-install-info-libiconv:
29400 @if libiconv
29401 maybe-install-info-libiconv: install-info-libiconv
29403 # libiconv doesn't support install-info.
29404 install-info-libiconv:
29406 @endif libiconv
29408 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29409 maybe-install-pdf-libiconv:
29410 @if libiconv
29411 maybe-install-pdf-libiconv: install-pdf-libiconv
29413 # libiconv doesn't support install-pdf.
29414 install-pdf-libiconv:
29416 @endif libiconv
29418 .PHONY: maybe-install-html-libiconv install-html-libiconv
29419 maybe-install-html-libiconv:
29420 @if libiconv
29421 maybe-install-html-libiconv: install-html-libiconv
29423 # libiconv doesn't support install-html.
29424 install-html-libiconv:
29426 @endif libiconv
29428 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29429 maybe-installcheck-libiconv:
29430 @if libiconv
29431 maybe-installcheck-libiconv: installcheck-libiconv
29433 installcheck-libiconv: \
29434 configure-libiconv
29435 @[ -f ./libiconv/Makefile ] || exit 0; \
29436 r=`${PWD_COMMAND}`; export r; \
29437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29438 $(HOST_EXPORTS) \
29439 for flag in $(EXTRA_HOST_FLAGS) ; do \
29440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29441 done; \
29442 echo "Doing installcheck in libiconv"; \
29443 (cd $(HOST_SUBDIR)/libiconv && \
29444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29446 "RANLIB=$${RANLIB}" \
29447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29448 installcheck) \
29449 || exit 1
29451 @endif libiconv
29453 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29454 maybe-mostlyclean-libiconv:
29455 @if libiconv
29456 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29458 mostlyclean-libiconv:
29459 @[ -f ./libiconv/Makefile ] || exit 0; \
29460 r=`${PWD_COMMAND}`; export r; \
29461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29462 $(HOST_EXPORTS) \
29463 for flag in $(EXTRA_HOST_FLAGS) ; do \
29464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29465 done; \
29466 echo "Doing mostlyclean in libiconv"; \
29467 (cd $(HOST_SUBDIR)/libiconv && \
29468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29470 "RANLIB=$${RANLIB}" \
29471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29472 mostlyclean) \
29473 || exit 1
29475 @endif libiconv
29477 .PHONY: maybe-clean-libiconv clean-libiconv
29478 maybe-clean-libiconv:
29479 @if libiconv
29480 maybe-clean-libiconv: clean-libiconv
29482 clean-libiconv:
29483 @[ -f ./libiconv/Makefile ] || exit 0; \
29484 r=`${PWD_COMMAND}`; export r; \
29485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29486 $(HOST_EXPORTS) \
29487 for flag in $(EXTRA_HOST_FLAGS) ; do \
29488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29489 done; \
29490 echo "Doing clean in libiconv"; \
29491 (cd $(HOST_SUBDIR)/libiconv && \
29492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29494 "RANLIB=$${RANLIB}" \
29495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29496 clean) \
29497 || exit 1
29499 @endif libiconv
29501 .PHONY: maybe-distclean-libiconv distclean-libiconv
29502 maybe-distclean-libiconv:
29503 @if libiconv
29504 maybe-distclean-libiconv: distclean-libiconv
29506 distclean-libiconv:
29507 @[ -f ./libiconv/Makefile ] || exit 0; \
29508 r=`${PWD_COMMAND}`; export r; \
29509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29510 $(HOST_EXPORTS) \
29511 for flag in $(EXTRA_HOST_FLAGS) ; do \
29512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29513 done; \
29514 echo "Doing distclean in libiconv"; \
29515 (cd $(HOST_SUBDIR)/libiconv && \
29516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29518 "RANLIB=$${RANLIB}" \
29519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29520 distclean) \
29521 || exit 1
29523 @endif libiconv
29525 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29526 maybe-maintainer-clean-libiconv:
29527 @if libiconv
29528 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29530 maintainer-clean-libiconv:
29531 @[ -f ./libiconv/Makefile ] || exit 0; \
29532 r=`${PWD_COMMAND}`; export r; \
29533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29534 $(HOST_EXPORTS) \
29535 for flag in $(EXTRA_HOST_FLAGS) ; do \
29536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29537 done; \
29538 echo "Doing maintainer-clean in libiconv"; \
29539 (cd $(HOST_SUBDIR)/libiconv && \
29540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29542 "RANLIB=$${RANLIB}" \
29543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29544 maintainer-clean) \
29545 || exit 1
29547 @endif libiconv
29551 .PHONY: configure-m4 maybe-configure-m4
29552 maybe-configure-m4:
29553 @if gcc-bootstrap
29554 configure-m4: stage_current
29555 @endif gcc-bootstrap
29556 @if m4
29557 maybe-configure-m4: configure-m4
29558 configure-m4:
29559 @: $(MAKE); $(unstage)
29560 @r=`${PWD_COMMAND}`; export r; \
29561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29562 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29564 $(HOST_EXPORTS) \
29565 echo Configuring in $(HOST_SUBDIR)/m4; \
29566 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29567 case $(srcdir) in \
29568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29569 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29571 esac; \
29572 module_srcdir=m4; \
29573 $(SHELL) \
29574 $$s/$$module_srcdir/configure \
29575 --srcdir=$${topdir}/$$module_srcdir \
29576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29577 --target=${target_alias} \
29578 || exit 1
29579 @endif m4
29585 .PHONY: all-m4 maybe-all-m4
29586 maybe-all-m4:
29587 @if gcc-bootstrap
29588 all-m4: stage_current
29589 @endif gcc-bootstrap
29590 @if m4
29591 TARGET-m4=all
29592 maybe-all-m4: all-m4
29593 all-m4: configure-m4
29594 @: $(MAKE); $(unstage)
29595 @r=`${PWD_COMMAND}`; export r; \
29596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29597 $(HOST_EXPORTS) \
29598 (cd $(HOST_SUBDIR)/m4 && \
29599 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29600 $(TARGET-m4))
29601 @endif m4
29606 .PHONY: check-m4 maybe-check-m4
29607 maybe-check-m4:
29608 @if m4
29609 maybe-check-m4: check-m4
29611 check-m4:
29612 @: $(MAKE); $(unstage)
29613 @r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 $(HOST_EXPORTS) \
29616 (cd $(HOST_SUBDIR)/m4 && \
29617 $(MAKE) $(FLAGS_TO_PASS) check)
29619 @endif m4
29621 .PHONY: install-m4 maybe-install-m4
29622 maybe-install-m4:
29623 @if m4
29624 maybe-install-m4: install-m4
29626 install-m4: installdirs
29627 @: $(MAKE); $(unstage)
29628 @r=`${PWD_COMMAND}`; export r; \
29629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29630 $(HOST_EXPORTS) \
29631 (cd $(HOST_SUBDIR)/m4 && \
29632 $(MAKE) $(FLAGS_TO_PASS) install)
29634 @endif m4
29636 .PHONY: install-strip-m4 maybe-install-strip-m4
29637 maybe-install-strip-m4:
29638 @if m4
29639 maybe-install-strip-m4: install-strip-m4
29641 install-strip-m4: installdirs
29642 @: $(MAKE); $(unstage)
29643 @r=`${PWD_COMMAND}`; export r; \
29644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29645 $(HOST_EXPORTS) \
29646 (cd $(HOST_SUBDIR)/m4 && \
29647 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29649 @endif m4
29651 # Other targets (info, dvi, pdf, etc.)
29653 .PHONY: maybe-info-m4 info-m4
29654 maybe-info-m4:
29655 @if m4
29656 maybe-info-m4: info-m4
29658 info-m4: \
29659 configure-m4
29660 @: $(MAKE); $(unstage)
29661 @[ -f ./m4/Makefile ] || exit 0; \
29662 r=`${PWD_COMMAND}`; export r; \
29663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29664 $(HOST_EXPORTS) \
29665 for flag in $(EXTRA_HOST_FLAGS) ; do \
29666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29667 done; \
29668 echo "Doing info in m4"; \
29669 (cd $(HOST_SUBDIR)/m4 && \
29670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29672 "RANLIB=$${RANLIB}" \
29673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29674 info) \
29675 || exit 1
29677 @endif m4
29679 .PHONY: maybe-dvi-m4 dvi-m4
29680 maybe-dvi-m4:
29681 @if m4
29682 maybe-dvi-m4: dvi-m4
29684 dvi-m4: \
29685 configure-m4
29686 @: $(MAKE); $(unstage)
29687 @[ -f ./m4/Makefile ] || exit 0; \
29688 r=`${PWD_COMMAND}`; export r; \
29689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29690 $(HOST_EXPORTS) \
29691 for flag in $(EXTRA_HOST_FLAGS) ; do \
29692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29693 done; \
29694 echo "Doing dvi in m4"; \
29695 (cd $(HOST_SUBDIR)/m4 && \
29696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29698 "RANLIB=$${RANLIB}" \
29699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29700 dvi) \
29701 || exit 1
29703 @endif m4
29705 .PHONY: maybe-pdf-m4 pdf-m4
29706 maybe-pdf-m4:
29707 @if m4
29708 maybe-pdf-m4: pdf-m4
29710 pdf-m4: \
29711 configure-m4
29712 @: $(MAKE); $(unstage)
29713 @[ -f ./m4/Makefile ] || exit 0; \
29714 r=`${PWD_COMMAND}`; export r; \
29715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29716 $(HOST_EXPORTS) \
29717 for flag in $(EXTRA_HOST_FLAGS) ; do \
29718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29719 done; \
29720 echo "Doing pdf in m4"; \
29721 (cd $(HOST_SUBDIR)/m4 && \
29722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29724 "RANLIB=$${RANLIB}" \
29725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29726 pdf) \
29727 || exit 1
29729 @endif m4
29731 .PHONY: maybe-html-m4 html-m4
29732 maybe-html-m4:
29733 @if m4
29734 maybe-html-m4: html-m4
29736 html-m4: \
29737 configure-m4
29738 @: $(MAKE); $(unstage)
29739 @[ -f ./m4/Makefile ] || exit 0; \
29740 r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(HOST_EXPORTS) \
29743 for flag in $(EXTRA_HOST_FLAGS) ; do \
29744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29745 done; \
29746 echo "Doing html in m4"; \
29747 (cd $(HOST_SUBDIR)/m4 && \
29748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29750 "RANLIB=$${RANLIB}" \
29751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29752 html) \
29753 || exit 1
29755 @endif m4
29757 .PHONY: maybe-TAGS-m4 TAGS-m4
29758 maybe-TAGS-m4:
29759 @if m4
29760 maybe-TAGS-m4: TAGS-m4
29762 TAGS-m4: \
29763 configure-m4
29764 @: $(MAKE); $(unstage)
29765 @[ -f ./m4/Makefile ] || exit 0; \
29766 r=`${PWD_COMMAND}`; export r; \
29767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29768 $(HOST_EXPORTS) \
29769 for flag in $(EXTRA_HOST_FLAGS) ; do \
29770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29771 done; \
29772 echo "Doing TAGS in m4"; \
29773 (cd $(HOST_SUBDIR)/m4 && \
29774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29776 "RANLIB=$${RANLIB}" \
29777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29778 TAGS) \
29779 || exit 1
29781 @endif m4
29783 .PHONY: maybe-install-info-m4 install-info-m4
29784 maybe-install-info-m4:
29785 @if m4
29786 maybe-install-info-m4: install-info-m4
29788 install-info-m4: \
29789 configure-m4 \
29790 info-m4
29791 @: $(MAKE); $(unstage)
29792 @[ -f ./m4/Makefile ] || exit 0; \
29793 r=`${PWD_COMMAND}`; export r; \
29794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29795 $(HOST_EXPORTS) \
29796 for flag in $(EXTRA_HOST_FLAGS) ; do \
29797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29798 done; \
29799 echo "Doing install-info in m4"; \
29800 (cd $(HOST_SUBDIR)/m4 && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29805 install-info) \
29806 || exit 1
29808 @endif m4
29810 .PHONY: maybe-install-pdf-m4 install-pdf-m4
29811 maybe-install-pdf-m4:
29812 @if m4
29813 maybe-install-pdf-m4: install-pdf-m4
29815 install-pdf-m4: \
29816 configure-m4 \
29817 pdf-m4
29818 @: $(MAKE); $(unstage)
29819 @[ -f ./m4/Makefile ] || exit 0; \
29820 r=`${PWD_COMMAND}`; export r; \
29821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29822 $(HOST_EXPORTS) \
29823 for flag in $(EXTRA_HOST_FLAGS) ; do \
29824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29825 done; \
29826 echo "Doing install-pdf in m4"; \
29827 (cd $(HOST_SUBDIR)/m4 && \
29828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29830 "RANLIB=$${RANLIB}" \
29831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29832 install-pdf) \
29833 || exit 1
29835 @endif m4
29837 .PHONY: maybe-install-html-m4 install-html-m4
29838 maybe-install-html-m4:
29839 @if m4
29840 maybe-install-html-m4: install-html-m4
29842 install-html-m4: \
29843 configure-m4 \
29844 html-m4
29845 @: $(MAKE); $(unstage)
29846 @[ -f ./m4/Makefile ] || exit 0; \
29847 r=`${PWD_COMMAND}`; export r; \
29848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29849 $(HOST_EXPORTS) \
29850 for flag in $(EXTRA_HOST_FLAGS) ; do \
29851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29852 done; \
29853 echo "Doing install-html in m4"; \
29854 (cd $(HOST_SUBDIR)/m4 && \
29855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29857 "RANLIB=$${RANLIB}" \
29858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29859 install-html) \
29860 || exit 1
29862 @endif m4
29864 .PHONY: maybe-installcheck-m4 installcheck-m4
29865 maybe-installcheck-m4:
29866 @if m4
29867 maybe-installcheck-m4: installcheck-m4
29869 installcheck-m4: \
29870 configure-m4
29871 @: $(MAKE); $(unstage)
29872 @[ -f ./m4/Makefile ] || exit 0; \
29873 r=`${PWD_COMMAND}`; export r; \
29874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29875 $(HOST_EXPORTS) \
29876 for flag in $(EXTRA_HOST_FLAGS) ; do \
29877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29878 done; \
29879 echo "Doing installcheck in m4"; \
29880 (cd $(HOST_SUBDIR)/m4 && \
29881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29883 "RANLIB=$${RANLIB}" \
29884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29885 installcheck) \
29886 || exit 1
29888 @endif m4
29890 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
29891 maybe-mostlyclean-m4:
29892 @if m4
29893 maybe-mostlyclean-m4: mostlyclean-m4
29895 mostlyclean-m4:
29896 @: $(MAKE); $(unstage)
29897 @[ -f ./m4/Makefile ] || exit 0; \
29898 r=`${PWD_COMMAND}`; export r; \
29899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29900 $(HOST_EXPORTS) \
29901 for flag in $(EXTRA_HOST_FLAGS) ; do \
29902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29903 done; \
29904 echo "Doing mostlyclean in m4"; \
29905 (cd $(HOST_SUBDIR)/m4 && \
29906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29908 "RANLIB=$${RANLIB}" \
29909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29910 mostlyclean) \
29911 || exit 1
29913 @endif m4
29915 .PHONY: maybe-clean-m4 clean-m4
29916 maybe-clean-m4:
29917 @if m4
29918 maybe-clean-m4: clean-m4
29920 clean-m4:
29921 @: $(MAKE); $(unstage)
29922 @[ -f ./m4/Makefile ] || exit 0; \
29923 r=`${PWD_COMMAND}`; export r; \
29924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29925 $(HOST_EXPORTS) \
29926 for flag in $(EXTRA_HOST_FLAGS) ; do \
29927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29928 done; \
29929 echo "Doing clean in m4"; \
29930 (cd $(HOST_SUBDIR)/m4 && \
29931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29933 "RANLIB=$${RANLIB}" \
29934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29935 clean) \
29936 || exit 1
29938 @endif m4
29940 .PHONY: maybe-distclean-m4 distclean-m4
29941 maybe-distclean-m4:
29942 @if m4
29943 maybe-distclean-m4: distclean-m4
29945 distclean-m4:
29946 @: $(MAKE); $(unstage)
29947 @[ -f ./m4/Makefile ] || exit 0; \
29948 r=`${PWD_COMMAND}`; export r; \
29949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29950 $(HOST_EXPORTS) \
29951 for flag in $(EXTRA_HOST_FLAGS) ; do \
29952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29953 done; \
29954 echo "Doing distclean in m4"; \
29955 (cd $(HOST_SUBDIR)/m4 && \
29956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29958 "RANLIB=$${RANLIB}" \
29959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29960 distclean) \
29961 || exit 1
29963 @endif m4
29965 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
29966 maybe-maintainer-clean-m4:
29967 @if m4
29968 maybe-maintainer-clean-m4: maintainer-clean-m4
29970 maintainer-clean-m4:
29971 @: $(MAKE); $(unstage)
29972 @[ -f ./m4/Makefile ] || exit 0; \
29973 r=`${PWD_COMMAND}`; export r; \
29974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29975 $(HOST_EXPORTS) \
29976 for flag in $(EXTRA_HOST_FLAGS) ; do \
29977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29978 done; \
29979 echo "Doing maintainer-clean in m4"; \
29980 (cd $(HOST_SUBDIR)/m4 && \
29981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29983 "RANLIB=$${RANLIB}" \
29984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29985 maintainer-clean) \
29986 || exit 1
29988 @endif m4
29992 .PHONY: configure-readline maybe-configure-readline
29993 maybe-configure-readline:
29994 @if gcc-bootstrap
29995 configure-readline: stage_current
29996 @endif gcc-bootstrap
29997 @if readline
29998 maybe-configure-readline: configure-readline
29999 configure-readline:
30000 @: $(MAKE); $(unstage)
30001 @r=`${PWD_COMMAND}`; export r; \
30002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30003 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30005 $(HOST_EXPORTS) \
30006 echo Configuring in $(HOST_SUBDIR)/readline; \
30007 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30008 case $(srcdir) in \
30009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30010 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30012 esac; \
30013 module_srcdir=readline; \
30014 $(SHELL) \
30015 $$s/$$module_srcdir/configure \
30016 --srcdir=$${topdir}/$$module_srcdir \
30017 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30018 --target=${target_alias} \
30019 || exit 1
30020 @endif readline
30026 .PHONY: all-readline maybe-all-readline
30027 maybe-all-readline:
30028 @if gcc-bootstrap
30029 all-readline: stage_current
30030 @endif gcc-bootstrap
30031 @if readline
30032 TARGET-readline=all
30033 maybe-all-readline: all-readline
30034 all-readline: configure-readline
30035 @: $(MAKE); $(unstage)
30036 @r=`${PWD_COMMAND}`; export r; \
30037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30038 $(HOST_EXPORTS) \
30039 (cd $(HOST_SUBDIR)/readline && \
30040 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30041 $(TARGET-readline))
30042 @endif readline
30047 .PHONY: check-readline maybe-check-readline
30048 maybe-check-readline:
30049 @if readline
30050 maybe-check-readline: check-readline
30052 check-readline:
30053 @: $(MAKE); $(unstage)
30054 @r=`${PWD_COMMAND}`; export r; \
30055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30056 $(HOST_EXPORTS) \
30057 (cd $(HOST_SUBDIR)/readline && \
30058 $(MAKE) $(FLAGS_TO_PASS) check)
30060 @endif readline
30062 .PHONY: install-readline maybe-install-readline
30063 maybe-install-readline:
30064 @if readline
30065 maybe-install-readline: install-readline
30067 install-readline: installdirs
30068 @: $(MAKE); $(unstage)
30069 @r=`${PWD_COMMAND}`; export r; \
30070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30071 $(HOST_EXPORTS) \
30072 (cd $(HOST_SUBDIR)/readline && \
30073 $(MAKE) $(FLAGS_TO_PASS) install)
30075 @endif readline
30077 .PHONY: install-strip-readline maybe-install-strip-readline
30078 maybe-install-strip-readline:
30079 @if readline
30080 maybe-install-strip-readline: install-strip-readline
30082 install-strip-readline: installdirs
30083 @: $(MAKE); $(unstage)
30084 @r=`${PWD_COMMAND}`; export r; \
30085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30086 $(HOST_EXPORTS) \
30087 (cd $(HOST_SUBDIR)/readline && \
30088 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30090 @endif readline
30092 # Other targets (info, dvi, pdf, etc.)
30094 .PHONY: maybe-info-readline info-readline
30095 maybe-info-readline:
30096 @if readline
30097 maybe-info-readline: info-readline
30099 info-readline: \
30100 configure-readline
30101 @: $(MAKE); $(unstage)
30102 @[ -f ./readline/Makefile ] || exit 0; \
30103 r=`${PWD_COMMAND}`; export r; \
30104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30105 $(HOST_EXPORTS) \
30106 for flag in $(EXTRA_HOST_FLAGS) ; do \
30107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30108 done; \
30109 echo "Doing info in readline"; \
30110 (cd $(HOST_SUBDIR)/readline && \
30111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30113 "RANLIB=$${RANLIB}" \
30114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30115 info) \
30116 || exit 1
30118 @endif readline
30120 .PHONY: maybe-dvi-readline dvi-readline
30121 maybe-dvi-readline:
30122 @if readline
30123 maybe-dvi-readline: dvi-readline
30125 dvi-readline: \
30126 configure-readline
30127 @: $(MAKE); $(unstage)
30128 @[ -f ./readline/Makefile ] || exit 0; \
30129 r=`${PWD_COMMAND}`; export r; \
30130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30131 $(HOST_EXPORTS) \
30132 for flag in $(EXTRA_HOST_FLAGS) ; do \
30133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30134 done; \
30135 echo "Doing dvi in readline"; \
30136 (cd $(HOST_SUBDIR)/readline && \
30137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30139 "RANLIB=$${RANLIB}" \
30140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30141 dvi) \
30142 || exit 1
30144 @endif readline
30146 .PHONY: maybe-pdf-readline pdf-readline
30147 maybe-pdf-readline:
30148 @if readline
30149 maybe-pdf-readline: pdf-readline
30151 pdf-readline: \
30152 configure-readline
30153 @: $(MAKE); $(unstage)
30154 @[ -f ./readline/Makefile ] || exit 0; \
30155 r=`${PWD_COMMAND}`; export r; \
30156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30157 $(HOST_EXPORTS) \
30158 for flag in $(EXTRA_HOST_FLAGS) ; do \
30159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30160 done; \
30161 echo "Doing pdf in readline"; \
30162 (cd $(HOST_SUBDIR)/readline && \
30163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30165 "RANLIB=$${RANLIB}" \
30166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30167 pdf) \
30168 || exit 1
30170 @endif readline
30172 .PHONY: maybe-html-readline html-readline
30173 maybe-html-readline:
30174 @if readline
30175 maybe-html-readline: html-readline
30177 html-readline: \
30178 configure-readline
30179 @: $(MAKE); $(unstage)
30180 @[ -f ./readline/Makefile ] || exit 0; \
30181 r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 $(HOST_EXPORTS) \
30184 for flag in $(EXTRA_HOST_FLAGS) ; do \
30185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30186 done; \
30187 echo "Doing html in readline"; \
30188 (cd $(HOST_SUBDIR)/readline && \
30189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30191 "RANLIB=$${RANLIB}" \
30192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30193 html) \
30194 || exit 1
30196 @endif readline
30198 .PHONY: maybe-TAGS-readline TAGS-readline
30199 maybe-TAGS-readline:
30200 @if readline
30201 maybe-TAGS-readline: TAGS-readline
30203 TAGS-readline: \
30204 configure-readline
30205 @: $(MAKE); $(unstage)
30206 @[ -f ./readline/Makefile ] || exit 0; \
30207 r=`${PWD_COMMAND}`; export r; \
30208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30209 $(HOST_EXPORTS) \
30210 for flag in $(EXTRA_HOST_FLAGS) ; do \
30211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30212 done; \
30213 echo "Doing TAGS in readline"; \
30214 (cd $(HOST_SUBDIR)/readline && \
30215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30217 "RANLIB=$${RANLIB}" \
30218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30219 TAGS) \
30220 || exit 1
30222 @endif readline
30224 .PHONY: maybe-install-info-readline install-info-readline
30225 maybe-install-info-readline:
30226 @if readline
30227 maybe-install-info-readline: install-info-readline
30229 install-info-readline: \
30230 configure-readline \
30231 info-readline
30232 @: $(MAKE); $(unstage)
30233 @[ -f ./readline/Makefile ] || exit 0; \
30234 r=`${PWD_COMMAND}`; export r; \
30235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30236 $(HOST_EXPORTS) \
30237 for flag in $(EXTRA_HOST_FLAGS) ; do \
30238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30239 done; \
30240 echo "Doing install-info in readline"; \
30241 (cd $(HOST_SUBDIR)/readline && \
30242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30244 "RANLIB=$${RANLIB}" \
30245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30246 install-info) \
30247 || exit 1
30249 @endif readline
30251 .PHONY: maybe-install-pdf-readline install-pdf-readline
30252 maybe-install-pdf-readline:
30253 @if readline
30254 maybe-install-pdf-readline: install-pdf-readline
30256 install-pdf-readline: \
30257 configure-readline \
30258 pdf-readline
30259 @: $(MAKE); $(unstage)
30260 @[ -f ./readline/Makefile ] || exit 0; \
30261 r=`${PWD_COMMAND}`; export r; \
30262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30263 $(HOST_EXPORTS) \
30264 for flag in $(EXTRA_HOST_FLAGS) ; do \
30265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30266 done; \
30267 echo "Doing install-pdf in readline"; \
30268 (cd $(HOST_SUBDIR)/readline && \
30269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30271 "RANLIB=$${RANLIB}" \
30272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30273 install-pdf) \
30274 || exit 1
30276 @endif readline
30278 .PHONY: maybe-install-html-readline install-html-readline
30279 maybe-install-html-readline:
30280 @if readline
30281 maybe-install-html-readline: install-html-readline
30283 install-html-readline: \
30284 configure-readline \
30285 html-readline
30286 @: $(MAKE); $(unstage)
30287 @[ -f ./readline/Makefile ] || exit 0; \
30288 r=`${PWD_COMMAND}`; export r; \
30289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30290 $(HOST_EXPORTS) \
30291 for flag in $(EXTRA_HOST_FLAGS) ; do \
30292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30293 done; \
30294 echo "Doing install-html in readline"; \
30295 (cd $(HOST_SUBDIR)/readline && \
30296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30298 "RANLIB=$${RANLIB}" \
30299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30300 install-html) \
30301 || exit 1
30303 @endif readline
30305 .PHONY: maybe-installcheck-readline installcheck-readline
30306 maybe-installcheck-readline:
30307 @if readline
30308 maybe-installcheck-readline: installcheck-readline
30310 installcheck-readline: \
30311 configure-readline
30312 @: $(MAKE); $(unstage)
30313 @[ -f ./readline/Makefile ] || exit 0; \
30314 r=`${PWD_COMMAND}`; export r; \
30315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30316 $(HOST_EXPORTS) \
30317 for flag in $(EXTRA_HOST_FLAGS) ; do \
30318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30319 done; \
30320 echo "Doing installcheck in readline"; \
30321 (cd $(HOST_SUBDIR)/readline && \
30322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30324 "RANLIB=$${RANLIB}" \
30325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30326 installcheck) \
30327 || exit 1
30329 @endif readline
30331 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30332 maybe-mostlyclean-readline:
30333 @if readline
30334 maybe-mostlyclean-readline: mostlyclean-readline
30336 mostlyclean-readline:
30337 @: $(MAKE); $(unstage)
30338 @[ -f ./readline/Makefile ] || exit 0; \
30339 r=`${PWD_COMMAND}`; export r; \
30340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30341 $(HOST_EXPORTS) \
30342 for flag in $(EXTRA_HOST_FLAGS) ; do \
30343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30344 done; \
30345 echo "Doing mostlyclean in readline"; \
30346 (cd $(HOST_SUBDIR)/readline && \
30347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30349 "RANLIB=$${RANLIB}" \
30350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30351 mostlyclean) \
30352 || exit 1
30354 @endif readline
30356 .PHONY: maybe-clean-readline clean-readline
30357 maybe-clean-readline:
30358 @if readline
30359 maybe-clean-readline: clean-readline
30361 clean-readline:
30362 @: $(MAKE); $(unstage)
30363 @[ -f ./readline/Makefile ] || exit 0; \
30364 r=`${PWD_COMMAND}`; export r; \
30365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30366 $(HOST_EXPORTS) \
30367 for flag in $(EXTRA_HOST_FLAGS) ; do \
30368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30369 done; \
30370 echo "Doing clean in readline"; \
30371 (cd $(HOST_SUBDIR)/readline && \
30372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30374 "RANLIB=$${RANLIB}" \
30375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30376 clean) \
30377 || exit 1
30379 @endif readline
30381 .PHONY: maybe-distclean-readline distclean-readline
30382 maybe-distclean-readline:
30383 @if readline
30384 maybe-distclean-readline: distclean-readline
30386 distclean-readline:
30387 @: $(MAKE); $(unstage)
30388 @[ -f ./readline/Makefile ] || exit 0; \
30389 r=`${PWD_COMMAND}`; export r; \
30390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30391 $(HOST_EXPORTS) \
30392 for flag in $(EXTRA_HOST_FLAGS) ; do \
30393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30394 done; \
30395 echo "Doing distclean in readline"; \
30396 (cd $(HOST_SUBDIR)/readline && \
30397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30399 "RANLIB=$${RANLIB}" \
30400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30401 distclean) \
30402 || exit 1
30404 @endif readline
30406 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30407 maybe-maintainer-clean-readline:
30408 @if readline
30409 maybe-maintainer-clean-readline: maintainer-clean-readline
30411 maintainer-clean-readline:
30412 @: $(MAKE); $(unstage)
30413 @[ -f ./readline/Makefile ] || exit 0; \
30414 r=`${PWD_COMMAND}`; export r; \
30415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30416 $(HOST_EXPORTS) \
30417 for flag in $(EXTRA_HOST_FLAGS) ; do \
30418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30419 done; \
30420 echo "Doing maintainer-clean in readline"; \
30421 (cd $(HOST_SUBDIR)/readline && \
30422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30424 "RANLIB=$${RANLIB}" \
30425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30426 maintainer-clean) \
30427 || exit 1
30429 @endif readline
30433 .PHONY: configure-sid maybe-configure-sid
30434 maybe-configure-sid:
30435 @if gcc-bootstrap
30436 configure-sid: stage_current
30437 @endif gcc-bootstrap
30438 @if sid
30439 maybe-configure-sid: configure-sid
30440 configure-sid:
30441 @: $(MAKE); $(unstage)
30442 @r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30446 $(HOST_EXPORTS) \
30447 echo Configuring in $(HOST_SUBDIR)/sid; \
30448 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30449 case $(srcdir) in \
30450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30451 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30453 esac; \
30454 module_srcdir=sid; \
30455 $(SHELL) \
30456 $$s/$$module_srcdir/configure \
30457 --srcdir=$${topdir}/$$module_srcdir \
30458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30459 --target=${target_alias} \
30460 || exit 1
30461 @endif sid
30467 .PHONY: all-sid maybe-all-sid
30468 maybe-all-sid:
30469 @if gcc-bootstrap
30470 all-sid: stage_current
30471 @endif gcc-bootstrap
30472 @if sid
30473 TARGET-sid=all
30474 maybe-all-sid: all-sid
30475 all-sid: configure-sid
30476 @: $(MAKE); $(unstage)
30477 @r=`${PWD_COMMAND}`; export r; \
30478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30479 $(HOST_EXPORTS) \
30480 (cd $(HOST_SUBDIR)/sid && \
30481 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30482 $(TARGET-sid))
30483 @endif sid
30488 .PHONY: check-sid maybe-check-sid
30489 maybe-check-sid:
30490 @if sid
30491 maybe-check-sid: check-sid
30493 check-sid:
30494 @: $(MAKE); $(unstage)
30495 @r=`${PWD_COMMAND}`; export r; \
30496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30497 $(HOST_EXPORTS) \
30498 (cd $(HOST_SUBDIR)/sid && \
30499 $(MAKE) $(FLAGS_TO_PASS) check)
30501 @endif sid
30503 .PHONY: install-sid maybe-install-sid
30504 maybe-install-sid:
30505 @if sid
30506 maybe-install-sid: install-sid
30508 install-sid: installdirs
30509 @: $(MAKE); $(unstage)
30510 @r=`${PWD_COMMAND}`; export r; \
30511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30512 $(HOST_EXPORTS) \
30513 (cd $(HOST_SUBDIR)/sid && \
30514 $(MAKE) $(FLAGS_TO_PASS) install)
30516 @endif sid
30518 .PHONY: install-strip-sid maybe-install-strip-sid
30519 maybe-install-strip-sid:
30520 @if sid
30521 maybe-install-strip-sid: install-strip-sid
30523 install-strip-sid: installdirs
30524 @: $(MAKE); $(unstage)
30525 @r=`${PWD_COMMAND}`; export r; \
30526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30527 $(HOST_EXPORTS) \
30528 (cd $(HOST_SUBDIR)/sid && \
30529 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30531 @endif sid
30533 # Other targets (info, dvi, pdf, etc.)
30535 .PHONY: maybe-info-sid info-sid
30536 maybe-info-sid:
30537 @if sid
30538 maybe-info-sid: info-sid
30540 info-sid: \
30541 configure-sid
30542 @: $(MAKE); $(unstage)
30543 @[ -f ./sid/Makefile ] || exit 0; \
30544 r=`${PWD_COMMAND}`; export r; \
30545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30546 $(HOST_EXPORTS) \
30547 for flag in $(EXTRA_HOST_FLAGS) ; do \
30548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30549 done; \
30550 echo "Doing info in sid"; \
30551 (cd $(HOST_SUBDIR)/sid && \
30552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30554 "RANLIB=$${RANLIB}" \
30555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30556 info) \
30557 || exit 1
30559 @endif sid
30561 .PHONY: maybe-dvi-sid dvi-sid
30562 maybe-dvi-sid:
30563 @if sid
30564 maybe-dvi-sid: dvi-sid
30566 dvi-sid: \
30567 configure-sid
30568 @: $(MAKE); $(unstage)
30569 @[ -f ./sid/Makefile ] || exit 0; \
30570 r=`${PWD_COMMAND}`; export r; \
30571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30572 $(HOST_EXPORTS) \
30573 for flag in $(EXTRA_HOST_FLAGS) ; do \
30574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30575 done; \
30576 echo "Doing dvi in sid"; \
30577 (cd $(HOST_SUBDIR)/sid && \
30578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30580 "RANLIB=$${RANLIB}" \
30581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30582 dvi) \
30583 || exit 1
30585 @endif sid
30587 .PHONY: maybe-pdf-sid pdf-sid
30588 maybe-pdf-sid:
30589 @if sid
30590 maybe-pdf-sid: pdf-sid
30592 pdf-sid: \
30593 configure-sid
30594 @: $(MAKE); $(unstage)
30595 @[ -f ./sid/Makefile ] || exit 0; \
30596 r=`${PWD_COMMAND}`; export r; \
30597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30598 $(HOST_EXPORTS) \
30599 for flag in $(EXTRA_HOST_FLAGS) ; do \
30600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30601 done; \
30602 echo "Doing pdf in sid"; \
30603 (cd $(HOST_SUBDIR)/sid && \
30604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30606 "RANLIB=$${RANLIB}" \
30607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30608 pdf) \
30609 || exit 1
30611 @endif sid
30613 .PHONY: maybe-html-sid html-sid
30614 maybe-html-sid:
30615 @if sid
30616 maybe-html-sid: html-sid
30618 html-sid: \
30619 configure-sid
30620 @: $(MAKE); $(unstage)
30621 @[ -f ./sid/Makefile ] || exit 0; \
30622 r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30624 $(HOST_EXPORTS) \
30625 for flag in $(EXTRA_HOST_FLAGS) ; do \
30626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30627 done; \
30628 echo "Doing html in sid"; \
30629 (cd $(HOST_SUBDIR)/sid && \
30630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30632 "RANLIB=$${RANLIB}" \
30633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30634 html) \
30635 || exit 1
30637 @endif sid
30639 .PHONY: maybe-TAGS-sid TAGS-sid
30640 maybe-TAGS-sid:
30641 @if sid
30642 maybe-TAGS-sid: TAGS-sid
30644 TAGS-sid: \
30645 configure-sid
30646 @: $(MAKE); $(unstage)
30647 @[ -f ./sid/Makefile ] || exit 0; \
30648 r=`${PWD_COMMAND}`; export r; \
30649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30650 $(HOST_EXPORTS) \
30651 for flag in $(EXTRA_HOST_FLAGS) ; do \
30652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30653 done; \
30654 echo "Doing TAGS in sid"; \
30655 (cd $(HOST_SUBDIR)/sid && \
30656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30658 "RANLIB=$${RANLIB}" \
30659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30660 TAGS) \
30661 || exit 1
30663 @endif sid
30665 .PHONY: maybe-install-info-sid install-info-sid
30666 maybe-install-info-sid:
30667 @if sid
30668 maybe-install-info-sid: install-info-sid
30670 install-info-sid: \
30671 configure-sid \
30672 info-sid
30673 @: $(MAKE); $(unstage)
30674 @[ -f ./sid/Makefile ] || exit 0; \
30675 r=`${PWD_COMMAND}`; export r; \
30676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30677 $(HOST_EXPORTS) \
30678 for flag in $(EXTRA_HOST_FLAGS) ; do \
30679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30680 done; \
30681 echo "Doing install-info in sid"; \
30682 (cd $(HOST_SUBDIR)/sid && \
30683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30685 "RANLIB=$${RANLIB}" \
30686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30687 install-info) \
30688 || exit 1
30690 @endif sid
30692 .PHONY: maybe-install-pdf-sid install-pdf-sid
30693 maybe-install-pdf-sid:
30694 @if sid
30695 maybe-install-pdf-sid: install-pdf-sid
30697 install-pdf-sid: \
30698 configure-sid \
30699 pdf-sid
30700 @: $(MAKE); $(unstage)
30701 @[ -f ./sid/Makefile ] || exit 0; \
30702 r=`${PWD_COMMAND}`; export r; \
30703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30704 $(HOST_EXPORTS) \
30705 for flag in $(EXTRA_HOST_FLAGS) ; do \
30706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30707 done; \
30708 echo "Doing install-pdf in sid"; \
30709 (cd $(HOST_SUBDIR)/sid && \
30710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30712 "RANLIB=$${RANLIB}" \
30713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30714 install-pdf) \
30715 || exit 1
30717 @endif sid
30719 .PHONY: maybe-install-html-sid install-html-sid
30720 maybe-install-html-sid:
30721 @if sid
30722 maybe-install-html-sid: install-html-sid
30724 install-html-sid: \
30725 configure-sid \
30726 html-sid
30727 @: $(MAKE); $(unstage)
30728 @[ -f ./sid/Makefile ] || exit 0; \
30729 r=`${PWD_COMMAND}`; export r; \
30730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30731 $(HOST_EXPORTS) \
30732 for flag in $(EXTRA_HOST_FLAGS) ; do \
30733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30734 done; \
30735 echo "Doing install-html in sid"; \
30736 (cd $(HOST_SUBDIR)/sid && \
30737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30739 "RANLIB=$${RANLIB}" \
30740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30741 install-html) \
30742 || exit 1
30744 @endif sid
30746 .PHONY: maybe-installcheck-sid installcheck-sid
30747 maybe-installcheck-sid:
30748 @if sid
30749 maybe-installcheck-sid: installcheck-sid
30751 installcheck-sid: \
30752 configure-sid
30753 @: $(MAKE); $(unstage)
30754 @[ -f ./sid/Makefile ] || exit 0; \
30755 r=`${PWD_COMMAND}`; export r; \
30756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30757 $(HOST_EXPORTS) \
30758 for flag in $(EXTRA_HOST_FLAGS) ; do \
30759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30760 done; \
30761 echo "Doing installcheck in sid"; \
30762 (cd $(HOST_SUBDIR)/sid && \
30763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30765 "RANLIB=$${RANLIB}" \
30766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30767 installcheck) \
30768 || exit 1
30770 @endif sid
30772 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
30773 maybe-mostlyclean-sid:
30774 @if sid
30775 maybe-mostlyclean-sid: mostlyclean-sid
30777 mostlyclean-sid:
30778 @: $(MAKE); $(unstage)
30779 @[ -f ./sid/Makefile ] || exit 0; \
30780 r=`${PWD_COMMAND}`; export r; \
30781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30782 $(HOST_EXPORTS) \
30783 for flag in $(EXTRA_HOST_FLAGS) ; do \
30784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30785 done; \
30786 echo "Doing mostlyclean in sid"; \
30787 (cd $(HOST_SUBDIR)/sid && \
30788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30790 "RANLIB=$${RANLIB}" \
30791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30792 mostlyclean) \
30793 || exit 1
30795 @endif sid
30797 .PHONY: maybe-clean-sid clean-sid
30798 maybe-clean-sid:
30799 @if sid
30800 maybe-clean-sid: clean-sid
30802 clean-sid:
30803 @: $(MAKE); $(unstage)
30804 @[ -f ./sid/Makefile ] || exit 0; \
30805 r=`${PWD_COMMAND}`; export r; \
30806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30807 $(HOST_EXPORTS) \
30808 for flag in $(EXTRA_HOST_FLAGS) ; do \
30809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30810 done; \
30811 echo "Doing clean in sid"; \
30812 (cd $(HOST_SUBDIR)/sid && \
30813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30815 "RANLIB=$${RANLIB}" \
30816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30817 clean) \
30818 || exit 1
30820 @endif sid
30822 .PHONY: maybe-distclean-sid distclean-sid
30823 maybe-distclean-sid:
30824 @if sid
30825 maybe-distclean-sid: distclean-sid
30827 distclean-sid:
30828 @: $(MAKE); $(unstage)
30829 @[ -f ./sid/Makefile ] || exit 0; \
30830 r=`${PWD_COMMAND}`; export r; \
30831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30832 $(HOST_EXPORTS) \
30833 for flag in $(EXTRA_HOST_FLAGS) ; do \
30834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30835 done; \
30836 echo "Doing distclean in sid"; \
30837 (cd $(HOST_SUBDIR)/sid && \
30838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30840 "RANLIB=$${RANLIB}" \
30841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30842 distclean) \
30843 || exit 1
30845 @endif sid
30847 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
30848 maybe-maintainer-clean-sid:
30849 @if sid
30850 maybe-maintainer-clean-sid: maintainer-clean-sid
30852 maintainer-clean-sid:
30853 @: $(MAKE); $(unstage)
30854 @[ -f ./sid/Makefile ] || exit 0; \
30855 r=`${PWD_COMMAND}`; export r; \
30856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30857 $(HOST_EXPORTS) \
30858 for flag in $(EXTRA_HOST_FLAGS) ; do \
30859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30860 done; \
30861 echo "Doing maintainer-clean in sid"; \
30862 (cd $(HOST_SUBDIR)/sid && \
30863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30865 "RANLIB=$${RANLIB}" \
30866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30867 maintainer-clean) \
30868 || exit 1
30870 @endif sid
30874 .PHONY: configure-sim maybe-configure-sim
30875 maybe-configure-sim:
30876 @if gcc-bootstrap
30877 configure-sim: stage_current
30878 @endif gcc-bootstrap
30879 @if sim
30880 maybe-configure-sim: configure-sim
30881 configure-sim:
30882 @: $(MAKE); $(unstage)
30883 @r=`${PWD_COMMAND}`; export r; \
30884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30885 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
30886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
30887 $(HOST_EXPORTS) \
30888 echo Configuring in $(HOST_SUBDIR)/sim; \
30889 cd "$(HOST_SUBDIR)/sim" || exit 1; \
30890 case $(srcdir) in \
30891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30892 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
30893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30894 esac; \
30895 module_srcdir=sim; \
30896 $(SHELL) \
30897 $$s/$$module_srcdir/configure \
30898 --srcdir=$${topdir}/$$module_srcdir \
30899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30900 --target=${target_alias} \
30901 || exit 1
30902 @endif sim
30908 .PHONY: all-sim maybe-all-sim
30909 maybe-all-sim:
30910 @if gcc-bootstrap
30911 all-sim: stage_current
30912 @endif gcc-bootstrap
30913 @if sim
30914 TARGET-sim=all
30915 maybe-all-sim: all-sim
30916 all-sim: configure-sim
30917 @: $(MAKE); $(unstage)
30918 @r=`${PWD_COMMAND}`; export r; \
30919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30920 $(HOST_EXPORTS) \
30921 (cd $(HOST_SUBDIR)/sim && \
30922 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30923 $(TARGET-sim))
30924 @endif sim
30929 .PHONY: check-sim maybe-check-sim
30930 maybe-check-sim:
30931 @if sim
30932 maybe-check-sim: check-sim
30934 check-sim:
30935 @: $(MAKE); $(unstage)
30936 @r=`${PWD_COMMAND}`; export r; \
30937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30938 $(HOST_EXPORTS) \
30939 (cd $(HOST_SUBDIR)/sim && \
30940 $(MAKE) $(FLAGS_TO_PASS) check)
30942 @endif sim
30944 .PHONY: install-sim maybe-install-sim
30945 maybe-install-sim:
30946 @if sim
30947 maybe-install-sim: install-sim
30949 install-sim: installdirs
30950 @: $(MAKE); $(unstage)
30951 @r=`${PWD_COMMAND}`; export r; \
30952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30953 $(HOST_EXPORTS) \
30954 (cd $(HOST_SUBDIR)/sim && \
30955 $(MAKE) $(FLAGS_TO_PASS) install)
30957 @endif sim
30959 .PHONY: install-strip-sim maybe-install-strip-sim
30960 maybe-install-strip-sim:
30961 @if sim
30962 maybe-install-strip-sim: install-strip-sim
30964 install-strip-sim: installdirs
30965 @: $(MAKE); $(unstage)
30966 @r=`${PWD_COMMAND}`; export r; \
30967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30968 $(HOST_EXPORTS) \
30969 (cd $(HOST_SUBDIR)/sim && \
30970 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30972 @endif sim
30974 # Other targets (info, dvi, pdf, etc.)
30976 .PHONY: maybe-info-sim info-sim
30977 maybe-info-sim:
30978 @if sim
30979 maybe-info-sim: info-sim
30981 info-sim: \
30982 configure-sim
30983 @: $(MAKE); $(unstage)
30984 @[ -f ./sim/Makefile ] || exit 0; \
30985 r=`${PWD_COMMAND}`; export r; \
30986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30987 $(HOST_EXPORTS) \
30988 for flag in $(EXTRA_HOST_FLAGS) ; do \
30989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30990 done; \
30991 echo "Doing info in sim"; \
30992 (cd $(HOST_SUBDIR)/sim && \
30993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30995 "RANLIB=$${RANLIB}" \
30996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30997 info) \
30998 || exit 1
31000 @endif sim
31002 .PHONY: maybe-dvi-sim dvi-sim
31003 maybe-dvi-sim:
31004 @if sim
31005 maybe-dvi-sim: dvi-sim
31007 dvi-sim: \
31008 configure-sim
31009 @: $(MAKE); $(unstage)
31010 @[ -f ./sim/Makefile ] || exit 0; \
31011 r=`${PWD_COMMAND}`; export r; \
31012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31013 $(HOST_EXPORTS) \
31014 for flag in $(EXTRA_HOST_FLAGS) ; do \
31015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31016 done; \
31017 echo "Doing dvi in sim"; \
31018 (cd $(HOST_SUBDIR)/sim && \
31019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31021 "RANLIB=$${RANLIB}" \
31022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31023 dvi) \
31024 || exit 1
31026 @endif sim
31028 .PHONY: maybe-pdf-sim pdf-sim
31029 maybe-pdf-sim:
31030 @if sim
31031 maybe-pdf-sim: pdf-sim
31033 pdf-sim: \
31034 configure-sim
31035 @: $(MAKE); $(unstage)
31036 @[ -f ./sim/Makefile ] || exit 0; \
31037 r=`${PWD_COMMAND}`; export r; \
31038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31039 $(HOST_EXPORTS) \
31040 for flag in $(EXTRA_HOST_FLAGS) ; do \
31041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31042 done; \
31043 echo "Doing pdf in sim"; \
31044 (cd $(HOST_SUBDIR)/sim && \
31045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31047 "RANLIB=$${RANLIB}" \
31048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31049 pdf) \
31050 || exit 1
31052 @endif sim
31054 .PHONY: maybe-html-sim html-sim
31055 maybe-html-sim:
31056 @if sim
31057 maybe-html-sim: html-sim
31059 html-sim: \
31060 configure-sim
31061 @: $(MAKE); $(unstage)
31062 @[ -f ./sim/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 sim"; \
31070 (cd $(HOST_SUBDIR)/sim && \
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 sim
31080 .PHONY: maybe-TAGS-sim TAGS-sim
31081 maybe-TAGS-sim:
31082 @if sim
31083 maybe-TAGS-sim: TAGS-sim
31085 TAGS-sim: \
31086 configure-sim
31087 @: $(MAKE); $(unstage)
31088 @[ -f ./sim/Makefile ] || exit 0; \
31089 r=`${PWD_COMMAND}`; export r; \
31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31091 $(HOST_EXPORTS) \
31092 for flag in $(EXTRA_HOST_FLAGS) ; do \
31093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31094 done; \
31095 echo "Doing TAGS in sim"; \
31096 (cd $(HOST_SUBDIR)/sim && \
31097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31099 "RANLIB=$${RANLIB}" \
31100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31101 TAGS) \
31102 || exit 1
31104 @endif sim
31106 .PHONY: maybe-install-info-sim install-info-sim
31107 maybe-install-info-sim:
31108 @if sim
31109 maybe-install-info-sim: install-info-sim
31111 install-info-sim: \
31112 configure-sim \
31113 info-sim
31114 @: $(MAKE); $(unstage)
31115 @[ -f ./sim/Makefile ] || exit 0; \
31116 r=`${PWD_COMMAND}`; export r; \
31117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31118 $(HOST_EXPORTS) \
31119 for flag in $(EXTRA_HOST_FLAGS) ; do \
31120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31121 done; \
31122 echo "Doing install-info in sim"; \
31123 (cd $(HOST_SUBDIR)/sim && \
31124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31126 "RANLIB=$${RANLIB}" \
31127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31128 install-info) \
31129 || exit 1
31131 @endif sim
31133 .PHONY: maybe-install-pdf-sim install-pdf-sim
31134 maybe-install-pdf-sim:
31135 @if sim
31136 maybe-install-pdf-sim: install-pdf-sim
31138 install-pdf-sim: \
31139 configure-sim \
31140 pdf-sim
31141 @: $(MAKE); $(unstage)
31142 @[ -f ./sim/Makefile ] || exit 0; \
31143 r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(HOST_EXPORTS) \
31146 for flag in $(EXTRA_HOST_FLAGS) ; do \
31147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31148 done; \
31149 echo "Doing install-pdf in sim"; \
31150 (cd $(HOST_SUBDIR)/sim && \
31151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31153 "RANLIB=$${RANLIB}" \
31154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31155 install-pdf) \
31156 || exit 1
31158 @endif sim
31160 .PHONY: maybe-install-html-sim install-html-sim
31161 maybe-install-html-sim:
31162 @if sim
31163 maybe-install-html-sim: install-html-sim
31165 install-html-sim: \
31166 configure-sim \
31167 html-sim
31168 @: $(MAKE); $(unstage)
31169 @[ -f ./sim/Makefile ] || exit 0; \
31170 r=`${PWD_COMMAND}`; export r; \
31171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31172 $(HOST_EXPORTS) \
31173 for flag in $(EXTRA_HOST_FLAGS) ; do \
31174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31175 done; \
31176 echo "Doing install-html in sim"; \
31177 (cd $(HOST_SUBDIR)/sim && \
31178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31180 "RANLIB=$${RANLIB}" \
31181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31182 install-html) \
31183 || exit 1
31185 @endif sim
31187 .PHONY: maybe-installcheck-sim installcheck-sim
31188 maybe-installcheck-sim:
31189 @if sim
31190 maybe-installcheck-sim: installcheck-sim
31192 installcheck-sim: \
31193 configure-sim
31194 @: $(MAKE); $(unstage)
31195 @[ -f ./sim/Makefile ] || exit 0; \
31196 r=`${PWD_COMMAND}`; export r; \
31197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31198 $(HOST_EXPORTS) \
31199 for flag in $(EXTRA_HOST_FLAGS) ; do \
31200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31201 done; \
31202 echo "Doing installcheck in sim"; \
31203 (cd $(HOST_SUBDIR)/sim && \
31204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31206 "RANLIB=$${RANLIB}" \
31207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31208 installcheck) \
31209 || exit 1
31211 @endif sim
31213 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31214 maybe-mostlyclean-sim:
31215 @if sim
31216 maybe-mostlyclean-sim: mostlyclean-sim
31218 mostlyclean-sim:
31219 @: $(MAKE); $(unstage)
31220 @[ -f ./sim/Makefile ] || exit 0; \
31221 r=`${PWD_COMMAND}`; export r; \
31222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31223 $(HOST_EXPORTS) \
31224 for flag in $(EXTRA_HOST_FLAGS) ; do \
31225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31226 done; \
31227 echo "Doing mostlyclean in sim"; \
31228 (cd $(HOST_SUBDIR)/sim && \
31229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31231 "RANLIB=$${RANLIB}" \
31232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31233 mostlyclean) \
31234 || exit 1
31236 @endif sim
31238 .PHONY: maybe-clean-sim clean-sim
31239 maybe-clean-sim:
31240 @if sim
31241 maybe-clean-sim: clean-sim
31243 clean-sim:
31244 @: $(MAKE); $(unstage)
31245 @[ -f ./sim/Makefile ] || exit 0; \
31246 r=`${PWD_COMMAND}`; export r; \
31247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31248 $(HOST_EXPORTS) \
31249 for flag in $(EXTRA_HOST_FLAGS) ; do \
31250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31251 done; \
31252 echo "Doing clean in sim"; \
31253 (cd $(HOST_SUBDIR)/sim && \
31254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31256 "RANLIB=$${RANLIB}" \
31257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31258 clean) \
31259 || exit 1
31261 @endif sim
31263 .PHONY: maybe-distclean-sim distclean-sim
31264 maybe-distclean-sim:
31265 @if sim
31266 maybe-distclean-sim: distclean-sim
31268 distclean-sim:
31269 @: $(MAKE); $(unstage)
31270 @[ -f ./sim/Makefile ] || exit 0; \
31271 r=`${PWD_COMMAND}`; export r; \
31272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31273 $(HOST_EXPORTS) \
31274 for flag in $(EXTRA_HOST_FLAGS) ; do \
31275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31276 done; \
31277 echo "Doing distclean in sim"; \
31278 (cd $(HOST_SUBDIR)/sim && \
31279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31281 "RANLIB=$${RANLIB}" \
31282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31283 distclean) \
31284 || exit 1
31286 @endif sim
31288 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31289 maybe-maintainer-clean-sim:
31290 @if sim
31291 maybe-maintainer-clean-sim: maintainer-clean-sim
31293 maintainer-clean-sim:
31294 @: $(MAKE); $(unstage)
31295 @[ -f ./sim/Makefile ] || exit 0; \
31296 r=`${PWD_COMMAND}`; export r; \
31297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31298 $(HOST_EXPORTS) \
31299 for flag in $(EXTRA_HOST_FLAGS) ; do \
31300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31301 done; \
31302 echo "Doing maintainer-clean in sim"; \
31303 (cd $(HOST_SUBDIR)/sim && \
31304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31306 "RANLIB=$${RANLIB}" \
31307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31308 maintainer-clean) \
31309 || exit 1
31311 @endif sim
31315 .PHONY: configure-texinfo maybe-configure-texinfo
31316 maybe-configure-texinfo:
31317 @if gcc-bootstrap
31318 configure-texinfo: stage_current
31319 @endif gcc-bootstrap
31320 @if texinfo
31321 maybe-configure-texinfo: configure-texinfo
31322 configure-texinfo:
31323 @: $(MAKE); $(unstage)
31324 @r=`${PWD_COMMAND}`; export r; \
31325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31326 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31328 $(HOST_EXPORTS) \
31329 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31330 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31331 case $(srcdir) in \
31332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31333 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31335 esac; \
31336 module_srcdir=texinfo; \
31337 $(SHELL) \
31338 $$s/$$module_srcdir/configure \
31339 --srcdir=$${topdir}/$$module_srcdir \
31340 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31341 --target=${target_alias} \
31342 || exit 1
31343 @endif texinfo
31349 .PHONY: all-texinfo maybe-all-texinfo
31350 maybe-all-texinfo:
31351 @if gcc-bootstrap
31352 all-texinfo: stage_current
31353 @endif gcc-bootstrap
31354 @if texinfo
31355 TARGET-texinfo=all
31356 maybe-all-texinfo: all-texinfo
31357 all-texinfo: configure-texinfo
31358 @: $(MAKE); $(unstage)
31359 @r=`${PWD_COMMAND}`; export r; \
31360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31361 $(HOST_EXPORTS) \
31362 (cd $(HOST_SUBDIR)/texinfo && \
31363 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31364 $(TARGET-texinfo))
31365 @endif texinfo
31370 .PHONY: check-texinfo maybe-check-texinfo
31371 maybe-check-texinfo:
31372 @if texinfo
31373 maybe-check-texinfo: check-texinfo
31375 check-texinfo:
31376 @: $(MAKE); $(unstage)
31377 @r=`${PWD_COMMAND}`; export r; \
31378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31379 $(HOST_EXPORTS) \
31380 (cd $(HOST_SUBDIR)/texinfo && \
31381 $(MAKE) $(FLAGS_TO_PASS) check)
31383 @endif texinfo
31385 .PHONY: install-texinfo maybe-install-texinfo
31386 maybe-install-texinfo:
31387 @if texinfo
31388 maybe-install-texinfo: install-texinfo
31390 install-texinfo:
31392 @endif texinfo
31394 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31395 maybe-install-strip-texinfo:
31396 @if texinfo
31397 maybe-install-strip-texinfo: install-strip-texinfo
31399 install-strip-texinfo:
31401 @endif texinfo
31403 # Other targets (info, dvi, pdf, etc.)
31405 .PHONY: maybe-info-texinfo info-texinfo
31406 maybe-info-texinfo:
31407 @if texinfo
31408 maybe-info-texinfo: info-texinfo
31410 info-texinfo: \
31411 configure-texinfo
31412 @: $(MAKE); $(unstage)
31413 @[ -f ./texinfo/Makefile ] || exit 0; \
31414 r=`${PWD_COMMAND}`; export r; \
31415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31416 $(HOST_EXPORTS) \
31417 for flag in $(EXTRA_HOST_FLAGS) ; do \
31418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31419 done; \
31420 echo "Doing info in texinfo"; \
31421 (cd $(HOST_SUBDIR)/texinfo && \
31422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31424 "RANLIB=$${RANLIB}" \
31425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31426 info) \
31427 || exit 1
31429 @endif texinfo
31431 .PHONY: maybe-dvi-texinfo dvi-texinfo
31432 maybe-dvi-texinfo:
31433 @if texinfo
31434 maybe-dvi-texinfo: dvi-texinfo
31436 dvi-texinfo: \
31437 configure-texinfo
31438 @: $(MAKE); $(unstage)
31439 @[ -f ./texinfo/Makefile ] || exit 0; \
31440 r=`${PWD_COMMAND}`; export r; \
31441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31442 $(HOST_EXPORTS) \
31443 for flag in $(EXTRA_HOST_FLAGS) ; do \
31444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31445 done; \
31446 echo "Doing dvi in texinfo"; \
31447 (cd $(HOST_SUBDIR)/texinfo && \
31448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31450 "RANLIB=$${RANLIB}" \
31451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31452 dvi) \
31453 || exit 1
31455 @endif texinfo
31457 .PHONY: maybe-pdf-texinfo pdf-texinfo
31458 maybe-pdf-texinfo:
31459 @if texinfo
31460 maybe-pdf-texinfo: pdf-texinfo
31462 pdf-texinfo: \
31463 configure-texinfo
31464 @: $(MAKE); $(unstage)
31465 @[ -f ./texinfo/Makefile ] || exit 0; \
31466 r=`${PWD_COMMAND}`; export r; \
31467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31468 $(HOST_EXPORTS) \
31469 for flag in $(EXTRA_HOST_FLAGS) ; do \
31470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31471 done; \
31472 echo "Doing pdf in texinfo"; \
31473 (cd $(HOST_SUBDIR)/texinfo && \
31474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31476 "RANLIB=$${RANLIB}" \
31477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31478 pdf) \
31479 || exit 1
31481 @endif texinfo
31483 .PHONY: maybe-html-texinfo html-texinfo
31484 maybe-html-texinfo:
31485 @if texinfo
31486 maybe-html-texinfo: html-texinfo
31488 html-texinfo: \
31489 configure-texinfo
31490 @: $(MAKE); $(unstage)
31491 @[ -f ./texinfo/Makefile ] || exit 0; \
31492 r=`${PWD_COMMAND}`; export r; \
31493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31494 $(HOST_EXPORTS) \
31495 for flag in $(EXTRA_HOST_FLAGS) ; do \
31496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31497 done; \
31498 echo "Doing html in texinfo"; \
31499 (cd $(HOST_SUBDIR)/texinfo && \
31500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31502 "RANLIB=$${RANLIB}" \
31503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31504 html) \
31505 || exit 1
31507 @endif texinfo
31509 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31510 maybe-TAGS-texinfo:
31511 @if texinfo
31512 maybe-TAGS-texinfo: TAGS-texinfo
31514 TAGS-texinfo: \
31515 configure-texinfo
31516 @: $(MAKE); $(unstage)
31517 @[ -f ./texinfo/Makefile ] || exit 0; \
31518 r=`${PWD_COMMAND}`; export r; \
31519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31520 $(HOST_EXPORTS) \
31521 for flag in $(EXTRA_HOST_FLAGS) ; do \
31522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31523 done; \
31524 echo "Doing TAGS in texinfo"; \
31525 (cd $(HOST_SUBDIR)/texinfo && \
31526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31528 "RANLIB=$${RANLIB}" \
31529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31530 TAGS) \
31531 || exit 1
31533 @endif texinfo
31535 .PHONY: maybe-install-info-texinfo install-info-texinfo
31536 maybe-install-info-texinfo:
31537 @if texinfo
31538 maybe-install-info-texinfo: install-info-texinfo
31540 install-info-texinfo: \
31541 configure-texinfo \
31542 info-texinfo
31543 @: $(MAKE); $(unstage)
31544 @[ -f ./texinfo/Makefile ] || exit 0; \
31545 r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(HOST_EXPORTS) \
31548 for flag in $(EXTRA_HOST_FLAGS) ; do \
31549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31550 done; \
31551 echo "Doing install-info in texinfo"; \
31552 (cd $(HOST_SUBDIR)/texinfo && \
31553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31555 "RANLIB=$${RANLIB}" \
31556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31557 install-info) \
31558 || exit 1
31560 @endif texinfo
31562 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31563 maybe-install-pdf-texinfo:
31564 @if texinfo
31565 maybe-install-pdf-texinfo: install-pdf-texinfo
31567 install-pdf-texinfo: \
31568 configure-texinfo \
31569 pdf-texinfo
31570 @: $(MAKE); $(unstage)
31571 @[ -f ./texinfo/Makefile ] || exit 0; \
31572 r=`${PWD_COMMAND}`; export r; \
31573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31574 $(HOST_EXPORTS) \
31575 for flag in $(EXTRA_HOST_FLAGS) ; do \
31576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31577 done; \
31578 echo "Doing install-pdf in texinfo"; \
31579 (cd $(HOST_SUBDIR)/texinfo && \
31580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31582 "RANLIB=$${RANLIB}" \
31583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31584 install-pdf) \
31585 || exit 1
31587 @endif texinfo
31589 .PHONY: maybe-install-html-texinfo install-html-texinfo
31590 maybe-install-html-texinfo:
31591 @if texinfo
31592 maybe-install-html-texinfo: install-html-texinfo
31594 install-html-texinfo: \
31595 configure-texinfo \
31596 html-texinfo
31597 @: $(MAKE); $(unstage)
31598 @[ -f ./texinfo/Makefile ] || exit 0; \
31599 r=`${PWD_COMMAND}`; export r; \
31600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31601 $(HOST_EXPORTS) \
31602 for flag in $(EXTRA_HOST_FLAGS) ; do \
31603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31604 done; \
31605 echo "Doing install-html in texinfo"; \
31606 (cd $(HOST_SUBDIR)/texinfo && \
31607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31609 "RANLIB=$${RANLIB}" \
31610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31611 install-html) \
31612 || exit 1
31614 @endif texinfo
31616 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31617 maybe-installcheck-texinfo:
31618 @if texinfo
31619 maybe-installcheck-texinfo: installcheck-texinfo
31621 installcheck-texinfo: \
31622 configure-texinfo
31623 @: $(MAKE); $(unstage)
31624 @[ -f ./texinfo/Makefile ] || exit 0; \
31625 r=`${PWD_COMMAND}`; export r; \
31626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31627 $(HOST_EXPORTS) \
31628 for flag in $(EXTRA_HOST_FLAGS) ; do \
31629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31630 done; \
31631 echo "Doing installcheck in texinfo"; \
31632 (cd $(HOST_SUBDIR)/texinfo && \
31633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31635 "RANLIB=$${RANLIB}" \
31636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31637 installcheck) \
31638 || exit 1
31640 @endif texinfo
31642 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31643 maybe-mostlyclean-texinfo:
31644 @if texinfo
31645 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31647 mostlyclean-texinfo:
31648 @: $(MAKE); $(unstage)
31649 @[ -f ./texinfo/Makefile ] || exit 0; \
31650 r=`${PWD_COMMAND}`; export r; \
31651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31652 $(HOST_EXPORTS) \
31653 for flag in $(EXTRA_HOST_FLAGS) ; do \
31654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31655 done; \
31656 echo "Doing mostlyclean in texinfo"; \
31657 (cd $(HOST_SUBDIR)/texinfo && \
31658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31660 "RANLIB=$${RANLIB}" \
31661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31662 mostlyclean) \
31663 || exit 1
31665 @endif texinfo
31667 .PHONY: maybe-clean-texinfo clean-texinfo
31668 maybe-clean-texinfo:
31669 @if texinfo
31670 maybe-clean-texinfo: clean-texinfo
31672 clean-texinfo:
31673 @: $(MAKE); $(unstage)
31674 @[ -f ./texinfo/Makefile ] || exit 0; \
31675 r=`${PWD_COMMAND}`; export r; \
31676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31677 $(HOST_EXPORTS) \
31678 for flag in $(EXTRA_HOST_FLAGS) ; do \
31679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31680 done; \
31681 echo "Doing clean in texinfo"; \
31682 (cd $(HOST_SUBDIR)/texinfo && \
31683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31685 "RANLIB=$${RANLIB}" \
31686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31687 clean) \
31688 || exit 1
31690 @endif texinfo
31692 .PHONY: maybe-distclean-texinfo distclean-texinfo
31693 maybe-distclean-texinfo:
31694 @if texinfo
31695 maybe-distclean-texinfo: distclean-texinfo
31697 distclean-texinfo:
31698 @: $(MAKE); $(unstage)
31699 @[ -f ./texinfo/Makefile ] || exit 0; \
31700 r=`${PWD_COMMAND}`; export r; \
31701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31702 $(HOST_EXPORTS) \
31703 for flag in $(EXTRA_HOST_FLAGS) ; do \
31704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31705 done; \
31706 echo "Doing distclean in texinfo"; \
31707 (cd $(HOST_SUBDIR)/texinfo && \
31708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31710 "RANLIB=$${RANLIB}" \
31711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31712 distclean) \
31713 || exit 1
31715 @endif texinfo
31717 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
31718 maybe-maintainer-clean-texinfo:
31719 @if texinfo
31720 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
31722 maintainer-clean-texinfo:
31723 @: $(MAKE); $(unstage)
31724 @[ -f ./texinfo/Makefile ] || exit 0; \
31725 r=`${PWD_COMMAND}`; export r; \
31726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31727 $(HOST_EXPORTS) \
31728 for flag in $(EXTRA_HOST_FLAGS) ; do \
31729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31730 done; \
31731 echo "Doing maintainer-clean in texinfo"; \
31732 (cd $(HOST_SUBDIR)/texinfo && \
31733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31735 "RANLIB=$${RANLIB}" \
31736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31737 maintainer-clean) \
31738 || exit 1
31740 @endif texinfo
31744 .PHONY: configure-zlib maybe-configure-zlib
31745 maybe-configure-zlib:
31746 @if gcc-bootstrap
31747 configure-zlib: stage_current
31748 @endif gcc-bootstrap
31749 @if zlib
31750 maybe-configure-zlib: configure-zlib
31751 configure-zlib:
31752 @r=`${PWD_COMMAND}`; export r; \
31753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31754 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31756 $(HOST_EXPORTS) \
31757 echo Configuring in $(HOST_SUBDIR)/zlib; \
31758 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
31759 case $(srcdir) in \
31760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31761 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31763 esac; \
31764 module_srcdir=zlib; \
31765 $(SHELL) \
31766 $$s/$$module_srcdir/configure \
31767 --srcdir=$${topdir}/$$module_srcdir \
31768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31769 --target=${target_alias} @extra_host_zlib_configure_flags@ \
31770 || exit 1
31771 @endif zlib
31775 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31776 maybe-configure-stage1-zlib:
31777 @if zlib-bootstrap
31778 maybe-configure-stage1-zlib: configure-stage1-zlib
31779 configure-stage1-zlib:
31780 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31782 @r=`${PWD_COMMAND}`; export r; \
31783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31784 TFLAGS="$(STAGE1_TFLAGS)"; \
31785 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31786 $(HOST_EXPORTS) \
31787 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31788 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31789 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31790 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
31791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31792 cd $(HOST_SUBDIR)/zlib || exit 1; \
31793 case $(srcdir) in \
31794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31795 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31797 esac; \
31798 module_srcdir=zlib; \
31799 $(SHELL) $$s/$$module_srcdir/configure \
31800 --srcdir=$${topdir}/$$module_srcdir \
31801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31802 --target=${target_alias} \
31804 $(STAGE1_CONFIGURE_FLAGS) \
31805 @extra_host_zlib_configure_flags@
31806 @endif zlib-bootstrap
31808 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31809 maybe-configure-stage2-zlib:
31810 @if zlib-bootstrap
31811 maybe-configure-stage2-zlib: configure-stage2-zlib
31812 configure-stage2-zlib:
31813 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31815 @r=`${PWD_COMMAND}`; export r; \
31816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31817 TFLAGS="$(STAGE2_TFLAGS)"; \
31818 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31819 $(HOST_EXPORTS) \
31820 $(POSTSTAGE1_HOST_EXPORTS) \
31821 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31822 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31823 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31824 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
31825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31826 cd $(HOST_SUBDIR)/zlib || exit 1; \
31827 case $(srcdir) in \
31828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31829 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31831 esac; \
31832 module_srcdir=zlib; \
31833 $(SHELL) $$s/$$module_srcdir/configure \
31834 --srcdir=$${topdir}/$$module_srcdir \
31835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31836 --target=${target_alias} \
31837 --with-build-libsubdir=$(HOST_SUBDIR) \
31838 $(STAGE2_CONFIGURE_FLAGS) \
31839 @extra_host_zlib_configure_flags@
31840 @endif zlib-bootstrap
31842 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31843 maybe-configure-stage3-zlib:
31844 @if zlib-bootstrap
31845 maybe-configure-stage3-zlib: configure-stage3-zlib
31846 configure-stage3-zlib:
31847 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31849 @r=`${PWD_COMMAND}`; export r; \
31850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31851 TFLAGS="$(STAGE3_TFLAGS)"; \
31852 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31853 $(HOST_EXPORTS) \
31854 $(POSTSTAGE1_HOST_EXPORTS) \
31855 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31856 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31857 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31858 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
31859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31860 cd $(HOST_SUBDIR)/zlib || exit 1; \
31861 case $(srcdir) in \
31862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31863 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31865 esac; \
31866 module_srcdir=zlib; \
31867 $(SHELL) $$s/$$module_srcdir/configure \
31868 --srcdir=$${topdir}/$$module_srcdir \
31869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31870 --target=${target_alias} \
31871 --with-build-libsubdir=$(HOST_SUBDIR) \
31872 $(STAGE3_CONFIGURE_FLAGS) \
31873 @extra_host_zlib_configure_flags@
31874 @endif zlib-bootstrap
31876 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31877 maybe-configure-stage4-zlib:
31878 @if zlib-bootstrap
31879 maybe-configure-stage4-zlib: configure-stage4-zlib
31880 configure-stage4-zlib:
31881 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31883 @r=`${PWD_COMMAND}`; export r; \
31884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31885 TFLAGS="$(STAGE4_TFLAGS)"; \
31886 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31887 $(HOST_EXPORTS) \
31888 $(POSTSTAGE1_HOST_EXPORTS) \
31889 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31890 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31891 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31892 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
31893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31894 cd $(HOST_SUBDIR)/zlib || exit 1; \
31895 case $(srcdir) in \
31896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31897 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31899 esac; \
31900 module_srcdir=zlib; \
31901 $(SHELL) $$s/$$module_srcdir/configure \
31902 --srcdir=$${topdir}/$$module_srcdir \
31903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31904 --target=${target_alias} \
31905 --with-build-libsubdir=$(HOST_SUBDIR) \
31906 $(STAGE4_CONFIGURE_FLAGS) \
31907 @extra_host_zlib_configure_flags@
31908 @endif zlib-bootstrap
31910 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31911 maybe-configure-stageprofile-zlib:
31912 @if zlib-bootstrap
31913 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31914 configure-stageprofile-zlib:
31915 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31917 @r=`${PWD_COMMAND}`; export r; \
31918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31919 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31920 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31921 $(HOST_EXPORTS) \
31922 $(POSTSTAGE1_HOST_EXPORTS) \
31923 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31924 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31925 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31926 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
31927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31928 cd $(HOST_SUBDIR)/zlib || exit 1; \
31929 case $(srcdir) in \
31930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31931 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31933 esac; \
31934 module_srcdir=zlib; \
31935 $(SHELL) $$s/$$module_srcdir/configure \
31936 --srcdir=$${topdir}/$$module_srcdir \
31937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31938 --target=${target_alias} \
31939 --with-build-libsubdir=$(HOST_SUBDIR) \
31940 $(STAGEprofile_CONFIGURE_FLAGS) \
31941 @extra_host_zlib_configure_flags@
31942 @endif zlib-bootstrap
31944 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
31945 maybe-configure-stagetrain-zlib:
31946 @if zlib-bootstrap
31947 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
31948 configure-stagetrain-zlib:
31949 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
31950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31951 @r=`${PWD_COMMAND}`; export r; \
31952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31953 TFLAGS="$(STAGEtrain_TFLAGS)"; \
31954 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31955 $(HOST_EXPORTS) \
31956 $(POSTSTAGE1_HOST_EXPORTS) \
31957 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
31958 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
31959 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
31960 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
31961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31962 cd $(HOST_SUBDIR)/zlib || exit 1; \
31963 case $(srcdir) in \
31964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31965 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31967 esac; \
31968 module_srcdir=zlib; \
31969 $(SHELL) $$s/$$module_srcdir/configure \
31970 --srcdir=$${topdir}/$$module_srcdir \
31971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31972 --target=${target_alias} \
31973 --with-build-libsubdir=$(HOST_SUBDIR) \
31974 $(STAGEtrain_CONFIGURE_FLAGS) \
31975 @extra_host_zlib_configure_flags@
31976 @endif zlib-bootstrap
31978 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
31979 maybe-configure-stagefeedback-zlib:
31980 @if zlib-bootstrap
31981 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
31982 configure-stagefeedback-zlib:
31983 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31985 @r=`${PWD_COMMAND}`; export r; \
31986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31987 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31988 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31989 $(HOST_EXPORTS) \
31990 $(POSTSTAGE1_HOST_EXPORTS) \
31991 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31992 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31993 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31994 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
31995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31996 cd $(HOST_SUBDIR)/zlib || exit 1; \
31997 case $(srcdir) in \
31998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31999 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32001 esac; \
32002 module_srcdir=zlib; \
32003 $(SHELL) $$s/$$module_srcdir/configure \
32004 --srcdir=$${topdir}/$$module_srcdir \
32005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32006 --target=${target_alias} \
32007 --with-build-libsubdir=$(HOST_SUBDIR) \
32008 $(STAGEfeedback_CONFIGURE_FLAGS) \
32009 @extra_host_zlib_configure_flags@
32010 @endif zlib-bootstrap
32012 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32013 maybe-configure-stageautoprofile-zlib:
32014 @if zlib-bootstrap
32015 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32016 configure-stageautoprofile-zlib:
32017 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32019 @r=`${PWD_COMMAND}`; export r; \
32020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32021 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32022 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32023 $(HOST_EXPORTS) \
32024 $(POSTSTAGE1_HOST_EXPORTS) \
32025 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32026 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32027 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32028 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32030 cd $(HOST_SUBDIR)/zlib || exit 1; \
32031 case $(srcdir) in \
32032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32033 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32035 esac; \
32036 module_srcdir=zlib; \
32037 $(SHELL) $$s/$$module_srcdir/configure \
32038 --srcdir=$${topdir}/$$module_srcdir \
32039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32040 --target=${target_alias} \
32041 --with-build-libsubdir=$(HOST_SUBDIR) \
32042 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32043 @extra_host_zlib_configure_flags@
32044 @endif zlib-bootstrap
32046 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32047 maybe-configure-stageautofeedback-zlib:
32048 @if zlib-bootstrap
32049 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32050 configure-stageautofeedback-zlib:
32051 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32053 @r=`${PWD_COMMAND}`; export r; \
32054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32055 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32056 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32057 $(HOST_EXPORTS) \
32058 $(POSTSTAGE1_HOST_EXPORTS) \
32059 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32060 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32061 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32062 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32064 cd $(HOST_SUBDIR)/zlib || exit 1; \
32065 case $(srcdir) in \
32066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32067 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32069 esac; \
32070 module_srcdir=zlib; \
32071 $(SHELL) $$s/$$module_srcdir/configure \
32072 --srcdir=$${topdir}/$$module_srcdir \
32073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32074 --target=${target_alias} \
32075 --with-build-libsubdir=$(HOST_SUBDIR) \
32076 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32077 @extra_host_zlib_configure_flags@
32078 @endif zlib-bootstrap
32084 .PHONY: all-zlib maybe-all-zlib
32085 maybe-all-zlib:
32086 @if gcc-bootstrap
32087 all-zlib: stage_current
32088 @endif gcc-bootstrap
32089 @if zlib
32090 TARGET-zlib=all
32091 maybe-all-zlib: all-zlib
32092 all-zlib: configure-zlib
32093 @r=`${PWD_COMMAND}`; export r; \
32094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32095 $(HOST_EXPORTS) \
32096 (cd $(HOST_SUBDIR)/zlib && \
32097 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32098 $(TARGET-zlib))
32099 @endif zlib
32103 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32104 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32105 maybe-all-stage1-zlib:
32106 maybe-clean-stage1-zlib:
32107 @if zlib-bootstrap
32108 maybe-all-stage1-zlib: all-stage1-zlib
32109 all-stage1: all-stage1-zlib
32110 TARGET-stage1-zlib = $(TARGET-zlib)
32111 all-stage1-zlib: configure-stage1-zlib
32112 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32113 @r=`${PWD_COMMAND}`; export r; \
32114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32115 TFLAGS="$(STAGE1_TFLAGS)"; \
32116 $(HOST_EXPORTS) \
32117 cd $(HOST_SUBDIR)/zlib && \
32119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32120 CFLAGS="$(STAGE1_CFLAGS)" \
32121 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32122 LIBCFLAGS="$(LIBCFLAGS)" \
32123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32126 $(EXTRA_HOST_FLAGS) \
32127 $(STAGE1_FLAGS_TO_PASS) \
32128 TFLAGS="$(STAGE1_TFLAGS)" \
32129 $(TARGET-stage1-zlib)
32131 maybe-clean-stage1-zlib: clean-stage1-zlib
32132 clean-stage1: clean-stage1-zlib
32133 clean-stage1-zlib:
32134 @if [ $(current_stage) = stage1 ]; then \
32135 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32136 else \
32137 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32138 $(MAKE) stage1-start; \
32139 fi; \
32140 cd $(HOST_SUBDIR)/zlib && \
32141 $(MAKE) $(EXTRA_HOST_FLAGS) \
32142 $(STAGE1_FLAGS_TO_PASS) clean
32143 @endif zlib-bootstrap
32146 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32147 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32148 maybe-all-stage2-zlib:
32149 maybe-clean-stage2-zlib:
32150 @if zlib-bootstrap
32151 maybe-all-stage2-zlib: all-stage2-zlib
32152 all-stage2: all-stage2-zlib
32153 TARGET-stage2-zlib = $(TARGET-zlib)
32154 all-stage2-zlib: configure-stage2-zlib
32155 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32156 @r=`${PWD_COMMAND}`; export r; \
32157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32158 TFLAGS="$(STAGE2_TFLAGS)"; \
32159 $(HOST_EXPORTS) \
32160 $(POSTSTAGE1_HOST_EXPORTS) \
32161 cd $(HOST_SUBDIR)/zlib && \
32163 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32164 CFLAGS="$(STAGE2_CFLAGS)" \
32165 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32166 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32167 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32168 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32169 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32170 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32171 TFLAGS="$(STAGE2_TFLAGS)" \
32172 $(TARGET-stage2-zlib)
32174 maybe-clean-stage2-zlib: clean-stage2-zlib
32175 clean-stage2: clean-stage2-zlib
32176 clean-stage2-zlib:
32177 @if [ $(current_stage) = stage2 ]; then \
32178 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32179 else \
32180 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32181 $(MAKE) stage2-start; \
32182 fi; \
32183 cd $(HOST_SUBDIR)/zlib && \
32184 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32185 @endif zlib-bootstrap
32188 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32189 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32190 maybe-all-stage3-zlib:
32191 maybe-clean-stage3-zlib:
32192 @if zlib-bootstrap
32193 maybe-all-stage3-zlib: all-stage3-zlib
32194 all-stage3: all-stage3-zlib
32195 TARGET-stage3-zlib = $(TARGET-zlib)
32196 all-stage3-zlib: configure-stage3-zlib
32197 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32198 @r=`${PWD_COMMAND}`; export r; \
32199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32200 TFLAGS="$(STAGE3_TFLAGS)"; \
32201 $(HOST_EXPORTS) \
32202 $(POSTSTAGE1_HOST_EXPORTS) \
32203 cd $(HOST_SUBDIR)/zlib && \
32205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32206 CFLAGS="$(STAGE3_CFLAGS)" \
32207 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32208 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32212 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32213 TFLAGS="$(STAGE3_TFLAGS)" \
32214 $(TARGET-stage3-zlib)
32216 maybe-clean-stage3-zlib: clean-stage3-zlib
32217 clean-stage3: clean-stage3-zlib
32218 clean-stage3-zlib:
32219 @if [ $(current_stage) = stage3 ]; then \
32220 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32221 else \
32222 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32223 $(MAKE) stage3-start; \
32224 fi; \
32225 cd $(HOST_SUBDIR)/zlib && \
32226 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32227 @endif zlib-bootstrap
32230 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32231 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32232 maybe-all-stage4-zlib:
32233 maybe-clean-stage4-zlib:
32234 @if zlib-bootstrap
32235 maybe-all-stage4-zlib: all-stage4-zlib
32236 all-stage4: all-stage4-zlib
32237 TARGET-stage4-zlib = $(TARGET-zlib)
32238 all-stage4-zlib: configure-stage4-zlib
32239 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32240 @r=`${PWD_COMMAND}`; export r; \
32241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32242 TFLAGS="$(STAGE4_TFLAGS)"; \
32243 $(HOST_EXPORTS) \
32244 $(POSTSTAGE1_HOST_EXPORTS) \
32245 cd $(HOST_SUBDIR)/zlib && \
32247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32248 CFLAGS="$(STAGE4_CFLAGS)" \
32249 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32250 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32251 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32252 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32253 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32254 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32255 TFLAGS="$(STAGE4_TFLAGS)" \
32256 $(TARGET-stage4-zlib)
32258 maybe-clean-stage4-zlib: clean-stage4-zlib
32259 clean-stage4: clean-stage4-zlib
32260 clean-stage4-zlib:
32261 @if [ $(current_stage) = stage4 ]; then \
32262 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32263 else \
32264 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32265 $(MAKE) stage4-start; \
32266 fi; \
32267 cd $(HOST_SUBDIR)/zlib && \
32268 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32269 @endif zlib-bootstrap
32272 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32273 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32274 maybe-all-stageprofile-zlib:
32275 maybe-clean-stageprofile-zlib:
32276 @if zlib-bootstrap
32277 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32278 all-stageprofile: all-stageprofile-zlib
32279 TARGET-stageprofile-zlib = $(TARGET-zlib)
32280 all-stageprofile-zlib: configure-stageprofile-zlib
32281 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32282 @r=`${PWD_COMMAND}`; export r; \
32283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32284 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32285 $(HOST_EXPORTS) \
32286 $(POSTSTAGE1_HOST_EXPORTS) \
32287 cd $(HOST_SUBDIR)/zlib && \
32289 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32290 CFLAGS="$(STAGEprofile_CFLAGS)" \
32291 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32292 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32296 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32297 TFLAGS="$(STAGEprofile_TFLAGS)" \
32298 $(TARGET-stageprofile-zlib)
32300 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32301 clean-stageprofile: clean-stageprofile-zlib
32302 clean-stageprofile-zlib:
32303 @if [ $(current_stage) = stageprofile ]; then \
32304 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32305 else \
32306 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32307 $(MAKE) stageprofile-start; \
32308 fi; \
32309 cd $(HOST_SUBDIR)/zlib && \
32310 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32311 @endif zlib-bootstrap
32314 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32315 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32316 maybe-all-stagetrain-zlib:
32317 maybe-clean-stagetrain-zlib:
32318 @if zlib-bootstrap
32319 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32320 all-stagetrain: all-stagetrain-zlib
32321 TARGET-stagetrain-zlib = $(TARGET-zlib)
32322 all-stagetrain-zlib: configure-stagetrain-zlib
32323 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32324 @r=`${PWD_COMMAND}`; export r; \
32325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32326 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32327 $(HOST_EXPORTS) \
32328 $(POSTSTAGE1_HOST_EXPORTS) \
32329 cd $(HOST_SUBDIR)/zlib && \
32331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32332 CFLAGS="$(STAGEtrain_CFLAGS)" \
32333 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32334 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32338 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32339 TFLAGS="$(STAGEtrain_TFLAGS)" \
32340 $(TARGET-stagetrain-zlib)
32342 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32343 clean-stagetrain: clean-stagetrain-zlib
32344 clean-stagetrain-zlib:
32345 @if [ $(current_stage) = stagetrain ]; then \
32346 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32347 else \
32348 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32349 $(MAKE) stagetrain-start; \
32350 fi; \
32351 cd $(HOST_SUBDIR)/zlib && \
32352 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32353 @endif zlib-bootstrap
32356 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32357 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32358 maybe-all-stagefeedback-zlib:
32359 maybe-clean-stagefeedback-zlib:
32360 @if zlib-bootstrap
32361 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32362 all-stagefeedback: all-stagefeedback-zlib
32363 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32364 all-stagefeedback-zlib: configure-stagefeedback-zlib
32365 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32366 @r=`${PWD_COMMAND}`; export r; \
32367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32368 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32369 $(HOST_EXPORTS) \
32370 $(POSTSTAGE1_HOST_EXPORTS) \
32371 cd $(HOST_SUBDIR)/zlib && \
32373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32374 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32375 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32376 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32381 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32382 $(TARGET-stagefeedback-zlib)
32384 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32385 clean-stagefeedback: clean-stagefeedback-zlib
32386 clean-stagefeedback-zlib:
32387 @if [ $(current_stage) = stagefeedback ]; then \
32388 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32389 else \
32390 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32391 $(MAKE) stagefeedback-start; \
32392 fi; \
32393 cd $(HOST_SUBDIR)/zlib && \
32394 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32395 @endif zlib-bootstrap
32398 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32399 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32400 maybe-all-stageautoprofile-zlib:
32401 maybe-clean-stageautoprofile-zlib:
32402 @if zlib-bootstrap
32403 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32404 all-stageautoprofile: all-stageautoprofile-zlib
32405 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32406 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32407 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32408 @r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32411 $(HOST_EXPORTS) \
32412 $(POSTSTAGE1_HOST_EXPORTS) \
32413 cd $(HOST_SUBDIR)/zlib && \
32414 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32416 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32417 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32418 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32422 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32423 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32424 $(TARGET-stageautoprofile-zlib)
32426 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32427 clean-stageautoprofile: clean-stageautoprofile-zlib
32428 clean-stageautoprofile-zlib:
32429 @if [ $(current_stage) = stageautoprofile ]; then \
32430 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32431 else \
32432 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32433 $(MAKE) stageautoprofile-start; \
32434 fi; \
32435 cd $(HOST_SUBDIR)/zlib && \
32436 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32437 @endif zlib-bootstrap
32440 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32441 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32442 maybe-all-stageautofeedback-zlib:
32443 maybe-clean-stageautofeedback-zlib:
32444 @if zlib-bootstrap
32445 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32446 all-stageautofeedback: all-stageautofeedback-zlib
32447 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32448 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32449 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32450 @r=`${PWD_COMMAND}`; export r; \
32451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32452 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32453 $(HOST_EXPORTS) \
32454 $(POSTSTAGE1_HOST_EXPORTS) \
32455 cd $(HOST_SUBDIR)/zlib && \
32457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32458 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32459 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32460 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32465 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32466 $(TARGET-stageautofeedback-zlib)
32468 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32469 clean-stageautofeedback: clean-stageautofeedback-zlib
32470 clean-stageautofeedback-zlib:
32471 @if [ $(current_stage) = stageautofeedback ]; then \
32472 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32473 else \
32474 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32475 $(MAKE) stageautofeedback-start; \
32476 fi; \
32477 cd $(HOST_SUBDIR)/zlib && \
32478 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32479 @endif zlib-bootstrap
32485 .PHONY: check-zlib maybe-check-zlib
32486 maybe-check-zlib:
32487 @if zlib
32488 maybe-check-zlib: check-zlib
32490 check-zlib:
32492 @endif zlib
32494 .PHONY: install-zlib maybe-install-zlib
32495 maybe-install-zlib:
32496 @if zlib
32497 maybe-install-zlib: install-zlib
32499 install-zlib:
32501 @endif zlib
32503 .PHONY: install-strip-zlib maybe-install-strip-zlib
32504 maybe-install-strip-zlib:
32505 @if zlib
32506 maybe-install-strip-zlib: install-strip-zlib
32508 install-strip-zlib:
32510 @endif zlib
32512 # Other targets (info, dvi, pdf, etc.)
32514 .PHONY: maybe-info-zlib info-zlib
32515 maybe-info-zlib:
32516 @if zlib
32517 maybe-info-zlib: info-zlib
32519 info-zlib: \
32520 configure-zlib
32521 @[ -f ./zlib/Makefile ] || exit 0; \
32522 r=`${PWD_COMMAND}`; export r; \
32523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32524 $(HOST_EXPORTS) \
32525 for flag in $(EXTRA_HOST_FLAGS) ; do \
32526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32527 done; \
32528 echo "Doing info in zlib"; \
32529 (cd $(HOST_SUBDIR)/zlib && \
32530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32532 "RANLIB=$${RANLIB}" \
32533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32534 info) \
32535 || exit 1
32537 @endif zlib
32539 .PHONY: maybe-dvi-zlib dvi-zlib
32540 maybe-dvi-zlib:
32541 @if zlib
32542 maybe-dvi-zlib: dvi-zlib
32544 dvi-zlib: \
32545 configure-zlib
32546 @[ -f ./zlib/Makefile ] || exit 0; \
32547 r=`${PWD_COMMAND}`; export r; \
32548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32549 $(HOST_EXPORTS) \
32550 for flag in $(EXTRA_HOST_FLAGS) ; do \
32551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32552 done; \
32553 echo "Doing dvi in zlib"; \
32554 (cd $(HOST_SUBDIR)/zlib && \
32555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32557 "RANLIB=$${RANLIB}" \
32558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32559 dvi) \
32560 || exit 1
32562 @endif zlib
32564 .PHONY: maybe-pdf-zlib pdf-zlib
32565 maybe-pdf-zlib:
32566 @if zlib
32567 maybe-pdf-zlib: pdf-zlib
32569 pdf-zlib: \
32570 configure-zlib
32571 @[ -f ./zlib/Makefile ] || exit 0; \
32572 r=`${PWD_COMMAND}`; export r; \
32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32574 $(HOST_EXPORTS) \
32575 for flag in $(EXTRA_HOST_FLAGS) ; do \
32576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32577 done; \
32578 echo "Doing pdf in zlib"; \
32579 (cd $(HOST_SUBDIR)/zlib && \
32580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32582 "RANLIB=$${RANLIB}" \
32583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32584 pdf) \
32585 || exit 1
32587 @endif zlib
32589 .PHONY: maybe-html-zlib html-zlib
32590 maybe-html-zlib:
32591 @if zlib
32592 maybe-html-zlib: html-zlib
32594 html-zlib: \
32595 configure-zlib
32596 @[ -f ./zlib/Makefile ] || exit 0; \
32597 r=`${PWD_COMMAND}`; export r; \
32598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32599 $(HOST_EXPORTS) \
32600 for flag in $(EXTRA_HOST_FLAGS) ; do \
32601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32602 done; \
32603 echo "Doing html in zlib"; \
32604 (cd $(HOST_SUBDIR)/zlib && \
32605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32607 "RANLIB=$${RANLIB}" \
32608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32609 html) \
32610 || exit 1
32612 @endif zlib
32614 .PHONY: maybe-TAGS-zlib TAGS-zlib
32615 maybe-TAGS-zlib:
32616 @if zlib
32617 maybe-TAGS-zlib: TAGS-zlib
32619 TAGS-zlib: \
32620 configure-zlib
32621 @[ -f ./zlib/Makefile ] || exit 0; \
32622 r=`${PWD_COMMAND}`; export r; \
32623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32624 $(HOST_EXPORTS) \
32625 for flag in $(EXTRA_HOST_FLAGS) ; do \
32626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32627 done; \
32628 echo "Doing TAGS in zlib"; \
32629 (cd $(HOST_SUBDIR)/zlib && \
32630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32632 "RANLIB=$${RANLIB}" \
32633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32634 TAGS) \
32635 || exit 1
32637 @endif zlib
32639 .PHONY: maybe-install-info-zlib install-info-zlib
32640 maybe-install-info-zlib:
32641 @if zlib
32642 maybe-install-info-zlib: install-info-zlib
32644 install-info-zlib: \
32645 configure-zlib \
32646 info-zlib
32647 @[ -f ./zlib/Makefile ] || exit 0; \
32648 r=`${PWD_COMMAND}`; export r; \
32649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32650 $(HOST_EXPORTS) \
32651 for flag in $(EXTRA_HOST_FLAGS) ; do \
32652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32653 done; \
32654 echo "Doing install-info in zlib"; \
32655 (cd $(HOST_SUBDIR)/zlib && \
32656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32658 "RANLIB=$${RANLIB}" \
32659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32660 install-info) \
32661 || exit 1
32663 @endif zlib
32665 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32666 maybe-install-pdf-zlib:
32667 @if zlib
32668 maybe-install-pdf-zlib: install-pdf-zlib
32670 install-pdf-zlib: \
32671 configure-zlib \
32672 pdf-zlib
32673 @[ -f ./zlib/Makefile ] || exit 0; \
32674 r=`${PWD_COMMAND}`; export r; \
32675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32676 $(HOST_EXPORTS) \
32677 for flag in $(EXTRA_HOST_FLAGS) ; do \
32678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32679 done; \
32680 echo "Doing install-pdf in zlib"; \
32681 (cd $(HOST_SUBDIR)/zlib && \
32682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32684 "RANLIB=$${RANLIB}" \
32685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32686 install-pdf) \
32687 || exit 1
32689 @endif zlib
32691 .PHONY: maybe-install-html-zlib install-html-zlib
32692 maybe-install-html-zlib:
32693 @if zlib
32694 maybe-install-html-zlib: install-html-zlib
32696 install-html-zlib: \
32697 configure-zlib \
32698 html-zlib
32699 @[ -f ./zlib/Makefile ] || exit 0; \
32700 r=`${PWD_COMMAND}`; export r; \
32701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32702 $(HOST_EXPORTS) \
32703 for flag in $(EXTRA_HOST_FLAGS) ; do \
32704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32705 done; \
32706 echo "Doing install-html in zlib"; \
32707 (cd $(HOST_SUBDIR)/zlib && \
32708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32710 "RANLIB=$${RANLIB}" \
32711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32712 install-html) \
32713 || exit 1
32715 @endif zlib
32717 .PHONY: maybe-installcheck-zlib installcheck-zlib
32718 maybe-installcheck-zlib:
32719 @if zlib
32720 maybe-installcheck-zlib: installcheck-zlib
32722 installcheck-zlib: \
32723 configure-zlib
32724 @[ -f ./zlib/Makefile ] || exit 0; \
32725 r=`${PWD_COMMAND}`; export r; \
32726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32727 $(HOST_EXPORTS) \
32728 for flag in $(EXTRA_HOST_FLAGS) ; do \
32729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32730 done; \
32731 echo "Doing installcheck in zlib"; \
32732 (cd $(HOST_SUBDIR)/zlib && \
32733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32735 "RANLIB=$${RANLIB}" \
32736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32737 installcheck) \
32738 || exit 1
32740 @endif zlib
32742 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
32743 maybe-mostlyclean-zlib:
32744 @if zlib
32745 maybe-mostlyclean-zlib: mostlyclean-zlib
32747 mostlyclean-zlib:
32748 @[ -f ./zlib/Makefile ] || exit 0; \
32749 r=`${PWD_COMMAND}`; export r; \
32750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32751 $(HOST_EXPORTS) \
32752 for flag in $(EXTRA_HOST_FLAGS) ; do \
32753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32754 done; \
32755 echo "Doing mostlyclean in zlib"; \
32756 (cd $(HOST_SUBDIR)/zlib && \
32757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32759 "RANLIB=$${RANLIB}" \
32760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32761 mostlyclean) \
32762 || exit 1
32764 @endif zlib
32766 .PHONY: maybe-clean-zlib clean-zlib
32767 maybe-clean-zlib:
32768 @if zlib
32769 maybe-clean-zlib: clean-zlib
32771 clean-zlib:
32772 @[ -f ./zlib/Makefile ] || exit 0; \
32773 r=`${PWD_COMMAND}`; export r; \
32774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32775 $(HOST_EXPORTS) \
32776 for flag in $(EXTRA_HOST_FLAGS) ; do \
32777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32778 done; \
32779 echo "Doing clean in zlib"; \
32780 (cd $(HOST_SUBDIR)/zlib && \
32781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32783 "RANLIB=$${RANLIB}" \
32784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32785 clean) \
32786 || exit 1
32788 @endif zlib
32790 .PHONY: maybe-distclean-zlib distclean-zlib
32791 maybe-distclean-zlib:
32792 @if zlib
32793 maybe-distclean-zlib: distclean-zlib
32795 distclean-zlib:
32796 @[ -f ./zlib/Makefile ] || exit 0; \
32797 r=`${PWD_COMMAND}`; export r; \
32798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32799 $(HOST_EXPORTS) \
32800 for flag in $(EXTRA_HOST_FLAGS) ; do \
32801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32802 done; \
32803 echo "Doing distclean in zlib"; \
32804 (cd $(HOST_SUBDIR)/zlib && \
32805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32807 "RANLIB=$${RANLIB}" \
32808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32809 distclean) \
32810 || exit 1
32812 @endif zlib
32814 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
32815 maybe-maintainer-clean-zlib:
32816 @if zlib
32817 maybe-maintainer-clean-zlib: maintainer-clean-zlib
32819 maintainer-clean-zlib:
32820 @[ -f ./zlib/Makefile ] || exit 0; \
32821 r=`${PWD_COMMAND}`; export r; \
32822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32823 $(HOST_EXPORTS) \
32824 for flag in $(EXTRA_HOST_FLAGS) ; do \
32825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32826 done; \
32827 echo "Doing maintainer-clean in zlib"; \
32828 (cd $(HOST_SUBDIR)/zlib && \
32829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32831 "RANLIB=$${RANLIB}" \
32832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32833 maintainer-clean) \
32834 || exit 1
32836 @endif zlib
32840 .PHONY: configure-gdb maybe-configure-gdb
32841 maybe-configure-gdb:
32842 @if gcc-bootstrap
32843 configure-gdb: stage_current
32844 @endif gcc-bootstrap
32845 @if gdb
32846 maybe-configure-gdb: configure-gdb
32847 configure-gdb:
32848 @: $(MAKE); $(unstage)
32849 @r=`${PWD_COMMAND}`; export r; \
32850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32851 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
32852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
32853 $(HOST_EXPORTS) \
32854 echo Configuring in $(HOST_SUBDIR)/gdb; \
32855 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
32856 case $(srcdir) in \
32857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32858 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
32859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32860 esac; \
32861 module_srcdir=gdb; \
32862 $(SHELL) \
32863 $$s/$$module_srcdir/configure \
32864 --srcdir=$${topdir}/$$module_srcdir \
32865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32866 --target=${target_alias} \
32867 || exit 1
32868 @endif gdb
32874 .PHONY: all-gdb maybe-all-gdb
32875 maybe-all-gdb:
32876 @if gcc-bootstrap
32877 all-gdb: stage_current
32878 @endif gcc-bootstrap
32879 @if gdb
32880 TARGET-gdb=all
32881 maybe-all-gdb: all-gdb
32882 all-gdb: configure-gdb
32883 @: $(MAKE); $(unstage)
32884 @r=`${PWD_COMMAND}`; export r; \
32885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32886 $(HOST_EXPORTS) \
32887 (cd $(HOST_SUBDIR)/gdb && \
32888 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32889 $(TARGET-gdb))
32890 @endif gdb
32895 .PHONY: check-gdb maybe-check-gdb
32896 maybe-check-gdb:
32897 @if gdb
32898 maybe-check-gdb: check-gdb
32900 check-gdb:
32901 @: $(MAKE); $(unstage)
32902 @r=`${PWD_COMMAND}`; export r; \
32903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32904 $(HOST_EXPORTS) \
32905 (cd $(HOST_SUBDIR)/gdb && \
32906 $(MAKE) $(FLAGS_TO_PASS) check)
32908 @endif gdb
32910 .PHONY: install-gdb maybe-install-gdb
32911 maybe-install-gdb:
32912 @if gdb
32913 maybe-install-gdb: install-gdb
32915 install-gdb: installdirs
32916 @: $(MAKE); $(unstage)
32917 @r=`${PWD_COMMAND}`; export r; \
32918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32919 $(HOST_EXPORTS) \
32920 (cd $(HOST_SUBDIR)/gdb && \
32921 $(MAKE) $(FLAGS_TO_PASS) install)
32923 @endif gdb
32925 .PHONY: install-strip-gdb maybe-install-strip-gdb
32926 maybe-install-strip-gdb:
32927 @if gdb
32928 maybe-install-strip-gdb: install-strip-gdb
32930 install-strip-gdb: installdirs
32931 @: $(MAKE); $(unstage)
32932 @r=`${PWD_COMMAND}`; export r; \
32933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32934 $(HOST_EXPORTS) \
32935 (cd $(HOST_SUBDIR)/gdb && \
32936 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32938 @endif gdb
32940 # Other targets (info, dvi, pdf, etc.)
32942 .PHONY: maybe-info-gdb info-gdb
32943 maybe-info-gdb:
32944 @if gdb
32945 maybe-info-gdb: info-gdb
32947 info-gdb: \
32948 configure-gdb
32949 @: $(MAKE); $(unstage)
32950 @[ -f ./gdb/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 info in gdb"; \
32958 (cd $(HOST_SUBDIR)/gdb && \
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 info) \
32964 || exit 1
32966 @endif gdb
32968 .PHONY: maybe-dvi-gdb dvi-gdb
32969 maybe-dvi-gdb:
32970 @if gdb
32971 maybe-dvi-gdb: dvi-gdb
32973 dvi-gdb: \
32974 configure-gdb
32975 @: $(MAKE); $(unstage)
32976 @[ -f ./gdb/Makefile ] || exit 0; \
32977 r=`${PWD_COMMAND}`; export r; \
32978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32979 $(HOST_EXPORTS) \
32980 for flag in $(EXTRA_HOST_FLAGS) ; do \
32981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32982 done; \
32983 echo "Doing dvi in gdb"; \
32984 (cd $(HOST_SUBDIR)/gdb && \
32985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32987 "RANLIB=$${RANLIB}" \
32988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32989 dvi) \
32990 || exit 1
32992 @endif gdb
32994 .PHONY: maybe-pdf-gdb pdf-gdb
32995 maybe-pdf-gdb:
32996 @if gdb
32997 maybe-pdf-gdb: pdf-gdb
32999 pdf-gdb: \
33000 configure-gdb
33001 @: $(MAKE); $(unstage)
33002 @[ -f ./gdb/Makefile ] || exit 0; \
33003 r=`${PWD_COMMAND}`; export r; \
33004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33005 $(HOST_EXPORTS) \
33006 for flag in $(EXTRA_HOST_FLAGS) ; do \
33007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33008 done; \
33009 echo "Doing pdf in gdb"; \
33010 (cd $(HOST_SUBDIR)/gdb && \
33011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33013 "RANLIB=$${RANLIB}" \
33014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33015 pdf) \
33016 || exit 1
33018 @endif gdb
33020 .PHONY: maybe-html-gdb html-gdb
33021 maybe-html-gdb:
33022 @if gdb
33023 maybe-html-gdb: html-gdb
33025 html-gdb: \
33026 configure-gdb
33027 @: $(MAKE); $(unstage)
33028 @[ -f ./gdb/Makefile ] || exit 0; \
33029 r=`${PWD_COMMAND}`; export r; \
33030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33031 $(HOST_EXPORTS) \
33032 for flag in $(EXTRA_HOST_FLAGS) ; do \
33033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33034 done; \
33035 echo "Doing html in gdb"; \
33036 (cd $(HOST_SUBDIR)/gdb && \
33037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33039 "RANLIB=$${RANLIB}" \
33040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33041 html) \
33042 || exit 1
33044 @endif gdb
33046 .PHONY: maybe-TAGS-gdb TAGS-gdb
33047 maybe-TAGS-gdb:
33048 @if gdb
33049 maybe-TAGS-gdb: TAGS-gdb
33051 TAGS-gdb: \
33052 configure-gdb
33053 @: $(MAKE); $(unstage)
33054 @[ -f ./gdb/Makefile ] || exit 0; \
33055 r=`${PWD_COMMAND}`; export r; \
33056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33057 $(HOST_EXPORTS) \
33058 for flag in $(EXTRA_HOST_FLAGS) ; do \
33059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33060 done; \
33061 echo "Doing TAGS in gdb"; \
33062 (cd $(HOST_SUBDIR)/gdb && \
33063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33065 "RANLIB=$${RANLIB}" \
33066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33067 TAGS) \
33068 || exit 1
33070 @endif gdb
33072 .PHONY: maybe-install-info-gdb install-info-gdb
33073 maybe-install-info-gdb:
33074 @if gdb
33075 maybe-install-info-gdb: install-info-gdb
33077 install-info-gdb: \
33078 configure-gdb \
33079 info-gdb
33080 @: $(MAKE); $(unstage)
33081 @[ -f ./gdb/Makefile ] || exit 0; \
33082 r=`${PWD_COMMAND}`; export r; \
33083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33084 $(HOST_EXPORTS) \
33085 for flag in $(EXTRA_HOST_FLAGS) ; do \
33086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33087 done; \
33088 echo "Doing install-info in gdb"; \
33089 (cd $(HOST_SUBDIR)/gdb && \
33090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33092 "RANLIB=$${RANLIB}" \
33093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33094 install-info) \
33095 || exit 1
33097 @endif gdb
33099 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33100 maybe-install-pdf-gdb:
33101 @if gdb
33102 maybe-install-pdf-gdb: install-pdf-gdb
33104 install-pdf-gdb: \
33105 configure-gdb \
33106 pdf-gdb
33107 @: $(MAKE); $(unstage)
33108 @[ -f ./gdb/Makefile ] || exit 0; \
33109 r=`${PWD_COMMAND}`; export r; \
33110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33111 $(HOST_EXPORTS) \
33112 for flag in $(EXTRA_HOST_FLAGS) ; do \
33113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33114 done; \
33115 echo "Doing install-pdf in gdb"; \
33116 (cd $(HOST_SUBDIR)/gdb && \
33117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33119 "RANLIB=$${RANLIB}" \
33120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33121 install-pdf) \
33122 || exit 1
33124 @endif gdb
33126 .PHONY: maybe-install-html-gdb install-html-gdb
33127 maybe-install-html-gdb:
33128 @if gdb
33129 maybe-install-html-gdb: install-html-gdb
33131 install-html-gdb: \
33132 configure-gdb \
33133 html-gdb
33134 @: $(MAKE); $(unstage)
33135 @[ -f ./gdb/Makefile ] || exit 0; \
33136 r=`${PWD_COMMAND}`; export r; \
33137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33138 $(HOST_EXPORTS) \
33139 for flag in $(EXTRA_HOST_FLAGS) ; do \
33140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33141 done; \
33142 echo "Doing install-html in gdb"; \
33143 (cd $(HOST_SUBDIR)/gdb && \
33144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33146 "RANLIB=$${RANLIB}" \
33147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33148 install-html) \
33149 || exit 1
33151 @endif gdb
33153 .PHONY: maybe-installcheck-gdb installcheck-gdb
33154 maybe-installcheck-gdb:
33155 @if gdb
33156 maybe-installcheck-gdb: installcheck-gdb
33158 installcheck-gdb: \
33159 configure-gdb
33160 @: $(MAKE); $(unstage)
33161 @[ -f ./gdb/Makefile ] || exit 0; \
33162 r=`${PWD_COMMAND}`; export r; \
33163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33164 $(HOST_EXPORTS) \
33165 for flag in $(EXTRA_HOST_FLAGS) ; do \
33166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33167 done; \
33168 echo "Doing installcheck in gdb"; \
33169 (cd $(HOST_SUBDIR)/gdb && \
33170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33172 "RANLIB=$${RANLIB}" \
33173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33174 installcheck) \
33175 || exit 1
33177 @endif gdb
33179 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33180 maybe-mostlyclean-gdb:
33181 @if gdb
33182 maybe-mostlyclean-gdb: mostlyclean-gdb
33184 mostlyclean-gdb:
33185 @: $(MAKE); $(unstage)
33186 @[ -f ./gdb/Makefile ] || exit 0; \
33187 r=`${PWD_COMMAND}`; export r; \
33188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33189 $(HOST_EXPORTS) \
33190 for flag in $(EXTRA_HOST_FLAGS) ; do \
33191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33192 done; \
33193 echo "Doing mostlyclean in gdb"; \
33194 (cd $(HOST_SUBDIR)/gdb && \
33195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33197 "RANLIB=$${RANLIB}" \
33198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33199 mostlyclean) \
33200 || exit 1
33202 @endif gdb
33204 .PHONY: maybe-clean-gdb clean-gdb
33205 maybe-clean-gdb:
33206 @if gdb
33207 maybe-clean-gdb: clean-gdb
33209 clean-gdb:
33210 @: $(MAKE); $(unstage)
33211 @[ -f ./gdb/Makefile ] || exit 0; \
33212 r=`${PWD_COMMAND}`; export r; \
33213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33214 $(HOST_EXPORTS) \
33215 for flag in $(EXTRA_HOST_FLAGS) ; do \
33216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33217 done; \
33218 echo "Doing clean in gdb"; \
33219 (cd $(HOST_SUBDIR)/gdb && \
33220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33222 "RANLIB=$${RANLIB}" \
33223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33224 clean) \
33225 || exit 1
33227 @endif gdb
33229 .PHONY: maybe-distclean-gdb distclean-gdb
33230 maybe-distclean-gdb:
33231 @if gdb
33232 maybe-distclean-gdb: distclean-gdb
33234 distclean-gdb:
33235 @: $(MAKE); $(unstage)
33236 @[ -f ./gdb/Makefile ] || exit 0; \
33237 r=`${PWD_COMMAND}`; export r; \
33238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33239 $(HOST_EXPORTS) \
33240 for flag in $(EXTRA_HOST_FLAGS) ; do \
33241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33242 done; \
33243 echo "Doing distclean in gdb"; \
33244 (cd $(HOST_SUBDIR)/gdb && \
33245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33247 "RANLIB=$${RANLIB}" \
33248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33249 distclean) \
33250 || exit 1
33252 @endif gdb
33254 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33255 maybe-maintainer-clean-gdb:
33256 @if gdb
33257 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33259 maintainer-clean-gdb:
33260 @: $(MAKE); $(unstage)
33261 @[ -f ./gdb/Makefile ] || exit 0; \
33262 r=`${PWD_COMMAND}`; export r; \
33263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33264 $(HOST_EXPORTS) \
33265 for flag in $(EXTRA_HOST_FLAGS) ; do \
33266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33267 done; \
33268 echo "Doing maintainer-clean in gdb"; \
33269 (cd $(HOST_SUBDIR)/gdb && \
33270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33272 "RANLIB=$${RANLIB}" \
33273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33274 maintainer-clean) \
33275 || exit 1
33277 @endif gdb
33281 .PHONY: configure-expect maybe-configure-expect
33282 maybe-configure-expect:
33283 @if gcc-bootstrap
33284 configure-expect: stage_current
33285 @endif gcc-bootstrap
33286 @if expect
33287 maybe-configure-expect: configure-expect
33288 configure-expect:
33289 @: $(MAKE); $(unstage)
33290 @r=`${PWD_COMMAND}`; export r; \
33291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33292 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
33293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
33294 $(HOST_EXPORTS) \
33295 echo Configuring in $(HOST_SUBDIR)/expect; \
33296 cd "$(HOST_SUBDIR)/expect" || exit 1; \
33297 case $(srcdir) in \
33298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33299 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
33300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33301 esac; \
33302 module_srcdir=expect; \
33303 $(SHELL) \
33304 $$s/$$module_srcdir/configure \
33305 --srcdir=$${topdir}/$$module_srcdir \
33306 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33307 --target=${target_alias} \
33308 || exit 1
33309 @endif expect
33315 .PHONY: all-expect maybe-all-expect
33316 maybe-all-expect:
33317 @if gcc-bootstrap
33318 all-expect: stage_current
33319 @endif gcc-bootstrap
33320 @if expect
33321 TARGET-expect=all
33322 maybe-all-expect: all-expect
33323 all-expect: configure-expect
33324 @: $(MAKE); $(unstage)
33325 @r=`${PWD_COMMAND}`; export r; \
33326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33327 $(HOST_EXPORTS) \
33328 (cd $(HOST_SUBDIR)/expect && \
33329 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33330 $(TARGET-expect))
33331 @endif expect
33336 .PHONY: check-expect maybe-check-expect
33337 maybe-check-expect:
33338 @if expect
33339 maybe-check-expect: check-expect
33341 check-expect:
33342 @: $(MAKE); $(unstage)
33343 @r=`${PWD_COMMAND}`; export r; \
33344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33345 $(HOST_EXPORTS) \
33346 (cd $(HOST_SUBDIR)/expect && \
33347 $(MAKE) $(FLAGS_TO_PASS) check)
33349 @endif expect
33351 .PHONY: install-expect maybe-install-expect
33352 maybe-install-expect:
33353 @if expect
33354 maybe-install-expect: install-expect
33356 install-expect: installdirs
33357 @: $(MAKE); $(unstage)
33358 @r=`${PWD_COMMAND}`; export r; \
33359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33360 $(HOST_EXPORTS) \
33361 (cd $(HOST_SUBDIR)/expect && \
33362 $(MAKE) $(FLAGS_TO_PASS) install)
33364 @endif expect
33366 .PHONY: install-strip-expect maybe-install-strip-expect
33367 maybe-install-strip-expect:
33368 @if expect
33369 maybe-install-strip-expect: install-strip-expect
33371 install-strip-expect: installdirs
33372 @: $(MAKE); $(unstage)
33373 @r=`${PWD_COMMAND}`; export r; \
33374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33375 $(HOST_EXPORTS) \
33376 (cd $(HOST_SUBDIR)/expect && \
33377 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33379 @endif expect
33381 # Other targets (info, dvi, pdf, etc.)
33383 .PHONY: maybe-info-expect info-expect
33384 maybe-info-expect:
33385 @if expect
33386 maybe-info-expect: info-expect
33388 info-expect: \
33389 configure-expect
33390 @: $(MAKE); $(unstage)
33391 @[ -f ./expect/Makefile ] || exit 0; \
33392 r=`${PWD_COMMAND}`; export r; \
33393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33394 $(HOST_EXPORTS) \
33395 for flag in $(EXTRA_HOST_FLAGS) ; do \
33396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33397 done; \
33398 echo "Doing info in expect"; \
33399 (cd $(HOST_SUBDIR)/expect && \
33400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33402 "RANLIB=$${RANLIB}" \
33403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33404 info) \
33405 || exit 1
33407 @endif expect
33409 .PHONY: maybe-dvi-expect dvi-expect
33410 maybe-dvi-expect:
33411 @if expect
33412 maybe-dvi-expect: dvi-expect
33414 dvi-expect: \
33415 configure-expect
33416 @: $(MAKE); $(unstage)
33417 @[ -f ./expect/Makefile ] || exit 0; \
33418 r=`${PWD_COMMAND}`; export r; \
33419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33420 $(HOST_EXPORTS) \
33421 for flag in $(EXTRA_HOST_FLAGS) ; do \
33422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33423 done; \
33424 echo "Doing dvi in expect"; \
33425 (cd $(HOST_SUBDIR)/expect && \
33426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33428 "RANLIB=$${RANLIB}" \
33429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33430 dvi) \
33431 || exit 1
33433 @endif expect
33435 .PHONY: maybe-pdf-expect pdf-expect
33436 maybe-pdf-expect:
33437 @if expect
33438 maybe-pdf-expect: pdf-expect
33440 pdf-expect: \
33441 configure-expect
33442 @: $(MAKE); $(unstage)
33443 @[ -f ./expect/Makefile ] || exit 0; \
33444 r=`${PWD_COMMAND}`; export r; \
33445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33446 $(HOST_EXPORTS) \
33447 for flag in $(EXTRA_HOST_FLAGS) ; do \
33448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33449 done; \
33450 echo "Doing pdf in expect"; \
33451 (cd $(HOST_SUBDIR)/expect && \
33452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33454 "RANLIB=$${RANLIB}" \
33455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33456 pdf) \
33457 || exit 1
33459 @endif expect
33461 .PHONY: maybe-html-expect html-expect
33462 maybe-html-expect:
33463 @if expect
33464 maybe-html-expect: html-expect
33466 html-expect: \
33467 configure-expect
33468 @: $(MAKE); $(unstage)
33469 @[ -f ./expect/Makefile ] || exit 0; \
33470 r=`${PWD_COMMAND}`; export r; \
33471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33472 $(HOST_EXPORTS) \
33473 for flag in $(EXTRA_HOST_FLAGS) ; do \
33474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33475 done; \
33476 echo "Doing html in expect"; \
33477 (cd $(HOST_SUBDIR)/expect && \
33478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33480 "RANLIB=$${RANLIB}" \
33481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33482 html) \
33483 || exit 1
33485 @endif expect
33487 .PHONY: maybe-TAGS-expect TAGS-expect
33488 maybe-TAGS-expect:
33489 @if expect
33490 maybe-TAGS-expect: TAGS-expect
33492 TAGS-expect: \
33493 configure-expect
33494 @: $(MAKE); $(unstage)
33495 @[ -f ./expect/Makefile ] || exit 0; \
33496 r=`${PWD_COMMAND}`; export r; \
33497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33498 $(HOST_EXPORTS) \
33499 for flag in $(EXTRA_HOST_FLAGS) ; do \
33500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33501 done; \
33502 echo "Doing TAGS in expect"; \
33503 (cd $(HOST_SUBDIR)/expect && \
33504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33506 "RANLIB=$${RANLIB}" \
33507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33508 TAGS) \
33509 || exit 1
33511 @endif expect
33513 .PHONY: maybe-install-info-expect install-info-expect
33514 maybe-install-info-expect:
33515 @if expect
33516 maybe-install-info-expect: install-info-expect
33518 install-info-expect: \
33519 configure-expect \
33520 info-expect
33521 @: $(MAKE); $(unstage)
33522 @[ -f ./expect/Makefile ] || exit 0; \
33523 r=`${PWD_COMMAND}`; export r; \
33524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33525 $(HOST_EXPORTS) \
33526 for flag in $(EXTRA_HOST_FLAGS) ; do \
33527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33528 done; \
33529 echo "Doing install-info in expect"; \
33530 (cd $(HOST_SUBDIR)/expect && \
33531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33533 "RANLIB=$${RANLIB}" \
33534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33535 install-info) \
33536 || exit 1
33538 @endif expect
33540 .PHONY: maybe-install-pdf-expect install-pdf-expect
33541 maybe-install-pdf-expect:
33542 @if expect
33543 maybe-install-pdf-expect: install-pdf-expect
33545 install-pdf-expect: \
33546 configure-expect \
33547 pdf-expect
33548 @: $(MAKE); $(unstage)
33549 @[ -f ./expect/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 install-pdf in expect"; \
33557 (cd $(HOST_SUBDIR)/expect && \
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 install-pdf) \
33563 || exit 1
33565 @endif expect
33567 .PHONY: maybe-install-html-expect install-html-expect
33568 maybe-install-html-expect:
33569 @if expect
33570 maybe-install-html-expect: install-html-expect
33572 install-html-expect: \
33573 configure-expect \
33574 html-expect
33575 @: $(MAKE); $(unstage)
33576 @[ -f ./expect/Makefile ] || exit 0; \
33577 r=`${PWD_COMMAND}`; export r; \
33578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33579 $(HOST_EXPORTS) \
33580 for flag in $(EXTRA_HOST_FLAGS) ; do \
33581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33582 done; \
33583 echo "Doing install-html in expect"; \
33584 (cd $(HOST_SUBDIR)/expect && \
33585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33587 "RANLIB=$${RANLIB}" \
33588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33589 install-html) \
33590 || exit 1
33592 @endif expect
33594 .PHONY: maybe-installcheck-expect installcheck-expect
33595 maybe-installcheck-expect:
33596 @if expect
33597 maybe-installcheck-expect: installcheck-expect
33599 installcheck-expect: \
33600 configure-expect
33601 @: $(MAKE); $(unstage)
33602 @[ -f ./expect/Makefile ] || exit 0; \
33603 r=`${PWD_COMMAND}`; export r; \
33604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33605 $(HOST_EXPORTS) \
33606 for flag in $(EXTRA_HOST_FLAGS) ; do \
33607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33608 done; \
33609 echo "Doing installcheck in expect"; \
33610 (cd $(HOST_SUBDIR)/expect && \
33611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33613 "RANLIB=$${RANLIB}" \
33614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33615 installcheck) \
33616 || exit 1
33618 @endif expect
33620 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33621 maybe-mostlyclean-expect:
33622 @if expect
33623 maybe-mostlyclean-expect: mostlyclean-expect
33625 mostlyclean-expect:
33626 @: $(MAKE); $(unstage)
33627 @[ -f ./expect/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 mostlyclean in expect"; \
33635 (cd $(HOST_SUBDIR)/expect && \
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 mostlyclean) \
33641 || exit 1
33643 @endif expect
33645 .PHONY: maybe-clean-expect clean-expect
33646 maybe-clean-expect:
33647 @if expect
33648 maybe-clean-expect: clean-expect
33650 clean-expect:
33651 @: $(MAKE); $(unstage)
33652 @[ -f ./expect/Makefile ] || exit 0; \
33653 r=`${PWD_COMMAND}`; export r; \
33654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33655 $(HOST_EXPORTS) \
33656 for flag in $(EXTRA_HOST_FLAGS) ; do \
33657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33658 done; \
33659 echo "Doing clean in expect"; \
33660 (cd $(HOST_SUBDIR)/expect && \
33661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33663 "RANLIB=$${RANLIB}" \
33664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33665 clean) \
33666 || exit 1
33668 @endif expect
33670 .PHONY: maybe-distclean-expect distclean-expect
33671 maybe-distclean-expect:
33672 @if expect
33673 maybe-distclean-expect: distclean-expect
33675 distclean-expect:
33676 @: $(MAKE); $(unstage)
33677 @[ -f ./expect/Makefile ] || exit 0; \
33678 r=`${PWD_COMMAND}`; export r; \
33679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33680 $(HOST_EXPORTS) \
33681 for flag in $(EXTRA_HOST_FLAGS) ; do \
33682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33683 done; \
33684 echo "Doing distclean in expect"; \
33685 (cd $(HOST_SUBDIR)/expect && \
33686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33688 "RANLIB=$${RANLIB}" \
33689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33690 distclean) \
33691 || exit 1
33693 @endif expect
33695 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33696 maybe-maintainer-clean-expect:
33697 @if expect
33698 maybe-maintainer-clean-expect: maintainer-clean-expect
33700 maintainer-clean-expect:
33701 @: $(MAKE); $(unstage)
33702 @[ -f ./expect/Makefile ] || exit 0; \
33703 r=`${PWD_COMMAND}`; export r; \
33704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33705 $(HOST_EXPORTS) \
33706 for flag in $(EXTRA_HOST_FLAGS) ; do \
33707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33708 done; \
33709 echo "Doing maintainer-clean in expect"; \
33710 (cd $(HOST_SUBDIR)/expect && \
33711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33713 "RANLIB=$${RANLIB}" \
33714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33715 maintainer-clean) \
33716 || exit 1
33718 @endif expect
33722 .PHONY: configure-guile maybe-configure-guile
33723 maybe-configure-guile:
33724 @if gcc-bootstrap
33725 configure-guile: stage_current
33726 @endif gcc-bootstrap
33727 @if guile
33728 maybe-configure-guile: configure-guile
33729 configure-guile:
33730 @: $(MAKE); $(unstage)
33731 @r=`${PWD_COMMAND}`; export r; \
33732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33733 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
33734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
33735 $(HOST_EXPORTS) \
33736 echo Configuring in $(HOST_SUBDIR)/guile; \
33737 cd "$(HOST_SUBDIR)/guile" || exit 1; \
33738 case $(srcdir) in \
33739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33740 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
33741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33742 esac; \
33743 module_srcdir=guile; \
33744 $(SHELL) \
33745 $$s/$$module_srcdir/configure \
33746 --srcdir=$${topdir}/$$module_srcdir \
33747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33748 --target=${target_alias} \
33749 || exit 1
33750 @endif guile
33756 .PHONY: all-guile maybe-all-guile
33757 maybe-all-guile:
33758 @if gcc-bootstrap
33759 all-guile: stage_current
33760 @endif gcc-bootstrap
33761 @if guile
33762 TARGET-guile=all
33763 maybe-all-guile: all-guile
33764 all-guile: configure-guile
33765 @: $(MAKE); $(unstage)
33766 @r=`${PWD_COMMAND}`; export r; \
33767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33768 $(HOST_EXPORTS) \
33769 (cd $(HOST_SUBDIR)/guile && \
33770 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33771 $(TARGET-guile))
33772 @endif guile
33777 .PHONY: check-guile maybe-check-guile
33778 maybe-check-guile:
33779 @if guile
33780 maybe-check-guile: check-guile
33782 check-guile:
33783 @: $(MAKE); $(unstage)
33784 @r=`${PWD_COMMAND}`; export r; \
33785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33786 $(HOST_EXPORTS) \
33787 (cd $(HOST_SUBDIR)/guile && \
33788 $(MAKE) $(FLAGS_TO_PASS) check)
33790 @endif guile
33792 .PHONY: install-guile maybe-install-guile
33793 maybe-install-guile:
33794 @if guile
33795 maybe-install-guile: install-guile
33797 install-guile: installdirs
33798 @: $(MAKE); $(unstage)
33799 @r=`${PWD_COMMAND}`; export r; \
33800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33801 $(HOST_EXPORTS) \
33802 (cd $(HOST_SUBDIR)/guile && \
33803 $(MAKE) $(FLAGS_TO_PASS) install)
33805 @endif guile
33807 .PHONY: install-strip-guile maybe-install-strip-guile
33808 maybe-install-strip-guile:
33809 @if guile
33810 maybe-install-strip-guile: install-strip-guile
33812 install-strip-guile: installdirs
33813 @: $(MAKE); $(unstage)
33814 @r=`${PWD_COMMAND}`; export r; \
33815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33816 $(HOST_EXPORTS) \
33817 (cd $(HOST_SUBDIR)/guile && \
33818 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33820 @endif guile
33822 # Other targets (info, dvi, pdf, etc.)
33824 .PHONY: maybe-info-guile info-guile
33825 maybe-info-guile:
33826 @if guile
33827 maybe-info-guile: info-guile
33829 info-guile: \
33830 configure-guile
33831 @: $(MAKE); $(unstage)
33832 @[ -f ./guile/Makefile ] || exit 0; \
33833 r=`${PWD_COMMAND}`; export r; \
33834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33835 $(HOST_EXPORTS) \
33836 for flag in $(EXTRA_HOST_FLAGS) ; do \
33837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33838 done; \
33839 echo "Doing info in guile"; \
33840 (cd $(HOST_SUBDIR)/guile && \
33841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33843 "RANLIB=$${RANLIB}" \
33844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33845 info) \
33846 || exit 1
33848 @endif guile
33850 .PHONY: maybe-dvi-guile dvi-guile
33851 maybe-dvi-guile:
33852 @if guile
33853 maybe-dvi-guile: dvi-guile
33855 dvi-guile: \
33856 configure-guile
33857 @: $(MAKE); $(unstage)
33858 @[ -f ./guile/Makefile ] || exit 0; \
33859 r=`${PWD_COMMAND}`; export r; \
33860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33861 $(HOST_EXPORTS) \
33862 for flag in $(EXTRA_HOST_FLAGS) ; do \
33863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33864 done; \
33865 echo "Doing dvi in guile"; \
33866 (cd $(HOST_SUBDIR)/guile && \
33867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33869 "RANLIB=$${RANLIB}" \
33870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33871 dvi) \
33872 || exit 1
33874 @endif guile
33876 .PHONY: maybe-pdf-guile pdf-guile
33877 maybe-pdf-guile:
33878 @if guile
33879 maybe-pdf-guile: pdf-guile
33881 pdf-guile: \
33882 configure-guile
33883 @: $(MAKE); $(unstage)
33884 @[ -f ./guile/Makefile ] || exit 0; \
33885 r=`${PWD_COMMAND}`; export r; \
33886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33887 $(HOST_EXPORTS) \
33888 for flag in $(EXTRA_HOST_FLAGS) ; do \
33889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33890 done; \
33891 echo "Doing pdf in guile"; \
33892 (cd $(HOST_SUBDIR)/guile && \
33893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33895 "RANLIB=$${RANLIB}" \
33896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33897 pdf) \
33898 || exit 1
33900 @endif guile
33902 .PHONY: maybe-html-guile html-guile
33903 maybe-html-guile:
33904 @if guile
33905 maybe-html-guile: html-guile
33907 html-guile: \
33908 configure-guile
33909 @: $(MAKE); $(unstage)
33910 @[ -f ./guile/Makefile ] || exit 0; \
33911 r=`${PWD_COMMAND}`; export r; \
33912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33913 $(HOST_EXPORTS) \
33914 for flag in $(EXTRA_HOST_FLAGS) ; do \
33915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33916 done; \
33917 echo "Doing html in guile"; \
33918 (cd $(HOST_SUBDIR)/guile && \
33919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33921 "RANLIB=$${RANLIB}" \
33922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33923 html) \
33924 || exit 1
33926 @endif guile
33928 .PHONY: maybe-TAGS-guile TAGS-guile
33929 maybe-TAGS-guile:
33930 @if guile
33931 maybe-TAGS-guile: TAGS-guile
33933 TAGS-guile: \
33934 configure-guile
33935 @: $(MAKE); $(unstage)
33936 @[ -f ./guile/Makefile ] || exit 0; \
33937 r=`${PWD_COMMAND}`; export r; \
33938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33939 $(HOST_EXPORTS) \
33940 for flag in $(EXTRA_HOST_FLAGS) ; do \
33941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33942 done; \
33943 echo "Doing TAGS in guile"; \
33944 (cd $(HOST_SUBDIR)/guile && \
33945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33947 "RANLIB=$${RANLIB}" \
33948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33949 TAGS) \
33950 || exit 1
33952 @endif guile
33954 .PHONY: maybe-install-info-guile install-info-guile
33955 maybe-install-info-guile:
33956 @if guile
33957 maybe-install-info-guile: install-info-guile
33959 install-info-guile: \
33960 configure-guile \
33961 info-guile
33962 @: $(MAKE); $(unstage)
33963 @[ -f ./guile/Makefile ] || exit 0; \
33964 r=`${PWD_COMMAND}`; export r; \
33965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33966 $(HOST_EXPORTS) \
33967 for flag in $(EXTRA_HOST_FLAGS) ; do \
33968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33969 done; \
33970 echo "Doing install-info in guile"; \
33971 (cd $(HOST_SUBDIR)/guile && \
33972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33974 "RANLIB=$${RANLIB}" \
33975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33976 install-info) \
33977 || exit 1
33979 @endif guile
33981 .PHONY: maybe-install-pdf-guile install-pdf-guile
33982 maybe-install-pdf-guile:
33983 @if guile
33984 maybe-install-pdf-guile: install-pdf-guile
33986 install-pdf-guile: \
33987 configure-guile \
33988 pdf-guile
33989 @: $(MAKE); $(unstage)
33990 @[ -f ./guile/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 install-pdf in guile"; \
33998 (cd $(HOST_SUBDIR)/guile && \
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 install-pdf) \
34004 || exit 1
34006 @endif guile
34008 .PHONY: maybe-install-html-guile install-html-guile
34009 maybe-install-html-guile:
34010 @if guile
34011 maybe-install-html-guile: install-html-guile
34013 install-html-guile: \
34014 configure-guile \
34015 html-guile
34016 @: $(MAKE); $(unstage)
34017 @[ -f ./guile/Makefile ] || exit 0; \
34018 r=`${PWD_COMMAND}`; export r; \
34019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34020 $(HOST_EXPORTS) \
34021 for flag in $(EXTRA_HOST_FLAGS) ; do \
34022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34023 done; \
34024 echo "Doing install-html in guile"; \
34025 (cd $(HOST_SUBDIR)/guile && \
34026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34028 "RANLIB=$${RANLIB}" \
34029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34030 install-html) \
34031 || exit 1
34033 @endif guile
34035 .PHONY: maybe-installcheck-guile installcheck-guile
34036 maybe-installcheck-guile:
34037 @if guile
34038 maybe-installcheck-guile: installcheck-guile
34040 installcheck-guile: \
34041 configure-guile
34042 @: $(MAKE); $(unstage)
34043 @[ -f ./guile/Makefile ] || exit 0; \
34044 r=`${PWD_COMMAND}`; export r; \
34045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34046 $(HOST_EXPORTS) \
34047 for flag in $(EXTRA_HOST_FLAGS) ; do \
34048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34049 done; \
34050 echo "Doing installcheck in guile"; \
34051 (cd $(HOST_SUBDIR)/guile && \
34052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34054 "RANLIB=$${RANLIB}" \
34055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34056 installcheck) \
34057 || exit 1
34059 @endif guile
34061 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34062 maybe-mostlyclean-guile:
34063 @if guile
34064 maybe-mostlyclean-guile: mostlyclean-guile
34066 mostlyclean-guile:
34067 @: $(MAKE); $(unstage)
34068 @[ -f ./guile/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 mostlyclean in guile"; \
34076 (cd $(HOST_SUBDIR)/guile && \
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 mostlyclean) \
34082 || exit 1
34084 @endif guile
34086 .PHONY: maybe-clean-guile clean-guile
34087 maybe-clean-guile:
34088 @if guile
34089 maybe-clean-guile: clean-guile
34091 clean-guile:
34092 @: $(MAKE); $(unstage)
34093 @[ -f ./guile/Makefile ] || exit 0; \
34094 r=`${PWD_COMMAND}`; export r; \
34095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34096 $(HOST_EXPORTS) \
34097 for flag in $(EXTRA_HOST_FLAGS) ; do \
34098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34099 done; \
34100 echo "Doing clean in guile"; \
34101 (cd $(HOST_SUBDIR)/guile && \
34102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34104 "RANLIB=$${RANLIB}" \
34105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34106 clean) \
34107 || exit 1
34109 @endif guile
34111 .PHONY: maybe-distclean-guile distclean-guile
34112 maybe-distclean-guile:
34113 @if guile
34114 maybe-distclean-guile: distclean-guile
34116 distclean-guile:
34117 @: $(MAKE); $(unstage)
34118 @[ -f ./guile/Makefile ] || exit 0; \
34119 r=`${PWD_COMMAND}`; export r; \
34120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34121 $(HOST_EXPORTS) \
34122 for flag in $(EXTRA_HOST_FLAGS) ; do \
34123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34124 done; \
34125 echo "Doing distclean in guile"; \
34126 (cd $(HOST_SUBDIR)/guile && \
34127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34129 "RANLIB=$${RANLIB}" \
34130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34131 distclean) \
34132 || exit 1
34134 @endif guile
34136 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34137 maybe-maintainer-clean-guile:
34138 @if guile
34139 maybe-maintainer-clean-guile: maintainer-clean-guile
34141 maintainer-clean-guile:
34142 @: $(MAKE); $(unstage)
34143 @[ -f ./guile/Makefile ] || exit 0; \
34144 r=`${PWD_COMMAND}`; export r; \
34145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34146 $(HOST_EXPORTS) \
34147 for flag in $(EXTRA_HOST_FLAGS) ; do \
34148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34149 done; \
34150 echo "Doing maintainer-clean in guile"; \
34151 (cd $(HOST_SUBDIR)/guile && \
34152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34154 "RANLIB=$${RANLIB}" \
34155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34156 maintainer-clean) \
34157 || exit 1
34159 @endif guile
34163 .PHONY: configure-tk maybe-configure-tk
34164 maybe-configure-tk:
34165 @if gcc-bootstrap
34166 configure-tk: stage_current
34167 @endif gcc-bootstrap
34168 @if tk
34169 maybe-configure-tk: configure-tk
34170 configure-tk:
34171 @: $(MAKE); $(unstage)
34172 @r=`${PWD_COMMAND}`; export r; \
34173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34174 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34176 $(HOST_EXPORTS) \
34177 echo Configuring in $(HOST_SUBDIR)/tk; \
34178 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34179 case $(srcdir) in \
34180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34181 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34183 esac; \
34184 module_srcdir=tk; \
34185 $(SHELL) \
34186 $$s/$$module_srcdir/configure \
34187 --srcdir=$${topdir}/$$module_srcdir \
34188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34189 --target=${target_alias} \
34190 || exit 1
34191 @endif tk
34197 .PHONY: all-tk maybe-all-tk
34198 maybe-all-tk:
34199 @if gcc-bootstrap
34200 all-tk: stage_current
34201 @endif gcc-bootstrap
34202 @if tk
34203 TARGET-tk=all
34204 maybe-all-tk: all-tk
34205 all-tk: configure-tk
34206 @: $(MAKE); $(unstage)
34207 @r=`${PWD_COMMAND}`; export r; \
34208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34209 $(HOST_EXPORTS) \
34210 (cd $(HOST_SUBDIR)/tk && \
34211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34212 $(TARGET-tk))
34213 @endif tk
34218 .PHONY: check-tk maybe-check-tk
34219 maybe-check-tk:
34220 @if tk
34221 maybe-check-tk: check-tk
34223 check-tk:
34224 @: $(MAKE); $(unstage)
34225 @r=`${PWD_COMMAND}`; export r; \
34226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34227 $(HOST_EXPORTS) \
34228 (cd $(HOST_SUBDIR)/tk && \
34229 $(MAKE) $(FLAGS_TO_PASS) check)
34231 @endif tk
34233 .PHONY: install-tk maybe-install-tk
34234 maybe-install-tk:
34235 @if tk
34236 maybe-install-tk: install-tk
34238 install-tk: installdirs
34239 @: $(MAKE); $(unstage)
34240 @r=`${PWD_COMMAND}`; export r; \
34241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34242 $(HOST_EXPORTS) \
34243 (cd $(HOST_SUBDIR)/tk && \
34244 $(MAKE) $(FLAGS_TO_PASS) install)
34246 @endif tk
34248 .PHONY: install-strip-tk maybe-install-strip-tk
34249 maybe-install-strip-tk:
34250 @if tk
34251 maybe-install-strip-tk: install-strip-tk
34253 install-strip-tk: installdirs
34254 @: $(MAKE); $(unstage)
34255 @r=`${PWD_COMMAND}`; export r; \
34256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34257 $(HOST_EXPORTS) \
34258 (cd $(HOST_SUBDIR)/tk && \
34259 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34261 @endif tk
34263 # Other targets (info, dvi, pdf, etc.)
34265 .PHONY: maybe-info-tk info-tk
34266 maybe-info-tk:
34267 @if tk
34268 maybe-info-tk: info-tk
34270 info-tk: \
34271 configure-tk
34272 @: $(MAKE); $(unstage)
34273 @[ -f ./tk/Makefile ] || exit 0; \
34274 r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 $(HOST_EXPORTS) \
34277 for flag in $(EXTRA_HOST_FLAGS) ; do \
34278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34279 done; \
34280 echo "Doing info in tk"; \
34281 (cd $(HOST_SUBDIR)/tk && \
34282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34284 "RANLIB=$${RANLIB}" \
34285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34286 info) \
34287 || exit 1
34289 @endif tk
34291 .PHONY: maybe-dvi-tk dvi-tk
34292 maybe-dvi-tk:
34293 @if tk
34294 maybe-dvi-tk: dvi-tk
34296 dvi-tk: \
34297 configure-tk
34298 @: $(MAKE); $(unstage)
34299 @[ -f ./tk/Makefile ] || exit 0; \
34300 r=`${PWD_COMMAND}`; export r; \
34301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34302 $(HOST_EXPORTS) \
34303 for flag in $(EXTRA_HOST_FLAGS) ; do \
34304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34305 done; \
34306 echo "Doing dvi in tk"; \
34307 (cd $(HOST_SUBDIR)/tk && \
34308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34310 "RANLIB=$${RANLIB}" \
34311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34312 dvi) \
34313 || exit 1
34315 @endif tk
34317 .PHONY: maybe-pdf-tk pdf-tk
34318 maybe-pdf-tk:
34319 @if tk
34320 maybe-pdf-tk: pdf-tk
34322 pdf-tk: \
34323 configure-tk
34324 @: $(MAKE); $(unstage)
34325 @[ -f ./tk/Makefile ] || exit 0; \
34326 r=`${PWD_COMMAND}`; export r; \
34327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34328 $(HOST_EXPORTS) \
34329 for flag in $(EXTRA_HOST_FLAGS) ; do \
34330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34331 done; \
34332 echo "Doing pdf in tk"; \
34333 (cd $(HOST_SUBDIR)/tk && \
34334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34336 "RANLIB=$${RANLIB}" \
34337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34338 pdf) \
34339 || exit 1
34341 @endif tk
34343 .PHONY: maybe-html-tk html-tk
34344 maybe-html-tk:
34345 @if tk
34346 maybe-html-tk: html-tk
34348 html-tk: \
34349 configure-tk
34350 @: $(MAKE); $(unstage)
34351 @[ -f ./tk/Makefile ] || exit 0; \
34352 r=`${PWD_COMMAND}`; export r; \
34353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34354 $(HOST_EXPORTS) \
34355 for flag in $(EXTRA_HOST_FLAGS) ; do \
34356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34357 done; \
34358 echo "Doing html in tk"; \
34359 (cd $(HOST_SUBDIR)/tk && \
34360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34362 "RANLIB=$${RANLIB}" \
34363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34364 html) \
34365 || exit 1
34367 @endif tk
34369 .PHONY: maybe-TAGS-tk TAGS-tk
34370 maybe-TAGS-tk:
34371 @if tk
34372 maybe-TAGS-tk: TAGS-tk
34374 TAGS-tk: \
34375 configure-tk
34376 @: $(MAKE); $(unstage)
34377 @[ -f ./tk/Makefile ] || exit 0; \
34378 r=`${PWD_COMMAND}`; export r; \
34379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34380 $(HOST_EXPORTS) \
34381 for flag in $(EXTRA_HOST_FLAGS) ; do \
34382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34383 done; \
34384 echo "Doing TAGS in tk"; \
34385 (cd $(HOST_SUBDIR)/tk && \
34386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34388 "RANLIB=$${RANLIB}" \
34389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34390 TAGS) \
34391 || exit 1
34393 @endif tk
34395 .PHONY: maybe-install-info-tk install-info-tk
34396 maybe-install-info-tk:
34397 @if tk
34398 maybe-install-info-tk: install-info-tk
34400 install-info-tk: \
34401 configure-tk \
34402 info-tk
34403 @: $(MAKE); $(unstage)
34404 @[ -f ./tk/Makefile ] || exit 0; \
34405 r=`${PWD_COMMAND}`; export r; \
34406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34407 $(HOST_EXPORTS) \
34408 for flag in $(EXTRA_HOST_FLAGS) ; do \
34409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34410 done; \
34411 echo "Doing install-info in tk"; \
34412 (cd $(HOST_SUBDIR)/tk && \
34413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34415 "RANLIB=$${RANLIB}" \
34416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34417 install-info) \
34418 || exit 1
34420 @endif tk
34422 .PHONY: maybe-install-pdf-tk install-pdf-tk
34423 maybe-install-pdf-tk:
34424 @if tk
34425 maybe-install-pdf-tk: install-pdf-tk
34427 install-pdf-tk: \
34428 configure-tk \
34429 pdf-tk
34430 @: $(MAKE); $(unstage)
34431 @[ -f ./tk/Makefile ] || exit 0; \
34432 r=`${PWD_COMMAND}`; export r; \
34433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34434 $(HOST_EXPORTS) \
34435 for flag in $(EXTRA_HOST_FLAGS) ; do \
34436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34437 done; \
34438 echo "Doing install-pdf in tk"; \
34439 (cd $(HOST_SUBDIR)/tk && \
34440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34442 "RANLIB=$${RANLIB}" \
34443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34444 install-pdf) \
34445 || exit 1
34447 @endif tk
34449 .PHONY: maybe-install-html-tk install-html-tk
34450 maybe-install-html-tk:
34451 @if tk
34452 maybe-install-html-tk: install-html-tk
34454 install-html-tk: \
34455 configure-tk \
34456 html-tk
34457 @: $(MAKE); $(unstage)
34458 @[ -f ./tk/Makefile ] || exit 0; \
34459 r=`${PWD_COMMAND}`; export r; \
34460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34461 $(HOST_EXPORTS) \
34462 for flag in $(EXTRA_HOST_FLAGS) ; do \
34463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34464 done; \
34465 echo "Doing install-html in tk"; \
34466 (cd $(HOST_SUBDIR)/tk && \
34467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34469 "RANLIB=$${RANLIB}" \
34470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34471 install-html) \
34472 || exit 1
34474 @endif tk
34476 .PHONY: maybe-installcheck-tk installcheck-tk
34477 maybe-installcheck-tk:
34478 @if tk
34479 maybe-installcheck-tk: installcheck-tk
34481 installcheck-tk: \
34482 configure-tk
34483 @: $(MAKE); $(unstage)
34484 @[ -f ./tk/Makefile ] || exit 0; \
34485 r=`${PWD_COMMAND}`; export r; \
34486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34487 $(HOST_EXPORTS) \
34488 for flag in $(EXTRA_HOST_FLAGS) ; do \
34489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34490 done; \
34491 echo "Doing installcheck in tk"; \
34492 (cd $(HOST_SUBDIR)/tk && \
34493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34495 "RANLIB=$${RANLIB}" \
34496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34497 installcheck) \
34498 || exit 1
34500 @endif tk
34502 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34503 maybe-mostlyclean-tk:
34504 @if tk
34505 maybe-mostlyclean-tk: mostlyclean-tk
34507 mostlyclean-tk:
34508 @: $(MAKE); $(unstage)
34509 @[ -f ./tk/Makefile ] || exit 0; \
34510 r=`${PWD_COMMAND}`; export r; \
34511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34512 $(HOST_EXPORTS) \
34513 for flag in $(EXTRA_HOST_FLAGS) ; do \
34514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34515 done; \
34516 echo "Doing mostlyclean in tk"; \
34517 (cd $(HOST_SUBDIR)/tk && \
34518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34520 "RANLIB=$${RANLIB}" \
34521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34522 mostlyclean) \
34523 || exit 1
34525 @endif tk
34527 .PHONY: maybe-clean-tk clean-tk
34528 maybe-clean-tk:
34529 @if tk
34530 maybe-clean-tk: clean-tk
34532 clean-tk:
34533 @: $(MAKE); $(unstage)
34534 @[ -f ./tk/Makefile ] || exit 0; \
34535 r=`${PWD_COMMAND}`; export r; \
34536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34537 $(HOST_EXPORTS) \
34538 for flag in $(EXTRA_HOST_FLAGS) ; do \
34539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34540 done; \
34541 echo "Doing clean in tk"; \
34542 (cd $(HOST_SUBDIR)/tk && \
34543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34545 "RANLIB=$${RANLIB}" \
34546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34547 clean) \
34548 || exit 1
34550 @endif tk
34552 .PHONY: maybe-distclean-tk distclean-tk
34553 maybe-distclean-tk:
34554 @if tk
34555 maybe-distclean-tk: distclean-tk
34557 distclean-tk:
34558 @: $(MAKE); $(unstage)
34559 @[ -f ./tk/Makefile ] || exit 0; \
34560 r=`${PWD_COMMAND}`; export r; \
34561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34562 $(HOST_EXPORTS) \
34563 for flag in $(EXTRA_HOST_FLAGS) ; do \
34564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34565 done; \
34566 echo "Doing distclean in tk"; \
34567 (cd $(HOST_SUBDIR)/tk && \
34568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34570 "RANLIB=$${RANLIB}" \
34571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34572 distclean) \
34573 || exit 1
34575 @endif tk
34577 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34578 maybe-maintainer-clean-tk:
34579 @if tk
34580 maybe-maintainer-clean-tk: maintainer-clean-tk
34582 maintainer-clean-tk:
34583 @: $(MAKE); $(unstage)
34584 @[ -f ./tk/Makefile ] || exit 0; \
34585 r=`${PWD_COMMAND}`; export r; \
34586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34587 $(HOST_EXPORTS) \
34588 for flag in $(EXTRA_HOST_FLAGS) ; do \
34589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34590 done; \
34591 echo "Doing maintainer-clean in tk"; \
34592 (cd $(HOST_SUBDIR)/tk && \
34593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34595 "RANLIB=$${RANLIB}" \
34596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34597 maintainer-clean) \
34598 || exit 1
34600 @endif tk
34604 .PHONY: configure-libtermcap maybe-configure-libtermcap
34605 maybe-configure-libtermcap:
34606 @if gcc-bootstrap
34607 configure-libtermcap: stage_current
34608 @endif gcc-bootstrap
34609 @if libtermcap
34610 maybe-configure-libtermcap: configure-libtermcap
34611 configure-libtermcap:
34612 @: $(MAKE); $(unstage)
34613 @r=`${PWD_COMMAND}`; export r; \
34614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34615 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
34617 $(HOST_EXPORTS) \
34618 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34619 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34620 case $(srcdir) in \
34621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34622 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34624 esac; \
34625 module_srcdir=libtermcap; \
34626 $(SHELL) \
34627 $$s/$$module_srcdir/configure \
34628 --srcdir=$${topdir}/$$module_srcdir \
34629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34630 --target=${target_alias} \
34631 || exit 1
34632 @endif libtermcap
34638 .PHONY: all-libtermcap maybe-all-libtermcap
34639 maybe-all-libtermcap:
34640 @if gcc-bootstrap
34641 all-libtermcap: stage_current
34642 @endif gcc-bootstrap
34643 @if libtermcap
34644 TARGET-libtermcap=all
34645 maybe-all-libtermcap: all-libtermcap
34646 all-libtermcap: configure-libtermcap
34647 @: $(MAKE); $(unstage)
34648 @r=`${PWD_COMMAND}`; export r; \
34649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34650 $(HOST_EXPORTS) \
34651 (cd $(HOST_SUBDIR)/libtermcap && \
34652 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34653 $(TARGET-libtermcap))
34654 @endif libtermcap
34659 .PHONY: check-libtermcap maybe-check-libtermcap
34660 maybe-check-libtermcap:
34661 @if libtermcap
34662 maybe-check-libtermcap: check-libtermcap
34664 check-libtermcap:
34666 @endif libtermcap
34668 .PHONY: install-libtermcap maybe-install-libtermcap
34669 maybe-install-libtermcap:
34670 @if libtermcap
34671 maybe-install-libtermcap: install-libtermcap
34673 install-libtermcap: installdirs
34674 @: $(MAKE); $(unstage)
34675 @r=`${PWD_COMMAND}`; export r; \
34676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34677 $(HOST_EXPORTS) \
34678 (cd $(HOST_SUBDIR)/libtermcap && \
34679 $(MAKE) $(FLAGS_TO_PASS) install)
34681 @endif libtermcap
34683 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
34684 maybe-install-strip-libtermcap:
34685 @if libtermcap
34686 maybe-install-strip-libtermcap: install-strip-libtermcap
34688 install-strip-libtermcap: installdirs
34689 @: $(MAKE); $(unstage)
34690 @r=`${PWD_COMMAND}`; export r; \
34691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34692 $(HOST_EXPORTS) \
34693 (cd $(HOST_SUBDIR)/libtermcap && \
34694 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34696 @endif libtermcap
34698 # Other targets (info, dvi, pdf, etc.)
34700 .PHONY: maybe-info-libtermcap info-libtermcap
34701 maybe-info-libtermcap:
34702 @if libtermcap
34703 maybe-info-libtermcap: info-libtermcap
34705 info-libtermcap: \
34706 configure-libtermcap
34707 @: $(MAKE); $(unstage)
34708 @[ -f ./libtermcap/Makefile ] || exit 0; \
34709 r=`${PWD_COMMAND}`; export r; \
34710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34711 $(HOST_EXPORTS) \
34712 for flag in $(EXTRA_HOST_FLAGS) ; do \
34713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34714 done; \
34715 echo "Doing info in libtermcap"; \
34716 (cd $(HOST_SUBDIR)/libtermcap && \
34717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34719 "RANLIB=$${RANLIB}" \
34720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34721 info) \
34722 || exit 1
34724 @endif libtermcap
34726 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34727 maybe-dvi-libtermcap:
34728 @if libtermcap
34729 maybe-dvi-libtermcap: dvi-libtermcap
34731 dvi-libtermcap: \
34732 configure-libtermcap
34733 @: $(MAKE); $(unstage)
34734 @[ -f ./libtermcap/Makefile ] || exit 0; \
34735 r=`${PWD_COMMAND}`; export r; \
34736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34737 $(HOST_EXPORTS) \
34738 for flag in $(EXTRA_HOST_FLAGS) ; do \
34739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34740 done; \
34741 echo "Doing dvi in libtermcap"; \
34742 (cd $(HOST_SUBDIR)/libtermcap && \
34743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34745 "RANLIB=$${RANLIB}" \
34746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34747 dvi) \
34748 || exit 1
34750 @endif libtermcap
34752 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
34753 maybe-pdf-libtermcap:
34754 @if libtermcap
34755 maybe-pdf-libtermcap: pdf-libtermcap
34757 pdf-libtermcap: \
34758 configure-libtermcap
34759 @: $(MAKE); $(unstage)
34760 @[ -f ./libtermcap/Makefile ] || exit 0; \
34761 r=`${PWD_COMMAND}`; export r; \
34762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34763 $(HOST_EXPORTS) \
34764 for flag in $(EXTRA_HOST_FLAGS) ; do \
34765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34766 done; \
34767 echo "Doing pdf in libtermcap"; \
34768 (cd $(HOST_SUBDIR)/libtermcap && \
34769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34771 "RANLIB=$${RANLIB}" \
34772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34773 pdf) \
34774 || exit 1
34776 @endif libtermcap
34778 .PHONY: maybe-html-libtermcap html-libtermcap
34779 maybe-html-libtermcap:
34780 @if libtermcap
34781 maybe-html-libtermcap: html-libtermcap
34783 html-libtermcap: \
34784 configure-libtermcap
34785 @: $(MAKE); $(unstage)
34786 @[ -f ./libtermcap/Makefile ] || exit 0; \
34787 r=`${PWD_COMMAND}`; export r; \
34788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34789 $(HOST_EXPORTS) \
34790 for flag in $(EXTRA_HOST_FLAGS) ; do \
34791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34792 done; \
34793 echo "Doing html in libtermcap"; \
34794 (cd $(HOST_SUBDIR)/libtermcap && \
34795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34797 "RANLIB=$${RANLIB}" \
34798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34799 html) \
34800 || exit 1
34802 @endif libtermcap
34804 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
34805 maybe-TAGS-libtermcap:
34806 @if libtermcap
34807 maybe-TAGS-libtermcap: TAGS-libtermcap
34809 TAGS-libtermcap: \
34810 configure-libtermcap
34811 @: $(MAKE); $(unstage)
34812 @[ -f ./libtermcap/Makefile ] || exit 0; \
34813 r=`${PWD_COMMAND}`; export r; \
34814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34815 $(HOST_EXPORTS) \
34816 for flag in $(EXTRA_HOST_FLAGS) ; do \
34817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34818 done; \
34819 echo "Doing TAGS in libtermcap"; \
34820 (cd $(HOST_SUBDIR)/libtermcap && \
34821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34823 "RANLIB=$${RANLIB}" \
34824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34825 TAGS) \
34826 || exit 1
34828 @endif libtermcap
34830 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
34831 maybe-install-info-libtermcap:
34832 @if libtermcap
34833 maybe-install-info-libtermcap: install-info-libtermcap
34835 install-info-libtermcap: \
34836 configure-libtermcap \
34837 info-libtermcap
34838 @: $(MAKE); $(unstage)
34839 @[ -f ./libtermcap/Makefile ] || exit 0; \
34840 r=`${PWD_COMMAND}`; export r; \
34841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34842 $(HOST_EXPORTS) \
34843 for flag in $(EXTRA_HOST_FLAGS) ; do \
34844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34845 done; \
34846 echo "Doing install-info in libtermcap"; \
34847 (cd $(HOST_SUBDIR)/libtermcap && \
34848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34850 "RANLIB=$${RANLIB}" \
34851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34852 install-info) \
34853 || exit 1
34855 @endif libtermcap
34857 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
34858 maybe-install-pdf-libtermcap:
34859 @if libtermcap
34860 maybe-install-pdf-libtermcap: install-pdf-libtermcap
34862 install-pdf-libtermcap: \
34863 configure-libtermcap \
34864 pdf-libtermcap
34865 @: $(MAKE); $(unstage)
34866 @[ -f ./libtermcap/Makefile ] || exit 0; \
34867 r=`${PWD_COMMAND}`; export r; \
34868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34869 $(HOST_EXPORTS) \
34870 for flag in $(EXTRA_HOST_FLAGS) ; do \
34871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34872 done; \
34873 echo "Doing install-pdf in libtermcap"; \
34874 (cd $(HOST_SUBDIR)/libtermcap && \
34875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34877 "RANLIB=$${RANLIB}" \
34878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34879 install-pdf) \
34880 || exit 1
34882 @endif libtermcap
34884 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
34885 maybe-install-html-libtermcap:
34886 @if libtermcap
34887 maybe-install-html-libtermcap: install-html-libtermcap
34889 install-html-libtermcap: \
34890 configure-libtermcap \
34891 html-libtermcap
34892 @: $(MAKE); $(unstage)
34893 @[ -f ./libtermcap/Makefile ] || exit 0; \
34894 r=`${PWD_COMMAND}`; export r; \
34895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34896 $(HOST_EXPORTS) \
34897 for flag in $(EXTRA_HOST_FLAGS) ; do \
34898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34899 done; \
34900 echo "Doing install-html in libtermcap"; \
34901 (cd $(HOST_SUBDIR)/libtermcap && \
34902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34904 "RANLIB=$${RANLIB}" \
34905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34906 install-html) \
34907 || exit 1
34909 @endif libtermcap
34911 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
34912 maybe-installcheck-libtermcap:
34913 @if libtermcap
34914 maybe-installcheck-libtermcap: installcheck-libtermcap
34916 installcheck-libtermcap: \
34917 configure-libtermcap
34918 @: $(MAKE); $(unstage)
34919 @[ -f ./libtermcap/Makefile ] || exit 0; \
34920 r=`${PWD_COMMAND}`; export r; \
34921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34922 $(HOST_EXPORTS) \
34923 for flag in $(EXTRA_HOST_FLAGS) ; do \
34924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34925 done; \
34926 echo "Doing installcheck in libtermcap"; \
34927 (cd $(HOST_SUBDIR)/libtermcap && \
34928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34930 "RANLIB=$${RANLIB}" \
34931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34932 installcheck) \
34933 || exit 1
34935 @endif libtermcap
34937 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
34938 maybe-mostlyclean-libtermcap:
34939 @if libtermcap
34940 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
34942 # libtermcap doesn't support mostlyclean.
34943 mostlyclean-libtermcap:
34945 @endif libtermcap
34947 .PHONY: maybe-clean-libtermcap clean-libtermcap
34948 maybe-clean-libtermcap:
34949 @if libtermcap
34950 maybe-clean-libtermcap: clean-libtermcap
34952 # libtermcap doesn't support clean.
34953 clean-libtermcap:
34955 @endif libtermcap
34957 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
34958 maybe-distclean-libtermcap:
34959 @if libtermcap
34960 maybe-distclean-libtermcap: distclean-libtermcap
34962 # libtermcap doesn't support distclean.
34963 distclean-libtermcap:
34965 @endif libtermcap
34967 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
34968 maybe-maintainer-clean-libtermcap:
34969 @if libtermcap
34970 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
34972 # libtermcap doesn't support maintainer-clean.
34973 maintainer-clean-libtermcap:
34975 @endif libtermcap
34979 .PHONY: configure-utils maybe-configure-utils
34980 maybe-configure-utils:
34981 @if gcc-bootstrap
34982 configure-utils: stage_current
34983 @endif gcc-bootstrap
34984 @if utils
34985 maybe-configure-utils: configure-utils
34986 configure-utils:
34987 @: $(MAKE); $(unstage)
34988 @r=`${PWD_COMMAND}`; export r; \
34989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34990 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
34991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
34992 $(HOST_EXPORTS) \
34993 echo Configuring in $(HOST_SUBDIR)/utils; \
34994 cd "$(HOST_SUBDIR)/utils" || exit 1; \
34995 case $(srcdir) in \
34996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34997 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
34998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34999 esac; \
35000 module_srcdir=utils; \
35001 $(SHELL) \
35002 $$s/$$module_srcdir/configure \
35003 --srcdir=$${topdir}/$$module_srcdir \
35004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35005 --target=${target_alias} \
35006 || exit 1
35007 @endif utils
35013 .PHONY: all-utils maybe-all-utils
35014 maybe-all-utils:
35015 @if gcc-bootstrap
35016 all-utils: stage_current
35017 @endif gcc-bootstrap
35018 @if utils
35019 TARGET-utils=all
35020 maybe-all-utils: all-utils
35021 all-utils: configure-utils
35022 @: $(MAKE); $(unstage)
35023 @r=`${PWD_COMMAND}`; export r; \
35024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35025 $(HOST_EXPORTS) \
35026 (cd $(HOST_SUBDIR)/utils && \
35027 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35028 $(TARGET-utils))
35029 @endif utils
35034 .PHONY: check-utils maybe-check-utils
35035 maybe-check-utils:
35036 @if utils
35037 maybe-check-utils: check-utils
35039 check-utils:
35041 @endif utils
35043 .PHONY: install-utils maybe-install-utils
35044 maybe-install-utils:
35045 @if utils
35046 maybe-install-utils: install-utils
35048 install-utils: installdirs
35049 @: $(MAKE); $(unstage)
35050 @r=`${PWD_COMMAND}`; export r; \
35051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35052 $(HOST_EXPORTS) \
35053 (cd $(HOST_SUBDIR)/utils && \
35054 $(MAKE) $(FLAGS_TO_PASS) install)
35056 @endif utils
35058 .PHONY: install-strip-utils maybe-install-strip-utils
35059 maybe-install-strip-utils:
35060 @if utils
35061 maybe-install-strip-utils: install-strip-utils
35063 install-strip-utils: installdirs
35064 @: $(MAKE); $(unstage)
35065 @r=`${PWD_COMMAND}`; export r; \
35066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35067 $(HOST_EXPORTS) \
35068 (cd $(HOST_SUBDIR)/utils && \
35069 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35071 @endif utils
35073 # Other targets (info, dvi, pdf, etc.)
35075 .PHONY: maybe-info-utils info-utils
35076 maybe-info-utils:
35077 @if utils
35078 maybe-info-utils: info-utils
35080 info-utils: \
35081 configure-utils
35082 @: $(MAKE); $(unstage)
35083 @[ -f ./utils/Makefile ] || exit 0; \
35084 r=`${PWD_COMMAND}`; export r; \
35085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35086 $(HOST_EXPORTS) \
35087 for flag in $(EXTRA_HOST_FLAGS) ; do \
35088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35089 done; \
35090 echo "Doing info in utils"; \
35091 (cd $(HOST_SUBDIR)/utils && \
35092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35094 "RANLIB=$${RANLIB}" \
35095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35096 info) \
35097 || exit 1
35099 @endif utils
35101 .PHONY: maybe-dvi-utils dvi-utils
35102 maybe-dvi-utils:
35103 @if utils
35104 maybe-dvi-utils: dvi-utils
35106 dvi-utils: \
35107 configure-utils
35108 @: $(MAKE); $(unstage)
35109 @[ -f ./utils/Makefile ] || exit 0; \
35110 r=`${PWD_COMMAND}`; export r; \
35111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35112 $(HOST_EXPORTS) \
35113 for flag in $(EXTRA_HOST_FLAGS) ; do \
35114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35115 done; \
35116 echo "Doing dvi in utils"; \
35117 (cd $(HOST_SUBDIR)/utils && \
35118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35120 "RANLIB=$${RANLIB}" \
35121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35122 dvi) \
35123 || exit 1
35125 @endif utils
35127 .PHONY: maybe-pdf-utils pdf-utils
35128 maybe-pdf-utils:
35129 @if utils
35130 maybe-pdf-utils: pdf-utils
35132 pdf-utils: \
35133 configure-utils
35134 @: $(MAKE); $(unstage)
35135 @[ -f ./utils/Makefile ] || exit 0; \
35136 r=`${PWD_COMMAND}`; export r; \
35137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35138 $(HOST_EXPORTS) \
35139 for flag in $(EXTRA_HOST_FLAGS) ; do \
35140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35141 done; \
35142 echo "Doing pdf in utils"; \
35143 (cd $(HOST_SUBDIR)/utils && \
35144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35146 "RANLIB=$${RANLIB}" \
35147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35148 pdf) \
35149 || exit 1
35151 @endif utils
35153 .PHONY: maybe-html-utils html-utils
35154 maybe-html-utils:
35155 @if utils
35156 maybe-html-utils: html-utils
35158 html-utils: \
35159 configure-utils
35160 @: $(MAKE); $(unstage)
35161 @[ -f ./utils/Makefile ] || exit 0; \
35162 r=`${PWD_COMMAND}`; export r; \
35163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35164 $(HOST_EXPORTS) \
35165 for flag in $(EXTRA_HOST_FLAGS) ; do \
35166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35167 done; \
35168 echo "Doing html in utils"; \
35169 (cd $(HOST_SUBDIR)/utils && \
35170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35172 "RANLIB=$${RANLIB}" \
35173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35174 html) \
35175 || exit 1
35177 @endif utils
35179 .PHONY: maybe-TAGS-utils TAGS-utils
35180 maybe-TAGS-utils:
35181 @if utils
35182 maybe-TAGS-utils: TAGS-utils
35184 TAGS-utils: \
35185 configure-utils
35186 @: $(MAKE); $(unstage)
35187 @[ -f ./utils/Makefile ] || exit 0; \
35188 r=`${PWD_COMMAND}`; export r; \
35189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35190 $(HOST_EXPORTS) \
35191 for flag in $(EXTRA_HOST_FLAGS) ; do \
35192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35193 done; \
35194 echo "Doing TAGS in utils"; \
35195 (cd $(HOST_SUBDIR)/utils && \
35196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35198 "RANLIB=$${RANLIB}" \
35199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35200 TAGS) \
35201 || exit 1
35203 @endif utils
35205 .PHONY: maybe-install-info-utils install-info-utils
35206 maybe-install-info-utils:
35207 @if utils
35208 maybe-install-info-utils: install-info-utils
35210 install-info-utils: \
35211 configure-utils \
35212 info-utils
35213 @: $(MAKE); $(unstage)
35214 @[ -f ./utils/Makefile ] || exit 0; \
35215 r=`${PWD_COMMAND}`; export r; \
35216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35217 $(HOST_EXPORTS) \
35218 for flag in $(EXTRA_HOST_FLAGS) ; do \
35219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35220 done; \
35221 echo "Doing install-info in utils"; \
35222 (cd $(HOST_SUBDIR)/utils && \
35223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35225 "RANLIB=$${RANLIB}" \
35226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35227 install-info) \
35228 || exit 1
35230 @endif utils
35232 .PHONY: maybe-install-pdf-utils install-pdf-utils
35233 maybe-install-pdf-utils:
35234 @if utils
35235 maybe-install-pdf-utils: install-pdf-utils
35237 install-pdf-utils: \
35238 configure-utils \
35239 pdf-utils
35240 @: $(MAKE); $(unstage)
35241 @[ -f ./utils/Makefile ] || exit 0; \
35242 r=`${PWD_COMMAND}`; export r; \
35243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35244 $(HOST_EXPORTS) \
35245 for flag in $(EXTRA_HOST_FLAGS) ; do \
35246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35247 done; \
35248 echo "Doing install-pdf in utils"; \
35249 (cd $(HOST_SUBDIR)/utils && \
35250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35252 "RANLIB=$${RANLIB}" \
35253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35254 install-pdf) \
35255 || exit 1
35257 @endif utils
35259 .PHONY: maybe-install-html-utils install-html-utils
35260 maybe-install-html-utils:
35261 @if utils
35262 maybe-install-html-utils: install-html-utils
35264 install-html-utils: \
35265 configure-utils \
35266 html-utils
35267 @: $(MAKE); $(unstage)
35268 @[ -f ./utils/Makefile ] || exit 0; \
35269 r=`${PWD_COMMAND}`; export r; \
35270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35271 $(HOST_EXPORTS) \
35272 for flag in $(EXTRA_HOST_FLAGS) ; do \
35273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35274 done; \
35275 echo "Doing install-html in utils"; \
35276 (cd $(HOST_SUBDIR)/utils && \
35277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35279 "RANLIB=$${RANLIB}" \
35280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35281 install-html) \
35282 || exit 1
35284 @endif utils
35286 .PHONY: maybe-installcheck-utils installcheck-utils
35287 maybe-installcheck-utils:
35288 @if utils
35289 maybe-installcheck-utils: installcheck-utils
35291 installcheck-utils: \
35292 configure-utils
35293 @: $(MAKE); $(unstage)
35294 @[ -f ./utils/Makefile ] || exit 0; \
35295 r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(HOST_EXPORTS) \
35298 for flag in $(EXTRA_HOST_FLAGS) ; do \
35299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35300 done; \
35301 echo "Doing installcheck in utils"; \
35302 (cd $(HOST_SUBDIR)/utils && \
35303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35305 "RANLIB=$${RANLIB}" \
35306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35307 installcheck) \
35308 || exit 1
35310 @endif utils
35312 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
35313 maybe-mostlyclean-utils:
35314 @if utils
35315 maybe-mostlyclean-utils: mostlyclean-utils
35317 mostlyclean-utils:
35318 @: $(MAKE); $(unstage)
35319 @[ -f ./utils/Makefile ] || exit 0; \
35320 r=`${PWD_COMMAND}`; export r; \
35321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35322 $(HOST_EXPORTS) \
35323 for flag in $(EXTRA_HOST_FLAGS) ; do \
35324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35325 done; \
35326 echo "Doing mostlyclean in utils"; \
35327 (cd $(HOST_SUBDIR)/utils && \
35328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35330 "RANLIB=$${RANLIB}" \
35331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35332 mostlyclean) \
35333 || exit 1
35335 @endif utils
35337 .PHONY: maybe-clean-utils clean-utils
35338 maybe-clean-utils:
35339 @if utils
35340 maybe-clean-utils: clean-utils
35342 clean-utils:
35343 @: $(MAKE); $(unstage)
35344 @[ -f ./utils/Makefile ] || exit 0; \
35345 r=`${PWD_COMMAND}`; export r; \
35346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35347 $(HOST_EXPORTS) \
35348 for flag in $(EXTRA_HOST_FLAGS) ; do \
35349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35350 done; \
35351 echo "Doing clean in utils"; \
35352 (cd $(HOST_SUBDIR)/utils && \
35353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35355 "RANLIB=$${RANLIB}" \
35356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35357 clean) \
35358 || exit 1
35360 @endif utils
35362 .PHONY: maybe-distclean-utils distclean-utils
35363 maybe-distclean-utils:
35364 @if utils
35365 maybe-distclean-utils: distclean-utils
35367 distclean-utils:
35368 @: $(MAKE); $(unstage)
35369 @[ -f ./utils/Makefile ] || exit 0; \
35370 r=`${PWD_COMMAND}`; export r; \
35371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35372 $(HOST_EXPORTS) \
35373 for flag in $(EXTRA_HOST_FLAGS) ; do \
35374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35375 done; \
35376 echo "Doing distclean in utils"; \
35377 (cd $(HOST_SUBDIR)/utils && \
35378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35380 "RANLIB=$${RANLIB}" \
35381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35382 distclean) \
35383 || exit 1
35385 @endif utils
35387 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
35388 maybe-maintainer-clean-utils:
35389 @if utils
35390 maybe-maintainer-clean-utils: maintainer-clean-utils
35392 maintainer-clean-utils:
35393 @: $(MAKE); $(unstage)
35394 @[ -f ./utils/Makefile ] || exit 0; \
35395 r=`${PWD_COMMAND}`; export r; \
35396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35397 $(HOST_EXPORTS) \
35398 for flag in $(EXTRA_HOST_FLAGS) ; do \
35399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35400 done; \
35401 echo "Doing maintainer-clean in utils"; \
35402 (cd $(HOST_SUBDIR)/utils && \
35403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35405 "RANLIB=$${RANLIB}" \
35406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35407 maintainer-clean) \
35408 || exit 1
35410 @endif utils
35414 .PHONY: configure-gnattools maybe-configure-gnattools
35415 maybe-configure-gnattools:
35416 @if gcc-bootstrap
35417 configure-gnattools: stage_current
35418 @endif gcc-bootstrap
35419 @if gnattools
35420 maybe-configure-gnattools: configure-gnattools
35421 configure-gnattools:
35422 @: $(MAKE); $(unstage)
35423 @r=`${PWD_COMMAND}`; export r; \
35424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35425 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
35426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
35427 $(HOST_EXPORTS) \
35428 echo Configuring in $(HOST_SUBDIR)/gnattools; \
35429 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
35430 case $(srcdir) in \
35431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35432 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
35433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35434 esac; \
35435 module_srcdir=gnattools; \
35436 $(SHELL) \
35437 $$s/$$module_srcdir/configure \
35438 --srcdir=$${topdir}/$$module_srcdir \
35439 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35440 --target=${target_alias} \
35441 || exit 1
35442 @endif gnattools
35448 .PHONY: all-gnattools maybe-all-gnattools
35449 maybe-all-gnattools:
35450 @if gcc-bootstrap
35451 all-gnattools: stage_current
35452 @endif gcc-bootstrap
35453 @if gnattools
35454 TARGET-gnattools=all
35455 maybe-all-gnattools: all-gnattools
35456 all-gnattools: configure-gnattools
35457 @: $(MAKE); $(unstage)
35458 @r=`${PWD_COMMAND}`; export r; \
35459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35460 $(HOST_EXPORTS) \
35461 (cd $(HOST_SUBDIR)/gnattools && \
35462 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35463 $(TARGET-gnattools))
35464 @endif gnattools
35469 .PHONY: check-gnattools maybe-check-gnattools
35470 maybe-check-gnattools:
35471 @if gnattools
35472 maybe-check-gnattools: check-gnattools
35474 check-gnattools:
35475 @: $(MAKE); $(unstage)
35476 @r=`${PWD_COMMAND}`; export r; \
35477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35478 $(HOST_EXPORTS) \
35479 (cd $(HOST_SUBDIR)/gnattools && \
35480 $(MAKE) $(FLAGS_TO_PASS) check)
35482 @endif gnattools
35484 .PHONY: install-gnattools maybe-install-gnattools
35485 maybe-install-gnattools:
35486 @if gnattools
35487 maybe-install-gnattools: install-gnattools
35489 install-gnattools: installdirs
35490 @: $(MAKE); $(unstage)
35491 @r=`${PWD_COMMAND}`; export r; \
35492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35493 $(HOST_EXPORTS) \
35494 (cd $(HOST_SUBDIR)/gnattools && \
35495 $(MAKE) $(FLAGS_TO_PASS) install)
35497 @endif gnattools
35499 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
35500 maybe-install-strip-gnattools:
35501 @if gnattools
35502 maybe-install-strip-gnattools: install-strip-gnattools
35504 install-strip-gnattools: installdirs
35505 @: $(MAKE); $(unstage)
35506 @r=`${PWD_COMMAND}`; export r; \
35507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35508 $(HOST_EXPORTS) \
35509 (cd $(HOST_SUBDIR)/gnattools && \
35510 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35512 @endif gnattools
35514 # Other targets (info, dvi, pdf, etc.)
35516 .PHONY: maybe-info-gnattools info-gnattools
35517 maybe-info-gnattools:
35518 @if gnattools
35519 maybe-info-gnattools: info-gnattools
35521 info-gnattools: \
35522 configure-gnattools
35523 @: $(MAKE); $(unstage)
35524 @[ -f ./gnattools/Makefile ] || exit 0; \
35525 r=`${PWD_COMMAND}`; export r; \
35526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35527 $(HOST_EXPORTS) \
35528 for flag in $(EXTRA_HOST_FLAGS) ; do \
35529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35530 done; \
35531 echo "Doing info in gnattools"; \
35532 (cd $(HOST_SUBDIR)/gnattools && \
35533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35535 "RANLIB=$${RANLIB}" \
35536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35537 info) \
35538 || exit 1
35540 @endif gnattools
35542 .PHONY: maybe-dvi-gnattools dvi-gnattools
35543 maybe-dvi-gnattools:
35544 @if gnattools
35545 maybe-dvi-gnattools: dvi-gnattools
35547 dvi-gnattools: \
35548 configure-gnattools
35549 @: $(MAKE); $(unstage)
35550 @[ -f ./gnattools/Makefile ] || exit 0; \
35551 r=`${PWD_COMMAND}`; export r; \
35552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35553 $(HOST_EXPORTS) \
35554 for flag in $(EXTRA_HOST_FLAGS) ; do \
35555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35556 done; \
35557 echo "Doing dvi in gnattools"; \
35558 (cd $(HOST_SUBDIR)/gnattools && \
35559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35561 "RANLIB=$${RANLIB}" \
35562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35563 dvi) \
35564 || exit 1
35566 @endif gnattools
35568 .PHONY: maybe-pdf-gnattools pdf-gnattools
35569 maybe-pdf-gnattools:
35570 @if gnattools
35571 maybe-pdf-gnattools: pdf-gnattools
35573 pdf-gnattools: \
35574 configure-gnattools
35575 @: $(MAKE); $(unstage)
35576 @[ -f ./gnattools/Makefile ] || exit 0; \
35577 r=`${PWD_COMMAND}`; export r; \
35578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35579 $(HOST_EXPORTS) \
35580 for flag in $(EXTRA_HOST_FLAGS) ; do \
35581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35582 done; \
35583 echo "Doing pdf in gnattools"; \
35584 (cd $(HOST_SUBDIR)/gnattools && \
35585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35587 "RANLIB=$${RANLIB}" \
35588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35589 pdf) \
35590 || exit 1
35592 @endif gnattools
35594 .PHONY: maybe-html-gnattools html-gnattools
35595 maybe-html-gnattools:
35596 @if gnattools
35597 maybe-html-gnattools: html-gnattools
35599 html-gnattools: \
35600 configure-gnattools
35601 @: $(MAKE); $(unstage)
35602 @[ -f ./gnattools/Makefile ] || exit 0; \
35603 r=`${PWD_COMMAND}`; export r; \
35604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35605 $(HOST_EXPORTS) \
35606 for flag in $(EXTRA_HOST_FLAGS) ; do \
35607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35608 done; \
35609 echo "Doing html in gnattools"; \
35610 (cd $(HOST_SUBDIR)/gnattools && \
35611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35613 "RANLIB=$${RANLIB}" \
35614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35615 html) \
35616 || exit 1
35618 @endif gnattools
35620 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35621 maybe-TAGS-gnattools:
35622 @if gnattools
35623 maybe-TAGS-gnattools: TAGS-gnattools
35625 TAGS-gnattools: \
35626 configure-gnattools
35627 @: $(MAKE); $(unstage)
35628 @[ -f ./gnattools/Makefile ] || exit 0; \
35629 r=`${PWD_COMMAND}`; export r; \
35630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35631 $(HOST_EXPORTS) \
35632 for flag in $(EXTRA_HOST_FLAGS) ; do \
35633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35634 done; \
35635 echo "Doing TAGS in gnattools"; \
35636 (cd $(HOST_SUBDIR)/gnattools && \
35637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35639 "RANLIB=$${RANLIB}" \
35640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35641 TAGS) \
35642 || exit 1
35644 @endif gnattools
35646 .PHONY: maybe-install-info-gnattools install-info-gnattools
35647 maybe-install-info-gnattools:
35648 @if gnattools
35649 maybe-install-info-gnattools: install-info-gnattools
35651 install-info-gnattools: \
35652 configure-gnattools \
35653 info-gnattools
35654 @: $(MAKE); $(unstage)
35655 @[ -f ./gnattools/Makefile ] || exit 0; \
35656 r=`${PWD_COMMAND}`; export r; \
35657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35658 $(HOST_EXPORTS) \
35659 for flag in $(EXTRA_HOST_FLAGS) ; do \
35660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35661 done; \
35662 echo "Doing install-info in gnattools"; \
35663 (cd $(HOST_SUBDIR)/gnattools && \
35664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35666 "RANLIB=$${RANLIB}" \
35667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35668 install-info) \
35669 || exit 1
35671 @endif gnattools
35673 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
35674 maybe-install-pdf-gnattools:
35675 @if gnattools
35676 maybe-install-pdf-gnattools: install-pdf-gnattools
35678 install-pdf-gnattools: \
35679 configure-gnattools \
35680 pdf-gnattools
35681 @: $(MAKE); $(unstage)
35682 @[ -f ./gnattools/Makefile ] || exit 0; \
35683 r=`${PWD_COMMAND}`; export r; \
35684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35685 $(HOST_EXPORTS) \
35686 for flag in $(EXTRA_HOST_FLAGS) ; do \
35687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35688 done; \
35689 echo "Doing install-pdf in gnattools"; \
35690 (cd $(HOST_SUBDIR)/gnattools && \
35691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35693 "RANLIB=$${RANLIB}" \
35694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35695 install-pdf) \
35696 || exit 1
35698 @endif gnattools
35700 .PHONY: maybe-install-html-gnattools install-html-gnattools
35701 maybe-install-html-gnattools:
35702 @if gnattools
35703 maybe-install-html-gnattools: install-html-gnattools
35705 install-html-gnattools: \
35706 configure-gnattools \
35707 html-gnattools
35708 @: $(MAKE); $(unstage)
35709 @[ -f ./gnattools/Makefile ] || exit 0; \
35710 r=`${PWD_COMMAND}`; export r; \
35711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35712 $(HOST_EXPORTS) \
35713 for flag in $(EXTRA_HOST_FLAGS) ; do \
35714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35715 done; \
35716 echo "Doing install-html in gnattools"; \
35717 (cd $(HOST_SUBDIR)/gnattools && \
35718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35720 "RANLIB=$${RANLIB}" \
35721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35722 install-html) \
35723 || exit 1
35725 @endif gnattools
35727 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
35728 maybe-installcheck-gnattools:
35729 @if gnattools
35730 maybe-installcheck-gnattools: installcheck-gnattools
35732 installcheck-gnattools: \
35733 configure-gnattools
35734 @: $(MAKE); $(unstage)
35735 @[ -f ./gnattools/Makefile ] || exit 0; \
35736 r=`${PWD_COMMAND}`; export r; \
35737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35738 $(HOST_EXPORTS) \
35739 for flag in $(EXTRA_HOST_FLAGS) ; do \
35740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35741 done; \
35742 echo "Doing installcheck in gnattools"; \
35743 (cd $(HOST_SUBDIR)/gnattools && \
35744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35746 "RANLIB=$${RANLIB}" \
35747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35748 installcheck) \
35749 || exit 1
35751 @endif gnattools
35753 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
35754 maybe-mostlyclean-gnattools:
35755 @if gnattools
35756 maybe-mostlyclean-gnattools: mostlyclean-gnattools
35758 mostlyclean-gnattools:
35759 @: $(MAKE); $(unstage)
35760 @[ -f ./gnattools/Makefile ] || exit 0; \
35761 r=`${PWD_COMMAND}`; export r; \
35762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35763 $(HOST_EXPORTS) \
35764 for flag in $(EXTRA_HOST_FLAGS) ; do \
35765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35766 done; \
35767 echo "Doing mostlyclean in gnattools"; \
35768 (cd $(HOST_SUBDIR)/gnattools && \
35769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35771 "RANLIB=$${RANLIB}" \
35772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35773 mostlyclean) \
35774 || exit 1
35776 @endif gnattools
35778 .PHONY: maybe-clean-gnattools clean-gnattools
35779 maybe-clean-gnattools:
35780 @if gnattools
35781 maybe-clean-gnattools: clean-gnattools
35783 clean-gnattools:
35784 @: $(MAKE); $(unstage)
35785 @[ -f ./gnattools/Makefile ] || exit 0; \
35786 r=`${PWD_COMMAND}`; export r; \
35787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35788 $(HOST_EXPORTS) \
35789 for flag in $(EXTRA_HOST_FLAGS) ; do \
35790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35791 done; \
35792 echo "Doing clean in gnattools"; \
35793 (cd $(HOST_SUBDIR)/gnattools && \
35794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35796 "RANLIB=$${RANLIB}" \
35797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35798 clean) \
35799 || exit 1
35801 @endif gnattools
35803 .PHONY: maybe-distclean-gnattools distclean-gnattools
35804 maybe-distclean-gnattools:
35805 @if gnattools
35806 maybe-distclean-gnattools: distclean-gnattools
35808 distclean-gnattools:
35809 @: $(MAKE); $(unstage)
35810 @[ -f ./gnattools/Makefile ] || exit 0; \
35811 r=`${PWD_COMMAND}`; export r; \
35812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35813 $(HOST_EXPORTS) \
35814 for flag in $(EXTRA_HOST_FLAGS) ; do \
35815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35816 done; \
35817 echo "Doing distclean in gnattools"; \
35818 (cd $(HOST_SUBDIR)/gnattools && \
35819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35821 "RANLIB=$${RANLIB}" \
35822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35823 distclean) \
35824 || exit 1
35826 @endif gnattools
35828 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
35829 maybe-maintainer-clean-gnattools:
35830 @if gnattools
35831 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
35833 maintainer-clean-gnattools:
35834 @: $(MAKE); $(unstage)
35835 @[ -f ./gnattools/Makefile ] || exit 0; \
35836 r=`${PWD_COMMAND}`; export r; \
35837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35838 $(HOST_EXPORTS) \
35839 for flag in $(EXTRA_HOST_FLAGS) ; do \
35840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35841 done; \
35842 echo "Doing maintainer-clean in gnattools"; \
35843 (cd $(HOST_SUBDIR)/gnattools && \
35844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35846 "RANLIB=$${RANLIB}" \
35847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35848 maintainer-clean) \
35849 || exit 1
35851 @endif gnattools
35855 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
35856 maybe-configure-lto-plugin:
35857 @if gcc-bootstrap
35858 configure-lto-plugin: stage_current
35859 @endif gcc-bootstrap
35860 @if lto-plugin
35861 maybe-configure-lto-plugin: configure-lto-plugin
35862 configure-lto-plugin:
35863 @r=`${PWD_COMMAND}`; export r; \
35864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35865 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35867 $(HOST_EXPORTS) \
35868 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
35869 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
35870 case $(srcdir) in \
35871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35872 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35874 esac; \
35875 module_srcdir=lto-plugin; \
35876 $(SHELL) \
35877 $$s/$$module_srcdir/configure \
35878 --srcdir=$${topdir}/$$module_srcdir \
35879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35880 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
35881 || exit 1
35882 @endif lto-plugin
35886 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
35887 maybe-configure-stage1-lto-plugin:
35888 @if lto-plugin-bootstrap
35889 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
35890 configure-stage1-lto-plugin:
35891 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35893 @r=`${PWD_COMMAND}`; export r; \
35894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35895 TFLAGS="$(STAGE1_TFLAGS)"; \
35896 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35897 $(HOST_EXPORTS) \
35898 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
35899 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
35900 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
35901 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
35902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35903 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35904 case $(srcdir) in \
35905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35906 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35908 esac; \
35909 module_srcdir=lto-plugin; \
35910 $(SHELL) $$s/$$module_srcdir/configure \
35911 --srcdir=$${topdir}/$$module_srcdir \
35912 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35913 --target=${target_alias} \
35915 $(STAGE1_CONFIGURE_FLAGS) \
35916 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35917 @endif lto-plugin-bootstrap
35919 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
35920 maybe-configure-stage2-lto-plugin:
35921 @if lto-plugin-bootstrap
35922 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
35923 configure-stage2-lto-plugin:
35924 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35926 @r=`${PWD_COMMAND}`; export r; \
35927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35928 TFLAGS="$(STAGE2_TFLAGS)"; \
35929 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35930 $(HOST_EXPORTS) \
35931 $(POSTSTAGE1_HOST_EXPORTS) \
35932 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
35933 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
35934 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
35935 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
35936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35937 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35938 case $(srcdir) in \
35939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35940 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35942 esac; \
35943 module_srcdir=lto-plugin; \
35944 $(SHELL) $$s/$$module_srcdir/configure \
35945 --srcdir=$${topdir}/$$module_srcdir \
35946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35947 --target=${target_alias} \
35948 --with-build-libsubdir=$(HOST_SUBDIR) \
35949 $(STAGE2_CONFIGURE_FLAGS) \
35950 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35951 @endif lto-plugin-bootstrap
35953 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
35954 maybe-configure-stage3-lto-plugin:
35955 @if lto-plugin-bootstrap
35956 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
35957 configure-stage3-lto-plugin:
35958 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35960 @r=`${PWD_COMMAND}`; export r; \
35961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35962 TFLAGS="$(STAGE3_TFLAGS)"; \
35963 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35964 $(HOST_EXPORTS) \
35965 $(POSTSTAGE1_HOST_EXPORTS) \
35966 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
35967 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
35968 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
35969 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
35970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35971 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35972 case $(srcdir) in \
35973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35974 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35976 esac; \
35977 module_srcdir=lto-plugin; \
35978 $(SHELL) $$s/$$module_srcdir/configure \
35979 --srcdir=$${topdir}/$$module_srcdir \
35980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35981 --target=${target_alias} \
35982 --with-build-libsubdir=$(HOST_SUBDIR) \
35983 $(STAGE3_CONFIGURE_FLAGS) \
35984 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35985 @endif lto-plugin-bootstrap
35987 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
35988 maybe-configure-stage4-lto-plugin:
35989 @if lto-plugin-bootstrap
35990 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
35991 configure-stage4-lto-plugin:
35992 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35994 @r=`${PWD_COMMAND}`; export r; \
35995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35996 TFLAGS="$(STAGE4_TFLAGS)"; \
35997 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35998 $(HOST_EXPORTS) \
35999 $(POSTSTAGE1_HOST_EXPORTS) \
36000 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36001 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36002 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36003 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36005 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36006 case $(srcdir) in \
36007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36008 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36010 esac; \
36011 module_srcdir=lto-plugin; \
36012 $(SHELL) $$s/$$module_srcdir/configure \
36013 --srcdir=$${topdir}/$$module_srcdir \
36014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36015 --target=${target_alias} \
36016 --with-build-libsubdir=$(HOST_SUBDIR) \
36017 $(STAGE4_CONFIGURE_FLAGS) \
36018 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36019 @endif lto-plugin-bootstrap
36021 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36022 maybe-configure-stageprofile-lto-plugin:
36023 @if lto-plugin-bootstrap
36024 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36025 configure-stageprofile-lto-plugin:
36026 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36028 @r=`${PWD_COMMAND}`; export r; \
36029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36030 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36031 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36032 $(HOST_EXPORTS) \
36033 $(POSTSTAGE1_HOST_EXPORTS) \
36034 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36035 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36036 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36037 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36039 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36040 case $(srcdir) in \
36041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36042 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36044 esac; \
36045 module_srcdir=lto-plugin; \
36046 $(SHELL) $$s/$$module_srcdir/configure \
36047 --srcdir=$${topdir}/$$module_srcdir \
36048 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36049 --target=${target_alias} \
36050 --with-build-libsubdir=$(HOST_SUBDIR) \
36051 $(STAGEprofile_CONFIGURE_FLAGS) \
36052 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36053 @endif lto-plugin-bootstrap
36055 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36056 maybe-configure-stagetrain-lto-plugin:
36057 @if lto-plugin-bootstrap
36058 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36059 configure-stagetrain-lto-plugin:
36060 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36062 @r=`${PWD_COMMAND}`; export r; \
36063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36064 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36065 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36066 $(HOST_EXPORTS) \
36067 $(POSTSTAGE1_HOST_EXPORTS) \
36068 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36069 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36070 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36071 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36073 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36074 case $(srcdir) in \
36075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36076 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36078 esac; \
36079 module_srcdir=lto-plugin; \
36080 $(SHELL) $$s/$$module_srcdir/configure \
36081 --srcdir=$${topdir}/$$module_srcdir \
36082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36083 --target=${target_alias} \
36084 --with-build-libsubdir=$(HOST_SUBDIR) \
36085 $(STAGEtrain_CONFIGURE_FLAGS) \
36086 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36087 @endif lto-plugin-bootstrap
36089 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36090 maybe-configure-stagefeedback-lto-plugin:
36091 @if lto-plugin-bootstrap
36092 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36093 configure-stagefeedback-lto-plugin:
36094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36096 @r=`${PWD_COMMAND}`; export r; \
36097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36098 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36099 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36100 $(HOST_EXPORTS) \
36101 $(POSTSTAGE1_HOST_EXPORTS) \
36102 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36105 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36107 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36108 case $(srcdir) in \
36109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36110 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36112 esac; \
36113 module_srcdir=lto-plugin; \
36114 $(SHELL) $$s/$$module_srcdir/configure \
36115 --srcdir=$${topdir}/$$module_srcdir \
36116 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36117 --target=${target_alias} \
36118 --with-build-libsubdir=$(HOST_SUBDIR) \
36119 $(STAGEfeedback_CONFIGURE_FLAGS) \
36120 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36121 @endif lto-plugin-bootstrap
36123 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36124 maybe-configure-stageautoprofile-lto-plugin:
36125 @if lto-plugin-bootstrap
36126 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36127 configure-stageautoprofile-lto-plugin:
36128 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36130 @r=`${PWD_COMMAND}`; export r; \
36131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36132 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36133 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36134 $(HOST_EXPORTS) \
36135 $(POSTSTAGE1_HOST_EXPORTS) \
36136 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36137 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36138 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36139 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36141 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36142 case $(srcdir) in \
36143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36144 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36146 esac; \
36147 module_srcdir=lto-plugin; \
36148 $(SHELL) $$s/$$module_srcdir/configure \
36149 --srcdir=$${topdir}/$$module_srcdir \
36150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36151 --target=${target_alias} \
36152 --with-build-libsubdir=$(HOST_SUBDIR) \
36153 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36154 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36155 @endif lto-plugin-bootstrap
36157 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36158 maybe-configure-stageautofeedback-lto-plugin:
36159 @if lto-plugin-bootstrap
36160 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36161 configure-stageautofeedback-lto-plugin:
36162 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36164 @r=`${PWD_COMMAND}`; export r; \
36165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36166 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36167 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36168 $(HOST_EXPORTS) \
36169 $(POSTSTAGE1_HOST_EXPORTS) \
36170 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36171 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36172 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36173 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36175 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36176 case $(srcdir) in \
36177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36178 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36180 esac; \
36181 module_srcdir=lto-plugin; \
36182 $(SHELL) $$s/$$module_srcdir/configure \
36183 --srcdir=$${topdir}/$$module_srcdir \
36184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36185 --target=${target_alias} \
36186 --with-build-libsubdir=$(HOST_SUBDIR) \
36187 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36188 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36189 @endif lto-plugin-bootstrap
36195 .PHONY: all-lto-plugin maybe-all-lto-plugin
36196 maybe-all-lto-plugin:
36197 @if gcc-bootstrap
36198 all-lto-plugin: stage_current
36199 @endif gcc-bootstrap
36200 @if lto-plugin
36201 TARGET-lto-plugin=all
36202 maybe-all-lto-plugin: all-lto-plugin
36203 all-lto-plugin: configure-lto-plugin
36204 @r=`${PWD_COMMAND}`; export r; \
36205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36206 $(HOST_EXPORTS) \
36207 (cd $(HOST_SUBDIR)/lto-plugin && \
36208 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36209 $(TARGET-lto-plugin))
36210 @endif lto-plugin
36214 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36215 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36216 maybe-all-stage1-lto-plugin:
36217 maybe-clean-stage1-lto-plugin:
36218 @if lto-plugin-bootstrap
36219 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36220 all-stage1: all-stage1-lto-plugin
36221 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36222 all-stage1-lto-plugin: configure-stage1-lto-plugin
36223 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36224 @r=`${PWD_COMMAND}`; export r; \
36225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36226 TFLAGS="$(STAGE1_TFLAGS)"; \
36227 $(HOST_EXPORTS) \
36228 cd $(HOST_SUBDIR)/lto-plugin && \
36230 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36231 CFLAGS="$(STAGE1_CFLAGS)" \
36232 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36233 LIBCFLAGS="$(LIBCFLAGS)" \
36234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36237 $(EXTRA_HOST_FLAGS) \
36238 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36239 TFLAGS="$(STAGE1_TFLAGS)" \
36240 $(TARGET-stage1-lto-plugin)
36242 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36243 clean-stage1: clean-stage1-lto-plugin
36244 clean-stage1-lto-plugin:
36245 @if [ $(current_stage) = stage1 ]; then \
36246 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36247 else \
36248 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36249 $(MAKE) stage1-start; \
36250 fi; \
36251 cd $(HOST_SUBDIR)/lto-plugin && \
36252 $(MAKE) $(EXTRA_HOST_FLAGS) \
36253 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36254 @endif lto-plugin-bootstrap
36257 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36258 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36259 maybe-all-stage2-lto-plugin:
36260 maybe-clean-stage2-lto-plugin:
36261 @if lto-plugin-bootstrap
36262 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36263 all-stage2: all-stage2-lto-plugin
36264 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36265 all-stage2-lto-plugin: configure-stage2-lto-plugin
36266 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36267 @r=`${PWD_COMMAND}`; export r; \
36268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36269 TFLAGS="$(STAGE2_TFLAGS)"; \
36270 $(HOST_EXPORTS) \
36271 $(POSTSTAGE1_HOST_EXPORTS) \
36272 cd $(HOST_SUBDIR)/lto-plugin && \
36274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36275 CFLAGS="$(STAGE2_CFLAGS)" \
36276 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
36277 LIBCFLAGS="$(STAGE2_CFLAGS)" \
36278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36281 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36282 TFLAGS="$(STAGE2_TFLAGS)" \
36283 $(TARGET-stage2-lto-plugin)
36285 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
36286 clean-stage2: clean-stage2-lto-plugin
36287 clean-stage2-lto-plugin:
36288 @if [ $(current_stage) = stage2 ]; then \
36289 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36290 else \
36291 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
36292 $(MAKE) stage2-start; \
36293 fi; \
36294 cd $(HOST_SUBDIR)/lto-plugin && \
36295 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36296 @endif lto-plugin-bootstrap
36299 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
36300 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
36301 maybe-all-stage3-lto-plugin:
36302 maybe-clean-stage3-lto-plugin:
36303 @if lto-plugin-bootstrap
36304 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
36305 all-stage3: all-stage3-lto-plugin
36306 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
36307 all-stage3-lto-plugin: configure-stage3-lto-plugin
36308 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36309 @r=`${PWD_COMMAND}`; export r; \
36310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36311 TFLAGS="$(STAGE3_TFLAGS)"; \
36312 $(HOST_EXPORTS) \
36313 $(POSTSTAGE1_HOST_EXPORTS) \
36314 cd $(HOST_SUBDIR)/lto-plugin && \
36316 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36317 CFLAGS="$(STAGE3_CFLAGS)" \
36318 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
36319 LIBCFLAGS="$(STAGE3_CFLAGS)" \
36320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36323 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36324 TFLAGS="$(STAGE3_TFLAGS)" \
36325 $(TARGET-stage3-lto-plugin)
36327 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
36328 clean-stage3: clean-stage3-lto-plugin
36329 clean-stage3-lto-plugin:
36330 @if [ $(current_stage) = stage3 ]; then \
36331 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36332 else \
36333 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
36334 $(MAKE) stage3-start; \
36335 fi; \
36336 cd $(HOST_SUBDIR)/lto-plugin && \
36337 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36338 @endif lto-plugin-bootstrap
36341 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
36342 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
36343 maybe-all-stage4-lto-plugin:
36344 maybe-clean-stage4-lto-plugin:
36345 @if lto-plugin-bootstrap
36346 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
36347 all-stage4: all-stage4-lto-plugin
36348 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
36349 all-stage4-lto-plugin: configure-stage4-lto-plugin
36350 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36351 @r=`${PWD_COMMAND}`; export r; \
36352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36353 TFLAGS="$(STAGE4_TFLAGS)"; \
36354 $(HOST_EXPORTS) \
36355 $(POSTSTAGE1_HOST_EXPORTS) \
36356 cd $(HOST_SUBDIR)/lto-plugin && \
36358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36359 CFLAGS="$(STAGE4_CFLAGS)" \
36360 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
36361 LIBCFLAGS="$(STAGE4_CFLAGS)" \
36362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36366 TFLAGS="$(STAGE4_TFLAGS)" \
36367 $(TARGET-stage4-lto-plugin)
36369 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
36370 clean-stage4: clean-stage4-lto-plugin
36371 clean-stage4-lto-plugin:
36372 @if [ $(current_stage) = stage4 ]; then \
36373 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36374 else \
36375 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
36376 $(MAKE) stage4-start; \
36377 fi; \
36378 cd $(HOST_SUBDIR)/lto-plugin && \
36379 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36380 @endif lto-plugin-bootstrap
36383 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
36384 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
36385 maybe-all-stageprofile-lto-plugin:
36386 maybe-clean-stageprofile-lto-plugin:
36387 @if lto-plugin-bootstrap
36388 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
36389 all-stageprofile: all-stageprofile-lto-plugin
36390 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
36391 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36392 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36393 @r=`${PWD_COMMAND}`; export r; \
36394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36395 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36396 $(HOST_EXPORTS) \
36397 $(POSTSTAGE1_HOST_EXPORTS) \
36398 cd $(HOST_SUBDIR)/lto-plugin && \
36400 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36401 CFLAGS="$(STAGEprofile_CFLAGS)" \
36402 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
36403 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
36404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36408 TFLAGS="$(STAGEprofile_TFLAGS)" \
36409 $(TARGET-stageprofile-lto-plugin)
36411 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
36412 clean-stageprofile: clean-stageprofile-lto-plugin
36413 clean-stageprofile-lto-plugin:
36414 @if [ $(current_stage) = stageprofile ]; then \
36415 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36416 else \
36417 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
36418 $(MAKE) stageprofile-start; \
36419 fi; \
36420 cd $(HOST_SUBDIR)/lto-plugin && \
36421 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36422 @endif lto-plugin-bootstrap
36425 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
36426 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
36427 maybe-all-stagetrain-lto-plugin:
36428 maybe-clean-stagetrain-lto-plugin:
36429 @if lto-plugin-bootstrap
36430 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
36431 all-stagetrain: all-stagetrain-lto-plugin
36432 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
36433 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36434 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36435 @r=`${PWD_COMMAND}`; export r; \
36436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36437 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36438 $(HOST_EXPORTS) \
36439 $(POSTSTAGE1_HOST_EXPORTS) \
36440 cd $(HOST_SUBDIR)/lto-plugin && \
36442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36443 CFLAGS="$(STAGEtrain_CFLAGS)" \
36444 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
36445 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
36446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36449 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36450 TFLAGS="$(STAGEtrain_TFLAGS)" \
36451 $(TARGET-stagetrain-lto-plugin)
36453 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
36454 clean-stagetrain: clean-stagetrain-lto-plugin
36455 clean-stagetrain-lto-plugin:
36456 @if [ $(current_stage) = stagetrain ]; then \
36457 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36458 else \
36459 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
36460 $(MAKE) stagetrain-start; \
36461 fi; \
36462 cd $(HOST_SUBDIR)/lto-plugin && \
36463 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36464 @endif lto-plugin-bootstrap
36467 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
36468 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
36469 maybe-all-stagefeedback-lto-plugin:
36470 maybe-clean-stagefeedback-lto-plugin:
36471 @if lto-plugin-bootstrap
36472 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
36473 all-stagefeedback: all-stagefeedback-lto-plugin
36474 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
36475 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36476 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36477 @r=`${PWD_COMMAND}`; export r; \
36478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36479 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36480 $(HOST_EXPORTS) \
36481 $(POSTSTAGE1_HOST_EXPORTS) \
36482 cd $(HOST_SUBDIR)/lto-plugin && \
36484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36485 CFLAGS="$(STAGEfeedback_CFLAGS)" \
36486 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
36487 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
36488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36492 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36493 $(TARGET-stagefeedback-lto-plugin)
36495 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
36496 clean-stagefeedback: clean-stagefeedback-lto-plugin
36497 clean-stagefeedback-lto-plugin:
36498 @if [ $(current_stage) = stagefeedback ]; then \
36499 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36500 else \
36501 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
36502 $(MAKE) stagefeedback-start; \
36503 fi; \
36504 cd $(HOST_SUBDIR)/lto-plugin && \
36505 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36506 @endif lto-plugin-bootstrap
36509 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
36510 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
36511 maybe-all-stageautoprofile-lto-plugin:
36512 maybe-clean-stageautoprofile-lto-plugin:
36513 @if lto-plugin-bootstrap
36514 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
36515 all-stageautoprofile: all-stageautoprofile-lto-plugin
36516 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
36517 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36518 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36519 @r=`${PWD_COMMAND}`; export r; \
36520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36521 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36522 $(HOST_EXPORTS) \
36523 $(POSTSTAGE1_HOST_EXPORTS) \
36524 cd $(HOST_SUBDIR)/lto-plugin && \
36525 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36526 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36527 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
36528 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
36529 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
36530 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36531 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36532 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36533 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36534 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36535 $(TARGET-stageautoprofile-lto-plugin)
36537 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
36538 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
36539 clean-stageautoprofile-lto-plugin:
36540 @if [ $(current_stage) = stageautoprofile ]; then \
36541 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36542 else \
36543 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
36544 $(MAKE) stageautoprofile-start; \
36545 fi; \
36546 cd $(HOST_SUBDIR)/lto-plugin && \
36547 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36548 @endif lto-plugin-bootstrap
36551 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
36552 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
36553 maybe-all-stageautofeedback-lto-plugin:
36554 maybe-clean-stageautofeedback-lto-plugin:
36555 @if lto-plugin-bootstrap
36556 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
36557 all-stageautofeedback: all-stageautofeedback-lto-plugin
36558 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
36559 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36560 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36561 @r=`${PWD_COMMAND}`; export r; \
36562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36563 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36564 $(HOST_EXPORTS) \
36565 $(POSTSTAGE1_HOST_EXPORTS) \
36566 cd $(HOST_SUBDIR)/lto-plugin && \
36568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36569 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
36570 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
36571 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
36572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36575 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36576 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36577 $(TARGET-stageautofeedback-lto-plugin)
36579 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
36580 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
36581 clean-stageautofeedback-lto-plugin:
36582 @if [ $(current_stage) = stageautofeedback ]; then \
36583 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36584 else \
36585 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
36586 $(MAKE) stageautofeedback-start; \
36587 fi; \
36588 cd $(HOST_SUBDIR)/lto-plugin && \
36589 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36590 @endif lto-plugin-bootstrap
36596 .PHONY: check-lto-plugin maybe-check-lto-plugin
36597 maybe-check-lto-plugin:
36598 @if lto-plugin
36599 maybe-check-lto-plugin: check-lto-plugin
36601 check-lto-plugin:
36602 @: $(MAKE); $(unstage)
36603 @r=`${PWD_COMMAND}`; export r; \
36604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36605 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
36606 (cd $(HOST_SUBDIR)/lto-plugin && \
36607 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
36609 @endif lto-plugin
36611 .PHONY: install-lto-plugin maybe-install-lto-plugin
36612 maybe-install-lto-plugin:
36613 @if lto-plugin
36614 maybe-install-lto-plugin: install-lto-plugin
36616 install-lto-plugin: installdirs
36617 @: $(MAKE); $(unstage)
36618 @r=`${PWD_COMMAND}`; export r; \
36619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36620 $(HOST_EXPORTS) \
36621 (cd $(HOST_SUBDIR)/lto-plugin && \
36622 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
36624 @endif lto-plugin
36626 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
36627 maybe-install-strip-lto-plugin:
36628 @if lto-plugin
36629 maybe-install-strip-lto-plugin: install-strip-lto-plugin
36631 install-strip-lto-plugin: installdirs
36632 @: $(MAKE); $(unstage)
36633 @r=`${PWD_COMMAND}`; export r; \
36634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36635 $(HOST_EXPORTS) \
36636 (cd $(HOST_SUBDIR)/lto-plugin && \
36637 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
36639 @endif lto-plugin
36641 # Other targets (info, dvi, pdf, etc.)
36643 .PHONY: maybe-info-lto-plugin info-lto-plugin
36644 maybe-info-lto-plugin:
36645 @if lto-plugin
36646 maybe-info-lto-plugin: info-lto-plugin
36648 info-lto-plugin: \
36649 configure-lto-plugin
36650 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36651 r=`${PWD_COMMAND}`; export r; \
36652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36653 $(HOST_EXPORTS) \
36654 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36656 done; \
36657 echo "Doing info in lto-plugin"; \
36658 (cd $(HOST_SUBDIR)/lto-plugin && \
36659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36661 "RANLIB=$${RANLIB}" \
36662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36663 info) \
36664 || exit 1
36666 @endif lto-plugin
36668 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
36669 maybe-dvi-lto-plugin:
36670 @if lto-plugin
36671 maybe-dvi-lto-plugin: dvi-lto-plugin
36673 dvi-lto-plugin: \
36674 configure-lto-plugin
36675 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36676 r=`${PWD_COMMAND}`; export r; \
36677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36678 $(HOST_EXPORTS) \
36679 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36681 done; \
36682 echo "Doing dvi in lto-plugin"; \
36683 (cd $(HOST_SUBDIR)/lto-plugin && \
36684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36686 "RANLIB=$${RANLIB}" \
36687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36688 dvi) \
36689 || exit 1
36691 @endif lto-plugin
36693 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
36694 maybe-pdf-lto-plugin:
36695 @if lto-plugin
36696 maybe-pdf-lto-plugin: pdf-lto-plugin
36698 pdf-lto-plugin: \
36699 configure-lto-plugin
36700 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36701 r=`${PWD_COMMAND}`; export r; \
36702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36703 $(HOST_EXPORTS) \
36704 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36706 done; \
36707 echo "Doing pdf in lto-plugin"; \
36708 (cd $(HOST_SUBDIR)/lto-plugin && \
36709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36711 "RANLIB=$${RANLIB}" \
36712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36713 pdf) \
36714 || exit 1
36716 @endif lto-plugin
36718 .PHONY: maybe-html-lto-plugin html-lto-plugin
36719 maybe-html-lto-plugin:
36720 @if lto-plugin
36721 maybe-html-lto-plugin: html-lto-plugin
36723 html-lto-plugin: \
36724 configure-lto-plugin
36725 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36726 r=`${PWD_COMMAND}`; export r; \
36727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36728 $(HOST_EXPORTS) \
36729 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36731 done; \
36732 echo "Doing html in lto-plugin"; \
36733 (cd $(HOST_SUBDIR)/lto-plugin && \
36734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36736 "RANLIB=$${RANLIB}" \
36737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36738 html) \
36739 || exit 1
36741 @endif lto-plugin
36743 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
36744 maybe-TAGS-lto-plugin:
36745 @if lto-plugin
36746 maybe-TAGS-lto-plugin: TAGS-lto-plugin
36748 TAGS-lto-plugin: \
36749 configure-lto-plugin
36750 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36751 r=`${PWD_COMMAND}`; export r; \
36752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36753 $(HOST_EXPORTS) \
36754 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36756 done; \
36757 echo "Doing TAGS in lto-plugin"; \
36758 (cd $(HOST_SUBDIR)/lto-plugin && \
36759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36761 "RANLIB=$${RANLIB}" \
36762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36763 TAGS) \
36764 || exit 1
36766 @endif lto-plugin
36768 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
36769 maybe-install-info-lto-plugin:
36770 @if lto-plugin
36771 maybe-install-info-lto-plugin: install-info-lto-plugin
36773 install-info-lto-plugin: \
36774 configure-lto-plugin \
36775 info-lto-plugin
36776 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36777 r=`${PWD_COMMAND}`; export r; \
36778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36779 $(HOST_EXPORTS) \
36780 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36782 done; \
36783 echo "Doing install-info in lto-plugin"; \
36784 (cd $(HOST_SUBDIR)/lto-plugin && \
36785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36787 "RANLIB=$${RANLIB}" \
36788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36789 install-info) \
36790 || exit 1
36792 @endif lto-plugin
36794 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
36795 maybe-install-pdf-lto-plugin:
36796 @if lto-plugin
36797 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
36799 install-pdf-lto-plugin: \
36800 configure-lto-plugin \
36801 pdf-lto-plugin
36802 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36803 r=`${PWD_COMMAND}`; export r; \
36804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36805 $(HOST_EXPORTS) \
36806 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36808 done; \
36809 echo "Doing install-pdf in lto-plugin"; \
36810 (cd $(HOST_SUBDIR)/lto-plugin && \
36811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36813 "RANLIB=$${RANLIB}" \
36814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36815 install-pdf) \
36816 || exit 1
36818 @endif lto-plugin
36820 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
36821 maybe-install-html-lto-plugin:
36822 @if lto-plugin
36823 maybe-install-html-lto-plugin: install-html-lto-plugin
36825 install-html-lto-plugin: \
36826 configure-lto-plugin \
36827 html-lto-plugin
36828 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36829 r=`${PWD_COMMAND}`; export r; \
36830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36831 $(HOST_EXPORTS) \
36832 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36834 done; \
36835 echo "Doing install-html in lto-plugin"; \
36836 (cd $(HOST_SUBDIR)/lto-plugin && \
36837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36839 "RANLIB=$${RANLIB}" \
36840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36841 install-html) \
36842 || exit 1
36844 @endif lto-plugin
36846 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
36847 maybe-installcheck-lto-plugin:
36848 @if lto-plugin
36849 maybe-installcheck-lto-plugin: installcheck-lto-plugin
36851 installcheck-lto-plugin: \
36852 configure-lto-plugin
36853 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36854 r=`${PWD_COMMAND}`; export r; \
36855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36856 $(HOST_EXPORTS) \
36857 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36859 done; \
36860 echo "Doing installcheck in lto-plugin"; \
36861 (cd $(HOST_SUBDIR)/lto-plugin && \
36862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36864 "RANLIB=$${RANLIB}" \
36865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36866 installcheck) \
36867 || exit 1
36869 @endif lto-plugin
36871 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
36872 maybe-mostlyclean-lto-plugin:
36873 @if lto-plugin
36874 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
36876 mostlyclean-lto-plugin:
36877 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36878 r=`${PWD_COMMAND}`; export r; \
36879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36880 $(HOST_EXPORTS) \
36881 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36883 done; \
36884 echo "Doing mostlyclean in lto-plugin"; \
36885 (cd $(HOST_SUBDIR)/lto-plugin && \
36886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36888 "RANLIB=$${RANLIB}" \
36889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36890 mostlyclean) \
36891 || exit 1
36893 @endif lto-plugin
36895 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
36896 maybe-clean-lto-plugin:
36897 @if lto-plugin
36898 maybe-clean-lto-plugin: clean-lto-plugin
36900 clean-lto-plugin:
36901 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36902 r=`${PWD_COMMAND}`; export r; \
36903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36904 $(HOST_EXPORTS) \
36905 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36907 done; \
36908 echo "Doing clean in lto-plugin"; \
36909 (cd $(HOST_SUBDIR)/lto-plugin && \
36910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36912 "RANLIB=$${RANLIB}" \
36913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36914 clean) \
36915 || exit 1
36917 @endif lto-plugin
36919 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
36920 maybe-distclean-lto-plugin:
36921 @if lto-plugin
36922 maybe-distclean-lto-plugin: distclean-lto-plugin
36924 distclean-lto-plugin:
36925 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36926 r=`${PWD_COMMAND}`; export r; \
36927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36928 $(HOST_EXPORTS) \
36929 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36931 done; \
36932 echo "Doing distclean in lto-plugin"; \
36933 (cd $(HOST_SUBDIR)/lto-plugin && \
36934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36936 "RANLIB=$${RANLIB}" \
36937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36938 distclean) \
36939 || exit 1
36941 @endif lto-plugin
36943 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
36944 maybe-maintainer-clean-lto-plugin:
36945 @if lto-plugin
36946 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
36948 maintainer-clean-lto-plugin:
36949 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36950 r=`${PWD_COMMAND}`; export r; \
36951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36952 $(HOST_EXPORTS) \
36953 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36955 done; \
36956 echo "Doing maintainer-clean in lto-plugin"; \
36957 (cd $(HOST_SUBDIR)/lto-plugin && \
36958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36960 "RANLIB=$${RANLIB}" \
36961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36962 maintainer-clean) \
36963 || exit 1
36965 @endif lto-plugin
36969 .PHONY: configure-libcc1 maybe-configure-libcc1
36970 maybe-configure-libcc1:
36971 @if gcc-bootstrap
36972 configure-libcc1: stage_current
36973 @endif gcc-bootstrap
36974 @if libcc1
36975 maybe-configure-libcc1: configure-libcc1
36976 configure-libcc1:
36977 @: $(MAKE); $(unstage)
36978 @r=`${PWD_COMMAND}`; export r; \
36979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36980 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
36981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
36982 $(HOST_EXPORTS) \
36983 echo Configuring in $(HOST_SUBDIR)/libcc1; \
36984 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
36985 case $(srcdir) in \
36986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36987 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
36988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36989 esac; \
36990 module_srcdir=libcc1; \
36991 $(SHELL) \
36992 $$s/$$module_srcdir/configure \
36993 --srcdir=$${topdir}/$$module_srcdir \
36994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36995 --target=${target_alias} --enable-shared \
36996 || exit 1
36997 @endif libcc1
37003 .PHONY: all-libcc1 maybe-all-libcc1
37004 maybe-all-libcc1:
37005 @if gcc-bootstrap
37006 all-libcc1: stage_current
37007 @endif gcc-bootstrap
37008 @if libcc1
37009 TARGET-libcc1=all
37010 maybe-all-libcc1: all-libcc1
37011 all-libcc1: configure-libcc1
37012 @: $(MAKE); $(unstage)
37013 @r=`${PWD_COMMAND}`; export r; \
37014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37015 $(HOST_EXPORTS) \
37016 (cd $(HOST_SUBDIR)/libcc1 && \
37017 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37018 $(TARGET-libcc1))
37019 @endif libcc1
37024 .PHONY: check-libcc1 maybe-check-libcc1
37025 maybe-check-libcc1:
37026 @if libcc1
37027 maybe-check-libcc1: check-libcc1
37029 check-libcc1:
37030 @: $(MAKE); $(unstage)
37031 @r=`${PWD_COMMAND}`; export r; \
37032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37033 $(HOST_EXPORTS) \
37034 (cd $(HOST_SUBDIR)/libcc1 && \
37035 $(MAKE) $(FLAGS_TO_PASS) check)
37037 @endif libcc1
37039 .PHONY: install-libcc1 maybe-install-libcc1
37040 maybe-install-libcc1:
37041 @if libcc1
37042 maybe-install-libcc1: install-libcc1
37044 install-libcc1: installdirs
37045 @: $(MAKE); $(unstage)
37046 @r=`${PWD_COMMAND}`; export r; \
37047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37048 $(HOST_EXPORTS) \
37049 (cd $(HOST_SUBDIR)/libcc1 && \
37050 $(MAKE) $(FLAGS_TO_PASS) install)
37052 @endif libcc1
37054 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37055 maybe-install-strip-libcc1:
37056 @if libcc1
37057 maybe-install-strip-libcc1: install-strip-libcc1
37059 install-strip-libcc1: installdirs
37060 @: $(MAKE); $(unstage)
37061 @r=`${PWD_COMMAND}`; export r; \
37062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37063 $(HOST_EXPORTS) \
37064 (cd $(HOST_SUBDIR)/libcc1 && \
37065 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37067 @endif libcc1
37069 # Other targets (info, dvi, pdf, etc.)
37071 .PHONY: maybe-info-libcc1 info-libcc1
37072 maybe-info-libcc1:
37073 @if libcc1
37074 maybe-info-libcc1: info-libcc1
37076 info-libcc1: \
37077 configure-libcc1
37078 @: $(MAKE); $(unstage)
37079 @[ -f ./libcc1/Makefile ] || exit 0; \
37080 r=`${PWD_COMMAND}`; export r; \
37081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37082 $(HOST_EXPORTS) \
37083 for flag in $(EXTRA_HOST_FLAGS) ; do \
37084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37085 done; \
37086 echo "Doing info in libcc1"; \
37087 (cd $(HOST_SUBDIR)/libcc1 && \
37088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37090 "RANLIB=$${RANLIB}" \
37091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37092 info) \
37093 || exit 1
37095 @endif libcc1
37097 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37098 maybe-dvi-libcc1:
37099 @if libcc1
37100 maybe-dvi-libcc1: dvi-libcc1
37102 dvi-libcc1: \
37103 configure-libcc1
37104 @: $(MAKE); $(unstage)
37105 @[ -f ./libcc1/Makefile ] || exit 0; \
37106 r=`${PWD_COMMAND}`; export r; \
37107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37108 $(HOST_EXPORTS) \
37109 for flag in $(EXTRA_HOST_FLAGS) ; do \
37110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37111 done; \
37112 echo "Doing dvi in libcc1"; \
37113 (cd $(HOST_SUBDIR)/libcc1 && \
37114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37116 "RANLIB=$${RANLIB}" \
37117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37118 dvi) \
37119 || exit 1
37121 @endif libcc1
37123 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37124 maybe-pdf-libcc1:
37125 @if libcc1
37126 maybe-pdf-libcc1: pdf-libcc1
37128 pdf-libcc1: \
37129 configure-libcc1
37130 @: $(MAKE); $(unstage)
37131 @[ -f ./libcc1/Makefile ] || exit 0; \
37132 r=`${PWD_COMMAND}`; export r; \
37133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37134 $(HOST_EXPORTS) \
37135 for flag in $(EXTRA_HOST_FLAGS) ; do \
37136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37137 done; \
37138 echo "Doing pdf in libcc1"; \
37139 (cd $(HOST_SUBDIR)/libcc1 && \
37140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37142 "RANLIB=$${RANLIB}" \
37143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37144 pdf) \
37145 || exit 1
37147 @endif libcc1
37149 .PHONY: maybe-html-libcc1 html-libcc1
37150 maybe-html-libcc1:
37151 @if libcc1
37152 maybe-html-libcc1: html-libcc1
37154 html-libcc1: \
37155 configure-libcc1
37156 @: $(MAKE); $(unstage)
37157 @[ -f ./libcc1/Makefile ] || exit 0; \
37158 r=`${PWD_COMMAND}`; export r; \
37159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37160 $(HOST_EXPORTS) \
37161 for flag in $(EXTRA_HOST_FLAGS) ; do \
37162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37163 done; \
37164 echo "Doing html in libcc1"; \
37165 (cd $(HOST_SUBDIR)/libcc1 && \
37166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37168 "RANLIB=$${RANLIB}" \
37169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37170 html) \
37171 || exit 1
37173 @endif libcc1
37175 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37176 maybe-TAGS-libcc1:
37177 @if libcc1
37178 maybe-TAGS-libcc1: TAGS-libcc1
37180 TAGS-libcc1: \
37181 configure-libcc1
37182 @: $(MAKE); $(unstage)
37183 @[ -f ./libcc1/Makefile ] || exit 0; \
37184 r=`${PWD_COMMAND}`; export r; \
37185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37186 $(HOST_EXPORTS) \
37187 for flag in $(EXTRA_HOST_FLAGS) ; do \
37188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37189 done; \
37190 echo "Doing TAGS in libcc1"; \
37191 (cd $(HOST_SUBDIR)/libcc1 && \
37192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37194 "RANLIB=$${RANLIB}" \
37195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37196 TAGS) \
37197 || exit 1
37199 @endif libcc1
37201 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37202 maybe-install-info-libcc1:
37203 @if libcc1
37204 maybe-install-info-libcc1: install-info-libcc1
37206 install-info-libcc1: \
37207 configure-libcc1 \
37208 info-libcc1
37209 @: $(MAKE); $(unstage)
37210 @[ -f ./libcc1/Makefile ] || exit 0; \
37211 r=`${PWD_COMMAND}`; export r; \
37212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37213 $(HOST_EXPORTS) \
37214 for flag in $(EXTRA_HOST_FLAGS) ; do \
37215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37216 done; \
37217 echo "Doing install-info in libcc1"; \
37218 (cd $(HOST_SUBDIR)/libcc1 && \
37219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37221 "RANLIB=$${RANLIB}" \
37222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37223 install-info) \
37224 || exit 1
37226 @endif libcc1
37228 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37229 maybe-install-pdf-libcc1:
37230 @if libcc1
37231 maybe-install-pdf-libcc1: install-pdf-libcc1
37233 install-pdf-libcc1: \
37234 configure-libcc1 \
37235 pdf-libcc1
37236 @: $(MAKE); $(unstage)
37237 @[ -f ./libcc1/Makefile ] || exit 0; \
37238 r=`${PWD_COMMAND}`; export r; \
37239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37240 $(HOST_EXPORTS) \
37241 for flag in $(EXTRA_HOST_FLAGS) ; do \
37242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37243 done; \
37244 echo "Doing install-pdf in libcc1"; \
37245 (cd $(HOST_SUBDIR)/libcc1 && \
37246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37248 "RANLIB=$${RANLIB}" \
37249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37250 install-pdf) \
37251 || exit 1
37253 @endif libcc1
37255 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37256 maybe-install-html-libcc1:
37257 @if libcc1
37258 maybe-install-html-libcc1: install-html-libcc1
37260 install-html-libcc1: \
37261 configure-libcc1 \
37262 html-libcc1
37263 @: $(MAKE); $(unstage)
37264 @[ -f ./libcc1/Makefile ] || exit 0; \
37265 r=`${PWD_COMMAND}`; export r; \
37266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37267 $(HOST_EXPORTS) \
37268 for flag in $(EXTRA_HOST_FLAGS) ; do \
37269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37270 done; \
37271 echo "Doing install-html in libcc1"; \
37272 (cd $(HOST_SUBDIR)/libcc1 && \
37273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37275 "RANLIB=$${RANLIB}" \
37276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37277 install-html) \
37278 || exit 1
37280 @endif libcc1
37282 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
37283 maybe-installcheck-libcc1:
37284 @if libcc1
37285 maybe-installcheck-libcc1: installcheck-libcc1
37287 installcheck-libcc1: \
37288 configure-libcc1
37289 @: $(MAKE); $(unstage)
37290 @[ -f ./libcc1/Makefile ] || exit 0; \
37291 r=`${PWD_COMMAND}`; export r; \
37292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37293 $(HOST_EXPORTS) \
37294 for flag in $(EXTRA_HOST_FLAGS) ; do \
37295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37296 done; \
37297 echo "Doing installcheck in libcc1"; \
37298 (cd $(HOST_SUBDIR)/libcc1 && \
37299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37301 "RANLIB=$${RANLIB}" \
37302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37303 installcheck) \
37304 || exit 1
37306 @endif libcc1
37308 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
37309 maybe-mostlyclean-libcc1:
37310 @if libcc1
37311 maybe-mostlyclean-libcc1: mostlyclean-libcc1
37313 mostlyclean-libcc1:
37314 @: $(MAKE); $(unstage)
37315 @[ -f ./libcc1/Makefile ] || exit 0; \
37316 r=`${PWD_COMMAND}`; export r; \
37317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37318 $(HOST_EXPORTS) \
37319 for flag in $(EXTRA_HOST_FLAGS) ; do \
37320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37321 done; \
37322 echo "Doing mostlyclean in libcc1"; \
37323 (cd $(HOST_SUBDIR)/libcc1 && \
37324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37326 "RANLIB=$${RANLIB}" \
37327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37328 mostlyclean) \
37329 || exit 1
37331 @endif libcc1
37333 .PHONY: maybe-clean-libcc1 clean-libcc1
37334 maybe-clean-libcc1:
37335 @if libcc1
37336 maybe-clean-libcc1: clean-libcc1
37338 clean-libcc1:
37339 @: $(MAKE); $(unstage)
37340 @[ -f ./libcc1/Makefile ] || exit 0; \
37341 r=`${PWD_COMMAND}`; export r; \
37342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37343 $(HOST_EXPORTS) \
37344 for flag in $(EXTRA_HOST_FLAGS) ; do \
37345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37346 done; \
37347 echo "Doing clean in libcc1"; \
37348 (cd $(HOST_SUBDIR)/libcc1 && \
37349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37351 "RANLIB=$${RANLIB}" \
37352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37353 clean) \
37354 || exit 1
37356 @endif libcc1
37358 .PHONY: maybe-distclean-libcc1 distclean-libcc1
37359 maybe-distclean-libcc1:
37360 @if libcc1
37361 maybe-distclean-libcc1: distclean-libcc1
37363 distclean-libcc1:
37364 @: $(MAKE); $(unstage)
37365 @[ -f ./libcc1/Makefile ] || exit 0; \
37366 r=`${PWD_COMMAND}`; export r; \
37367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37368 $(HOST_EXPORTS) \
37369 for flag in $(EXTRA_HOST_FLAGS) ; do \
37370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37371 done; \
37372 echo "Doing distclean in libcc1"; \
37373 (cd $(HOST_SUBDIR)/libcc1 && \
37374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37376 "RANLIB=$${RANLIB}" \
37377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37378 distclean) \
37379 || exit 1
37381 @endif libcc1
37383 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
37384 maybe-maintainer-clean-libcc1:
37385 @if libcc1
37386 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
37388 maintainer-clean-libcc1:
37389 @: $(MAKE); $(unstage)
37390 @[ -f ./libcc1/Makefile ] || exit 0; \
37391 r=`${PWD_COMMAND}`; export r; \
37392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37393 $(HOST_EXPORTS) \
37394 for flag in $(EXTRA_HOST_FLAGS) ; do \
37395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37396 done; \
37397 echo "Doing maintainer-clean in libcc1"; \
37398 (cd $(HOST_SUBDIR)/libcc1 && \
37399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37401 "RANLIB=$${RANLIB}" \
37402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37403 maintainer-clean) \
37404 || exit 1
37406 @endif libcc1
37410 .PHONY: configure-gotools maybe-configure-gotools
37411 maybe-configure-gotools:
37412 @if gcc-bootstrap
37413 configure-gotools: stage_current
37414 @endif gcc-bootstrap
37415 @if gotools
37416 maybe-configure-gotools: configure-gotools
37417 configure-gotools:
37418 @: $(MAKE); $(unstage)
37419 @r=`${PWD_COMMAND}`; export r; \
37420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37421 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
37422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
37423 $(HOST_EXPORTS) \
37424 echo Configuring in $(HOST_SUBDIR)/gotools; \
37425 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
37426 case $(srcdir) in \
37427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37428 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
37429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37430 esac; \
37431 module_srcdir=gotools; \
37432 $(SHELL) \
37433 $$s/$$module_srcdir/configure \
37434 --srcdir=$${topdir}/$$module_srcdir \
37435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37436 --target=${target_alias} \
37437 || exit 1
37438 @endif gotools
37444 .PHONY: all-gotools maybe-all-gotools
37445 maybe-all-gotools:
37446 @if gcc-bootstrap
37447 all-gotools: stage_current
37448 @endif gcc-bootstrap
37449 @if gotools
37450 TARGET-gotools=all
37451 maybe-all-gotools: all-gotools
37452 all-gotools: configure-gotools
37453 @: $(MAKE); $(unstage)
37454 @r=`${PWD_COMMAND}`; export r; \
37455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37456 $(HOST_EXPORTS) \
37457 (cd $(HOST_SUBDIR)/gotools && \
37458 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37459 $(TARGET-gotools))
37460 @endif gotools
37465 .PHONY: check-gotools maybe-check-gotools
37466 maybe-check-gotools:
37467 @if gotools
37468 maybe-check-gotools: check-gotools
37470 check-gotools:
37471 @: $(MAKE); $(unstage)
37472 @r=`${PWD_COMMAND}`; export r; \
37473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37474 $(HOST_EXPORTS) \
37475 (cd $(HOST_SUBDIR)/gotools && \
37476 $(MAKE) $(FLAGS_TO_PASS) check)
37478 @endif gotools
37480 .PHONY: install-gotools maybe-install-gotools
37481 maybe-install-gotools:
37482 @if gotools
37483 maybe-install-gotools: install-gotools
37485 install-gotools: installdirs
37486 @: $(MAKE); $(unstage)
37487 @r=`${PWD_COMMAND}`; export r; \
37488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37489 $(HOST_EXPORTS) \
37490 (cd $(HOST_SUBDIR)/gotools && \
37491 $(MAKE) $(FLAGS_TO_PASS) install)
37493 @endif gotools
37495 .PHONY: install-strip-gotools maybe-install-strip-gotools
37496 maybe-install-strip-gotools:
37497 @if gotools
37498 maybe-install-strip-gotools: install-strip-gotools
37500 install-strip-gotools: installdirs
37501 @: $(MAKE); $(unstage)
37502 @r=`${PWD_COMMAND}`; export r; \
37503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37504 $(HOST_EXPORTS) \
37505 (cd $(HOST_SUBDIR)/gotools && \
37506 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37508 @endif gotools
37510 # Other targets (info, dvi, pdf, etc.)
37512 .PHONY: maybe-info-gotools info-gotools
37513 maybe-info-gotools:
37514 @if gotools
37515 maybe-info-gotools: info-gotools
37517 info-gotools: \
37518 configure-gotools
37519 @: $(MAKE); $(unstage)
37520 @[ -f ./gotools/Makefile ] || exit 0; \
37521 r=`${PWD_COMMAND}`; export r; \
37522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37523 $(HOST_EXPORTS) \
37524 for flag in $(EXTRA_HOST_FLAGS) ; do \
37525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37526 done; \
37527 echo "Doing info in gotools"; \
37528 (cd $(HOST_SUBDIR)/gotools && \
37529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37531 "RANLIB=$${RANLIB}" \
37532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37533 info) \
37534 || exit 1
37536 @endif gotools
37538 .PHONY: maybe-dvi-gotools dvi-gotools
37539 maybe-dvi-gotools:
37540 @if gotools
37541 maybe-dvi-gotools: dvi-gotools
37543 dvi-gotools: \
37544 configure-gotools
37545 @: $(MAKE); $(unstage)
37546 @[ -f ./gotools/Makefile ] || exit 0; \
37547 r=`${PWD_COMMAND}`; export r; \
37548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37549 $(HOST_EXPORTS) \
37550 for flag in $(EXTRA_HOST_FLAGS) ; do \
37551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37552 done; \
37553 echo "Doing dvi in gotools"; \
37554 (cd $(HOST_SUBDIR)/gotools && \
37555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37557 "RANLIB=$${RANLIB}" \
37558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37559 dvi) \
37560 || exit 1
37562 @endif gotools
37564 .PHONY: maybe-pdf-gotools pdf-gotools
37565 maybe-pdf-gotools:
37566 @if gotools
37567 maybe-pdf-gotools: pdf-gotools
37569 pdf-gotools: \
37570 configure-gotools
37571 @: $(MAKE); $(unstage)
37572 @[ -f ./gotools/Makefile ] || exit 0; \
37573 r=`${PWD_COMMAND}`; export r; \
37574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37575 $(HOST_EXPORTS) \
37576 for flag in $(EXTRA_HOST_FLAGS) ; do \
37577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37578 done; \
37579 echo "Doing pdf in gotools"; \
37580 (cd $(HOST_SUBDIR)/gotools && \
37581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37583 "RANLIB=$${RANLIB}" \
37584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37585 pdf) \
37586 || exit 1
37588 @endif gotools
37590 .PHONY: maybe-html-gotools html-gotools
37591 maybe-html-gotools:
37592 @if gotools
37593 maybe-html-gotools: html-gotools
37595 html-gotools: \
37596 configure-gotools
37597 @: $(MAKE); $(unstage)
37598 @[ -f ./gotools/Makefile ] || exit 0; \
37599 r=`${PWD_COMMAND}`; export r; \
37600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37601 $(HOST_EXPORTS) \
37602 for flag in $(EXTRA_HOST_FLAGS) ; do \
37603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37604 done; \
37605 echo "Doing html in gotools"; \
37606 (cd $(HOST_SUBDIR)/gotools && \
37607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37609 "RANLIB=$${RANLIB}" \
37610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37611 html) \
37612 || exit 1
37614 @endif gotools
37616 .PHONY: maybe-TAGS-gotools TAGS-gotools
37617 maybe-TAGS-gotools:
37618 @if gotools
37619 maybe-TAGS-gotools: TAGS-gotools
37621 TAGS-gotools: \
37622 configure-gotools
37623 @: $(MAKE); $(unstage)
37624 @[ -f ./gotools/Makefile ] || exit 0; \
37625 r=`${PWD_COMMAND}`; export r; \
37626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37627 $(HOST_EXPORTS) \
37628 for flag in $(EXTRA_HOST_FLAGS) ; do \
37629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37630 done; \
37631 echo "Doing TAGS in gotools"; \
37632 (cd $(HOST_SUBDIR)/gotools && \
37633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37635 "RANLIB=$${RANLIB}" \
37636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37637 TAGS) \
37638 || exit 1
37640 @endif gotools
37642 .PHONY: maybe-install-info-gotools install-info-gotools
37643 maybe-install-info-gotools:
37644 @if gotools
37645 maybe-install-info-gotools: install-info-gotools
37647 install-info-gotools: \
37648 configure-gotools \
37649 info-gotools
37650 @: $(MAKE); $(unstage)
37651 @[ -f ./gotools/Makefile ] || exit 0; \
37652 r=`${PWD_COMMAND}`; export r; \
37653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37654 $(HOST_EXPORTS) \
37655 for flag in $(EXTRA_HOST_FLAGS) ; do \
37656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37657 done; \
37658 echo "Doing install-info in gotools"; \
37659 (cd $(HOST_SUBDIR)/gotools && \
37660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37662 "RANLIB=$${RANLIB}" \
37663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37664 install-info) \
37665 || exit 1
37667 @endif gotools
37669 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
37670 maybe-install-pdf-gotools:
37671 @if gotools
37672 maybe-install-pdf-gotools: install-pdf-gotools
37674 install-pdf-gotools: \
37675 configure-gotools \
37676 pdf-gotools
37677 @: $(MAKE); $(unstage)
37678 @[ -f ./gotools/Makefile ] || exit 0; \
37679 r=`${PWD_COMMAND}`; export r; \
37680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37681 $(HOST_EXPORTS) \
37682 for flag in $(EXTRA_HOST_FLAGS) ; do \
37683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37684 done; \
37685 echo "Doing install-pdf in gotools"; \
37686 (cd $(HOST_SUBDIR)/gotools && \
37687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37689 "RANLIB=$${RANLIB}" \
37690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37691 install-pdf) \
37692 || exit 1
37694 @endif gotools
37696 .PHONY: maybe-install-html-gotools install-html-gotools
37697 maybe-install-html-gotools:
37698 @if gotools
37699 maybe-install-html-gotools: install-html-gotools
37701 install-html-gotools: \
37702 configure-gotools \
37703 html-gotools
37704 @: $(MAKE); $(unstage)
37705 @[ -f ./gotools/Makefile ] || exit 0; \
37706 r=`${PWD_COMMAND}`; export r; \
37707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37708 $(HOST_EXPORTS) \
37709 for flag in $(EXTRA_HOST_FLAGS) ; do \
37710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37711 done; \
37712 echo "Doing install-html in gotools"; \
37713 (cd $(HOST_SUBDIR)/gotools && \
37714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37716 "RANLIB=$${RANLIB}" \
37717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37718 install-html) \
37719 || exit 1
37721 @endif gotools
37723 .PHONY: maybe-installcheck-gotools installcheck-gotools
37724 maybe-installcheck-gotools:
37725 @if gotools
37726 maybe-installcheck-gotools: installcheck-gotools
37728 installcheck-gotools: \
37729 configure-gotools
37730 @: $(MAKE); $(unstage)
37731 @[ -f ./gotools/Makefile ] || exit 0; \
37732 r=`${PWD_COMMAND}`; export r; \
37733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37734 $(HOST_EXPORTS) \
37735 for flag in $(EXTRA_HOST_FLAGS) ; do \
37736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37737 done; \
37738 echo "Doing installcheck in gotools"; \
37739 (cd $(HOST_SUBDIR)/gotools && \
37740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37742 "RANLIB=$${RANLIB}" \
37743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37744 installcheck) \
37745 || exit 1
37747 @endif gotools
37749 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
37750 maybe-mostlyclean-gotools:
37751 @if gotools
37752 maybe-mostlyclean-gotools: mostlyclean-gotools
37754 mostlyclean-gotools:
37755 @: $(MAKE); $(unstage)
37756 @[ -f ./gotools/Makefile ] || exit 0; \
37757 r=`${PWD_COMMAND}`; export r; \
37758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37759 $(HOST_EXPORTS) \
37760 for flag in $(EXTRA_HOST_FLAGS) ; do \
37761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37762 done; \
37763 echo "Doing mostlyclean in gotools"; \
37764 (cd $(HOST_SUBDIR)/gotools && \
37765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37767 "RANLIB=$${RANLIB}" \
37768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37769 mostlyclean) \
37770 || exit 1
37772 @endif gotools
37774 .PHONY: maybe-clean-gotools clean-gotools
37775 maybe-clean-gotools:
37776 @if gotools
37777 maybe-clean-gotools: clean-gotools
37779 clean-gotools:
37780 @: $(MAKE); $(unstage)
37781 @[ -f ./gotools/Makefile ] || exit 0; \
37782 r=`${PWD_COMMAND}`; export r; \
37783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37784 $(HOST_EXPORTS) \
37785 for flag in $(EXTRA_HOST_FLAGS) ; do \
37786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37787 done; \
37788 echo "Doing clean in gotools"; \
37789 (cd $(HOST_SUBDIR)/gotools && \
37790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37792 "RANLIB=$${RANLIB}" \
37793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37794 clean) \
37795 || exit 1
37797 @endif gotools
37799 .PHONY: maybe-distclean-gotools distclean-gotools
37800 maybe-distclean-gotools:
37801 @if gotools
37802 maybe-distclean-gotools: distclean-gotools
37804 distclean-gotools:
37805 @: $(MAKE); $(unstage)
37806 @[ -f ./gotools/Makefile ] || exit 0; \
37807 r=`${PWD_COMMAND}`; export r; \
37808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37809 $(HOST_EXPORTS) \
37810 for flag in $(EXTRA_HOST_FLAGS) ; do \
37811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37812 done; \
37813 echo "Doing distclean in gotools"; \
37814 (cd $(HOST_SUBDIR)/gotools && \
37815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37817 "RANLIB=$${RANLIB}" \
37818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37819 distclean) \
37820 || exit 1
37822 @endif gotools
37824 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
37825 maybe-maintainer-clean-gotools:
37826 @if gotools
37827 maybe-maintainer-clean-gotools: maintainer-clean-gotools
37829 maintainer-clean-gotools:
37830 @: $(MAKE); $(unstage)
37831 @[ -f ./gotools/Makefile ] || exit 0; \
37832 r=`${PWD_COMMAND}`; export r; \
37833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37834 $(HOST_EXPORTS) \
37835 for flag in $(EXTRA_HOST_FLAGS) ; do \
37836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37837 done; \
37838 echo "Doing maintainer-clean in gotools"; \
37839 (cd $(HOST_SUBDIR)/gotools && \
37840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37842 "RANLIB=$${RANLIB}" \
37843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37844 maintainer-clean) \
37845 || exit 1
37847 @endif gotools
37851 # ---------------------------------------
37852 # Modules which run on the target machine
37853 # ---------------------------------------
37858 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
37859 maybe-configure-target-libstdc++-v3:
37860 @if gcc-bootstrap
37861 configure-target-libstdc++-v3: stage_current
37862 @endif gcc-bootstrap
37863 @if target-libstdc++-v3
37864 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
37865 configure-target-libstdc++-v3:
37866 @r=`${PWD_COMMAND}`; export r; \
37867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37868 echo "Checking multilib configuration for libstdc++-v3..."; \
37869 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37870 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37871 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37872 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37873 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37874 else \
37875 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37876 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37877 fi; \
37878 else \
37879 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37880 fi; \
37881 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37883 $(RAW_CXX_TARGET_EXPORTS) \
37884 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
37885 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
37886 case $(srcdir) in \
37887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37888 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37890 esac; \
37891 module_srcdir=libstdc++-v3; \
37892 rm -f no-such-file || : ; \
37893 CONFIG_SITE=no-such-file $(SHELL) \
37894 $$s/$$module_srcdir/configure \
37895 --srcdir=$${topdir}/$$module_srcdir \
37896 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37897 --target=${target_alias} \
37898 || exit 1
37899 @endif target-libstdc++-v3
37903 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
37904 maybe-configure-stage1-target-libstdc++-v3:
37905 @if target-libstdc++-v3-bootstrap
37906 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
37907 configure-stage1-target-libstdc++-v3:
37908 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37909 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37910 @r=`${PWD_COMMAND}`; export r; \
37911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37912 TFLAGS="$(STAGE1_TFLAGS)"; \
37913 echo "Checking multilib configuration for libstdc++-v3..."; \
37914 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37915 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37916 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37917 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37918 else \
37919 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37920 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37921 fi; \
37922 else \
37923 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37924 fi; \
37925 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37926 $(RAW_CXX_TARGET_EXPORTS) \
37927 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37928 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37929 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37930 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
37931 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37932 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
37933 case $(srcdir) in \
37934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37935 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37937 esac; \
37938 module_srcdir=libstdc++-v3; \
37939 $(SHELL) $$s/$$module_srcdir/configure \
37940 --srcdir=$${topdir}/$$module_srcdir \
37941 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37942 --target=${target_alias} \
37944 $(STAGE1_CONFIGURE_FLAGS)
37945 @endif target-libstdc++-v3-bootstrap
37947 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
37948 maybe-configure-stage2-target-libstdc++-v3:
37949 @if target-libstdc++-v3-bootstrap
37950 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
37951 configure-stage2-target-libstdc++-v3:
37952 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37953 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37954 @r=`${PWD_COMMAND}`; export r; \
37955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37956 TFLAGS="$(STAGE2_TFLAGS)"; \
37957 echo "Checking multilib configuration for libstdc++-v3..."; \
37958 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37959 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37960 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37961 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37962 else \
37963 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37964 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37965 fi; \
37966 else \
37967 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37968 fi; \
37969 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37970 $(RAW_CXX_TARGET_EXPORTS) \
37972 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37973 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37974 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37975 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
37976 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37977 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
37978 case $(srcdir) in \
37979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37980 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37982 esac; \
37983 module_srcdir=libstdc++-v3; \
37984 $(SHELL) $$s/$$module_srcdir/configure \
37985 --srcdir=$${topdir}/$$module_srcdir \
37986 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37987 --target=${target_alias} \
37988 --with-build-libsubdir=$(HOST_SUBDIR) \
37989 $(STAGE2_CONFIGURE_FLAGS)
37990 @endif target-libstdc++-v3-bootstrap
37992 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
37993 maybe-configure-stage3-target-libstdc++-v3:
37994 @if target-libstdc++-v3-bootstrap
37995 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
37996 configure-stage3-target-libstdc++-v3:
37997 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37998 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37999 @r=`${PWD_COMMAND}`; export r; \
38000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38001 TFLAGS="$(STAGE3_TFLAGS)"; \
38002 echo "Checking multilib configuration for libstdc++-v3..."; \
38003 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38004 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38005 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38006 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38007 else \
38008 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38009 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38010 fi; \
38011 else \
38012 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38013 fi; \
38014 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38015 $(RAW_CXX_TARGET_EXPORTS) \
38017 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38018 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38019 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38020 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
38021 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38022 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38023 case $(srcdir) in \
38024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38025 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38027 esac; \
38028 module_srcdir=libstdc++-v3; \
38029 $(SHELL) $$s/$$module_srcdir/configure \
38030 --srcdir=$${topdir}/$$module_srcdir \
38031 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38032 --target=${target_alias} \
38033 --with-build-libsubdir=$(HOST_SUBDIR) \
38034 $(STAGE3_CONFIGURE_FLAGS)
38035 @endif target-libstdc++-v3-bootstrap
38037 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
38038 maybe-configure-stage4-target-libstdc++-v3:
38039 @if target-libstdc++-v3-bootstrap
38040 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38041 configure-stage4-target-libstdc++-v3:
38042 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38043 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38044 @r=`${PWD_COMMAND}`; export r; \
38045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38046 TFLAGS="$(STAGE4_TFLAGS)"; \
38047 echo "Checking multilib configuration for libstdc++-v3..."; \
38048 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38049 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38050 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38051 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38052 else \
38053 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38054 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38055 fi; \
38056 else \
38057 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38058 fi; \
38059 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38060 $(RAW_CXX_TARGET_EXPORTS) \
38062 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38063 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38064 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38065 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
38066 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38067 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38068 case $(srcdir) in \
38069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38070 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38072 esac; \
38073 module_srcdir=libstdc++-v3; \
38074 $(SHELL) $$s/$$module_srcdir/configure \
38075 --srcdir=$${topdir}/$$module_srcdir \
38076 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38077 --target=${target_alias} \
38078 --with-build-libsubdir=$(HOST_SUBDIR) \
38079 $(STAGE4_CONFIGURE_FLAGS)
38080 @endif target-libstdc++-v3-bootstrap
38082 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
38083 maybe-configure-stageprofile-target-libstdc++-v3:
38084 @if target-libstdc++-v3-bootstrap
38085 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38086 configure-stageprofile-target-libstdc++-v3:
38087 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38088 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38089 @r=`${PWD_COMMAND}`; export r; \
38090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38091 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38092 echo "Checking multilib configuration for libstdc++-v3..."; \
38093 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38094 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38095 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38096 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38097 else \
38098 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38099 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38100 fi; \
38101 else \
38102 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38103 fi; \
38104 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38105 $(RAW_CXX_TARGET_EXPORTS) \
38107 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38108 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38109 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38110 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
38111 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38112 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38113 case $(srcdir) in \
38114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38115 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38117 esac; \
38118 module_srcdir=libstdc++-v3; \
38119 $(SHELL) $$s/$$module_srcdir/configure \
38120 --srcdir=$${topdir}/$$module_srcdir \
38121 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38122 --target=${target_alias} \
38123 --with-build-libsubdir=$(HOST_SUBDIR) \
38124 $(STAGEprofile_CONFIGURE_FLAGS)
38125 @endif target-libstdc++-v3-bootstrap
38127 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
38128 maybe-configure-stagetrain-target-libstdc++-v3:
38129 @if target-libstdc++-v3-bootstrap
38130 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38131 configure-stagetrain-target-libstdc++-v3:
38132 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38133 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38134 @r=`${PWD_COMMAND}`; export r; \
38135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38136 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38137 echo "Checking multilib configuration for libstdc++-v3..."; \
38138 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38139 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38140 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38141 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38142 else \
38143 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38144 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38145 fi; \
38146 else \
38147 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38148 fi; \
38149 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38150 $(RAW_CXX_TARGET_EXPORTS) \
38152 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38153 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38154 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38155 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
38156 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38157 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38158 case $(srcdir) in \
38159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38160 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38162 esac; \
38163 module_srcdir=libstdc++-v3; \
38164 $(SHELL) $$s/$$module_srcdir/configure \
38165 --srcdir=$${topdir}/$$module_srcdir \
38166 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38167 --target=${target_alias} \
38168 --with-build-libsubdir=$(HOST_SUBDIR) \
38169 $(STAGEtrain_CONFIGURE_FLAGS)
38170 @endif target-libstdc++-v3-bootstrap
38172 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
38173 maybe-configure-stagefeedback-target-libstdc++-v3:
38174 @if target-libstdc++-v3-bootstrap
38175 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38176 configure-stagefeedback-target-libstdc++-v3:
38177 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38178 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38179 @r=`${PWD_COMMAND}`; export r; \
38180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38181 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38182 echo "Checking multilib configuration for libstdc++-v3..."; \
38183 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38184 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38185 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38186 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38187 else \
38188 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38189 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38190 fi; \
38191 else \
38192 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38193 fi; \
38194 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38195 $(RAW_CXX_TARGET_EXPORTS) \
38197 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38198 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38199 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38200 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38201 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38202 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38203 case $(srcdir) in \
38204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38205 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38207 esac; \
38208 module_srcdir=libstdc++-v3; \
38209 $(SHELL) $$s/$$module_srcdir/configure \
38210 --srcdir=$${topdir}/$$module_srcdir \
38211 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38212 --target=${target_alias} \
38213 --with-build-libsubdir=$(HOST_SUBDIR) \
38214 $(STAGEfeedback_CONFIGURE_FLAGS)
38215 @endif target-libstdc++-v3-bootstrap
38217 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
38218 maybe-configure-stageautoprofile-target-libstdc++-v3:
38219 @if target-libstdc++-v3-bootstrap
38220 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38221 configure-stageautoprofile-target-libstdc++-v3:
38222 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38223 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38224 @r=`${PWD_COMMAND}`; export r; \
38225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38226 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38227 echo "Checking multilib configuration for libstdc++-v3..."; \
38228 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38229 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38230 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38231 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38232 else \
38233 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38234 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38235 fi; \
38236 else \
38237 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38238 fi; \
38239 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38240 $(RAW_CXX_TARGET_EXPORTS) \
38242 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38243 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38244 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38245 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
38246 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38247 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38248 case $(srcdir) in \
38249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38250 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38252 esac; \
38253 module_srcdir=libstdc++-v3; \
38254 $(SHELL) $$s/$$module_srcdir/configure \
38255 --srcdir=$${topdir}/$$module_srcdir \
38256 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38257 --target=${target_alias} \
38258 --with-build-libsubdir=$(HOST_SUBDIR) \
38259 $(STAGEautoprofile_CONFIGURE_FLAGS)
38260 @endif target-libstdc++-v3-bootstrap
38262 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
38263 maybe-configure-stageautofeedback-target-libstdc++-v3:
38264 @if target-libstdc++-v3-bootstrap
38265 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38266 configure-stageautofeedback-target-libstdc++-v3:
38267 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38268 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38269 @r=`${PWD_COMMAND}`; export r; \
38270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38271 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38272 echo "Checking multilib configuration for libstdc++-v3..."; \
38273 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38274 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38275 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38276 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38277 else \
38278 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38279 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38280 fi; \
38281 else \
38282 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38283 fi; \
38284 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38285 $(RAW_CXX_TARGET_EXPORTS) \
38287 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38288 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38289 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38290 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38292 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38293 case $(srcdir) in \
38294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38295 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38297 esac; \
38298 module_srcdir=libstdc++-v3; \
38299 $(SHELL) $$s/$$module_srcdir/configure \
38300 --srcdir=$${topdir}/$$module_srcdir \
38301 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38302 --target=${target_alias} \
38303 --with-build-libsubdir=$(HOST_SUBDIR) \
38304 $(STAGEautofeedback_CONFIGURE_FLAGS)
38305 @endif target-libstdc++-v3-bootstrap
38311 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
38312 maybe-all-target-libstdc++-v3:
38313 @if gcc-bootstrap
38314 all-target-libstdc++-v3: stage_current
38315 @endif gcc-bootstrap
38316 @if target-libstdc++-v3
38317 TARGET-target-libstdc++-v3=all
38318 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
38319 all-target-libstdc++-v3: configure-target-libstdc++-v3
38320 @r=`${PWD_COMMAND}`; export r; \
38321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38322 $(RAW_CXX_TARGET_EXPORTS) \
38323 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38324 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38325 $(TARGET-target-libstdc++-v3))
38326 @endif target-libstdc++-v3
38330 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
38331 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
38332 maybe-all-stage1-target-libstdc++-v3:
38333 maybe-clean-stage1-target-libstdc++-v3:
38334 @if target-libstdc++-v3-bootstrap
38335 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
38336 all-stage1: all-stage1-target-libstdc++-v3
38337 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38338 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
38339 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38340 @r=`${PWD_COMMAND}`; export r; \
38341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38342 TFLAGS="$(STAGE1_TFLAGS)"; \
38343 $(RAW_CXX_TARGET_EXPORTS) \
38344 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38346 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38347 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38348 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38349 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38353 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38355 TFLAGS="$(STAGE1_TFLAGS)" \
38356 $(TARGET-stage1-target-libstdc++-v3)
38358 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
38359 clean-stage1: clean-stage1-target-libstdc++-v3
38360 clean-stage1-target-libstdc++-v3:
38361 @if [ $(current_stage) = stage1 ]; then \
38362 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38363 else \
38364 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
38365 $(MAKE) stage1-start; \
38366 fi; \
38367 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38368 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38369 clean
38370 @endif target-libstdc++-v3-bootstrap
38373 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
38374 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
38375 maybe-all-stage2-target-libstdc++-v3:
38376 maybe-clean-stage2-target-libstdc++-v3:
38377 @if target-libstdc++-v3-bootstrap
38378 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
38379 all-stage2: all-stage2-target-libstdc++-v3
38380 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38381 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
38382 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38383 @r=`${PWD_COMMAND}`; export r; \
38384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38385 TFLAGS="$(STAGE2_TFLAGS)"; \
38386 $(RAW_CXX_TARGET_EXPORTS) \
38388 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38391 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38392 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38393 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38397 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38398 TFLAGS="$(STAGE2_TFLAGS)" \
38399 $(TARGET-stage2-target-libstdc++-v3)
38401 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
38402 clean-stage2: clean-stage2-target-libstdc++-v3
38403 clean-stage2-target-libstdc++-v3:
38404 @if [ $(current_stage) = stage2 ]; then \
38405 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38406 else \
38407 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
38408 $(MAKE) stage2-start; \
38409 fi; \
38410 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38411 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38412 @endif target-libstdc++-v3-bootstrap
38415 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
38416 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
38417 maybe-all-stage3-target-libstdc++-v3:
38418 maybe-clean-stage3-target-libstdc++-v3:
38419 @if target-libstdc++-v3-bootstrap
38420 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
38421 all-stage3: all-stage3-target-libstdc++-v3
38422 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38423 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38424 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38425 @r=`${PWD_COMMAND}`; export r; \
38426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38427 TFLAGS="$(STAGE3_TFLAGS)"; \
38428 $(RAW_CXX_TARGET_EXPORTS) \
38430 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38433 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38434 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38435 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38439 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38440 TFLAGS="$(STAGE3_TFLAGS)" \
38441 $(TARGET-stage3-target-libstdc++-v3)
38443 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
38444 clean-stage3: clean-stage3-target-libstdc++-v3
38445 clean-stage3-target-libstdc++-v3:
38446 @if [ $(current_stage) = stage3 ]; then \
38447 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38448 else \
38449 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
38450 $(MAKE) stage3-start; \
38451 fi; \
38452 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38453 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38454 @endif target-libstdc++-v3-bootstrap
38457 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
38458 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
38459 maybe-all-stage4-target-libstdc++-v3:
38460 maybe-clean-stage4-target-libstdc++-v3:
38461 @if target-libstdc++-v3-bootstrap
38462 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
38463 all-stage4: all-stage4-target-libstdc++-v3
38464 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38465 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38466 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38467 @r=`${PWD_COMMAND}`; export r; \
38468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38469 TFLAGS="$(STAGE4_TFLAGS)"; \
38470 $(RAW_CXX_TARGET_EXPORTS) \
38472 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38475 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38476 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38477 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38481 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38482 TFLAGS="$(STAGE4_TFLAGS)" \
38483 $(TARGET-stage4-target-libstdc++-v3)
38485 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
38486 clean-stage4: clean-stage4-target-libstdc++-v3
38487 clean-stage4-target-libstdc++-v3:
38488 @if [ $(current_stage) = stage4 ]; then \
38489 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38490 else \
38491 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
38492 $(MAKE) stage4-start; \
38493 fi; \
38494 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38495 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38496 @endif target-libstdc++-v3-bootstrap
38499 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
38500 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
38501 maybe-all-stageprofile-target-libstdc++-v3:
38502 maybe-clean-stageprofile-target-libstdc++-v3:
38503 @if target-libstdc++-v3-bootstrap
38504 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
38505 all-stageprofile: all-stageprofile-target-libstdc++-v3
38506 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38507 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38508 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38509 @r=`${PWD_COMMAND}`; export r; \
38510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38511 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38512 $(RAW_CXX_TARGET_EXPORTS) \
38514 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38517 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38518 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38519 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38520 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38521 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38522 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38523 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38524 TFLAGS="$(STAGEprofile_TFLAGS)" \
38525 $(TARGET-stageprofile-target-libstdc++-v3)
38527 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
38528 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
38529 clean-stageprofile-target-libstdc++-v3:
38530 @if [ $(current_stage) = stageprofile ]; then \
38531 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38532 else \
38533 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
38534 $(MAKE) stageprofile-start; \
38535 fi; \
38536 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38537 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38538 @endif target-libstdc++-v3-bootstrap
38541 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
38542 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
38543 maybe-all-stagetrain-target-libstdc++-v3:
38544 maybe-clean-stagetrain-target-libstdc++-v3:
38545 @if target-libstdc++-v3-bootstrap
38546 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
38547 all-stagetrain: all-stagetrain-target-libstdc++-v3
38548 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38549 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38550 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38551 @r=`${PWD_COMMAND}`; export r; \
38552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38553 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38554 $(RAW_CXX_TARGET_EXPORTS) \
38556 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38558 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38559 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38560 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38561 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38562 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38563 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38564 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38565 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38566 TFLAGS="$(STAGEtrain_TFLAGS)" \
38567 $(TARGET-stagetrain-target-libstdc++-v3)
38569 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
38570 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
38571 clean-stagetrain-target-libstdc++-v3:
38572 @if [ $(current_stage) = stagetrain ]; then \
38573 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38574 else \
38575 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
38576 $(MAKE) stagetrain-start; \
38577 fi; \
38578 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38579 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38580 @endif target-libstdc++-v3-bootstrap
38583 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
38584 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
38585 maybe-all-stagefeedback-target-libstdc++-v3:
38586 maybe-clean-stagefeedback-target-libstdc++-v3:
38587 @if target-libstdc++-v3-bootstrap
38588 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
38589 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
38590 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38591 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38592 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38593 @r=`${PWD_COMMAND}`; export r; \
38594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38595 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38596 $(RAW_CXX_TARGET_EXPORTS) \
38598 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38600 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38601 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38602 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38603 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38604 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38605 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38606 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38607 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38608 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38609 $(TARGET-stagefeedback-target-libstdc++-v3)
38611 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
38612 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
38613 clean-stagefeedback-target-libstdc++-v3:
38614 @if [ $(current_stage) = stagefeedback ]; then \
38615 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38616 else \
38617 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
38618 $(MAKE) stagefeedback-start; \
38619 fi; \
38620 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38621 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38622 @endif target-libstdc++-v3-bootstrap
38625 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
38626 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
38627 maybe-all-stageautoprofile-target-libstdc++-v3:
38628 maybe-clean-stageautoprofile-target-libstdc++-v3:
38629 @if target-libstdc++-v3-bootstrap
38630 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
38631 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
38632 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38633 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38634 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38635 @r=`${PWD_COMMAND}`; export r; \
38636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38637 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38638 $(RAW_CXX_TARGET_EXPORTS) \
38640 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38641 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38643 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38644 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38645 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38649 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38650 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38651 $(TARGET-stageautoprofile-target-libstdc++-v3)
38653 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
38654 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
38655 clean-stageautoprofile-target-libstdc++-v3:
38656 @if [ $(current_stage) = stageautoprofile ]; then \
38657 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38658 else \
38659 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
38660 $(MAKE) stageautoprofile-start; \
38661 fi; \
38662 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38663 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38664 @endif target-libstdc++-v3-bootstrap
38667 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
38668 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
38669 maybe-all-stageautofeedback-target-libstdc++-v3:
38670 maybe-clean-stageautofeedback-target-libstdc++-v3:
38671 @if target-libstdc++-v3-bootstrap
38672 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
38673 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
38674 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38675 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38676 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38677 @r=`${PWD_COMMAND}`; export r; \
38678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38679 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38680 $(RAW_CXX_TARGET_EXPORTS) \
38682 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38685 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38686 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38687 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38691 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38692 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38693 $(TARGET-stageautofeedback-target-libstdc++-v3)
38695 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
38696 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
38697 clean-stageautofeedback-target-libstdc++-v3:
38698 @if [ $(current_stage) = stageautofeedback ]; then \
38699 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38700 else \
38701 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
38702 $(MAKE) stageautofeedback-start; \
38703 fi; \
38704 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38705 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38706 @endif target-libstdc++-v3-bootstrap
38713 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
38714 maybe-check-target-libstdc++-v3:
38715 @if target-libstdc++-v3
38716 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
38718 check-target-libstdc++-v3:
38719 @: $(MAKE); $(unstage)
38720 @r=`${PWD_COMMAND}`; export r; \
38721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38722 $(RAW_CXX_TARGET_EXPORTS) \
38723 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38724 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38726 @endif target-libstdc++-v3
38728 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
38729 maybe-install-target-libstdc++-v3:
38730 @if target-libstdc++-v3
38731 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
38733 install-target-libstdc++-v3: installdirs
38734 @: $(MAKE); $(unstage)
38735 @r=`${PWD_COMMAND}`; export r; \
38736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38737 $(RAW_CXX_TARGET_EXPORTS) \
38738 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38739 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38741 @endif target-libstdc++-v3
38743 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
38744 maybe-install-strip-target-libstdc++-v3:
38745 @if target-libstdc++-v3
38746 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
38748 install-strip-target-libstdc++-v3: installdirs
38749 @: $(MAKE); $(unstage)
38750 @r=`${PWD_COMMAND}`; export r; \
38751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38752 $(RAW_CXX_TARGET_EXPORTS) \
38753 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38754 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38756 @endif target-libstdc++-v3
38758 # Other targets (info, dvi, pdf, etc.)
38760 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
38761 maybe-info-target-libstdc++-v3:
38762 @if target-libstdc++-v3
38763 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
38765 info-target-libstdc++-v3: \
38766 configure-target-libstdc++-v3
38767 @: $(MAKE); $(unstage)
38768 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38769 r=`${PWD_COMMAND}`; export r; \
38770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38771 $(RAW_CXX_TARGET_EXPORTS) \
38772 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38773 for flag in $(EXTRA_TARGET_FLAGS); do \
38774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38775 done; \
38776 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38779 "RANLIB=$${RANLIB}" \
38780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38781 info) \
38782 || exit 1
38784 @endif target-libstdc++-v3
38786 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
38787 maybe-dvi-target-libstdc++-v3:
38788 @if target-libstdc++-v3
38789 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
38791 dvi-target-libstdc++-v3: \
38792 configure-target-libstdc++-v3
38793 @: $(MAKE); $(unstage)
38794 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38795 r=`${PWD_COMMAND}`; export r; \
38796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38797 $(RAW_CXX_TARGET_EXPORTS) \
38798 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
38799 for flag in $(EXTRA_TARGET_FLAGS); do \
38800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38801 done; \
38802 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38805 "RANLIB=$${RANLIB}" \
38806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38807 dvi) \
38808 || exit 1
38810 @endif target-libstdc++-v3
38812 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
38813 maybe-pdf-target-libstdc++-v3:
38814 @if target-libstdc++-v3
38815 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
38817 pdf-target-libstdc++-v3: \
38818 configure-target-libstdc++-v3
38819 @: $(MAKE); $(unstage)
38820 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38821 r=`${PWD_COMMAND}`; export r; \
38822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38823 $(RAW_CXX_TARGET_EXPORTS) \
38824 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38825 for flag in $(EXTRA_TARGET_FLAGS); do \
38826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38827 done; \
38828 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38831 "RANLIB=$${RANLIB}" \
38832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38833 pdf) \
38834 || exit 1
38836 @endif target-libstdc++-v3
38838 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
38839 maybe-html-target-libstdc++-v3:
38840 @if target-libstdc++-v3
38841 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
38843 html-target-libstdc++-v3: \
38844 configure-target-libstdc++-v3
38845 @: $(MAKE); $(unstage)
38846 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38847 r=`${PWD_COMMAND}`; export r; \
38848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38849 $(RAW_CXX_TARGET_EXPORTS) \
38850 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38851 for flag in $(EXTRA_TARGET_FLAGS); do \
38852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38853 done; \
38854 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38857 "RANLIB=$${RANLIB}" \
38858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38859 html) \
38860 || exit 1
38862 @endif target-libstdc++-v3
38864 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
38865 maybe-TAGS-target-libstdc++-v3:
38866 @if target-libstdc++-v3
38867 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
38869 TAGS-target-libstdc++-v3: \
38870 configure-target-libstdc++-v3
38871 @: $(MAKE); $(unstage)
38872 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38873 r=`${PWD_COMMAND}`; export r; \
38874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38875 $(RAW_CXX_TARGET_EXPORTS) \
38876 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
38877 for flag in $(EXTRA_TARGET_FLAGS); do \
38878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38879 done; \
38880 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38883 "RANLIB=$${RANLIB}" \
38884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38885 TAGS) \
38886 || exit 1
38888 @endif target-libstdc++-v3
38890 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
38891 maybe-install-info-target-libstdc++-v3:
38892 @if target-libstdc++-v3
38893 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
38895 install-info-target-libstdc++-v3: \
38896 configure-target-libstdc++-v3 \
38897 info-target-libstdc++-v3
38898 @: $(MAKE); $(unstage)
38899 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38900 r=`${PWD_COMMAND}`; export r; \
38901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38902 $(RAW_CXX_TARGET_EXPORTS) \
38903 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38904 for flag in $(EXTRA_TARGET_FLAGS); do \
38905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38906 done; \
38907 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38910 "RANLIB=$${RANLIB}" \
38911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38912 install-info) \
38913 || exit 1
38915 @endif target-libstdc++-v3
38917 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
38918 maybe-install-pdf-target-libstdc++-v3:
38919 @if target-libstdc++-v3
38920 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
38922 install-pdf-target-libstdc++-v3: \
38923 configure-target-libstdc++-v3 \
38924 pdf-target-libstdc++-v3
38925 @: $(MAKE); $(unstage)
38926 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38927 r=`${PWD_COMMAND}`; export r; \
38928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38929 $(RAW_CXX_TARGET_EXPORTS) \
38930 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38931 for flag in $(EXTRA_TARGET_FLAGS); do \
38932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38933 done; \
38934 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38937 "RANLIB=$${RANLIB}" \
38938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38939 install-pdf) \
38940 || exit 1
38942 @endif target-libstdc++-v3
38944 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
38945 maybe-install-html-target-libstdc++-v3:
38946 @if target-libstdc++-v3
38947 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
38949 install-html-target-libstdc++-v3: \
38950 configure-target-libstdc++-v3 \
38951 html-target-libstdc++-v3
38952 @: $(MAKE); $(unstage)
38953 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38954 r=`${PWD_COMMAND}`; export r; \
38955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38956 $(RAW_CXX_TARGET_EXPORTS) \
38957 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38958 for flag in $(EXTRA_TARGET_FLAGS); do \
38959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38960 done; \
38961 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38964 "RANLIB=$${RANLIB}" \
38965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38966 install-html) \
38967 || exit 1
38969 @endif target-libstdc++-v3
38971 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
38972 maybe-installcheck-target-libstdc++-v3:
38973 @if target-libstdc++-v3
38974 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
38976 installcheck-target-libstdc++-v3: \
38977 configure-target-libstdc++-v3
38978 @: $(MAKE); $(unstage)
38979 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38980 r=`${PWD_COMMAND}`; export r; \
38981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38982 $(RAW_CXX_TARGET_EXPORTS) \
38983 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
38984 for flag in $(EXTRA_TARGET_FLAGS); do \
38985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38986 done; \
38987 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38990 "RANLIB=$${RANLIB}" \
38991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38992 installcheck) \
38993 || exit 1
38995 @endif target-libstdc++-v3
38997 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
38998 maybe-mostlyclean-target-libstdc++-v3:
38999 @if target-libstdc++-v3
39000 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
39002 mostlyclean-target-libstdc++-v3:
39003 @: $(MAKE); $(unstage)
39004 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39005 r=`${PWD_COMMAND}`; export r; \
39006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39007 $(RAW_CXX_TARGET_EXPORTS) \
39008 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39009 for flag in $(EXTRA_TARGET_FLAGS); do \
39010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39011 done; \
39012 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39015 "RANLIB=$${RANLIB}" \
39016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39017 mostlyclean) \
39018 || exit 1
39020 @endif target-libstdc++-v3
39022 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
39023 maybe-clean-target-libstdc++-v3:
39024 @if target-libstdc++-v3
39025 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
39027 clean-target-libstdc++-v3:
39028 @: $(MAKE); $(unstage)
39029 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39030 r=`${PWD_COMMAND}`; export r; \
39031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39032 $(RAW_CXX_TARGET_EXPORTS) \
39033 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39034 for flag in $(EXTRA_TARGET_FLAGS); do \
39035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39036 done; \
39037 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39040 "RANLIB=$${RANLIB}" \
39041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39042 clean) \
39043 || exit 1
39045 @endif target-libstdc++-v3
39047 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
39048 maybe-distclean-target-libstdc++-v3:
39049 @if target-libstdc++-v3
39050 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
39052 distclean-target-libstdc++-v3:
39053 @: $(MAKE); $(unstage)
39054 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39055 r=`${PWD_COMMAND}`; export r; \
39056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39057 $(RAW_CXX_TARGET_EXPORTS) \
39058 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39059 for flag in $(EXTRA_TARGET_FLAGS); do \
39060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39061 done; \
39062 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39065 "RANLIB=$${RANLIB}" \
39066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39067 distclean) \
39068 || exit 1
39070 @endif target-libstdc++-v3
39072 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
39073 maybe-maintainer-clean-target-libstdc++-v3:
39074 @if target-libstdc++-v3
39075 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
39077 maintainer-clean-target-libstdc++-v3:
39078 @: $(MAKE); $(unstage)
39079 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39080 r=`${PWD_COMMAND}`; export r; \
39081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39082 $(RAW_CXX_TARGET_EXPORTS) \
39083 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39084 for flag in $(EXTRA_TARGET_FLAGS); do \
39085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39086 done; \
39087 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39090 "RANLIB=$${RANLIB}" \
39091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39092 maintainer-clean) \
39093 || exit 1
39095 @endif target-libstdc++-v3
39101 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
39102 maybe-configure-target-libsanitizer:
39103 @if gcc-bootstrap
39104 configure-target-libsanitizer: stage_current
39105 @endif gcc-bootstrap
39106 @if target-libsanitizer
39107 maybe-configure-target-libsanitizer: configure-target-libsanitizer
39108 configure-target-libsanitizer:
39109 @r=`${PWD_COMMAND}`; export r; \
39110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39111 echo "Checking multilib configuration for libsanitizer..."; \
39112 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39113 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39114 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39115 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39116 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39117 else \
39118 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39119 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39120 fi; \
39121 else \
39122 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39123 fi; \
39124 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39125 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39126 $(RAW_CXX_TARGET_EXPORTS) \
39127 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
39128 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
39129 case $(srcdir) in \
39130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39131 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39133 esac; \
39134 module_srcdir=libsanitizer; \
39135 rm -f no-such-file || : ; \
39136 CONFIG_SITE=no-such-file $(SHELL) \
39137 $$s/$$module_srcdir/configure \
39138 --srcdir=$${topdir}/$$module_srcdir \
39139 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39140 --target=${target_alias} \
39141 || exit 1
39142 @endif target-libsanitizer
39146 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
39147 maybe-configure-stage1-target-libsanitizer:
39148 @if target-libsanitizer-bootstrap
39149 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39150 configure-stage1-target-libsanitizer:
39151 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39152 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39153 @r=`${PWD_COMMAND}`; export r; \
39154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39155 TFLAGS="$(STAGE1_TFLAGS)"; \
39156 echo "Checking multilib configuration for libsanitizer..."; \
39157 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39158 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39159 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39160 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39161 else \
39162 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39163 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39164 fi; \
39165 else \
39166 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39167 fi; \
39168 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39169 $(RAW_CXX_TARGET_EXPORTS) \
39170 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39171 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39172 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39173 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
39174 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39175 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39176 case $(srcdir) in \
39177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39178 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39180 esac; \
39181 module_srcdir=libsanitizer; \
39182 $(SHELL) $$s/$$module_srcdir/configure \
39183 --srcdir=$${topdir}/$$module_srcdir \
39184 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39185 --target=${target_alias} \
39187 $(STAGE1_CONFIGURE_FLAGS)
39188 @endif target-libsanitizer-bootstrap
39190 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
39191 maybe-configure-stage2-target-libsanitizer:
39192 @if target-libsanitizer-bootstrap
39193 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39194 configure-stage2-target-libsanitizer:
39195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39196 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39197 @r=`${PWD_COMMAND}`; export r; \
39198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39199 TFLAGS="$(STAGE2_TFLAGS)"; \
39200 echo "Checking multilib configuration for libsanitizer..."; \
39201 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39202 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39203 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39204 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39205 else \
39206 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39207 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39208 fi; \
39209 else \
39210 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39211 fi; \
39212 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39213 $(RAW_CXX_TARGET_EXPORTS) \
39215 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39216 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39217 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39218 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
39219 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39220 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39221 case $(srcdir) in \
39222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39223 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39225 esac; \
39226 module_srcdir=libsanitizer; \
39227 $(SHELL) $$s/$$module_srcdir/configure \
39228 --srcdir=$${topdir}/$$module_srcdir \
39229 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39230 --target=${target_alias} \
39231 --with-build-libsubdir=$(HOST_SUBDIR) \
39232 $(STAGE2_CONFIGURE_FLAGS)
39233 @endif target-libsanitizer-bootstrap
39235 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
39236 maybe-configure-stage3-target-libsanitizer:
39237 @if target-libsanitizer-bootstrap
39238 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39239 configure-stage3-target-libsanitizer:
39240 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39241 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39242 @r=`${PWD_COMMAND}`; export r; \
39243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39244 TFLAGS="$(STAGE3_TFLAGS)"; \
39245 echo "Checking multilib configuration for libsanitizer..."; \
39246 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39247 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39248 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39249 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39250 else \
39251 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39252 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39253 fi; \
39254 else \
39255 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39256 fi; \
39257 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39258 $(RAW_CXX_TARGET_EXPORTS) \
39260 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39261 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39262 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39263 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
39264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39265 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39266 case $(srcdir) in \
39267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39268 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39270 esac; \
39271 module_srcdir=libsanitizer; \
39272 $(SHELL) $$s/$$module_srcdir/configure \
39273 --srcdir=$${topdir}/$$module_srcdir \
39274 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39275 --target=${target_alias} \
39276 --with-build-libsubdir=$(HOST_SUBDIR) \
39277 $(STAGE3_CONFIGURE_FLAGS)
39278 @endif target-libsanitizer-bootstrap
39280 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
39281 maybe-configure-stage4-target-libsanitizer:
39282 @if target-libsanitizer-bootstrap
39283 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39284 configure-stage4-target-libsanitizer:
39285 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39286 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39287 @r=`${PWD_COMMAND}`; export r; \
39288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39289 TFLAGS="$(STAGE4_TFLAGS)"; \
39290 echo "Checking multilib configuration for libsanitizer..."; \
39291 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39292 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39293 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39294 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39295 else \
39296 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39297 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39298 fi; \
39299 else \
39300 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39301 fi; \
39302 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39303 $(RAW_CXX_TARGET_EXPORTS) \
39305 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39306 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39307 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39308 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
39309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39310 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39311 case $(srcdir) in \
39312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39313 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39315 esac; \
39316 module_srcdir=libsanitizer; \
39317 $(SHELL) $$s/$$module_srcdir/configure \
39318 --srcdir=$${topdir}/$$module_srcdir \
39319 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39320 --target=${target_alias} \
39321 --with-build-libsubdir=$(HOST_SUBDIR) \
39322 $(STAGE4_CONFIGURE_FLAGS)
39323 @endif target-libsanitizer-bootstrap
39325 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
39326 maybe-configure-stageprofile-target-libsanitizer:
39327 @if target-libsanitizer-bootstrap
39328 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39329 configure-stageprofile-target-libsanitizer:
39330 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39331 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39332 @r=`${PWD_COMMAND}`; export r; \
39333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39334 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39335 echo "Checking multilib configuration for libsanitizer..."; \
39336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39337 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39338 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39339 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39340 else \
39341 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39342 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39343 fi; \
39344 else \
39345 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39346 fi; \
39347 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39348 $(RAW_CXX_TARGET_EXPORTS) \
39350 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39351 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39352 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39353 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
39354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39355 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39356 case $(srcdir) in \
39357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39358 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39360 esac; \
39361 module_srcdir=libsanitizer; \
39362 $(SHELL) $$s/$$module_srcdir/configure \
39363 --srcdir=$${topdir}/$$module_srcdir \
39364 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39365 --target=${target_alias} \
39366 --with-build-libsubdir=$(HOST_SUBDIR) \
39367 $(STAGEprofile_CONFIGURE_FLAGS)
39368 @endif target-libsanitizer-bootstrap
39370 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
39371 maybe-configure-stagetrain-target-libsanitizer:
39372 @if target-libsanitizer-bootstrap
39373 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39374 configure-stagetrain-target-libsanitizer:
39375 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39376 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39377 @r=`${PWD_COMMAND}`; export r; \
39378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39379 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39380 echo "Checking multilib configuration for libsanitizer..."; \
39381 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39382 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39383 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39384 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39385 else \
39386 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39387 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39388 fi; \
39389 else \
39390 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39391 fi; \
39392 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39393 $(RAW_CXX_TARGET_EXPORTS) \
39395 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39396 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39397 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39398 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
39399 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39400 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39401 case $(srcdir) in \
39402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39403 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39405 esac; \
39406 module_srcdir=libsanitizer; \
39407 $(SHELL) $$s/$$module_srcdir/configure \
39408 --srcdir=$${topdir}/$$module_srcdir \
39409 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39410 --target=${target_alias} \
39411 --with-build-libsubdir=$(HOST_SUBDIR) \
39412 $(STAGEtrain_CONFIGURE_FLAGS)
39413 @endif target-libsanitizer-bootstrap
39415 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
39416 maybe-configure-stagefeedback-target-libsanitizer:
39417 @if target-libsanitizer-bootstrap
39418 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39419 configure-stagefeedback-target-libsanitizer:
39420 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39421 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39422 @r=`${PWD_COMMAND}`; export r; \
39423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39424 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39425 echo "Checking multilib configuration for libsanitizer..."; \
39426 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39427 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39428 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39429 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39430 else \
39431 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39432 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39433 fi; \
39434 else \
39435 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39436 fi; \
39437 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39438 $(RAW_CXX_TARGET_EXPORTS) \
39440 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39441 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39442 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39443 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
39444 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39445 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39446 case $(srcdir) in \
39447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39448 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39450 esac; \
39451 module_srcdir=libsanitizer; \
39452 $(SHELL) $$s/$$module_srcdir/configure \
39453 --srcdir=$${topdir}/$$module_srcdir \
39454 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39455 --target=${target_alias} \
39456 --with-build-libsubdir=$(HOST_SUBDIR) \
39457 $(STAGEfeedback_CONFIGURE_FLAGS)
39458 @endif target-libsanitizer-bootstrap
39460 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
39461 maybe-configure-stageautoprofile-target-libsanitizer:
39462 @if target-libsanitizer-bootstrap
39463 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39464 configure-stageautoprofile-target-libsanitizer:
39465 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39466 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39467 @r=`${PWD_COMMAND}`; export r; \
39468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39469 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39470 echo "Checking multilib configuration for libsanitizer..."; \
39471 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39472 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39473 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39474 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39475 else \
39476 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39477 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39478 fi; \
39479 else \
39480 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39481 fi; \
39482 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39483 $(RAW_CXX_TARGET_EXPORTS) \
39485 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39486 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39487 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39488 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
39489 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39490 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39491 case $(srcdir) in \
39492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39493 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39495 esac; \
39496 module_srcdir=libsanitizer; \
39497 $(SHELL) $$s/$$module_srcdir/configure \
39498 --srcdir=$${topdir}/$$module_srcdir \
39499 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39500 --target=${target_alias} \
39501 --with-build-libsubdir=$(HOST_SUBDIR) \
39502 $(STAGEautoprofile_CONFIGURE_FLAGS)
39503 @endif target-libsanitizer-bootstrap
39505 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
39506 maybe-configure-stageautofeedback-target-libsanitizer:
39507 @if target-libsanitizer-bootstrap
39508 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39509 configure-stageautofeedback-target-libsanitizer:
39510 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39511 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39512 @r=`${PWD_COMMAND}`; export r; \
39513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39514 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39515 echo "Checking multilib configuration for libsanitizer..."; \
39516 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39517 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39518 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39519 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39520 else \
39521 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39522 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39523 fi; \
39524 else \
39525 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39526 fi; \
39527 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39528 $(RAW_CXX_TARGET_EXPORTS) \
39530 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39531 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39532 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39533 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
39534 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39535 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39536 case $(srcdir) in \
39537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39538 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39540 esac; \
39541 module_srcdir=libsanitizer; \
39542 $(SHELL) $$s/$$module_srcdir/configure \
39543 --srcdir=$${topdir}/$$module_srcdir \
39544 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39545 --target=${target_alias} \
39546 --with-build-libsubdir=$(HOST_SUBDIR) \
39547 $(STAGEautofeedback_CONFIGURE_FLAGS)
39548 @endif target-libsanitizer-bootstrap
39554 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
39555 maybe-all-target-libsanitizer:
39556 @if gcc-bootstrap
39557 all-target-libsanitizer: stage_current
39558 @endif gcc-bootstrap
39559 @if target-libsanitizer
39560 TARGET-target-libsanitizer=all
39561 maybe-all-target-libsanitizer: all-target-libsanitizer
39562 all-target-libsanitizer: configure-target-libsanitizer
39563 @r=`${PWD_COMMAND}`; export r; \
39564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39565 $(RAW_CXX_TARGET_EXPORTS) \
39566 (cd $(TARGET_SUBDIR)/libsanitizer && \
39567 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39568 $(TARGET-target-libsanitizer))
39569 @endif target-libsanitizer
39573 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
39574 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
39575 maybe-all-stage1-target-libsanitizer:
39576 maybe-clean-stage1-target-libsanitizer:
39577 @if target-libsanitizer-bootstrap
39578 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
39579 all-stage1: all-stage1-target-libsanitizer
39580 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
39581 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39582 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39583 @r=`${PWD_COMMAND}`; export r; \
39584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39585 TFLAGS="$(STAGE1_TFLAGS)"; \
39586 $(RAW_CXX_TARGET_EXPORTS) \
39587 cd $(TARGET_SUBDIR)/libsanitizer && \
39589 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39590 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39591 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39592 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39593 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39594 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39595 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39596 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39598 TFLAGS="$(STAGE1_TFLAGS)" \
39599 $(TARGET-stage1-target-libsanitizer)
39601 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
39602 clean-stage1: clean-stage1-target-libsanitizer
39603 clean-stage1-target-libsanitizer:
39604 @if [ $(current_stage) = stage1 ]; then \
39605 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39606 else \
39607 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
39608 $(MAKE) stage1-start; \
39609 fi; \
39610 cd $(TARGET_SUBDIR)/libsanitizer && \
39611 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39612 clean
39613 @endif target-libsanitizer-bootstrap
39616 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
39617 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
39618 maybe-all-stage2-target-libsanitizer:
39619 maybe-clean-stage2-target-libsanitizer:
39620 @if target-libsanitizer-bootstrap
39621 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
39622 all-stage2: all-stage2-target-libsanitizer
39623 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
39624 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39625 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39626 @r=`${PWD_COMMAND}`; export r; \
39627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39628 TFLAGS="$(STAGE2_TFLAGS)"; \
39629 $(RAW_CXX_TARGET_EXPORTS) \
39631 cd $(TARGET_SUBDIR)/libsanitizer && \
39633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39634 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39635 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39636 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39640 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39641 TFLAGS="$(STAGE2_TFLAGS)" \
39642 $(TARGET-stage2-target-libsanitizer)
39644 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
39645 clean-stage2: clean-stage2-target-libsanitizer
39646 clean-stage2-target-libsanitizer:
39647 @if [ $(current_stage) = stage2 ]; then \
39648 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39649 else \
39650 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
39651 $(MAKE) stage2-start; \
39652 fi; \
39653 cd $(TARGET_SUBDIR)/libsanitizer && \
39654 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39655 @endif target-libsanitizer-bootstrap
39658 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
39659 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
39660 maybe-all-stage3-target-libsanitizer:
39661 maybe-clean-stage3-target-libsanitizer:
39662 @if target-libsanitizer-bootstrap
39663 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
39664 all-stage3: all-stage3-target-libsanitizer
39665 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
39666 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39667 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39668 @r=`${PWD_COMMAND}`; export r; \
39669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39670 TFLAGS="$(STAGE3_TFLAGS)"; \
39671 $(RAW_CXX_TARGET_EXPORTS) \
39673 cd $(TARGET_SUBDIR)/libsanitizer && \
39675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39676 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39677 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39678 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39682 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39683 TFLAGS="$(STAGE3_TFLAGS)" \
39684 $(TARGET-stage3-target-libsanitizer)
39686 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
39687 clean-stage3: clean-stage3-target-libsanitizer
39688 clean-stage3-target-libsanitizer:
39689 @if [ $(current_stage) = stage3 ]; then \
39690 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39691 else \
39692 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
39693 $(MAKE) stage3-start; \
39694 fi; \
39695 cd $(TARGET_SUBDIR)/libsanitizer && \
39696 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39697 @endif target-libsanitizer-bootstrap
39700 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
39701 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
39702 maybe-all-stage4-target-libsanitizer:
39703 maybe-clean-stage4-target-libsanitizer:
39704 @if target-libsanitizer-bootstrap
39705 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
39706 all-stage4: all-stage4-target-libsanitizer
39707 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
39708 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39709 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39710 @r=`${PWD_COMMAND}`; export r; \
39711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39712 TFLAGS="$(STAGE4_TFLAGS)"; \
39713 $(RAW_CXX_TARGET_EXPORTS) \
39715 cd $(TARGET_SUBDIR)/libsanitizer && \
39717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39718 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39719 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39720 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39721 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39722 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39723 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39724 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39725 TFLAGS="$(STAGE4_TFLAGS)" \
39726 $(TARGET-stage4-target-libsanitizer)
39728 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
39729 clean-stage4: clean-stage4-target-libsanitizer
39730 clean-stage4-target-libsanitizer:
39731 @if [ $(current_stage) = stage4 ]; then \
39732 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39733 else \
39734 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
39735 $(MAKE) stage4-start; \
39736 fi; \
39737 cd $(TARGET_SUBDIR)/libsanitizer && \
39738 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39739 @endif target-libsanitizer-bootstrap
39742 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
39743 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
39744 maybe-all-stageprofile-target-libsanitizer:
39745 maybe-clean-stageprofile-target-libsanitizer:
39746 @if target-libsanitizer-bootstrap
39747 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
39748 all-stageprofile: all-stageprofile-target-libsanitizer
39749 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39750 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39751 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39752 @r=`${PWD_COMMAND}`; export r; \
39753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39754 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39755 $(RAW_CXX_TARGET_EXPORTS) \
39757 cd $(TARGET_SUBDIR)/libsanitizer && \
39759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39760 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39761 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39762 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39766 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39767 TFLAGS="$(STAGEprofile_TFLAGS)" \
39768 $(TARGET-stageprofile-target-libsanitizer)
39770 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
39771 clean-stageprofile: clean-stageprofile-target-libsanitizer
39772 clean-stageprofile-target-libsanitizer:
39773 @if [ $(current_stage) = stageprofile ]; then \
39774 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39775 else \
39776 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
39777 $(MAKE) stageprofile-start; \
39778 fi; \
39779 cd $(TARGET_SUBDIR)/libsanitizer && \
39780 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39781 @endif target-libsanitizer-bootstrap
39784 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
39785 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
39786 maybe-all-stagetrain-target-libsanitizer:
39787 maybe-clean-stagetrain-target-libsanitizer:
39788 @if target-libsanitizer-bootstrap
39789 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
39790 all-stagetrain: all-stagetrain-target-libsanitizer
39791 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
39792 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39793 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39794 @r=`${PWD_COMMAND}`; export r; \
39795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39796 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39797 $(RAW_CXX_TARGET_EXPORTS) \
39799 cd $(TARGET_SUBDIR)/libsanitizer && \
39801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39802 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39803 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39804 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39808 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39809 TFLAGS="$(STAGEtrain_TFLAGS)" \
39810 $(TARGET-stagetrain-target-libsanitizer)
39812 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
39813 clean-stagetrain: clean-stagetrain-target-libsanitizer
39814 clean-stagetrain-target-libsanitizer:
39815 @if [ $(current_stage) = stagetrain ]; then \
39816 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39817 else \
39818 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
39819 $(MAKE) stagetrain-start; \
39820 fi; \
39821 cd $(TARGET_SUBDIR)/libsanitizer && \
39822 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39823 @endif target-libsanitizer-bootstrap
39826 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
39827 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
39828 maybe-all-stagefeedback-target-libsanitizer:
39829 maybe-clean-stagefeedback-target-libsanitizer:
39830 @if target-libsanitizer-bootstrap
39831 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
39832 all-stagefeedback: all-stagefeedback-target-libsanitizer
39833 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39834 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39835 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39836 @r=`${PWD_COMMAND}`; export r; \
39837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39838 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39839 $(RAW_CXX_TARGET_EXPORTS) \
39841 cd $(TARGET_SUBDIR)/libsanitizer && \
39843 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39844 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39845 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39846 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39847 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39848 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39849 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39850 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39851 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39852 $(TARGET-stagefeedback-target-libsanitizer)
39854 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
39855 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
39856 clean-stagefeedback-target-libsanitizer:
39857 @if [ $(current_stage) = stagefeedback ]; then \
39858 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39859 else \
39860 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
39861 $(MAKE) stagefeedback-start; \
39862 fi; \
39863 cd $(TARGET_SUBDIR)/libsanitizer && \
39864 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39865 @endif target-libsanitizer-bootstrap
39868 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
39869 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
39870 maybe-all-stageautoprofile-target-libsanitizer:
39871 maybe-clean-stageautoprofile-target-libsanitizer:
39872 @if target-libsanitizer-bootstrap
39873 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
39874 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
39875 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39876 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39877 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39878 @r=`${PWD_COMMAND}`; export r; \
39879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39880 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39881 $(RAW_CXX_TARGET_EXPORTS) \
39883 cd $(TARGET_SUBDIR)/libsanitizer && \
39884 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39885 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39886 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39887 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39888 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39889 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39890 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39891 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39892 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39893 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39894 $(TARGET-stageautoprofile-target-libsanitizer)
39896 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
39897 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
39898 clean-stageautoprofile-target-libsanitizer:
39899 @if [ $(current_stage) = stageautoprofile ]; then \
39900 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39901 else \
39902 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
39903 $(MAKE) stageautoprofile-start; \
39904 fi; \
39905 cd $(TARGET_SUBDIR)/libsanitizer && \
39906 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39907 @endif target-libsanitizer-bootstrap
39910 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
39911 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
39912 maybe-all-stageautofeedback-target-libsanitizer:
39913 maybe-clean-stageautofeedback-target-libsanitizer:
39914 @if target-libsanitizer-bootstrap
39915 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
39916 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
39917 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39918 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39919 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39920 @r=`${PWD_COMMAND}`; export r; \
39921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39922 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39923 $(RAW_CXX_TARGET_EXPORTS) \
39925 cd $(TARGET_SUBDIR)/libsanitizer && \
39927 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39928 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39929 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39930 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39931 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39932 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39933 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39934 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39935 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39936 $(TARGET-stageautofeedback-target-libsanitizer)
39938 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
39939 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
39940 clean-stageautofeedback-target-libsanitizer:
39941 @if [ $(current_stage) = stageautofeedback ]; then \
39942 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39943 else \
39944 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
39945 $(MAKE) stageautofeedback-start; \
39946 fi; \
39947 cd $(TARGET_SUBDIR)/libsanitizer && \
39948 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39949 @endif target-libsanitizer-bootstrap
39956 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
39957 maybe-check-target-libsanitizer:
39958 @if target-libsanitizer
39959 maybe-check-target-libsanitizer: check-target-libsanitizer
39961 check-target-libsanitizer:
39962 @: $(MAKE); $(unstage)
39963 @r=`${PWD_COMMAND}`; export r; \
39964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39965 $(RAW_CXX_TARGET_EXPORTS) \
39966 (cd $(TARGET_SUBDIR)/libsanitizer && \
39967 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
39969 @endif target-libsanitizer
39971 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
39972 maybe-install-target-libsanitizer:
39973 @if target-libsanitizer
39974 maybe-install-target-libsanitizer: install-target-libsanitizer
39976 install-target-libsanitizer: installdirs
39977 @: $(MAKE); $(unstage)
39978 @r=`${PWD_COMMAND}`; export r; \
39979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39980 $(RAW_CXX_TARGET_EXPORTS) \
39981 (cd $(TARGET_SUBDIR)/libsanitizer && \
39982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39984 @endif target-libsanitizer
39986 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
39987 maybe-install-strip-target-libsanitizer:
39988 @if target-libsanitizer
39989 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
39991 install-strip-target-libsanitizer: installdirs
39992 @: $(MAKE); $(unstage)
39993 @r=`${PWD_COMMAND}`; export r; \
39994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39995 $(RAW_CXX_TARGET_EXPORTS) \
39996 (cd $(TARGET_SUBDIR)/libsanitizer && \
39997 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39999 @endif target-libsanitizer
40001 # Other targets (info, dvi, pdf, etc.)
40003 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
40004 maybe-info-target-libsanitizer:
40005 @if target-libsanitizer
40006 maybe-info-target-libsanitizer: info-target-libsanitizer
40008 info-target-libsanitizer: \
40009 configure-target-libsanitizer
40010 @: $(MAKE); $(unstage)
40011 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40012 r=`${PWD_COMMAND}`; export r; \
40013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40014 $(RAW_CXX_TARGET_EXPORTS) \
40015 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
40016 for flag in $(EXTRA_TARGET_FLAGS); do \
40017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40018 done; \
40019 (cd $(TARGET_SUBDIR)/libsanitizer && \
40020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40022 "RANLIB=$${RANLIB}" \
40023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40024 info) \
40025 || exit 1
40027 @endif target-libsanitizer
40029 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
40030 maybe-dvi-target-libsanitizer:
40031 @if target-libsanitizer
40032 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
40034 dvi-target-libsanitizer: \
40035 configure-target-libsanitizer
40036 @: $(MAKE); $(unstage)
40037 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40038 r=`${PWD_COMMAND}`; export r; \
40039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40040 $(RAW_CXX_TARGET_EXPORTS) \
40041 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
40042 for flag in $(EXTRA_TARGET_FLAGS); do \
40043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40044 done; \
40045 (cd $(TARGET_SUBDIR)/libsanitizer && \
40046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40048 "RANLIB=$${RANLIB}" \
40049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40050 dvi) \
40051 || exit 1
40053 @endif target-libsanitizer
40055 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
40056 maybe-pdf-target-libsanitizer:
40057 @if target-libsanitizer
40058 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
40060 pdf-target-libsanitizer: \
40061 configure-target-libsanitizer
40062 @: $(MAKE); $(unstage)
40063 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40064 r=`${PWD_COMMAND}`; export r; \
40065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40066 $(RAW_CXX_TARGET_EXPORTS) \
40067 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40068 for flag in $(EXTRA_TARGET_FLAGS); do \
40069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40070 done; \
40071 (cd $(TARGET_SUBDIR)/libsanitizer && \
40072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40074 "RANLIB=$${RANLIB}" \
40075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40076 pdf) \
40077 || exit 1
40079 @endif target-libsanitizer
40081 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
40082 maybe-html-target-libsanitizer:
40083 @if target-libsanitizer
40084 maybe-html-target-libsanitizer: html-target-libsanitizer
40086 html-target-libsanitizer: \
40087 configure-target-libsanitizer
40088 @: $(MAKE); $(unstage)
40089 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40090 r=`${PWD_COMMAND}`; export r; \
40091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40092 $(RAW_CXX_TARGET_EXPORTS) \
40093 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
40094 for flag in $(EXTRA_TARGET_FLAGS); do \
40095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40096 done; \
40097 (cd $(TARGET_SUBDIR)/libsanitizer && \
40098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40100 "RANLIB=$${RANLIB}" \
40101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40102 html) \
40103 || exit 1
40105 @endif target-libsanitizer
40107 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
40108 maybe-TAGS-target-libsanitizer:
40109 @if target-libsanitizer
40110 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
40112 TAGS-target-libsanitizer: \
40113 configure-target-libsanitizer
40114 @: $(MAKE); $(unstage)
40115 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40116 r=`${PWD_COMMAND}`; export r; \
40117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40118 $(RAW_CXX_TARGET_EXPORTS) \
40119 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
40120 for flag in $(EXTRA_TARGET_FLAGS); do \
40121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40122 done; \
40123 (cd $(TARGET_SUBDIR)/libsanitizer && \
40124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40126 "RANLIB=$${RANLIB}" \
40127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40128 TAGS) \
40129 || exit 1
40131 @endif target-libsanitizer
40133 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
40134 maybe-install-info-target-libsanitizer:
40135 @if target-libsanitizer
40136 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
40138 install-info-target-libsanitizer: \
40139 configure-target-libsanitizer \
40140 info-target-libsanitizer
40141 @: $(MAKE); $(unstage)
40142 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40143 r=`${PWD_COMMAND}`; export r; \
40144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40145 $(RAW_CXX_TARGET_EXPORTS) \
40146 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
40147 for flag in $(EXTRA_TARGET_FLAGS); do \
40148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40149 done; \
40150 (cd $(TARGET_SUBDIR)/libsanitizer && \
40151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40153 "RANLIB=$${RANLIB}" \
40154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40155 install-info) \
40156 || exit 1
40158 @endif target-libsanitizer
40160 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
40161 maybe-install-pdf-target-libsanitizer:
40162 @if target-libsanitizer
40163 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
40165 install-pdf-target-libsanitizer: \
40166 configure-target-libsanitizer \
40167 pdf-target-libsanitizer
40168 @: $(MAKE); $(unstage)
40169 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40170 r=`${PWD_COMMAND}`; export r; \
40171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40172 $(RAW_CXX_TARGET_EXPORTS) \
40173 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40174 for flag in $(EXTRA_TARGET_FLAGS); do \
40175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40176 done; \
40177 (cd $(TARGET_SUBDIR)/libsanitizer && \
40178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40180 "RANLIB=$${RANLIB}" \
40181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40182 install-pdf) \
40183 || exit 1
40185 @endif target-libsanitizer
40187 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
40188 maybe-install-html-target-libsanitizer:
40189 @if target-libsanitizer
40190 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
40192 install-html-target-libsanitizer: \
40193 configure-target-libsanitizer \
40194 html-target-libsanitizer
40195 @: $(MAKE); $(unstage)
40196 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40197 r=`${PWD_COMMAND}`; export r; \
40198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40199 $(RAW_CXX_TARGET_EXPORTS) \
40200 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
40201 for flag in $(EXTRA_TARGET_FLAGS); do \
40202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40203 done; \
40204 (cd $(TARGET_SUBDIR)/libsanitizer && \
40205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40207 "RANLIB=$${RANLIB}" \
40208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40209 install-html) \
40210 || exit 1
40212 @endif target-libsanitizer
40214 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
40215 maybe-installcheck-target-libsanitizer:
40216 @if target-libsanitizer
40217 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
40219 installcheck-target-libsanitizer: \
40220 configure-target-libsanitizer
40221 @: $(MAKE); $(unstage)
40222 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40223 r=`${PWD_COMMAND}`; export r; \
40224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40225 $(RAW_CXX_TARGET_EXPORTS) \
40226 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
40227 for flag in $(EXTRA_TARGET_FLAGS); do \
40228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40229 done; \
40230 (cd $(TARGET_SUBDIR)/libsanitizer && \
40231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40233 "RANLIB=$${RANLIB}" \
40234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40235 installcheck) \
40236 || exit 1
40238 @endif target-libsanitizer
40240 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
40241 maybe-mostlyclean-target-libsanitizer:
40242 @if target-libsanitizer
40243 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
40245 mostlyclean-target-libsanitizer:
40246 @: $(MAKE); $(unstage)
40247 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40248 r=`${PWD_COMMAND}`; export r; \
40249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40250 $(RAW_CXX_TARGET_EXPORTS) \
40251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
40252 for flag in $(EXTRA_TARGET_FLAGS); do \
40253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40254 done; \
40255 (cd $(TARGET_SUBDIR)/libsanitizer && \
40256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40258 "RANLIB=$${RANLIB}" \
40259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40260 mostlyclean) \
40261 || exit 1
40263 @endif target-libsanitizer
40265 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
40266 maybe-clean-target-libsanitizer:
40267 @if target-libsanitizer
40268 maybe-clean-target-libsanitizer: clean-target-libsanitizer
40270 clean-target-libsanitizer:
40271 @: $(MAKE); $(unstage)
40272 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40273 r=`${PWD_COMMAND}`; export r; \
40274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40275 $(RAW_CXX_TARGET_EXPORTS) \
40276 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
40277 for flag in $(EXTRA_TARGET_FLAGS); do \
40278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40279 done; \
40280 (cd $(TARGET_SUBDIR)/libsanitizer && \
40281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40283 "RANLIB=$${RANLIB}" \
40284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40285 clean) \
40286 || exit 1
40288 @endif target-libsanitizer
40290 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
40291 maybe-distclean-target-libsanitizer:
40292 @if target-libsanitizer
40293 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
40295 distclean-target-libsanitizer:
40296 @: $(MAKE); $(unstage)
40297 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40298 r=`${PWD_COMMAND}`; export r; \
40299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40300 $(RAW_CXX_TARGET_EXPORTS) \
40301 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
40302 for flag in $(EXTRA_TARGET_FLAGS); do \
40303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40304 done; \
40305 (cd $(TARGET_SUBDIR)/libsanitizer && \
40306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40308 "RANLIB=$${RANLIB}" \
40309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40310 distclean) \
40311 || exit 1
40313 @endif target-libsanitizer
40315 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
40316 maybe-maintainer-clean-target-libsanitizer:
40317 @if target-libsanitizer
40318 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
40320 maintainer-clean-target-libsanitizer:
40321 @: $(MAKE); $(unstage)
40322 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40323 r=`${PWD_COMMAND}`; export r; \
40324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40325 $(RAW_CXX_TARGET_EXPORTS) \
40326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
40327 for flag in $(EXTRA_TARGET_FLAGS); do \
40328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40329 done; \
40330 (cd $(TARGET_SUBDIR)/libsanitizer && \
40331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40333 "RANLIB=$${RANLIB}" \
40334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40335 maintainer-clean) \
40336 || exit 1
40338 @endif target-libsanitizer
40344 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
40345 maybe-configure-target-libvtv:
40346 @if gcc-bootstrap
40347 configure-target-libvtv: stage_current
40348 @endif gcc-bootstrap
40349 @if target-libvtv
40350 maybe-configure-target-libvtv: configure-target-libvtv
40351 configure-target-libvtv:
40352 @r=`${PWD_COMMAND}`; export r; \
40353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40354 echo "Checking multilib configuration for libvtv..."; \
40355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40356 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40357 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40358 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40359 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40360 else \
40361 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40362 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40363 fi; \
40364 else \
40365 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40366 fi; \
40367 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40368 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40369 $(RAW_CXX_TARGET_EXPORTS) \
40370 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
40371 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
40372 case $(srcdir) in \
40373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40374 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40376 esac; \
40377 module_srcdir=libvtv; \
40378 rm -f no-such-file || : ; \
40379 CONFIG_SITE=no-such-file $(SHELL) \
40380 $$s/$$module_srcdir/configure \
40381 --srcdir=$${topdir}/$$module_srcdir \
40382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40383 --target=${target_alias} \
40384 || exit 1
40385 @endif target-libvtv
40389 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
40390 maybe-configure-stage1-target-libvtv:
40391 @if target-libvtv-bootstrap
40392 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
40393 configure-stage1-target-libvtv:
40394 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40395 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40396 @r=`${PWD_COMMAND}`; export r; \
40397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40398 TFLAGS="$(STAGE1_TFLAGS)"; \
40399 echo "Checking multilib configuration for libvtv..."; \
40400 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40401 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40402 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40403 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40404 else \
40405 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40406 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40407 fi; \
40408 else \
40409 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40410 fi; \
40411 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40412 $(RAW_CXX_TARGET_EXPORTS) \
40413 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40414 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40415 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40416 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
40417 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40418 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40419 case $(srcdir) in \
40420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40421 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40423 esac; \
40424 module_srcdir=libvtv; \
40425 $(SHELL) $$s/$$module_srcdir/configure \
40426 --srcdir=$${topdir}/$$module_srcdir \
40427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40428 --target=${target_alias} \
40430 $(STAGE1_CONFIGURE_FLAGS)
40431 @endif target-libvtv-bootstrap
40433 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
40434 maybe-configure-stage2-target-libvtv:
40435 @if target-libvtv-bootstrap
40436 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
40437 configure-stage2-target-libvtv:
40438 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40439 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40440 @r=`${PWD_COMMAND}`; export r; \
40441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40442 TFLAGS="$(STAGE2_TFLAGS)"; \
40443 echo "Checking multilib configuration for libvtv..."; \
40444 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40445 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40446 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40447 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40448 else \
40449 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40450 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40451 fi; \
40452 else \
40453 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40454 fi; \
40455 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40456 $(RAW_CXX_TARGET_EXPORTS) \
40458 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40459 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40460 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40461 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
40462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40463 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40464 case $(srcdir) in \
40465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40466 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40468 esac; \
40469 module_srcdir=libvtv; \
40470 $(SHELL) $$s/$$module_srcdir/configure \
40471 --srcdir=$${topdir}/$$module_srcdir \
40472 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40473 --target=${target_alias} \
40474 --with-build-libsubdir=$(HOST_SUBDIR) \
40475 $(STAGE2_CONFIGURE_FLAGS)
40476 @endif target-libvtv-bootstrap
40478 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
40479 maybe-configure-stage3-target-libvtv:
40480 @if target-libvtv-bootstrap
40481 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
40482 configure-stage3-target-libvtv:
40483 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40484 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40485 @r=`${PWD_COMMAND}`; export r; \
40486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40487 TFLAGS="$(STAGE3_TFLAGS)"; \
40488 echo "Checking multilib configuration for libvtv..."; \
40489 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40490 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40491 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40492 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40493 else \
40494 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40495 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40496 fi; \
40497 else \
40498 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40499 fi; \
40500 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40501 $(RAW_CXX_TARGET_EXPORTS) \
40503 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40504 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40505 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40506 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
40507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40508 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40509 case $(srcdir) in \
40510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40511 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40513 esac; \
40514 module_srcdir=libvtv; \
40515 $(SHELL) $$s/$$module_srcdir/configure \
40516 --srcdir=$${topdir}/$$module_srcdir \
40517 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40518 --target=${target_alias} \
40519 --with-build-libsubdir=$(HOST_SUBDIR) \
40520 $(STAGE3_CONFIGURE_FLAGS)
40521 @endif target-libvtv-bootstrap
40523 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
40524 maybe-configure-stage4-target-libvtv:
40525 @if target-libvtv-bootstrap
40526 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
40527 configure-stage4-target-libvtv:
40528 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40529 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40530 @r=`${PWD_COMMAND}`; export r; \
40531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40532 TFLAGS="$(STAGE4_TFLAGS)"; \
40533 echo "Checking multilib configuration for libvtv..."; \
40534 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40535 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40536 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40537 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40538 else \
40539 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40540 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40541 fi; \
40542 else \
40543 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40544 fi; \
40545 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40546 $(RAW_CXX_TARGET_EXPORTS) \
40548 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40549 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40550 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40551 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
40552 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40553 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40554 case $(srcdir) in \
40555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40556 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40558 esac; \
40559 module_srcdir=libvtv; \
40560 $(SHELL) $$s/$$module_srcdir/configure \
40561 --srcdir=$${topdir}/$$module_srcdir \
40562 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40563 --target=${target_alias} \
40564 --with-build-libsubdir=$(HOST_SUBDIR) \
40565 $(STAGE4_CONFIGURE_FLAGS)
40566 @endif target-libvtv-bootstrap
40568 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
40569 maybe-configure-stageprofile-target-libvtv:
40570 @if target-libvtv-bootstrap
40571 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
40572 configure-stageprofile-target-libvtv:
40573 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40574 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40575 @r=`${PWD_COMMAND}`; export r; \
40576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40577 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40578 echo "Checking multilib configuration for libvtv..."; \
40579 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40580 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40581 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40582 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40583 else \
40584 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40585 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40586 fi; \
40587 else \
40588 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40589 fi; \
40590 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40591 $(RAW_CXX_TARGET_EXPORTS) \
40593 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40594 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40595 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40596 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
40597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40598 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40599 case $(srcdir) in \
40600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40601 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40603 esac; \
40604 module_srcdir=libvtv; \
40605 $(SHELL) $$s/$$module_srcdir/configure \
40606 --srcdir=$${topdir}/$$module_srcdir \
40607 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40608 --target=${target_alias} \
40609 --with-build-libsubdir=$(HOST_SUBDIR) \
40610 $(STAGEprofile_CONFIGURE_FLAGS)
40611 @endif target-libvtv-bootstrap
40613 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
40614 maybe-configure-stagetrain-target-libvtv:
40615 @if target-libvtv-bootstrap
40616 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
40617 configure-stagetrain-target-libvtv:
40618 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40619 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40620 @r=`${PWD_COMMAND}`; export r; \
40621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40622 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40623 echo "Checking multilib configuration for libvtv..."; \
40624 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40625 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40626 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40627 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40628 else \
40629 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40630 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40631 fi; \
40632 else \
40633 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40634 fi; \
40635 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40636 $(RAW_CXX_TARGET_EXPORTS) \
40638 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40639 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40640 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40641 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
40642 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40643 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40644 case $(srcdir) in \
40645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40646 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40648 esac; \
40649 module_srcdir=libvtv; \
40650 $(SHELL) $$s/$$module_srcdir/configure \
40651 --srcdir=$${topdir}/$$module_srcdir \
40652 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40653 --target=${target_alias} \
40654 --with-build-libsubdir=$(HOST_SUBDIR) \
40655 $(STAGEtrain_CONFIGURE_FLAGS)
40656 @endif target-libvtv-bootstrap
40658 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
40659 maybe-configure-stagefeedback-target-libvtv:
40660 @if target-libvtv-bootstrap
40661 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
40662 configure-stagefeedback-target-libvtv:
40663 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40664 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40665 @r=`${PWD_COMMAND}`; export r; \
40666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40667 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40668 echo "Checking multilib configuration for libvtv..."; \
40669 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40670 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40671 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40672 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40673 else \
40674 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40675 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40676 fi; \
40677 else \
40678 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40679 fi; \
40680 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40681 $(RAW_CXX_TARGET_EXPORTS) \
40683 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40684 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40685 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40686 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
40687 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40688 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40689 case $(srcdir) in \
40690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40691 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40693 esac; \
40694 module_srcdir=libvtv; \
40695 $(SHELL) $$s/$$module_srcdir/configure \
40696 --srcdir=$${topdir}/$$module_srcdir \
40697 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40698 --target=${target_alias} \
40699 --with-build-libsubdir=$(HOST_SUBDIR) \
40700 $(STAGEfeedback_CONFIGURE_FLAGS)
40701 @endif target-libvtv-bootstrap
40703 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
40704 maybe-configure-stageautoprofile-target-libvtv:
40705 @if target-libvtv-bootstrap
40706 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40707 configure-stageautoprofile-target-libvtv:
40708 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40709 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40710 @r=`${PWD_COMMAND}`; export r; \
40711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40712 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40713 echo "Checking multilib configuration for libvtv..."; \
40714 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40715 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40716 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40717 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40718 else \
40719 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40720 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40721 fi; \
40722 else \
40723 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40724 fi; \
40725 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40726 $(RAW_CXX_TARGET_EXPORTS) \
40728 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40729 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40730 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40731 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
40732 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40733 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40734 case $(srcdir) in \
40735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40736 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40738 esac; \
40739 module_srcdir=libvtv; \
40740 $(SHELL) $$s/$$module_srcdir/configure \
40741 --srcdir=$${topdir}/$$module_srcdir \
40742 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40743 --target=${target_alias} \
40744 --with-build-libsubdir=$(HOST_SUBDIR) \
40745 $(STAGEautoprofile_CONFIGURE_FLAGS)
40746 @endif target-libvtv-bootstrap
40748 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
40749 maybe-configure-stageautofeedback-target-libvtv:
40750 @if target-libvtv-bootstrap
40751 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40752 configure-stageautofeedback-target-libvtv:
40753 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40754 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40755 @r=`${PWD_COMMAND}`; export r; \
40756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40757 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40758 echo "Checking multilib configuration for libvtv..."; \
40759 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40760 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40761 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40762 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40763 else \
40764 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40765 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40766 fi; \
40767 else \
40768 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40769 fi; \
40770 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40771 $(RAW_CXX_TARGET_EXPORTS) \
40773 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40774 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40775 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40776 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
40777 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40778 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40779 case $(srcdir) in \
40780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40781 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40783 esac; \
40784 module_srcdir=libvtv; \
40785 $(SHELL) $$s/$$module_srcdir/configure \
40786 --srcdir=$${topdir}/$$module_srcdir \
40787 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40788 --target=${target_alias} \
40789 --with-build-libsubdir=$(HOST_SUBDIR) \
40790 $(STAGEautofeedback_CONFIGURE_FLAGS)
40791 @endif target-libvtv-bootstrap
40797 .PHONY: all-target-libvtv maybe-all-target-libvtv
40798 maybe-all-target-libvtv:
40799 @if gcc-bootstrap
40800 all-target-libvtv: stage_current
40801 @endif gcc-bootstrap
40802 @if target-libvtv
40803 TARGET-target-libvtv=all
40804 maybe-all-target-libvtv: all-target-libvtv
40805 all-target-libvtv: configure-target-libvtv
40806 @r=`${PWD_COMMAND}`; export r; \
40807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40808 $(RAW_CXX_TARGET_EXPORTS) \
40809 (cd $(TARGET_SUBDIR)/libvtv && \
40810 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40811 $(TARGET-target-libvtv))
40812 @endif target-libvtv
40816 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
40817 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
40818 maybe-all-stage1-target-libvtv:
40819 maybe-clean-stage1-target-libvtv:
40820 @if target-libvtv-bootstrap
40821 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
40822 all-stage1: all-stage1-target-libvtv
40823 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
40824 all-stage1-target-libvtv: configure-stage1-target-libvtv
40825 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40826 @r=`${PWD_COMMAND}`; export r; \
40827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40828 TFLAGS="$(STAGE1_TFLAGS)"; \
40829 $(RAW_CXX_TARGET_EXPORTS) \
40830 cd $(TARGET_SUBDIR)/libvtv && \
40832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40833 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40834 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40835 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40839 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40841 TFLAGS="$(STAGE1_TFLAGS)" \
40842 $(TARGET-stage1-target-libvtv)
40844 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
40845 clean-stage1: clean-stage1-target-libvtv
40846 clean-stage1-target-libvtv:
40847 @if [ $(current_stage) = stage1 ]; then \
40848 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40849 else \
40850 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
40851 $(MAKE) stage1-start; \
40852 fi; \
40853 cd $(TARGET_SUBDIR)/libvtv && \
40854 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40855 clean
40856 @endif target-libvtv-bootstrap
40859 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
40860 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
40861 maybe-all-stage2-target-libvtv:
40862 maybe-clean-stage2-target-libvtv:
40863 @if target-libvtv-bootstrap
40864 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
40865 all-stage2: all-stage2-target-libvtv
40866 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
40867 all-stage2-target-libvtv: configure-stage2-target-libvtv
40868 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40869 @r=`${PWD_COMMAND}`; export r; \
40870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40871 TFLAGS="$(STAGE2_TFLAGS)"; \
40872 $(RAW_CXX_TARGET_EXPORTS) \
40874 cd $(TARGET_SUBDIR)/libvtv && \
40876 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40877 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40878 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40879 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40880 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40881 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40882 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40883 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40884 TFLAGS="$(STAGE2_TFLAGS)" \
40885 $(TARGET-stage2-target-libvtv)
40887 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
40888 clean-stage2: clean-stage2-target-libvtv
40889 clean-stage2-target-libvtv:
40890 @if [ $(current_stage) = stage2 ]; then \
40891 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40892 else \
40893 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
40894 $(MAKE) stage2-start; \
40895 fi; \
40896 cd $(TARGET_SUBDIR)/libvtv && \
40897 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40898 @endif target-libvtv-bootstrap
40901 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
40902 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
40903 maybe-all-stage3-target-libvtv:
40904 maybe-clean-stage3-target-libvtv:
40905 @if target-libvtv-bootstrap
40906 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
40907 all-stage3: all-stage3-target-libvtv
40908 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
40909 all-stage3-target-libvtv: configure-stage3-target-libvtv
40910 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40911 @r=`${PWD_COMMAND}`; export r; \
40912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40913 TFLAGS="$(STAGE3_TFLAGS)"; \
40914 $(RAW_CXX_TARGET_EXPORTS) \
40916 cd $(TARGET_SUBDIR)/libvtv && \
40918 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40919 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40920 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40921 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40922 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40923 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40924 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40925 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40926 TFLAGS="$(STAGE3_TFLAGS)" \
40927 $(TARGET-stage3-target-libvtv)
40929 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
40930 clean-stage3: clean-stage3-target-libvtv
40931 clean-stage3-target-libvtv:
40932 @if [ $(current_stage) = stage3 ]; then \
40933 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40934 else \
40935 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
40936 $(MAKE) stage3-start; \
40937 fi; \
40938 cd $(TARGET_SUBDIR)/libvtv && \
40939 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40940 @endif target-libvtv-bootstrap
40943 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
40944 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
40945 maybe-all-stage4-target-libvtv:
40946 maybe-clean-stage4-target-libvtv:
40947 @if target-libvtv-bootstrap
40948 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
40949 all-stage4: all-stage4-target-libvtv
40950 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
40951 all-stage4-target-libvtv: configure-stage4-target-libvtv
40952 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40953 @r=`${PWD_COMMAND}`; export r; \
40954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40955 TFLAGS="$(STAGE4_TFLAGS)"; \
40956 $(RAW_CXX_TARGET_EXPORTS) \
40958 cd $(TARGET_SUBDIR)/libvtv && \
40960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40961 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40962 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40963 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40967 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40968 TFLAGS="$(STAGE4_TFLAGS)" \
40969 $(TARGET-stage4-target-libvtv)
40971 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
40972 clean-stage4: clean-stage4-target-libvtv
40973 clean-stage4-target-libvtv:
40974 @if [ $(current_stage) = stage4 ]; then \
40975 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40976 else \
40977 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
40978 $(MAKE) stage4-start; \
40979 fi; \
40980 cd $(TARGET_SUBDIR)/libvtv && \
40981 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40982 @endif target-libvtv-bootstrap
40985 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
40986 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
40987 maybe-all-stageprofile-target-libvtv:
40988 maybe-clean-stageprofile-target-libvtv:
40989 @if target-libvtv-bootstrap
40990 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
40991 all-stageprofile: all-stageprofile-target-libvtv
40992 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
40993 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
40994 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40995 @r=`${PWD_COMMAND}`; export r; \
40996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40997 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40998 $(RAW_CXX_TARGET_EXPORTS) \
41000 cd $(TARGET_SUBDIR)/libvtv && \
41002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41003 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41004 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41005 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41009 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41010 TFLAGS="$(STAGEprofile_TFLAGS)" \
41011 $(TARGET-stageprofile-target-libvtv)
41013 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
41014 clean-stageprofile: clean-stageprofile-target-libvtv
41015 clean-stageprofile-target-libvtv:
41016 @if [ $(current_stage) = stageprofile ]; then \
41017 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41018 else \
41019 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
41020 $(MAKE) stageprofile-start; \
41021 fi; \
41022 cd $(TARGET_SUBDIR)/libvtv && \
41023 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41024 @endif target-libvtv-bootstrap
41027 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
41028 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
41029 maybe-all-stagetrain-target-libvtv:
41030 maybe-clean-stagetrain-target-libvtv:
41031 @if target-libvtv-bootstrap
41032 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
41033 all-stagetrain: all-stagetrain-target-libvtv
41034 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
41035 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
41036 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41037 @r=`${PWD_COMMAND}`; export r; \
41038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41039 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41040 $(RAW_CXX_TARGET_EXPORTS) \
41042 cd $(TARGET_SUBDIR)/libvtv && \
41044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41045 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41046 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41047 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41048 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41049 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41050 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41051 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41052 TFLAGS="$(STAGEtrain_TFLAGS)" \
41053 $(TARGET-stagetrain-target-libvtv)
41055 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
41056 clean-stagetrain: clean-stagetrain-target-libvtv
41057 clean-stagetrain-target-libvtv:
41058 @if [ $(current_stage) = stagetrain ]; then \
41059 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41060 else \
41061 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
41062 $(MAKE) stagetrain-start; \
41063 fi; \
41064 cd $(TARGET_SUBDIR)/libvtv && \
41065 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41066 @endif target-libvtv-bootstrap
41069 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
41070 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
41071 maybe-all-stagefeedback-target-libvtv:
41072 maybe-clean-stagefeedback-target-libvtv:
41073 @if target-libvtv-bootstrap
41074 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
41075 all-stagefeedback: all-stagefeedback-target-libvtv
41076 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
41077 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
41078 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41079 @r=`${PWD_COMMAND}`; export r; \
41080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41081 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41082 $(RAW_CXX_TARGET_EXPORTS) \
41084 cd $(TARGET_SUBDIR)/libvtv && \
41086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41087 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41088 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41089 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41093 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41094 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41095 $(TARGET-stagefeedback-target-libvtv)
41097 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
41098 clean-stagefeedback: clean-stagefeedback-target-libvtv
41099 clean-stagefeedback-target-libvtv:
41100 @if [ $(current_stage) = stagefeedback ]; then \
41101 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41102 else \
41103 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
41104 $(MAKE) stagefeedback-start; \
41105 fi; \
41106 cd $(TARGET_SUBDIR)/libvtv && \
41107 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41108 @endif target-libvtv-bootstrap
41111 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
41112 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
41113 maybe-all-stageautoprofile-target-libvtv:
41114 maybe-clean-stageautoprofile-target-libvtv:
41115 @if target-libvtv-bootstrap
41116 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
41117 all-stageautoprofile: all-stageautoprofile-target-libvtv
41118 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
41119 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
41120 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41121 @r=`${PWD_COMMAND}`; export r; \
41122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41123 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41124 $(RAW_CXX_TARGET_EXPORTS) \
41126 cd $(TARGET_SUBDIR)/libvtv && \
41127 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41129 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41130 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41131 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41135 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41136 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41137 $(TARGET-stageautoprofile-target-libvtv)
41139 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
41140 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
41141 clean-stageautoprofile-target-libvtv:
41142 @if [ $(current_stage) = stageautoprofile ]; then \
41143 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41144 else \
41145 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
41146 $(MAKE) stageautoprofile-start; \
41147 fi; \
41148 cd $(TARGET_SUBDIR)/libvtv && \
41149 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41150 @endif target-libvtv-bootstrap
41153 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
41154 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
41155 maybe-all-stageautofeedback-target-libvtv:
41156 maybe-clean-stageautofeedback-target-libvtv:
41157 @if target-libvtv-bootstrap
41158 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
41159 all-stageautofeedback: all-stageautofeedback-target-libvtv
41160 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
41161 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
41162 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41163 @r=`${PWD_COMMAND}`; export r; \
41164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41165 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41166 $(RAW_CXX_TARGET_EXPORTS) \
41168 cd $(TARGET_SUBDIR)/libvtv && \
41170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41171 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41172 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41173 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41177 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41178 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41179 $(TARGET-stageautofeedback-target-libvtv)
41181 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
41182 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
41183 clean-stageautofeedback-target-libvtv:
41184 @if [ $(current_stage) = stageautofeedback ]; then \
41185 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41186 else \
41187 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
41188 $(MAKE) stageautofeedback-start; \
41189 fi; \
41190 cd $(TARGET_SUBDIR)/libvtv && \
41191 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41192 @endif target-libvtv-bootstrap
41199 .PHONY: check-target-libvtv maybe-check-target-libvtv
41200 maybe-check-target-libvtv:
41201 @if target-libvtv
41202 maybe-check-target-libvtv: check-target-libvtv
41204 check-target-libvtv:
41205 @: $(MAKE); $(unstage)
41206 @r=`${PWD_COMMAND}`; export r; \
41207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41208 $(RAW_CXX_TARGET_EXPORTS) \
41209 (cd $(TARGET_SUBDIR)/libvtv && \
41210 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41212 @endif target-libvtv
41214 .PHONY: install-target-libvtv maybe-install-target-libvtv
41215 maybe-install-target-libvtv:
41216 @if target-libvtv
41217 maybe-install-target-libvtv: install-target-libvtv
41219 install-target-libvtv: installdirs
41220 @: $(MAKE); $(unstage)
41221 @r=`${PWD_COMMAND}`; export r; \
41222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41223 $(RAW_CXX_TARGET_EXPORTS) \
41224 (cd $(TARGET_SUBDIR)/libvtv && \
41225 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41227 @endif target-libvtv
41229 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
41230 maybe-install-strip-target-libvtv:
41231 @if target-libvtv
41232 maybe-install-strip-target-libvtv: install-strip-target-libvtv
41234 install-strip-target-libvtv: installdirs
41235 @: $(MAKE); $(unstage)
41236 @r=`${PWD_COMMAND}`; export r; \
41237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41238 $(RAW_CXX_TARGET_EXPORTS) \
41239 (cd $(TARGET_SUBDIR)/libvtv && \
41240 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41242 @endif target-libvtv
41244 # Other targets (info, dvi, pdf, etc.)
41246 .PHONY: maybe-info-target-libvtv info-target-libvtv
41247 maybe-info-target-libvtv:
41248 @if target-libvtv
41249 maybe-info-target-libvtv: info-target-libvtv
41251 info-target-libvtv: \
41252 configure-target-libvtv
41253 @: $(MAKE); $(unstage)
41254 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41255 r=`${PWD_COMMAND}`; export r; \
41256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41257 $(RAW_CXX_TARGET_EXPORTS) \
41258 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
41259 for flag in $(EXTRA_TARGET_FLAGS); do \
41260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41261 done; \
41262 (cd $(TARGET_SUBDIR)/libvtv && \
41263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41265 "RANLIB=$${RANLIB}" \
41266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41267 info) \
41268 || exit 1
41270 @endif target-libvtv
41272 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
41273 maybe-dvi-target-libvtv:
41274 @if target-libvtv
41275 maybe-dvi-target-libvtv: dvi-target-libvtv
41277 dvi-target-libvtv: \
41278 configure-target-libvtv
41279 @: $(MAKE); $(unstage)
41280 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41281 r=`${PWD_COMMAND}`; export r; \
41282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41283 $(RAW_CXX_TARGET_EXPORTS) \
41284 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
41285 for flag in $(EXTRA_TARGET_FLAGS); do \
41286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41287 done; \
41288 (cd $(TARGET_SUBDIR)/libvtv && \
41289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41291 "RANLIB=$${RANLIB}" \
41292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41293 dvi) \
41294 || exit 1
41296 @endif target-libvtv
41298 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
41299 maybe-pdf-target-libvtv:
41300 @if target-libvtv
41301 maybe-pdf-target-libvtv: pdf-target-libvtv
41303 pdf-target-libvtv: \
41304 configure-target-libvtv
41305 @: $(MAKE); $(unstage)
41306 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41307 r=`${PWD_COMMAND}`; export r; \
41308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41309 $(RAW_CXX_TARGET_EXPORTS) \
41310 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
41311 for flag in $(EXTRA_TARGET_FLAGS); do \
41312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41313 done; \
41314 (cd $(TARGET_SUBDIR)/libvtv && \
41315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41317 "RANLIB=$${RANLIB}" \
41318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41319 pdf) \
41320 || exit 1
41322 @endif target-libvtv
41324 .PHONY: maybe-html-target-libvtv html-target-libvtv
41325 maybe-html-target-libvtv:
41326 @if target-libvtv
41327 maybe-html-target-libvtv: html-target-libvtv
41329 html-target-libvtv: \
41330 configure-target-libvtv
41331 @: $(MAKE); $(unstage)
41332 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41333 r=`${PWD_COMMAND}`; export r; \
41334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41335 $(RAW_CXX_TARGET_EXPORTS) \
41336 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
41337 for flag in $(EXTRA_TARGET_FLAGS); do \
41338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41339 done; \
41340 (cd $(TARGET_SUBDIR)/libvtv && \
41341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41343 "RANLIB=$${RANLIB}" \
41344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41345 html) \
41346 || exit 1
41348 @endif target-libvtv
41350 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
41351 maybe-TAGS-target-libvtv:
41352 @if target-libvtv
41353 maybe-TAGS-target-libvtv: TAGS-target-libvtv
41355 TAGS-target-libvtv: \
41356 configure-target-libvtv
41357 @: $(MAKE); $(unstage)
41358 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41359 r=`${PWD_COMMAND}`; export r; \
41360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41361 $(RAW_CXX_TARGET_EXPORTS) \
41362 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
41363 for flag in $(EXTRA_TARGET_FLAGS); do \
41364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41365 done; \
41366 (cd $(TARGET_SUBDIR)/libvtv && \
41367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41369 "RANLIB=$${RANLIB}" \
41370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41371 TAGS) \
41372 || exit 1
41374 @endif target-libvtv
41376 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
41377 maybe-install-info-target-libvtv:
41378 @if target-libvtv
41379 maybe-install-info-target-libvtv: install-info-target-libvtv
41381 install-info-target-libvtv: \
41382 configure-target-libvtv \
41383 info-target-libvtv
41384 @: $(MAKE); $(unstage)
41385 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41386 r=`${PWD_COMMAND}`; export r; \
41387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41388 $(RAW_CXX_TARGET_EXPORTS) \
41389 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
41390 for flag in $(EXTRA_TARGET_FLAGS); do \
41391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41392 done; \
41393 (cd $(TARGET_SUBDIR)/libvtv && \
41394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41396 "RANLIB=$${RANLIB}" \
41397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41398 install-info) \
41399 || exit 1
41401 @endif target-libvtv
41403 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
41404 maybe-install-pdf-target-libvtv:
41405 @if target-libvtv
41406 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
41408 install-pdf-target-libvtv: \
41409 configure-target-libvtv \
41410 pdf-target-libvtv
41411 @: $(MAKE); $(unstage)
41412 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41413 r=`${PWD_COMMAND}`; export r; \
41414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41415 $(RAW_CXX_TARGET_EXPORTS) \
41416 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
41417 for flag in $(EXTRA_TARGET_FLAGS); do \
41418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41419 done; \
41420 (cd $(TARGET_SUBDIR)/libvtv && \
41421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41423 "RANLIB=$${RANLIB}" \
41424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41425 install-pdf) \
41426 || exit 1
41428 @endif target-libvtv
41430 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
41431 maybe-install-html-target-libvtv:
41432 @if target-libvtv
41433 maybe-install-html-target-libvtv: install-html-target-libvtv
41435 install-html-target-libvtv: \
41436 configure-target-libvtv \
41437 html-target-libvtv
41438 @: $(MAKE); $(unstage)
41439 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41440 r=`${PWD_COMMAND}`; export r; \
41441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41442 $(RAW_CXX_TARGET_EXPORTS) \
41443 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
41444 for flag in $(EXTRA_TARGET_FLAGS); do \
41445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41446 done; \
41447 (cd $(TARGET_SUBDIR)/libvtv && \
41448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41450 "RANLIB=$${RANLIB}" \
41451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41452 install-html) \
41453 || exit 1
41455 @endif target-libvtv
41457 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
41458 maybe-installcheck-target-libvtv:
41459 @if target-libvtv
41460 maybe-installcheck-target-libvtv: installcheck-target-libvtv
41462 installcheck-target-libvtv: \
41463 configure-target-libvtv
41464 @: $(MAKE); $(unstage)
41465 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41466 r=`${PWD_COMMAND}`; export r; \
41467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41468 $(RAW_CXX_TARGET_EXPORTS) \
41469 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
41470 for flag in $(EXTRA_TARGET_FLAGS); do \
41471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41472 done; \
41473 (cd $(TARGET_SUBDIR)/libvtv && \
41474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41476 "RANLIB=$${RANLIB}" \
41477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41478 installcheck) \
41479 || exit 1
41481 @endif target-libvtv
41483 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
41484 maybe-mostlyclean-target-libvtv:
41485 @if target-libvtv
41486 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
41488 mostlyclean-target-libvtv:
41489 @: $(MAKE); $(unstage)
41490 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41491 r=`${PWD_COMMAND}`; export r; \
41492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41493 $(RAW_CXX_TARGET_EXPORTS) \
41494 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
41495 for flag in $(EXTRA_TARGET_FLAGS); do \
41496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41497 done; \
41498 (cd $(TARGET_SUBDIR)/libvtv && \
41499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41501 "RANLIB=$${RANLIB}" \
41502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41503 mostlyclean) \
41504 || exit 1
41506 @endif target-libvtv
41508 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
41509 maybe-clean-target-libvtv:
41510 @if target-libvtv
41511 maybe-clean-target-libvtv: clean-target-libvtv
41513 clean-target-libvtv:
41514 @: $(MAKE); $(unstage)
41515 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41516 r=`${PWD_COMMAND}`; export r; \
41517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41518 $(RAW_CXX_TARGET_EXPORTS) \
41519 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
41520 for flag in $(EXTRA_TARGET_FLAGS); do \
41521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41522 done; \
41523 (cd $(TARGET_SUBDIR)/libvtv && \
41524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41526 "RANLIB=$${RANLIB}" \
41527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41528 clean) \
41529 || exit 1
41531 @endif target-libvtv
41533 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
41534 maybe-distclean-target-libvtv:
41535 @if target-libvtv
41536 maybe-distclean-target-libvtv: distclean-target-libvtv
41538 distclean-target-libvtv:
41539 @: $(MAKE); $(unstage)
41540 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41541 r=`${PWD_COMMAND}`; export r; \
41542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41543 $(RAW_CXX_TARGET_EXPORTS) \
41544 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
41545 for flag in $(EXTRA_TARGET_FLAGS); do \
41546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41547 done; \
41548 (cd $(TARGET_SUBDIR)/libvtv && \
41549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41551 "RANLIB=$${RANLIB}" \
41552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41553 distclean) \
41554 || exit 1
41556 @endif target-libvtv
41558 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
41559 maybe-maintainer-clean-target-libvtv:
41560 @if target-libvtv
41561 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
41563 maintainer-clean-target-libvtv:
41564 @: $(MAKE); $(unstage)
41565 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41566 r=`${PWD_COMMAND}`; export r; \
41567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41568 $(RAW_CXX_TARGET_EXPORTS) \
41569 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
41570 for flag in $(EXTRA_TARGET_FLAGS); do \
41571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41572 done; \
41573 (cd $(TARGET_SUBDIR)/libvtv && \
41574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41576 "RANLIB=$${RANLIB}" \
41577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41578 maintainer-clean) \
41579 || exit 1
41581 @endif target-libvtv
41587 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
41588 maybe-configure-target-liboffloadmic:
41589 @if gcc-bootstrap
41590 configure-target-liboffloadmic: stage_current
41591 @endif gcc-bootstrap
41592 @if target-liboffloadmic
41593 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
41594 configure-target-liboffloadmic:
41595 @: $(MAKE); $(unstage)
41596 @r=`${PWD_COMMAND}`; export r; \
41597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41598 echo "Checking multilib configuration for liboffloadmic..."; \
41599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41600 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
41601 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41602 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41603 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
41604 else \
41605 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
41606 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41607 fi; \
41608 else \
41609 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41610 fi; \
41611 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
41612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41613 $(NORMAL_TARGET_EXPORTS) \
41614 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
41615 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
41616 case $(srcdir) in \
41617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41618 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
41619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41620 esac; \
41621 module_srcdir=liboffloadmic; \
41622 rm -f no-such-file || : ; \
41623 CONFIG_SITE=no-such-file $(SHELL) \
41624 $$s/$$module_srcdir/configure \
41625 --srcdir=$${topdir}/$$module_srcdir \
41626 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41627 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
41628 || exit 1
41629 @endif target-liboffloadmic
41635 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
41636 maybe-all-target-liboffloadmic:
41637 @if gcc-bootstrap
41638 all-target-liboffloadmic: stage_current
41639 @endif gcc-bootstrap
41640 @if target-liboffloadmic
41641 TARGET-target-liboffloadmic=all
41642 maybe-all-target-liboffloadmic: all-target-liboffloadmic
41643 all-target-liboffloadmic: configure-target-liboffloadmic
41644 @: $(MAKE); $(unstage)
41645 @r=`${PWD_COMMAND}`; export r; \
41646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41647 $(NORMAL_TARGET_EXPORTS) \
41648 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41649 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41650 $(TARGET-target-liboffloadmic))
41651 @endif target-liboffloadmic
41657 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
41658 maybe-check-target-liboffloadmic:
41659 @if target-liboffloadmic
41660 maybe-check-target-liboffloadmic: check-target-liboffloadmic
41662 check-target-liboffloadmic:
41663 @: $(MAKE); $(unstage)
41664 @r=`${PWD_COMMAND}`; export r; \
41665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41666 $(NORMAL_TARGET_EXPORTS) \
41667 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41668 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41670 @endif target-liboffloadmic
41672 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
41673 maybe-install-target-liboffloadmic:
41674 @if target-liboffloadmic
41675 maybe-install-target-liboffloadmic: install-target-liboffloadmic
41677 install-target-liboffloadmic: installdirs
41678 @: $(MAKE); $(unstage)
41679 @r=`${PWD_COMMAND}`; export r; \
41680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41681 $(NORMAL_TARGET_EXPORTS) \
41682 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41683 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41685 @endif target-liboffloadmic
41687 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
41688 maybe-install-strip-target-liboffloadmic:
41689 @if target-liboffloadmic
41690 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
41692 install-strip-target-liboffloadmic: installdirs
41693 @: $(MAKE); $(unstage)
41694 @r=`${PWD_COMMAND}`; export r; \
41695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41696 $(NORMAL_TARGET_EXPORTS) \
41697 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41698 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41700 @endif target-liboffloadmic
41702 # Other targets (info, dvi, pdf, etc.)
41704 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
41705 maybe-info-target-liboffloadmic:
41706 @if target-liboffloadmic
41707 maybe-info-target-liboffloadmic: info-target-liboffloadmic
41709 info-target-liboffloadmic: \
41710 configure-target-liboffloadmic
41711 @: $(MAKE); $(unstage)
41712 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41713 r=`${PWD_COMMAND}`; export r; \
41714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41715 $(NORMAL_TARGET_EXPORTS) \
41716 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
41717 for flag in $(EXTRA_TARGET_FLAGS); do \
41718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41719 done; \
41720 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41723 "RANLIB=$${RANLIB}" \
41724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41725 info) \
41726 || exit 1
41728 @endif target-liboffloadmic
41730 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
41731 maybe-dvi-target-liboffloadmic:
41732 @if target-liboffloadmic
41733 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
41735 dvi-target-liboffloadmic: \
41736 configure-target-liboffloadmic
41737 @: $(MAKE); $(unstage)
41738 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41739 r=`${PWD_COMMAND}`; export r; \
41740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41741 $(NORMAL_TARGET_EXPORTS) \
41742 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
41743 for flag in $(EXTRA_TARGET_FLAGS); do \
41744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41745 done; \
41746 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41749 "RANLIB=$${RANLIB}" \
41750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41751 dvi) \
41752 || exit 1
41754 @endif target-liboffloadmic
41756 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
41757 maybe-pdf-target-liboffloadmic:
41758 @if target-liboffloadmic
41759 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
41761 pdf-target-liboffloadmic: \
41762 configure-target-liboffloadmic
41763 @: $(MAKE); $(unstage)
41764 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41765 r=`${PWD_COMMAND}`; export r; \
41766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41767 $(NORMAL_TARGET_EXPORTS) \
41768 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41769 for flag in $(EXTRA_TARGET_FLAGS); do \
41770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41771 done; \
41772 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41775 "RANLIB=$${RANLIB}" \
41776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41777 pdf) \
41778 || exit 1
41780 @endif target-liboffloadmic
41782 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
41783 maybe-html-target-liboffloadmic:
41784 @if target-liboffloadmic
41785 maybe-html-target-liboffloadmic: html-target-liboffloadmic
41787 html-target-liboffloadmic: \
41788 configure-target-liboffloadmic
41789 @: $(MAKE); $(unstage)
41790 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41791 r=`${PWD_COMMAND}`; export r; \
41792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41793 $(NORMAL_TARGET_EXPORTS) \
41794 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
41795 for flag in $(EXTRA_TARGET_FLAGS); do \
41796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41797 done; \
41798 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41801 "RANLIB=$${RANLIB}" \
41802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41803 html) \
41804 || exit 1
41806 @endif target-liboffloadmic
41808 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
41809 maybe-TAGS-target-liboffloadmic:
41810 @if target-liboffloadmic
41811 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
41813 TAGS-target-liboffloadmic: \
41814 configure-target-liboffloadmic
41815 @: $(MAKE); $(unstage)
41816 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41817 r=`${PWD_COMMAND}`; export r; \
41818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41819 $(NORMAL_TARGET_EXPORTS) \
41820 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
41821 for flag in $(EXTRA_TARGET_FLAGS); do \
41822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41823 done; \
41824 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41827 "RANLIB=$${RANLIB}" \
41828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41829 TAGS) \
41830 || exit 1
41832 @endif target-liboffloadmic
41834 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
41835 maybe-install-info-target-liboffloadmic:
41836 @if target-liboffloadmic
41837 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
41839 install-info-target-liboffloadmic: \
41840 configure-target-liboffloadmic \
41841 info-target-liboffloadmic
41842 @: $(MAKE); $(unstage)
41843 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41844 r=`${PWD_COMMAND}`; export r; \
41845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41846 $(NORMAL_TARGET_EXPORTS) \
41847 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
41848 for flag in $(EXTRA_TARGET_FLAGS); do \
41849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41850 done; \
41851 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41854 "RANLIB=$${RANLIB}" \
41855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41856 install-info) \
41857 || exit 1
41859 @endif target-liboffloadmic
41861 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
41862 maybe-install-pdf-target-liboffloadmic:
41863 @if target-liboffloadmic
41864 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
41866 install-pdf-target-liboffloadmic: \
41867 configure-target-liboffloadmic \
41868 pdf-target-liboffloadmic
41869 @: $(MAKE); $(unstage)
41870 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41871 r=`${PWD_COMMAND}`; export r; \
41872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41873 $(NORMAL_TARGET_EXPORTS) \
41874 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41875 for flag in $(EXTRA_TARGET_FLAGS); do \
41876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41877 done; \
41878 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41881 "RANLIB=$${RANLIB}" \
41882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41883 install-pdf) \
41884 || exit 1
41886 @endif target-liboffloadmic
41888 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
41889 maybe-install-html-target-liboffloadmic:
41890 @if target-liboffloadmic
41891 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
41893 install-html-target-liboffloadmic: \
41894 configure-target-liboffloadmic \
41895 html-target-liboffloadmic
41896 @: $(MAKE); $(unstage)
41897 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41898 r=`${PWD_COMMAND}`; export r; \
41899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41900 $(NORMAL_TARGET_EXPORTS) \
41901 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
41902 for flag in $(EXTRA_TARGET_FLAGS); do \
41903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41904 done; \
41905 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41908 "RANLIB=$${RANLIB}" \
41909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41910 install-html) \
41911 || exit 1
41913 @endif target-liboffloadmic
41915 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
41916 maybe-installcheck-target-liboffloadmic:
41917 @if target-liboffloadmic
41918 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
41920 installcheck-target-liboffloadmic: \
41921 configure-target-liboffloadmic
41922 @: $(MAKE); $(unstage)
41923 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41924 r=`${PWD_COMMAND}`; export r; \
41925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41926 $(NORMAL_TARGET_EXPORTS) \
41927 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
41928 for flag in $(EXTRA_TARGET_FLAGS); do \
41929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41930 done; \
41931 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41934 "RANLIB=$${RANLIB}" \
41935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41936 installcheck) \
41937 || exit 1
41939 @endif target-liboffloadmic
41941 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
41942 maybe-mostlyclean-target-liboffloadmic:
41943 @if target-liboffloadmic
41944 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
41946 mostlyclean-target-liboffloadmic:
41947 @: $(MAKE); $(unstage)
41948 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41949 r=`${PWD_COMMAND}`; export r; \
41950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41951 $(NORMAL_TARGET_EXPORTS) \
41952 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
41953 for flag in $(EXTRA_TARGET_FLAGS); do \
41954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41955 done; \
41956 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41959 "RANLIB=$${RANLIB}" \
41960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41961 mostlyclean) \
41962 || exit 1
41964 @endif target-liboffloadmic
41966 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
41967 maybe-clean-target-liboffloadmic:
41968 @if target-liboffloadmic
41969 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
41971 clean-target-liboffloadmic:
41972 @: $(MAKE); $(unstage)
41973 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41974 r=`${PWD_COMMAND}`; export r; \
41975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41976 $(NORMAL_TARGET_EXPORTS) \
41977 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
41978 for flag in $(EXTRA_TARGET_FLAGS); do \
41979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41980 done; \
41981 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41984 "RANLIB=$${RANLIB}" \
41985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41986 clean) \
41987 || exit 1
41989 @endif target-liboffloadmic
41991 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
41992 maybe-distclean-target-liboffloadmic:
41993 @if target-liboffloadmic
41994 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
41996 distclean-target-liboffloadmic:
41997 @: $(MAKE); $(unstage)
41998 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41999 r=`${PWD_COMMAND}`; export r; \
42000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42001 $(NORMAL_TARGET_EXPORTS) \
42002 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
42003 for flag in $(EXTRA_TARGET_FLAGS); do \
42004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42005 done; \
42006 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42009 "RANLIB=$${RANLIB}" \
42010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42011 distclean) \
42012 || exit 1
42014 @endif target-liboffloadmic
42016 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
42017 maybe-maintainer-clean-target-liboffloadmic:
42018 @if target-liboffloadmic
42019 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
42021 maintainer-clean-target-liboffloadmic:
42022 @: $(MAKE); $(unstage)
42023 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42024 r=`${PWD_COMMAND}`; export r; \
42025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42026 $(NORMAL_TARGET_EXPORTS) \
42027 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
42028 for flag in $(EXTRA_TARGET_FLAGS); do \
42029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42030 done; \
42031 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42034 "RANLIB=$${RANLIB}" \
42035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42036 maintainer-clean) \
42037 || exit 1
42039 @endif target-liboffloadmic
42045 .PHONY: configure-target-libssp maybe-configure-target-libssp
42046 maybe-configure-target-libssp:
42047 @if gcc-bootstrap
42048 configure-target-libssp: stage_current
42049 @endif gcc-bootstrap
42050 @if target-libssp
42051 maybe-configure-target-libssp: configure-target-libssp
42052 configure-target-libssp:
42053 @: $(MAKE); $(unstage)
42054 @r=`${PWD_COMMAND}`; export r; \
42055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42056 echo "Checking multilib configuration for libssp..."; \
42057 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
42058 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
42059 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
42060 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
42061 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
42062 else \
42063 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
42064 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42065 fi; \
42066 else \
42067 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42068 fi; \
42069 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
42070 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
42071 $(NORMAL_TARGET_EXPORTS) \
42072 echo Configuring in $(TARGET_SUBDIR)/libssp; \
42073 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
42074 case $(srcdir) in \
42075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42076 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
42077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42078 esac; \
42079 module_srcdir=libssp; \
42080 rm -f no-such-file || : ; \
42081 CONFIG_SITE=no-such-file $(SHELL) \
42082 $$s/$$module_srcdir/configure \
42083 --srcdir=$${topdir}/$$module_srcdir \
42084 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42085 --target=${target_alias} \
42086 || exit 1
42087 @endif target-libssp
42093 .PHONY: all-target-libssp maybe-all-target-libssp
42094 maybe-all-target-libssp:
42095 @if gcc-bootstrap
42096 all-target-libssp: stage_current
42097 @endif gcc-bootstrap
42098 @if target-libssp
42099 TARGET-target-libssp=all
42100 maybe-all-target-libssp: all-target-libssp
42101 all-target-libssp: configure-target-libssp
42102 @: $(MAKE); $(unstage)
42103 @r=`${PWD_COMMAND}`; export r; \
42104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42105 $(NORMAL_TARGET_EXPORTS) \
42106 (cd $(TARGET_SUBDIR)/libssp && \
42107 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42108 $(TARGET-target-libssp))
42109 @endif target-libssp
42115 .PHONY: check-target-libssp maybe-check-target-libssp
42116 maybe-check-target-libssp:
42117 @if target-libssp
42118 maybe-check-target-libssp: check-target-libssp
42120 check-target-libssp:
42121 @: $(MAKE); $(unstage)
42122 @r=`${PWD_COMMAND}`; export r; \
42123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42124 $(NORMAL_TARGET_EXPORTS) \
42125 (cd $(TARGET_SUBDIR)/libssp && \
42126 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42128 @endif target-libssp
42130 .PHONY: install-target-libssp maybe-install-target-libssp
42131 maybe-install-target-libssp:
42132 @if target-libssp
42133 maybe-install-target-libssp: install-target-libssp
42135 install-target-libssp: installdirs
42136 @: $(MAKE); $(unstage)
42137 @r=`${PWD_COMMAND}`; export r; \
42138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42139 $(NORMAL_TARGET_EXPORTS) \
42140 (cd $(TARGET_SUBDIR)/libssp && \
42141 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42143 @endif target-libssp
42145 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
42146 maybe-install-strip-target-libssp:
42147 @if target-libssp
42148 maybe-install-strip-target-libssp: install-strip-target-libssp
42150 install-strip-target-libssp: installdirs
42151 @: $(MAKE); $(unstage)
42152 @r=`${PWD_COMMAND}`; export r; \
42153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42154 $(NORMAL_TARGET_EXPORTS) \
42155 (cd $(TARGET_SUBDIR)/libssp && \
42156 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42158 @endif target-libssp
42160 # Other targets (info, dvi, pdf, etc.)
42162 .PHONY: maybe-info-target-libssp info-target-libssp
42163 maybe-info-target-libssp:
42164 @if target-libssp
42165 maybe-info-target-libssp: info-target-libssp
42167 info-target-libssp: \
42168 configure-target-libssp
42169 @: $(MAKE); $(unstage)
42170 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42171 r=`${PWD_COMMAND}`; export r; \
42172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42173 $(NORMAL_TARGET_EXPORTS) \
42174 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
42175 for flag in $(EXTRA_TARGET_FLAGS); do \
42176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42177 done; \
42178 (cd $(TARGET_SUBDIR)/libssp && \
42179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42181 "RANLIB=$${RANLIB}" \
42182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42183 info) \
42184 || exit 1
42186 @endif target-libssp
42188 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
42189 maybe-dvi-target-libssp:
42190 @if target-libssp
42191 maybe-dvi-target-libssp: dvi-target-libssp
42193 dvi-target-libssp: \
42194 configure-target-libssp
42195 @: $(MAKE); $(unstage)
42196 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42197 r=`${PWD_COMMAND}`; export r; \
42198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42199 $(NORMAL_TARGET_EXPORTS) \
42200 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
42201 for flag in $(EXTRA_TARGET_FLAGS); do \
42202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42203 done; \
42204 (cd $(TARGET_SUBDIR)/libssp && \
42205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42207 "RANLIB=$${RANLIB}" \
42208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42209 dvi) \
42210 || exit 1
42212 @endif target-libssp
42214 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
42215 maybe-pdf-target-libssp:
42216 @if target-libssp
42217 maybe-pdf-target-libssp: pdf-target-libssp
42219 pdf-target-libssp: \
42220 configure-target-libssp
42221 @: $(MAKE); $(unstage)
42222 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42223 r=`${PWD_COMMAND}`; export r; \
42224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42225 $(NORMAL_TARGET_EXPORTS) \
42226 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
42227 for flag in $(EXTRA_TARGET_FLAGS); do \
42228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42229 done; \
42230 (cd $(TARGET_SUBDIR)/libssp && \
42231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42233 "RANLIB=$${RANLIB}" \
42234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42235 pdf) \
42236 || exit 1
42238 @endif target-libssp
42240 .PHONY: maybe-html-target-libssp html-target-libssp
42241 maybe-html-target-libssp:
42242 @if target-libssp
42243 maybe-html-target-libssp: html-target-libssp
42245 html-target-libssp: \
42246 configure-target-libssp
42247 @: $(MAKE); $(unstage)
42248 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42249 r=`${PWD_COMMAND}`; export r; \
42250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42251 $(NORMAL_TARGET_EXPORTS) \
42252 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
42253 for flag in $(EXTRA_TARGET_FLAGS); do \
42254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42255 done; \
42256 (cd $(TARGET_SUBDIR)/libssp && \
42257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42259 "RANLIB=$${RANLIB}" \
42260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42261 html) \
42262 || exit 1
42264 @endif target-libssp
42266 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
42267 maybe-TAGS-target-libssp:
42268 @if target-libssp
42269 maybe-TAGS-target-libssp: TAGS-target-libssp
42271 TAGS-target-libssp: \
42272 configure-target-libssp
42273 @: $(MAKE); $(unstage)
42274 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42275 r=`${PWD_COMMAND}`; export r; \
42276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42277 $(NORMAL_TARGET_EXPORTS) \
42278 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
42279 for flag in $(EXTRA_TARGET_FLAGS); do \
42280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42281 done; \
42282 (cd $(TARGET_SUBDIR)/libssp && \
42283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42285 "RANLIB=$${RANLIB}" \
42286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42287 TAGS) \
42288 || exit 1
42290 @endif target-libssp
42292 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
42293 maybe-install-info-target-libssp:
42294 @if target-libssp
42295 maybe-install-info-target-libssp: install-info-target-libssp
42297 install-info-target-libssp: \
42298 configure-target-libssp \
42299 info-target-libssp
42300 @: $(MAKE); $(unstage)
42301 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42302 r=`${PWD_COMMAND}`; export r; \
42303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42304 $(NORMAL_TARGET_EXPORTS) \
42305 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
42306 for flag in $(EXTRA_TARGET_FLAGS); do \
42307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42308 done; \
42309 (cd $(TARGET_SUBDIR)/libssp && \
42310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42312 "RANLIB=$${RANLIB}" \
42313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42314 install-info) \
42315 || exit 1
42317 @endif target-libssp
42319 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
42320 maybe-install-pdf-target-libssp:
42321 @if target-libssp
42322 maybe-install-pdf-target-libssp: install-pdf-target-libssp
42324 install-pdf-target-libssp: \
42325 configure-target-libssp \
42326 pdf-target-libssp
42327 @: $(MAKE); $(unstage)
42328 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42329 r=`${PWD_COMMAND}`; export r; \
42330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42331 $(NORMAL_TARGET_EXPORTS) \
42332 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
42333 for flag in $(EXTRA_TARGET_FLAGS); do \
42334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42335 done; \
42336 (cd $(TARGET_SUBDIR)/libssp && \
42337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42339 "RANLIB=$${RANLIB}" \
42340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42341 install-pdf) \
42342 || exit 1
42344 @endif target-libssp
42346 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
42347 maybe-install-html-target-libssp:
42348 @if target-libssp
42349 maybe-install-html-target-libssp: install-html-target-libssp
42351 install-html-target-libssp: \
42352 configure-target-libssp \
42353 html-target-libssp
42354 @: $(MAKE); $(unstage)
42355 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42356 r=`${PWD_COMMAND}`; export r; \
42357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42358 $(NORMAL_TARGET_EXPORTS) \
42359 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
42360 for flag in $(EXTRA_TARGET_FLAGS); do \
42361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42362 done; \
42363 (cd $(TARGET_SUBDIR)/libssp && \
42364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42366 "RANLIB=$${RANLIB}" \
42367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42368 install-html) \
42369 || exit 1
42371 @endif target-libssp
42373 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
42374 maybe-installcheck-target-libssp:
42375 @if target-libssp
42376 maybe-installcheck-target-libssp: installcheck-target-libssp
42378 installcheck-target-libssp: \
42379 configure-target-libssp
42380 @: $(MAKE); $(unstage)
42381 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42382 r=`${PWD_COMMAND}`; export r; \
42383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42384 $(NORMAL_TARGET_EXPORTS) \
42385 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
42386 for flag in $(EXTRA_TARGET_FLAGS); do \
42387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42388 done; \
42389 (cd $(TARGET_SUBDIR)/libssp && \
42390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42392 "RANLIB=$${RANLIB}" \
42393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42394 installcheck) \
42395 || exit 1
42397 @endif target-libssp
42399 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
42400 maybe-mostlyclean-target-libssp:
42401 @if target-libssp
42402 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
42404 mostlyclean-target-libssp:
42405 @: $(MAKE); $(unstage)
42406 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42407 r=`${PWD_COMMAND}`; export r; \
42408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42409 $(NORMAL_TARGET_EXPORTS) \
42410 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
42411 for flag in $(EXTRA_TARGET_FLAGS); do \
42412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42413 done; \
42414 (cd $(TARGET_SUBDIR)/libssp && \
42415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42417 "RANLIB=$${RANLIB}" \
42418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42419 mostlyclean) \
42420 || exit 1
42422 @endif target-libssp
42424 .PHONY: maybe-clean-target-libssp clean-target-libssp
42425 maybe-clean-target-libssp:
42426 @if target-libssp
42427 maybe-clean-target-libssp: clean-target-libssp
42429 clean-target-libssp:
42430 @: $(MAKE); $(unstage)
42431 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42432 r=`${PWD_COMMAND}`; export r; \
42433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42434 $(NORMAL_TARGET_EXPORTS) \
42435 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
42436 for flag in $(EXTRA_TARGET_FLAGS); do \
42437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42438 done; \
42439 (cd $(TARGET_SUBDIR)/libssp && \
42440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42442 "RANLIB=$${RANLIB}" \
42443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42444 clean) \
42445 || exit 1
42447 @endif target-libssp
42449 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
42450 maybe-distclean-target-libssp:
42451 @if target-libssp
42452 maybe-distclean-target-libssp: distclean-target-libssp
42454 distclean-target-libssp:
42455 @: $(MAKE); $(unstage)
42456 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42457 r=`${PWD_COMMAND}`; export r; \
42458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42459 $(NORMAL_TARGET_EXPORTS) \
42460 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
42461 for flag in $(EXTRA_TARGET_FLAGS); do \
42462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42463 done; \
42464 (cd $(TARGET_SUBDIR)/libssp && \
42465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42467 "RANLIB=$${RANLIB}" \
42468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42469 distclean) \
42470 || exit 1
42472 @endif target-libssp
42474 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
42475 maybe-maintainer-clean-target-libssp:
42476 @if target-libssp
42477 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
42479 maintainer-clean-target-libssp:
42480 @: $(MAKE); $(unstage)
42481 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42482 r=`${PWD_COMMAND}`; export r; \
42483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42484 $(NORMAL_TARGET_EXPORTS) \
42485 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
42486 for flag in $(EXTRA_TARGET_FLAGS); do \
42487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42488 done; \
42489 (cd $(TARGET_SUBDIR)/libssp && \
42490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42492 "RANLIB=$${RANLIB}" \
42493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42494 maintainer-clean) \
42495 || exit 1
42497 @endif target-libssp
42503 .PHONY: configure-target-newlib maybe-configure-target-newlib
42504 maybe-configure-target-newlib:
42505 @if gcc-bootstrap
42506 configure-target-newlib: stage_current
42507 @endif gcc-bootstrap
42508 @if target-newlib
42509 maybe-configure-target-newlib: configure-target-newlib
42510 configure-target-newlib:
42511 @: $(MAKE); $(unstage)
42512 @r=`${PWD_COMMAND}`; export r; \
42513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42514 echo "Checking multilib configuration for newlib..."; \
42515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42516 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
42517 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
42518 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
42519 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
42520 else \
42521 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
42522 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42523 fi; \
42524 else \
42525 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42526 fi; \
42527 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
42528 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42529 $(NORMAL_TARGET_EXPORTS) \
42530 echo Configuring in $(TARGET_SUBDIR)/newlib; \
42531 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
42532 case $(srcdir) in \
42533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42534 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
42535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42536 esac; \
42537 module_srcdir=newlib; \
42538 rm -f no-such-file || : ; \
42539 CONFIG_SITE=no-such-file $(SHELL) \
42540 $$s/$$module_srcdir/configure \
42541 --srcdir=$${topdir}/$$module_srcdir \
42542 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42543 --target=${target_alias} \
42544 || exit 1
42545 @endif target-newlib
42551 .PHONY: all-target-newlib maybe-all-target-newlib
42552 maybe-all-target-newlib:
42553 @if gcc-bootstrap
42554 all-target-newlib: stage_current
42555 @endif gcc-bootstrap
42556 @if target-newlib
42557 TARGET-target-newlib=all
42558 maybe-all-target-newlib: all-target-newlib
42559 all-target-newlib: configure-target-newlib
42560 @: $(MAKE); $(unstage)
42561 @r=`${PWD_COMMAND}`; export r; \
42562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42563 $(NORMAL_TARGET_EXPORTS) \
42564 (cd $(TARGET_SUBDIR)/newlib && \
42565 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42566 $(TARGET-target-newlib))
42567 @endif target-newlib
42573 .PHONY: check-target-newlib maybe-check-target-newlib
42574 maybe-check-target-newlib:
42575 @if target-newlib
42576 maybe-check-target-newlib: check-target-newlib
42578 check-target-newlib:
42579 @: $(MAKE); $(unstage)
42580 @r=`${PWD_COMMAND}`; export r; \
42581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42582 $(NORMAL_TARGET_EXPORTS) \
42583 (cd $(TARGET_SUBDIR)/newlib && \
42584 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42586 @endif target-newlib
42588 .PHONY: install-target-newlib maybe-install-target-newlib
42589 maybe-install-target-newlib:
42590 @if target-newlib
42591 maybe-install-target-newlib: install-target-newlib
42593 install-target-newlib: installdirs
42594 @: $(MAKE); $(unstage)
42595 @r=`${PWD_COMMAND}`; export r; \
42596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42597 $(NORMAL_TARGET_EXPORTS) \
42598 (cd $(TARGET_SUBDIR)/newlib && \
42599 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42601 @endif target-newlib
42603 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
42604 maybe-install-strip-target-newlib:
42605 @if target-newlib
42606 maybe-install-strip-target-newlib: install-strip-target-newlib
42608 install-strip-target-newlib: installdirs
42609 @: $(MAKE); $(unstage)
42610 @r=`${PWD_COMMAND}`; export r; \
42611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42612 $(NORMAL_TARGET_EXPORTS) \
42613 (cd $(TARGET_SUBDIR)/newlib && \
42614 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42616 @endif target-newlib
42618 # Other targets (info, dvi, pdf, etc.)
42620 .PHONY: maybe-info-target-newlib info-target-newlib
42621 maybe-info-target-newlib:
42622 @if target-newlib
42623 maybe-info-target-newlib: info-target-newlib
42625 info-target-newlib: \
42626 configure-target-newlib
42627 @: $(MAKE); $(unstage)
42628 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42629 r=`${PWD_COMMAND}`; export r; \
42630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42631 $(NORMAL_TARGET_EXPORTS) \
42632 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
42633 for flag in $(EXTRA_TARGET_FLAGS); do \
42634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42635 done; \
42636 (cd $(TARGET_SUBDIR)/newlib && \
42637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42639 "RANLIB=$${RANLIB}" \
42640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42641 info) \
42642 || exit 1
42644 @endif target-newlib
42646 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
42647 maybe-dvi-target-newlib:
42648 @if target-newlib
42649 maybe-dvi-target-newlib: dvi-target-newlib
42651 dvi-target-newlib: \
42652 configure-target-newlib
42653 @: $(MAKE); $(unstage)
42654 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42655 r=`${PWD_COMMAND}`; export r; \
42656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42657 $(NORMAL_TARGET_EXPORTS) \
42658 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
42659 for flag in $(EXTRA_TARGET_FLAGS); do \
42660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42661 done; \
42662 (cd $(TARGET_SUBDIR)/newlib && \
42663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42665 "RANLIB=$${RANLIB}" \
42666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42667 dvi) \
42668 || exit 1
42670 @endif target-newlib
42672 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
42673 maybe-pdf-target-newlib:
42674 @if target-newlib
42675 maybe-pdf-target-newlib: pdf-target-newlib
42677 pdf-target-newlib: \
42678 configure-target-newlib
42679 @: $(MAKE); $(unstage)
42680 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42681 r=`${PWD_COMMAND}`; export r; \
42682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42683 $(NORMAL_TARGET_EXPORTS) \
42684 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
42685 for flag in $(EXTRA_TARGET_FLAGS); do \
42686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42687 done; \
42688 (cd $(TARGET_SUBDIR)/newlib && \
42689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42691 "RANLIB=$${RANLIB}" \
42692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42693 pdf) \
42694 || exit 1
42696 @endif target-newlib
42698 .PHONY: maybe-html-target-newlib html-target-newlib
42699 maybe-html-target-newlib:
42700 @if target-newlib
42701 maybe-html-target-newlib: html-target-newlib
42703 html-target-newlib: \
42704 configure-target-newlib
42705 @: $(MAKE); $(unstage)
42706 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42707 r=`${PWD_COMMAND}`; export r; \
42708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42709 $(NORMAL_TARGET_EXPORTS) \
42710 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
42711 for flag in $(EXTRA_TARGET_FLAGS); do \
42712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42713 done; \
42714 (cd $(TARGET_SUBDIR)/newlib && \
42715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42717 "RANLIB=$${RANLIB}" \
42718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42719 html) \
42720 || exit 1
42722 @endif target-newlib
42724 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
42725 maybe-TAGS-target-newlib:
42726 @if target-newlib
42727 maybe-TAGS-target-newlib: TAGS-target-newlib
42729 TAGS-target-newlib: \
42730 configure-target-newlib
42731 @: $(MAKE); $(unstage)
42732 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42733 r=`${PWD_COMMAND}`; export r; \
42734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42735 $(NORMAL_TARGET_EXPORTS) \
42736 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
42737 for flag in $(EXTRA_TARGET_FLAGS); do \
42738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42739 done; \
42740 (cd $(TARGET_SUBDIR)/newlib && \
42741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42743 "RANLIB=$${RANLIB}" \
42744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42745 TAGS) \
42746 || exit 1
42748 @endif target-newlib
42750 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
42751 maybe-install-info-target-newlib:
42752 @if target-newlib
42753 maybe-install-info-target-newlib: install-info-target-newlib
42755 install-info-target-newlib: \
42756 configure-target-newlib \
42757 info-target-newlib
42758 @: $(MAKE); $(unstage)
42759 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42760 r=`${PWD_COMMAND}`; export r; \
42761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42762 $(NORMAL_TARGET_EXPORTS) \
42763 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
42764 for flag in $(EXTRA_TARGET_FLAGS); do \
42765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42766 done; \
42767 (cd $(TARGET_SUBDIR)/newlib && \
42768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42770 "RANLIB=$${RANLIB}" \
42771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42772 install-info) \
42773 || exit 1
42775 @endif target-newlib
42777 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
42778 maybe-install-pdf-target-newlib:
42779 @if target-newlib
42780 maybe-install-pdf-target-newlib: install-pdf-target-newlib
42782 install-pdf-target-newlib: \
42783 configure-target-newlib \
42784 pdf-target-newlib
42785 @: $(MAKE); $(unstage)
42786 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42787 r=`${PWD_COMMAND}`; export r; \
42788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42789 $(NORMAL_TARGET_EXPORTS) \
42790 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
42791 for flag in $(EXTRA_TARGET_FLAGS); do \
42792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42793 done; \
42794 (cd $(TARGET_SUBDIR)/newlib && \
42795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42797 "RANLIB=$${RANLIB}" \
42798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42799 install-pdf) \
42800 || exit 1
42802 @endif target-newlib
42804 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
42805 maybe-install-html-target-newlib:
42806 @if target-newlib
42807 maybe-install-html-target-newlib: install-html-target-newlib
42809 install-html-target-newlib: \
42810 configure-target-newlib \
42811 html-target-newlib
42812 @: $(MAKE); $(unstage)
42813 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42814 r=`${PWD_COMMAND}`; export r; \
42815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42816 $(NORMAL_TARGET_EXPORTS) \
42817 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
42818 for flag in $(EXTRA_TARGET_FLAGS); do \
42819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42820 done; \
42821 (cd $(TARGET_SUBDIR)/newlib && \
42822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42824 "RANLIB=$${RANLIB}" \
42825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42826 install-html) \
42827 || exit 1
42829 @endif target-newlib
42831 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
42832 maybe-installcheck-target-newlib:
42833 @if target-newlib
42834 maybe-installcheck-target-newlib: installcheck-target-newlib
42836 installcheck-target-newlib: \
42837 configure-target-newlib
42838 @: $(MAKE); $(unstage)
42839 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42840 r=`${PWD_COMMAND}`; export r; \
42841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42842 $(NORMAL_TARGET_EXPORTS) \
42843 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
42844 for flag in $(EXTRA_TARGET_FLAGS); do \
42845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42846 done; \
42847 (cd $(TARGET_SUBDIR)/newlib && \
42848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42850 "RANLIB=$${RANLIB}" \
42851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42852 installcheck) \
42853 || exit 1
42855 @endif target-newlib
42857 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
42858 maybe-mostlyclean-target-newlib:
42859 @if target-newlib
42860 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
42862 mostlyclean-target-newlib:
42863 @: $(MAKE); $(unstage)
42864 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42865 r=`${PWD_COMMAND}`; export r; \
42866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42867 $(NORMAL_TARGET_EXPORTS) \
42868 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
42869 for flag in $(EXTRA_TARGET_FLAGS); do \
42870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42871 done; \
42872 (cd $(TARGET_SUBDIR)/newlib && \
42873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42875 "RANLIB=$${RANLIB}" \
42876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42877 mostlyclean) \
42878 || exit 1
42880 @endif target-newlib
42882 .PHONY: maybe-clean-target-newlib clean-target-newlib
42883 maybe-clean-target-newlib:
42884 @if target-newlib
42885 maybe-clean-target-newlib: clean-target-newlib
42887 clean-target-newlib:
42888 @: $(MAKE); $(unstage)
42889 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42890 r=`${PWD_COMMAND}`; export r; \
42891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42892 $(NORMAL_TARGET_EXPORTS) \
42893 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
42894 for flag in $(EXTRA_TARGET_FLAGS); do \
42895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42896 done; \
42897 (cd $(TARGET_SUBDIR)/newlib && \
42898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42900 "RANLIB=$${RANLIB}" \
42901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42902 clean) \
42903 || exit 1
42905 @endif target-newlib
42907 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
42908 maybe-distclean-target-newlib:
42909 @if target-newlib
42910 maybe-distclean-target-newlib: distclean-target-newlib
42912 distclean-target-newlib:
42913 @: $(MAKE); $(unstage)
42914 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42915 r=`${PWD_COMMAND}`; export r; \
42916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42917 $(NORMAL_TARGET_EXPORTS) \
42918 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
42919 for flag in $(EXTRA_TARGET_FLAGS); do \
42920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42921 done; \
42922 (cd $(TARGET_SUBDIR)/newlib && \
42923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42925 "RANLIB=$${RANLIB}" \
42926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42927 distclean) \
42928 || exit 1
42930 @endif target-newlib
42932 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
42933 maybe-maintainer-clean-target-newlib:
42934 @if target-newlib
42935 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
42937 maintainer-clean-target-newlib:
42938 @: $(MAKE); $(unstage)
42939 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42940 r=`${PWD_COMMAND}`; export r; \
42941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42942 $(NORMAL_TARGET_EXPORTS) \
42943 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
42944 for flag in $(EXTRA_TARGET_FLAGS); do \
42945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42946 done; \
42947 (cd $(TARGET_SUBDIR)/newlib && \
42948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42950 "RANLIB=$${RANLIB}" \
42951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42952 maintainer-clean) \
42953 || exit 1
42955 @endif target-newlib
42961 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
42962 maybe-configure-target-libgcc:
42963 @if gcc-bootstrap
42964 configure-target-libgcc: stage_current
42965 @endif gcc-bootstrap
42966 @if target-libgcc
42967 maybe-configure-target-libgcc: configure-target-libgcc
42968 configure-target-libgcc:
42969 @r=`${PWD_COMMAND}`; export r; \
42970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42971 echo "Checking multilib configuration for libgcc..."; \
42972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42973 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42974 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42975 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42976 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42977 else \
42978 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42979 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42980 fi; \
42981 else \
42982 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42983 fi; \
42984 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42986 $(NORMAL_TARGET_EXPORTS) \
42987 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
42988 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
42989 case $(srcdir) in \
42990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42991 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42993 esac; \
42994 module_srcdir=libgcc; \
42995 rm -f no-such-file || : ; \
42996 CONFIG_SITE=no-such-file $(SHELL) \
42997 $$s/$$module_srcdir/configure \
42998 --srcdir=$${topdir}/$$module_srcdir \
42999 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43000 --target=${target_alias} \
43001 || exit 1
43002 @endif target-libgcc
43006 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
43007 maybe-configure-stage1-target-libgcc:
43008 @if target-libgcc-bootstrap
43009 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
43010 configure-stage1-target-libgcc:
43011 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43012 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43013 @r=`${PWD_COMMAND}`; export r; \
43014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43015 TFLAGS="$(STAGE1_TFLAGS)"; \
43016 echo "Checking multilib configuration for libgcc..."; \
43017 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43018 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43019 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43020 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43021 else \
43022 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43023 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43024 fi; \
43025 else \
43026 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43027 fi; \
43028 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43029 $(NORMAL_TARGET_EXPORTS) \
43030 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43031 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43032 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43033 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
43034 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43035 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43036 case $(srcdir) in \
43037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43038 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43040 esac; \
43041 module_srcdir=libgcc; \
43042 $(SHELL) $$s/$$module_srcdir/configure \
43043 --srcdir=$${topdir}/$$module_srcdir \
43044 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43045 --target=${target_alias} \
43047 $(STAGE1_CONFIGURE_FLAGS)
43048 @endif target-libgcc-bootstrap
43050 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
43051 maybe-configure-stage2-target-libgcc:
43052 @if target-libgcc-bootstrap
43053 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
43054 configure-stage2-target-libgcc:
43055 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43056 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43057 @r=`${PWD_COMMAND}`; export r; \
43058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43059 TFLAGS="$(STAGE2_TFLAGS)"; \
43060 echo "Checking multilib configuration for libgcc..."; \
43061 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43062 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43063 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43064 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43065 else \
43066 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43067 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43068 fi; \
43069 else \
43070 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43071 fi; \
43072 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43073 $(NORMAL_TARGET_EXPORTS) \
43075 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43076 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43077 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43078 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
43079 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43080 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43081 case $(srcdir) in \
43082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43083 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43085 esac; \
43086 module_srcdir=libgcc; \
43087 $(SHELL) $$s/$$module_srcdir/configure \
43088 --srcdir=$${topdir}/$$module_srcdir \
43089 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43090 --target=${target_alias} \
43091 --with-build-libsubdir=$(HOST_SUBDIR) \
43092 $(STAGE2_CONFIGURE_FLAGS)
43093 @endif target-libgcc-bootstrap
43095 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
43096 maybe-configure-stage3-target-libgcc:
43097 @if target-libgcc-bootstrap
43098 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
43099 configure-stage3-target-libgcc:
43100 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43101 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43102 @r=`${PWD_COMMAND}`; export r; \
43103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43104 TFLAGS="$(STAGE3_TFLAGS)"; \
43105 echo "Checking multilib configuration for libgcc..."; \
43106 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43107 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43108 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43109 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43110 else \
43111 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43112 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43113 fi; \
43114 else \
43115 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43116 fi; \
43117 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43118 $(NORMAL_TARGET_EXPORTS) \
43120 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43121 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43122 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43123 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
43124 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43125 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43126 case $(srcdir) in \
43127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43128 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43130 esac; \
43131 module_srcdir=libgcc; \
43132 $(SHELL) $$s/$$module_srcdir/configure \
43133 --srcdir=$${topdir}/$$module_srcdir \
43134 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43135 --target=${target_alias} \
43136 --with-build-libsubdir=$(HOST_SUBDIR) \
43137 $(STAGE3_CONFIGURE_FLAGS)
43138 @endif target-libgcc-bootstrap
43140 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
43141 maybe-configure-stage4-target-libgcc:
43142 @if target-libgcc-bootstrap
43143 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
43144 configure-stage4-target-libgcc:
43145 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43146 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43147 @r=`${PWD_COMMAND}`; export r; \
43148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43149 TFLAGS="$(STAGE4_TFLAGS)"; \
43150 echo "Checking multilib configuration for libgcc..."; \
43151 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43152 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43153 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43154 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43155 else \
43156 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43157 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43158 fi; \
43159 else \
43160 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43161 fi; \
43162 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43163 $(NORMAL_TARGET_EXPORTS) \
43165 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43166 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43167 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43168 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
43169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43170 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43171 case $(srcdir) in \
43172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43173 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43175 esac; \
43176 module_srcdir=libgcc; \
43177 $(SHELL) $$s/$$module_srcdir/configure \
43178 --srcdir=$${topdir}/$$module_srcdir \
43179 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43180 --target=${target_alias} \
43181 --with-build-libsubdir=$(HOST_SUBDIR) \
43182 $(STAGE4_CONFIGURE_FLAGS)
43183 @endif target-libgcc-bootstrap
43185 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
43186 maybe-configure-stageprofile-target-libgcc:
43187 @if target-libgcc-bootstrap
43188 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43189 configure-stageprofile-target-libgcc:
43190 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43191 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43192 @r=`${PWD_COMMAND}`; export r; \
43193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43194 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43195 echo "Checking multilib configuration for libgcc..."; \
43196 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43197 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43198 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43199 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43200 else \
43201 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43202 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43203 fi; \
43204 else \
43205 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43206 fi; \
43207 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43208 $(NORMAL_TARGET_EXPORTS) \
43210 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43211 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43212 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43213 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
43214 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43215 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43216 case $(srcdir) in \
43217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43218 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43220 esac; \
43221 module_srcdir=libgcc; \
43222 $(SHELL) $$s/$$module_srcdir/configure \
43223 --srcdir=$${topdir}/$$module_srcdir \
43224 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43225 --target=${target_alias} \
43226 --with-build-libsubdir=$(HOST_SUBDIR) \
43227 $(STAGEprofile_CONFIGURE_FLAGS)
43228 @endif target-libgcc-bootstrap
43230 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
43231 maybe-configure-stagetrain-target-libgcc:
43232 @if target-libgcc-bootstrap
43233 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
43234 configure-stagetrain-target-libgcc:
43235 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43236 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43237 @r=`${PWD_COMMAND}`; export r; \
43238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43239 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43240 echo "Checking multilib configuration for libgcc..."; \
43241 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43242 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43243 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43244 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43245 else \
43246 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43247 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43248 fi; \
43249 else \
43250 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43251 fi; \
43252 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43253 $(NORMAL_TARGET_EXPORTS) \
43255 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43256 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43257 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43258 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
43259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43260 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43261 case $(srcdir) in \
43262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43263 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43265 esac; \
43266 module_srcdir=libgcc; \
43267 $(SHELL) $$s/$$module_srcdir/configure \
43268 --srcdir=$${topdir}/$$module_srcdir \
43269 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43270 --target=${target_alias} \
43271 --with-build-libsubdir=$(HOST_SUBDIR) \
43272 $(STAGEtrain_CONFIGURE_FLAGS)
43273 @endif target-libgcc-bootstrap
43275 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
43276 maybe-configure-stagefeedback-target-libgcc:
43277 @if target-libgcc-bootstrap
43278 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43279 configure-stagefeedback-target-libgcc:
43280 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43281 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43282 @r=`${PWD_COMMAND}`; export r; \
43283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43284 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43285 echo "Checking multilib configuration for libgcc..."; \
43286 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43287 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43288 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43289 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43290 else \
43291 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43292 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43293 fi; \
43294 else \
43295 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43296 fi; \
43297 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43298 $(NORMAL_TARGET_EXPORTS) \
43300 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43301 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43302 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43303 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
43304 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43305 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43306 case $(srcdir) in \
43307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43308 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43310 esac; \
43311 module_srcdir=libgcc; \
43312 $(SHELL) $$s/$$module_srcdir/configure \
43313 --srcdir=$${topdir}/$$module_srcdir \
43314 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43315 --target=${target_alias} \
43316 --with-build-libsubdir=$(HOST_SUBDIR) \
43317 $(STAGEfeedback_CONFIGURE_FLAGS)
43318 @endif target-libgcc-bootstrap
43320 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
43321 maybe-configure-stageautoprofile-target-libgcc:
43322 @if target-libgcc-bootstrap
43323 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43324 configure-stageautoprofile-target-libgcc:
43325 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43326 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43327 @r=`${PWD_COMMAND}`; export r; \
43328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43329 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43330 echo "Checking multilib configuration for libgcc..."; \
43331 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43332 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43333 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43334 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43335 else \
43336 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43337 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43338 fi; \
43339 else \
43340 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43341 fi; \
43342 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43343 $(NORMAL_TARGET_EXPORTS) \
43345 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43346 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43347 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43348 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
43349 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43350 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43351 case $(srcdir) in \
43352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43353 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43355 esac; \
43356 module_srcdir=libgcc; \
43357 $(SHELL) $$s/$$module_srcdir/configure \
43358 --srcdir=$${topdir}/$$module_srcdir \
43359 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43360 --target=${target_alias} \
43361 --with-build-libsubdir=$(HOST_SUBDIR) \
43362 $(STAGEautoprofile_CONFIGURE_FLAGS)
43363 @endif target-libgcc-bootstrap
43365 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
43366 maybe-configure-stageautofeedback-target-libgcc:
43367 @if target-libgcc-bootstrap
43368 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43369 configure-stageautofeedback-target-libgcc:
43370 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43371 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43372 @r=`${PWD_COMMAND}`; export r; \
43373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43374 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43375 echo "Checking multilib configuration for libgcc..."; \
43376 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43377 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43378 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43379 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43380 else \
43381 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43382 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43383 fi; \
43384 else \
43385 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43386 fi; \
43387 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43388 $(NORMAL_TARGET_EXPORTS) \
43390 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43391 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43392 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43393 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
43394 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43395 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43396 case $(srcdir) in \
43397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43398 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43400 esac; \
43401 module_srcdir=libgcc; \
43402 $(SHELL) $$s/$$module_srcdir/configure \
43403 --srcdir=$${topdir}/$$module_srcdir \
43404 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43405 --target=${target_alias} \
43406 --with-build-libsubdir=$(HOST_SUBDIR) \
43407 $(STAGEautofeedback_CONFIGURE_FLAGS)
43408 @endif target-libgcc-bootstrap
43414 .PHONY: all-target-libgcc maybe-all-target-libgcc
43415 maybe-all-target-libgcc:
43416 @if gcc-bootstrap
43417 all-target-libgcc: stage_current
43418 @endif gcc-bootstrap
43419 @if target-libgcc
43420 TARGET-target-libgcc=all
43421 maybe-all-target-libgcc: all-target-libgcc
43422 all-target-libgcc: configure-target-libgcc
43423 @r=`${PWD_COMMAND}`; export r; \
43424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43425 $(NORMAL_TARGET_EXPORTS) \
43426 (cd $(TARGET_SUBDIR)/libgcc && \
43427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43428 $(TARGET-target-libgcc))
43429 @endif target-libgcc
43433 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
43434 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
43435 maybe-all-stage1-target-libgcc:
43436 maybe-clean-stage1-target-libgcc:
43437 @if target-libgcc-bootstrap
43438 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
43439 all-stage1: all-stage1-target-libgcc
43440 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
43441 all-stage1-target-libgcc: configure-stage1-target-libgcc
43442 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43443 @r=`${PWD_COMMAND}`; export r; \
43444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43445 TFLAGS="$(STAGE1_TFLAGS)"; \
43446 $(NORMAL_TARGET_EXPORTS) \
43447 cd $(TARGET_SUBDIR)/libgcc && \
43449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43450 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43451 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43452 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43456 $(EXTRA_TARGET_FLAGS) \
43458 TFLAGS="$(STAGE1_TFLAGS)" \
43459 $(TARGET-stage1-target-libgcc)
43461 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
43462 clean-stage1: clean-stage1-target-libgcc
43463 clean-stage1-target-libgcc:
43464 @if [ $(current_stage) = stage1 ]; then \
43465 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43466 else \
43467 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
43468 $(MAKE) stage1-start; \
43469 fi; \
43470 cd $(TARGET_SUBDIR)/libgcc && \
43471 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43472 clean
43473 @endif target-libgcc-bootstrap
43476 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
43477 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
43478 maybe-all-stage2-target-libgcc:
43479 maybe-clean-stage2-target-libgcc:
43480 @if target-libgcc-bootstrap
43481 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
43482 all-stage2: all-stage2-target-libgcc
43483 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
43484 all-stage2-target-libgcc: configure-stage2-target-libgcc
43485 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43486 @r=`${PWD_COMMAND}`; export r; \
43487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43488 TFLAGS="$(STAGE2_TFLAGS)"; \
43489 $(NORMAL_TARGET_EXPORTS) \
43491 cd $(TARGET_SUBDIR)/libgcc && \
43493 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43494 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43495 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43496 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43497 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43498 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43499 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43500 $(EXTRA_TARGET_FLAGS) \
43501 TFLAGS="$(STAGE2_TFLAGS)" \
43502 $(TARGET-stage2-target-libgcc)
43504 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
43505 clean-stage2: clean-stage2-target-libgcc
43506 clean-stage2-target-libgcc:
43507 @if [ $(current_stage) = stage2 ]; then \
43508 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43509 else \
43510 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
43511 $(MAKE) stage2-start; \
43512 fi; \
43513 cd $(TARGET_SUBDIR)/libgcc && \
43514 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43515 @endif target-libgcc-bootstrap
43518 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
43519 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
43520 maybe-all-stage3-target-libgcc:
43521 maybe-clean-stage3-target-libgcc:
43522 @if target-libgcc-bootstrap
43523 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
43524 all-stage3: all-stage3-target-libgcc
43525 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
43526 all-stage3-target-libgcc: configure-stage3-target-libgcc
43527 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43528 @r=`${PWD_COMMAND}`; export r; \
43529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43530 TFLAGS="$(STAGE3_TFLAGS)"; \
43531 $(NORMAL_TARGET_EXPORTS) \
43533 cd $(TARGET_SUBDIR)/libgcc && \
43535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43536 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43537 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43538 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43542 $(EXTRA_TARGET_FLAGS) \
43543 TFLAGS="$(STAGE3_TFLAGS)" \
43544 $(TARGET-stage3-target-libgcc)
43546 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
43547 clean-stage3: clean-stage3-target-libgcc
43548 clean-stage3-target-libgcc:
43549 @if [ $(current_stage) = stage3 ]; then \
43550 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43551 else \
43552 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
43553 $(MAKE) stage3-start; \
43554 fi; \
43555 cd $(TARGET_SUBDIR)/libgcc && \
43556 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43557 @endif target-libgcc-bootstrap
43560 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
43561 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
43562 maybe-all-stage4-target-libgcc:
43563 maybe-clean-stage4-target-libgcc:
43564 @if target-libgcc-bootstrap
43565 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
43566 all-stage4: all-stage4-target-libgcc
43567 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
43568 all-stage4-target-libgcc: configure-stage4-target-libgcc
43569 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43570 @r=`${PWD_COMMAND}`; export r; \
43571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43572 TFLAGS="$(STAGE4_TFLAGS)"; \
43573 $(NORMAL_TARGET_EXPORTS) \
43575 cd $(TARGET_SUBDIR)/libgcc && \
43577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43578 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43579 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43580 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43584 $(EXTRA_TARGET_FLAGS) \
43585 TFLAGS="$(STAGE4_TFLAGS)" \
43586 $(TARGET-stage4-target-libgcc)
43588 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
43589 clean-stage4: clean-stage4-target-libgcc
43590 clean-stage4-target-libgcc:
43591 @if [ $(current_stage) = stage4 ]; then \
43592 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43593 else \
43594 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
43595 $(MAKE) stage4-start; \
43596 fi; \
43597 cd $(TARGET_SUBDIR)/libgcc && \
43598 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43599 @endif target-libgcc-bootstrap
43602 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
43603 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
43604 maybe-all-stageprofile-target-libgcc:
43605 maybe-clean-stageprofile-target-libgcc:
43606 @if target-libgcc-bootstrap
43607 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
43608 all-stageprofile: all-stageprofile-target-libgcc
43609 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
43610 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43611 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43612 @r=`${PWD_COMMAND}`; export r; \
43613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43614 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43615 $(NORMAL_TARGET_EXPORTS) \
43617 cd $(TARGET_SUBDIR)/libgcc && \
43619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43620 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43621 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43622 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43626 $(EXTRA_TARGET_FLAGS) \
43627 TFLAGS="$(STAGEprofile_TFLAGS)" \
43628 $(TARGET-stageprofile-target-libgcc)
43630 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
43631 clean-stageprofile: clean-stageprofile-target-libgcc
43632 clean-stageprofile-target-libgcc:
43633 @if [ $(current_stage) = stageprofile ]; then \
43634 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43635 else \
43636 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
43637 $(MAKE) stageprofile-start; \
43638 fi; \
43639 cd $(TARGET_SUBDIR)/libgcc && \
43640 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43641 @endif target-libgcc-bootstrap
43644 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
43645 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
43646 maybe-all-stagetrain-target-libgcc:
43647 maybe-clean-stagetrain-target-libgcc:
43648 @if target-libgcc-bootstrap
43649 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
43650 all-stagetrain: all-stagetrain-target-libgcc
43651 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
43652 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
43653 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43654 @r=`${PWD_COMMAND}`; export r; \
43655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43656 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43657 $(NORMAL_TARGET_EXPORTS) \
43659 cd $(TARGET_SUBDIR)/libgcc && \
43661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43668 $(EXTRA_TARGET_FLAGS) \
43669 TFLAGS="$(STAGEtrain_TFLAGS)" \
43670 $(TARGET-stagetrain-target-libgcc)
43672 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
43673 clean-stagetrain: clean-stagetrain-target-libgcc
43674 clean-stagetrain-target-libgcc:
43675 @if [ $(current_stage) = stagetrain ]; then \
43676 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43677 else \
43678 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
43679 $(MAKE) stagetrain-start; \
43680 fi; \
43681 cd $(TARGET_SUBDIR)/libgcc && \
43682 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43683 @endif target-libgcc-bootstrap
43686 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
43687 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
43688 maybe-all-stagefeedback-target-libgcc:
43689 maybe-clean-stagefeedback-target-libgcc:
43690 @if target-libgcc-bootstrap
43691 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
43692 all-stagefeedback: all-stagefeedback-target-libgcc
43693 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
43694 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43695 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43696 @r=`${PWD_COMMAND}`; export r; \
43697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43698 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43699 $(NORMAL_TARGET_EXPORTS) \
43701 cd $(TARGET_SUBDIR)/libgcc && \
43703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43704 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43705 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43706 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43710 $(EXTRA_TARGET_FLAGS) \
43711 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43712 $(TARGET-stagefeedback-target-libgcc)
43714 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
43715 clean-stagefeedback: clean-stagefeedback-target-libgcc
43716 clean-stagefeedback-target-libgcc:
43717 @if [ $(current_stage) = stagefeedback ]; then \
43718 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43719 else \
43720 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
43721 $(MAKE) stagefeedback-start; \
43722 fi; \
43723 cd $(TARGET_SUBDIR)/libgcc && \
43724 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43725 @endif target-libgcc-bootstrap
43728 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
43729 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
43730 maybe-all-stageautoprofile-target-libgcc:
43731 maybe-clean-stageautoprofile-target-libgcc:
43732 @if target-libgcc-bootstrap
43733 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
43734 all-stageautoprofile: all-stageautoprofile-target-libgcc
43735 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
43736 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43737 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43738 @r=`${PWD_COMMAND}`; export r; \
43739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43740 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43741 $(NORMAL_TARGET_EXPORTS) \
43743 cd $(TARGET_SUBDIR)/libgcc && \
43744 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43746 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43747 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43748 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43752 $(EXTRA_TARGET_FLAGS) \
43753 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43754 $(TARGET-stageautoprofile-target-libgcc)
43756 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
43757 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
43758 clean-stageautoprofile-target-libgcc:
43759 @if [ $(current_stage) = stageautoprofile ]; then \
43760 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43761 else \
43762 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
43763 $(MAKE) stageautoprofile-start; \
43764 fi; \
43765 cd $(TARGET_SUBDIR)/libgcc && \
43766 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43767 @endif target-libgcc-bootstrap
43770 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
43771 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
43772 maybe-all-stageautofeedback-target-libgcc:
43773 maybe-clean-stageautofeedback-target-libgcc:
43774 @if target-libgcc-bootstrap
43775 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
43776 all-stageautofeedback: all-stageautofeedback-target-libgcc
43777 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
43778 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43779 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43780 @r=`${PWD_COMMAND}`; export r; \
43781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43782 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43783 $(NORMAL_TARGET_EXPORTS) \
43785 cd $(TARGET_SUBDIR)/libgcc && \
43787 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43788 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43789 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43790 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43794 $(EXTRA_TARGET_FLAGS) \
43795 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43796 $(TARGET-stageautofeedback-target-libgcc)
43798 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
43799 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
43800 clean-stageautofeedback-target-libgcc:
43801 @if [ $(current_stage) = stageautofeedback ]; then \
43802 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43803 else \
43804 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
43805 $(MAKE) stageautofeedback-start; \
43806 fi; \
43807 cd $(TARGET_SUBDIR)/libgcc && \
43808 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43809 @endif target-libgcc-bootstrap
43816 .PHONY: check-target-libgcc maybe-check-target-libgcc
43817 maybe-check-target-libgcc:
43818 @if target-libgcc
43819 maybe-check-target-libgcc: check-target-libgcc
43821 # Dummy target for uncheckable module.
43822 check-target-libgcc:
43824 @endif target-libgcc
43826 .PHONY: install-target-libgcc maybe-install-target-libgcc
43827 maybe-install-target-libgcc:
43828 @if target-libgcc
43829 maybe-install-target-libgcc: install-target-libgcc
43831 install-target-libgcc: installdirs
43832 @: $(MAKE); $(unstage)
43833 @r=`${PWD_COMMAND}`; export r; \
43834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43835 $(NORMAL_TARGET_EXPORTS) \
43836 (cd $(TARGET_SUBDIR)/libgcc && \
43837 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43839 @endif target-libgcc
43841 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
43842 maybe-install-strip-target-libgcc:
43843 @if target-libgcc
43844 maybe-install-strip-target-libgcc: install-strip-target-libgcc
43846 install-strip-target-libgcc: installdirs
43847 @: $(MAKE); $(unstage)
43848 @r=`${PWD_COMMAND}`; export r; \
43849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43850 $(NORMAL_TARGET_EXPORTS) \
43851 (cd $(TARGET_SUBDIR)/libgcc && \
43852 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43854 @endif target-libgcc
43856 # Other targets (info, dvi, pdf, etc.)
43858 .PHONY: maybe-info-target-libgcc info-target-libgcc
43859 maybe-info-target-libgcc:
43860 @if target-libgcc
43861 maybe-info-target-libgcc: info-target-libgcc
43863 info-target-libgcc: \
43864 configure-target-libgcc
43865 @: $(MAKE); $(unstage)
43866 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43867 r=`${PWD_COMMAND}`; export r; \
43868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43869 $(NORMAL_TARGET_EXPORTS) \
43870 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
43871 for flag in $(EXTRA_TARGET_FLAGS); do \
43872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43873 done; \
43874 (cd $(TARGET_SUBDIR)/libgcc && \
43875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43877 "RANLIB=$${RANLIB}" \
43878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43879 info) \
43880 || exit 1
43882 @endif target-libgcc
43884 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
43885 maybe-dvi-target-libgcc:
43886 @if target-libgcc
43887 maybe-dvi-target-libgcc: dvi-target-libgcc
43889 dvi-target-libgcc: \
43890 configure-target-libgcc
43891 @: $(MAKE); $(unstage)
43892 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43893 r=`${PWD_COMMAND}`; export r; \
43894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43895 $(NORMAL_TARGET_EXPORTS) \
43896 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
43897 for flag in $(EXTRA_TARGET_FLAGS); do \
43898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43899 done; \
43900 (cd $(TARGET_SUBDIR)/libgcc && \
43901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43903 "RANLIB=$${RANLIB}" \
43904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43905 dvi) \
43906 || exit 1
43908 @endif target-libgcc
43910 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
43911 maybe-pdf-target-libgcc:
43912 @if target-libgcc
43913 maybe-pdf-target-libgcc: pdf-target-libgcc
43915 pdf-target-libgcc: \
43916 configure-target-libgcc
43917 @: $(MAKE); $(unstage)
43918 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43919 r=`${PWD_COMMAND}`; export r; \
43920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43921 $(NORMAL_TARGET_EXPORTS) \
43922 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
43923 for flag in $(EXTRA_TARGET_FLAGS); do \
43924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43925 done; \
43926 (cd $(TARGET_SUBDIR)/libgcc && \
43927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43929 "RANLIB=$${RANLIB}" \
43930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43931 pdf) \
43932 || exit 1
43934 @endif target-libgcc
43936 .PHONY: maybe-html-target-libgcc html-target-libgcc
43937 maybe-html-target-libgcc:
43938 @if target-libgcc
43939 maybe-html-target-libgcc: html-target-libgcc
43941 html-target-libgcc: \
43942 configure-target-libgcc
43943 @: $(MAKE); $(unstage)
43944 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43945 r=`${PWD_COMMAND}`; export r; \
43946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43947 $(NORMAL_TARGET_EXPORTS) \
43948 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
43949 for flag in $(EXTRA_TARGET_FLAGS); do \
43950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43951 done; \
43952 (cd $(TARGET_SUBDIR)/libgcc && \
43953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43955 "RANLIB=$${RANLIB}" \
43956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43957 html) \
43958 || exit 1
43960 @endif target-libgcc
43962 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
43963 maybe-TAGS-target-libgcc:
43964 @if target-libgcc
43965 maybe-TAGS-target-libgcc: TAGS-target-libgcc
43967 TAGS-target-libgcc: \
43968 configure-target-libgcc
43969 @: $(MAKE); $(unstage)
43970 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43971 r=`${PWD_COMMAND}`; export r; \
43972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43973 $(NORMAL_TARGET_EXPORTS) \
43974 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
43975 for flag in $(EXTRA_TARGET_FLAGS); do \
43976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43977 done; \
43978 (cd $(TARGET_SUBDIR)/libgcc && \
43979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43981 "RANLIB=$${RANLIB}" \
43982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43983 TAGS) \
43984 || exit 1
43986 @endif target-libgcc
43988 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
43989 maybe-install-info-target-libgcc:
43990 @if target-libgcc
43991 maybe-install-info-target-libgcc: install-info-target-libgcc
43993 install-info-target-libgcc: \
43994 configure-target-libgcc \
43995 info-target-libgcc
43996 @: $(MAKE); $(unstage)
43997 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43998 r=`${PWD_COMMAND}`; export r; \
43999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44000 $(NORMAL_TARGET_EXPORTS) \
44001 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
44002 for flag in $(EXTRA_TARGET_FLAGS); do \
44003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44004 done; \
44005 (cd $(TARGET_SUBDIR)/libgcc && \
44006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44008 "RANLIB=$${RANLIB}" \
44009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44010 install-info) \
44011 || exit 1
44013 @endif target-libgcc
44015 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
44016 maybe-install-pdf-target-libgcc:
44017 @if target-libgcc
44018 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
44020 install-pdf-target-libgcc: \
44021 configure-target-libgcc \
44022 pdf-target-libgcc
44023 @: $(MAKE); $(unstage)
44024 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44025 r=`${PWD_COMMAND}`; export r; \
44026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44027 $(NORMAL_TARGET_EXPORTS) \
44028 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
44029 for flag in $(EXTRA_TARGET_FLAGS); do \
44030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44031 done; \
44032 (cd $(TARGET_SUBDIR)/libgcc && \
44033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44035 "RANLIB=$${RANLIB}" \
44036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44037 install-pdf) \
44038 || exit 1
44040 @endif target-libgcc
44042 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
44043 maybe-install-html-target-libgcc:
44044 @if target-libgcc
44045 maybe-install-html-target-libgcc: install-html-target-libgcc
44047 install-html-target-libgcc: \
44048 configure-target-libgcc \
44049 html-target-libgcc
44050 @: $(MAKE); $(unstage)
44051 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44052 r=`${PWD_COMMAND}`; export r; \
44053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44054 $(NORMAL_TARGET_EXPORTS) \
44055 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
44056 for flag in $(EXTRA_TARGET_FLAGS); do \
44057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44058 done; \
44059 (cd $(TARGET_SUBDIR)/libgcc && \
44060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44062 "RANLIB=$${RANLIB}" \
44063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44064 install-html) \
44065 || exit 1
44067 @endif target-libgcc
44069 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
44070 maybe-installcheck-target-libgcc:
44071 @if target-libgcc
44072 maybe-installcheck-target-libgcc: installcheck-target-libgcc
44074 installcheck-target-libgcc: \
44075 configure-target-libgcc
44076 @: $(MAKE); $(unstage)
44077 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44078 r=`${PWD_COMMAND}`; export r; \
44079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44080 $(NORMAL_TARGET_EXPORTS) \
44081 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
44082 for flag in $(EXTRA_TARGET_FLAGS); do \
44083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44084 done; \
44085 (cd $(TARGET_SUBDIR)/libgcc && \
44086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44088 "RANLIB=$${RANLIB}" \
44089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44090 installcheck) \
44091 || exit 1
44093 @endif target-libgcc
44095 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
44096 maybe-mostlyclean-target-libgcc:
44097 @if target-libgcc
44098 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
44100 mostlyclean-target-libgcc:
44101 @: $(MAKE); $(unstage)
44102 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44103 r=`${PWD_COMMAND}`; export r; \
44104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44105 $(NORMAL_TARGET_EXPORTS) \
44106 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
44107 for flag in $(EXTRA_TARGET_FLAGS); do \
44108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44109 done; \
44110 (cd $(TARGET_SUBDIR)/libgcc && \
44111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44113 "RANLIB=$${RANLIB}" \
44114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44115 mostlyclean) \
44116 || exit 1
44118 @endif target-libgcc
44120 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
44121 maybe-clean-target-libgcc:
44122 @if target-libgcc
44123 maybe-clean-target-libgcc: clean-target-libgcc
44125 clean-target-libgcc:
44126 @: $(MAKE); $(unstage)
44127 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44128 r=`${PWD_COMMAND}`; export r; \
44129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44130 $(NORMAL_TARGET_EXPORTS) \
44131 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
44132 for flag in $(EXTRA_TARGET_FLAGS); do \
44133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44134 done; \
44135 (cd $(TARGET_SUBDIR)/libgcc && \
44136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44138 "RANLIB=$${RANLIB}" \
44139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44140 clean) \
44141 || exit 1
44143 @endif target-libgcc
44145 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
44146 maybe-distclean-target-libgcc:
44147 @if target-libgcc
44148 maybe-distclean-target-libgcc: distclean-target-libgcc
44150 distclean-target-libgcc:
44151 @: $(MAKE); $(unstage)
44152 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44153 r=`${PWD_COMMAND}`; export r; \
44154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44155 $(NORMAL_TARGET_EXPORTS) \
44156 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
44157 for flag in $(EXTRA_TARGET_FLAGS); do \
44158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44159 done; \
44160 (cd $(TARGET_SUBDIR)/libgcc && \
44161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44163 "RANLIB=$${RANLIB}" \
44164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44165 distclean) \
44166 || exit 1
44168 @endif target-libgcc
44170 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
44171 maybe-maintainer-clean-target-libgcc:
44172 @if target-libgcc
44173 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
44175 maintainer-clean-target-libgcc:
44176 @: $(MAKE); $(unstage)
44177 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44178 r=`${PWD_COMMAND}`; export r; \
44179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44180 $(NORMAL_TARGET_EXPORTS) \
44181 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
44182 for flag in $(EXTRA_TARGET_FLAGS); do \
44183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44184 done; \
44185 (cd $(TARGET_SUBDIR)/libgcc && \
44186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44188 "RANLIB=$${RANLIB}" \
44189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44190 maintainer-clean) \
44191 || exit 1
44193 @endif target-libgcc
44199 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
44200 maybe-configure-target-libbacktrace:
44201 @if gcc-bootstrap
44202 configure-target-libbacktrace: stage_current
44203 @endif gcc-bootstrap
44204 @if target-libbacktrace
44205 maybe-configure-target-libbacktrace: configure-target-libbacktrace
44206 configure-target-libbacktrace:
44207 @: $(MAKE); $(unstage)
44208 @r=`${PWD_COMMAND}`; export r; \
44209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44210 echo "Checking multilib configuration for libbacktrace..."; \
44211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
44212 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
44213 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
44214 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
44215 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
44216 else \
44217 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
44218 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
44219 fi; \
44220 else \
44221 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
44222 fi; \
44223 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
44224 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
44225 $(NORMAL_TARGET_EXPORTS) \
44226 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
44227 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
44228 case $(srcdir) in \
44229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44230 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
44231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44232 esac; \
44233 module_srcdir=libbacktrace; \
44234 rm -f no-such-file || : ; \
44235 CONFIG_SITE=no-such-file $(SHELL) \
44236 $$s/$$module_srcdir/configure \
44237 --srcdir=$${topdir}/$$module_srcdir \
44238 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44239 --target=${target_alias} \
44240 || exit 1
44241 @endif target-libbacktrace
44247 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
44248 maybe-all-target-libbacktrace:
44249 @if gcc-bootstrap
44250 all-target-libbacktrace: stage_current
44251 @endif gcc-bootstrap
44252 @if target-libbacktrace
44253 TARGET-target-libbacktrace=all
44254 maybe-all-target-libbacktrace: all-target-libbacktrace
44255 all-target-libbacktrace: configure-target-libbacktrace
44256 @: $(MAKE); $(unstage)
44257 @r=`${PWD_COMMAND}`; export r; \
44258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44259 $(NORMAL_TARGET_EXPORTS) \
44260 (cd $(TARGET_SUBDIR)/libbacktrace && \
44261 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44262 $(TARGET-target-libbacktrace))
44263 @endif target-libbacktrace
44269 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
44270 maybe-check-target-libbacktrace:
44271 @if target-libbacktrace
44272 maybe-check-target-libbacktrace: check-target-libbacktrace
44274 check-target-libbacktrace:
44275 @: $(MAKE); $(unstage)
44276 @r=`${PWD_COMMAND}`; export r; \
44277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44278 $(NORMAL_TARGET_EXPORTS) \
44279 (cd $(TARGET_SUBDIR)/libbacktrace && \
44280 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44282 @endif target-libbacktrace
44284 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
44285 maybe-install-target-libbacktrace:
44286 @if target-libbacktrace
44287 maybe-install-target-libbacktrace: install-target-libbacktrace
44289 install-target-libbacktrace: installdirs
44290 @: $(MAKE); $(unstage)
44291 @r=`${PWD_COMMAND}`; export r; \
44292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44293 $(NORMAL_TARGET_EXPORTS) \
44294 (cd $(TARGET_SUBDIR)/libbacktrace && \
44295 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44297 @endif target-libbacktrace
44299 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
44300 maybe-install-strip-target-libbacktrace:
44301 @if target-libbacktrace
44302 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
44304 install-strip-target-libbacktrace: installdirs
44305 @: $(MAKE); $(unstage)
44306 @r=`${PWD_COMMAND}`; export r; \
44307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44308 $(NORMAL_TARGET_EXPORTS) \
44309 (cd $(TARGET_SUBDIR)/libbacktrace && \
44310 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44312 @endif target-libbacktrace
44314 # Other targets (info, dvi, pdf, etc.)
44316 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
44317 maybe-info-target-libbacktrace:
44318 @if target-libbacktrace
44319 maybe-info-target-libbacktrace: info-target-libbacktrace
44321 info-target-libbacktrace: \
44322 configure-target-libbacktrace
44323 @: $(MAKE); $(unstage)
44324 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44325 r=`${PWD_COMMAND}`; export r; \
44326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44327 $(NORMAL_TARGET_EXPORTS) \
44328 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
44329 for flag in $(EXTRA_TARGET_FLAGS); do \
44330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44331 done; \
44332 (cd $(TARGET_SUBDIR)/libbacktrace && \
44333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44335 "RANLIB=$${RANLIB}" \
44336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44337 info) \
44338 || exit 1
44340 @endif target-libbacktrace
44342 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
44343 maybe-dvi-target-libbacktrace:
44344 @if target-libbacktrace
44345 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
44347 dvi-target-libbacktrace: \
44348 configure-target-libbacktrace
44349 @: $(MAKE); $(unstage)
44350 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44351 r=`${PWD_COMMAND}`; export r; \
44352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44353 $(NORMAL_TARGET_EXPORTS) \
44354 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
44355 for flag in $(EXTRA_TARGET_FLAGS); do \
44356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44357 done; \
44358 (cd $(TARGET_SUBDIR)/libbacktrace && \
44359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44361 "RANLIB=$${RANLIB}" \
44362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44363 dvi) \
44364 || exit 1
44366 @endif target-libbacktrace
44368 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
44369 maybe-pdf-target-libbacktrace:
44370 @if target-libbacktrace
44371 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
44373 pdf-target-libbacktrace: \
44374 configure-target-libbacktrace
44375 @: $(MAKE); $(unstage)
44376 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44377 r=`${PWD_COMMAND}`; export r; \
44378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44379 $(NORMAL_TARGET_EXPORTS) \
44380 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44381 for flag in $(EXTRA_TARGET_FLAGS); do \
44382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44383 done; \
44384 (cd $(TARGET_SUBDIR)/libbacktrace && \
44385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44387 "RANLIB=$${RANLIB}" \
44388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44389 pdf) \
44390 || exit 1
44392 @endif target-libbacktrace
44394 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
44395 maybe-html-target-libbacktrace:
44396 @if target-libbacktrace
44397 maybe-html-target-libbacktrace: html-target-libbacktrace
44399 html-target-libbacktrace: \
44400 configure-target-libbacktrace
44401 @: $(MAKE); $(unstage)
44402 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44403 r=`${PWD_COMMAND}`; export r; \
44404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44405 $(NORMAL_TARGET_EXPORTS) \
44406 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
44407 for flag in $(EXTRA_TARGET_FLAGS); do \
44408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44409 done; \
44410 (cd $(TARGET_SUBDIR)/libbacktrace && \
44411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44413 "RANLIB=$${RANLIB}" \
44414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44415 html) \
44416 || exit 1
44418 @endif target-libbacktrace
44420 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
44421 maybe-TAGS-target-libbacktrace:
44422 @if target-libbacktrace
44423 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
44425 TAGS-target-libbacktrace: \
44426 configure-target-libbacktrace
44427 @: $(MAKE); $(unstage)
44428 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44429 r=`${PWD_COMMAND}`; export r; \
44430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44431 $(NORMAL_TARGET_EXPORTS) \
44432 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
44433 for flag in $(EXTRA_TARGET_FLAGS); do \
44434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44435 done; \
44436 (cd $(TARGET_SUBDIR)/libbacktrace && \
44437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44439 "RANLIB=$${RANLIB}" \
44440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44441 TAGS) \
44442 || exit 1
44444 @endif target-libbacktrace
44446 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
44447 maybe-install-info-target-libbacktrace:
44448 @if target-libbacktrace
44449 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
44451 install-info-target-libbacktrace: \
44452 configure-target-libbacktrace \
44453 info-target-libbacktrace
44454 @: $(MAKE); $(unstage)
44455 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44456 r=`${PWD_COMMAND}`; export r; \
44457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44458 $(NORMAL_TARGET_EXPORTS) \
44459 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
44460 for flag in $(EXTRA_TARGET_FLAGS); do \
44461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44462 done; \
44463 (cd $(TARGET_SUBDIR)/libbacktrace && \
44464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44466 "RANLIB=$${RANLIB}" \
44467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44468 install-info) \
44469 || exit 1
44471 @endif target-libbacktrace
44473 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
44474 maybe-install-pdf-target-libbacktrace:
44475 @if target-libbacktrace
44476 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
44478 install-pdf-target-libbacktrace: \
44479 configure-target-libbacktrace \
44480 pdf-target-libbacktrace
44481 @: $(MAKE); $(unstage)
44482 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44483 r=`${PWD_COMMAND}`; export r; \
44484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44485 $(NORMAL_TARGET_EXPORTS) \
44486 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44487 for flag in $(EXTRA_TARGET_FLAGS); do \
44488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44489 done; \
44490 (cd $(TARGET_SUBDIR)/libbacktrace && \
44491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44493 "RANLIB=$${RANLIB}" \
44494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44495 install-pdf) \
44496 || exit 1
44498 @endif target-libbacktrace
44500 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
44501 maybe-install-html-target-libbacktrace:
44502 @if target-libbacktrace
44503 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
44505 install-html-target-libbacktrace: \
44506 configure-target-libbacktrace \
44507 html-target-libbacktrace
44508 @: $(MAKE); $(unstage)
44509 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44510 r=`${PWD_COMMAND}`; export r; \
44511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44512 $(NORMAL_TARGET_EXPORTS) \
44513 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
44514 for flag in $(EXTRA_TARGET_FLAGS); do \
44515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44516 done; \
44517 (cd $(TARGET_SUBDIR)/libbacktrace && \
44518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44520 "RANLIB=$${RANLIB}" \
44521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44522 install-html) \
44523 || exit 1
44525 @endif target-libbacktrace
44527 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
44528 maybe-installcheck-target-libbacktrace:
44529 @if target-libbacktrace
44530 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
44532 installcheck-target-libbacktrace: \
44533 configure-target-libbacktrace
44534 @: $(MAKE); $(unstage)
44535 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44536 r=`${PWD_COMMAND}`; export r; \
44537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44538 $(NORMAL_TARGET_EXPORTS) \
44539 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
44540 for flag in $(EXTRA_TARGET_FLAGS); do \
44541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44542 done; \
44543 (cd $(TARGET_SUBDIR)/libbacktrace && \
44544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44546 "RANLIB=$${RANLIB}" \
44547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44548 installcheck) \
44549 || exit 1
44551 @endif target-libbacktrace
44553 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
44554 maybe-mostlyclean-target-libbacktrace:
44555 @if target-libbacktrace
44556 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
44558 mostlyclean-target-libbacktrace:
44559 @: $(MAKE); $(unstage)
44560 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44561 r=`${PWD_COMMAND}`; export r; \
44562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44563 $(NORMAL_TARGET_EXPORTS) \
44564 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
44565 for flag in $(EXTRA_TARGET_FLAGS); do \
44566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44567 done; \
44568 (cd $(TARGET_SUBDIR)/libbacktrace && \
44569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44571 "RANLIB=$${RANLIB}" \
44572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44573 mostlyclean) \
44574 || exit 1
44576 @endif target-libbacktrace
44578 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
44579 maybe-clean-target-libbacktrace:
44580 @if target-libbacktrace
44581 maybe-clean-target-libbacktrace: clean-target-libbacktrace
44583 clean-target-libbacktrace:
44584 @: $(MAKE); $(unstage)
44585 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44586 r=`${PWD_COMMAND}`; export r; \
44587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44588 $(NORMAL_TARGET_EXPORTS) \
44589 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
44590 for flag in $(EXTRA_TARGET_FLAGS); do \
44591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44592 done; \
44593 (cd $(TARGET_SUBDIR)/libbacktrace && \
44594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44596 "RANLIB=$${RANLIB}" \
44597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44598 clean) \
44599 || exit 1
44601 @endif target-libbacktrace
44603 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
44604 maybe-distclean-target-libbacktrace:
44605 @if target-libbacktrace
44606 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
44608 distclean-target-libbacktrace:
44609 @: $(MAKE); $(unstage)
44610 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44611 r=`${PWD_COMMAND}`; export r; \
44612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44613 $(NORMAL_TARGET_EXPORTS) \
44614 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
44615 for flag in $(EXTRA_TARGET_FLAGS); do \
44616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44617 done; \
44618 (cd $(TARGET_SUBDIR)/libbacktrace && \
44619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44621 "RANLIB=$${RANLIB}" \
44622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44623 distclean) \
44624 || exit 1
44626 @endif target-libbacktrace
44628 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
44629 maybe-maintainer-clean-target-libbacktrace:
44630 @if target-libbacktrace
44631 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
44633 maintainer-clean-target-libbacktrace:
44634 @: $(MAKE); $(unstage)
44635 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44636 r=`${PWD_COMMAND}`; export r; \
44637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44638 $(NORMAL_TARGET_EXPORTS) \
44639 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
44640 for flag in $(EXTRA_TARGET_FLAGS); do \
44641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44642 done; \
44643 (cd $(TARGET_SUBDIR)/libbacktrace && \
44644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44646 "RANLIB=$${RANLIB}" \
44647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44648 maintainer-clean) \
44649 || exit 1
44651 @endif target-libbacktrace
44657 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
44658 maybe-configure-target-libquadmath:
44659 @if gcc-bootstrap
44660 configure-target-libquadmath: stage_current
44661 @endif gcc-bootstrap
44662 @if target-libquadmath
44663 maybe-configure-target-libquadmath: configure-target-libquadmath
44664 configure-target-libquadmath:
44665 @: $(MAKE); $(unstage)
44666 @r=`${PWD_COMMAND}`; export r; \
44667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44668 echo "Checking multilib configuration for libquadmath..."; \
44669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44670 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
44671 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44672 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44673 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
44674 else \
44675 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
44676 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44677 fi; \
44678 else \
44679 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44680 fi; \
44681 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
44682 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44683 $(NORMAL_TARGET_EXPORTS) \
44684 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
44685 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
44686 case $(srcdir) in \
44687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44688 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
44689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44690 esac; \
44691 module_srcdir=libquadmath; \
44692 rm -f no-such-file || : ; \
44693 CONFIG_SITE=no-such-file $(SHELL) \
44694 $$s/$$module_srcdir/configure \
44695 --srcdir=$${topdir}/$$module_srcdir \
44696 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44697 --target=${target_alias} \
44698 || exit 1
44699 @endif target-libquadmath
44705 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
44706 maybe-all-target-libquadmath:
44707 @if gcc-bootstrap
44708 all-target-libquadmath: stage_current
44709 @endif gcc-bootstrap
44710 @if target-libquadmath
44711 TARGET-target-libquadmath=all
44712 maybe-all-target-libquadmath: all-target-libquadmath
44713 all-target-libquadmath: configure-target-libquadmath
44714 @: $(MAKE); $(unstage)
44715 @r=`${PWD_COMMAND}`; export r; \
44716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44717 $(NORMAL_TARGET_EXPORTS) \
44718 (cd $(TARGET_SUBDIR)/libquadmath && \
44719 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44720 $(TARGET-target-libquadmath))
44721 @endif target-libquadmath
44727 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
44728 maybe-check-target-libquadmath:
44729 @if target-libquadmath
44730 maybe-check-target-libquadmath: check-target-libquadmath
44732 check-target-libquadmath:
44733 @: $(MAKE); $(unstage)
44734 @r=`${PWD_COMMAND}`; export r; \
44735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44736 $(NORMAL_TARGET_EXPORTS) \
44737 (cd $(TARGET_SUBDIR)/libquadmath && \
44738 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44740 @endif target-libquadmath
44742 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
44743 maybe-install-target-libquadmath:
44744 @if target-libquadmath
44745 maybe-install-target-libquadmath: install-target-libquadmath
44747 install-target-libquadmath: installdirs
44748 @: $(MAKE); $(unstage)
44749 @r=`${PWD_COMMAND}`; export r; \
44750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44751 $(NORMAL_TARGET_EXPORTS) \
44752 (cd $(TARGET_SUBDIR)/libquadmath && \
44753 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44755 @endif target-libquadmath
44757 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
44758 maybe-install-strip-target-libquadmath:
44759 @if target-libquadmath
44760 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
44762 install-strip-target-libquadmath: installdirs
44763 @: $(MAKE); $(unstage)
44764 @r=`${PWD_COMMAND}`; export r; \
44765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44766 $(NORMAL_TARGET_EXPORTS) \
44767 (cd $(TARGET_SUBDIR)/libquadmath && \
44768 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44770 @endif target-libquadmath
44772 # Other targets (info, dvi, pdf, etc.)
44774 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
44775 maybe-info-target-libquadmath:
44776 @if target-libquadmath
44777 maybe-info-target-libquadmath: info-target-libquadmath
44779 info-target-libquadmath: \
44780 configure-target-libquadmath
44781 @: $(MAKE); $(unstage)
44782 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44783 r=`${PWD_COMMAND}`; export r; \
44784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44785 $(NORMAL_TARGET_EXPORTS) \
44786 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
44787 for flag in $(EXTRA_TARGET_FLAGS); do \
44788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44789 done; \
44790 (cd $(TARGET_SUBDIR)/libquadmath && \
44791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44793 "RANLIB=$${RANLIB}" \
44794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44795 info) \
44796 || exit 1
44798 @endif target-libquadmath
44800 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
44801 maybe-dvi-target-libquadmath:
44802 @if target-libquadmath
44803 maybe-dvi-target-libquadmath: dvi-target-libquadmath
44805 dvi-target-libquadmath: \
44806 configure-target-libquadmath
44807 @: $(MAKE); $(unstage)
44808 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44809 r=`${PWD_COMMAND}`; export r; \
44810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44811 $(NORMAL_TARGET_EXPORTS) \
44812 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
44813 for flag in $(EXTRA_TARGET_FLAGS); do \
44814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44815 done; \
44816 (cd $(TARGET_SUBDIR)/libquadmath && \
44817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44819 "RANLIB=$${RANLIB}" \
44820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44821 dvi) \
44822 || exit 1
44824 @endif target-libquadmath
44826 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
44827 maybe-pdf-target-libquadmath:
44828 @if target-libquadmath
44829 maybe-pdf-target-libquadmath: pdf-target-libquadmath
44831 pdf-target-libquadmath: \
44832 configure-target-libquadmath
44833 @: $(MAKE); $(unstage)
44834 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44835 r=`${PWD_COMMAND}`; export r; \
44836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44837 $(NORMAL_TARGET_EXPORTS) \
44838 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
44839 for flag in $(EXTRA_TARGET_FLAGS); do \
44840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44841 done; \
44842 (cd $(TARGET_SUBDIR)/libquadmath && \
44843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44845 "RANLIB=$${RANLIB}" \
44846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44847 pdf) \
44848 || exit 1
44850 @endif target-libquadmath
44852 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
44853 maybe-html-target-libquadmath:
44854 @if target-libquadmath
44855 maybe-html-target-libquadmath: html-target-libquadmath
44857 html-target-libquadmath: \
44858 configure-target-libquadmath
44859 @: $(MAKE); $(unstage)
44860 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44861 r=`${PWD_COMMAND}`; export r; \
44862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44863 $(NORMAL_TARGET_EXPORTS) \
44864 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
44865 for flag in $(EXTRA_TARGET_FLAGS); do \
44866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44867 done; \
44868 (cd $(TARGET_SUBDIR)/libquadmath && \
44869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44871 "RANLIB=$${RANLIB}" \
44872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44873 html) \
44874 || exit 1
44876 @endif target-libquadmath
44878 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
44879 maybe-TAGS-target-libquadmath:
44880 @if target-libquadmath
44881 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
44883 TAGS-target-libquadmath: \
44884 configure-target-libquadmath
44885 @: $(MAKE); $(unstage)
44886 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44887 r=`${PWD_COMMAND}`; export r; \
44888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44889 $(NORMAL_TARGET_EXPORTS) \
44890 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
44891 for flag in $(EXTRA_TARGET_FLAGS); do \
44892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44893 done; \
44894 (cd $(TARGET_SUBDIR)/libquadmath && \
44895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44897 "RANLIB=$${RANLIB}" \
44898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44899 TAGS) \
44900 || exit 1
44902 @endif target-libquadmath
44904 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
44905 maybe-install-info-target-libquadmath:
44906 @if target-libquadmath
44907 maybe-install-info-target-libquadmath: install-info-target-libquadmath
44909 install-info-target-libquadmath: \
44910 configure-target-libquadmath \
44911 info-target-libquadmath
44912 @: $(MAKE); $(unstage)
44913 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44914 r=`${PWD_COMMAND}`; export r; \
44915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44916 $(NORMAL_TARGET_EXPORTS) \
44917 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
44918 for flag in $(EXTRA_TARGET_FLAGS); do \
44919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44920 done; \
44921 (cd $(TARGET_SUBDIR)/libquadmath && \
44922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44924 "RANLIB=$${RANLIB}" \
44925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44926 install-info) \
44927 || exit 1
44929 @endif target-libquadmath
44931 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
44932 maybe-install-pdf-target-libquadmath:
44933 @if target-libquadmath
44934 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
44936 install-pdf-target-libquadmath: \
44937 configure-target-libquadmath \
44938 pdf-target-libquadmath
44939 @: $(MAKE); $(unstage)
44940 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44941 r=`${PWD_COMMAND}`; export r; \
44942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44943 $(NORMAL_TARGET_EXPORTS) \
44944 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
44945 for flag in $(EXTRA_TARGET_FLAGS); do \
44946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44947 done; \
44948 (cd $(TARGET_SUBDIR)/libquadmath && \
44949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44951 "RANLIB=$${RANLIB}" \
44952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44953 install-pdf) \
44954 || exit 1
44956 @endif target-libquadmath
44958 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
44959 maybe-install-html-target-libquadmath:
44960 @if target-libquadmath
44961 maybe-install-html-target-libquadmath: install-html-target-libquadmath
44963 install-html-target-libquadmath: \
44964 configure-target-libquadmath \
44965 html-target-libquadmath
44966 @: $(MAKE); $(unstage)
44967 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44968 r=`${PWD_COMMAND}`; export r; \
44969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44970 $(NORMAL_TARGET_EXPORTS) \
44971 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
44972 for flag in $(EXTRA_TARGET_FLAGS); do \
44973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44974 done; \
44975 (cd $(TARGET_SUBDIR)/libquadmath && \
44976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44978 "RANLIB=$${RANLIB}" \
44979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44980 install-html) \
44981 || exit 1
44983 @endif target-libquadmath
44985 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
44986 maybe-installcheck-target-libquadmath:
44987 @if target-libquadmath
44988 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
44990 installcheck-target-libquadmath: \
44991 configure-target-libquadmath
44992 @: $(MAKE); $(unstage)
44993 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44994 r=`${PWD_COMMAND}`; export r; \
44995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44996 $(NORMAL_TARGET_EXPORTS) \
44997 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
44998 for flag in $(EXTRA_TARGET_FLAGS); do \
44999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45000 done; \
45001 (cd $(TARGET_SUBDIR)/libquadmath && \
45002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45004 "RANLIB=$${RANLIB}" \
45005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45006 installcheck) \
45007 || exit 1
45009 @endif target-libquadmath
45011 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
45012 maybe-mostlyclean-target-libquadmath:
45013 @if target-libquadmath
45014 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
45016 mostlyclean-target-libquadmath:
45017 @: $(MAKE); $(unstage)
45018 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45019 r=`${PWD_COMMAND}`; export r; \
45020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45021 $(NORMAL_TARGET_EXPORTS) \
45022 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
45023 for flag in $(EXTRA_TARGET_FLAGS); do \
45024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45025 done; \
45026 (cd $(TARGET_SUBDIR)/libquadmath && \
45027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45029 "RANLIB=$${RANLIB}" \
45030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45031 mostlyclean) \
45032 || exit 1
45034 @endif target-libquadmath
45036 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
45037 maybe-clean-target-libquadmath:
45038 @if target-libquadmath
45039 maybe-clean-target-libquadmath: clean-target-libquadmath
45041 clean-target-libquadmath:
45042 @: $(MAKE); $(unstage)
45043 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45044 r=`${PWD_COMMAND}`; export r; \
45045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45046 $(NORMAL_TARGET_EXPORTS) \
45047 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
45048 for flag in $(EXTRA_TARGET_FLAGS); do \
45049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45050 done; \
45051 (cd $(TARGET_SUBDIR)/libquadmath && \
45052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45054 "RANLIB=$${RANLIB}" \
45055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45056 clean) \
45057 || exit 1
45059 @endif target-libquadmath
45061 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
45062 maybe-distclean-target-libquadmath:
45063 @if target-libquadmath
45064 maybe-distclean-target-libquadmath: distclean-target-libquadmath
45066 distclean-target-libquadmath:
45067 @: $(MAKE); $(unstage)
45068 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45069 r=`${PWD_COMMAND}`; export r; \
45070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45071 $(NORMAL_TARGET_EXPORTS) \
45072 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
45073 for flag in $(EXTRA_TARGET_FLAGS); do \
45074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45075 done; \
45076 (cd $(TARGET_SUBDIR)/libquadmath && \
45077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45079 "RANLIB=$${RANLIB}" \
45080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45081 distclean) \
45082 || exit 1
45084 @endif target-libquadmath
45086 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
45087 maybe-maintainer-clean-target-libquadmath:
45088 @if target-libquadmath
45089 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
45091 maintainer-clean-target-libquadmath:
45092 @: $(MAKE); $(unstage)
45093 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45094 r=`${PWD_COMMAND}`; export r; \
45095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45096 $(NORMAL_TARGET_EXPORTS) \
45097 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
45098 for flag in $(EXTRA_TARGET_FLAGS); do \
45099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45100 done; \
45101 (cd $(TARGET_SUBDIR)/libquadmath && \
45102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45104 "RANLIB=$${RANLIB}" \
45105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45106 maintainer-clean) \
45107 || exit 1
45109 @endif target-libquadmath
45115 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
45116 maybe-configure-target-libgfortran:
45117 @if gcc-bootstrap
45118 configure-target-libgfortran: stage_current
45119 @endif gcc-bootstrap
45120 @if target-libgfortran
45121 maybe-configure-target-libgfortran: configure-target-libgfortran
45122 configure-target-libgfortran:
45123 @: $(MAKE); $(unstage)
45124 @r=`${PWD_COMMAND}`; export r; \
45125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45126 echo "Checking multilib configuration for libgfortran..."; \
45127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
45128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
45129 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45130 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45131 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
45132 else \
45133 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
45134 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45135 fi; \
45136 else \
45137 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45138 fi; \
45139 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
45140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
45141 $(NORMAL_TARGET_EXPORTS) \
45142 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
45143 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
45144 case $(srcdir) in \
45145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45146 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
45147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45148 esac; \
45149 module_srcdir=libgfortran; \
45150 rm -f no-such-file || : ; \
45151 CONFIG_SITE=no-such-file $(SHELL) \
45152 $$s/$$module_srcdir/configure \
45153 --srcdir=$${topdir}/$$module_srcdir \
45154 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45155 --target=${target_alias} \
45156 || exit 1
45157 @endif target-libgfortran
45163 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
45164 maybe-all-target-libgfortran:
45165 @if gcc-bootstrap
45166 all-target-libgfortran: stage_current
45167 @endif gcc-bootstrap
45168 @if target-libgfortran
45169 TARGET-target-libgfortran=all
45170 maybe-all-target-libgfortran: all-target-libgfortran
45171 all-target-libgfortran: configure-target-libgfortran
45172 @: $(MAKE); $(unstage)
45173 @r=`${PWD_COMMAND}`; export r; \
45174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45175 $(NORMAL_TARGET_EXPORTS) \
45176 (cd $(TARGET_SUBDIR)/libgfortran && \
45177 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45178 $(TARGET-target-libgfortran))
45179 @endif target-libgfortran
45185 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
45186 maybe-check-target-libgfortran:
45187 @if target-libgfortran
45188 maybe-check-target-libgfortran: check-target-libgfortran
45190 check-target-libgfortran:
45191 @: $(MAKE); $(unstage)
45192 @r=`${PWD_COMMAND}`; export r; \
45193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45194 $(NORMAL_TARGET_EXPORTS) \
45195 (cd $(TARGET_SUBDIR)/libgfortran && \
45196 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45198 @endif target-libgfortran
45200 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
45201 maybe-install-target-libgfortran:
45202 @if target-libgfortran
45203 maybe-install-target-libgfortran: install-target-libgfortran
45205 install-target-libgfortran: installdirs
45206 @: $(MAKE); $(unstage)
45207 @r=`${PWD_COMMAND}`; export r; \
45208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45209 $(NORMAL_TARGET_EXPORTS) \
45210 (cd $(TARGET_SUBDIR)/libgfortran && \
45211 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45213 @endif target-libgfortran
45215 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
45216 maybe-install-strip-target-libgfortran:
45217 @if target-libgfortran
45218 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
45220 install-strip-target-libgfortran: installdirs
45221 @: $(MAKE); $(unstage)
45222 @r=`${PWD_COMMAND}`; export r; \
45223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45224 $(NORMAL_TARGET_EXPORTS) \
45225 (cd $(TARGET_SUBDIR)/libgfortran && \
45226 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45228 @endif target-libgfortran
45230 # Other targets (info, dvi, pdf, etc.)
45232 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
45233 maybe-info-target-libgfortran:
45234 @if target-libgfortran
45235 maybe-info-target-libgfortran: info-target-libgfortran
45237 info-target-libgfortran: \
45238 configure-target-libgfortran
45239 @: $(MAKE); $(unstage)
45240 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45241 r=`${PWD_COMMAND}`; export r; \
45242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45243 $(NORMAL_TARGET_EXPORTS) \
45244 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
45245 for flag in $(EXTRA_TARGET_FLAGS); do \
45246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45247 done; \
45248 (cd $(TARGET_SUBDIR)/libgfortran && \
45249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45251 "RANLIB=$${RANLIB}" \
45252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45253 info) \
45254 || exit 1
45256 @endif target-libgfortran
45258 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
45259 maybe-dvi-target-libgfortran:
45260 @if target-libgfortran
45261 maybe-dvi-target-libgfortran: dvi-target-libgfortran
45263 dvi-target-libgfortran: \
45264 configure-target-libgfortran
45265 @: $(MAKE); $(unstage)
45266 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45267 r=`${PWD_COMMAND}`; export r; \
45268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45269 $(NORMAL_TARGET_EXPORTS) \
45270 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
45271 for flag in $(EXTRA_TARGET_FLAGS); do \
45272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45273 done; \
45274 (cd $(TARGET_SUBDIR)/libgfortran && \
45275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45277 "RANLIB=$${RANLIB}" \
45278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45279 dvi) \
45280 || exit 1
45282 @endif target-libgfortran
45284 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
45285 maybe-pdf-target-libgfortran:
45286 @if target-libgfortran
45287 maybe-pdf-target-libgfortran: pdf-target-libgfortran
45289 pdf-target-libgfortran: \
45290 configure-target-libgfortran
45291 @: $(MAKE); $(unstage)
45292 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45293 r=`${PWD_COMMAND}`; export r; \
45294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45295 $(NORMAL_TARGET_EXPORTS) \
45296 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
45297 for flag in $(EXTRA_TARGET_FLAGS); do \
45298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45299 done; \
45300 (cd $(TARGET_SUBDIR)/libgfortran && \
45301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45303 "RANLIB=$${RANLIB}" \
45304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45305 pdf) \
45306 || exit 1
45308 @endif target-libgfortran
45310 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
45311 maybe-html-target-libgfortran:
45312 @if target-libgfortran
45313 maybe-html-target-libgfortran: html-target-libgfortran
45315 html-target-libgfortran: \
45316 configure-target-libgfortran
45317 @: $(MAKE); $(unstage)
45318 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45319 r=`${PWD_COMMAND}`; export r; \
45320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45321 $(NORMAL_TARGET_EXPORTS) \
45322 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
45323 for flag in $(EXTRA_TARGET_FLAGS); do \
45324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45325 done; \
45326 (cd $(TARGET_SUBDIR)/libgfortran && \
45327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45329 "RANLIB=$${RANLIB}" \
45330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45331 html) \
45332 || exit 1
45334 @endif target-libgfortran
45336 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
45337 maybe-TAGS-target-libgfortran:
45338 @if target-libgfortran
45339 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
45341 TAGS-target-libgfortran: \
45342 configure-target-libgfortran
45343 @: $(MAKE); $(unstage)
45344 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45345 r=`${PWD_COMMAND}`; export r; \
45346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45347 $(NORMAL_TARGET_EXPORTS) \
45348 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
45349 for flag in $(EXTRA_TARGET_FLAGS); do \
45350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45351 done; \
45352 (cd $(TARGET_SUBDIR)/libgfortran && \
45353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45355 "RANLIB=$${RANLIB}" \
45356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45357 TAGS) \
45358 || exit 1
45360 @endif target-libgfortran
45362 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
45363 maybe-install-info-target-libgfortran:
45364 @if target-libgfortran
45365 maybe-install-info-target-libgfortran: install-info-target-libgfortran
45367 install-info-target-libgfortran: \
45368 configure-target-libgfortran \
45369 info-target-libgfortran
45370 @: $(MAKE); $(unstage)
45371 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45372 r=`${PWD_COMMAND}`; export r; \
45373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45374 $(NORMAL_TARGET_EXPORTS) \
45375 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
45376 for flag in $(EXTRA_TARGET_FLAGS); do \
45377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45378 done; \
45379 (cd $(TARGET_SUBDIR)/libgfortran && \
45380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45382 "RANLIB=$${RANLIB}" \
45383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45384 install-info) \
45385 || exit 1
45387 @endif target-libgfortran
45389 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45390 maybe-install-pdf-target-libgfortran:
45391 @if target-libgfortran
45392 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45394 install-pdf-target-libgfortran: \
45395 configure-target-libgfortran \
45396 pdf-target-libgfortran
45397 @: $(MAKE); $(unstage)
45398 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45399 r=`${PWD_COMMAND}`; export r; \
45400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45401 $(NORMAL_TARGET_EXPORTS) \
45402 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
45403 for flag in $(EXTRA_TARGET_FLAGS); do \
45404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45405 done; \
45406 (cd $(TARGET_SUBDIR)/libgfortran && \
45407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45409 "RANLIB=$${RANLIB}" \
45410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45411 install-pdf) \
45412 || exit 1
45414 @endif target-libgfortran
45416 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45417 maybe-install-html-target-libgfortran:
45418 @if target-libgfortran
45419 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45421 install-html-target-libgfortran: \
45422 configure-target-libgfortran \
45423 html-target-libgfortran
45424 @: $(MAKE); $(unstage)
45425 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45426 r=`${PWD_COMMAND}`; export r; \
45427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45428 $(NORMAL_TARGET_EXPORTS) \
45429 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
45430 for flag in $(EXTRA_TARGET_FLAGS); do \
45431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45432 done; \
45433 (cd $(TARGET_SUBDIR)/libgfortran && \
45434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45436 "RANLIB=$${RANLIB}" \
45437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45438 install-html) \
45439 || exit 1
45441 @endif target-libgfortran
45443 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45444 maybe-installcheck-target-libgfortran:
45445 @if target-libgfortran
45446 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45448 installcheck-target-libgfortran: \
45449 configure-target-libgfortran
45450 @: $(MAKE); $(unstage)
45451 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45452 r=`${PWD_COMMAND}`; export r; \
45453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45454 $(NORMAL_TARGET_EXPORTS) \
45455 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
45456 for flag in $(EXTRA_TARGET_FLAGS); do \
45457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45458 done; \
45459 (cd $(TARGET_SUBDIR)/libgfortran && \
45460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45462 "RANLIB=$${RANLIB}" \
45463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45464 installcheck) \
45465 || exit 1
45467 @endif target-libgfortran
45469 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45470 maybe-mostlyclean-target-libgfortran:
45471 @if target-libgfortran
45472 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45474 mostlyclean-target-libgfortran:
45475 @: $(MAKE); $(unstage)
45476 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45477 r=`${PWD_COMMAND}`; export r; \
45478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45479 $(NORMAL_TARGET_EXPORTS) \
45480 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
45481 for flag in $(EXTRA_TARGET_FLAGS); do \
45482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45483 done; \
45484 (cd $(TARGET_SUBDIR)/libgfortran && \
45485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45487 "RANLIB=$${RANLIB}" \
45488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45489 mostlyclean) \
45490 || exit 1
45492 @endif target-libgfortran
45494 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45495 maybe-clean-target-libgfortran:
45496 @if target-libgfortran
45497 maybe-clean-target-libgfortran: clean-target-libgfortran
45499 clean-target-libgfortran:
45500 @: $(MAKE); $(unstage)
45501 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45502 r=`${PWD_COMMAND}`; export r; \
45503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45504 $(NORMAL_TARGET_EXPORTS) \
45505 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
45506 for flag in $(EXTRA_TARGET_FLAGS); do \
45507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45508 done; \
45509 (cd $(TARGET_SUBDIR)/libgfortran && \
45510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45512 "RANLIB=$${RANLIB}" \
45513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45514 clean) \
45515 || exit 1
45517 @endif target-libgfortran
45519 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45520 maybe-distclean-target-libgfortran:
45521 @if target-libgfortran
45522 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45524 distclean-target-libgfortran:
45525 @: $(MAKE); $(unstage)
45526 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45527 r=`${PWD_COMMAND}`; export r; \
45528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45529 $(NORMAL_TARGET_EXPORTS) \
45530 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
45531 for flag in $(EXTRA_TARGET_FLAGS); do \
45532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45533 done; \
45534 (cd $(TARGET_SUBDIR)/libgfortran && \
45535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45537 "RANLIB=$${RANLIB}" \
45538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45539 distclean) \
45540 || exit 1
45542 @endif target-libgfortran
45544 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45545 maybe-maintainer-clean-target-libgfortran:
45546 @if target-libgfortran
45547 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45549 maintainer-clean-target-libgfortran:
45550 @: $(MAKE); $(unstage)
45551 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45552 r=`${PWD_COMMAND}`; export r; \
45553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45554 $(NORMAL_TARGET_EXPORTS) \
45555 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
45556 for flag in $(EXTRA_TARGET_FLAGS); do \
45557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45558 done; \
45559 (cd $(TARGET_SUBDIR)/libgfortran && \
45560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45562 "RANLIB=$${RANLIB}" \
45563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45564 maintainer-clean) \
45565 || exit 1
45567 @endif target-libgfortran
45573 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45574 maybe-configure-target-libobjc:
45575 @if gcc-bootstrap
45576 configure-target-libobjc: stage_current
45577 @endif gcc-bootstrap
45578 @if target-libobjc
45579 maybe-configure-target-libobjc: configure-target-libobjc
45580 configure-target-libobjc:
45581 @: $(MAKE); $(unstage)
45582 @r=`${PWD_COMMAND}`; export r; \
45583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45584 echo "Checking multilib configuration for libobjc..."; \
45585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45586 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
45587 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45588 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45589 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45590 else \
45591 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45592 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45593 fi; \
45594 else \
45595 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45596 fi; \
45597 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
45598 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45599 $(NORMAL_TARGET_EXPORTS) \
45600 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
45601 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
45602 case $(srcdir) in \
45603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45604 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
45605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45606 esac; \
45607 module_srcdir=libobjc; \
45608 rm -f no-such-file || : ; \
45609 CONFIG_SITE=no-such-file $(SHELL) \
45610 $$s/$$module_srcdir/configure \
45611 --srcdir=$${topdir}/$$module_srcdir \
45612 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45613 --target=${target_alias} \
45614 || exit 1
45615 @endif target-libobjc
45621 .PHONY: all-target-libobjc maybe-all-target-libobjc
45622 maybe-all-target-libobjc:
45623 @if gcc-bootstrap
45624 all-target-libobjc: stage_current
45625 @endif gcc-bootstrap
45626 @if target-libobjc
45627 TARGET-target-libobjc=all
45628 maybe-all-target-libobjc: all-target-libobjc
45629 all-target-libobjc: configure-target-libobjc
45630 @: $(MAKE); $(unstage)
45631 @r=`${PWD_COMMAND}`; export r; \
45632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45633 $(NORMAL_TARGET_EXPORTS) \
45634 (cd $(TARGET_SUBDIR)/libobjc && \
45635 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45636 $(TARGET-target-libobjc))
45637 @endif target-libobjc
45643 .PHONY: check-target-libobjc maybe-check-target-libobjc
45644 maybe-check-target-libobjc:
45645 @if target-libobjc
45646 maybe-check-target-libobjc: check-target-libobjc
45648 check-target-libobjc:
45649 @: $(MAKE); $(unstage)
45650 @r=`${PWD_COMMAND}`; export r; \
45651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45652 $(NORMAL_TARGET_EXPORTS) \
45653 (cd $(TARGET_SUBDIR)/libobjc && \
45654 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45656 @endif target-libobjc
45658 .PHONY: install-target-libobjc maybe-install-target-libobjc
45659 maybe-install-target-libobjc:
45660 @if target-libobjc
45661 maybe-install-target-libobjc: install-target-libobjc
45663 install-target-libobjc: installdirs
45664 @: $(MAKE); $(unstage)
45665 @r=`${PWD_COMMAND}`; export r; \
45666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45667 $(NORMAL_TARGET_EXPORTS) \
45668 (cd $(TARGET_SUBDIR)/libobjc && \
45669 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45671 @endif target-libobjc
45673 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
45674 maybe-install-strip-target-libobjc:
45675 @if target-libobjc
45676 maybe-install-strip-target-libobjc: install-strip-target-libobjc
45678 install-strip-target-libobjc: installdirs
45679 @: $(MAKE); $(unstage)
45680 @r=`${PWD_COMMAND}`; export r; \
45681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45682 $(NORMAL_TARGET_EXPORTS) \
45683 (cd $(TARGET_SUBDIR)/libobjc && \
45684 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45686 @endif target-libobjc
45688 # Other targets (info, dvi, pdf, etc.)
45690 .PHONY: maybe-info-target-libobjc info-target-libobjc
45691 maybe-info-target-libobjc:
45692 @if target-libobjc
45693 maybe-info-target-libobjc: info-target-libobjc
45695 info-target-libobjc: \
45696 configure-target-libobjc
45697 @: $(MAKE); $(unstage)
45698 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45699 r=`${PWD_COMMAND}`; export r; \
45700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45701 $(NORMAL_TARGET_EXPORTS) \
45702 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
45703 for flag in $(EXTRA_TARGET_FLAGS); do \
45704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45705 done; \
45706 (cd $(TARGET_SUBDIR)/libobjc && \
45707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45709 "RANLIB=$${RANLIB}" \
45710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45711 info) \
45712 || exit 1
45714 @endif target-libobjc
45716 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
45717 maybe-dvi-target-libobjc:
45718 @if target-libobjc
45719 maybe-dvi-target-libobjc: dvi-target-libobjc
45721 dvi-target-libobjc: \
45722 configure-target-libobjc
45723 @: $(MAKE); $(unstage)
45724 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45725 r=`${PWD_COMMAND}`; export r; \
45726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45727 $(NORMAL_TARGET_EXPORTS) \
45728 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
45729 for flag in $(EXTRA_TARGET_FLAGS); do \
45730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45731 done; \
45732 (cd $(TARGET_SUBDIR)/libobjc && \
45733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45735 "RANLIB=$${RANLIB}" \
45736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45737 dvi) \
45738 || exit 1
45740 @endif target-libobjc
45742 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
45743 maybe-pdf-target-libobjc:
45744 @if target-libobjc
45745 maybe-pdf-target-libobjc: pdf-target-libobjc
45747 pdf-target-libobjc: \
45748 configure-target-libobjc
45749 @: $(MAKE); $(unstage)
45750 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45751 r=`${PWD_COMMAND}`; export r; \
45752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45753 $(NORMAL_TARGET_EXPORTS) \
45754 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
45755 for flag in $(EXTRA_TARGET_FLAGS); do \
45756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45757 done; \
45758 (cd $(TARGET_SUBDIR)/libobjc && \
45759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45761 "RANLIB=$${RANLIB}" \
45762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45763 pdf) \
45764 || exit 1
45766 @endif target-libobjc
45768 .PHONY: maybe-html-target-libobjc html-target-libobjc
45769 maybe-html-target-libobjc:
45770 @if target-libobjc
45771 maybe-html-target-libobjc: html-target-libobjc
45773 html-target-libobjc: \
45774 configure-target-libobjc
45775 @: $(MAKE); $(unstage)
45776 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45777 r=`${PWD_COMMAND}`; export r; \
45778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45779 $(NORMAL_TARGET_EXPORTS) \
45780 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
45781 for flag in $(EXTRA_TARGET_FLAGS); do \
45782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45783 done; \
45784 (cd $(TARGET_SUBDIR)/libobjc && \
45785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45787 "RANLIB=$${RANLIB}" \
45788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45789 html) \
45790 || exit 1
45792 @endif target-libobjc
45794 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
45795 maybe-TAGS-target-libobjc:
45796 @if target-libobjc
45797 maybe-TAGS-target-libobjc: TAGS-target-libobjc
45799 TAGS-target-libobjc: \
45800 configure-target-libobjc
45801 @: $(MAKE); $(unstage)
45802 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45803 r=`${PWD_COMMAND}`; export r; \
45804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45805 $(NORMAL_TARGET_EXPORTS) \
45806 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
45807 for flag in $(EXTRA_TARGET_FLAGS); do \
45808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45809 done; \
45810 (cd $(TARGET_SUBDIR)/libobjc && \
45811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45813 "RANLIB=$${RANLIB}" \
45814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45815 TAGS) \
45816 || exit 1
45818 @endif target-libobjc
45820 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
45821 maybe-install-info-target-libobjc:
45822 @if target-libobjc
45823 maybe-install-info-target-libobjc: install-info-target-libobjc
45825 install-info-target-libobjc: \
45826 configure-target-libobjc \
45827 info-target-libobjc
45828 @: $(MAKE); $(unstage)
45829 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45830 r=`${PWD_COMMAND}`; export r; \
45831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45832 $(NORMAL_TARGET_EXPORTS) \
45833 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
45834 for flag in $(EXTRA_TARGET_FLAGS); do \
45835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45836 done; \
45837 (cd $(TARGET_SUBDIR)/libobjc && \
45838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45840 "RANLIB=$${RANLIB}" \
45841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45842 install-info) \
45843 || exit 1
45845 @endif target-libobjc
45847 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
45848 maybe-install-pdf-target-libobjc:
45849 @if target-libobjc
45850 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
45852 install-pdf-target-libobjc: \
45853 configure-target-libobjc \
45854 pdf-target-libobjc
45855 @: $(MAKE); $(unstage)
45856 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45857 r=`${PWD_COMMAND}`; export r; \
45858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45859 $(NORMAL_TARGET_EXPORTS) \
45860 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
45861 for flag in $(EXTRA_TARGET_FLAGS); do \
45862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45863 done; \
45864 (cd $(TARGET_SUBDIR)/libobjc && \
45865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45867 "RANLIB=$${RANLIB}" \
45868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45869 install-pdf) \
45870 || exit 1
45872 @endif target-libobjc
45874 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
45875 maybe-install-html-target-libobjc:
45876 @if target-libobjc
45877 maybe-install-html-target-libobjc: install-html-target-libobjc
45879 install-html-target-libobjc: \
45880 configure-target-libobjc \
45881 html-target-libobjc
45882 @: $(MAKE); $(unstage)
45883 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45884 r=`${PWD_COMMAND}`; export r; \
45885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45886 $(NORMAL_TARGET_EXPORTS) \
45887 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
45888 for flag in $(EXTRA_TARGET_FLAGS); do \
45889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45890 done; \
45891 (cd $(TARGET_SUBDIR)/libobjc && \
45892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45894 "RANLIB=$${RANLIB}" \
45895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45896 install-html) \
45897 || exit 1
45899 @endif target-libobjc
45901 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
45902 maybe-installcheck-target-libobjc:
45903 @if target-libobjc
45904 maybe-installcheck-target-libobjc: installcheck-target-libobjc
45906 installcheck-target-libobjc: \
45907 configure-target-libobjc
45908 @: $(MAKE); $(unstage)
45909 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45910 r=`${PWD_COMMAND}`; export r; \
45911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45912 $(NORMAL_TARGET_EXPORTS) \
45913 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
45914 for flag in $(EXTRA_TARGET_FLAGS); do \
45915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45916 done; \
45917 (cd $(TARGET_SUBDIR)/libobjc && \
45918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45920 "RANLIB=$${RANLIB}" \
45921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45922 installcheck) \
45923 || exit 1
45925 @endif target-libobjc
45927 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
45928 maybe-mostlyclean-target-libobjc:
45929 @if target-libobjc
45930 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
45932 mostlyclean-target-libobjc:
45933 @: $(MAKE); $(unstage)
45934 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45935 r=`${PWD_COMMAND}`; export r; \
45936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45937 $(NORMAL_TARGET_EXPORTS) \
45938 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
45939 for flag in $(EXTRA_TARGET_FLAGS); do \
45940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45941 done; \
45942 (cd $(TARGET_SUBDIR)/libobjc && \
45943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45945 "RANLIB=$${RANLIB}" \
45946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45947 mostlyclean) \
45948 || exit 1
45950 @endif target-libobjc
45952 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
45953 maybe-clean-target-libobjc:
45954 @if target-libobjc
45955 maybe-clean-target-libobjc: clean-target-libobjc
45957 clean-target-libobjc:
45958 @: $(MAKE); $(unstage)
45959 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45960 r=`${PWD_COMMAND}`; export r; \
45961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45962 $(NORMAL_TARGET_EXPORTS) \
45963 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
45964 for flag in $(EXTRA_TARGET_FLAGS); do \
45965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45966 done; \
45967 (cd $(TARGET_SUBDIR)/libobjc && \
45968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45970 "RANLIB=$${RANLIB}" \
45971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45972 clean) \
45973 || exit 1
45975 @endif target-libobjc
45977 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
45978 maybe-distclean-target-libobjc:
45979 @if target-libobjc
45980 maybe-distclean-target-libobjc: distclean-target-libobjc
45982 distclean-target-libobjc:
45983 @: $(MAKE); $(unstage)
45984 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45985 r=`${PWD_COMMAND}`; export r; \
45986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45987 $(NORMAL_TARGET_EXPORTS) \
45988 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
45989 for flag in $(EXTRA_TARGET_FLAGS); do \
45990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45991 done; \
45992 (cd $(TARGET_SUBDIR)/libobjc && \
45993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45995 "RANLIB=$${RANLIB}" \
45996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45997 distclean) \
45998 || exit 1
46000 @endif target-libobjc
46002 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
46003 maybe-maintainer-clean-target-libobjc:
46004 @if target-libobjc
46005 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
46007 maintainer-clean-target-libobjc:
46008 @: $(MAKE); $(unstage)
46009 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46010 r=`${PWD_COMMAND}`; export r; \
46011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46012 $(NORMAL_TARGET_EXPORTS) \
46013 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
46014 for flag in $(EXTRA_TARGET_FLAGS); do \
46015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46016 done; \
46017 (cd $(TARGET_SUBDIR)/libobjc && \
46018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46020 "RANLIB=$${RANLIB}" \
46021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46022 maintainer-clean) \
46023 || exit 1
46025 @endif target-libobjc
46031 .PHONY: configure-target-libgo maybe-configure-target-libgo
46032 maybe-configure-target-libgo:
46033 @if gcc-bootstrap
46034 configure-target-libgo: stage_current
46035 @endif gcc-bootstrap
46036 @if target-libgo
46037 maybe-configure-target-libgo: configure-target-libgo
46038 configure-target-libgo:
46039 @: $(MAKE); $(unstage)
46040 @r=`${PWD_COMMAND}`; export r; \
46041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46042 echo "Checking multilib configuration for libgo..."; \
46043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
46044 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
46045 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
46046 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
46047 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
46048 else \
46049 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
46050 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
46051 fi; \
46052 else \
46053 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
46054 fi; \
46055 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
46056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
46057 $(NORMAL_TARGET_EXPORTS) \
46058 echo Configuring in $(TARGET_SUBDIR)/libgo; \
46059 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
46060 case $(srcdir) in \
46061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46062 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
46063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46064 esac; \
46065 module_srcdir=libgo; \
46066 rm -f no-such-file || : ; \
46067 CONFIG_SITE=no-such-file $(SHELL) \
46068 $$s/$$module_srcdir/configure \
46069 --srcdir=$${topdir}/$$module_srcdir \
46070 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46071 --target=${target_alias} \
46072 || exit 1
46073 @endif target-libgo
46079 .PHONY: all-target-libgo maybe-all-target-libgo
46080 maybe-all-target-libgo:
46081 @if gcc-bootstrap
46082 all-target-libgo: stage_current
46083 @endif gcc-bootstrap
46084 @if target-libgo
46085 TARGET-target-libgo=all
46086 maybe-all-target-libgo: all-target-libgo
46087 all-target-libgo: configure-target-libgo
46088 @: $(MAKE); $(unstage)
46089 @r=`${PWD_COMMAND}`; export r; \
46090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46091 $(NORMAL_TARGET_EXPORTS) \
46092 (cd $(TARGET_SUBDIR)/libgo && \
46093 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46094 $(TARGET-target-libgo))
46095 @endif target-libgo
46101 .PHONY: check-target-libgo maybe-check-target-libgo
46102 maybe-check-target-libgo:
46103 @if target-libgo
46104 maybe-check-target-libgo: check-target-libgo
46106 check-target-libgo:
46107 @: $(MAKE); $(unstage)
46108 @r=`${PWD_COMMAND}`; export r; \
46109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46110 $(NORMAL_TARGET_EXPORTS) \
46111 (cd $(TARGET_SUBDIR)/libgo && \
46112 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46114 @endif target-libgo
46116 .PHONY: install-target-libgo maybe-install-target-libgo
46117 maybe-install-target-libgo:
46118 @if target-libgo
46119 maybe-install-target-libgo: install-target-libgo
46121 install-target-libgo: installdirs
46122 @: $(MAKE); $(unstage)
46123 @r=`${PWD_COMMAND}`; export r; \
46124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46125 $(NORMAL_TARGET_EXPORTS) \
46126 (cd $(TARGET_SUBDIR)/libgo && \
46127 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46129 @endif target-libgo
46131 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
46132 maybe-install-strip-target-libgo:
46133 @if target-libgo
46134 maybe-install-strip-target-libgo: install-strip-target-libgo
46136 install-strip-target-libgo: installdirs
46137 @: $(MAKE); $(unstage)
46138 @r=`${PWD_COMMAND}`; export r; \
46139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46140 $(NORMAL_TARGET_EXPORTS) \
46141 (cd $(TARGET_SUBDIR)/libgo && \
46142 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46144 @endif target-libgo
46146 # Other targets (info, dvi, pdf, etc.)
46148 .PHONY: maybe-info-target-libgo info-target-libgo
46149 maybe-info-target-libgo:
46150 @if target-libgo
46151 maybe-info-target-libgo: info-target-libgo
46153 info-target-libgo: \
46154 configure-target-libgo
46155 @: $(MAKE); $(unstage)
46156 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46157 r=`${PWD_COMMAND}`; export r; \
46158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46159 $(NORMAL_TARGET_EXPORTS) \
46160 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
46161 for flag in $(EXTRA_TARGET_FLAGS); do \
46162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46163 done; \
46164 (cd $(TARGET_SUBDIR)/libgo && \
46165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46167 "RANLIB=$${RANLIB}" \
46168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46169 info) \
46170 || exit 1
46172 @endif target-libgo
46174 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
46175 maybe-dvi-target-libgo:
46176 @if target-libgo
46177 maybe-dvi-target-libgo: dvi-target-libgo
46179 dvi-target-libgo: \
46180 configure-target-libgo
46181 @: $(MAKE); $(unstage)
46182 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46183 r=`${PWD_COMMAND}`; export r; \
46184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46185 $(NORMAL_TARGET_EXPORTS) \
46186 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
46187 for flag in $(EXTRA_TARGET_FLAGS); do \
46188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46189 done; \
46190 (cd $(TARGET_SUBDIR)/libgo && \
46191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46193 "RANLIB=$${RANLIB}" \
46194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46195 dvi) \
46196 || exit 1
46198 @endif target-libgo
46200 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
46201 maybe-pdf-target-libgo:
46202 @if target-libgo
46203 maybe-pdf-target-libgo: pdf-target-libgo
46205 pdf-target-libgo: \
46206 configure-target-libgo
46207 @: $(MAKE); $(unstage)
46208 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46209 r=`${PWD_COMMAND}`; export r; \
46210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46211 $(NORMAL_TARGET_EXPORTS) \
46212 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
46213 for flag in $(EXTRA_TARGET_FLAGS); do \
46214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46215 done; \
46216 (cd $(TARGET_SUBDIR)/libgo && \
46217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46219 "RANLIB=$${RANLIB}" \
46220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46221 pdf) \
46222 || exit 1
46224 @endif target-libgo
46226 .PHONY: maybe-html-target-libgo html-target-libgo
46227 maybe-html-target-libgo:
46228 @if target-libgo
46229 maybe-html-target-libgo: html-target-libgo
46231 html-target-libgo: \
46232 configure-target-libgo
46233 @: $(MAKE); $(unstage)
46234 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46235 r=`${PWD_COMMAND}`; export r; \
46236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46237 $(NORMAL_TARGET_EXPORTS) \
46238 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
46239 for flag in $(EXTRA_TARGET_FLAGS); do \
46240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46241 done; \
46242 (cd $(TARGET_SUBDIR)/libgo && \
46243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46245 "RANLIB=$${RANLIB}" \
46246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46247 html) \
46248 || exit 1
46250 @endif target-libgo
46252 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
46253 maybe-TAGS-target-libgo:
46254 @if target-libgo
46255 maybe-TAGS-target-libgo: TAGS-target-libgo
46257 TAGS-target-libgo: \
46258 configure-target-libgo
46259 @: $(MAKE); $(unstage)
46260 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46261 r=`${PWD_COMMAND}`; export r; \
46262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46263 $(NORMAL_TARGET_EXPORTS) \
46264 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
46265 for flag in $(EXTRA_TARGET_FLAGS); do \
46266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46267 done; \
46268 (cd $(TARGET_SUBDIR)/libgo && \
46269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46271 "RANLIB=$${RANLIB}" \
46272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46273 TAGS) \
46274 || exit 1
46276 @endif target-libgo
46278 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
46279 maybe-install-info-target-libgo:
46280 @if target-libgo
46281 maybe-install-info-target-libgo: install-info-target-libgo
46283 install-info-target-libgo: \
46284 configure-target-libgo \
46285 info-target-libgo
46286 @: $(MAKE); $(unstage)
46287 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46288 r=`${PWD_COMMAND}`; export r; \
46289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46290 $(NORMAL_TARGET_EXPORTS) \
46291 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
46292 for flag in $(EXTRA_TARGET_FLAGS); do \
46293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46294 done; \
46295 (cd $(TARGET_SUBDIR)/libgo && \
46296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46298 "RANLIB=$${RANLIB}" \
46299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46300 install-info) \
46301 || exit 1
46303 @endif target-libgo
46305 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
46306 maybe-install-pdf-target-libgo:
46307 @if target-libgo
46308 maybe-install-pdf-target-libgo: install-pdf-target-libgo
46310 install-pdf-target-libgo: \
46311 configure-target-libgo \
46312 pdf-target-libgo
46313 @: $(MAKE); $(unstage)
46314 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46315 r=`${PWD_COMMAND}`; export r; \
46316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46317 $(NORMAL_TARGET_EXPORTS) \
46318 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
46319 for flag in $(EXTRA_TARGET_FLAGS); do \
46320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46321 done; \
46322 (cd $(TARGET_SUBDIR)/libgo && \
46323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46325 "RANLIB=$${RANLIB}" \
46326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46327 install-pdf) \
46328 || exit 1
46330 @endif target-libgo
46332 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
46333 maybe-install-html-target-libgo:
46334 @if target-libgo
46335 maybe-install-html-target-libgo: install-html-target-libgo
46337 install-html-target-libgo: \
46338 configure-target-libgo \
46339 html-target-libgo
46340 @: $(MAKE); $(unstage)
46341 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46342 r=`${PWD_COMMAND}`; export r; \
46343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46344 $(NORMAL_TARGET_EXPORTS) \
46345 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
46346 for flag in $(EXTRA_TARGET_FLAGS); do \
46347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46348 done; \
46349 (cd $(TARGET_SUBDIR)/libgo && \
46350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46352 "RANLIB=$${RANLIB}" \
46353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46354 install-html) \
46355 || exit 1
46357 @endif target-libgo
46359 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
46360 maybe-installcheck-target-libgo:
46361 @if target-libgo
46362 maybe-installcheck-target-libgo: installcheck-target-libgo
46364 installcheck-target-libgo: \
46365 configure-target-libgo
46366 @: $(MAKE); $(unstage)
46367 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46368 r=`${PWD_COMMAND}`; export r; \
46369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46370 $(NORMAL_TARGET_EXPORTS) \
46371 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
46372 for flag in $(EXTRA_TARGET_FLAGS); do \
46373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46374 done; \
46375 (cd $(TARGET_SUBDIR)/libgo && \
46376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46378 "RANLIB=$${RANLIB}" \
46379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46380 installcheck) \
46381 || exit 1
46383 @endif target-libgo
46385 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
46386 maybe-mostlyclean-target-libgo:
46387 @if target-libgo
46388 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
46390 mostlyclean-target-libgo:
46391 @: $(MAKE); $(unstage)
46392 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46393 r=`${PWD_COMMAND}`; export r; \
46394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46395 $(NORMAL_TARGET_EXPORTS) \
46396 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
46397 for flag in $(EXTRA_TARGET_FLAGS); do \
46398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46399 done; \
46400 (cd $(TARGET_SUBDIR)/libgo && \
46401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46403 "RANLIB=$${RANLIB}" \
46404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46405 mostlyclean) \
46406 || exit 1
46408 @endif target-libgo
46410 .PHONY: maybe-clean-target-libgo clean-target-libgo
46411 maybe-clean-target-libgo:
46412 @if target-libgo
46413 maybe-clean-target-libgo: clean-target-libgo
46415 clean-target-libgo:
46416 @: $(MAKE); $(unstage)
46417 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46418 r=`${PWD_COMMAND}`; export r; \
46419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46420 $(NORMAL_TARGET_EXPORTS) \
46421 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
46422 for flag in $(EXTRA_TARGET_FLAGS); do \
46423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46424 done; \
46425 (cd $(TARGET_SUBDIR)/libgo && \
46426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46428 "RANLIB=$${RANLIB}" \
46429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46430 clean) \
46431 || exit 1
46433 @endif target-libgo
46435 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
46436 maybe-distclean-target-libgo:
46437 @if target-libgo
46438 maybe-distclean-target-libgo: distclean-target-libgo
46440 distclean-target-libgo:
46441 @: $(MAKE); $(unstage)
46442 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46443 r=`${PWD_COMMAND}`; export r; \
46444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46445 $(NORMAL_TARGET_EXPORTS) \
46446 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
46447 for flag in $(EXTRA_TARGET_FLAGS); do \
46448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46449 done; \
46450 (cd $(TARGET_SUBDIR)/libgo && \
46451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46453 "RANLIB=$${RANLIB}" \
46454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46455 distclean) \
46456 || exit 1
46458 @endif target-libgo
46460 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
46461 maybe-maintainer-clean-target-libgo:
46462 @if target-libgo
46463 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
46465 maintainer-clean-target-libgo:
46466 @: $(MAKE); $(unstage)
46467 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46468 r=`${PWD_COMMAND}`; export r; \
46469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46470 $(NORMAL_TARGET_EXPORTS) \
46471 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
46472 for flag in $(EXTRA_TARGET_FLAGS); do \
46473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46474 done; \
46475 (cd $(TARGET_SUBDIR)/libgo && \
46476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46478 "RANLIB=$${RANLIB}" \
46479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46480 maintainer-clean) \
46481 || exit 1
46483 @endif target-libgo
46489 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
46490 maybe-configure-target-libhsail-rt:
46491 @if gcc-bootstrap
46492 configure-target-libhsail-rt: stage_current
46493 @endif gcc-bootstrap
46494 @if target-libhsail-rt
46495 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
46496 configure-target-libhsail-rt:
46497 @: $(MAKE); $(unstage)
46498 @r=`${PWD_COMMAND}`; export r; \
46499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46500 echo "Checking multilib configuration for libhsail-rt..."; \
46501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46502 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
46503 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46504 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46505 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
46506 else \
46507 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
46508 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46509 fi; \
46510 else \
46511 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46512 fi; \
46513 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
46514 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46515 $(NORMAL_TARGET_EXPORTS) \
46516 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
46517 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
46518 case $(srcdir) in \
46519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46520 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
46521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46522 esac; \
46523 module_srcdir=libhsail-rt; \
46524 rm -f no-such-file || : ; \
46525 CONFIG_SITE=no-such-file $(SHELL) \
46526 $$s/$$module_srcdir/configure \
46527 --srcdir=$${topdir}/$$module_srcdir \
46528 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46529 --target=${target_alias} \
46530 || exit 1
46531 @endif target-libhsail-rt
46537 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
46538 maybe-all-target-libhsail-rt:
46539 @if gcc-bootstrap
46540 all-target-libhsail-rt: stage_current
46541 @endif gcc-bootstrap
46542 @if target-libhsail-rt
46543 TARGET-target-libhsail-rt=all
46544 maybe-all-target-libhsail-rt: all-target-libhsail-rt
46545 all-target-libhsail-rt: configure-target-libhsail-rt
46546 @: $(MAKE); $(unstage)
46547 @r=`${PWD_COMMAND}`; export r; \
46548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46549 $(NORMAL_TARGET_EXPORTS) \
46550 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46551 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46552 $(TARGET-target-libhsail-rt))
46553 @endif target-libhsail-rt
46559 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
46560 maybe-check-target-libhsail-rt:
46561 @if target-libhsail-rt
46562 maybe-check-target-libhsail-rt: check-target-libhsail-rt
46564 check-target-libhsail-rt:
46565 @: $(MAKE); $(unstage)
46566 @r=`${PWD_COMMAND}`; export r; \
46567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46568 $(NORMAL_TARGET_EXPORTS) \
46569 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46570 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46572 @endif target-libhsail-rt
46574 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
46575 maybe-install-target-libhsail-rt:
46576 @if target-libhsail-rt
46577 maybe-install-target-libhsail-rt: install-target-libhsail-rt
46579 install-target-libhsail-rt: installdirs
46580 @: $(MAKE); $(unstage)
46581 @r=`${PWD_COMMAND}`; export r; \
46582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46583 $(NORMAL_TARGET_EXPORTS) \
46584 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46585 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46587 @endif target-libhsail-rt
46589 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
46590 maybe-install-strip-target-libhsail-rt:
46591 @if target-libhsail-rt
46592 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
46594 install-strip-target-libhsail-rt: installdirs
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)/libhsail-rt && \
46600 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46602 @endif target-libhsail-rt
46604 # Other targets (info, dvi, pdf, etc.)
46606 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
46607 maybe-info-target-libhsail-rt:
46608 @if target-libhsail-rt
46609 maybe-info-target-libhsail-rt: info-target-libhsail-rt
46611 info-target-libhsail-rt: \
46612 configure-target-libhsail-rt
46613 @: $(MAKE); $(unstage)
46614 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46615 r=`${PWD_COMMAND}`; export r; \
46616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46617 $(NORMAL_TARGET_EXPORTS) \
46618 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
46619 for flag in $(EXTRA_TARGET_FLAGS); do \
46620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46621 done; \
46622 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46625 "RANLIB=$${RANLIB}" \
46626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46627 info) \
46628 || exit 1
46630 @endif target-libhsail-rt
46632 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
46633 maybe-dvi-target-libhsail-rt:
46634 @if target-libhsail-rt
46635 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
46637 dvi-target-libhsail-rt: \
46638 configure-target-libhsail-rt
46639 @: $(MAKE); $(unstage)
46640 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46641 r=`${PWD_COMMAND}`; export r; \
46642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46643 $(NORMAL_TARGET_EXPORTS) \
46644 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
46645 for flag in $(EXTRA_TARGET_FLAGS); do \
46646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46647 done; \
46648 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46651 "RANLIB=$${RANLIB}" \
46652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46653 dvi) \
46654 || exit 1
46656 @endif target-libhsail-rt
46658 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
46659 maybe-pdf-target-libhsail-rt:
46660 @if target-libhsail-rt
46661 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
46663 pdf-target-libhsail-rt: \
46664 configure-target-libhsail-rt
46665 @: $(MAKE); $(unstage)
46666 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46667 r=`${PWD_COMMAND}`; export r; \
46668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46669 $(NORMAL_TARGET_EXPORTS) \
46670 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46671 for flag in $(EXTRA_TARGET_FLAGS); do \
46672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46673 done; \
46674 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46677 "RANLIB=$${RANLIB}" \
46678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46679 pdf) \
46680 || exit 1
46682 @endif target-libhsail-rt
46684 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
46685 maybe-html-target-libhsail-rt:
46686 @if target-libhsail-rt
46687 maybe-html-target-libhsail-rt: html-target-libhsail-rt
46689 html-target-libhsail-rt: \
46690 configure-target-libhsail-rt
46691 @: $(MAKE); $(unstage)
46692 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46693 r=`${PWD_COMMAND}`; export r; \
46694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46695 $(NORMAL_TARGET_EXPORTS) \
46696 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
46697 for flag in $(EXTRA_TARGET_FLAGS); do \
46698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46699 done; \
46700 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46703 "RANLIB=$${RANLIB}" \
46704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46705 html) \
46706 || exit 1
46708 @endif target-libhsail-rt
46710 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
46711 maybe-TAGS-target-libhsail-rt:
46712 @if target-libhsail-rt
46713 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
46715 TAGS-target-libhsail-rt: \
46716 configure-target-libhsail-rt
46717 @: $(MAKE); $(unstage)
46718 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46719 r=`${PWD_COMMAND}`; export r; \
46720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46721 $(NORMAL_TARGET_EXPORTS) \
46722 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
46723 for flag in $(EXTRA_TARGET_FLAGS); do \
46724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46725 done; \
46726 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46729 "RANLIB=$${RANLIB}" \
46730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46731 TAGS) \
46732 || exit 1
46734 @endif target-libhsail-rt
46736 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
46737 maybe-install-info-target-libhsail-rt:
46738 @if target-libhsail-rt
46739 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
46741 install-info-target-libhsail-rt: \
46742 configure-target-libhsail-rt \
46743 info-target-libhsail-rt
46744 @: $(MAKE); $(unstage)
46745 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46746 r=`${PWD_COMMAND}`; export r; \
46747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46748 $(NORMAL_TARGET_EXPORTS) \
46749 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
46750 for flag in $(EXTRA_TARGET_FLAGS); do \
46751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46752 done; \
46753 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46756 "RANLIB=$${RANLIB}" \
46757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46758 install-info) \
46759 || exit 1
46761 @endif target-libhsail-rt
46763 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
46764 maybe-install-pdf-target-libhsail-rt:
46765 @if target-libhsail-rt
46766 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
46768 install-pdf-target-libhsail-rt: \
46769 configure-target-libhsail-rt \
46770 pdf-target-libhsail-rt
46771 @: $(MAKE); $(unstage)
46772 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46773 r=`${PWD_COMMAND}`; export r; \
46774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46775 $(NORMAL_TARGET_EXPORTS) \
46776 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46777 for flag in $(EXTRA_TARGET_FLAGS); do \
46778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46779 done; \
46780 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46783 "RANLIB=$${RANLIB}" \
46784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46785 install-pdf) \
46786 || exit 1
46788 @endif target-libhsail-rt
46790 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
46791 maybe-install-html-target-libhsail-rt:
46792 @if target-libhsail-rt
46793 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
46795 install-html-target-libhsail-rt: \
46796 configure-target-libhsail-rt \
46797 html-target-libhsail-rt
46798 @: $(MAKE); $(unstage)
46799 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46800 r=`${PWD_COMMAND}`; export r; \
46801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46802 $(NORMAL_TARGET_EXPORTS) \
46803 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
46804 for flag in $(EXTRA_TARGET_FLAGS); do \
46805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46806 done; \
46807 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46810 "RANLIB=$${RANLIB}" \
46811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46812 install-html) \
46813 || exit 1
46815 @endif target-libhsail-rt
46817 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
46818 maybe-installcheck-target-libhsail-rt:
46819 @if target-libhsail-rt
46820 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
46822 installcheck-target-libhsail-rt: \
46823 configure-target-libhsail-rt
46824 @: $(MAKE); $(unstage)
46825 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46826 r=`${PWD_COMMAND}`; export r; \
46827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46828 $(NORMAL_TARGET_EXPORTS) \
46829 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
46830 for flag in $(EXTRA_TARGET_FLAGS); do \
46831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46832 done; \
46833 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46836 "RANLIB=$${RANLIB}" \
46837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46838 installcheck) \
46839 || exit 1
46841 @endif target-libhsail-rt
46843 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
46844 maybe-mostlyclean-target-libhsail-rt:
46845 @if target-libhsail-rt
46846 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
46848 mostlyclean-target-libhsail-rt:
46849 @: $(MAKE); $(unstage)
46850 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46851 r=`${PWD_COMMAND}`; export r; \
46852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46853 $(NORMAL_TARGET_EXPORTS) \
46854 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46855 for flag in $(EXTRA_TARGET_FLAGS); do \
46856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46857 done; \
46858 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46861 "RANLIB=$${RANLIB}" \
46862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46863 mostlyclean) \
46864 || exit 1
46866 @endif target-libhsail-rt
46868 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
46869 maybe-clean-target-libhsail-rt:
46870 @if target-libhsail-rt
46871 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
46873 clean-target-libhsail-rt:
46874 @: $(MAKE); $(unstage)
46875 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46876 r=`${PWD_COMMAND}`; export r; \
46877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46878 $(NORMAL_TARGET_EXPORTS) \
46879 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46880 for flag in $(EXTRA_TARGET_FLAGS); do \
46881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46882 done; \
46883 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46886 "RANLIB=$${RANLIB}" \
46887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46888 clean) \
46889 || exit 1
46891 @endif target-libhsail-rt
46893 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
46894 maybe-distclean-target-libhsail-rt:
46895 @if target-libhsail-rt
46896 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
46898 distclean-target-libhsail-rt:
46899 @: $(MAKE); $(unstage)
46900 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46901 r=`${PWD_COMMAND}`; export r; \
46902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46903 $(NORMAL_TARGET_EXPORTS) \
46904 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46905 for flag in $(EXTRA_TARGET_FLAGS); do \
46906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46907 done; \
46908 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46911 "RANLIB=$${RANLIB}" \
46912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46913 distclean) \
46914 || exit 1
46916 @endif target-libhsail-rt
46918 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
46919 maybe-maintainer-clean-target-libhsail-rt:
46920 @if target-libhsail-rt
46921 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
46923 maintainer-clean-target-libhsail-rt:
46924 @: $(MAKE); $(unstage)
46925 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46926 r=`${PWD_COMMAND}`; export r; \
46927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46928 $(NORMAL_TARGET_EXPORTS) \
46929 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46930 for flag in $(EXTRA_TARGET_FLAGS); do \
46931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46932 done; \
46933 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46936 "RANLIB=$${RANLIB}" \
46937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46938 maintainer-clean) \
46939 || exit 1
46941 @endif target-libhsail-rt
46947 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
46948 maybe-configure-target-libtermcap:
46949 @if gcc-bootstrap
46950 configure-target-libtermcap: stage_current
46951 @endif gcc-bootstrap
46952 @if target-libtermcap
46953 maybe-configure-target-libtermcap: configure-target-libtermcap
46954 configure-target-libtermcap:
46955 @: $(MAKE); $(unstage)
46956 @r=`${PWD_COMMAND}`; export r; \
46957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46958 echo "Checking multilib configuration for libtermcap..."; \
46959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46960 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
46961 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46962 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46963 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
46964 else \
46965 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
46966 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46967 fi; \
46968 else \
46969 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46970 fi; \
46971 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
46972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46973 $(NORMAL_TARGET_EXPORTS) \
46974 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
46975 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
46976 case $(srcdir) in \
46977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46978 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
46979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46980 esac; \
46981 module_srcdir=libtermcap; \
46982 rm -f no-such-file || : ; \
46983 CONFIG_SITE=no-such-file $(SHELL) \
46984 $$s/$$module_srcdir/configure \
46985 --srcdir=$${topdir}/$$module_srcdir \
46986 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46987 --target=${target_alias} \
46988 || exit 1
46989 @endif target-libtermcap
46995 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
46996 maybe-all-target-libtermcap:
46997 @if gcc-bootstrap
46998 all-target-libtermcap: stage_current
46999 @endif gcc-bootstrap
47000 @if target-libtermcap
47001 TARGET-target-libtermcap=all
47002 maybe-all-target-libtermcap: all-target-libtermcap
47003 all-target-libtermcap: configure-target-libtermcap
47004 @: $(MAKE); $(unstage)
47005 @r=`${PWD_COMMAND}`; export r; \
47006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47007 $(NORMAL_TARGET_EXPORTS) \
47008 (cd $(TARGET_SUBDIR)/libtermcap && \
47009 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47010 $(TARGET-target-libtermcap))
47011 @endif target-libtermcap
47017 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
47018 maybe-check-target-libtermcap:
47019 @if target-libtermcap
47020 maybe-check-target-libtermcap: check-target-libtermcap
47022 # Dummy target for uncheckable module.
47023 check-target-libtermcap:
47025 @endif target-libtermcap
47027 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
47028 maybe-install-target-libtermcap:
47029 @if target-libtermcap
47030 maybe-install-target-libtermcap: install-target-libtermcap
47032 install-target-libtermcap: installdirs
47033 @: $(MAKE); $(unstage)
47034 @r=`${PWD_COMMAND}`; export r; \
47035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47036 $(NORMAL_TARGET_EXPORTS) \
47037 (cd $(TARGET_SUBDIR)/libtermcap && \
47038 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47040 @endif target-libtermcap
47042 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
47043 maybe-install-strip-target-libtermcap:
47044 @if target-libtermcap
47045 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
47047 install-strip-target-libtermcap: installdirs
47048 @: $(MAKE); $(unstage)
47049 @r=`${PWD_COMMAND}`; export r; \
47050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47051 $(NORMAL_TARGET_EXPORTS) \
47052 (cd $(TARGET_SUBDIR)/libtermcap && \
47053 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47055 @endif target-libtermcap
47057 # Other targets (info, dvi, pdf, etc.)
47059 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
47060 maybe-info-target-libtermcap:
47061 @if target-libtermcap
47062 maybe-info-target-libtermcap: info-target-libtermcap
47064 info-target-libtermcap: \
47065 configure-target-libtermcap
47066 @: $(MAKE); $(unstage)
47067 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47068 r=`${PWD_COMMAND}`; export r; \
47069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47070 $(NORMAL_TARGET_EXPORTS) \
47071 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
47072 for flag in $(EXTRA_TARGET_FLAGS); do \
47073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47074 done; \
47075 (cd $(TARGET_SUBDIR)/libtermcap && \
47076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47078 "RANLIB=$${RANLIB}" \
47079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47080 info) \
47081 || exit 1
47083 @endif target-libtermcap
47085 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
47086 maybe-dvi-target-libtermcap:
47087 @if target-libtermcap
47088 maybe-dvi-target-libtermcap: dvi-target-libtermcap
47090 dvi-target-libtermcap: \
47091 configure-target-libtermcap
47092 @: $(MAKE); $(unstage)
47093 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47094 r=`${PWD_COMMAND}`; export r; \
47095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47096 $(NORMAL_TARGET_EXPORTS) \
47097 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
47098 for flag in $(EXTRA_TARGET_FLAGS); do \
47099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47100 done; \
47101 (cd $(TARGET_SUBDIR)/libtermcap && \
47102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47104 "RANLIB=$${RANLIB}" \
47105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47106 dvi) \
47107 || exit 1
47109 @endif target-libtermcap
47111 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
47112 maybe-pdf-target-libtermcap:
47113 @if target-libtermcap
47114 maybe-pdf-target-libtermcap: pdf-target-libtermcap
47116 pdf-target-libtermcap: \
47117 configure-target-libtermcap
47118 @: $(MAKE); $(unstage)
47119 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47120 r=`${PWD_COMMAND}`; export r; \
47121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47122 $(NORMAL_TARGET_EXPORTS) \
47123 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
47124 for flag in $(EXTRA_TARGET_FLAGS); do \
47125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47126 done; \
47127 (cd $(TARGET_SUBDIR)/libtermcap && \
47128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47130 "RANLIB=$${RANLIB}" \
47131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47132 pdf) \
47133 || exit 1
47135 @endif target-libtermcap
47137 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
47138 maybe-html-target-libtermcap:
47139 @if target-libtermcap
47140 maybe-html-target-libtermcap: html-target-libtermcap
47142 html-target-libtermcap: \
47143 configure-target-libtermcap
47144 @: $(MAKE); $(unstage)
47145 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47146 r=`${PWD_COMMAND}`; export r; \
47147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47148 $(NORMAL_TARGET_EXPORTS) \
47149 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
47150 for flag in $(EXTRA_TARGET_FLAGS); do \
47151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47152 done; \
47153 (cd $(TARGET_SUBDIR)/libtermcap && \
47154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47156 "RANLIB=$${RANLIB}" \
47157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47158 html) \
47159 || exit 1
47161 @endif target-libtermcap
47163 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
47164 maybe-TAGS-target-libtermcap:
47165 @if target-libtermcap
47166 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
47168 TAGS-target-libtermcap: \
47169 configure-target-libtermcap
47170 @: $(MAKE); $(unstage)
47171 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47172 r=`${PWD_COMMAND}`; export r; \
47173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47174 $(NORMAL_TARGET_EXPORTS) \
47175 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
47176 for flag in $(EXTRA_TARGET_FLAGS); do \
47177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47178 done; \
47179 (cd $(TARGET_SUBDIR)/libtermcap && \
47180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47182 "RANLIB=$${RANLIB}" \
47183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47184 TAGS) \
47185 || exit 1
47187 @endif target-libtermcap
47189 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
47190 maybe-install-info-target-libtermcap:
47191 @if target-libtermcap
47192 maybe-install-info-target-libtermcap: install-info-target-libtermcap
47194 install-info-target-libtermcap: \
47195 configure-target-libtermcap \
47196 info-target-libtermcap
47197 @: $(MAKE); $(unstage)
47198 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47199 r=`${PWD_COMMAND}`; export r; \
47200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47201 $(NORMAL_TARGET_EXPORTS) \
47202 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
47203 for flag in $(EXTRA_TARGET_FLAGS); do \
47204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47205 done; \
47206 (cd $(TARGET_SUBDIR)/libtermcap && \
47207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47209 "RANLIB=$${RANLIB}" \
47210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47211 install-info) \
47212 || exit 1
47214 @endif target-libtermcap
47216 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
47217 maybe-install-pdf-target-libtermcap:
47218 @if target-libtermcap
47219 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
47221 install-pdf-target-libtermcap: \
47222 configure-target-libtermcap \
47223 pdf-target-libtermcap
47224 @: $(MAKE); $(unstage)
47225 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47226 r=`${PWD_COMMAND}`; export r; \
47227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47228 $(NORMAL_TARGET_EXPORTS) \
47229 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
47230 for flag in $(EXTRA_TARGET_FLAGS); do \
47231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47232 done; \
47233 (cd $(TARGET_SUBDIR)/libtermcap && \
47234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47236 "RANLIB=$${RANLIB}" \
47237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47238 install-pdf) \
47239 || exit 1
47241 @endif target-libtermcap
47243 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
47244 maybe-install-html-target-libtermcap:
47245 @if target-libtermcap
47246 maybe-install-html-target-libtermcap: install-html-target-libtermcap
47248 install-html-target-libtermcap: \
47249 configure-target-libtermcap \
47250 html-target-libtermcap
47251 @: $(MAKE); $(unstage)
47252 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47253 r=`${PWD_COMMAND}`; export r; \
47254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47255 $(NORMAL_TARGET_EXPORTS) \
47256 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
47257 for flag in $(EXTRA_TARGET_FLAGS); do \
47258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47259 done; \
47260 (cd $(TARGET_SUBDIR)/libtermcap && \
47261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47263 "RANLIB=$${RANLIB}" \
47264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47265 install-html) \
47266 || exit 1
47268 @endif target-libtermcap
47270 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
47271 maybe-installcheck-target-libtermcap:
47272 @if target-libtermcap
47273 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
47275 installcheck-target-libtermcap: \
47276 configure-target-libtermcap
47277 @: $(MAKE); $(unstage)
47278 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47279 r=`${PWD_COMMAND}`; export r; \
47280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47281 $(NORMAL_TARGET_EXPORTS) \
47282 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
47283 for flag in $(EXTRA_TARGET_FLAGS); do \
47284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47285 done; \
47286 (cd $(TARGET_SUBDIR)/libtermcap && \
47287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47289 "RANLIB=$${RANLIB}" \
47290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47291 installcheck) \
47292 || exit 1
47294 @endif target-libtermcap
47296 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
47297 maybe-mostlyclean-target-libtermcap:
47298 @if target-libtermcap
47299 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
47301 # libtermcap doesn't support mostlyclean.
47302 mostlyclean-target-libtermcap:
47304 @endif target-libtermcap
47306 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
47307 maybe-clean-target-libtermcap:
47308 @if target-libtermcap
47309 maybe-clean-target-libtermcap: clean-target-libtermcap
47311 # libtermcap doesn't support clean.
47312 clean-target-libtermcap:
47314 @endif target-libtermcap
47316 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
47317 maybe-distclean-target-libtermcap:
47318 @if target-libtermcap
47319 maybe-distclean-target-libtermcap: distclean-target-libtermcap
47321 # libtermcap doesn't support distclean.
47322 distclean-target-libtermcap:
47324 @endif target-libtermcap
47326 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
47327 maybe-maintainer-clean-target-libtermcap:
47328 @if target-libtermcap
47329 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
47331 # libtermcap doesn't support maintainer-clean.
47332 maintainer-clean-target-libtermcap:
47334 @endif target-libtermcap
47340 .PHONY: configure-target-winsup maybe-configure-target-winsup
47341 maybe-configure-target-winsup:
47342 @if gcc-bootstrap
47343 configure-target-winsup: stage_current
47344 @endif gcc-bootstrap
47345 @if target-winsup
47346 maybe-configure-target-winsup: configure-target-winsup
47347 configure-target-winsup:
47348 @: $(MAKE); $(unstage)
47349 @r=`${PWD_COMMAND}`; export r; \
47350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47351 echo "Checking multilib configuration for winsup..."; \
47352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
47353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
47354 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
47355 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
47356 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
47357 else \
47358 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
47359 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47360 fi; \
47361 else \
47362 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47363 fi; \
47364 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
47365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
47366 $(NORMAL_TARGET_EXPORTS) \
47367 echo Configuring in $(TARGET_SUBDIR)/winsup; \
47368 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
47369 case $(srcdir) in \
47370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47371 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
47372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47373 esac; \
47374 module_srcdir=winsup; \
47375 rm -f no-such-file || : ; \
47376 CONFIG_SITE=no-such-file $(SHELL) \
47377 $$s/$$module_srcdir/configure \
47378 --srcdir=$${topdir}/$$module_srcdir \
47379 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47380 --target=${target_alias} \
47381 || exit 1
47382 @endif target-winsup
47388 .PHONY: all-target-winsup maybe-all-target-winsup
47389 maybe-all-target-winsup:
47390 @if gcc-bootstrap
47391 all-target-winsup: stage_current
47392 @endif gcc-bootstrap
47393 @if target-winsup
47394 TARGET-target-winsup=all
47395 maybe-all-target-winsup: all-target-winsup
47396 all-target-winsup: configure-target-winsup
47397 @: $(MAKE); $(unstage)
47398 @r=`${PWD_COMMAND}`; export r; \
47399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47400 $(NORMAL_TARGET_EXPORTS) \
47401 (cd $(TARGET_SUBDIR)/winsup && \
47402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47403 $(TARGET-target-winsup))
47404 @endif target-winsup
47410 .PHONY: check-target-winsup maybe-check-target-winsup
47411 maybe-check-target-winsup:
47412 @if target-winsup
47413 maybe-check-target-winsup: check-target-winsup
47415 check-target-winsup:
47416 @: $(MAKE); $(unstage)
47417 @r=`${PWD_COMMAND}`; export r; \
47418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47419 $(NORMAL_TARGET_EXPORTS) \
47420 (cd $(TARGET_SUBDIR)/winsup && \
47421 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47423 @endif target-winsup
47425 .PHONY: install-target-winsup maybe-install-target-winsup
47426 maybe-install-target-winsup:
47427 @if target-winsup
47428 maybe-install-target-winsup: install-target-winsup
47430 install-target-winsup: installdirs
47431 @: $(MAKE); $(unstage)
47432 @r=`${PWD_COMMAND}`; export r; \
47433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47434 $(NORMAL_TARGET_EXPORTS) \
47435 (cd $(TARGET_SUBDIR)/winsup && \
47436 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47438 @endif target-winsup
47440 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
47441 maybe-install-strip-target-winsup:
47442 @if target-winsup
47443 maybe-install-strip-target-winsup: install-strip-target-winsup
47445 install-strip-target-winsup: installdirs
47446 @: $(MAKE); $(unstage)
47447 @r=`${PWD_COMMAND}`; export r; \
47448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47449 $(NORMAL_TARGET_EXPORTS) \
47450 (cd $(TARGET_SUBDIR)/winsup && \
47451 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47453 @endif target-winsup
47455 # Other targets (info, dvi, pdf, etc.)
47457 .PHONY: maybe-info-target-winsup info-target-winsup
47458 maybe-info-target-winsup:
47459 @if target-winsup
47460 maybe-info-target-winsup: info-target-winsup
47462 info-target-winsup: \
47463 configure-target-winsup
47464 @: $(MAKE); $(unstage)
47465 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47466 r=`${PWD_COMMAND}`; export r; \
47467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47468 $(NORMAL_TARGET_EXPORTS) \
47469 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
47470 for flag in $(EXTRA_TARGET_FLAGS); do \
47471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47472 done; \
47473 (cd $(TARGET_SUBDIR)/winsup && \
47474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47476 "RANLIB=$${RANLIB}" \
47477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47478 info) \
47479 || exit 1
47481 @endif target-winsup
47483 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
47484 maybe-dvi-target-winsup:
47485 @if target-winsup
47486 maybe-dvi-target-winsup: dvi-target-winsup
47488 dvi-target-winsup: \
47489 configure-target-winsup
47490 @: $(MAKE); $(unstage)
47491 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47492 r=`${PWD_COMMAND}`; export r; \
47493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47494 $(NORMAL_TARGET_EXPORTS) \
47495 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
47496 for flag in $(EXTRA_TARGET_FLAGS); do \
47497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47498 done; \
47499 (cd $(TARGET_SUBDIR)/winsup && \
47500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47502 "RANLIB=$${RANLIB}" \
47503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47504 dvi) \
47505 || exit 1
47507 @endif target-winsup
47509 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
47510 maybe-pdf-target-winsup:
47511 @if target-winsup
47512 maybe-pdf-target-winsup: pdf-target-winsup
47514 pdf-target-winsup: \
47515 configure-target-winsup
47516 @: $(MAKE); $(unstage)
47517 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47518 r=`${PWD_COMMAND}`; export r; \
47519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47520 $(NORMAL_TARGET_EXPORTS) \
47521 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
47522 for flag in $(EXTRA_TARGET_FLAGS); do \
47523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47524 done; \
47525 (cd $(TARGET_SUBDIR)/winsup && \
47526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47528 "RANLIB=$${RANLIB}" \
47529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47530 pdf) \
47531 || exit 1
47533 @endif target-winsup
47535 .PHONY: maybe-html-target-winsup html-target-winsup
47536 maybe-html-target-winsup:
47537 @if target-winsup
47538 maybe-html-target-winsup: html-target-winsup
47540 html-target-winsup: \
47541 configure-target-winsup
47542 @: $(MAKE); $(unstage)
47543 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47544 r=`${PWD_COMMAND}`; export r; \
47545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47546 $(NORMAL_TARGET_EXPORTS) \
47547 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
47548 for flag in $(EXTRA_TARGET_FLAGS); do \
47549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47550 done; \
47551 (cd $(TARGET_SUBDIR)/winsup && \
47552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47554 "RANLIB=$${RANLIB}" \
47555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47556 html) \
47557 || exit 1
47559 @endif target-winsup
47561 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
47562 maybe-TAGS-target-winsup:
47563 @if target-winsup
47564 maybe-TAGS-target-winsup: TAGS-target-winsup
47566 TAGS-target-winsup: \
47567 configure-target-winsup
47568 @: $(MAKE); $(unstage)
47569 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47570 r=`${PWD_COMMAND}`; export r; \
47571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47572 $(NORMAL_TARGET_EXPORTS) \
47573 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
47574 for flag in $(EXTRA_TARGET_FLAGS); do \
47575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47576 done; \
47577 (cd $(TARGET_SUBDIR)/winsup && \
47578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47580 "RANLIB=$${RANLIB}" \
47581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47582 TAGS) \
47583 || exit 1
47585 @endif target-winsup
47587 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
47588 maybe-install-info-target-winsup:
47589 @if target-winsup
47590 maybe-install-info-target-winsup: install-info-target-winsup
47592 install-info-target-winsup: \
47593 configure-target-winsup \
47594 info-target-winsup
47595 @: $(MAKE); $(unstage)
47596 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47597 r=`${PWD_COMMAND}`; export r; \
47598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47599 $(NORMAL_TARGET_EXPORTS) \
47600 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
47601 for flag in $(EXTRA_TARGET_FLAGS); do \
47602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47603 done; \
47604 (cd $(TARGET_SUBDIR)/winsup && \
47605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47607 "RANLIB=$${RANLIB}" \
47608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47609 install-info) \
47610 || exit 1
47612 @endif target-winsup
47614 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
47615 maybe-install-pdf-target-winsup:
47616 @if target-winsup
47617 maybe-install-pdf-target-winsup: install-pdf-target-winsup
47619 install-pdf-target-winsup: \
47620 configure-target-winsup \
47621 pdf-target-winsup
47622 @: $(MAKE); $(unstage)
47623 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47624 r=`${PWD_COMMAND}`; export r; \
47625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47626 $(NORMAL_TARGET_EXPORTS) \
47627 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
47628 for flag in $(EXTRA_TARGET_FLAGS); do \
47629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47630 done; \
47631 (cd $(TARGET_SUBDIR)/winsup && \
47632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47634 "RANLIB=$${RANLIB}" \
47635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47636 install-pdf) \
47637 || exit 1
47639 @endif target-winsup
47641 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
47642 maybe-install-html-target-winsup:
47643 @if target-winsup
47644 maybe-install-html-target-winsup: install-html-target-winsup
47646 install-html-target-winsup: \
47647 configure-target-winsup \
47648 html-target-winsup
47649 @: $(MAKE); $(unstage)
47650 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47651 r=`${PWD_COMMAND}`; export r; \
47652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47653 $(NORMAL_TARGET_EXPORTS) \
47654 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
47655 for flag in $(EXTRA_TARGET_FLAGS); do \
47656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47657 done; \
47658 (cd $(TARGET_SUBDIR)/winsup && \
47659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47661 "RANLIB=$${RANLIB}" \
47662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47663 install-html) \
47664 || exit 1
47666 @endif target-winsup
47668 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
47669 maybe-installcheck-target-winsup:
47670 @if target-winsup
47671 maybe-installcheck-target-winsup: installcheck-target-winsup
47673 installcheck-target-winsup: \
47674 configure-target-winsup
47675 @: $(MAKE); $(unstage)
47676 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47677 r=`${PWD_COMMAND}`; export r; \
47678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47679 $(NORMAL_TARGET_EXPORTS) \
47680 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
47681 for flag in $(EXTRA_TARGET_FLAGS); do \
47682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47683 done; \
47684 (cd $(TARGET_SUBDIR)/winsup && \
47685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47687 "RANLIB=$${RANLIB}" \
47688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47689 installcheck) \
47690 || exit 1
47692 @endif target-winsup
47694 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
47695 maybe-mostlyclean-target-winsup:
47696 @if target-winsup
47697 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
47699 mostlyclean-target-winsup:
47700 @: $(MAKE); $(unstage)
47701 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47702 r=`${PWD_COMMAND}`; export r; \
47703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47704 $(NORMAL_TARGET_EXPORTS) \
47705 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
47706 for flag in $(EXTRA_TARGET_FLAGS); do \
47707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47708 done; \
47709 (cd $(TARGET_SUBDIR)/winsup && \
47710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47712 "RANLIB=$${RANLIB}" \
47713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47714 mostlyclean) \
47715 || exit 1
47717 @endif target-winsup
47719 .PHONY: maybe-clean-target-winsup clean-target-winsup
47720 maybe-clean-target-winsup:
47721 @if target-winsup
47722 maybe-clean-target-winsup: clean-target-winsup
47724 clean-target-winsup:
47725 @: $(MAKE); $(unstage)
47726 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47727 r=`${PWD_COMMAND}`; export r; \
47728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47729 $(NORMAL_TARGET_EXPORTS) \
47730 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
47731 for flag in $(EXTRA_TARGET_FLAGS); do \
47732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47733 done; \
47734 (cd $(TARGET_SUBDIR)/winsup && \
47735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47737 "RANLIB=$${RANLIB}" \
47738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47739 clean) \
47740 || exit 1
47742 @endif target-winsup
47744 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
47745 maybe-distclean-target-winsup:
47746 @if target-winsup
47747 maybe-distclean-target-winsup: distclean-target-winsup
47749 distclean-target-winsup:
47750 @: $(MAKE); $(unstage)
47751 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47752 r=`${PWD_COMMAND}`; export r; \
47753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47754 $(NORMAL_TARGET_EXPORTS) \
47755 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
47756 for flag in $(EXTRA_TARGET_FLAGS); do \
47757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47758 done; \
47759 (cd $(TARGET_SUBDIR)/winsup && \
47760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47762 "RANLIB=$${RANLIB}" \
47763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47764 distclean) \
47765 || exit 1
47767 @endif target-winsup
47769 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
47770 maybe-maintainer-clean-target-winsup:
47771 @if target-winsup
47772 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
47774 maintainer-clean-target-winsup:
47775 @: $(MAKE); $(unstage)
47776 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47777 r=`${PWD_COMMAND}`; export r; \
47778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47779 $(NORMAL_TARGET_EXPORTS) \
47780 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
47781 for flag in $(EXTRA_TARGET_FLAGS); do \
47782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47783 done; \
47784 (cd $(TARGET_SUBDIR)/winsup && \
47785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47787 "RANLIB=$${RANLIB}" \
47788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47789 maintainer-clean) \
47790 || exit 1
47792 @endif target-winsup
47798 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
47799 maybe-configure-target-libgloss:
47800 @if gcc-bootstrap
47801 configure-target-libgloss: stage_current
47802 @endif gcc-bootstrap
47803 @if target-libgloss
47804 maybe-configure-target-libgloss: configure-target-libgloss
47805 configure-target-libgloss:
47806 @: $(MAKE); $(unstage)
47807 @r=`${PWD_COMMAND}`; export r; \
47808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47809 echo "Checking multilib configuration for libgloss..."; \
47810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
47811 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
47812 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47813 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47814 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
47815 else \
47816 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
47817 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47818 fi; \
47819 else \
47820 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47821 fi; \
47822 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
47823 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
47824 $(NORMAL_TARGET_EXPORTS) \
47825 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
47826 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
47827 case $(srcdir) in \
47828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47829 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
47830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47831 esac; \
47832 module_srcdir=libgloss; \
47833 rm -f no-such-file || : ; \
47834 CONFIG_SITE=no-such-file $(SHELL) \
47835 $$s/$$module_srcdir/configure \
47836 --srcdir=$${topdir}/$$module_srcdir \
47837 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47838 --target=${target_alias} \
47839 || exit 1
47840 @endif target-libgloss
47846 .PHONY: all-target-libgloss maybe-all-target-libgloss
47847 maybe-all-target-libgloss:
47848 @if gcc-bootstrap
47849 all-target-libgloss: stage_current
47850 @endif gcc-bootstrap
47851 @if target-libgloss
47852 TARGET-target-libgloss=all
47853 maybe-all-target-libgloss: all-target-libgloss
47854 all-target-libgloss: configure-target-libgloss
47855 @: $(MAKE); $(unstage)
47856 @r=`${PWD_COMMAND}`; export r; \
47857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47858 $(NORMAL_TARGET_EXPORTS) \
47859 (cd $(TARGET_SUBDIR)/libgloss && \
47860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47861 $(TARGET-target-libgloss))
47862 @endif target-libgloss
47868 .PHONY: check-target-libgloss maybe-check-target-libgloss
47869 maybe-check-target-libgloss:
47870 @if target-libgloss
47871 maybe-check-target-libgloss: check-target-libgloss
47873 # Dummy target for uncheckable module.
47874 check-target-libgloss:
47876 @endif target-libgloss
47878 .PHONY: install-target-libgloss maybe-install-target-libgloss
47879 maybe-install-target-libgloss:
47880 @if target-libgloss
47881 maybe-install-target-libgloss: install-target-libgloss
47883 install-target-libgloss: installdirs
47884 @: $(MAKE); $(unstage)
47885 @r=`${PWD_COMMAND}`; export r; \
47886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47887 $(NORMAL_TARGET_EXPORTS) \
47888 (cd $(TARGET_SUBDIR)/libgloss && \
47889 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47891 @endif target-libgloss
47893 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
47894 maybe-install-strip-target-libgloss:
47895 @if target-libgloss
47896 maybe-install-strip-target-libgloss: install-strip-target-libgloss
47898 install-strip-target-libgloss: installdirs
47899 @: $(MAKE); $(unstage)
47900 @r=`${PWD_COMMAND}`; export r; \
47901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47902 $(NORMAL_TARGET_EXPORTS) \
47903 (cd $(TARGET_SUBDIR)/libgloss && \
47904 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47906 @endif target-libgloss
47908 # Other targets (info, dvi, pdf, etc.)
47910 .PHONY: maybe-info-target-libgloss info-target-libgloss
47911 maybe-info-target-libgloss:
47912 @if target-libgloss
47913 maybe-info-target-libgloss: info-target-libgloss
47915 info-target-libgloss: \
47916 configure-target-libgloss
47917 @: $(MAKE); $(unstage)
47918 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47919 r=`${PWD_COMMAND}`; export r; \
47920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47921 $(NORMAL_TARGET_EXPORTS) \
47922 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
47923 for flag in $(EXTRA_TARGET_FLAGS); do \
47924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47925 done; \
47926 (cd $(TARGET_SUBDIR)/libgloss && \
47927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47929 "RANLIB=$${RANLIB}" \
47930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47931 info) \
47932 || exit 1
47934 @endif target-libgloss
47936 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
47937 maybe-dvi-target-libgloss:
47938 @if target-libgloss
47939 maybe-dvi-target-libgloss: dvi-target-libgloss
47941 dvi-target-libgloss: \
47942 configure-target-libgloss
47943 @: $(MAKE); $(unstage)
47944 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47945 r=`${PWD_COMMAND}`; export r; \
47946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47947 $(NORMAL_TARGET_EXPORTS) \
47948 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
47949 for flag in $(EXTRA_TARGET_FLAGS); do \
47950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47951 done; \
47952 (cd $(TARGET_SUBDIR)/libgloss && \
47953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47955 "RANLIB=$${RANLIB}" \
47956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47957 dvi) \
47958 || exit 1
47960 @endif target-libgloss
47962 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
47963 maybe-pdf-target-libgloss:
47964 @if target-libgloss
47965 maybe-pdf-target-libgloss: pdf-target-libgloss
47967 pdf-target-libgloss: \
47968 configure-target-libgloss
47969 @: $(MAKE); $(unstage)
47970 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47971 r=`${PWD_COMMAND}`; export r; \
47972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47973 $(NORMAL_TARGET_EXPORTS) \
47974 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
47975 for flag in $(EXTRA_TARGET_FLAGS); do \
47976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47977 done; \
47978 (cd $(TARGET_SUBDIR)/libgloss && \
47979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47981 "RANLIB=$${RANLIB}" \
47982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47983 pdf) \
47984 || exit 1
47986 @endif target-libgloss
47988 .PHONY: maybe-html-target-libgloss html-target-libgloss
47989 maybe-html-target-libgloss:
47990 @if target-libgloss
47991 maybe-html-target-libgloss: html-target-libgloss
47993 html-target-libgloss: \
47994 configure-target-libgloss
47995 @: $(MAKE); $(unstage)
47996 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47997 r=`${PWD_COMMAND}`; export r; \
47998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47999 $(NORMAL_TARGET_EXPORTS) \
48000 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
48001 for flag in $(EXTRA_TARGET_FLAGS); do \
48002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48003 done; \
48004 (cd $(TARGET_SUBDIR)/libgloss && \
48005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48007 "RANLIB=$${RANLIB}" \
48008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48009 html) \
48010 || exit 1
48012 @endif target-libgloss
48014 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
48015 maybe-TAGS-target-libgloss:
48016 @if target-libgloss
48017 maybe-TAGS-target-libgloss: TAGS-target-libgloss
48019 TAGS-target-libgloss: \
48020 configure-target-libgloss
48021 @: $(MAKE); $(unstage)
48022 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48023 r=`${PWD_COMMAND}`; export r; \
48024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48025 $(NORMAL_TARGET_EXPORTS) \
48026 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
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)/libgloss && \
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 TAGS) \
48036 || exit 1
48038 @endif target-libgloss
48040 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
48041 maybe-install-info-target-libgloss:
48042 @if target-libgloss
48043 maybe-install-info-target-libgloss: install-info-target-libgloss
48045 install-info-target-libgloss: \
48046 configure-target-libgloss \
48047 info-target-libgloss
48048 @: $(MAKE); $(unstage)
48049 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48050 r=`${PWD_COMMAND}`; export r; \
48051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48052 $(NORMAL_TARGET_EXPORTS) \
48053 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
48054 for flag in $(EXTRA_TARGET_FLAGS); do \
48055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48056 done; \
48057 (cd $(TARGET_SUBDIR)/libgloss && \
48058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48060 "RANLIB=$${RANLIB}" \
48061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48062 install-info) \
48063 || exit 1
48065 @endif target-libgloss
48067 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
48068 maybe-install-pdf-target-libgloss:
48069 @if target-libgloss
48070 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
48072 install-pdf-target-libgloss: \
48073 configure-target-libgloss \
48074 pdf-target-libgloss
48075 @: $(MAKE); $(unstage)
48076 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48077 r=`${PWD_COMMAND}`; export r; \
48078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48079 $(NORMAL_TARGET_EXPORTS) \
48080 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
48081 for flag in $(EXTRA_TARGET_FLAGS); do \
48082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48083 done; \
48084 (cd $(TARGET_SUBDIR)/libgloss && \
48085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48087 "RANLIB=$${RANLIB}" \
48088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48089 install-pdf) \
48090 || exit 1
48092 @endif target-libgloss
48094 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
48095 maybe-install-html-target-libgloss:
48096 @if target-libgloss
48097 maybe-install-html-target-libgloss: install-html-target-libgloss
48099 install-html-target-libgloss: \
48100 configure-target-libgloss \
48101 html-target-libgloss
48102 @: $(MAKE); $(unstage)
48103 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48104 r=`${PWD_COMMAND}`; export r; \
48105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48106 $(NORMAL_TARGET_EXPORTS) \
48107 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
48108 for flag in $(EXTRA_TARGET_FLAGS); do \
48109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48110 done; \
48111 (cd $(TARGET_SUBDIR)/libgloss && \
48112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48114 "RANLIB=$${RANLIB}" \
48115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48116 install-html) \
48117 || exit 1
48119 @endif target-libgloss
48121 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
48122 maybe-installcheck-target-libgloss:
48123 @if target-libgloss
48124 maybe-installcheck-target-libgloss: installcheck-target-libgloss
48126 installcheck-target-libgloss: \
48127 configure-target-libgloss
48128 @: $(MAKE); $(unstage)
48129 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48130 r=`${PWD_COMMAND}`; export r; \
48131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48132 $(NORMAL_TARGET_EXPORTS) \
48133 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
48134 for flag in $(EXTRA_TARGET_FLAGS); do \
48135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48136 done; \
48137 (cd $(TARGET_SUBDIR)/libgloss && \
48138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48140 "RANLIB=$${RANLIB}" \
48141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48142 installcheck) \
48143 || exit 1
48145 @endif target-libgloss
48147 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
48148 maybe-mostlyclean-target-libgloss:
48149 @if target-libgloss
48150 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
48152 mostlyclean-target-libgloss:
48153 @: $(MAKE); $(unstage)
48154 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48155 r=`${PWD_COMMAND}`; export r; \
48156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48157 $(NORMAL_TARGET_EXPORTS) \
48158 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
48159 for flag in $(EXTRA_TARGET_FLAGS); do \
48160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48161 done; \
48162 (cd $(TARGET_SUBDIR)/libgloss && \
48163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48165 "RANLIB=$${RANLIB}" \
48166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48167 mostlyclean) \
48168 || exit 1
48170 @endif target-libgloss
48172 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
48173 maybe-clean-target-libgloss:
48174 @if target-libgloss
48175 maybe-clean-target-libgloss: clean-target-libgloss
48177 clean-target-libgloss:
48178 @: $(MAKE); $(unstage)
48179 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48180 r=`${PWD_COMMAND}`; export r; \
48181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48182 $(NORMAL_TARGET_EXPORTS) \
48183 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
48184 for flag in $(EXTRA_TARGET_FLAGS); do \
48185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48186 done; \
48187 (cd $(TARGET_SUBDIR)/libgloss && \
48188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48190 "RANLIB=$${RANLIB}" \
48191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48192 clean) \
48193 || exit 1
48195 @endif target-libgloss
48197 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
48198 maybe-distclean-target-libgloss:
48199 @if target-libgloss
48200 maybe-distclean-target-libgloss: distclean-target-libgloss
48202 distclean-target-libgloss:
48203 @: $(MAKE); $(unstage)
48204 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48205 r=`${PWD_COMMAND}`; export r; \
48206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48207 $(NORMAL_TARGET_EXPORTS) \
48208 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
48209 for flag in $(EXTRA_TARGET_FLAGS); do \
48210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48211 done; \
48212 (cd $(TARGET_SUBDIR)/libgloss && \
48213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48215 "RANLIB=$${RANLIB}" \
48216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48217 distclean) \
48218 || exit 1
48220 @endif target-libgloss
48222 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
48223 maybe-maintainer-clean-target-libgloss:
48224 @if target-libgloss
48225 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
48227 maintainer-clean-target-libgloss:
48228 @: $(MAKE); $(unstage)
48229 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48230 r=`${PWD_COMMAND}`; export r; \
48231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48232 $(NORMAL_TARGET_EXPORTS) \
48233 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
48234 for flag in $(EXTRA_TARGET_FLAGS); do \
48235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48236 done; \
48237 (cd $(TARGET_SUBDIR)/libgloss && \
48238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48240 "RANLIB=$${RANLIB}" \
48241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48242 maintainer-clean) \
48243 || exit 1
48245 @endif target-libgloss
48251 .PHONY: configure-target-libffi maybe-configure-target-libffi
48252 maybe-configure-target-libffi:
48253 @if gcc-bootstrap
48254 configure-target-libffi: stage_current
48255 @endif gcc-bootstrap
48256 @if target-libffi
48257 maybe-configure-target-libffi: configure-target-libffi
48258 configure-target-libffi:
48259 @: $(MAKE); $(unstage)
48260 @r=`${PWD_COMMAND}`; export r; \
48261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48262 echo "Checking multilib configuration for libffi..."; \
48263 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
48264 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
48265 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
48266 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
48267 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
48268 else \
48269 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
48270 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48271 fi; \
48272 else \
48273 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48274 fi; \
48275 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
48276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
48277 $(NORMAL_TARGET_EXPORTS) \
48278 echo Configuring in $(TARGET_SUBDIR)/libffi; \
48279 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
48280 case $(srcdir) in \
48281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48282 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
48283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48284 esac; \
48285 module_srcdir=libffi; \
48286 rm -f no-such-file || : ; \
48287 CONFIG_SITE=no-such-file $(SHELL) \
48288 $$s/$$module_srcdir/configure \
48289 --srcdir=$${topdir}/$$module_srcdir \
48290 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48291 --target=${target_alias} \
48292 || exit 1
48293 @endif target-libffi
48299 .PHONY: all-target-libffi maybe-all-target-libffi
48300 maybe-all-target-libffi:
48301 @if gcc-bootstrap
48302 all-target-libffi: stage_current
48303 @endif gcc-bootstrap
48304 @if target-libffi
48305 TARGET-target-libffi=all
48306 maybe-all-target-libffi: all-target-libffi
48307 all-target-libffi: configure-target-libffi
48308 @: $(MAKE); $(unstage)
48309 @r=`${PWD_COMMAND}`; export r; \
48310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48311 $(NORMAL_TARGET_EXPORTS) \
48312 (cd $(TARGET_SUBDIR)/libffi && \
48313 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48314 $(TARGET-target-libffi))
48315 @endif target-libffi
48321 .PHONY: check-target-libffi maybe-check-target-libffi
48322 maybe-check-target-libffi:
48323 @if target-libffi
48324 maybe-check-target-libffi: check-target-libffi
48326 check-target-libffi:
48327 @: $(MAKE); $(unstage)
48328 @r=`${PWD_COMMAND}`; export r; \
48329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48330 $(NORMAL_TARGET_EXPORTS) \
48331 (cd $(TARGET_SUBDIR)/libffi && \
48332 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48334 @endif target-libffi
48336 .PHONY: install-target-libffi maybe-install-target-libffi
48337 maybe-install-target-libffi:
48338 @if target-libffi
48339 maybe-install-target-libffi: install-target-libffi
48341 # Dummy target for uninstallable.
48342 install-target-libffi:
48344 @endif target-libffi
48346 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
48347 maybe-install-strip-target-libffi:
48348 @if target-libffi
48349 maybe-install-strip-target-libffi: install-strip-target-libffi
48351 # Dummy target for uninstallable.
48352 install-strip-target-libffi:
48354 @endif target-libffi
48356 # Other targets (info, dvi, pdf, etc.)
48358 .PHONY: maybe-info-target-libffi info-target-libffi
48359 maybe-info-target-libffi:
48360 @if target-libffi
48361 maybe-info-target-libffi: info-target-libffi
48363 info-target-libffi: \
48364 configure-target-libffi
48365 @: $(MAKE); $(unstage)
48366 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48367 r=`${PWD_COMMAND}`; export r; \
48368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48369 $(NORMAL_TARGET_EXPORTS) \
48370 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
48371 for flag in $(EXTRA_TARGET_FLAGS); do \
48372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48373 done; \
48374 (cd $(TARGET_SUBDIR)/libffi && \
48375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48377 "RANLIB=$${RANLIB}" \
48378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48379 info) \
48380 || exit 1
48382 @endif target-libffi
48384 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
48385 maybe-dvi-target-libffi:
48386 @if target-libffi
48387 maybe-dvi-target-libffi: dvi-target-libffi
48389 dvi-target-libffi: \
48390 configure-target-libffi
48391 @: $(MAKE); $(unstage)
48392 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48393 r=`${PWD_COMMAND}`; export r; \
48394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48395 $(NORMAL_TARGET_EXPORTS) \
48396 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
48397 for flag in $(EXTRA_TARGET_FLAGS); do \
48398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48399 done; \
48400 (cd $(TARGET_SUBDIR)/libffi && \
48401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48403 "RANLIB=$${RANLIB}" \
48404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48405 dvi) \
48406 || exit 1
48408 @endif target-libffi
48410 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
48411 maybe-pdf-target-libffi:
48412 @if target-libffi
48413 maybe-pdf-target-libffi: pdf-target-libffi
48415 pdf-target-libffi: \
48416 configure-target-libffi
48417 @: $(MAKE); $(unstage)
48418 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48419 r=`${PWD_COMMAND}`; export r; \
48420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48421 $(NORMAL_TARGET_EXPORTS) \
48422 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
48423 for flag in $(EXTRA_TARGET_FLAGS); do \
48424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48425 done; \
48426 (cd $(TARGET_SUBDIR)/libffi && \
48427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48429 "RANLIB=$${RANLIB}" \
48430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48431 pdf) \
48432 || exit 1
48434 @endif target-libffi
48436 .PHONY: maybe-html-target-libffi html-target-libffi
48437 maybe-html-target-libffi:
48438 @if target-libffi
48439 maybe-html-target-libffi: html-target-libffi
48441 html-target-libffi: \
48442 configure-target-libffi
48443 @: $(MAKE); $(unstage)
48444 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48445 r=`${PWD_COMMAND}`; export r; \
48446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48447 $(NORMAL_TARGET_EXPORTS) \
48448 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
48449 for flag in $(EXTRA_TARGET_FLAGS); do \
48450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48451 done; \
48452 (cd $(TARGET_SUBDIR)/libffi && \
48453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48455 "RANLIB=$${RANLIB}" \
48456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48457 html) \
48458 || exit 1
48460 @endif target-libffi
48462 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
48463 maybe-TAGS-target-libffi:
48464 @if target-libffi
48465 maybe-TAGS-target-libffi: TAGS-target-libffi
48467 TAGS-target-libffi: \
48468 configure-target-libffi
48469 @: $(MAKE); $(unstage)
48470 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48471 r=`${PWD_COMMAND}`; export r; \
48472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48473 $(NORMAL_TARGET_EXPORTS) \
48474 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
48475 for flag in $(EXTRA_TARGET_FLAGS); do \
48476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48477 done; \
48478 (cd $(TARGET_SUBDIR)/libffi && \
48479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48481 "RANLIB=$${RANLIB}" \
48482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48483 TAGS) \
48484 || exit 1
48486 @endif target-libffi
48488 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
48489 maybe-install-info-target-libffi:
48490 @if target-libffi
48491 maybe-install-info-target-libffi: install-info-target-libffi
48493 install-info-target-libffi: \
48494 configure-target-libffi \
48495 info-target-libffi
48496 @: $(MAKE); $(unstage)
48497 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48498 r=`${PWD_COMMAND}`; export r; \
48499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48500 $(NORMAL_TARGET_EXPORTS) \
48501 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
48502 for flag in $(EXTRA_TARGET_FLAGS); do \
48503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48504 done; \
48505 (cd $(TARGET_SUBDIR)/libffi && \
48506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48508 "RANLIB=$${RANLIB}" \
48509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48510 install-info) \
48511 || exit 1
48513 @endif target-libffi
48515 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
48516 maybe-install-pdf-target-libffi:
48517 @if target-libffi
48518 maybe-install-pdf-target-libffi: install-pdf-target-libffi
48520 install-pdf-target-libffi: \
48521 configure-target-libffi \
48522 pdf-target-libffi
48523 @: $(MAKE); $(unstage)
48524 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48525 r=`${PWD_COMMAND}`; export r; \
48526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48527 $(NORMAL_TARGET_EXPORTS) \
48528 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
48529 for flag in $(EXTRA_TARGET_FLAGS); do \
48530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48531 done; \
48532 (cd $(TARGET_SUBDIR)/libffi && \
48533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48535 "RANLIB=$${RANLIB}" \
48536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48537 install-pdf) \
48538 || exit 1
48540 @endif target-libffi
48542 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
48543 maybe-install-html-target-libffi:
48544 @if target-libffi
48545 maybe-install-html-target-libffi: install-html-target-libffi
48547 install-html-target-libffi: \
48548 configure-target-libffi \
48549 html-target-libffi
48550 @: $(MAKE); $(unstage)
48551 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48552 r=`${PWD_COMMAND}`; export r; \
48553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48554 $(NORMAL_TARGET_EXPORTS) \
48555 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
48556 for flag in $(EXTRA_TARGET_FLAGS); do \
48557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48558 done; \
48559 (cd $(TARGET_SUBDIR)/libffi && \
48560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48562 "RANLIB=$${RANLIB}" \
48563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48564 install-html) \
48565 || exit 1
48567 @endif target-libffi
48569 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
48570 maybe-installcheck-target-libffi:
48571 @if target-libffi
48572 maybe-installcheck-target-libffi: installcheck-target-libffi
48574 installcheck-target-libffi: \
48575 configure-target-libffi
48576 @: $(MAKE); $(unstage)
48577 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48578 r=`${PWD_COMMAND}`; export r; \
48579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48580 $(NORMAL_TARGET_EXPORTS) \
48581 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
48582 for flag in $(EXTRA_TARGET_FLAGS); do \
48583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48584 done; \
48585 (cd $(TARGET_SUBDIR)/libffi && \
48586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48588 "RANLIB=$${RANLIB}" \
48589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48590 installcheck) \
48591 || exit 1
48593 @endif target-libffi
48595 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
48596 maybe-mostlyclean-target-libffi:
48597 @if target-libffi
48598 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
48600 mostlyclean-target-libffi:
48601 @: $(MAKE); $(unstage)
48602 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48603 r=`${PWD_COMMAND}`; export r; \
48604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48605 $(NORMAL_TARGET_EXPORTS) \
48606 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
48607 for flag in $(EXTRA_TARGET_FLAGS); do \
48608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48609 done; \
48610 (cd $(TARGET_SUBDIR)/libffi && \
48611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48613 "RANLIB=$${RANLIB}" \
48614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48615 mostlyclean) \
48616 || exit 1
48618 @endif target-libffi
48620 .PHONY: maybe-clean-target-libffi clean-target-libffi
48621 maybe-clean-target-libffi:
48622 @if target-libffi
48623 maybe-clean-target-libffi: clean-target-libffi
48625 clean-target-libffi:
48626 @: $(MAKE); $(unstage)
48627 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48628 r=`${PWD_COMMAND}`; export r; \
48629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48630 $(NORMAL_TARGET_EXPORTS) \
48631 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
48632 for flag in $(EXTRA_TARGET_FLAGS); do \
48633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48634 done; \
48635 (cd $(TARGET_SUBDIR)/libffi && \
48636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48638 "RANLIB=$${RANLIB}" \
48639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48640 clean) \
48641 || exit 1
48643 @endif target-libffi
48645 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
48646 maybe-distclean-target-libffi:
48647 @if target-libffi
48648 maybe-distclean-target-libffi: distclean-target-libffi
48650 distclean-target-libffi:
48651 @: $(MAKE); $(unstage)
48652 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48653 r=`${PWD_COMMAND}`; export r; \
48654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48655 $(NORMAL_TARGET_EXPORTS) \
48656 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
48657 for flag in $(EXTRA_TARGET_FLAGS); do \
48658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48659 done; \
48660 (cd $(TARGET_SUBDIR)/libffi && \
48661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48663 "RANLIB=$${RANLIB}" \
48664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48665 distclean) \
48666 || exit 1
48668 @endif target-libffi
48670 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
48671 maybe-maintainer-clean-target-libffi:
48672 @if target-libffi
48673 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
48675 maintainer-clean-target-libffi:
48676 @: $(MAKE); $(unstage)
48677 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48678 r=`${PWD_COMMAND}`; export r; \
48679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48680 $(NORMAL_TARGET_EXPORTS) \
48681 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
48682 for flag in $(EXTRA_TARGET_FLAGS); do \
48683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48684 done; \
48685 (cd $(TARGET_SUBDIR)/libffi && \
48686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48688 "RANLIB=$${RANLIB}" \
48689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48690 maintainer-clean) \
48691 || exit 1
48693 @endif target-libffi
48699 .PHONY: configure-target-zlib maybe-configure-target-zlib
48700 maybe-configure-target-zlib:
48701 @if gcc-bootstrap
48702 configure-target-zlib: stage_current
48703 @endif gcc-bootstrap
48704 @if target-zlib
48705 maybe-configure-target-zlib: configure-target-zlib
48706 configure-target-zlib:
48707 @: $(MAKE); $(unstage)
48708 @r=`${PWD_COMMAND}`; export r; \
48709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48710 echo "Checking multilib configuration for zlib..."; \
48711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
48712 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
48713 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
48714 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
48715 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
48716 else \
48717 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
48718 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
48719 fi; \
48720 else \
48721 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
48722 fi; \
48723 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
48724 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
48725 $(NORMAL_TARGET_EXPORTS) \
48726 echo Configuring in $(TARGET_SUBDIR)/zlib; \
48727 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
48728 case $(srcdir) in \
48729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48730 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
48731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48732 esac; \
48733 module_srcdir=zlib; \
48734 rm -f no-such-file || : ; \
48735 CONFIG_SITE=no-such-file $(SHELL) \
48736 $$s/$$module_srcdir/configure \
48737 --srcdir=$${topdir}/$$module_srcdir \
48738 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48739 --target=${target_alias} \
48740 || exit 1
48741 @endif target-zlib
48747 .PHONY: all-target-zlib maybe-all-target-zlib
48748 maybe-all-target-zlib:
48749 @if gcc-bootstrap
48750 all-target-zlib: stage_current
48751 @endif gcc-bootstrap
48752 @if target-zlib
48753 TARGET-target-zlib=all
48754 maybe-all-target-zlib: all-target-zlib
48755 all-target-zlib: configure-target-zlib
48756 @: $(MAKE); $(unstage)
48757 @r=`${PWD_COMMAND}`; export r; \
48758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48759 $(NORMAL_TARGET_EXPORTS) \
48760 (cd $(TARGET_SUBDIR)/zlib && \
48761 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48762 $(TARGET-target-zlib))
48763 @endif target-zlib
48769 .PHONY: check-target-zlib maybe-check-target-zlib
48770 maybe-check-target-zlib:
48771 @if target-zlib
48772 maybe-check-target-zlib: check-target-zlib
48774 check-target-zlib:
48775 @: $(MAKE); $(unstage)
48776 @r=`${PWD_COMMAND}`; export r; \
48777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48778 $(NORMAL_TARGET_EXPORTS) \
48779 (cd $(TARGET_SUBDIR)/zlib && \
48780 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48782 @endif target-zlib
48784 .PHONY: install-target-zlib maybe-install-target-zlib
48785 maybe-install-target-zlib:
48786 @if target-zlib
48787 maybe-install-target-zlib: install-target-zlib
48789 install-target-zlib: installdirs
48790 @: $(MAKE); $(unstage)
48791 @r=`${PWD_COMMAND}`; export r; \
48792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48793 $(NORMAL_TARGET_EXPORTS) \
48794 (cd $(TARGET_SUBDIR)/zlib && \
48795 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48797 @endif target-zlib
48799 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
48800 maybe-install-strip-target-zlib:
48801 @if target-zlib
48802 maybe-install-strip-target-zlib: install-strip-target-zlib
48804 install-strip-target-zlib: installdirs
48805 @: $(MAKE); $(unstage)
48806 @r=`${PWD_COMMAND}`; export r; \
48807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48808 $(NORMAL_TARGET_EXPORTS) \
48809 (cd $(TARGET_SUBDIR)/zlib && \
48810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48812 @endif target-zlib
48814 # Other targets (info, dvi, pdf, etc.)
48816 .PHONY: maybe-info-target-zlib info-target-zlib
48817 maybe-info-target-zlib:
48818 @if target-zlib
48819 maybe-info-target-zlib: info-target-zlib
48821 info-target-zlib: \
48822 configure-target-zlib
48823 @: $(MAKE); $(unstage)
48824 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48825 r=`${PWD_COMMAND}`; export r; \
48826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48827 $(NORMAL_TARGET_EXPORTS) \
48828 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
48829 for flag in $(EXTRA_TARGET_FLAGS); do \
48830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48831 done; \
48832 (cd $(TARGET_SUBDIR)/zlib && \
48833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48835 "RANLIB=$${RANLIB}" \
48836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48837 info) \
48838 || exit 1
48840 @endif target-zlib
48842 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
48843 maybe-dvi-target-zlib:
48844 @if target-zlib
48845 maybe-dvi-target-zlib: dvi-target-zlib
48847 dvi-target-zlib: \
48848 configure-target-zlib
48849 @: $(MAKE); $(unstage)
48850 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48851 r=`${PWD_COMMAND}`; export r; \
48852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48853 $(NORMAL_TARGET_EXPORTS) \
48854 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
48855 for flag in $(EXTRA_TARGET_FLAGS); do \
48856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48857 done; \
48858 (cd $(TARGET_SUBDIR)/zlib && \
48859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48861 "RANLIB=$${RANLIB}" \
48862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48863 dvi) \
48864 || exit 1
48866 @endif target-zlib
48868 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
48869 maybe-pdf-target-zlib:
48870 @if target-zlib
48871 maybe-pdf-target-zlib: pdf-target-zlib
48873 pdf-target-zlib: \
48874 configure-target-zlib
48875 @: $(MAKE); $(unstage)
48876 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48877 r=`${PWD_COMMAND}`; export r; \
48878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48879 $(NORMAL_TARGET_EXPORTS) \
48880 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
48881 for flag in $(EXTRA_TARGET_FLAGS); do \
48882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48883 done; \
48884 (cd $(TARGET_SUBDIR)/zlib && \
48885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48887 "RANLIB=$${RANLIB}" \
48888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48889 pdf) \
48890 || exit 1
48892 @endif target-zlib
48894 .PHONY: maybe-html-target-zlib html-target-zlib
48895 maybe-html-target-zlib:
48896 @if target-zlib
48897 maybe-html-target-zlib: html-target-zlib
48899 html-target-zlib: \
48900 configure-target-zlib
48901 @: $(MAKE); $(unstage)
48902 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48903 r=`${PWD_COMMAND}`; export r; \
48904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48905 $(NORMAL_TARGET_EXPORTS) \
48906 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
48907 for flag in $(EXTRA_TARGET_FLAGS); do \
48908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48909 done; \
48910 (cd $(TARGET_SUBDIR)/zlib && \
48911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48913 "RANLIB=$${RANLIB}" \
48914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48915 html) \
48916 || exit 1
48918 @endif target-zlib
48920 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
48921 maybe-TAGS-target-zlib:
48922 @if target-zlib
48923 maybe-TAGS-target-zlib: TAGS-target-zlib
48925 TAGS-target-zlib: \
48926 configure-target-zlib
48927 @: $(MAKE); $(unstage)
48928 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48929 r=`${PWD_COMMAND}`; export r; \
48930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48931 $(NORMAL_TARGET_EXPORTS) \
48932 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
48933 for flag in $(EXTRA_TARGET_FLAGS); do \
48934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48935 done; \
48936 (cd $(TARGET_SUBDIR)/zlib && \
48937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48939 "RANLIB=$${RANLIB}" \
48940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48941 TAGS) \
48942 || exit 1
48944 @endif target-zlib
48946 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
48947 maybe-install-info-target-zlib:
48948 @if target-zlib
48949 maybe-install-info-target-zlib: install-info-target-zlib
48951 install-info-target-zlib: \
48952 configure-target-zlib \
48953 info-target-zlib
48954 @: $(MAKE); $(unstage)
48955 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48956 r=`${PWD_COMMAND}`; export r; \
48957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48958 $(NORMAL_TARGET_EXPORTS) \
48959 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
48960 for flag in $(EXTRA_TARGET_FLAGS); do \
48961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48962 done; \
48963 (cd $(TARGET_SUBDIR)/zlib && \
48964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48966 "RANLIB=$${RANLIB}" \
48967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48968 install-info) \
48969 || exit 1
48971 @endif target-zlib
48973 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
48974 maybe-install-pdf-target-zlib:
48975 @if target-zlib
48976 maybe-install-pdf-target-zlib: install-pdf-target-zlib
48978 install-pdf-target-zlib: \
48979 configure-target-zlib \
48980 pdf-target-zlib
48981 @: $(MAKE); $(unstage)
48982 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48983 r=`${PWD_COMMAND}`; export r; \
48984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48985 $(NORMAL_TARGET_EXPORTS) \
48986 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
48987 for flag in $(EXTRA_TARGET_FLAGS); do \
48988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48989 done; \
48990 (cd $(TARGET_SUBDIR)/zlib && \
48991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48993 "RANLIB=$${RANLIB}" \
48994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48995 install-pdf) \
48996 || exit 1
48998 @endif target-zlib
49000 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
49001 maybe-install-html-target-zlib:
49002 @if target-zlib
49003 maybe-install-html-target-zlib: install-html-target-zlib
49005 install-html-target-zlib: \
49006 configure-target-zlib \
49007 html-target-zlib
49008 @: $(MAKE); $(unstage)
49009 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49010 r=`${PWD_COMMAND}`; export r; \
49011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49012 $(NORMAL_TARGET_EXPORTS) \
49013 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
49014 for flag in $(EXTRA_TARGET_FLAGS); do \
49015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49016 done; \
49017 (cd $(TARGET_SUBDIR)/zlib && \
49018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49020 "RANLIB=$${RANLIB}" \
49021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49022 install-html) \
49023 || exit 1
49025 @endif target-zlib
49027 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
49028 maybe-installcheck-target-zlib:
49029 @if target-zlib
49030 maybe-installcheck-target-zlib: installcheck-target-zlib
49032 installcheck-target-zlib: \
49033 configure-target-zlib
49034 @: $(MAKE); $(unstage)
49035 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49036 r=`${PWD_COMMAND}`; export r; \
49037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49038 $(NORMAL_TARGET_EXPORTS) \
49039 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
49040 for flag in $(EXTRA_TARGET_FLAGS); do \
49041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49042 done; \
49043 (cd $(TARGET_SUBDIR)/zlib && \
49044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49046 "RANLIB=$${RANLIB}" \
49047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49048 installcheck) \
49049 || exit 1
49051 @endif target-zlib
49053 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
49054 maybe-mostlyclean-target-zlib:
49055 @if target-zlib
49056 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
49058 mostlyclean-target-zlib:
49059 @: $(MAKE); $(unstage)
49060 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49061 r=`${PWD_COMMAND}`; export r; \
49062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49063 $(NORMAL_TARGET_EXPORTS) \
49064 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
49065 for flag in $(EXTRA_TARGET_FLAGS); do \
49066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49067 done; \
49068 (cd $(TARGET_SUBDIR)/zlib && \
49069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49071 "RANLIB=$${RANLIB}" \
49072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49073 mostlyclean) \
49074 || exit 1
49076 @endif target-zlib
49078 .PHONY: maybe-clean-target-zlib clean-target-zlib
49079 maybe-clean-target-zlib:
49080 @if target-zlib
49081 maybe-clean-target-zlib: clean-target-zlib
49083 clean-target-zlib:
49084 @: $(MAKE); $(unstage)
49085 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49086 r=`${PWD_COMMAND}`; export r; \
49087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49088 $(NORMAL_TARGET_EXPORTS) \
49089 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
49090 for flag in $(EXTRA_TARGET_FLAGS); do \
49091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49092 done; \
49093 (cd $(TARGET_SUBDIR)/zlib && \
49094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49096 "RANLIB=$${RANLIB}" \
49097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49098 clean) \
49099 || exit 1
49101 @endif target-zlib
49103 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
49104 maybe-distclean-target-zlib:
49105 @if target-zlib
49106 maybe-distclean-target-zlib: distclean-target-zlib
49108 distclean-target-zlib:
49109 @: $(MAKE); $(unstage)
49110 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49111 r=`${PWD_COMMAND}`; export r; \
49112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49113 $(NORMAL_TARGET_EXPORTS) \
49114 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
49115 for flag in $(EXTRA_TARGET_FLAGS); do \
49116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49117 done; \
49118 (cd $(TARGET_SUBDIR)/zlib && \
49119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49121 "RANLIB=$${RANLIB}" \
49122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49123 distclean) \
49124 || exit 1
49126 @endif target-zlib
49128 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
49129 maybe-maintainer-clean-target-zlib:
49130 @if target-zlib
49131 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
49133 maintainer-clean-target-zlib:
49134 @: $(MAKE); $(unstage)
49135 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49136 r=`${PWD_COMMAND}`; export r; \
49137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49138 $(NORMAL_TARGET_EXPORTS) \
49139 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
49140 for flag in $(EXTRA_TARGET_FLAGS); do \
49141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49142 done; \
49143 (cd $(TARGET_SUBDIR)/zlib && \
49144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49146 "RANLIB=$${RANLIB}" \
49147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49148 maintainer-clean) \
49149 || exit 1
49151 @endif target-zlib
49157 .PHONY: configure-target-rda maybe-configure-target-rda
49158 maybe-configure-target-rda:
49159 @if gcc-bootstrap
49160 configure-target-rda: stage_current
49161 @endif gcc-bootstrap
49162 @if target-rda
49163 maybe-configure-target-rda: configure-target-rda
49164 configure-target-rda:
49165 @: $(MAKE); $(unstage)
49166 @r=`${PWD_COMMAND}`; export r; \
49167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49168 echo "Checking multilib configuration for rda..."; \
49169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49170 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
49171 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
49172 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
49173 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
49174 else \
49175 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
49176 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49177 fi; \
49178 else \
49179 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49180 fi; \
49181 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
49182 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49183 $(NORMAL_TARGET_EXPORTS) \
49184 echo Configuring in $(TARGET_SUBDIR)/rda; \
49185 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
49186 case $(srcdir) in \
49187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49188 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
49189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49190 esac; \
49191 module_srcdir=rda; \
49192 rm -f no-such-file || : ; \
49193 CONFIG_SITE=no-such-file $(SHELL) \
49194 $$s/$$module_srcdir/configure \
49195 --srcdir=$${topdir}/$$module_srcdir \
49196 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49197 --target=${target_alias} \
49198 || exit 1
49199 @endif target-rda
49205 .PHONY: all-target-rda maybe-all-target-rda
49206 maybe-all-target-rda:
49207 @if gcc-bootstrap
49208 all-target-rda: stage_current
49209 @endif gcc-bootstrap
49210 @if target-rda
49211 TARGET-target-rda=all
49212 maybe-all-target-rda: all-target-rda
49213 all-target-rda: configure-target-rda
49214 @: $(MAKE); $(unstage)
49215 @r=`${PWD_COMMAND}`; export r; \
49216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49217 $(NORMAL_TARGET_EXPORTS) \
49218 (cd $(TARGET_SUBDIR)/rda && \
49219 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49220 $(TARGET-target-rda))
49221 @endif target-rda
49227 .PHONY: check-target-rda maybe-check-target-rda
49228 maybe-check-target-rda:
49229 @if target-rda
49230 maybe-check-target-rda: check-target-rda
49232 check-target-rda:
49233 @: $(MAKE); $(unstage)
49234 @r=`${PWD_COMMAND}`; export r; \
49235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49236 $(NORMAL_TARGET_EXPORTS) \
49237 (cd $(TARGET_SUBDIR)/rda && \
49238 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49240 @endif target-rda
49242 .PHONY: install-target-rda maybe-install-target-rda
49243 maybe-install-target-rda:
49244 @if target-rda
49245 maybe-install-target-rda: install-target-rda
49247 install-target-rda: installdirs
49248 @: $(MAKE); $(unstage)
49249 @r=`${PWD_COMMAND}`; export r; \
49250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49251 $(NORMAL_TARGET_EXPORTS) \
49252 (cd $(TARGET_SUBDIR)/rda && \
49253 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49255 @endif target-rda
49257 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
49258 maybe-install-strip-target-rda:
49259 @if target-rda
49260 maybe-install-strip-target-rda: install-strip-target-rda
49262 install-strip-target-rda: installdirs
49263 @: $(MAKE); $(unstage)
49264 @r=`${PWD_COMMAND}`; export r; \
49265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49266 $(NORMAL_TARGET_EXPORTS) \
49267 (cd $(TARGET_SUBDIR)/rda && \
49268 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49270 @endif target-rda
49272 # Other targets (info, dvi, pdf, etc.)
49274 .PHONY: maybe-info-target-rda info-target-rda
49275 maybe-info-target-rda:
49276 @if target-rda
49277 maybe-info-target-rda: info-target-rda
49279 info-target-rda: \
49280 configure-target-rda
49281 @: $(MAKE); $(unstage)
49282 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49283 r=`${PWD_COMMAND}`; export r; \
49284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49285 $(NORMAL_TARGET_EXPORTS) \
49286 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
49287 for flag in $(EXTRA_TARGET_FLAGS); do \
49288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49289 done; \
49290 (cd $(TARGET_SUBDIR)/rda && \
49291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49293 "RANLIB=$${RANLIB}" \
49294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49295 info) \
49296 || exit 1
49298 @endif target-rda
49300 .PHONY: maybe-dvi-target-rda dvi-target-rda
49301 maybe-dvi-target-rda:
49302 @if target-rda
49303 maybe-dvi-target-rda: dvi-target-rda
49305 dvi-target-rda: \
49306 configure-target-rda
49307 @: $(MAKE); $(unstage)
49308 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49309 r=`${PWD_COMMAND}`; export r; \
49310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49311 $(NORMAL_TARGET_EXPORTS) \
49312 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
49313 for flag in $(EXTRA_TARGET_FLAGS); do \
49314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49315 done; \
49316 (cd $(TARGET_SUBDIR)/rda && \
49317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49319 "RANLIB=$${RANLIB}" \
49320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49321 dvi) \
49322 || exit 1
49324 @endif target-rda
49326 .PHONY: maybe-pdf-target-rda pdf-target-rda
49327 maybe-pdf-target-rda:
49328 @if target-rda
49329 maybe-pdf-target-rda: pdf-target-rda
49331 pdf-target-rda: \
49332 configure-target-rda
49333 @: $(MAKE); $(unstage)
49334 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49335 r=`${PWD_COMMAND}`; export r; \
49336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49337 $(NORMAL_TARGET_EXPORTS) \
49338 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
49339 for flag in $(EXTRA_TARGET_FLAGS); do \
49340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49341 done; \
49342 (cd $(TARGET_SUBDIR)/rda && \
49343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49345 "RANLIB=$${RANLIB}" \
49346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49347 pdf) \
49348 || exit 1
49350 @endif target-rda
49352 .PHONY: maybe-html-target-rda html-target-rda
49353 maybe-html-target-rda:
49354 @if target-rda
49355 maybe-html-target-rda: html-target-rda
49357 html-target-rda: \
49358 configure-target-rda
49359 @: $(MAKE); $(unstage)
49360 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49361 r=`${PWD_COMMAND}`; export r; \
49362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49363 $(NORMAL_TARGET_EXPORTS) \
49364 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
49365 for flag in $(EXTRA_TARGET_FLAGS); do \
49366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49367 done; \
49368 (cd $(TARGET_SUBDIR)/rda && \
49369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49371 "RANLIB=$${RANLIB}" \
49372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49373 html) \
49374 || exit 1
49376 @endif target-rda
49378 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
49379 maybe-TAGS-target-rda:
49380 @if target-rda
49381 maybe-TAGS-target-rda: TAGS-target-rda
49383 TAGS-target-rda: \
49384 configure-target-rda
49385 @: $(MAKE); $(unstage)
49386 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49387 r=`${PWD_COMMAND}`; export r; \
49388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49389 $(NORMAL_TARGET_EXPORTS) \
49390 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
49391 for flag in $(EXTRA_TARGET_FLAGS); do \
49392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49393 done; \
49394 (cd $(TARGET_SUBDIR)/rda && \
49395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49397 "RANLIB=$${RANLIB}" \
49398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49399 TAGS) \
49400 || exit 1
49402 @endif target-rda
49404 .PHONY: maybe-install-info-target-rda install-info-target-rda
49405 maybe-install-info-target-rda:
49406 @if target-rda
49407 maybe-install-info-target-rda: install-info-target-rda
49409 install-info-target-rda: \
49410 configure-target-rda \
49411 info-target-rda
49412 @: $(MAKE); $(unstage)
49413 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49414 r=`${PWD_COMMAND}`; export r; \
49415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49416 $(NORMAL_TARGET_EXPORTS) \
49417 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
49418 for flag in $(EXTRA_TARGET_FLAGS); do \
49419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49420 done; \
49421 (cd $(TARGET_SUBDIR)/rda && \
49422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49424 "RANLIB=$${RANLIB}" \
49425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49426 install-info) \
49427 || exit 1
49429 @endif target-rda
49431 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
49432 maybe-install-pdf-target-rda:
49433 @if target-rda
49434 maybe-install-pdf-target-rda: install-pdf-target-rda
49436 install-pdf-target-rda: \
49437 configure-target-rda \
49438 pdf-target-rda
49439 @: $(MAKE); $(unstage)
49440 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49441 r=`${PWD_COMMAND}`; export r; \
49442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49443 $(NORMAL_TARGET_EXPORTS) \
49444 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
49445 for flag in $(EXTRA_TARGET_FLAGS); do \
49446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49447 done; \
49448 (cd $(TARGET_SUBDIR)/rda && \
49449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49451 "RANLIB=$${RANLIB}" \
49452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49453 install-pdf) \
49454 || exit 1
49456 @endif target-rda
49458 .PHONY: maybe-install-html-target-rda install-html-target-rda
49459 maybe-install-html-target-rda:
49460 @if target-rda
49461 maybe-install-html-target-rda: install-html-target-rda
49463 install-html-target-rda: \
49464 configure-target-rda \
49465 html-target-rda
49466 @: $(MAKE); $(unstage)
49467 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49468 r=`${PWD_COMMAND}`; export r; \
49469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49470 $(NORMAL_TARGET_EXPORTS) \
49471 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
49472 for flag in $(EXTRA_TARGET_FLAGS); do \
49473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49474 done; \
49475 (cd $(TARGET_SUBDIR)/rda && \
49476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49478 "RANLIB=$${RANLIB}" \
49479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49480 install-html) \
49481 || exit 1
49483 @endif target-rda
49485 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
49486 maybe-installcheck-target-rda:
49487 @if target-rda
49488 maybe-installcheck-target-rda: installcheck-target-rda
49490 installcheck-target-rda: \
49491 configure-target-rda
49492 @: $(MAKE); $(unstage)
49493 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49494 r=`${PWD_COMMAND}`; export r; \
49495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49496 $(NORMAL_TARGET_EXPORTS) \
49497 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
49498 for flag in $(EXTRA_TARGET_FLAGS); do \
49499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49500 done; \
49501 (cd $(TARGET_SUBDIR)/rda && \
49502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49504 "RANLIB=$${RANLIB}" \
49505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49506 installcheck) \
49507 || exit 1
49509 @endif target-rda
49511 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
49512 maybe-mostlyclean-target-rda:
49513 @if target-rda
49514 maybe-mostlyclean-target-rda: mostlyclean-target-rda
49516 mostlyclean-target-rda:
49517 @: $(MAKE); $(unstage)
49518 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49519 r=`${PWD_COMMAND}`; export r; \
49520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49521 $(NORMAL_TARGET_EXPORTS) \
49522 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
49523 for flag in $(EXTRA_TARGET_FLAGS); do \
49524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49525 done; \
49526 (cd $(TARGET_SUBDIR)/rda && \
49527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49529 "RANLIB=$${RANLIB}" \
49530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49531 mostlyclean) \
49532 || exit 1
49534 @endif target-rda
49536 .PHONY: maybe-clean-target-rda clean-target-rda
49537 maybe-clean-target-rda:
49538 @if target-rda
49539 maybe-clean-target-rda: clean-target-rda
49541 clean-target-rda:
49542 @: $(MAKE); $(unstage)
49543 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49544 r=`${PWD_COMMAND}`; export r; \
49545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49546 $(NORMAL_TARGET_EXPORTS) \
49547 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
49548 for flag in $(EXTRA_TARGET_FLAGS); do \
49549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49550 done; \
49551 (cd $(TARGET_SUBDIR)/rda && \
49552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49554 "RANLIB=$${RANLIB}" \
49555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49556 clean) \
49557 || exit 1
49559 @endif target-rda
49561 .PHONY: maybe-distclean-target-rda distclean-target-rda
49562 maybe-distclean-target-rda:
49563 @if target-rda
49564 maybe-distclean-target-rda: distclean-target-rda
49566 distclean-target-rda:
49567 @: $(MAKE); $(unstage)
49568 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49569 r=`${PWD_COMMAND}`; export r; \
49570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49571 $(NORMAL_TARGET_EXPORTS) \
49572 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
49573 for flag in $(EXTRA_TARGET_FLAGS); do \
49574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49575 done; \
49576 (cd $(TARGET_SUBDIR)/rda && \
49577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49579 "RANLIB=$${RANLIB}" \
49580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49581 distclean) \
49582 || exit 1
49584 @endif target-rda
49586 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
49587 maybe-maintainer-clean-target-rda:
49588 @if target-rda
49589 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
49591 maintainer-clean-target-rda:
49592 @: $(MAKE); $(unstage)
49593 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49594 r=`${PWD_COMMAND}`; export r; \
49595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49596 $(NORMAL_TARGET_EXPORTS) \
49597 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
49598 for flag in $(EXTRA_TARGET_FLAGS); do \
49599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49600 done; \
49601 (cd $(TARGET_SUBDIR)/rda && \
49602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49604 "RANLIB=$${RANLIB}" \
49605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49606 maintainer-clean) \
49607 || exit 1
49609 @endif target-rda
49615 .PHONY: configure-target-libada maybe-configure-target-libada
49616 maybe-configure-target-libada:
49617 @if gcc-bootstrap
49618 configure-target-libada: stage_current
49619 @endif gcc-bootstrap
49620 @if target-libada
49621 maybe-configure-target-libada: configure-target-libada
49622 configure-target-libada:
49623 @: $(MAKE); $(unstage)
49624 @r=`${PWD_COMMAND}`; export r; \
49625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49626 echo "Checking multilib configuration for libada..."; \
49627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49628 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
49629 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
49630 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
49631 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
49632 else \
49633 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
49634 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49635 fi; \
49636 else \
49637 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49638 fi; \
49639 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
49640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49641 $(NORMAL_TARGET_EXPORTS) \
49642 echo Configuring in $(TARGET_SUBDIR)/libada; \
49643 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
49644 case $(srcdir) in \
49645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49646 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
49647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49648 esac; \
49649 module_srcdir=libada; \
49650 rm -f no-such-file || : ; \
49651 CONFIG_SITE=no-such-file $(SHELL) \
49652 $$s/$$module_srcdir/configure \
49653 --srcdir=$${topdir}/$$module_srcdir \
49654 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49655 --target=${target_alias} \
49656 || exit 1
49657 @endif target-libada
49663 .PHONY: all-target-libada maybe-all-target-libada
49664 maybe-all-target-libada:
49665 @if gcc-bootstrap
49666 all-target-libada: stage_current
49667 @endif gcc-bootstrap
49668 @if target-libada
49669 TARGET-target-libada=all
49670 maybe-all-target-libada: all-target-libada
49671 all-target-libada: configure-target-libada
49672 @: $(MAKE); $(unstage)
49673 @r=`${PWD_COMMAND}`; export r; \
49674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49675 $(NORMAL_TARGET_EXPORTS) \
49676 (cd $(TARGET_SUBDIR)/libada && \
49677 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49678 $(TARGET-target-libada))
49679 @endif target-libada
49685 .PHONY: check-target-libada maybe-check-target-libada
49686 maybe-check-target-libada:
49687 @if target-libada
49688 maybe-check-target-libada: check-target-libada
49690 check-target-libada:
49691 @: $(MAKE); $(unstage)
49692 @r=`${PWD_COMMAND}`; export r; \
49693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49694 $(NORMAL_TARGET_EXPORTS) \
49695 (cd $(TARGET_SUBDIR)/libada && \
49696 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49698 @endif target-libada
49700 .PHONY: install-target-libada maybe-install-target-libada
49701 maybe-install-target-libada:
49702 @if target-libada
49703 maybe-install-target-libada: install-target-libada
49705 install-target-libada: installdirs
49706 @: $(MAKE); $(unstage)
49707 @r=`${PWD_COMMAND}`; export r; \
49708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49709 $(NORMAL_TARGET_EXPORTS) \
49710 (cd $(TARGET_SUBDIR)/libada && \
49711 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49713 @endif target-libada
49715 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
49716 maybe-install-strip-target-libada:
49717 @if target-libada
49718 maybe-install-strip-target-libada: install-strip-target-libada
49720 install-strip-target-libada: installdirs
49721 @: $(MAKE); $(unstage)
49722 @r=`${PWD_COMMAND}`; export r; \
49723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49724 $(NORMAL_TARGET_EXPORTS) \
49725 (cd $(TARGET_SUBDIR)/libada && \
49726 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49728 @endif target-libada
49730 # Other targets (info, dvi, pdf, etc.)
49732 .PHONY: maybe-info-target-libada info-target-libada
49733 maybe-info-target-libada:
49734 @if target-libada
49735 maybe-info-target-libada: info-target-libada
49737 info-target-libada: \
49738 configure-target-libada
49739 @: $(MAKE); $(unstage)
49740 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49741 r=`${PWD_COMMAND}`; export r; \
49742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49743 $(NORMAL_TARGET_EXPORTS) \
49744 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
49745 for flag in $(EXTRA_TARGET_FLAGS); do \
49746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49747 done; \
49748 (cd $(TARGET_SUBDIR)/libada && \
49749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49751 "RANLIB=$${RANLIB}" \
49752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49753 info) \
49754 || exit 1
49756 @endif target-libada
49758 .PHONY: maybe-dvi-target-libada dvi-target-libada
49759 maybe-dvi-target-libada:
49760 @if target-libada
49761 maybe-dvi-target-libada: dvi-target-libada
49763 dvi-target-libada: \
49764 configure-target-libada
49765 @: $(MAKE); $(unstage)
49766 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49767 r=`${PWD_COMMAND}`; export r; \
49768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49769 $(NORMAL_TARGET_EXPORTS) \
49770 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
49771 for flag in $(EXTRA_TARGET_FLAGS); do \
49772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49773 done; \
49774 (cd $(TARGET_SUBDIR)/libada && \
49775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49777 "RANLIB=$${RANLIB}" \
49778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49779 dvi) \
49780 || exit 1
49782 @endif target-libada
49784 .PHONY: maybe-pdf-target-libada pdf-target-libada
49785 maybe-pdf-target-libada:
49786 @if target-libada
49787 maybe-pdf-target-libada: pdf-target-libada
49789 pdf-target-libada: \
49790 configure-target-libada
49791 @: $(MAKE); $(unstage)
49792 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49793 r=`${PWD_COMMAND}`; export r; \
49794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49795 $(NORMAL_TARGET_EXPORTS) \
49796 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
49797 for flag in $(EXTRA_TARGET_FLAGS); do \
49798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49799 done; \
49800 (cd $(TARGET_SUBDIR)/libada && \
49801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49803 "RANLIB=$${RANLIB}" \
49804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49805 pdf) \
49806 || exit 1
49808 @endif target-libada
49810 .PHONY: maybe-html-target-libada html-target-libada
49811 maybe-html-target-libada:
49812 @if target-libada
49813 maybe-html-target-libada: html-target-libada
49815 html-target-libada: \
49816 configure-target-libada
49817 @: $(MAKE); $(unstage)
49818 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49819 r=`${PWD_COMMAND}`; export r; \
49820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49821 $(NORMAL_TARGET_EXPORTS) \
49822 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
49823 for flag in $(EXTRA_TARGET_FLAGS); do \
49824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49825 done; \
49826 (cd $(TARGET_SUBDIR)/libada && \
49827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49829 "RANLIB=$${RANLIB}" \
49830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49831 html) \
49832 || exit 1
49834 @endif target-libada
49836 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
49837 maybe-TAGS-target-libada:
49838 @if target-libada
49839 maybe-TAGS-target-libada: TAGS-target-libada
49841 TAGS-target-libada: \
49842 configure-target-libada
49843 @: $(MAKE); $(unstage)
49844 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49845 r=`${PWD_COMMAND}`; export r; \
49846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49847 $(NORMAL_TARGET_EXPORTS) \
49848 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
49849 for flag in $(EXTRA_TARGET_FLAGS); do \
49850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49851 done; \
49852 (cd $(TARGET_SUBDIR)/libada && \
49853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49855 "RANLIB=$${RANLIB}" \
49856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49857 TAGS) \
49858 || exit 1
49860 @endif target-libada
49862 .PHONY: maybe-install-info-target-libada install-info-target-libada
49863 maybe-install-info-target-libada:
49864 @if target-libada
49865 maybe-install-info-target-libada: install-info-target-libada
49867 install-info-target-libada: \
49868 configure-target-libada \
49869 info-target-libada
49870 @: $(MAKE); $(unstage)
49871 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49872 r=`${PWD_COMMAND}`; export r; \
49873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49874 $(NORMAL_TARGET_EXPORTS) \
49875 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
49876 for flag in $(EXTRA_TARGET_FLAGS); do \
49877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49878 done; \
49879 (cd $(TARGET_SUBDIR)/libada && \
49880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49882 "RANLIB=$${RANLIB}" \
49883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49884 install-info) \
49885 || exit 1
49887 @endif target-libada
49889 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
49890 maybe-install-pdf-target-libada:
49891 @if target-libada
49892 maybe-install-pdf-target-libada: install-pdf-target-libada
49894 install-pdf-target-libada: \
49895 configure-target-libada \
49896 pdf-target-libada
49897 @: $(MAKE); $(unstage)
49898 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49899 r=`${PWD_COMMAND}`; export r; \
49900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49901 $(NORMAL_TARGET_EXPORTS) \
49902 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
49903 for flag in $(EXTRA_TARGET_FLAGS); do \
49904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49905 done; \
49906 (cd $(TARGET_SUBDIR)/libada && \
49907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49909 "RANLIB=$${RANLIB}" \
49910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49911 install-pdf) \
49912 || exit 1
49914 @endif target-libada
49916 .PHONY: maybe-install-html-target-libada install-html-target-libada
49917 maybe-install-html-target-libada:
49918 @if target-libada
49919 maybe-install-html-target-libada: install-html-target-libada
49921 install-html-target-libada: \
49922 configure-target-libada \
49923 html-target-libada
49924 @: $(MAKE); $(unstage)
49925 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49926 r=`${PWD_COMMAND}`; export r; \
49927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49928 $(NORMAL_TARGET_EXPORTS) \
49929 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
49930 for flag in $(EXTRA_TARGET_FLAGS); do \
49931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49932 done; \
49933 (cd $(TARGET_SUBDIR)/libada && \
49934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49936 "RANLIB=$${RANLIB}" \
49937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49938 install-html) \
49939 || exit 1
49941 @endif target-libada
49943 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
49944 maybe-installcheck-target-libada:
49945 @if target-libada
49946 maybe-installcheck-target-libada: installcheck-target-libada
49948 installcheck-target-libada: \
49949 configure-target-libada
49950 @: $(MAKE); $(unstage)
49951 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49952 r=`${PWD_COMMAND}`; export r; \
49953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49954 $(NORMAL_TARGET_EXPORTS) \
49955 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
49956 for flag in $(EXTRA_TARGET_FLAGS); do \
49957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49958 done; \
49959 (cd $(TARGET_SUBDIR)/libada && \
49960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49962 "RANLIB=$${RANLIB}" \
49963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49964 installcheck) \
49965 || exit 1
49967 @endif target-libada
49969 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
49970 maybe-mostlyclean-target-libada:
49971 @if target-libada
49972 maybe-mostlyclean-target-libada: mostlyclean-target-libada
49974 mostlyclean-target-libada:
49975 @: $(MAKE); $(unstage)
49976 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49977 r=`${PWD_COMMAND}`; export r; \
49978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49979 $(NORMAL_TARGET_EXPORTS) \
49980 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
49981 for flag in $(EXTRA_TARGET_FLAGS); do \
49982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49983 done; \
49984 (cd $(TARGET_SUBDIR)/libada && \
49985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49987 "RANLIB=$${RANLIB}" \
49988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49989 mostlyclean) \
49990 || exit 1
49992 @endif target-libada
49994 .PHONY: maybe-clean-target-libada clean-target-libada
49995 maybe-clean-target-libada:
49996 @if target-libada
49997 maybe-clean-target-libada: clean-target-libada
49999 clean-target-libada:
50000 @: $(MAKE); $(unstage)
50001 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50002 r=`${PWD_COMMAND}`; export r; \
50003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50004 $(NORMAL_TARGET_EXPORTS) \
50005 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
50006 for flag in $(EXTRA_TARGET_FLAGS); do \
50007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50008 done; \
50009 (cd $(TARGET_SUBDIR)/libada && \
50010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50012 "RANLIB=$${RANLIB}" \
50013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50014 clean) \
50015 || exit 1
50017 @endif target-libada
50019 .PHONY: maybe-distclean-target-libada distclean-target-libada
50020 maybe-distclean-target-libada:
50021 @if target-libada
50022 maybe-distclean-target-libada: distclean-target-libada
50024 distclean-target-libada:
50025 @: $(MAKE); $(unstage)
50026 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50027 r=`${PWD_COMMAND}`; export r; \
50028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50029 $(NORMAL_TARGET_EXPORTS) \
50030 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
50031 for flag in $(EXTRA_TARGET_FLAGS); do \
50032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50033 done; \
50034 (cd $(TARGET_SUBDIR)/libada && \
50035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50037 "RANLIB=$${RANLIB}" \
50038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50039 distclean) \
50040 || exit 1
50042 @endif target-libada
50044 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
50045 maybe-maintainer-clean-target-libada:
50046 @if target-libada
50047 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
50049 maintainer-clean-target-libada:
50050 @: $(MAKE); $(unstage)
50051 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50052 r=`${PWD_COMMAND}`; export r; \
50053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50054 $(NORMAL_TARGET_EXPORTS) \
50055 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
50056 for flag in $(EXTRA_TARGET_FLAGS); do \
50057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50058 done; \
50059 (cd $(TARGET_SUBDIR)/libada && \
50060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50062 "RANLIB=$${RANLIB}" \
50063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50064 maintainer-clean) \
50065 || exit 1
50067 @endif target-libada
50073 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
50074 maybe-configure-target-libgomp:
50075 @if gcc-bootstrap
50076 configure-target-libgomp: stage_current
50077 @endif gcc-bootstrap
50078 @if target-libgomp
50079 maybe-configure-target-libgomp: configure-target-libgomp
50080 configure-target-libgomp:
50081 @r=`${PWD_COMMAND}`; export r; \
50082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50083 echo "Checking multilib configuration for libgomp..."; \
50084 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50085 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50086 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50087 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50088 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50089 else \
50090 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50091 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50092 fi; \
50093 else \
50094 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50095 fi; \
50096 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50097 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50098 $(NORMAL_TARGET_EXPORTS) \
50099 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
50100 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
50101 case $(srcdir) in \
50102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50103 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50105 esac; \
50106 module_srcdir=libgomp; \
50107 rm -f no-such-file || : ; \
50108 CONFIG_SITE=no-such-file $(SHELL) \
50109 $$s/$$module_srcdir/configure \
50110 --srcdir=$${topdir}/$$module_srcdir \
50111 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50112 --target=${target_alias} \
50113 || exit 1
50114 @endif target-libgomp
50118 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
50119 maybe-configure-stage1-target-libgomp:
50120 @if target-libgomp-bootstrap
50121 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
50122 configure-stage1-target-libgomp:
50123 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50124 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50125 @r=`${PWD_COMMAND}`; export r; \
50126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50127 TFLAGS="$(STAGE1_TFLAGS)"; \
50128 echo "Checking multilib configuration for libgomp..."; \
50129 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50130 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50131 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50132 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50133 else \
50134 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50135 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50136 fi; \
50137 else \
50138 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50139 fi; \
50140 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50141 $(NORMAL_TARGET_EXPORTS) \
50142 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50143 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50144 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50145 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
50146 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50147 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50148 case $(srcdir) in \
50149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50150 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50152 esac; \
50153 module_srcdir=libgomp; \
50154 $(SHELL) $$s/$$module_srcdir/configure \
50155 --srcdir=$${topdir}/$$module_srcdir \
50156 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50157 --target=${target_alias} \
50159 $(STAGE1_CONFIGURE_FLAGS)
50160 @endif target-libgomp-bootstrap
50162 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
50163 maybe-configure-stage2-target-libgomp:
50164 @if target-libgomp-bootstrap
50165 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
50166 configure-stage2-target-libgomp:
50167 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50168 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50169 @r=`${PWD_COMMAND}`; export r; \
50170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50171 TFLAGS="$(STAGE2_TFLAGS)"; \
50172 echo "Checking multilib configuration for libgomp..."; \
50173 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50174 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50175 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50176 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50177 else \
50178 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50179 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50180 fi; \
50181 else \
50182 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50183 fi; \
50184 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50185 $(NORMAL_TARGET_EXPORTS) \
50187 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50188 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50189 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50190 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
50191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50192 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50193 case $(srcdir) in \
50194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50195 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50197 esac; \
50198 module_srcdir=libgomp; \
50199 $(SHELL) $$s/$$module_srcdir/configure \
50200 --srcdir=$${topdir}/$$module_srcdir \
50201 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50202 --target=${target_alias} \
50203 --with-build-libsubdir=$(HOST_SUBDIR) \
50204 $(STAGE2_CONFIGURE_FLAGS)
50205 @endif target-libgomp-bootstrap
50207 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
50208 maybe-configure-stage3-target-libgomp:
50209 @if target-libgomp-bootstrap
50210 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
50211 configure-stage3-target-libgomp:
50212 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50213 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50214 @r=`${PWD_COMMAND}`; export r; \
50215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50216 TFLAGS="$(STAGE3_TFLAGS)"; \
50217 echo "Checking multilib configuration for libgomp..."; \
50218 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50219 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50220 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50221 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50222 else \
50223 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50224 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50225 fi; \
50226 else \
50227 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50228 fi; \
50229 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50230 $(NORMAL_TARGET_EXPORTS) \
50232 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50233 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50234 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50235 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
50236 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50237 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50238 case $(srcdir) in \
50239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50240 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50242 esac; \
50243 module_srcdir=libgomp; \
50244 $(SHELL) $$s/$$module_srcdir/configure \
50245 --srcdir=$${topdir}/$$module_srcdir \
50246 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50247 --target=${target_alias} \
50248 --with-build-libsubdir=$(HOST_SUBDIR) \
50249 $(STAGE3_CONFIGURE_FLAGS)
50250 @endif target-libgomp-bootstrap
50252 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
50253 maybe-configure-stage4-target-libgomp:
50254 @if target-libgomp-bootstrap
50255 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
50256 configure-stage4-target-libgomp:
50257 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50258 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50259 @r=`${PWD_COMMAND}`; export r; \
50260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50261 TFLAGS="$(STAGE4_TFLAGS)"; \
50262 echo "Checking multilib configuration for libgomp..."; \
50263 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50264 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50265 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50266 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50267 else \
50268 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50269 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50270 fi; \
50271 else \
50272 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50273 fi; \
50274 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50275 $(NORMAL_TARGET_EXPORTS) \
50277 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50279 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50280 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
50281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50282 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50283 case $(srcdir) in \
50284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50285 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50287 esac; \
50288 module_srcdir=libgomp; \
50289 $(SHELL) $$s/$$module_srcdir/configure \
50290 --srcdir=$${topdir}/$$module_srcdir \
50291 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50292 --target=${target_alias} \
50293 --with-build-libsubdir=$(HOST_SUBDIR) \
50294 $(STAGE4_CONFIGURE_FLAGS)
50295 @endif target-libgomp-bootstrap
50297 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
50298 maybe-configure-stageprofile-target-libgomp:
50299 @if target-libgomp-bootstrap
50300 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50301 configure-stageprofile-target-libgomp:
50302 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50303 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50304 @r=`${PWD_COMMAND}`; export r; \
50305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50306 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50307 echo "Checking multilib configuration for libgomp..."; \
50308 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50309 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50310 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50311 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50312 else \
50313 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50314 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50315 fi; \
50316 else \
50317 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50318 fi; \
50319 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50320 $(NORMAL_TARGET_EXPORTS) \
50322 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50323 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50324 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50325 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
50326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50327 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50328 case $(srcdir) in \
50329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50330 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50332 esac; \
50333 module_srcdir=libgomp; \
50334 $(SHELL) $$s/$$module_srcdir/configure \
50335 --srcdir=$${topdir}/$$module_srcdir \
50336 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50337 --target=${target_alias} \
50338 --with-build-libsubdir=$(HOST_SUBDIR) \
50339 $(STAGEprofile_CONFIGURE_FLAGS)
50340 @endif target-libgomp-bootstrap
50342 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
50343 maybe-configure-stagetrain-target-libgomp:
50344 @if target-libgomp-bootstrap
50345 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
50346 configure-stagetrain-target-libgomp:
50347 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50348 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50349 @r=`${PWD_COMMAND}`; export r; \
50350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50351 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50352 echo "Checking multilib configuration for libgomp..."; \
50353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50354 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50355 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50356 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50357 else \
50358 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50359 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50360 fi; \
50361 else \
50362 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50363 fi; \
50364 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50365 $(NORMAL_TARGET_EXPORTS) \
50367 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50368 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50369 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50370 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
50371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50372 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50373 case $(srcdir) in \
50374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50375 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50377 esac; \
50378 module_srcdir=libgomp; \
50379 $(SHELL) $$s/$$module_srcdir/configure \
50380 --srcdir=$${topdir}/$$module_srcdir \
50381 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50382 --target=${target_alias} \
50383 --with-build-libsubdir=$(HOST_SUBDIR) \
50384 $(STAGEtrain_CONFIGURE_FLAGS)
50385 @endif target-libgomp-bootstrap
50387 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
50388 maybe-configure-stagefeedback-target-libgomp:
50389 @if target-libgomp-bootstrap
50390 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50391 configure-stagefeedback-target-libgomp:
50392 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50393 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50394 @r=`${PWD_COMMAND}`; export r; \
50395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50396 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50397 echo "Checking multilib configuration for libgomp..."; \
50398 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50399 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50400 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50401 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50402 else \
50403 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50404 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50405 fi; \
50406 else \
50407 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50408 fi; \
50409 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50410 $(NORMAL_TARGET_EXPORTS) \
50412 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50413 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50414 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50415 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
50416 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50417 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50418 case $(srcdir) in \
50419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50420 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50422 esac; \
50423 module_srcdir=libgomp; \
50424 $(SHELL) $$s/$$module_srcdir/configure \
50425 --srcdir=$${topdir}/$$module_srcdir \
50426 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50427 --target=${target_alias} \
50428 --with-build-libsubdir=$(HOST_SUBDIR) \
50429 $(STAGEfeedback_CONFIGURE_FLAGS)
50430 @endif target-libgomp-bootstrap
50432 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
50433 maybe-configure-stageautoprofile-target-libgomp:
50434 @if target-libgomp-bootstrap
50435 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50436 configure-stageautoprofile-target-libgomp:
50437 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50438 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50439 @r=`${PWD_COMMAND}`; export r; \
50440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50441 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50442 echo "Checking multilib configuration for libgomp..."; \
50443 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50444 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50445 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50446 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50447 else \
50448 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50449 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50450 fi; \
50451 else \
50452 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50453 fi; \
50454 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50455 $(NORMAL_TARGET_EXPORTS) \
50457 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50458 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50459 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50460 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
50461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50462 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50463 case $(srcdir) in \
50464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50465 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50467 esac; \
50468 module_srcdir=libgomp; \
50469 $(SHELL) $$s/$$module_srcdir/configure \
50470 --srcdir=$${topdir}/$$module_srcdir \
50471 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50472 --target=${target_alias} \
50473 --with-build-libsubdir=$(HOST_SUBDIR) \
50474 $(STAGEautoprofile_CONFIGURE_FLAGS)
50475 @endif target-libgomp-bootstrap
50477 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
50478 maybe-configure-stageautofeedback-target-libgomp:
50479 @if target-libgomp-bootstrap
50480 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50481 configure-stageautofeedback-target-libgomp:
50482 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50483 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50484 @r=`${PWD_COMMAND}`; export r; \
50485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50486 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50487 echo "Checking multilib configuration for libgomp..."; \
50488 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50489 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50490 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50491 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50492 else \
50493 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50494 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50495 fi; \
50496 else \
50497 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50498 fi; \
50499 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50500 $(NORMAL_TARGET_EXPORTS) \
50502 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50503 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50504 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50505 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
50506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50507 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50508 case $(srcdir) in \
50509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50510 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50512 esac; \
50513 module_srcdir=libgomp; \
50514 $(SHELL) $$s/$$module_srcdir/configure \
50515 --srcdir=$${topdir}/$$module_srcdir \
50516 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50517 --target=${target_alias} \
50518 --with-build-libsubdir=$(HOST_SUBDIR) \
50519 $(STAGEautofeedback_CONFIGURE_FLAGS)
50520 @endif target-libgomp-bootstrap
50526 .PHONY: all-target-libgomp maybe-all-target-libgomp
50527 maybe-all-target-libgomp:
50528 @if gcc-bootstrap
50529 all-target-libgomp: stage_current
50530 @endif gcc-bootstrap
50531 @if target-libgomp
50532 TARGET-target-libgomp=all
50533 maybe-all-target-libgomp: all-target-libgomp
50534 all-target-libgomp: configure-target-libgomp
50535 @r=`${PWD_COMMAND}`; export r; \
50536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50537 $(NORMAL_TARGET_EXPORTS) \
50538 (cd $(TARGET_SUBDIR)/libgomp && \
50539 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50540 $(TARGET-target-libgomp))
50541 @endif target-libgomp
50545 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
50546 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
50547 maybe-all-stage1-target-libgomp:
50548 maybe-clean-stage1-target-libgomp:
50549 @if target-libgomp-bootstrap
50550 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
50551 all-stage1: all-stage1-target-libgomp
50552 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
50553 all-stage1-target-libgomp: configure-stage1-target-libgomp
50554 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50555 @r=`${PWD_COMMAND}`; export r; \
50556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50557 TFLAGS="$(STAGE1_TFLAGS)"; \
50558 $(NORMAL_TARGET_EXPORTS) \
50559 cd $(TARGET_SUBDIR)/libgomp && \
50561 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50562 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50563 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50564 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50565 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50566 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50567 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50568 $(EXTRA_TARGET_FLAGS) \
50570 TFLAGS="$(STAGE1_TFLAGS)" \
50571 $(TARGET-stage1-target-libgomp)
50573 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
50574 clean-stage1: clean-stage1-target-libgomp
50575 clean-stage1-target-libgomp:
50576 @if [ $(current_stage) = stage1 ]; then \
50577 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50578 else \
50579 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
50580 $(MAKE) stage1-start; \
50581 fi; \
50582 cd $(TARGET_SUBDIR)/libgomp && \
50583 $(MAKE) $(EXTRA_TARGET_FLAGS) \
50584 clean
50585 @endif target-libgomp-bootstrap
50588 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
50589 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
50590 maybe-all-stage2-target-libgomp:
50591 maybe-clean-stage2-target-libgomp:
50592 @if target-libgomp-bootstrap
50593 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
50594 all-stage2: all-stage2-target-libgomp
50595 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
50596 all-stage2-target-libgomp: configure-stage2-target-libgomp
50597 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50598 @r=`${PWD_COMMAND}`; export r; \
50599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50600 TFLAGS="$(STAGE2_TFLAGS)"; \
50601 $(NORMAL_TARGET_EXPORTS) \
50603 cd $(TARGET_SUBDIR)/libgomp && \
50605 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50606 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50607 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50608 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50609 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50610 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50611 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50612 $(EXTRA_TARGET_FLAGS) \
50613 TFLAGS="$(STAGE2_TFLAGS)" \
50614 $(TARGET-stage2-target-libgomp)
50616 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
50617 clean-stage2: clean-stage2-target-libgomp
50618 clean-stage2-target-libgomp:
50619 @if [ $(current_stage) = stage2 ]; then \
50620 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50621 else \
50622 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
50623 $(MAKE) stage2-start; \
50624 fi; \
50625 cd $(TARGET_SUBDIR)/libgomp && \
50626 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50627 @endif target-libgomp-bootstrap
50630 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
50631 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
50632 maybe-all-stage3-target-libgomp:
50633 maybe-clean-stage3-target-libgomp:
50634 @if target-libgomp-bootstrap
50635 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
50636 all-stage3: all-stage3-target-libgomp
50637 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
50638 all-stage3-target-libgomp: configure-stage3-target-libgomp
50639 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50640 @r=`${PWD_COMMAND}`; export r; \
50641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50642 TFLAGS="$(STAGE3_TFLAGS)"; \
50643 $(NORMAL_TARGET_EXPORTS) \
50645 cd $(TARGET_SUBDIR)/libgomp && \
50647 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50648 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50651 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50652 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50653 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50654 $(EXTRA_TARGET_FLAGS) \
50655 TFLAGS="$(STAGE3_TFLAGS)" \
50656 $(TARGET-stage3-target-libgomp)
50658 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
50659 clean-stage3: clean-stage3-target-libgomp
50660 clean-stage3-target-libgomp:
50661 @if [ $(current_stage) = stage3 ]; then \
50662 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50663 else \
50664 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
50665 $(MAKE) stage3-start; \
50666 fi; \
50667 cd $(TARGET_SUBDIR)/libgomp && \
50668 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50669 @endif target-libgomp-bootstrap
50672 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
50673 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
50674 maybe-all-stage4-target-libgomp:
50675 maybe-clean-stage4-target-libgomp:
50676 @if target-libgomp-bootstrap
50677 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
50678 all-stage4: all-stage4-target-libgomp
50679 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
50680 all-stage4-target-libgomp: configure-stage4-target-libgomp
50681 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50682 @r=`${PWD_COMMAND}`; export r; \
50683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50684 TFLAGS="$(STAGE4_TFLAGS)"; \
50685 $(NORMAL_TARGET_EXPORTS) \
50687 cd $(TARGET_SUBDIR)/libgomp && \
50689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50690 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50691 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50692 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50696 $(EXTRA_TARGET_FLAGS) \
50697 TFLAGS="$(STAGE4_TFLAGS)" \
50698 $(TARGET-stage4-target-libgomp)
50700 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
50701 clean-stage4: clean-stage4-target-libgomp
50702 clean-stage4-target-libgomp:
50703 @if [ $(current_stage) = stage4 ]; then \
50704 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50705 else \
50706 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
50707 $(MAKE) stage4-start; \
50708 fi; \
50709 cd $(TARGET_SUBDIR)/libgomp && \
50710 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50711 @endif target-libgomp-bootstrap
50714 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
50715 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
50716 maybe-all-stageprofile-target-libgomp:
50717 maybe-clean-stageprofile-target-libgomp:
50718 @if target-libgomp-bootstrap
50719 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
50720 all-stageprofile: all-stageprofile-target-libgomp
50721 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
50722 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50723 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50724 @r=`${PWD_COMMAND}`; export r; \
50725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50726 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50727 $(NORMAL_TARGET_EXPORTS) \
50729 cd $(TARGET_SUBDIR)/libgomp && \
50731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50732 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50733 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50734 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50735 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50736 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50737 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50738 $(EXTRA_TARGET_FLAGS) \
50739 TFLAGS="$(STAGEprofile_TFLAGS)" \
50740 $(TARGET-stageprofile-target-libgomp)
50742 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
50743 clean-stageprofile: clean-stageprofile-target-libgomp
50744 clean-stageprofile-target-libgomp:
50745 @if [ $(current_stage) = stageprofile ]; then \
50746 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50747 else \
50748 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
50749 $(MAKE) stageprofile-start; \
50750 fi; \
50751 cd $(TARGET_SUBDIR)/libgomp && \
50752 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50753 @endif target-libgomp-bootstrap
50756 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
50757 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
50758 maybe-all-stagetrain-target-libgomp:
50759 maybe-clean-stagetrain-target-libgomp:
50760 @if target-libgomp-bootstrap
50761 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
50762 all-stagetrain: all-stagetrain-target-libgomp
50763 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
50764 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
50765 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50766 @r=`${PWD_COMMAND}`; export r; \
50767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50768 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50769 $(NORMAL_TARGET_EXPORTS) \
50771 cd $(TARGET_SUBDIR)/libgomp && \
50773 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50774 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50775 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50776 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50777 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50778 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50779 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50780 $(EXTRA_TARGET_FLAGS) \
50781 TFLAGS="$(STAGEtrain_TFLAGS)" \
50782 $(TARGET-stagetrain-target-libgomp)
50784 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
50785 clean-stagetrain: clean-stagetrain-target-libgomp
50786 clean-stagetrain-target-libgomp:
50787 @if [ $(current_stage) = stagetrain ]; then \
50788 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50789 else \
50790 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
50791 $(MAKE) stagetrain-start; \
50792 fi; \
50793 cd $(TARGET_SUBDIR)/libgomp && \
50794 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50795 @endif target-libgomp-bootstrap
50798 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
50799 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
50800 maybe-all-stagefeedback-target-libgomp:
50801 maybe-clean-stagefeedback-target-libgomp:
50802 @if target-libgomp-bootstrap
50803 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
50804 all-stagefeedback: all-stagefeedback-target-libgomp
50805 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
50806 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50807 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50808 @r=`${PWD_COMMAND}`; export r; \
50809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50810 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50811 $(NORMAL_TARGET_EXPORTS) \
50813 cd $(TARGET_SUBDIR)/libgomp && \
50815 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50816 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50817 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50818 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50819 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50820 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50821 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50822 $(EXTRA_TARGET_FLAGS) \
50823 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50824 $(TARGET-stagefeedback-target-libgomp)
50826 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
50827 clean-stagefeedback: clean-stagefeedback-target-libgomp
50828 clean-stagefeedback-target-libgomp:
50829 @if [ $(current_stage) = stagefeedback ]; then \
50830 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50831 else \
50832 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
50833 $(MAKE) stagefeedback-start; \
50834 fi; \
50835 cd $(TARGET_SUBDIR)/libgomp && \
50836 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50837 @endif target-libgomp-bootstrap
50840 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
50841 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
50842 maybe-all-stageautoprofile-target-libgomp:
50843 maybe-clean-stageautoprofile-target-libgomp:
50844 @if target-libgomp-bootstrap
50845 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
50846 all-stageautoprofile: all-stageautoprofile-target-libgomp
50847 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
50848 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50849 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50850 @r=`${PWD_COMMAND}`; export r; \
50851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50852 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50853 $(NORMAL_TARGET_EXPORTS) \
50855 cd $(TARGET_SUBDIR)/libgomp && \
50856 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50857 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50858 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50859 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50860 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50861 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50862 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50863 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50864 $(EXTRA_TARGET_FLAGS) \
50865 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50866 $(TARGET-stageautoprofile-target-libgomp)
50868 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
50869 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
50870 clean-stageautoprofile-target-libgomp:
50871 @if [ $(current_stage) = stageautoprofile ]; then \
50872 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50873 else \
50874 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
50875 $(MAKE) stageautoprofile-start; \
50876 fi; \
50877 cd $(TARGET_SUBDIR)/libgomp && \
50878 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50879 @endif target-libgomp-bootstrap
50882 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
50883 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
50884 maybe-all-stageautofeedback-target-libgomp:
50885 maybe-clean-stageautofeedback-target-libgomp:
50886 @if target-libgomp-bootstrap
50887 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
50888 all-stageautofeedback: all-stageautofeedback-target-libgomp
50889 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
50890 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50891 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50892 @r=`${PWD_COMMAND}`; export r; \
50893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50894 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50895 $(NORMAL_TARGET_EXPORTS) \
50897 cd $(TARGET_SUBDIR)/libgomp && \
50899 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50900 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50901 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50902 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50903 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50904 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50905 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50906 $(EXTRA_TARGET_FLAGS) \
50907 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50908 $(TARGET-stageautofeedback-target-libgomp)
50910 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
50911 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
50912 clean-stageautofeedback-target-libgomp:
50913 @if [ $(current_stage) = stageautofeedback ]; then \
50914 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50915 else \
50916 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
50917 $(MAKE) stageautofeedback-start; \
50918 fi; \
50919 cd $(TARGET_SUBDIR)/libgomp && \
50920 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50921 @endif target-libgomp-bootstrap
50928 .PHONY: check-target-libgomp maybe-check-target-libgomp
50929 maybe-check-target-libgomp:
50930 @if target-libgomp
50931 maybe-check-target-libgomp: check-target-libgomp
50933 check-target-libgomp:
50934 @: $(MAKE); $(unstage)
50935 @r=`${PWD_COMMAND}`; export r; \
50936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50937 $(NORMAL_TARGET_EXPORTS) \
50938 (cd $(TARGET_SUBDIR)/libgomp && \
50939 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50941 @endif target-libgomp
50943 .PHONY: install-target-libgomp maybe-install-target-libgomp
50944 maybe-install-target-libgomp:
50945 @if target-libgomp
50946 maybe-install-target-libgomp: install-target-libgomp
50948 install-target-libgomp: installdirs
50949 @: $(MAKE); $(unstage)
50950 @r=`${PWD_COMMAND}`; export r; \
50951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50952 $(NORMAL_TARGET_EXPORTS) \
50953 (cd $(TARGET_SUBDIR)/libgomp && \
50954 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50956 @endif target-libgomp
50958 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
50959 maybe-install-strip-target-libgomp:
50960 @if target-libgomp
50961 maybe-install-strip-target-libgomp: install-strip-target-libgomp
50963 install-strip-target-libgomp: installdirs
50964 @: $(MAKE); $(unstage)
50965 @r=`${PWD_COMMAND}`; export r; \
50966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50967 $(NORMAL_TARGET_EXPORTS) \
50968 (cd $(TARGET_SUBDIR)/libgomp && \
50969 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50971 @endif target-libgomp
50973 # Other targets (info, dvi, pdf, etc.)
50975 .PHONY: maybe-info-target-libgomp info-target-libgomp
50976 maybe-info-target-libgomp:
50977 @if target-libgomp
50978 maybe-info-target-libgomp: info-target-libgomp
50980 info-target-libgomp: \
50981 configure-target-libgomp
50982 @: $(MAKE); $(unstage)
50983 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50984 r=`${PWD_COMMAND}`; export r; \
50985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50986 $(NORMAL_TARGET_EXPORTS) \
50987 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
50988 for flag in $(EXTRA_TARGET_FLAGS); do \
50989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50990 done; \
50991 (cd $(TARGET_SUBDIR)/libgomp && \
50992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50994 "RANLIB=$${RANLIB}" \
50995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50996 info) \
50997 || exit 1
50999 @endif target-libgomp
51001 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
51002 maybe-dvi-target-libgomp:
51003 @if target-libgomp
51004 maybe-dvi-target-libgomp: dvi-target-libgomp
51006 dvi-target-libgomp: \
51007 configure-target-libgomp
51008 @: $(MAKE); $(unstage)
51009 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51010 r=`${PWD_COMMAND}`; export r; \
51011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51012 $(NORMAL_TARGET_EXPORTS) \
51013 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
51014 for flag in $(EXTRA_TARGET_FLAGS); do \
51015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51016 done; \
51017 (cd $(TARGET_SUBDIR)/libgomp && \
51018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51020 "RANLIB=$${RANLIB}" \
51021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51022 dvi) \
51023 || exit 1
51025 @endif target-libgomp
51027 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
51028 maybe-pdf-target-libgomp:
51029 @if target-libgomp
51030 maybe-pdf-target-libgomp: pdf-target-libgomp
51032 pdf-target-libgomp: \
51033 configure-target-libgomp
51034 @: $(MAKE); $(unstage)
51035 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51036 r=`${PWD_COMMAND}`; export r; \
51037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51038 $(NORMAL_TARGET_EXPORTS) \
51039 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
51040 for flag in $(EXTRA_TARGET_FLAGS); do \
51041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51042 done; \
51043 (cd $(TARGET_SUBDIR)/libgomp && \
51044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51046 "RANLIB=$${RANLIB}" \
51047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51048 pdf) \
51049 || exit 1
51051 @endif target-libgomp
51053 .PHONY: maybe-html-target-libgomp html-target-libgomp
51054 maybe-html-target-libgomp:
51055 @if target-libgomp
51056 maybe-html-target-libgomp: html-target-libgomp
51058 html-target-libgomp: \
51059 configure-target-libgomp
51060 @: $(MAKE); $(unstage)
51061 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51062 r=`${PWD_COMMAND}`; export r; \
51063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51064 $(NORMAL_TARGET_EXPORTS) \
51065 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
51066 for flag in $(EXTRA_TARGET_FLAGS); do \
51067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51068 done; \
51069 (cd $(TARGET_SUBDIR)/libgomp && \
51070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51072 "RANLIB=$${RANLIB}" \
51073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51074 html) \
51075 || exit 1
51077 @endif target-libgomp
51079 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
51080 maybe-TAGS-target-libgomp:
51081 @if target-libgomp
51082 maybe-TAGS-target-libgomp: TAGS-target-libgomp
51084 TAGS-target-libgomp: \
51085 configure-target-libgomp
51086 @: $(MAKE); $(unstage)
51087 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51088 r=`${PWD_COMMAND}`; export r; \
51089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51090 $(NORMAL_TARGET_EXPORTS) \
51091 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
51092 for flag in $(EXTRA_TARGET_FLAGS); do \
51093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51094 done; \
51095 (cd $(TARGET_SUBDIR)/libgomp && \
51096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51098 "RANLIB=$${RANLIB}" \
51099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51100 TAGS) \
51101 || exit 1
51103 @endif target-libgomp
51105 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
51106 maybe-install-info-target-libgomp:
51107 @if target-libgomp
51108 maybe-install-info-target-libgomp: install-info-target-libgomp
51110 install-info-target-libgomp: \
51111 configure-target-libgomp \
51112 info-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 install-info 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 install-info) \
51128 || exit 1
51130 @endif target-libgomp
51132 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
51133 maybe-install-pdf-target-libgomp:
51134 @if target-libgomp
51135 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
51137 install-pdf-target-libgomp: \
51138 configure-target-libgomp \
51139 pdf-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-pdf 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-pdf) \
51155 || exit 1
51157 @endif target-libgomp
51159 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
51160 maybe-install-html-target-libgomp:
51161 @if target-libgomp
51162 maybe-install-html-target-libgomp: install-html-target-libgomp
51164 install-html-target-libgomp: \
51165 configure-target-libgomp \
51166 html-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-html 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-html) \
51182 || exit 1
51184 @endif target-libgomp
51186 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
51187 maybe-installcheck-target-libgomp:
51188 @if target-libgomp
51189 maybe-installcheck-target-libgomp: installcheck-target-libgomp
51191 installcheck-target-libgomp: \
51192 configure-target-libgomp
51193 @: $(MAKE); $(unstage)
51194 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51195 r=`${PWD_COMMAND}`; export r; \
51196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51197 $(NORMAL_TARGET_EXPORTS) \
51198 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
51199 for flag in $(EXTRA_TARGET_FLAGS); do \
51200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51201 done; \
51202 (cd $(TARGET_SUBDIR)/libgomp && \
51203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51205 "RANLIB=$${RANLIB}" \
51206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51207 installcheck) \
51208 || exit 1
51210 @endif target-libgomp
51212 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
51213 maybe-mostlyclean-target-libgomp:
51214 @if target-libgomp
51215 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
51217 mostlyclean-target-libgomp:
51218 @: $(MAKE); $(unstage)
51219 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51220 r=`${PWD_COMMAND}`; export r; \
51221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51222 $(NORMAL_TARGET_EXPORTS) \
51223 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
51224 for flag in $(EXTRA_TARGET_FLAGS); do \
51225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51226 done; \
51227 (cd $(TARGET_SUBDIR)/libgomp && \
51228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51230 "RANLIB=$${RANLIB}" \
51231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51232 mostlyclean) \
51233 || exit 1
51235 @endif target-libgomp
51237 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
51238 maybe-clean-target-libgomp:
51239 @if target-libgomp
51240 maybe-clean-target-libgomp: clean-target-libgomp
51242 clean-target-libgomp:
51243 @: $(MAKE); $(unstage)
51244 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51245 r=`${PWD_COMMAND}`; export r; \
51246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51247 $(NORMAL_TARGET_EXPORTS) \
51248 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
51249 for flag in $(EXTRA_TARGET_FLAGS); do \
51250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51251 done; \
51252 (cd $(TARGET_SUBDIR)/libgomp && \
51253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51255 "RANLIB=$${RANLIB}" \
51256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51257 clean) \
51258 || exit 1
51260 @endif target-libgomp
51262 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
51263 maybe-distclean-target-libgomp:
51264 @if target-libgomp
51265 maybe-distclean-target-libgomp: distclean-target-libgomp
51267 distclean-target-libgomp:
51268 @: $(MAKE); $(unstage)
51269 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51270 r=`${PWD_COMMAND}`; export r; \
51271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51272 $(NORMAL_TARGET_EXPORTS) \
51273 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
51274 for flag in $(EXTRA_TARGET_FLAGS); do \
51275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51276 done; \
51277 (cd $(TARGET_SUBDIR)/libgomp && \
51278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51280 "RANLIB=$${RANLIB}" \
51281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51282 distclean) \
51283 || exit 1
51285 @endif target-libgomp
51287 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
51288 maybe-maintainer-clean-target-libgomp:
51289 @if target-libgomp
51290 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
51292 maintainer-clean-target-libgomp:
51293 @: $(MAKE); $(unstage)
51294 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51295 r=`${PWD_COMMAND}`; export r; \
51296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51297 $(NORMAL_TARGET_EXPORTS) \
51298 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
51299 for flag in $(EXTRA_TARGET_FLAGS); do \
51300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51301 done; \
51302 (cd $(TARGET_SUBDIR)/libgomp && \
51303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51305 "RANLIB=$${RANLIB}" \
51306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51307 maintainer-clean) \
51308 || exit 1
51310 @endif target-libgomp
51316 .PHONY: configure-target-libitm maybe-configure-target-libitm
51317 maybe-configure-target-libitm:
51318 @if gcc-bootstrap
51319 configure-target-libitm: stage_current
51320 @endif gcc-bootstrap
51321 @if target-libitm
51322 maybe-configure-target-libitm: configure-target-libitm
51323 configure-target-libitm:
51324 @: $(MAKE); $(unstage)
51325 @r=`${PWD_COMMAND}`; export r; \
51326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51327 echo "Checking multilib configuration for libitm..."; \
51328 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51329 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
51330 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
51331 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
51332 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
51333 else \
51334 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
51335 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51336 fi; \
51337 else \
51338 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51339 fi; \
51340 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
51341 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51342 $(NORMAL_TARGET_EXPORTS) \
51343 echo Configuring in $(TARGET_SUBDIR)/libitm; \
51344 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
51345 case $(srcdir) in \
51346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51347 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
51348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51349 esac; \
51350 module_srcdir=libitm; \
51351 rm -f no-such-file || : ; \
51352 CONFIG_SITE=no-such-file $(SHELL) \
51353 $$s/$$module_srcdir/configure \
51354 --srcdir=$${topdir}/$$module_srcdir \
51355 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51356 --target=${target_alias} \
51357 || exit 1
51358 @endif target-libitm
51364 .PHONY: all-target-libitm maybe-all-target-libitm
51365 maybe-all-target-libitm:
51366 @if gcc-bootstrap
51367 all-target-libitm: stage_current
51368 @endif gcc-bootstrap
51369 @if target-libitm
51370 TARGET-target-libitm=all
51371 maybe-all-target-libitm: all-target-libitm
51372 all-target-libitm: configure-target-libitm
51373 @: $(MAKE); $(unstage)
51374 @r=`${PWD_COMMAND}`; export r; \
51375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51376 $(NORMAL_TARGET_EXPORTS) \
51377 (cd $(TARGET_SUBDIR)/libitm && \
51378 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51379 $(TARGET-target-libitm))
51380 @endif target-libitm
51386 .PHONY: check-target-libitm maybe-check-target-libitm
51387 maybe-check-target-libitm:
51388 @if target-libitm
51389 maybe-check-target-libitm: check-target-libitm
51391 check-target-libitm:
51392 @: $(MAKE); $(unstage)
51393 @r=`${PWD_COMMAND}`; export r; \
51394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51395 $(NORMAL_TARGET_EXPORTS) \
51396 (cd $(TARGET_SUBDIR)/libitm && \
51397 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51399 @endif target-libitm
51401 .PHONY: install-target-libitm maybe-install-target-libitm
51402 maybe-install-target-libitm:
51403 @if target-libitm
51404 maybe-install-target-libitm: install-target-libitm
51406 install-target-libitm: installdirs
51407 @: $(MAKE); $(unstage)
51408 @r=`${PWD_COMMAND}`; export r; \
51409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51410 $(NORMAL_TARGET_EXPORTS) \
51411 (cd $(TARGET_SUBDIR)/libitm && \
51412 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51414 @endif target-libitm
51416 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
51417 maybe-install-strip-target-libitm:
51418 @if target-libitm
51419 maybe-install-strip-target-libitm: install-strip-target-libitm
51421 install-strip-target-libitm: installdirs
51422 @: $(MAKE); $(unstage)
51423 @r=`${PWD_COMMAND}`; export r; \
51424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51425 $(NORMAL_TARGET_EXPORTS) \
51426 (cd $(TARGET_SUBDIR)/libitm && \
51427 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51429 @endif target-libitm
51431 # Other targets (info, dvi, pdf, etc.)
51433 .PHONY: maybe-info-target-libitm info-target-libitm
51434 maybe-info-target-libitm:
51435 @if target-libitm
51436 maybe-info-target-libitm: info-target-libitm
51438 info-target-libitm: \
51439 configure-target-libitm
51440 @: $(MAKE); $(unstage)
51441 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51442 r=`${PWD_COMMAND}`; export r; \
51443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51444 $(NORMAL_TARGET_EXPORTS) \
51445 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
51446 for flag in $(EXTRA_TARGET_FLAGS); do \
51447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51448 done; \
51449 (cd $(TARGET_SUBDIR)/libitm && \
51450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51452 "RANLIB=$${RANLIB}" \
51453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51454 info) \
51455 || exit 1
51457 @endif target-libitm
51459 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
51460 maybe-dvi-target-libitm:
51461 @if target-libitm
51462 maybe-dvi-target-libitm: dvi-target-libitm
51464 dvi-target-libitm: \
51465 configure-target-libitm
51466 @: $(MAKE); $(unstage)
51467 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51468 r=`${PWD_COMMAND}`; export r; \
51469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51470 $(NORMAL_TARGET_EXPORTS) \
51471 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
51472 for flag in $(EXTRA_TARGET_FLAGS); do \
51473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51474 done; \
51475 (cd $(TARGET_SUBDIR)/libitm && \
51476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51478 "RANLIB=$${RANLIB}" \
51479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51480 dvi) \
51481 || exit 1
51483 @endif target-libitm
51485 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
51486 maybe-pdf-target-libitm:
51487 @if target-libitm
51488 maybe-pdf-target-libitm: pdf-target-libitm
51490 pdf-target-libitm: \
51491 configure-target-libitm
51492 @: $(MAKE); $(unstage)
51493 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51494 r=`${PWD_COMMAND}`; export r; \
51495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51496 $(NORMAL_TARGET_EXPORTS) \
51497 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
51498 for flag in $(EXTRA_TARGET_FLAGS); do \
51499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51500 done; \
51501 (cd $(TARGET_SUBDIR)/libitm && \
51502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51504 "RANLIB=$${RANLIB}" \
51505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51506 pdf) \
51507 || exit 1
51509 @endif target-libitm
51511 .PHONY: maybe-html-target-libitm html-target-libitm
51512 maybe-html-target-libitm:
51513 @if target-libitm
51514 maybe-html-target-libitm: html-target-libitm
51516 html-target-libitm: \
51517 configure-target-libitm
51518 @: $(MAKE); $(unstage)
51519 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51520 r=`${PWD_COMMAND}`; export r; \
51521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51522 $(NORMAL_TARGET_EXPORTS) \
51523 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
51524 for flag in $(EXTRA_TARGET_FLAGS); do \
51525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51526 done; \
51527 (cd $(TARGET_SUBDIR)/libitm && \
51528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51530 "RANLIB=$${RANLIB}" \
51531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51532 html) \
51533 || exit 1
51535 @endif target-libitm
51537 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
51538 maybe-TAGS-target-libitm:
51539 @if target-libitm
51540 maybe-TAGS-target-libitm: TAGS-target-libitm
51542 TAGS-target-libitm: \
51543 configure-target-libitm
51544 @: $(MAKE); $(unstage)
51545 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51546 r=`${PWD_COMMAND}`; export r; \
51547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51548 $(NORMAL_TARGET_EXPORTS) \
51549 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
51550 for flag in $(EXTRA_TARGET_FLAGS); do \
51551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51552 done; \
51553 (cd $(TARGET_SUBDIR)/libitm && \
51554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51556 "RANLIB=$${RANLIB}" \
51557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51558 TAGS) \
51559 || exit 1
51561 @endif target-libitm
51563 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
51564 maybe-install-info-target-libitm:
51565 @if target-libitm
51566 maybe-install-info-target-libitm: install-info-target-libitm
51568 install-info-target-libitm: \
51569 configure-target-libitm \
51570 info-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 install-info 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 install-info) \
51586 || exit 1
51588 @endif target-libitm
51590 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
51591 maybe-install-pdf-target-libitm:
51592 @if target-libitm
51593 maybe-install-pdf-target-libitm: install-pdf-target-libitm
51595 install-pdf-target-libitm: \
51596 configure-target-libitm \
51597 pdf-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-pdf 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-pdf) \
51613 || exit 1
51615 @endif target-libitm
51617 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
51618 maybe-install-html-target-libitm:
51619 @if target-libitm
51620 maybe-install-html-target-libitm: install-html-target-libitm
51622 install-html-target-libitm: \
51623 configure-target-libitm \
51624 html-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-html 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-html) \
51640 || exit 1
51642 @endif target-libitm
51644 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
51645 maybe-installcheck-target-libitm:
51646 @if target-libitm
51647 maybe-installcheck-target-libitm: installcheck-target-libitm
51649 installcheck-target-libitm: \
51650 configure-target-libitm
51651 @: $(MAKE); $(unstage)
51652 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51653 r=`${PWD_COMMAND}`; export r; \
51654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51655 $(NORMAL_TARGET_EXPORTS) \
51656 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
51657 for flag in $(EXTRA_TARGET_FLAGS); do \
51658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51659 done; \
51660 (cd $(TARGET_SUBDIR)/libitm && \
51661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51663 "RANLIB=$${RANLIB}" \
51664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51665 installcheck) \
51666 || exit 1
51668 @endif target-libitm
51670 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
51671 maybe-mostlyclean-target-libitm:
51672 @if target-libitm
51673 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
51675 mostlyclean-target-libitm:
51676 @: $(MAKE); $(unstage)
51677 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51678 r=`${PWD_COMMAND}`; export r; \
51679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51680 $(NORMAL_TARGET_EXPORTS) \
51681 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
51682 for flag in $(EXTRA_TARGET_FLAGS); do \
51683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51684 done; \
51685 (cd $(TARGET_SUBDIR)/libitm && \
51686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51688 "RANLIB=$${RANLIB}" \
51689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51690 mostlyclean) \
51691 || exit 1
51693 @endif target-libitm
51695 .PHONY: maybe-clean-target-libitm clean-target-libitm
51696 maybe-clean-target-libitm:
51697 @if target-libitm
51698 maybe-clean-target-libitm: clean-target-libitm
51700 clean-target-libitm:
51701 @: $(MAKE); $(unstage)
51702 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51703 r=`${PWD_COMMAND}`; export r; \
51704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51705 $(NORMAL_TARGET_EXPORTS) \
51706 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
51707 for flag in $(EXTRA_TARGET_FLAGS); do \
51708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51709 done; \
51710 (cd $(TARGET_SUBDIR)/libitm && \
51711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51713 "RANLIB=$${RANLIB}" \
51714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51715 clean) \
51716 || exit 1
51718 @endif target-libitm
51720 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
51721 maybe-distclean-target-libitm:
51722 @if target-libitm
51723 maybe-distclean-target-libitm: distclean-target-libitm
51725 distclean-target-libitm:
51726 @: $(MAKE); $(unstage)
51727 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51728 r=`${PWD_COMMAND}`; export r; \
51729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51730 $(NORMAL_TARGET_EXPORTS) \
51731 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
51732 for flag in $(EXTRA_TARGET_FLAGS); do \
51733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51734 done; \
51735 (cd $(TARGET_SUBDIR)/libitm && \
51736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51738 "RANLIB=$${RANLIB}" \
51739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51740 distclean) \
51741 || exit 1
51743 @endif target-libitm
51745 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
51746 maybe-maintainer-clean-target-libitm:
51747 @if target-libitm
51748 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
51750 maintainer-clean-target-libitm:
51751 @: $(MAKE); $(unstage)
51752 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51753 r=`${PWD_COMMAND}`; export r; \
51754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51755 $(NORMAL_TARGET_EXPORTS) \
51756 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
51757 for flag in $(EXTRA_TARGET_FLAGS); do \
51758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51759 done; \
51760 (cd $(TARGET_SUBDIR)/libitm && \
51761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51763 "RANLIB=$${RANLIB}" \
51764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51765 maintainer-clean) \
51766 || exit 1
51768 @endif target-libitm
51774 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
51775 maybe-configure-target-libatomic:
51776 @if gcc-bootstrap
51777 configure-target-libatomic: stage_current
51778 @endif gcc-bootstrap
51779 @if target-libatomic
51780 maybe-configure-target-libatomic: configure-target-libatomic
51781 configure-target-libatomic:
51782 @: $(MAKE); $(unstage)
51783 @r=`${PWD_COMMAND}`; export r; \
51784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51785 echo "Checking multilib configuration for libatomic..."; \
51786 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51787 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
51788 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51789 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51790 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
51791 else \
51792 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
51793 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51794 fi; \
51795 else \
51796 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51797 fi; \
51798 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
51799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51800 $(NORMAL_TARGET_EXPORTS) \
51801 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
51802 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
51803 case $(srcdir) in \
51804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51805 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
51806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51807 esac; \
51808 module_srcdir=libatomic; \
51809 rm -f no-such-file || : ; \
51810 CONFIG_SITE=no-such-file $(SHELL) \
51811 $$s/$$module_srcdir/configure \
51812 --srcdir=$${topdir}/$$module_srcdir \
51813 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51814 --target=${target_alias} \
51815 || exit 1
51816 @endif target-libatomic
51822 .PHONY: all-target-libatomic maybe-all-target-libatomic
51823 maybe-all-target-libatomic:
51824 @if gcc-bootstrap
51825 all-target-libatomic: stage_current
51826 @endif gcc-bootstrap
51827 @if target-libatomic
51828 TARGET-target-libatomic=all
51829 maybe-all-target-libatomic: all-target-libatomic
51830 all-target-libatomic: configure-target-libatomic
51831 @: $(MAKE); $(unstage)
51832 @r=`${PWD_COMMAND}`; export r; \
51833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51834 $(NORMAL_TARGET_EXPORTS) \
51835 (cd $(TARGET_SUBDIR)/libatomic && \
51836 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51837 $(TARGET-target-libatomic))
51838 @endif target-libatomic
51844 .PHONY: check-target-libatomic maybe-check-target-libatomic
51845 maybe-check-target-libatomic:
51846 @if target-libatomic
51847 maybe-check-target-libatomic: check-target-libatomic
51849 check-target-libatomic:
51850 @: $(MAKE); $(unstage)
51851 @r=`${PWD_COMMAND}`; export r; \
51852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51853 $(NORMAL_TARGET_EXPORTS) \
51854 (cd $(TARGET_SUBDIR)/libatomic && \
51855 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51857 @endif target-libatomic
51859 .PHONY: install-target-libatomic maybe-install-target-libatomic
51860 maybe-install-target-libatomic:
51861 @if target-libatomic
51862 maybe-install-target-libatomic: install-target-libatomic
51864 install-target-libatomic: installdirs
51865 @: $(MAKE); $(unstage)
51866 @r=`${PWD_COMMAND}`; export r; \
51867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51868 $(NORMAL_TARGET_EXPORTS) \
51869 (cd $(TARGET_SUBDIR)/libatomic && \
51870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51872 @endif target-libatomic
51874 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
51875 maybe-install-strip-target-libatomic:
51876 @if target-libatomic
51877 maybe-install-strip-target-libatomic: install-strip-target-libatomic
51879 install-strip-target-libatomic: installdirs
51880 @: $(MAKE); $(unstage)
51881 @r=`${PWD_COMMAND}`; export r; \
51882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51883 $(NORMAL_TARGET_EXPORTS) \
51884 (cd $(TARGET_SUBDIR)/libatomic && \
51885 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51887 @endif target-libatomic
51889 # Other targets (info, dvi, pdf, etc.)
51891 .PHONY: maybe-info-target-libatomic info-target-libatomic
51892 maybe-info-target-libatomic:
51893 @if target-libatomic
51894 maybe-info-target-libatomic: info-target-libatomic
51896 info-target-libatomic: \
51897 configure-target-libatomic
51898 @: $(MAKE); $(unstage)
51899 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51900 r=`${PWD_COMMAND}`; export r; \
51901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51902 $(NORMAL_TARGET_EXPORTS) \
51903 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
51904 for flag in $(EXTRA_TARGET_FLAGS); do \
51905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51906 done; \
51907 (cd $(TARGET_SUBDIR)/libatomic && \
51908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51910 "RANLIB=$${RANLIB}" \
51911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51912 info) \
51913 || exit 1
51915 @endif target-libatomic
51917 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
51918 maybe-dvi-target-libatomic:
51919 @if target-libatomic
51920 maybe-dvi-target-libatomic: dvi-target-libatomic
51922 dvi-target-libatomic: \
51923 configure-target-libatomic
51924 @: $(MAKE); $(unstage)
51925 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51926 r=`${PWD_COMMAND}`; export r; \
51927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51928 $(NORMAL_TARGET_EXPORTS) \
51929 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
51930 for flag in $(EXTRA_TARGET_FLAGS); do \
51931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51932 done; \
51933 (cd $(TARGET_SUBDIR)/libatomic && \
51934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51936 "RANLIB=$${RANLIB}" \
51937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51938 dvi) \
51939 || exit 1
51941 @endif target-libatomic
51943 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
51944 maybe-pdf-target-libatomic:
51945 @if target-libatomic
51946 maybe-pdf-target-libatomic: pdf-target-libatomic
51948 pdf-target-libatomic: \
51949 configure-target-libatomic
51950 @: $(MAKE); $(unstage)
51951 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51952 r=`${PWD_COMMAND}`; export r; \
51953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51954 $(NORMAL_TARGET_EXPORTS) \
51955 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
51956 for flag in $(EXTRA_TARGET_FLAGS); do \
51957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51958 done; \
51959 (cd $(TARGET_SUBDIR)/libatomic && \
51960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51962 "RANLIB=$${RANLIB}" \
51963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51964 pdf) \
51965 || exit 1
51967 @endif target-libatomic
51969 .PHONY: maybe-html-target-libatomic html-target-libatomic
51970 maybe-html-target-libatomic:
51971 @if target-libatomic
51972 maybe-html-target-libatomic: html-target-libatomic
51974 html-target-libatomic: \
51975 configure-target-libatomic
51976 @: $(MAKE); $(unstage)
51977 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51978 r=`${PWD_COMMAND}`; export r; \
51979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51980 $(NORMAL_TARGET_EXPORTS) \
51981 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
51982 for flag in $(EXTRA_TARGET_FLAGS); do \
51983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51984 done; \
51985 (cd $(TARGET_SUBDIR)/libatomic && \
51986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51988 "RANLIB=$${RANLIB}" \
51989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51990 html) \
51991 || exit 1
51993 @endif target-libatomic
51995 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
51996 maybe-TAGS-target-libatomic:
51997 @if target-libatomic
51998 maybe-TAGS-target-libatomic: TAGS-target-libatomic
52000 TAGS-target-libatomic: \
52001 configure-target-libatomic
52002 @: $(MAKE); $(unstage)
52003 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52004 r=`${PWD_COMMAND}`; export r; \
52005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52006 $(NORMAL_TARGET_EXPORTS) \
52007 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
52008 for flag in $(EXTRA_TARGET_FLAGS); do \
52009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52010 done; \
52011 (cd $(TARGET_SUBDIR)/libatomic && \
52012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52014 "RANLIB=$${RANLIB}" \
52015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52016 TAGS) \
52017 || exit 1
52019 @endif target-libatomic
52021 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
52022 maybe-install-info-target-libatomic:
52023 @if target-libatomic
52024 maybe-install-info-target-libatomic: install-info-target-libatomic
52026 install-info-target-libatomic: \
52027 configure-target-libatomic \
52028 info-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 install-info 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 install-info) \
52044 || exit 1
52046 @endif target-libatomic
52048 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
52049 maybe-install-pdf-target-libatomic:
52050 @if target-libatomic
52051 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
52053 install-pdf-target-libatomic: \
52054 configure-target-libatomic \
52055 pdf-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-pdf 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-pdf) \
52071 || exit 1
52073 @endif target-libatomic
52075 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
52076 maybe-install-html-target-libatomic:
52077 @if target-libatomic
52078 maybe-install-html-target-libatomic: install-html-target-libatomic
52080 install-html-target-libatomic: \
52081 configure-target-libatomic \
52082 html-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-html 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-html) \
52098 || exit 1
52100 @endif target-libatomic
52102 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
52103 maybe-installcheck-target-libatomic:
52104 @if target-libatomic
52105 maybe-installcheck-target-libatomic: installcheck-target-libatomic
52107 installcheck-target-libatomic: \
52108 configure-target-libatomic
52109 @: $(MAKE); $(unstage)
52110 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52111 r=`${PWD_COMMAND}`; export r; \
52112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52113 $(NORMAL_TARGET_EXPORTS) \
52114 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
52115 for flag in $(EXTRA_TARGET_FLAGS); do \
52116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52117 done; \
52118 (cd $(TARGET_SUBDIR)/libatomic && \
52119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52121 "RANLIB=$${RANLIB}" \
52122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52123 installcheck) \
52124 || exit 1
52126 @endif target-libatomic
52128 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
52129 maybe-mostlyclean-target-libatomic:
52130 @if target-libatomic
52131 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
52133 mostlyclean-target-libatomic:
52134 @: $(MAKE); $(unstage)
52135 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52136 r=`${PWD_COMMAND}`; export r; \
52137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52138 $(NORMAL_TARGET_EXPORTS) \
52139 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
52140 for flag in $(EXTRA_TARGET_FLAGS); do \
52141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52142 done; \
52143 (cd $(TARGET_SUBDIR)/libatomic && \
52144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52146 "RANLIB=$${RANLIB}" \
52147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52148 mostlyclean) \
52149 || exit 1
52151 @endif target-libatomic
52153 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
52154 maybe-clean-target-libatomic:
52155 @if target-libatomic
52156 maybe-clean-target-libatomic: clean-target-libatomic
52158 clean-target-libatomic:
52159 @: $(MAKE); $(unstage)
52160 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52161 r=`${PWD_COMMAND}`; export r; \
52162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52163 $(NORMAL_TARGET_EXPORTS) \
52164 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
52165 for flag in $(EXTRA_TARGET_FLAGS); do \
52166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52167 done; \
52168 (cd $(TARGET_SUBDIR)/libatomic && \
52169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52171 "RANLIB=$${RANLIB}" \
52172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52173 clean) \
52174 || exit 1
52176 @endif target-libatomic
52178 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
52179 maybe-distclean-target-libatomic:
52180 @if target-libatomic
52181 maybe-distclean-target-libatomic: distclean-target-libatomic
52183 distclean-target-libatomic:
52184 @: $(MAKE); $(unstage)
52185 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52186 r=`${PWD_COMMAND}`; export r; \
52187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52188 $(NORMAL_TARGET_EXPORTS) \
52189 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
52190 for flag in $(EXTRA_TARGET_FLAGS); do \
52191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52192 done; \
52193 (cd $(TARGET_SUBDIR)/libatomic && \
52194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52196 "RANLIB=$${RANLIB}" \
52197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52198 distclean) \
52199 || exit 1
52201 @endif target-libatomic
52203 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
52204 maybe-maintainer-clean-target-libatomic:
52205 @if target-libatomic
52206 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
52208 maintainer-clean-target-libatomic:
52209 @: $(MAKE); $(unstage)
52210 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52211 r=`${PWD_COMMAND}`; export r; \
52212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52213 $(NORMAL_TARGET_EXPORTS) \
52214 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
52215 for flag in $(EXTRA_TARGET_FLAGS); do \
52216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52217 done; \
52218 (cd $(TARGET_SUBDIR)/libatomic && \
52219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52221 "RANLIB=$${RANLIB}" \
52222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52223 maintainer-clean) \
52224 || exit 1
52226 @endif target-libatomic
52230 @if target-libgomp
52231 .PHONY: check-target-libgomp-c++
52232 check-target-libgomp-c++:
52233 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
52235 .PHONY: check-target-libgomp-fortran
52236 check-target-libgomp-fortran:
52237 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
52239 @endif target-libgomp
52241 @if target-libitm
52242 .PHONY: check-target-libitm-c++
52243 check-target-libitm-c++:
52244 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
52246 @endif target-libitm
52248 # ----------
52249 # GCC module
52250 # ----------
52252 @if gcc-no-bootstrap
52253 .PHONY: cross
52254 cross: all-build all-gas all-ld
52255 @r=`${PWD_COMMAND}`; export r; \
52256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52257 $(HOST_EXPORTS) \
52258 echo "Building the C and C++ compiler"; \
52259 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
52260 @r=`${PWD_COMMAND}`; export r; \
52261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52262 echo "Building runtime libraries"; \
52263 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
52264 @endif gcc-no-bootstrap
52266 @if gcc
52268 .PHONY: check-gcc-c check-c
52269 check-gcc-c:
52270 r=`${PWD_COMMAND}`; export r; \
52271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52272 $(HOST_EXPORTS) \
52273 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
52274 check-c: check-gcc-c
52276 .PHONY: check-gcc-c++ check-c++
52277 check-gcc-c++:
52278 r=`${PWD_COMMAND}`; export r; \
52279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52280 $(HOST_EXPORTS) \
52281 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
52282 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
52284 .PHONY: check-gcc-fortran check-fortran
52285 check-gcc-fortran:
52286 r=`${PWD_COMMAND}`; export r; \
52287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52288 $(HOST_EXPORTS) \
52289 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
52290 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
52292 .PHONY: check-gcc-ada check-ada
52293 check-gcc-ada:
52294 r=`${PWD_COMMAND}`; export r; \
52295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52296 $(HOST_EXPORTS) \
52297 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
52298 check-ada: check-gcc-ada check-target-libada
52300 .PHONY: check-gcc-objc check-objc
52301 check-gcc-objc:
52302 r=`${PWD_COMMAND}`; export r; \
52303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52304 $(HOST_EXPORTS) \
52305 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
52306 check-objc: check-gcc-objc check-target-libobjc
52308 .PHONY: check-gcc-obj-c++ check-obj-c++
52309 check-gcc-obj-c++:
52310 r=`${PWD_COMMAND}`; export r; \
52311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52312 $(HOST_EXPORTS) \
52313 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
52314 check-obj-c++: check-gcc-obj-c++
52316 .PHONY: check-gcc-go check-go
52317 check-gcc-go:
52318 r=`${PWD_COMMAND}`; export r; \
52319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52320 $(HOST_EXPORTS) \
52321 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
52322 check-go: check-gcc-go check-target-libgo check-gotools
52324 .PHONY: check-gcc-brig check-brig
52325 check-gcc-brig:
52326 r=`${PWD_COMMAND}`; export r; \
52327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52328 $(HOST_EXPORTS) \
52329 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
52330 check-brig: check-gcc-brig check-target-libhsail-rt
52333 # The gcc part of install-no-fixedincludes, which relies on an intimate
52334 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
52335 .PHONY: gcc-install-no-fixedincludes
52336 gcc-install-no-fixedincludes:
52337 @if [ -f ./gcc/Makefile ]; then \
52338 r=`${PWD_COMMAND}`; export r; \
52339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52340 $(HOST_EXPORTS) \
52341 (cd ./gcc \
52342 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
52343 else true; fi
52344 @endif gcc
52346 # ---------------------
52347 # GCC bootstrap support
52348 # ---------------------
52350 # We track the current stage (the one in 'gcc') in the stage_current file.
52351 # stage_last instead tracks the stage that was built last. These targets
52352 # are dummy when toplevel bootstrap is not active.
52354 # While making host and target tools, symlinks to the final stage must be
52355 # there, so $(unstage) should be run at various points. To avoid excessive
52356 # recursive invocations of make, we "inline" them using a variable. These
52357 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
52358 # to avoid warnings from the GNU Make job server.
52360 unstage = :
52361 stage = :
52362 current_stage = ""
52364 @if gcc-bootstrap
52365 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
52366 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
52367 current_stage = "`cat stage_current 2> /dev/null`"
52368 @endif gcc-bootstrap
52370 .PHONY: unstage stage
52371 unstage:
52372 @: $(MAKE); $(unstage)
52373 stage:
52374 @: $(MAKE); $(stage)
52376 # Disable commands for lean bootstrap.
52377 LEAN = false
52379 # We name the build directories for the various stages "stage1-gcc",
52380 # "stage2-gcc","stage3-gcc", etc.
52382 # Since the 'compare' process will fail (on debugging information) if any
52383 # directory names are different, we need to link the gcc directory for
52384 # the previous stage to a constant name ('prev-gcc'), and to make the name of
52385 # the build directories constant as well. For the latter, we use naked names
52386 # like 'gcc', because the scripts in that directory assume it. We use
52387 # mv on platforms where symlinks to directories do not work or are not
52388 # reliable.
52390 # 'touch' doesn't work right on some platforms.
52391 STAMP = echo timestamp >
52393 # We only want to compare .o files, so set this!
52394 objext = .o
52397 .PHONY: stage1-start stage1-end
52399 stage1-start::
52400 @: $(MAKE); $(stage); \
52401 echo stage1 > stage_current; \
52402 echo stage1 > stage_last; \
52403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52404 @if bfd
52405 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
52406 mkdir stage1-bfd; \
52407 mv stage1-bfd bfd
52408 @endif bfd
52409 @if opcodes
52410 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
52411 mkdir stage1-opcodes; \
52412 mv stage1-opcodes opcodes
52413 @endif opcodes
52414 @if binutils
52415 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
52416 mkdir stage1-binutils; \
52417 mv stage1-binutils binutils
52418 @endif binutils
52419 @if fixincludes
52420 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
52421 mkdir stage1-fixincludes; \
52422 mv stage1-fixincludes fixincludes
52423 @endif fixincludes
52424 @if gas
52425 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
52426 mkdir stage1-gas; \
52427 mv stage1-gas gas
52428 @endif gas
52429 @if gcc
52430 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
52431 mkdir stage1-gcc; \
52432 mv stage1-gcc gcc
52433 @endif gcc
52434 @if gmp
52435 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
52436 mkdir stage1-gmp; \
52437 mv stage1-gmp gmp
52438 @endif gmp
52439 @if mpfr
52440 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
52441 mkdir stage1-mpfr; \
52442 mv stage1-mpfr mpfr
52443 @endif mpfr
52444 @if mpc
52445 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
52446 mkdir stage1-mpc; \
52447 mv stage1-mpc mpc
52448 @endif mpc
52449 @if isl
52450 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
52451 mkdir stage1-isl; \
52452 mv stage1-isl isl
52453 @endif isl
52454 @if libelf
52455 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
52456 mkdir stage1-libelf; \
52457 mv stage1-libelf libelf
52458 @endif libelf
52459 @if gold
52460 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
52461 mkdir stage1-gold; \
52462 mv stage1-gold gold
52463 @endif gold
52464 @if intl
52465 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
52466 mkdir stage1-intl; \
52467 mv stage1-intl intl
52468 @endif intl
52469 @if ld
52470 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
52471 mkdir stage1-ld; \
52472 mv stage1-ld ld
52473 @endif ld
52474 @if libbacktrace
52475 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
52476 mkdir stage1-libbacktrace; \
52477 mv stage1-libbacktrace libbacktrace
52478 @endif libbacktrace
52479 @if libcpp
52480 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
52481 mkdir stage1-libcpp; \
52482 mv stage1-libcpp libcpp
52483 @endif libcpp
52484 @if libdecnumber
52485 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
52486 mkdir stage1-libdecnumber; \
52487 mv stage1-libdecnumber libdecnumber
52488 @endif libdecnumber
52489 @if libiberty
52490 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
52491 mkdir stage1-libiberty; \
52492 mv stage1-libiberty libiberty
52493 @endif libiberty
52494 @if libiberty-linker-plugin
52495 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
52496 mkdir stage1-libiberty-linker-plugin; \
52497 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
52498 @endif libiberty-linker-plugin
52499 @if libiconv
52500 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
52501 mkdir stage1-libiconv; \
52502 mv stage1-libiconv libiconv
52503 @endif libiconv
52504 @if zlib
52505 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
52506 mkdir stage1-zlib; \
52507 mv stage1-zlib zlib
52508 @endif zlib
52509 @if lto-plugin
52510 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
52511 mkdir stage1-lto-plugin; \
52512 mv stage1-lto-plugin lto-plugin
52513 @endif lto-plugin
52514 @[ -d stage1-$(TARGET_SUBDIR) ] || \
52515 mkdir stage1-$(TARGET_SUBDIR); \
52516 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
52518 stage1-end::
52519 @if bfd
52520 @if test -d $(HOST_SUBDIR)/bfd; then \
52521 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
52523 @endif bfd
52524 @if opcodes
52525 @if test -d $(HOST_SUBDIR)/opcodes; then \
52526 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
52528 @endif opcodes
52529 @if binutils
52530 @if test -d $(HOST_SUBDIR)/binutils; then \
52531 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
52533 @endif binutils
52534 @if fixincludes
52535 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52536 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
52538 @endif fixincludes
52539 @if gas
52540 @if test -d $(HOST_SUBDIR)/gas; then \
52541 cd $(HOST_SUBDIR); mv gas stage1-gas; \
52543 @endif gas
52544 @if gcc
52545 @if test -d $(HOST_SUBDIR)/gcc; then \
52546 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
52548 @endif gcc
52549 @if gmp
52550 @if test -d $(HOST_SUBDIR)/gmp; then \
52551 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
52553 @endif gmp
52554 @if mpfr
52555 @if test -d $(HOST_SUBDIR)/mpfr; then \
52556 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
52558 @endif mpfr
52559 @if mpc
52560 @if test -d $(HOST_SUBDIR)/mpc; then \
52561 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
52563 @endif mpc
52564 @if isl
52565 @if test -d $(HOST_SUBDIR)/isl; then \
52566 cd $(HOST_SUBDIR); mv isl stage1-isl; \
52568 @endif isl
52569 @if libelf
52570 @if test -d $(HOST_SUBDIR)/libelf; then \
52571 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
52573 @endif libelf
52574 @if gold
52575 @if test -d $(HOST_SUBDIR)/gold; then \
52576 cd $(HOST_SUBDIR); mv gold stage1-gold; \
52578 @endif gold
52579 @if intl
52580 @if test -d $(HOST_SUBDIR)/intl; then \
52581 cd $(HOST_SUBDIR); mv intl stage1-intl; \
52583 @endif intl
52584 @if ld
52585 @if test -d $(HOST_SUBDIR)/ld; then \
52586 cd $(HOST_SUBDIR); mv ld stage1-ld; \
52588 @endif ld
52589 @if libbacktrace
52590 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52591 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
52593 @endif libbacktrace
52594 @if libcpp
52595 @if test -d $(HOST_SUBDIR)/libcpp; then \
52596 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
52598 @endif libcpp
52599 @if libdecnumber
52600 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52601 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
52603 @endif libdecnumber
52604 @if libiberty
52605 @if test -d $(HOST_SUBDIR)/libiberty; then \
52606 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
52608 @endif libiberty
52609 @if libiberty-linker-plugin
52610 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52611 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
52613 @endif libiberty-linker-plugin
52614 @if libiconv
52615 @if test -d $(HOST_SUBDIR)/libiconv; then \
52616 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
52618 @endif libiconv
52619 @if zlib
52620 @if test -d $(HOST_SUBDIR)/zlib; then \
52621 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
52623 @endif zlib
52624 @if lto-plugin
52625 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52626 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
52628 @endif lto-plugin
52629 @if test -d $(TARGET_SUBDIR); then \
52630 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
52632 rm -f stage_current
52634 # Bubble a bug fix through all the stages up to stage 1. They are
52635 # remade, but not reconfigured. The next stage (if any) will not be
52636 # reconfigured either.
52637 .PHONY: stage1-bubble
52638 stage1-bubble::
52639 @r=`${PWD_COMMAND}`; export r; \
52640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52641 if test -f stage1-lean ; then \
52642 echo Skipping rebuild of stage1; \
52643 else \
52644 $(MAKE) stage1-start; \
52645 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
52648 .PHONY: all-stage1 clean-stage1
52649 do-clean: clean-stage1
52651 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52652 # only possibility, but now it conflicts with no-bootstrap rules
52653 @if gcc-bootstrap
52658 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52660 .PHONY: distclean-stage1
52661 distclean-stage1::
52662 @: $(MAKE); $(stage)
52663 @test "`cat stage_last`" != stage1 || rm -f stage_last
52664 rm -rf stage1-*
52667 @endif gcc-bootstrap
52670 .PHONY: stage2-start stage2-end
52672 stage2-start::
52673 @: $(MAKE); $(stage); \
52674 echo stage2 > stage_current; \
52675 echo stage2 > stage_last; \
52676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52677 @if bfd
52678 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
52679 mkdir stage2-bfd; \
52680 mv stage2-bfd bfd; \
52681 mv stage1-bfd prev-bfd || test -f stage1-lean
52682 @endif bfd
52683 @if opcodes
52684 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
52685 mkdir stage2-opcodes; \
52686 mv stage2-opcodes opcodes; \
52687 mv stage1-opcodes prev-opcodes || test -f stage1-lean
52688 @endif opcodes
52689 @if binutils
52690 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
52691 mkdir stage2-binutils; \
52692 mv stage2-binutils binutils; \
52693 mv stage1-binutils prev-binutils || test -f stage1-lean
52694 @endif binutils
52695 @if fixincludes
52696 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
52697 mkdir stage2-fixincludes; \
52698 mv stage2-fixincludes fixincludes; \
52699 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
52700 @endif fixincludes
52701 @if gas
52702 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
52703 mkdir stage2-gas; \
52704 mv stage2-gas gas; \
52705 mv stage1-gas prev-gas || test -f stage1-lean
52706 @endif gas
52707 @if gcc
52708 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
52709 mkdir stage2-gcc; \
52710 mv stage2-gcc gcc; \
52711 mv stage1-gcc prev-gcc || test -f stage1-lean
52712 @endif gcc
52713 @if gmp
52714 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
52715 mkdir stage2-gmp; \
52716 mv stage2-gmp gmp; \
52717 mv stage1-gmp prev-gmp || test -f stage1-lean
52718 @endif gmp
52719 @if mpfr
52720 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
52721 mkdir stage2-mpfr; \
52722 mv stage2-mpfr mpfr; \
52723 mv stage1-mpfr prev-mpfr || test -f stage1-lean
52724 @endif mpfr
52725 @if mpc
52726 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
52727 mkdir stage2-mpc; \
52728 mv stage2-mpc mpc; \
52729 mv stage1-mpc prev-mpc || test -f stage1-lean
52730 @endif mpc
52731 @if isl
52732 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
52733 mkdir stage2-isl; \
52734 mv stage2-isl isl; \
52735 mv stage1-isl prev-isl || test -f stage1-lean
52736 @endif isl
52737 @if libelf
52738 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
52739 mkdir stage2-libelf; \
52740 mv stage2-libelf libelf; \
52741 mv stage1-libelf prev-libelf || test -f stage1-lean
52742 @endif libelf
52743 @if gold
52744 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
52745 mkdir stage2-gold; \
52746 mv stage2-gold gold; \
52747 mv stage1-gold prev-gold || test -f stage1-lean
52748 @endif gold
52749 @if intl
52750 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
52751 mkdir stage2-intl; \
52752 mv stage2-intl intl; \
52753 mv stage1-intl prev-intl || test -f stage1-lean
52754 @endif intl
52755 @if ld
52756 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
52757 mkdir stage2-ld; \
52758 mv stage2-ld ld; \
52759 mv stage1-ld prev-ld || test -f stage1-lean
52760 @endif ld
52761 @if libbacktrace
52762 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
52763 mkdir stage2-libbacktrace; \
52764 mv stage2-libbacktrace libbacktrace; \
52765 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
52766 @endif libbacktrace
52767 @if libcpp
52768 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
52769 mkdir stage2-libcpp; \
52770 mv stage2-libcpp libcpp; \
52771 mv stage1-libcpp prev-libcpp || test -f stage1-lean
52772 @endif libcpp
52773 @if libdecnumber
52774 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
52775 mkdir stage2-libdecnumber; \
52776 mv stage2-libdecnumber libdecnumber; \
52777 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
52778 @endif libdecnumber
52779 @if libiberty
52780 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
52781 mkdir stage2-libiberty; \
52782 mv stage2-libiberty libiberty; \
52783 mv stage1-libiberty prev-libiberty || test -f stage1-lean
52784 @endif libiberty
52785 @if libiberty-linker-plugin
52786 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
52787 mkdir stage2-libiberty-linker-plugin; \
52788 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
52789 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
52790 @endif libiberty-linker-plugin
52791 @if libiconv
52792 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
52793 mkdir stage2-libiconv; \
52794 mv stage2-libiconv libiconv; \
52795 mv stage1-libiconv prev-libiconv || test -f stage1-lean
52796 @endif libiconv
52797 @if zlib
52798 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
52799 mkdir stage2-zlib; \
52800 mv stage2-zlib zlib; \
52801 mv stage1-zlib prev-zlib || test -f stage1-lean
52802 @endif zlib
52803 @if lto-plugin
52804 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
52805 mkdir stage2-lto-plugin; \
52806 mv stage2-lto-plugin lto-plugin; \
52807 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
52808 @endif lto-plugin
52809 @[ -d stage2-$(TARGET_SUBDIR) ] || \
52810 mkdir stage2-$(TARGET_SUBDIR); \
52811 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
52812 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
52814 stage2-end::
52815 @if bfd
52816 @if test -d $(HOST_SUBDIR)/bfd; then \
52817 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
52818 mv prev-bfd stage1-bfd; : ; \
52820 @endif bfd
52821 @if opcodes
52822 @if test -d $(HOST_SUBDIR)/opcodes; then \
52823 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
52824 mv prev-opcodes stage1-opcodes; : ; \
52826 @endif opcodes
52827 @if binutils
52828 @if test -d $(HOST_SUBDIR)/binutils; then \
52829 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
52830 mv prev-binutils stage1-binutils; : ; \
52832 @endif binutils
52833 @if fixincludes
52834 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52835 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
52836 mv prev-fixincludes stage1-fixincludes; : ; \
52838 @endif fixincludes
52839 @if gas
52840 @if test -d $(HOST_SUBDIR)/gas; then \
52841 cd $(HOST_SUBDIR); mv gas stage2-gas; \
52842 mv prev-gas stage1-gas; : ; \
52844 @endif gas
52845 @if gcc
52846 @if test -d $(HOST_SUBDIR)/gcc; then \
52847 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
52848 mv prev-gcc stage1-gcc; : ; \
52850 @endif gcc
52851 @if gmp
52852 @if test -d $(HOST_SUBDIR)/gmp; then \
52853 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
52854 mv prev-gmp stage1-gmp; : ; \
52856 @endif gmp
52857 @if mpfr
52858 @if test -d $(HOST_SUBDIR)/mpfr; then \
52859 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
52860 mv prev-mpfr stage1-mpfr; : ; \
52862 @endif mpfr
52863 @if mpc
52864 @if test -d $(HOST_SUBDIR)/mpc; then \
52865 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
52866 mv prev-mpc stage1-mpc; : ; \
52868 @endif mpc
52869 @if isl
52870 @if test -d $(HOST_SUBDIR)/isl; then \
52871 cd $(HOST_SUBDIR); mv isl stage2-isl; \
52872 mv prev-isl stage1-isl; : ; \
52874 @endif isl
52875 @if libelf
52876 @if test -d $(HOST_SUBDIR)/libelf; then \
52877 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
52878 mv prev-libelf stage1-libelf; : ; \
52880 @endif libelf
52881 @if gold
52882 @if test -d $(HOST_SUBDIR)/gold; then \
52883 cd $(HOST_SUBDIR); mv gold stage2-gold; \
52884 mv prev-gold stage1-gold; : ; \
52886 @endif gold
52887 @if intl
52888 @if test -d $(HOST_SUBDIR)/intl; then \
52889 cd $(HOST_SUBDIR); mv intl stage2-intl; \
52890 mv prev-intl stage1-intl; : ; \
52892 @endif intl
52893 @if ld
52894 @if test -d $(HOST_SUBDIR)/ld; then \
52895 cd $(HOST_SUBDIR); mv ld stage2-ld; \
52896 mv prev-ld stage1-ld; : ; \
52898 @endif ld
52899 @if libbacktrace
52900 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52901 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
52902 mv prev-libbacktrace stage1-libbacktrace; : ; \
52904 @endif libbacktrace
52905 @if libcpp
52906 @if test -d $(HOST_SUBDIR)/libcpp; then \
52907 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
52908 mv prev-libcpp stage1-libcpp; : ; \
52910 @endif libcpp
52911 @if libdecnumber
52912 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52913 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
52914 mv prev-libdecnumber stage1-libdecnumber; : ; \
52916 @endif libdecnumber
52917 @if libiberty
52918 @if test -d $(HOST_SUBDIR)/libiberty; then \
52919 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
52920 mv prev-libiberty stage1-libiberty; : ; \
52922 @endif libiberty
52923 @if libiberty-linker-plugin
52924 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52925 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
52926 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
52928 @endif libiberty-linker-plugin
52929 @if libiconv
52930 @if test -d $(HOST_SUBDIR)/libiconv; then \
52931 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
52932 mv prev-libiconv stage1-libiconv; : ; \
52934 @endif libiconv
52935 @if zlib
52936 @if test -d $(HOST_SUBDIR)/zlib; then \
52937 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
52938 mv prev-zlib stage1-zlib; : ; \
52940 @endif zlib
52941 @if lto-plugin
52942 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52943 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
52944 mv prev-lto-plugin stage1-lto-plugin; : ; \
52946 @endif lto-plugin
52947 @if test -d $(TARGET_SUBDIR); then \
52948 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
52949 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
52951 rm -f stage_current
52953 # Bubble a bug fix through all the stages up to stage 2. They are
52954 # remade, but not reconfigured. The next stage (if any) will not be
52955 # reconfigured either.
52956 .PHONY: stage2-bubble
52957 stage2-bubble:: stage1-bubble
52958 @r=`${PWD_COMMAND}`; export r; \
52959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52960 if test -f stage2-lean || test -f stage1-lean ; then \
52961 echo Skipping rebuild of stage2; \
52962 else \
52963 $(MAKE) stage2-start; \
52964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
52967 .PHONY: all-stage2 clean-stage2
52968 do-clean: clean-stage2
52970 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52971 # only possibility, but now it conflicts with no-bootstrap rules
52972 @if gcc-bootstrap
52976 .PHONY: bootstrap2 bootstrap2-lean
52977 bootstrap2:
52978 echo stage2 > stage_final
52979 @r=`${PWD_COMMAND}`; export r; \
52980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52981 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
52982 @: $(MAKE); $(unstage)
52983 @r=`${PWD_COMMAND}`; export r; \
52984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52985 TFLAGS="$(STAGE2_TFLAGS)"; \
52986 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52988 bootstrap2-lean:
52989 echo stage2 > stage_final
52990 @r=`${PWD_COMMAND}`; export r; \
52991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52992 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
52993 @: $(MAKE); $(unstage)
52994 @r=`${PWD_COMMAND}`; export r; \
52995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52996 TFLAGS="$(STAGE2_TFLAGS)"; \
52997 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53000 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53001 distclean-stage1:: distclean-stage2
53002 .PHONY: distclean-stage2
53003 distclean-stage2::
53004 @: $(MAKE); $(stage)
53005 @test "`cat stage_last`" != stage2 || rm -f stage_last
53006 rm -rf stage2-*
53009 @endif gcc-bootstrap
53012 .PHONY: stage3-start stage3-end
53014 stage3-start::
53015 @: $(MAKE); $(stage); \
53016 echo stage3 > stage_current; \
53017 echo stage3 > stage_last; \
53018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53019 @if bfd
53020 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
53021 mkdir stage3-bfd; \
53022 mv stage3-bfd bfd; \
53023 mv stage2-bfd prev-bfd || test -f stage2-lean
53024 @endif bfd
53025 @if opcodes
53026 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
53027 mkdir stage3-opcodes; \
53028 mv stage3-opcodes opcodes; \
53029 mv stage2-opcodes prev-opcodes || test -f stage2-lean
53030 @endif opcodes
53031 @if binutils
53032 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
53033 mkdir stage3-binutils; \
53034 mv stage3-binutils binutils; \
53035 mv stage2-binutils prev-binutils || test -f stage2-lean
53036 @endif binutils
53037 @if fixincludes
53038 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
53039 mkdir stage3-fixincludes; \
53040 mv stage3-fixincludes fixincludes; \
53041 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
53042 @endif fixincludes
53043 @if gas
53044 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
53045 mkdir stage3-gas; \
53046 mv stage3-gas gas; \
53047 mv stage2-gas prev-gas || test -f stage2-lean
53048 @endif gas
53049 @if gcc
53050 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
53051 mkdir stage3-gcc; \
53052 mv stage3-gcc gcc; \
53053 mv stage2-gcc prev-gcc || test -f stage2-lean
53054 @endif gcc
53055 @if gmp
53056 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
53057 mkdir stage3-gmp; \
53058 mv stage3-gmp gmp; \
53059 mv stage2-gmp prev-gmp || test -f stage2-lean
53060 @endif gmp
53061 @if mpfr
53062 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
53063 mkdir stage3-mpfr; \
53064 mv stage3-mpfr mpfr; \
53065 mv stage2-mpfr prev-mpfr || test -f stage2-lean
53066 @endif mpfr
53067 @if mpc
53068 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
53069 mkdir stage3-mpc; \
53070 mv stage3-mpc mpc; \
53071 mv stage2-mpc prev-mpc || test -f stage2-lean
53072 @endif mpc
53073 @if isl
53074 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
53075 mkdir stage3-isl; \
53076 mv stage3-isl isl; \
53077 mv stage2-isl prev-isl || test -f stage2-lean
53078 @endif isl
53079 @if libelf
53080 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
53081 mkdir stage3-libelf; \
53082 mv stage3-libelf libelf; \
53083 mv stage2-libelf prev-libelf || test -f stage2-lean
53084 @endif libelf
53085 @if gold
53086 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
53087 mkdir stage3-gold; \
53088 mv stage3-gold gold; \
53089 mv stage2-gold prev-gold || test -f stage2-lean
53090 @endif gold
53091 @if intl
53092 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
53093 mkdir stage3-intl; \
53094 mv stage3-intl intl; \
53095 mv stage2-intl prev-intl || test -f stage2-lean
53096 @endif intl
53097 @if ld
53098 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
53099 mkdir stage3-ld; \
53100 mv stage3-ld ld; \
53101 mv stage2-ld prev-ld || test -f stage2-lean
53102 @endif ld
53103 @if libbacktrace
53104 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
53105 mkdir stage3-libbacktrace; \
53106 mv stage3-libbacktrace libbacktrace; \
53107 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
53108 @endif libbacktrace
53109 @if libcpp
53110 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
53111 mkdir stage3-libcpp; \
53112 mv stage3-libcpp libcpp; \
53113 mv stage2-libcpp prev-libcpp || test -f stage2-lean
53114 @endif libcpp
53115 @if libdecnumber
53116 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
53117 mkdir stage3-libdecnumber; \
53118 mv stage3-libdecnumber libdecnumber; \
53119 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
53120 @endif libdecnumber
53121 @if libiberty
53122 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
53123 mkdir stage3-libiberty; \
53124 mv stage3-libiberty libiberty; \
53125 mv stage2-libiberty prev-libiberty || test -f stage2-lean
53126 @endif libiberty
53127 @if libiberty-linker-plugin
53128 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
53129 mkdir stage3-libiberty-linker-plugin; \
53130 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
53131 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
53132 @endif libiberty-linker-plugin
53133 @if libiconv
53134 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
53135 mkdir stage3-libiconv; \
53136 mv stage3-libiconv libiconv; \
53137 mv stage2-libiconv prev-libiconv || test -f stage2-lean
53138 @endif libiconv
53139 @if zlib
53140 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
53141 mkdir stage3-zlib; \
53142 mv stage3-zlib zlib; \
53143 mv stage2-zlib prev-zlib || test -f stage2-lean
53144 @endif zlib
53145 @if lto-plugin
53146 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
53147 mkdir stage3-lto-plugin; \
53148 mv stage3-lto-plugin lto-plugin; \
53149 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
53150 @endif lto-plugin
53151 @[ -d stage3-$(TARGET_SUBDIR) ] || \
53152 mkdir stage3-$(TARGET_SUBDIR); \
53153 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53154 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
53156 stage3-end::
53157 @if bfd
53158 @if test -d $(HOST_SUBDIR)/bfd; then \
53159 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
53160 mv prev-bfd stage2-bfd; : ; \
53162 @endif bfd
53163 @if opcodes
53164 @if test -d $(HOST_SUBDIR)/opcodes; then \
53165 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
53166 mv prev-opcodes stage2-opcodes; : ; \
53168 @endif opcodes
53169 @if binutils
53170 @if test -d $(HOST_SUBDIR)/binutils; then \
53171 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
53172 mv prev-binutils stage2-binutils; : ; \
53174 @endif binutils
53175 @if fixincludes
53176 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53177 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
53178 mv prev-fixincludes stage2-fixincludes; : ; \
53180 @endif fixincludes
53181 @if gas
53182 @if test -d $(HOST_SUBDIR)/gas; then \
53183 cd $(HOST_SUBDIR); mv gas stage3-gas; \
53184 mv prev-gas stage2-gas; : ; \
53186 @endif gas
53187 @if gcc
53188 @if test -d $(HOST_SUBDIR)/gcc; then \
53189 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
53190 mv prev-gcc stage2-gcc; : ; \
53192 @endif gcc
53193 @if gmp
53194 @if test -d $(HOST_SUBDIR)/gmp; then \
53195 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
53196 mv prev-gmp stage2-gmp; : ; \
53198 @endif gmp
53199 @if mpfr
53200 @if test -d $(HOST_SUBDIR)/mpfr; then \
53201 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
53202 mv prev-mpfr stage2-mpfr; : ; \
53204 @endif mpfr
53205 @if mpc
53206 @if test -d $(HOST_SUBDIR)/mpc; then \
53207 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
53208 mv prev-mpc stage2-mpc; : ; \
53210 @endif mpc
53211 @if isl
53212 @if test -d $(HOST_SUBDIR)/isl; then \
53213 cd $(HOST_SUBDIR); mv isl stage3-isl; \
53214 mv prev-isl stage2-isl; : ; \
53216 @endif isl
53217 @if libelf
53218 @if test -d $(HOST_SUBDIR)/libelf; then \
53219 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
53220 mv prev-libelf stage2-libelf; : ; \
53222 @endif libelf
53223 @if gold
53224 @if test -d $(HOST_SUBDIR)/gold; then \
53225 cd $(HOST_SUBDIR); mv gold stage3-gold; \
53226 mv prev-gold stage2-gold; : ; \
53228 @endif gold
53229 @if intl
53230 @if test -d $(HOST_SUBDIR)/intl; then \
53231 cd $(HOST_SUBDIR); mv intl stage3-intl; \
53232 mv prev-intl stage2-intl; : ; \
53234 @endif intl
53235 @if ld
53236 @if test -d $(HOST_SUBDIR)/ld; then \
53237 cd $(HOST_SUBDIR); mv ld stage3-ld; \
53238 mv prev-ld stage2-ld; : ; \
53240 @endif ld
53241 @if libbacktrace
53242 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53243 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
53244 mv prev-libbacktrace stage2-libbacktrace; : ; \
53246 @endif libbacktrace
53247 @if libcpp
53248 @if test -d $(HOST_SUBDIR)/libcpp; then \
53249 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
53250 mv prev-libcpp stage2-libcpp; : ; \
53252 @endif libcpp
53253 @if libdecnumber
53254 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53255 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
53256 mv prev-libdecnumber stage2-libdecnumber; : ; \
53258 @endif libdecnumber
53259 @if libiberty
53260 @if test -d $(HOST_SUBDIR)/libiberty; then \
53261 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
53262 mv prev-libiberty stage2-libiberty; : ; \
53264 @endif libiberty
53265 @if libiberty-linker-plugin
53266 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53267 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
53268 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
53270 @endif libiberty-linker-plugin
53271 @if libiconv
53272 @if test -d $(HOST_SUBDIR)/libiconv; then \
53273 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
53274 mv prev-libiconv stage2-libiconv; : ; \
53276 @endif libiconv
53277 @if zlib
53278 @if test -d $(HOST_SUBDIR)/zlib; then \
53279 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
53280 mv prev-zlib stage2-zlib; : ; \
53282 @endif zlib
53283 @if lto-plugin
53284 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53285 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
53286 mv prev-lto-plugin stage2-lto-plugin; : ; \
53288 @endif lto-plugin
53289 @if test -d $(TARGET_SUBDIR); then \
53290 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
53291 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
53293 rm -f stage_current
53295 # Bubble a bug fix through all the stages up to stage 3. They are
53296 # remade, but not reconfigured. The next stage (if any) will not be
53297 # reconfigured either.
53298 .PHONY: stage3-bubble
53299 stage3-bubble:: stage2-bubble
53300 @r=`${PWD_COMMAND}`; export r; \
53301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53302 if test -f stage3-lean || test -f stage2-lean ; then \
53303 echo Skipping rebuild of stage3; \
53304 else \
53305 $(MAKE) stage3-start; \
53306 if $(LEAN); then \
53307 rm -rf stage1-*; \
53308 $(STAMP) stage1-lean; \
53309 fi; \
53310 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
53312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
53314 .PHONY: all-stage3 clean-stage3
53315 do-clean: clean-stage3
53317 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53318 # only possibility, but now it conflicts with no-bootstrap rules
53319 @if gcc-bootstrap
53321 compare:
53322 @r=`${PWD_COMMAND}`; export r; \
53323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53324 if test -f stage2-lean; then \
53325 echo Cannot compare object files as stage 2 was deleted.; \
53326 exit 0; \
53327 fi; \
53328 : $(MAKE); $(stage); \
53329 rm -f .bad_compare; \
53330 echo Comparing stages 2 and 3; \
53331 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
53332 files=`find stage3-* -name "*$(objext)" -print | \
53333 sed -n s,^stage$$sed-,,p`; \
53334 for file in $${files}; do \
53335 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
53336 if test ! -f $$f1; then continue; fi; \
53337 $(do-compare) > /dev/null 2>&1; \
53338 if test $$? -eq 1; then \
53339 case $$file in \
53340 @compare_exclusions@) \
53341 echo warning: $$file differs ;; \
53342 *) \
53343 echo $$file differs >> .bad_compare ;; \
53344 esac; \
53345 fi; \
53346 done; \
53347 if [ -f .bad_compare ]; then \
53348 echo "Bootstrap comparison failure!"; \
53349 cat .bad_compare; \
53350 exit 1; \
53351 else \
53352 echo Comparison successful.; \
53353 fi; \
53354 $(STAMP) compare
53355 if $(LEAN); then \
53356 rm -rf stage2-*; \
53357 $(STAMP) stage2-lean; \
53362 .PHONY: bootstrap bootstrap-lean
53363 bootstrap:
53364 echo stage3 > stage_final
53365 @r=`${PWD_COMMAND}`; export r; \
53366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53367 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53368 @: $(MAKE); $(unstage)
53369 @r=`${PWD_COMMAND}`; export r; \
53370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53371 TFLAGS="$(STAGE3_TFLAGS)"; \
53372 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53374 bootstrap-lean:
53375 echo stage3 > stage_final
53376 @r=`${PWD_COMMAND}`; export r; \
53377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53378 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
53379 @: $(MAKE); $(unstage)
53380 @r=`${PWD_COMMAND}`; export r; \
53381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53382 TFLAGS="$(STAGE3_TFLAGS)"; \
53383 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53386 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53387 distclean-stage2:: distclean-stage3
53388 .PHONY: distclean-stage3
53389 distclean-stage3::
53390 @: $(MAKE); $(stage)
53391 @test "`cat stage_last`" != stage3 || rm -f stage_last
53392 rm -rf stage3-* compare
53395 .PHONY: cleanstrap
53396 cleanstrap: do-distclean local-clean
53397 echo stage3 > stage_final
53398 @r=`${PWD_COMMAND}`; export r; \
53399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53400 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53401 @: $(MAKE); $(unstage)
53402 @r=`${PWD_COMMAND}`; export r; \
53403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53404 TFLAGS="$(STAGE3_TFLAGS)"; \
53405 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53407 @endif gcc-bootstrap
53410 .PHONY: stage4-start stage4-end
53412 stage4-start::
53413 @: $(MAKE); $(stage); \
53414 echo stage4 > stage_current; \
53415 echo stage4 > stage_last; \
53416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53417 @if bfd
53418 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
53419 mkdir stage4-bfd; \
53420 mv stage4-bfd bfd; \
53421 mv stage3-bfd prev-bfd || test -f stage3-lean
53422 @endif bfd
53423 @if opcodes
53424 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
53425 mkdir stage4-opcodes; \
53426 mv stage4-opcodes opcodes; \
53427 mv stage3-opcodes prev-opcodes || test -f stage3-lean
53428 @endif opcodes
53429 @if binutils
53430 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
53431 mkdir stage4-binutils; \
53432 mv stage4-binutils binutils; \
53433 mv stage3-binutils prev-binutils || test -f stage3-lean
53434 @endif binutils
53435 @if fixincludes
53436 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
53437 mkdir stage4-fixincludes; \
53438 mv stage4-fixincludes fixincludes; \
53439 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
53440 @endif fixincludes
53441 @if gas
53442 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
53443 mkdir stage4-gas; \
53444 mv stage4-gas gas; \
53445 mv stage3-gas prev-gas || test -f stage3-lean
53446 @endif gas
53447 @if gcc
53448 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
53449 mkdir stage4-gcc; \
53450 mv stage4-gcc gcc; \
53451 mv stage3-gcc prev-gcc || test -f stage3-lean
53452 @endif gcc
53453 @if gmp
53454 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
53455 mkdir stage4-gmp; \
53456 mv stage4-gmp gmp; \
53457 mv stage3-gmp prev-gmp || test -f stage3-lean
53458 @endif gmp
53459 @if mpfr
53460 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
53461 mkdir stage4-mpfr; \
53462 mv stage4-mpfr mpfr; \
53463 mv stage3-mpfr prev-mpfr || test -f stage3-lean
53464 @endif mpfr
53465 @if mpc
53466 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
53467 mkdir stage4-mpc; \
53468 mv stage4-mpc mpc; \
53469 mv stage3-mpc prev-mpc || test -f stage3-lean
53470 @endif mpc
53471 @if isl
53472 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
53473 mkdir stage4-isl; \
53474 mv stage4-isl isl; \
53475 mv stage3-isl prev-isl || test -f stage3-lean
53476 @endif isl
53477 @if libelf
53478 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
53479 mkdir stage4-libelf; \
53480 mv stage4-libelf libelf; \
53481 mv stage3-libelf prev-libelf || test -f stage3-lean
53482 @endif libelf
53483 @if gold
53484 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
53485 mkdir stage4-gold; \
53486 mv stage4-gold gold; \
53487 mv stage3-gold prev-gold || test -f stage3-lean
53488 @endif gold
53489 @if intl
53490 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
53491 mkdir stage4-intl; \
53492 mv stage4-intl intl; \
53493 mv stage3-intl prev-intl || test -f stage3-lean
53494 @endif intl
53495 @if ld
53496 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
53497 mkdir stage4-ld; \
53498 mv stage4-ld ld; \
53499 mv stage3-ld prev-ld || test -f stage3-lean
53500 @endif ld
53501 @if libbacktrace
53502 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
53503 mkdir stage4-libbacktrace; \
53504 mv stage4-libbacktrace libbacktrace; \
53505 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
53506 @endif libbacktrace
53507 @if libcpp
53508 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
53509 mkdir stage4-libcpp; \
53510 mv stage4-libcpp libcpp; \
53511 mv stage3-libcpp prev-libcpp || test -f stage3-lean
53512 @endif libcpp
53513 @if libdecnumber
53514 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
53515 mkdir stage4-libdecnumber; \
53516 mv stage4-libdecnumber libdecnumber; \
53517 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
53518 @endif libdecnumber
53519 @if libiberty
53520 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
53521 mkdir stage4-libiberty; \
53522 mv stage4-libiberty libiberty; \
53523 mv stage3-libiberty prev-libiberty || test -f stage3-lean
53524 @endif libiberty
53525 @if libiberty-linker-plugin
53526 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
53527 mkdir stage4-libiberty-linker-plugin; \
53528 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
53529 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
53530 @endif libiberty-linker-plugin
53531 @if libiconv
53532 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
53533 mkdir stage4-libiconv; \
53534 mv stage4-libiconv libiconv; \
53535 mv stage3-libiconv prev-libiconv || test -f stage3-lean
53536 @endif libiconv
53537 @if zlib
53538 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
53539 mkdir stage4-zlib; \
53540 mv stage4-zlib zlib; \
53541 mv stage3-zlib prev-zlib || test -f stage3-lean
53542 @endif zlib
53543 @if lto-plugin
53544 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
53545 mkdir stage4-lto-plugin; \
53546 mv stage4-lto-plugin lto-plugin; \
53547 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
53548 @endif lto-plugin
53549 @[ -d stage4-$(TARGET_SUBDIR) ] || \
53550 mkdir stage4-$(TARGET_SUBDIR); \
53551 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53552 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
53554 stage4-end::
53555 @if bfd
53556 @if test -d $(HOST_SUBDIR)/bfd; then \
53557 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
53558 mv prev-bfd stage3-bfd; : ; \
53560 @endif bfd
53561 @if opcodes
53562 @if test -d $(HOST_SUBDIR)/opcodes; then \
53563 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
53564 mv prev-opcodes stage3-opcodes; : ; \
53566 @endif opcodes
53567 @if binutils
53568 @if test -d $(HOST_SUBDIR)/binutils; then \
53569 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
53570 mv prev-binutils stage3-binutils; : ; \
53572 @endif binutils
53573 @if fixincludes
53574 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53575 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
53576 mv prev-fixincludes stage3-fixincludes; : ; \
53578 @endif fixincludes
53579 @if gas
53580 @if test -d $(HOST_SUBDIR)/gas; then \
53581 cd $(HOST_SUBDIR); mv gas stage4-gas; \
53582 mv prev-gas stage3-gas; : ; \
53584 @endif gas
53585 @if gcc
53586 @if test -d $(HOST_SUBDIR)/gcc; then \
53587 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
53588 mv prev-gcc stage3-gcc; : ; \
53590 @endif gcc
53591 @if gmp
53592 @if test -d $(HOST_SUBDIR)/gmp; then \
53593 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
53594 mv prev-gmp stage3-gmp; : ; \
53596 @endif gmp
53597 @if mpfr
53598 @if test -d $(HOST_SUBDIR)/mpfr; then \
53599 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
53600 mv prev-mpfr stage3-mpfr; : ; \
53602 @endif mpfr
53603 @if mpc
53604 @if test -d $(HOST_SUBDIR)/mpc; then \
53605 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
53606 mv prev-mpc stage3-mpc; : ; \
53608 @endif mpc
53609 @if isl
53610 @if test -d $(HOST_SUBDIR)/isl; then \
53611 cd $(HOST_SUBDIR); mv isl stage4-isl; \
53612 mv prev-isl stage3-isl; : ; \
53614 @endif isl
53615 @if libelf
53616 @if test -d $(HOST_SUBDIR)/libelf; then \
53617 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
53618 mv prev-libelf stage3-libelf; : ; \
53620 @endif libelf
53621 @if gold
53622 @if test -d $(HOST_SUBDIR)/gold; then \
53623 cd $(HOST_SUBDIR); mv gold stage4-gold; \
53624 mv prev-gold stage3-gold; : ; \
53626 @endif gold
53627 @if intl
53628 @if test -d $(HOST_SUBDIR)/intl; then \
53629 cd $(HOST_SUBDIR); mv intl stage4-intl; \
53630 mv prev-intl stage3-intl; : ; \
53632 @endif intl
53633 @if ld
53634 @if test -d $(HOST_SUBDIR)/ld; then \
53635 cd $(HOST_SUBDIR); mv ld stage4-ld; \
53636 mv prev-ld stage3-ld; : ; \
53638 @endif ld
53639 @if libbacktrace
53640 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53641 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
53642 mv prev-libbacktrace stage3-libbacktrace; : ; \
53644 @endif libbacktrace
53645 @if libcpp
53646 @if test -d $(HOST_SUBDIR)/libcpp; then \
53647 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
53648 mv prev-libcpp stage3-libcpp; : ; \
53650 @endif libcpp
53651 @if libdecnumber
53652 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53653 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
53654 mv prev-libdecnumber stage3-libdecnumber; : ; \
53656 @endif libdecnumber
53657 @if libiberty
53658 @if test -d $(HOST_SUBDIR)/libiberty; then \
53659 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
53660 mv prev-libiberty stage3-libiberty; : ; \
53662 @endif libiberty
53663 @if libiberty-linker-plugin
53664 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53665 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
53666 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
53668 @endif libiberty-linker-plugin
53669 @if libiconv
53670 @if test -d $(HOST_SUBDIR)/libiconv; then \
53671 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
53672 mv prev-libiconv stage3-libiconv; : ; \
53674 @endif libiconv
53675 @if zlib
53676 @if test -d $(HOST_SUBDIR)/zlib; then \
53677 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
53678 mv prev-zlib stage3-zlib; : ; \
53680 @endif zlib
53681 @if lto-plugin
53682 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53683 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
53684 mv prev-lto-plugin stage3-lto-plugin; : ; \
53686 @endif lto-plugin
53687 @if test -d $(TARGET_SUBDIR); then \
53688 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
53689 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
53691 rm -f stage_current
53693 # Bubble a bug fix through all the stages up to stage 4. They are
53694 # remade, but not reconfigured. The next stage (if any) will not be
53695 # reconfigured either.
53696 .PHONY: stage4-bubble
53697 stage4-bubble:: stage3-bubble
53698 @r=`${PWD_COMMAND}`; export r; \
53699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53700 if test -f stage4-lean || test -f stage3-lean ; then \
53701 echo Skipping rebuild of stage4; \
53702 else \
53703 $(MAKE) stage4-start; \
53704 if $(LEAN); then \
53705 rm -rf stage2-*; \
53706 $(STAMP) stage2-lean; \
53707 fi; \
53708 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
53710 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
53712 .PHONY: all-stage4 clean-stage4
53713 do-clean: clean-stage4
53715 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53716 # only possibility, but now it conflicts with no-bootstrap rules
53717 @if gcc-bootstrap
53719 compare3:
53720 @r=`${PWD_COMMAND}`; export r; \
53721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53722 if test -f stage3-lean; then \
53723 echo Cannot compare object files as stage 3 was deleted.; \
53724 exit 0; \
53725 fi; \
53726 : $(MAKE); $(stage); \
53727 rm -f .bad_compare; \
53728 echo Comparing stages 3 and 4; \
53729 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
53730 files=`find stage4-* -name "*$(objext)" -print | \
53731 sed -n s,^stage$$sed-,,p`; \
53732 for file in $${files}; do \
53733 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
53734 if test ! -f $$f1; then continue; fi; \
53735 $(do-compare3) > /dev/null 2>&1; \
53736 if test $$? -eq 1; then \
53737 case $$file in \
53738 @compare_exclusions@) \
53739 echo warning: $$file differs ;; \
53740 *) \
53741 echo $$file differs >> .bad_compare ;; \
53742 esac; \
53743 fi; \
53744 done; \
53745 if [ -f .bad_compare ]; then \
53746 echo "Bootstrap comparison failure!"; \
53747 cat .bad_compare; \
53748 exit 1; \
53749 else \
53750 echo Comparison successful.; \
53751 fi; \
53752 $(STAMP) compare3
53753 if $(LEAN); then \
53754 rm -rf stage3-*; \
53755 $(STAMP) stage3-lean; \
53760 .PHONY: bootstrap4 bootstrap4-lean
53761 bootstrap4:
53762 echo stage4 > stage_final
53763 @r=`${PWD_COMMAND}`; export r; \
53764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53765 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
53766 @: $(MAKE); $(unstage)
53767 @r=`${PWD_COMMAND}`; export r; \
53768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53769 TFLAGS="$(STAGE4_TFLAGS)"; \
53770 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53772 bootstrap4-lean:
53773 echo stage4 > stage_final
53774 @r=`${PWD_COMMAND}`; export r; \
53775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53776 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
53777 @: $(MAKE); $(unstage)
53778 @r=`${PWD_COMMAND}`; export r; \
53779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53780 TFLAGS="$(STAGE4_TFLAGS)"; \
53781 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53784 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53785 distclean-stage3:: distclean-stage4
53786 .PHONY: distclean-stage4
53787 distclean-stage4::
53788 @: $(MAKE); $(stage)
53789 @test "`cat stage_last`" != stage4 || rm -f stage_last
53790 rm -rf stage4-* compare3
53793 @endif gcc-bootstrap
53796 .PHONY: stageprofile-start stageprofile-end
53798 stageprofile-start::
53799 @: $(MAKE); $(stage); \
53800 echo stageprofile > stage_current; \
53801 echo stageprofile > stage_last; \
53802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53803 @if bfd
53804 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
53805 mkdir stageprofile-bfd; \
53806 mv stageprofile-bfd bfd; \
53807 mv stage1-bfd prev-bfd || test -f stage1-lean
53808 @endif bfd
53809 @if opcodes
53810 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
53811 mkdir stageprofile-opcodes; \
53812 mv stageprofile-opcodes opcodes; \
53813 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53814 @endif opcodes
53815 @if binutils
53816 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
53817 mkdir stageprofile-binutils; \
53818 mv stageprofile-binutils binutils; \
53819 mv stage1-binutils prev-binutils || test -f stage1-lean
53820 @endif binutils
53821 @if fixincludes
53822 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
53823 mkdir stageprofile-fixincludes; \
53824 mv stageprofile-fixincludes fixincludes; \
53825 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
53826 @endif fixincludes
53827 @if gas
53828 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
53829 mkdir stageprofile-gas; \
53830 mv stageprofile-gas gas; \
53831 mv stage1-gas prev-gas || test -f stage1-lean
53832 @endif gas
53833 @if gcc
53834 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
53835 mkdir stageprofile-gcc; \
53836 mv stageprofile-gcc gcc; \
53837 mv stage1-gcc prev-gcc || test -f stage1-lean
53838 @endif gcc
53839 @if gmp
53840 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
53841 mkdir stageprofile-gmp; \
53842 mv stageprofile-gmp gmp; \
53843 mv stage1-gmp prev-gmp || test -f stage1-lean
53844 @endif gmp
53845 @if mpfr
53846 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
53847 mkdir stageprofile-mpfr; \
53848 mv stageprofile-mpfr mpfr; \
53849 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53850 @endif mpfr
53851 @if mpc
53852 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
53853 mkdir stageprofile-mpc; \
53854 mv stageprofile-mpc mpc; \
53855 mv stage1-mpc prev-mpc || test -f stage1-lean
53856 @endif mpc
53857 @if isl
53858 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
53859 mkdir stageprofile-isl; \
53860 mv stageprofile-isl isl; \
53861 mv stage1-isl prev-isl || test -f stage1-lean
53862 @endif isl
53863 @if libelf
53864 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
53865 mkdir stageprofile-libelf; \
53866 mv stageprofile-libelf libelf; \
53867 mv stage1-libelf prev-libelf || test -f stage1-lean
53868 @endif libelf
53869 @if gold
53870 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
53871 mkdir stageprofile-gold; \
53872 mv stageprofile-gold gold; \
53873 mv stage1-gold prev-gold || test -f stage1-lean
53874 @endif gold
53875 @if intl
53876 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
53877 mkdir stageprofile-intl; \
53878 mv stageprofile-intl intl; \
53879 mv stage1-intl prev-intl || test -f stage1-lean
53880 @endif intl
53881 @if ld
53882 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
53883 mkdir stageprofile-ld; \
53884 mv stageprofile-ld ld; \
53885 mv stage1-ld prev-ld || test -f stage1-lean
53886 @endif ld
53887 @if libbacktrace
53888 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
53889 mkdir stageprofile-libbacktrace; \
53890 mv stageprofile-libbacktrace libbacktrace; \
53891 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
53892 @endif libbacktrace
53893 @if libcpp
53894 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
53895 mkdir stageprofile-libcpp; \
53896 mv stageprofile-libcpp libcpp; \
53897 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53898 @endif libcpp
53899 @if libdecnumber
53900 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
53901 mkdir stageprofile-libdecnumber; \
53902 mv stageprofile-libdecnumber libdecnumber; \
53903 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53904 @endif libdecnumber
53905 @if libiberty
53906 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
53907 mkdir stageprofile-libiberty; \
53908 mv stageprofile-libiberty libiberty; \
53909 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53910 @endif libiberty
53911 @if libiberty-linker-plugin
53912 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
53913 mkdir stageprofile-libiberty-linker-plugin; \
53914 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
53915 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
53916 @endif libiberty-linker-plugin
53917 @if libiconv
53918 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
53919 mkdir stageprofile-libiconv; \
53920 mv stageprofile-libiconv libiconv; \
53921 mv stage1-libiconv prev-libiconv || test -f stage1-lean
53922 @endif libiconv
53923 @if zlib
53924 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
53925 mkdir stageprofile-zlib; \
53926 mv stageprofile-zlib zlib; \
53927 mv stage1-zlib prev-zlib || test -f stage1-lean
53928 @endif zlib
53929 @if lto-plugin
53930 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
53931 mkdir stageprofile-lto-plugin; \
53932 mv stageprofile-lto-plugin lto-plugin; \
53933 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
53934 @endif lto-plugin
53935 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
53936 mkdir stageprofile-$(TARGET_SUBDIR); \
53937 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53938 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53940 stageprofile-end::
53941 @if bfd
53942 @if test -d $(HOST_SUBDIR)/bfd; then \
53943 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
53944 mv prev-bfd stage1-bfd; : ; \
53946 @endif bfd
53947 @if opcodes
53948 @if test -d $(HOST_SUBDIR)/opcodes; then \
53949 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
53950 mv prev-opcodes stage1-opcodes; : ; \
53952 @endif opcodes
53953 @if binutils
53954 @if test -d $(HOST_SUBDIR)/binutils; then \
53955 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
53956 mv prev-binutils stage1-binutils; : ; \
53958 @endif binutils
53959 @if fixincludes
53960 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53961 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
53962 mv prev-fixincludes stage1-fixincludes; : ; \
53964 @endif fixincludes
53965 @if gas
53966 @if test -d $(HOST_SUBDIR)/gas; then \
53967 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
53968 mv prev-gas stage1-gas; : ; \
53970 @endif gas
53971 @if gcc
53972 @if test -d $(HOST_SUBDIR)/gcc; then \
53973 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
53974 mv prev-gcc stage1-gcc; : ; \
53976 @endif gcc
53977 @if gmp
53978 @if test -d $(HOST_SUBDIR)/gmp; then \
53979 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
53980 mv prev-gmp stage1-gmp; : ; \
53982 @endif gmp
53983 @if mpfr
53984 @if test -d $(HOST_SUBDIR)/mpfr; then \
53985 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
53986 mv prev-mpfr stage1-mpfr; : ; \
53988 @endif mpfr
53989 @if mpc
53990 @if test -d $(HOST_SUBDIR)/mpc; then \
53991 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
53992 mv prev-mpc stage1-mpc; : ; \
53994 @endif mpc
53995 @if isl
53996 @if test -d $(HOST_SUBDIR)/isl; then \
53997 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
53998 mv prev-isl stage1-isl; : ; \
54000 @endif isl
54001 @if libelf
54002 @if test -d $(HOST_SUBDIR)/libelf; then \
54003 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
54004 mv prev-libelf stage1-libelf; : ; \
54006 @endif libelf
54007 @if gold
54008 @if test -d $(HOST_SUBDIR)/gold; then \
54009 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
54010 mv prev-gold stage1-gold; : ; \
54012 @endif gold
54013 @if intl
54014 @if test -d $(HOST_SUBDIR)/intl; then \
54015 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
54016 mv prev-intl stage1-intl; : ; \
54018 @endif intl
54019 @if ld
54020 @if test -d $(HOST_SUBDIR)/ld; then \
54021 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
54022 mv prev-ld stage1-ld; : ; \
54024 @endif ld
54025 @if libbacktrace
54026 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54027 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
54028 mv prev-libbacktrace stage1-libbacktrace; : ; \
54030 @endif libbacktrace
54031 @if libcpp
54032 @if test -d $(HOST_SUBDIR)/libcpp; then \
54033 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
54034 mv prev-libcpp stage1-libcpp; : ; \
54036 @endif libcpp
54037 @if libdecnumber
54038 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54039 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
54040 mv prev-libdecnumber stage1-libdecnumber; : ; \
54042 @endif libdecnumber
54043 @if libiberty
54044 @if test -d $(HOST_SUBDIR)/libiberty; then \
54045 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
54046 mv prev-libiberty stage1-libiberty; : ; \
54048 @endif libiberty
54049 @if libiberty-linker-plugin
54050 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54051 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
54052 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54054 @endif libiberty-linker-plugin
54055 @if libiconv
54056 @if test -d $(HOST_SUBDIR)/libiconv; then \
54057 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
54058 mv prev-libiconv stage1-libiconv; : ; \
54060 @endif libiconv
54061 @if zlib
54062 @if test -d $(HOST_SUBDIR)/zlib; then \
54063 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
54064 mv prev-zlib stage1-zlib; : ; \
54066 @endif zlib
54067 @if lto-plugin
54068 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54069 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
54070 mv prev-lto-plugin stage1-lto-plugin; : ; \
54072 @endif lto-plugin
54073 @if test -d $(TARGET_SUBDIR); then \
54074 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
54075 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54077 rm -f stage_current
54079 # Bubble a bug fix through all the stages up to stage profile. They are
54080 # remade, but not reconfigured. The next stage (if any) will not be
54081 # reconfigured either.
54082 .PHONY: stageprofile-bubble
54083 stageprofile-bubble:: stage1-bubble
54084 @r=`${PWD_COMMAND}`; export r; \
54085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54086 if test -f stageprofile-lean || test -f stage1-lean ; then \
54087 echo Skipping rebuild of stageprofile; \
54088 else \
54089 $(MAKE) stageprofile-start; \
54090 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
54093 .PHONY: all-stageprofile clean-stageprofile
54094 do-clean: clean-stageprofile
54096 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54097 # only possibility, but now it conflicts with no-bootstrap rules
54098 @if gcc-bootstrap
54103 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54104 distclean-stage1:: distclean-stageprofile
54105 .PHONY: distclean-stageprofile
54106 distclean-stageprofile::
54107 @: $(MAKE); $(stage)
54108 @test "`cat stage_last`" != stageprofile || rm -f stage_last
54109 rm -rf stageprofile-*
54112 @endif gcc-bootstrap
54115 .PHONY: stagetrain-start stagetrain-end
54117 stagetrain-start::
54118 @: $(MAKE); $(stage); \
54119 echo stagetrain > stage_current; \
54120 echo stagetrain > stage_last; \
54121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54122 @if bfd
54123 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
54124 mkdir stagetrain-bfd; \
54125 mv stagetrain-bfd bfd; \
54126 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
54127 @endif bfd
54128 @if opcodes
54129 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
54130 mkdir stagetrain-opcodes; \
54131 mv stagetrain-opcodes opcodes; \
54132 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
54133 @endif opcodes
54134 @if binutils
54135 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
54136 mkdir stagetrain-binutils; \
54137 mv stagetrain-binutils binutils; \
54138 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
54139 @endif binutils
54140 @if fixincludes
54141 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
54142 mkdir stagetrain-fixincludes; \
54143 mv stagetrain-fixincludes fixincludes; \
54144 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
54145 @endif fixincludes
54146 @if gas
54147 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
54148 mkdir stagetrain-gas; \
54149 mv stagetrain-gas gas; \
54150 mv stageprofile-gas prev-gas || test -f stageprofile-lean
54151 @endif gas
54152 @if gcc
54153 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
54154 mkdir stagetrain-gcc; \
54155 mv stagetrain-gcc gcc; \
54156 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
54157 @endif gcc
54158 @if gmp
54159 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
54160 mkdir stagetrain-gmp; \
54161 mv stagetrain-gmp gmp; \
54162 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
54163 @endif gmp
54164 @if mpfr
54165 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
54166 mkdir stagetrain-mpfr; \
54167 mv stagetrain-mpfr mpfr; \
54168 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
54169 @endif mpfr
54170 @if mpc
54171 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
54172 mkdir stagetrain-mpc; \
54173 mv stagetrain-mpc mpc; \
54174 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
54175 @endif mpc
54176 @if isl
54177 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
54178 mkdir stagetrain-isl; \
54179 mv stagetrain-isl isl; \
54180 mv stageprofile-isl prev-isl || test -f stageprofile-lean
54181 @endif isl
54182 @if libelf
54183 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
54184 mkdir stagetrain-libelf; \
54185 mv stagetrain-libelf libelf; \
54186 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
54187 @endif libelf
54188 @if gold
54189 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
54190 mkdir stagetrain-gold; \
54191 mv stagetrain-gold gold; \
54192 mv stageprofile-gold prev-gold || test -f stageprofile-lean
54193 @endif gold
54194 @if intl
54195 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
54196 mkdir stagetrain-intl; \
54197 mv stagetrain-intl intl; \
54198 mv stageprofile-intl prev-intl || test -f stageprofile-lean
54199 @endif intl
54200 @if ld
54201 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
54202 mkdir stagetrain-ld; \
54203 mv stagetrain-ld ld; \
54204 mv stageprofile-ld prev-ld || test -f stageprofile-lean
54205 @endif ld
54206 @if libbacktrace
54207 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
54208 mkdir stagetrain-libbacktrace; \
54209 mv stagetrain-libbacktrace libbacktrace; \
54210 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
54211 @endif libbacktrace
54212 @if libcpp
54213 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
54214 mkdir stagetrain-libcpp; \
54215 mv stagetrain-libcpp libcpp; \
54216 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
54217 @endif libcpp
54218 @if libdecnumber
54219 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
54220 mkdir stagetrain-libdecnumber; \
54221 mv stagetrain-libdecnumber libdecnumber; \
54222 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
54223 @endif libdecnumber
54224 @if libiberty
54225 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
54226 mkdir stagetrain-libiberty; \
54227 mv stagetrain-libiberty libiberty; \
54228 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
54229 @endif libiberty
54230 @if libiberty-linker-plugin
54231 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
54232 mkdir stagetrain-libiberty-linker-plugin; \
54233 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
54234 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
54235 @endif libiberty-linker-plugin
54236 @if libiconv
54237 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
54238 mkdir stagetrain-libiconv; \
54239 mv stagetrain-libiconv libiconv; \
54240 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
54241 @endif libiconv
54242 @if zlib
54243 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
54244 mkdir stagetrain-zlib; \
54245 mv stagetrain-zlib zlib; \
54246 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
54247 @endif zlib
54248 @if lto-plugin
54249 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
54250 mkdir stagetrain-lto-plugin; \
54251 mv stagetrain-lto-plugin lto-plugin; \
54252 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
54253 @endif lto-plugin
54254 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
54255 mkdir stagetrain-$(TARGET_SUBDIR); \
54256 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54257 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
54259 stagetrain-end::
54260 @if bfd
54261 @if test -d $(HOST_SUBDIR)/bfd; then \
54262 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
54263 mv prev-bfd stageprofile-bfd; : ; \
54265 @endif bfd
54266 @if opcodes
54267 @if test -d $(HOST_SUBDIR)/opcodes; then \
54268 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
54269 mv prev-opcodes stageprofile-opcodes; : ; \
54271 @endif opcodes
54272 @if binutils
54273 @if test -d $(HOST_SUBDIR)/binutils; then \
54274 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
54275 mv prev-binutils stageprofile-binutils; : ; \
54277 @endif binutils
54278 @if fixincludes
54279 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54280 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
54281 mv prev-fixincludes stageprofile-fixincludes; : ; \
54283 @endif fixincludes
54284 @if gas
54285 @if test -d $(HOST_SUBDIR)/gas; then \
54286 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
54287 mv prev-gas stageprofile-gas; : ; \
54289 @endif gas
54290 @if gcc
54291 @if test -d $(HOST_SUBDIR)/gcc; then \
54292 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
54293 mv prev-gcc stageprofile-gcc; : ; \
54295 @endif gcc
54296 @if gmp
54297 @if test -d $(HOST_SUBDIR)/gmp; then \
54298 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
54299 mv prev-gmp stageprofile-gmp; : ; \
54301 @endif gmp
54302 @if mpfr
54303 @if test -d $(HOST_SUBDIR)/mpfr; then \
54304 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
54305 mv prev-mpfr stageprofile-mpfr; : ; \
54307 @endif mpfr
54308 @if mpc
54309 @if test -d $(HOST_SUBDIR)/mpc; then \
54310 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
54311 mv prev-mpc stageprofile-mpc; : ; \
54313 @endif mpc
54314 @if isl
54315 @if test -d $(HOST_SUBDIR)/isl; then \
54316 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
54317 mv prev-isl stageprofile-isl; : ; \
54319 @endif isl
54320 @if libelf
54321 @if test -d $(HOST_SUBDIR)/libelf; then \
54322 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
54323 mv prev-libelf stageprofile-libelf; : ; \
54325 @endif libelf
54326 @if gold
54327 @if test -d $(HOST_SUBDIR)/gold; then \
54328 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
54329 mv prev-gold stageprofile-gold; : ; \
54331 @endif gold
54332 @if intl
54333 @if test -d $(HOST_SUBDIR)/intl; then \
54334 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
54335 mv prev-intl stageprofile-intl; : ; \
54337 @endif intl
54338 @if ld
54339 @if test -d $(HOST_SUBDIR)/ld; then \
54340 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
54341 mv prev-ld stageprofile-ld; : ; \
54343 @endif ld
54344 @if libbacktrace
54345 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54346 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
54347 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
54349 @endif libbacktrace
54350 @if libcpp
54351 @if test -d $(HOST_SUBDIR)/libcpp; then \
54352 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
54353 mv prev-libcpp stageprofile-libcpp; : ; \
54355 @endif libcpp
54356 @if libdecnumber
54357 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54358 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
54359 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
54361 @endif libdecnumber
54362 @if libiberty
54363 @if test -d $(HOST_SUBDIR)/libiberty; then \
54364 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
54365 mv prev-libiberty stageprofile-libiberty; : ; \
54367 @endif libiberty
54368 @if libiberty-linker-plugin
54369 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54370 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
54371 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
54373 @endif libiberty-linker-plugin
54374 @if libiconv
54375 @if test -d $(HOST_SUBDIR)/libiconv; then \
54376 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
54377 mv prev-libiconv stageprofile-libiconv; : ; \
54379 @endif libiconv
54380 @if zlib
54381 @if test -d $(HOST_SUBDIR)/zlib; then \
54382 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
54383 mv prev-zlib stageprofile-zlib; : ; \
54385 @endif zlib
54386 @if lto-plugin
54387 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54388 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
54389 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
54391 @endif lto-plugin
54392 @if test -d $(TARGET_SUBDIR); then \
54393 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
54394 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
54396 rm -f stage_current
54398 # Bubble a bug fix through all the stages up to stage train. They are
54399 # remade, but not reconfigured. The next stage (if any) will not be
54400 # reconfigured either.
54401 .PHONY: stagetrain-bubble
54402 stagetrain-bubble:: stageprofile-bubble
54403 @r=`${PWD_COMMAND}`; export r; \
54404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54405 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
54406 echo Skipping rebuild of stagetrain; \
54407 else \
54408 $(MAKE) stagetrain-start; \
54409 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
54412 .PHONY: all-stagetrain clean-stagetrain
54413 do-clean: clean-stagetrain
54415 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54416 # only possibility, but now it conflicts with no-bootstrap rules
54417 @if gcc-bootstrap
54422 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54423 distclean-stageprofile:: distclean-stagetrain
54424 .PHONY: distclean-stagetrain
54425 distclean-stagetrain::
54426 @: $(MAKE); $(stage)
54427 @test "`cat stage_last`" != stagetrain || rm -f stage_last
54428 rm -rf stagetrain-*
54431 @endif gcc-bootstrap
54434 .PHONY: stagefeedback-start stagefeedback-end
54436 stagefeedback-start::
54437 @: $(MAKE); $(stage); \
54438 echo stagefeedback > stage_current; \
54439 echo stagefeedback > stage_last; \
54440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54441 @if bfd
54442 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
54443 mkdir stagefeedback-bfd; \
54444 mv stagefeedback-bfd bfd; \
54445 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
54446 @endif bfd
54447 @if opcodes
54448 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
54449 mkdir stagefeedback-opcodes; \
54450 mv stagefeedback-opcodes opcodes; \
54451 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
54452 @endif opcodes
54453 @if binutils
54454 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
54455 mkdir stagefeedback-binutils; \
54456 mv stagefeedback-binutils binutils; \
54457 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
54458 @endif binutils
54459 @if fixincludes
54460 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
54461 mkdir stagefeedback-fixincludes; \
54462 mv stagefeedback-fixincludes fixincludes; \
54463 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
54464 @endif fixincludes
54465 @if gas
54466 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
54467 mkdir stagefeedback-gas; \
54468 mv stagefeedback-gas gas; \
54469 mv stagetrain-gas prev-gas || test -f stagetrain-lean
54470 @endif gas
54471 @if gcc
54472 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
54473 mkdir stagefeedback-gcc; \
54474 mv stagefeedback-gcc gcc; \
54475 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
54476 @endif gcc
54477 @if gmp
54478 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
54479 mkdir stagefeedback-gmp; \
54480 mv stagefeedback-gmp gmp; \
54481 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
54482 @endif gmp
54483 @if mpfr
54484 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
54485 mkdir stagefeedback-mpfr; \
54486 mv stagefeedback-mpfr mpfr; \
54487 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
54488 @endif mpfr
54489 @if mpc
54490 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
54491 mkdir stagefeedback-mpc; \
54492 mv stagefeedback-mpc mpc; \
54493 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
54494 @endif mpc
54495 @if isl
54496 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
54497 mkdir stagefeedback-isl; \
54498 mv stagefeedback-isl isl; \
54499 mv stagetrain-isl prev-isl || test -f stagetrain-lean
54500 @endif isl
54501 @if libelf
54502 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
54503 mkdir stagefeedback-libelf; \
54504 mv stagefeedback-libelf libelf; \
54505 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
54506 @endif libelf
54507 @if gold
54508 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
54509 mkdir stagefeedback-gold; \
54510 mv stagefeedback-gold gold; \
54511 mv stagetrain-gold prev-gold || test -f stagetrain-lean
54512 @endif gold
54513 @if intl
54514 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
54515 mkdir stagefeedback-intl; \
54516 mv stagefeedback-intl intl; \
54517 mv stagetrain-intl prev-intl || test -f stagetrain-lean
54518 @endif intl
54519 @if ld
54520 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
54521 mkdir stagefeedback-ld; \
54522 mv stagefeedback-ld ld; \
54523 mv stagetrain-ld prev-ld || test -f stagetrain-lean
54524 @endif ld
54525 @if libbacktrace
54526 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
54527 mkdir stagefeedback-libbacktrace; \
54528 mv stagefeedback-libbacktrace libbacktrace; \
54529 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
54530 @endif libbacktrace
54531 @if libcpp
54532 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
54533 mkdir stagefeedback-libcpp; \
54534 mv stagefeedback-libcpp libcpp; \
54535 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
54536 @endif libcpp
54537 @if libdecnumber
54538 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
54539 mkdir stagefeedback-libdecnumber; \
54540 mv stagefeedback-libdecnumber libdecnumber; \
54541 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
54542 @endif libdecnumber
54543 @if libiberty
54544 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
54545 mkdir stagefeedback-libiberty; \
54546 mv stagefeedback-libiberty libiberty; \
54547 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
54548 @endif libiberty
54549 @if libiberty-linker-plugin
54550 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
54551 mkdir stagefeedback-libiberty-linker-plugin; \
54552 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
54553 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
54554 @endif libiberty-linker-plugin
54555 @if libiconv
54556 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
54557 mkdir stagefeedback-libiconv; \
54558 mv stagefeedback-libiconv libiconv; \
54559 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
54560 @endif libiconv
54561 @if zlib
54562 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
54563 mkdir stagefeedback-zlib; \
54564 mv stagefeedback-zlib zlib; \
54565 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
54566 @endif zlib
54567 @if lto-plugin
54568 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
54569 mkdir stagefeedback-lto-plugin; \
54570 mv stagefeedback-lto-plugin lto-plugin; \
54571 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
54572 @endif lto-plugin
54573 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
54574 mkdir stagefeedback-$(TARGET_SUBDIR); \
54575 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54576 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
54578 stagefeedback-end::
54579 @if bfd
54580 @if test -d $(HOST_SUBDIR)/bfd; then \
54581 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
54582 mv prev-bfd stagetrain-bfd; : ; \
54584 @endif bfd
54585 @if opcodes
54586 @if test -d $(HOST_SUBDIR)/opcodes; then \
54587 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
54588 mv prev-opcodes stagetrain-opcodes; : ; \
54590 @endif opcodes
54591 @if binutils
54592 @if test -d $(HOST_SUBDIR)/binutils; then \
54593 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
54594 mv prev-binutils stagetrain-binutils; : ; \
54596 @endif binutils
54597 @if fixincludes
54598 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54599 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
54600 mv prev-fixincludes stagetrain-fixincludes; : ; \
54602 @endif fixincludes
54603 @if gas
54604 @if test -d $(HOST_SUBDIR)/gas; then \
54605 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
54606 mv prev-gas stagetrain-gas; : ; \
54608 @endif gas
54609 @if gcc
54610 @if test -d $(HOST_SUBDIR)/gcc; then \
54611 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
54612 mv prev-gcc stagetrain-gcc; : ; \
54614 @endif gcc
54615 @if gmp
54616 @if test -d $(HOST_SUBDIR)/gmp; then \
54617 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
54618 mv prev-gmp stagetrain-gmp; : ; \
54620 @endif gmp
54621 @if mpfr
54622 @if test -d $(HOST_SUBDIR)/mpfr; then \
54623 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
54624 mv prev-mpfr stagetrain-mpfr; : ; \
54626 @endif mpfr
54627 @if mpc
54628 @if test -d $(HOST_SUBDIR)/mpc; then \
54629 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
54630 mv prev-mpc stagetrain-mpc; : ; \
54632 @endif mpc
54633 @if isl
54634 @if test -d $(HOST_SUBDIR)/isl; then \
54635 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
54636 mv prev-isl stagetrain-isl; : ; \
54638 @endif isl
54639 @if libelf
54640 @if test -d $(HOST_SUBDIR)/libelf; then \
54641 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
54642 mv prev-libelf stagetrain-libelf; : ; \
54644 @endif libelf
54645 @if gold
54646 @if test -d $(HOST_SUBDIR)/gold; then \
54647 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
54648 mv prev-gold stagetrain-gold; : ; \
54650 @endif gold
54651 @if intl
54652 @if test -d $(HOST_SUBDIR)/intl; then \
54653 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
54654 mv prev-intl stagetrain-intl; : ; \
54656 @endif intl
54657 @if ld
54658 @if test -d $(HOST_SUBDIR)/ld; then \
54659 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
54660 mv prev-ld stagetrain-ld; : ; \
54662 @endif ld
54663 @if libbacktrace
54664 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54665 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
54666 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
54668 @endif libbacktrace
54669 @if libcpp
54670 @if test -d $(HOST_SUBDIR)/libcpp; then \
54671 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
54672 mv prev-libcpp stagetrain-libcpp; : ; \
54674 @endif libcpp
54675 @if libdecnumber
54676 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54677 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
54678 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
54680 @endif libdecnumber
54681 @if libiberty
54682 @if test -d $(HOST_SUBDIR)/libiberty; then \
54683 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
54684 mv prev-libiberty stagetrain-libiberty; : ; \
54686 @endif libiberty
54687 @if libiberty-linker-plugin
54688 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54689 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
54690 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
54692 @endif libiberty-linker-plugin
54693 @if libiconv
54694 @if test -d $(HOST_SUBDIR)/libiconv; then \
54695 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
54696 mv prev-libiconv stagetrain-libiconv; : ; \
54698 @endif libiconv
54699 @if zlib
54700 @if test -d $(HOST_SUBDIR)/zlib; then \
54701 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
54702 mv prev-zlib stagetrain-zlib; : ; \
54704 @endif zlib
54705 @if lto-plugin
54706 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54707 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
54708 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
54710 @endif lto-plugin
54711 @if test -d $(TARGET_SUBDIR); then \
54712 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
54713 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
54715 rm -f stage_current
54717 # Bubble a bug fix through all the stages up to stage feedback. They are
54718 # remade, but not reconfigured. The next stage (if any) will not be
54719 # reconfigured either.
54720 .PHONY: stagefeedback-bubble
54721 stagefeedback-bubble:: stagetrain-bubble
54722 @r=`${PWD_COMMAND}`; export r; \
54723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54724 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
54725 echo Skipping rebuild of stagefeedback; \
54726 else \
54727 $(MAKE) stagefeedback-start; \
54728 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
54731 .PHONY: all-stagefeedback clean-stagefeedback
54732 do-clean: clean-stagefeedback
54734 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54735 # only possibility, but now it conflicts with no-bootstrap rules
54736 @if gcc-bootstrap
54740 .PHONY: profiledbootstrap profiledbootstrap-lean
54741 profiledbootstrap:
54742 echo stagefeedback > stage_final
54743 @r=`${PWD_COMMAND}`; export r; \
54744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54745 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
54746 @: $(MAKE); $(unstage)
54747 @r=`${PWD_COMMAND}`; export r; \
54748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54749 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
54750 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54752 profiledbootstrap-lean:
54753 echo stagefeedback > stage_final
54754 @r=`${PWD_COMMAND}`; export r; \
54755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54756 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
54757 @: $(MAKE); $(unstage)
54758 @r=`${PWD_COMMAND}`; export r; \
54759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54760 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
54761 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54764 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54765 distclean-stagetrain:: distclean-stagefeedback
54766 .PHONY: distclean-stagefeedback
54767 distclean-stagefeedback::
54768 @: $(MAKE); $(stage)
54769 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
54770 rm -rf stagefeedback-*
54773 @endif gcc-bootstrap
54776 .PHONY: stageautoprofile-start stageautoprofile-end
54778 stageautoprofile-start::
54779 @: $(MAKE); $(stage); \
54780 echo stageautoprofile > stage_current; \
54781 echo stageautoprofile > stage_last; \
54782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54783 @if bfd
54784 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
54785 mkdir stageautoprofile-bfd; \
54786 mv stageautoprofile-bfd bfd; \
54787 mv stage1-bfd prev-bfd || test -f stage1-lean
54788 @endif bfd
54789 @if opcodes
54790 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
54791 mkdir stageautoprofile-opcodes; \
54792 mv stageautoprofile-opcodes opcodes; \
54793 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54794 @endif opcodes
54795 @if binutils
54796 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
54797 mkdir stageautoprofile-binutils; \
54798 mv stageautoprofile-binutils binutils; \
54799 mv stage1-binutils prev-binutils || test -f stage1-lean
54800 @endif binutils
54801 @if fixincludes
54802 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
54803 mkdir stageautoprofile-fixincludes; \
54804 mv stageautoprofile-fixincludes fixincludes; \
54805 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54806 @endif fixincludes
54807 @if gas
54808 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
54809 mkdir stageautoprofile-gas; \
54810 mv stageautoprofile-gas gas; \
54811 mv stage1-gas prev-gas || test -f stage1-lean
54812 @endif gas
54813 @if gcc
54814 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
54815 mkdir stageautoprofile-gcc; \
54816 mv stageautoprofile-gcc gcc; \
54817 mv stage1-gcc prev-gcc || test -f stage1-lean
54818 @endif gcc
54819 @if gmp
54820 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
54821 mkdir stageautoprofile-gmp; \
54822 mv stageautoprofile-gmp gmp; \
54823 mv stage1-gmp prev-gmp || test -f stage1-lean
54824 @endif gmp
54825 @if mpfr
54826 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
54827 mkdir stageautoprofile-mpfr; \
54828 mv stageautoprofile-mpfr mpfr; \
54829 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54830 @endif mpfr
54831 @if mpc
54832 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
54833 mkdir stageautoprofile-mpc; \
54834 mv stageautoprofile-mpc mpc; \
54835 mv stage1-mpc prev-mpc || test -f stage1-lean
54836 @endif mpc
54837 @if isl
54838 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
54839 mkdir stageautoprofile-isl; \
54840 mv stageautoprofile-isl isl; \
54841 mv stage1-isl prev-isl || test -f stage1-lean
54842 @endif isl
54843 @if libelf
54844 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
54845 mkdir stageautoprofile-libelf; \
54846 mv stageautoprofile-libelf libelf; \
54847 mv stage1-libelf prev-libelf || test -f stage1-lean
54848 @endif libelf
54849 @if gold
54850 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
54851 mkdir stageautoprofile-gold; \
54852 mv stageautoprofile-gold gold; \
54853 mv stage1-gold prev-gold || test -f stage1-lean
54854 @endif gold
54855 @if intl
54856 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
54857 mkdir stageautoprofile-intl; \
54858 mv stageautoprofile-intl intl; \
54859 mv stage1-intl prev-intl || test -f stage1-lean
54860 @endif intl
54861 @if ld
54862 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
54863 mkdir stageautoprofile-ld; \
54864 mv stageautoprofile-ld ld; \
54865 mv stage1-ld prev-ld || test -f stage1-lean
54866 @endif ld
54867 @if libbacktrace
54868 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
54869 mkdir stageautoprofile-libbacktrace; \
54870 mv stageautoprofile-libbacktrace libbacktrace; \
54871 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54872 @endif libbacktrace
54873 @if libcpp
54874 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
54875 mkdir stageautoprofile-libcpp; \
54876 mv stageautoprofile-libcpp libcpp; \
54877 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54878 @endif libcpp
54879 @if libdecnumber
54880 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
54881 mkdir stageautoprofile-libdecnumber; \
54882 mv stageautoprofile-libdecnumber libdecnumber; \
54883 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54884 @endif libdecnumber
54885 @if libiberty
54886 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
54887 mkdir stageautoprofile-libiberty; \
54888 mv stageautoprofile-libiberty libiberty; \
54889 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54890 @endif libiberty
54891 @if libiberty-linker-plugin
54892 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
54893 mkdir stageautoprofile-libiberty-linker-plugin; \
54894 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
54895 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54896 @endif libiberty-linker-plugin
54897 @if libiconv
54898 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
54899 mkdir stageautoprofile-libiconv; \
54900 mv stageautoprofile-libiconv libiconv; \
54901 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54902 @endif libiconv
54903 @if zlib
54904 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
54905 mkdir stageautoprofile-zlib; \
54906 mv stageautoprofile-zlib zlib; \
54907 mv stage1-zlib prev-zlib || test -f stage1-lean
54908 @endif zlib
54909 @if lto-plugin
54910 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
54911 mkdir stageautoprofile-lto-plugin; \
54912 mv stageautoprofile-lto-plugin lto-plugin; \
54913 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54914 @endif lto-plugin
54915 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
54916 mkdir stageautoprofile-$(TARGET_SUBDIR); \
54917 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54918 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54920 stageautoprofile-end::
54921 @if bfd
54922 @if test -d $(HOST_SUBDIR)/bfd; then \
54923 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
54924 mv prev-bfd stage1-bfd; : ; \
54926 @endif bfd
54927 @if opcodes
54928 @if test -d $(HOST_SUBDIR)/opcodes; then \
54929 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
54930 mv prev-opcodes stage1-opcodes; : ; \
54932 @endif opcodes
54933 @if binutils
54934 @if test -d $(HOST_SUBDIR)/binutils; then \
54935 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
54936 mv prev-binutils stage1-binutils; : ; \
54938 @endif binutils
54939 @if fixincludes
54940 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54941 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
54942 mv prev-fixincludes stage1-fixincludes; : ; \
54944 @endif fixincludes
54945 @if gas
54946 @if test -d $(HOST_SUBDIR)/gas; then \
54947 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
54948 mv prev-gas stage1-gas; : ; \
54950 @endif gas
54951 @if gcc
54952 @if test -d $(HOST_SUBDIR)/gcc; then \
54953 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
54954 mv prev-gcc stage1-gcc; : ; \
54956 @endif gcc
54957 @if gmp
54958 @if test -d $(HOST_SUBDIR)/gmp; then \
54959 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
54960 mv prev-gmp stage1-gmp; : ; \
54962 @endif gmp
54963 @if mpfr
54964 @if test -d $(HOST_SUBDIR)/mpfr; then \
54965 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
54966 mv prev-mpfr stage1-mpfr; : ; \
54968 @endif mpfr
54969 @if mpc
54970 @if test -d $(HOST_SUBDIR)/mpc; then \
54971 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
54972 mv prev-mpc stage1-mpc; : ; \
54974 @endif mpc
54975 @if isl
54976 @if test -d $(HOST_SUBDIR)/isl; then \
54977 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
54978 mv prev-isl stage1-isl; : ; \
54980 @endif isl
54981 @if libelf
54982 @if test -d $(HOST_SUBDIR)/libelf; then \
54983 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
54984 mv prev-libelf stage1-libelf; : ; \
54986 @endif libelf
54987 @if gold
54988 @if test -d $(HOST_SUBDIR)/gold; then \
54989 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
54990 mv prev-gold stage1-gold; : ; \
54992 @endif gold
54993 @if intl
54994 @if test -d $(HOST_SUBDIR)/intl; then \
54995 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
54996 mv prev-intl stage1-intl; : ; \
54998 @endif intl
54999 @if ld
55000 @if test -d $(HOST_SUBDIR)/ld; then \
55001 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
55002 mv prev-ld stage1-ld; : ; \
55004 @endif ld
55005 @if libbacktrace
55006 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55007 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
55008 mv prev-libbacktrace stage1-libbacktrace; : ; \
55010 @endif libbacktrace
55011 @if libcpp
55012 @if test -d $(HOST_SUBDIR)/libcpp; then \
55013 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
55014 mv prev-libcpp stage1-libcpp; : ; \
55016 @endif libcpp
55017 @if libdecnumber
55018 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55019 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
55020 mv prev-libdecnumber stage1-libdecnumber; : ; \
55022 @endif libdecnumber
55023 @if libiberty
55024 @if test -d $(HOST_SUBDIR)/libiberty; then \
55025 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
55026 mv prev-libiberty stage1-libiberty; : ; \
55028 @endif libiberty
55029 @if libiberty-linker-plugin
55030 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55031 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
55032 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55034 @endif libiberty-linker-plugin
55035 @if libiconv
55036 @if test -d $(HOST_SUBDIR)/libiconv; then \
55037 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
55038 mv prev-libiconv stage1-libiconv; : ; \
55040 @endif libiconv
55041 @if zlib
55042 @if test -d $(HOST_SUBDIR)/zlib; then \
55043 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
55044 mv prev-zlib stage1-zlib; : ; \
55046 @endif zlib
55047 @if lto-plugin
55048 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55049 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
55050 mv prev-lto-plugin stage1-lto-plugin; : ; \
55052 @endif lto-plugin
55053 @if test -d $(TARGET_SUBDIR); then \
55054 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
55055 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55057 rm -f stage_current
55059 # Bubble a bug fix through all the stages up to stage autoprofile. They are
55060 # remade, but not reconfigured. The next stage (if any) will not be
55061 # reconfigured either.
55062 .PHONY: stageautoprofile-bubble
55063 stageautoprofile-bubble:: stage1-bubble
55064 @r=`${PWD_COMMAND}`; export r; \
55065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55066 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
55067 echo Skipping rebuild of stageautoprofile; \
55068 else \
55069 $(MAKE) stageautoprofile-start; \
55070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
55073 .PHONY: all-stageautoprofile clean-stageautoprofile
55074 do-clean: clean-stageautoprofile
55076 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55077 # only possibility, but now it conflicts with no-bootstrap rules
55078 @if gcc-bootstrap
55083 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55084 distclean-stage1:: distclean-stageautoprofile
55085 .PHONY: distclean-stageautoprofile
55086 distclean-stageautoprofile::
55087 @: $(MAKE); $(stage)
55088 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
55089 rm -rf stageautoprofile-*
55092 @endif gcc-bootstrap
55095 .PHONY: stageautofeedback-start stageautofeedback-end
55097 stageautofeedback-start::
55098 @: $(MAKE); $(stage); \
55099 echo stageautofeedback > stage_current; \
55100 echo stageautofeedback > stage_last; \
55101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55102 @if bfd
55103 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
55104 mkdir stageautofeedback-bfd; \
55105 mv stageautofeedback-bfd bfd; \
55106 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
55107 @endif bfd
55108 @if opcodes
55109 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
55110 mkdir stageautofeedback-opcodes; \
55111 mv stageautofeedback-opcodes opcodes; \
55112 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
55113 @endif opcodes
55114 @if binutils
55115 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
55116 mkdir stageautofeedback-binutils; \
55117 mv stageautofeedback-binutils binutils; \
55118 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
55119 @endif binutils
55120 @if fixincludes
55121 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
55122 mkdir stageautofeedback-fixincludes; \
55123 mv stageautofeedback-fixincludes fixincludes; \
55124 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
55125 @endif fixincludes
55126 @if gas
55127 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
55128 mkdir stageautofeedback-gas; \
55129 mv stageautofeedback-gas gas; \
55130 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
55131 @endif gas
55132 @if gcc
55133 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
55134 mkdir stageautofeedback-gcc; \
55135 mv stageautofeedback-gcc gcc; \
55136 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
55137 @endif gcc
55138 @if gmp
55139 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
55140 mkdir stageautofeedback-gmp; \
55141 mv stageautofeedback-gmp gmp; \
55142 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
55143 @endif gmp
55144 @if mpfr
55145 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
55146 mkdir stageautofeedback-mpfr; \
55147 mv stageautofeedback-mpfr mpfr; \
55148 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
55149 @endif mpfr
55150 @if mpc
55151 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
55152 mkdir stageautofeedback-mpc; \
55153 mv stageautofeedback-mpc mpc; \
55154 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
55155 @endif mpc
55156 @if isl
55157 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
55158 mkdir stageautofeedback-isl; \
55159 mv stageautofeedback-isl isl; \
55160 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
55161 @endif isl
55162 @if libelf
55163 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
55164 mkdir stageautofeedback-libelf; \
55165 mv stageautofeedback-libelf libelf; \
55166 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
55167 @endif libelf
55168 @if gold
55169 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
55170 mkdir stageautofeedback-gold; \
55171 mv stageautofeedback-gold gold; \
55172 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
55173 @endif gold
55174 @if intl
55175 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
55176 mkdir stageautofeedback-intl; \
55177 mv stageautofeedback-intl intl; \
55178 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
55179 @endif intl
55180 @if ld
55181 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
55182 mkdir stageautofeedback-ld; \
55183 mv stageautofeedback-ld ld; \
55184 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
55185 @endif ld
55186 @if libbacktrace
55187 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
55188 mkdir stageautofeedback-libbacktrace; \
55189 mv stageautofeedback-libbacktrace libbacktrace; \
55190 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
55191 @endif libbacktrace
55192 @if libcpp
55193 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
55194 mkdir stageautofeedback-libcpp; \
55195 mv stageautofeedback-libcpp libcpp; \
55196 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
55197 @endif libcpp
55198 @if libdecnumber
55199 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
55200 mkdir stageautofeedback-libdecnumber; \
55201 mv stageautofeedback-libdecnumber libdecnumber; \
55202 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
55203 @endif libdecnumber
55204 @if libiberty
55205 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
55206 mkdir stageautofeedback-libiberty; \
55207 mv stageautofeedback-libiberty libiberty; \
55208 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
55209 @endif libiberty
55210 @if libiberty-linker-plugin
55211 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
55212 mkdir stageautofeedback-libiberty-linker-plugin; \
55213 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
55214 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
55215 @endif libiberty-linker-plugin
55216 @if libiconv
55217 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
55218 mkdir stageautofeedback-libiconv; \
55219 mv stageautofeedback-libiconv libiconv; \
55220 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
55221 @endif libiconv
55222 @if zlib
55223 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
55224 mkdir stageautofeedback-zlib; \
55225 mv stageautofeedback-zlib zlib; \
55226 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
55227 @endif zlib
55228 @if lto-plugin
55229 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
55230 mkdir stageautofeedback-lto-plugin; \
55231 mv stageautofeedback-lto-plugin lto-plugin; \
55232 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
55233 @endif lto-plugin
55234 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
55235 mkdir stageautofeedback-$(TARGET_SUBDIR); \
55236 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55237 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
55239 stageautofeedback-end::
55240 @if bfd
55241 @if test -d $(HOST_SUBDIR)/bfd; then \
55242 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
55243 mv prev-bfd stageautoprofile-bfd; : ; \
55245 @endif bfd
55246 @if opcodes
55247 @if test -d $(HOST_SUBDIR)/opcodes; then \
55248 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
55249 mv prev-opcodes stageautoprofile-opcodes; : ; \
55251 @endif opcodes
55252 @if binutils
55253 @if test -d $(HOST_SUBDIR)/binutils; then \
55254 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
55255 mv prev-binutils stageautoprofile-binutils; : ; \
55257 @endif binutils
55258 @if fixincludes
55259 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55260 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
55261 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
55263 @endif fixincludes
55264 @if gas
55265 @if test -d $(HOST_SUBDIR)/gas; then \
55266 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
55267 mv prev-gas stageautoprofile-gas; : ; \
55269 @endif gas
55270 @if gcc
55271 @if test -d $(HOST_SUBDIR)/gcc; then \
55272 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
55273 mv prev-gcc stageautoprofile-gcc; : ; \
55275 @endif gcc
55276 @if gmp
55277 @if test -d $(HOST_SUBDIR)/gmp; then \
55278 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
55279 mv prev-gmp stageautoprofile-gmp; : ; \
55281 @endif gmp
55282 @if mpfr
55283 @if test -d $(HOST_SUBDIR)/mpfr; then \
55284 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
55285 mv prev-mpfr stageautoprofile-mpfr; : ; \
55287 @endif mpfr
55288 @if mpc
55289 @if test -d $(HOST_SUBDIR)/mpc; then \
55290 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
55291 mv prev-mpc stageautoprofile-mpc; : ; \
55293 @endif mpc
55294 @if isl
55295 @if test -d $(HOST_SUBDIR)/isl; then \
55296 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
55297 mv prev-isl stageautoprofile-isl; : ; \
55299 @endif isl
55300 @if libelf
55301 @if test -d $(HOST_SUBDIR)/libelf; then \
55302 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
55303 mv prev-libelf stageautoprofile-libelf; : ; \
55305 @endif libelf
55306 @if gold
55307 @if test -d $(HOST_SUBDIR)/gold; then \
55308 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
55309 mv prev-gold stageautoprofile-gold; : ; \
55311 @endif gold
55312 @if intl
55313 @if test -d $(HOST_SUBDIR)/intl; then \
55314 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
55315 mv prev-intl stageautoprofile-intl; : ; \
55317 @endif intl
55318 @if ld
55319 @if test -d $(HOST_SUBDIR)/ld; then \
55320 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
55321 mv prev-ld stageautoprofile-ld; : ; \
55323 @endif ld
55324 @if libbacktrace
55325 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55326 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
55327 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
55329 @endif libbacktrace
55330 @if libcpp
55331 @if test -d $(HOST_SUBDIR)/libcpp; then \
55332 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
55333 mv prev-libcpp stageautoprofile-libcpp; : ; \
55335 @endif libcpp
55336 @if libdecnumber
55337 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55338 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
55339 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
55341 @endif libdecnumber
55342 @if libiberty
55343 @if test -d $(HOST_SUBDIR)/libiberty; then \
55344 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
55345 mv prev-libiberty stageautoprofile-libiberty; : ; \
55347 @endif libiberty
55348 @if libiberty-linker-plugin
55349 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55350 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
55351 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
55353 @endif libiberty-linker-plugin
55354 @if libiconv
55355 @if test -d $(HOST_SUBDIR)/libiconv; then \
55356 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
55357 mv prev-libiconv stageautoprofile-libiconv; : ; \
55359 @endif libiconv
55360 @if zlib
55361 @if test -d $(HOST_SUBDIR)/zlib; then \
55362 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
55363 mv prev-zlib stageautoprofile-zlib; : ; \
55365 @endif zlib
55366 @if lto-plugin
55367 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55368 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
55369 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
55371 @endif lto-plugin
55372 @if test -d $(TARGET_SUBDIR); then \
55373 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
55374 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
55376 rm -f stage_current
55378 # Bubble a bug fix through all the stages up to stage autofeedback. They are
55379 # remade, but not reconfigured. The next stage (if any) will not be
55380 # reconfigured either.
55381 .PHONY: stageautofeedback-bubble
55382 stageautofeedback-bubble:: stageautoprofile-bubble
55383 @r=`${PWD_COMMAND}`; export r; \
55384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55385 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
55386 echo Skipping rebuild of stageautofeedback; \
55387 else \
55388 $(MAKE) stageautofeedback-start; \
55389 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
55392 .PHONY: all-stageautofeedback clean-stageautofeedback
55393 do-clean: clean-stageautofeedback
55395 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55396 # only possibility, but now it conflicts with no-bootstrap rules
55397 @if gcc-bootstrap
55401 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
55402 autoprofiledbootstrap:
55403 echo stageautofeedback > stage_final
55404 @r=`${PWD_COMMAND}`; export r; \
55405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55406 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
55407 @: $(MAKE); $(unstage)
55408 @r=`${PWD_COMMAND}`; export r; \
55409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55410 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55411 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55413 autoprofiledbootstrap-lean:
55414 echo stageautofeedback > stage_final
55415 @r=`${PWD_COMMAND}`; export r; \
55416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55417 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
55418 @: $(MAKE); $(unstage)
55419 @r=`${PWD_COMMAND}`; export r; \
55420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55421 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55422 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55425 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55426 distclean-stageautoprofile:: distclean-stageautofeedback
55427 .PHONY: distclean-stageautofeedback
55428 distclean-stageautofeedback::
55429 @: $(MAKE); $(stage)
55430 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
55431 rm -rf stageautofeedback-*
55434 @endif gcc-bootstrap
55438 stageprofile-end::
55439 $(MAKE) distclean-stagefeedback
55441 stagefeedback-start::
55442 @r=`${PWD_COMMAND}`; export r; \
55443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55444 for i in stageprofile-*; do \
55445 j=`echo $$i | sed s/^stageprofile-//`; \
55446 cd $$r/$$i && \
55447 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
55448 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
55449 done
55451 @if gcc-bootstrap
55452 do-distclean: distclean-stage1
55454 # Provide a GCC build when we're building target libraries. This does
55455 # not work as a dependency, just as the minimum necessary to avoid errors.
55456 stage_last:
55457 @r=`${PWD_COMMAND}`; export r; \
55458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55459 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
55461 # Same as unstage, but not phony and defaulting to stage1-start. We place
55462 # it in the dependency so that for example `make -j3 all-gcc' works.
55463 stage_current:
55464 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
55466 .PHONY: restrap
55467 restrap::
55468 @: $(MAKE); $(stage)
55469 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
55470 restrap:: all
55471 @endif gcc-bootstrap
55473 # --------------------------------------
55474 # Dependencies between different modules
55475 # --------------------------------------
55477 # Generic dependencies for target modules on host stuff, especially gcc
55478 @if gcc-bootstrap
55479 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
55480 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
55481 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
55482 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
55483 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
55484 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
55485 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
55486 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
55487 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
55488 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
55489 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
55490 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
55491 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
55492 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
55493 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
55494 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
55495 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
55496 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
55497 configure-stage1-target-libvtv: maybe-all-stage1-gcc
55498 configure-stage2-target-libvtv: maybe-all-stage2-gcc
55499 configure-stage3-target-libvtv: maybe-all-stage3-gcc
55500 configure-stage4-target-libvtv: maybe-all-stage4-gcc
55501 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
55502 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
55503 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
55504 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
55505 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
55506 configure-target-liboffloadmic: stage_last
55507 configure-target-libssp: stage_last
55508 configure-target-newlib: stage_last
55509 configure-stage1-target-libgcc: maybe-all-stage1-gcc
55510 configure-stage2-target-libgcc: maybe-all-stage2-gcc
55511 configure-stage3-target-libgcc: maybe-all-stage3-gcc
55512 configure-stage4-target-libgcc: maybe-all-stage4-gcc
55513 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
55514 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
55515 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
55516 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
55517 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
55518 configure-target-libbacktrace: stage_last
55519 configure-target-libquadmath: stage_last
55520 configure-target-libgfortran: stage_last
55521 configure-target-libobjc: stage_last
55522 configure-target-libgo: stage_last
55523 configure-target-libhsail-rt: stage_last
55524 configure-target-libtermcap: stage_last
55525 configure-target-winsup: stage_last
55526 configure-target-libgloss: stage_last
55527 configure-target-libffi: stage_last
55528 configure-target-zlib: stage_last
55529 configure-target-rda: stage_last
55530 configure-target-libada: stage_last
55531 configure-stage1-target-libgomp: maybe-all-stage1-gcc
55532 configure-stage2-target-libgomp: maybe-all-stage2-gcc
55533 configure-stage3-target-libgomp: maybe-all-stage3-gcc
55534 configure-stage4-target-libgomp: maybe-all-stage4-gcc
55535 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
55536 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
55537 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
55538 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
55539 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
55540 configure-target-libitm: stage_last
55541 configure-target-libatomic: stage_last
55542 @endif gcc-bootstrap
55544 @if gcc-no-bootstrap
55545 configure-target-libstdc++-v3: maybe-all-gcc
55546 configure-target-libsanitizer: maybe-all-gcc
55547 configure-target-libvtv: maybe-all-gcc
55548 configure-target-liboffloadmic: maybe-all-gcc
55549 configure-target-libssp: maybe-all-gcc
55550 configure-target-newlib: maybe-all-gcc
55551 configure-target-libgcc: maybe-all-gcc
55552 configure-target-libbacktrace: maybe-all-gcc
55553 configure-target-libquadmath: maybe-all-gcc
55554 configure-target-libgfortran: maybe-all-gcc
55555 configure-target-libobjc: maybe-all-gcc
55556 configure-target-libgo: maybe-all-gcc
55557 configure-target-libhsail-rt: maybe-all-gcc
55558 configure-target-libtermcap: maybe-all-gcc
55559 configure-target-winsup: maybe-all-gcc
55560 configure-target-libgloss: maybe-all-gcc
55561 configure-target-libffi: maybe-all-gcc
55562 configure-target-zlib: maybe-all-gcc
55563 configure-target-rda: maybe-all-gcc
55564 configure-target-libada: maybe-all-gcc
55565 configure-target-libgomp: maybe-all-gcc
55566 configure-target-libitm: maybe-all-gcc
55567 configure-target-libatomic: maybe-all-gcc
55568 @endif gcc-no-bootstrap
55571 # There are two types of dependencies here: 'hard' dependencies, where one
55572 # module simply won't build without the other; and 'soft' dependencies, where
55573 # if the depended-on module is missing, the depending module will do without
55574 # or find a substitute somewhere (perhaps installed). Soft dependencies
55575 # are made here to depend on a 'maybe-' target. If you're not sure,
55576 # it's safer to use a soft dependency.
55583 # With all the machinery above in place, it is pretty easy to generate
55584 # dependencies. Host dependencies are a bit more complex because we have
55585 # to check for bootstrap/prebootstrap dependencies. To resolve
55586 # prebootstrap dependencies, prebootstrap modules are gathered in
55587 # a hash table.
55588 all-build-bison: maybe-all-build-texinfo
55589 all-build-flex: maybe-all-build-texinfo
55590 all-build-flex: maybe-all-build-bison
55591 all-build-flex: maybe-all-build-m4
55592 all-build-libiberty: maybe-all-build-texinfo
55593 all-build-m4: maybe-all-build-texinfo
55594 all-build-fixincludes: maybe-all-build-libiberty
55595 all-build-libcpp: maybe-all-build-libiberty
55596 configure-gcc: maybe-configure-intl
55597 configure-stage1-gcc: maybe-configure-stage1-intl
55598 configure-stage2-gcc: maybe-configure-stage2-intl
55599 configure-stage3-gcc: maybe-configure-stage3-intl
55600 configure-stage4-gcc: maybe-configure-stage4-intl
55601 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
55602 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
55603 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
55604 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
55605 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
55606 configure-gcc: maybe-all-gmp
55607 configure-stage1-gcc: maybe-all-stage1-gmp
55608 configure-stage2-gcc: maybe-all-stage2-gmp
55609 configure-stage3-gcc: maybe-all-stage3-gmp
55610 configure-stage4-gcc: maybe-all-stage4-gmp
55611 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
55612 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
55613 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
55614 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
55615 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
55616 configure-gcc: maybe-all-mpfr
55617 configure-stage1-gcc: maybe-all-stage1-mpfr
55618 configure-stage2-gcc: maybe-all-stage2-mpfr
55619 configure-stage3-gcc: maybe-all-stage3-mpfr
55620 configure-stage4-gcc: maybe-all-stage4-mpfr
55621 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
55622 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
55623 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
55624 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
55625 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
55626 configure-gcc: maybe-all-mpc
55627 configure-stage1-gcc: maybe-all-stage1-mpc
55628 configure-stage2-gcc: maybe-all-stage2-mpc
55629 configure-stage3-gcc: maybe-all-stage3-mpc
55630 configure-stage4-gcc: maybe-all-stage4-mpc
55631 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
55632 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
55633 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
55634 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
55635 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
55636 configure-gcc: maybe-all-isl
55637 configure-stage1-gcc: maybe-all-stage1-isl
55638 configure-stage2-gcc: maybe-all-stage2-isl
55639 configure-stage3-gcc: maybe-all-stage3-isl
55640 configure-stage4-gcc: maybe-all-stage4-isl
55641 configure-stageprofile-gcc: maybe-all-stageprofile-isl
55642 configure-stagetrain-gcc: maybe-all-stagetrain-isl
55643 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
55644 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
55645 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
55646 configure-gcc: maybe-all-lto-plugin
55647 configure-stage1-gcc: maybe-all-stage1-lto-plugin
55648 configure-stage2-gcc: maybe-all-stage2-lto-plugin
55649 configure-stage3-gcc: maybe-all-stage3-lto-plugin
55650 configure-stage4-gcc: maybe-all-stage4-lto-plugin
55651 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
55652 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
55653 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
55654 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
55655 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
55656 configure-gcc: maybe-all-binutils
55657 configure-stage1-gcc: maybe-all-stage1-binutils
55658 configure-stage2-gcc: maybe-all-stage2-binutils
55659 configure-stage3-gcc: maybe-all-stage3-binutils
55660 configure-stage4-gcc: maybe-all-stage4-binutils
55661 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
55662 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
55663 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
55664 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
55665 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
55666 configure-gcc: maybe-all-gas
55667 configure-stage1-gcc: maybe-all-stage1-gas
55668 configure-stage2-gcc: maybe-all-stage2-gas
55669 configure-stage3-gcc: maybe-all-stage3-gas
55670 configure-stage4-gcc: maybe-all-stage4-gas
55671 configure-stageprofile-gcc: maybe-all-stageprofile-gas
55672 configure-stagetrain-gcc: maybe-all-stagetrain-gas
55673 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
55674 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
55675 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
55676 configure-gcc: maybe-all-ld
55677 configure-stage1-gcc: maybe-all-stage1-ld
55678 configure-stage2-gcc: maybe-all-stage2-ld
55679 configure-stage3-gcc: maybe-all-stage3-ld
55680 configure-stage4-gcc: maybe-all-stage4-ld
55681 configure-stageprofile-gcc: maybe-all-stageprofile-ld
55682 configure-stagetrain-gcc: maybe-all-stagetrain-ld
55683 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
55684 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
55685 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
55686 configure-gcc: maybe-all-gold
55687 configure-stage1-gcc: maybe-all-stage1-gold
55688 configure-stage2-gcc: maybe-all-stage2-gold
55689 configure-stage3-gcc: maybe-all-stage3-gold
55690 configure-stage4-gcc: maybe-all-stage4-gold
55691 configure-stageprofile-gcc: maybe-all-stageprofile-gold
55692 configure-stagetrain-gcc: maybe-all-stagetrain-gold
55693 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
55694 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
55695 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
55696 configure-gcc: maybe-all-libelf
55697 configure-stage1-gcc: maybe-all-stage1-libelf
55698 configure-stage2-gcc: maybe-all-stage2-libelf
55699 configure-stage3-gcc: maybe-all-stage3-libelf
55700 configure-stage4-gcc: maybe-all-stage4-libelf
55701 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
55702 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
55703 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
55704 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
55705 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
55706 configure-gcc: maybe-all-libiconv
55707 configure-stage1-gcc: maybe-all-stage1-libiconv
55708 configure-stage2-gcc: maybe-all-stage2-libiconv
55709 configure-stage3-gcc: maybe-all-stage3-libiconv
55710 configure-stage4-gcc: maybe-all-stage4-libiconv
55711 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
55712 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
55713 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
55714 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
55715 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
55716 all-gcc: all-libiberty
55717 all-stage1-gcc: all-stage1-libiberty
55718 all-stage2-gcc: all-stage2-libiberty
55719 all-stage3-gcc: all-stage3-libiberty
55720 all-stage4-gcc: all-stage4-libiberty
55721 all-stageprofile-gcc: all-stageprofile-libiberty
55722 all-stagetrain-gcc: all-stagetrain-libiberty
55723 all-stagefeedback-gcc: all-stagefeedback-libiberty
55724 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
55725 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
55726 all-gcc: maybe-all-intl
55727 all-stage1-gcc: maybe-all-stage1-intl
55728 all-stage2-gcc: maybe-all-stage2-intl
55729 all-stage3-gcc: maybe-all-stage3-intl
55730 all-stage4-gcc: maybe-all-stage4-intl
55731 all-stageprofile-gcc: maybe-all-stageprofile-intl
55732 all-stagetrain-gcc: maybe-all-stagetrain-intl
55733 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
55734 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
55735 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
55736 all-gcc: maybe-all-mpfr
55737 all-stage1-gcc: maybe-all-stage1-mpfr
55738 all-stage2-gcc: maybe-all-stage2-mpfr
55739 all-stage3-gcc: maybe-all-stage3-mpfr
55740 all-stage4-gcc: maybe-all-stage4-mpfr
55741 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
55742 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
55743 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
55744 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
55745 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
55746 all-gcc: maybe-all-mpc
55747 all-stage1-gcc: maybe-all-stage1-mpc
55748 all-stage2-gcc: maybe-all-stage2-mpc
55749 all-stage3-gcc: maybe-all-stage3-mpc
55750 all-stage4-gcc: maybe-all-stage4-mpc
55751 all-stageprofile-gcc: maybe-all-stageprofile-mpc
55752 all-stagetrain-gcc: maybe-all-stagetrain-mpc
55753 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
55754 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
55755 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
55756 all-gcc: maybe-all-isl
55757 all-stage1-gcc: maybe-all-stage1-isl
55758 all-stage2-gcc: maybe-all-stage2-isl
55759 all-stage3-gcc: maybe-all-stage3-isl
55760 all-stage4-gcc: maybe-all-stage4-isl
55761 all-stageprofile-gcc: maybe-all-stageprofile-isl
55762 all-stagetrain-gcc: maybe-all-stagetrain-isl
55763 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
55764 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
55765 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
55766 all-gcc: maybe-all-build-texinfo
55767 all-stage1-gcc: maybe-all-build-texinfo
55768 all-stage2-gcc: maybe-all-build-texinfo
55769 all-stage3-gcc: maybe-all-build-texinfo
55770 all-stage4-gcc: maybe-all-build-texinfo
55771 all-stageprofile-gcc: maybe-all-build-texinfo
55772 all-stagetrain-gcc: maybe-all-build-texinfo
55773 all-stagefeedback-gcc: maybe-all-build-texinfo
55774 all-stageautoprofile-gcc: maybe-all-build-texinfo
55775 all-stageautofeedback-gcc: maybe-all-build-texinfo
55776 all-gcc: maybe-all-build-bison
55777 all-stage1-gcc: maybe-all-build-bison
55778 all-stage2-gcc: maybe-all-build-bison
55779 all-stage3-gcc: maybe-all-build-bison
55780 all-stage4-gcc: maybe-all-build-bison
55781 all-stageprofile-gcc: maybe-all-build-bison
55782 all-stagetrain-gcc: maybe-all-build-bison
55783 all-stagefeedback-gcc: maybe-all-build-bison
55784 all-stageautoprofile-gcc: maybe-all-build-bison
55785 all-stageautofeedback-gcc: maybe-all-build-bison
55786 all-gcc: maybe-all-build-flex
55787 all-stage1-gcc: maybe-all-build-flex
55788 all-stage2-gcc: maybe-all-build-flex
55789 all-stage3-gcc: maybe-all-build-flex
55790 all-stage4-gcc: maybe-all-build-flex
55791 all-stageprofile-gcc: maybe-all-build-flex
55792 all-stagetrain-gcc: maybe-all-build-flex
55793 all-stagefeedback-gcc: maybe-all-build-flex
55794 all-stageautoprofile-gcc: maybe-all-build-flex
55795 all-stageautofeedback-gcc: maybe-all-build-flex
55796 all-gcc: maybe-all-build-libiberty
55797 all-stage1-gcc: maybe-all-build-libiberty
55798 all-stage2-gcc: maybe-all-build-libiberty
55799 all-stage3-gcc: maybe-all-build-libiberty
55800 all-stage4-gcc: maybe-all-build-libiberty
55801 all-stageprofile-gcc: maybe-all-build-libiberty
55802 all-stagetrain-gcc: maybe-all-build-libiberty
55803 all-stagefeedback-gcc: maybe-all-build-libiberty
55804 all-stageautoprofile-gcc: maybe-all-build-libiberty
55805 all-stageautofeedback-gcc: maybe-all-build-libiberty
55806 all-gcc: maybe-all-build-fixincludes
55807 all-stage1-gcc: maybe-all-build-fixincludes
55808 all-stage2-gcc: maybe-all-build-fixincludes
55809 all-stage3-gcc: maybe-all-build-fixincludes
55810 all-stage4-gcc: maybe-all-build-fixincludes
55811 all-stageprofile-gcc: maybe-all-build-fixincludes
55812 all-stagetrain-gcc: maybe-all-build-fixincludes
55813 all-stagefeedback-gcc: maybe-all-build-fixincludes
55814 all-stageautoprofile-gcc: maybe-all-build-fixincludes
55815 all-stageautofeedback-gcc: maybe-all-build-fixincludes
55816 all-gcc: maybe-all-build-libcpp
55817 all-stage1-gcc: maybe-all-build-libcpp
55818 all-stage2-gcc: maybe-all-build-libcpp
55819 all-stage3-gcc: maybe-all-build-libcpp
55820 all-stage4-gcc: maybe-all-build-libcpp
55821 all-stageprofile-gcc: maybe-all-build-libcpp
55822 all-stagetrain-gcc: maybe-all-build-libcpp
55823 all-stagefeedback-gcc: maybe-all-build-libcpp
55824 all-stageautoprofile-gcc: maybe-all-build-libcpp
55825 all-stageautofeedback-gcc: maybe-all-build-libcpp
55826 all-gcc: maybe-all-zlib
55827 all-stage1-gcc: maybe-all-stage1-zlib
55828 all-stage2-gcc: maybe-all-stage2-zlib
55829 all-stage3-gcc: maybe-all-stage3-zlib
55830 all-stage4-gcc: maybe-all-stage4-zlib
55831 all-stageprofile-gcc: maybe-all-stageprofile-zlib
55832 all-stagetrain-gcc: maybe-all-stagetrain-zlib
55833 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
55834 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
55835 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
55836 all-gcc: all-libbacktrace
55837 all-stage1-gcc: all-stage1-libbacktrace
55838 all-stage2-gcc: all-stage2-libbacktrace
55839 all-stage3-gcc: all-stage3-libbacktrace
55840 all-stage4-gcc: all-stage4-libbacktrace
55841 all-stageprofile-gcc: all-stageprofile-libbacktrace
55842 all-stagetrain-gcc: all-stagetrain-libbacktrace
55843 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
55844 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
55845 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
55846 all-gcc: all-libcpp
55847 all-stage1-gcc: all-stage1-libcpp
55848 all-stage2-gcc: all-stage2-libcpp
55849 all-stage3-gcc: all-stage3-libcpp
55850 all-stage4-gcc: all-stage4-libcpp
55851 all-stageprofile-gcc: all-stageprofile-libcpp
55852 all-stagetrain-gcc: all-stagetrain-libcpp
55853 all-stagefeedback-gcc: all-stagefeedback-libcpp
55854 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
55855 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
55856 all-gcc: all-libdecnumber
55857 all-stage1-gcc: all-stage1-libdecnumber
55858 all-stage2-gcc: all-stage2-libdecnumber
55859 all-stage3-gcc: all-stage3-libdecnumber
55860 all-stage4-gcc: all-stage4-libdecnumber
55861 all-stageprofile-gcc: all-stageprofile-libdecnumber
55862 all-stagetrain-gcc: all-stagetrain-libdecnumber
55863 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
55864 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
55865 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
55866 all-gcc: maybe-all-libiberty
55867 all-stage1-gcc: maybe-all-stage1-libiberty
55868 all-stage2-gcc: maybe-all-stage2-libiberty
55869 all-stage3-gcc: maybe-all-stage3-libiberty
55870 all-stage4-gcc: maybe-all-stage4-libiberty
55871 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
55872 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
55873 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
55874 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
55875 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
55876 all-gcc: maybe-all-fixincludes
55877 all-stage1-gcc: maybe-all-stage1-fixincludes
55878 all-stage2-gcc: maybe-all-stage2-fixincludes
55879 all-stage3-gcc: maybe-all-stage3-fixincludes
55880 all-stage4-gcc: maybe-all-stage4-fixincludes
55881 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
55882 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
55883 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
55884 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
55885 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
55886 all-gcc: maybe-all-lto-plugin
55887 all-stage1-gcc: maybe-all-stage1-lto-plugin
55888 all-stage2-gcc: maybe-all-stage2-lto-plugin
55889 all-stage3-gcc: maybe-all-stage3-lto-plugin
55890 all-stage4-gcc: maybe-all-stage4-lto-plugin
55891 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
55892 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
55893 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
55894 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
55895 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
55896 all-gcc: maybe-all-libiconv
55897 all-stage1-gcc: maybe-all-stage1-libiconv
55898 all-stage2-gcc: maybe-all-stage2-libiconv
55899 all-stage3-gcc: maybe-all-stage3-libiconv
55900 all-stage4-gcc: maybe-all-stage4-libiconv
55901 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
55902 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
55903 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
55904 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
55905 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
55906 info-gcc: maybe-all-build-libiberty
55907 info-stage1-gcc: maybe-all-build-libiberty
55908 info-stage2-gcc: maybe-all-build-libiberty
55909 info-stage3-gcc: maybe-all-build-libiberty
55910 info-stage4-gcc: maybe-all-build-libiberty
55911 info-stageprofile-gcc: maybe-all-build-libiberty
55912 info-stagetrain-gcc: maybe-all-build-libiberty
55913 info-stagefeedback-gcc: maybe-all-build-libiberty
55914 info-stageautoprofile-gcc: maybe-all-build-libiberty
55915 info-stageautofeedback-gcc: maybe-all-build-libiberty
55916 dvi-gcc: maybe-all-build-libiberty
55917 dvi-stage1-gcc: maybe-all-build-libiberty
55918 dvi-stage2-gcc: maybe-all-build-libiberty
55919 dvi-stage3-gcc: maybe-all-build-libiberty
55920 dvi-stage4-gcc: maybe-all-build-libiberty
55921 dvi-stageprofile-gcc: maybe-all-build-libiberty
55922 dvi-stagetrain-gcc: maybe-all-build-libiberty
55923 dvi-stagefeedback-gcc: maybe-all-build-libiberty
55924 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
55925 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
55926 pdf-gcc: maybe-all-build-libiberty
55927 pdf-stage1-gcc: maybe-all-build-libiberty
55928 pdf-stage2-gcc: maybe-all-build-libiberty
55929 pdf-stage3-gcc: maybe-all-build-libiberty
55930 pdf-stage4-gcc: maybe-all-build-libiberty
55931 pdf-stageprofile-gcc: maybe-all-build-libiberty
55932 pdf-stagetrain-gcc: maybe-all-build-libiberty
55933 pdf-stagefeedback-gcc: maybe-all-build-libiberty
55934 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
55935 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
55936 html-gcc: maybe-all-build-libiberty
55937 html-stage1-gcc: maybe-all-build-libiberty
55938 html-stage2-gcc: maybe-all-build-libiberty
55939 html-stage3-gcc: maybe-all-build-libiberty
55940 html-stage4-gcc: maybe-all-build-libiberty
55941 html-stageprofile-gcc: maybe-all-build-libiberty
55942 html-stagetrain-gcc: maybe-all-build-libiberty
55943 html-stagefeedback-gcc: maybe-all-build-libiberty
55944 html-stageautoprofile-gcc: maybe-all-build-libiberty
55945 html-stageautofeedback-gcc: maybe-all-build-libiberty
55946 install-gcc: maybe-install-fixincludes
55947 install-gcc: maybe-install-lto-plugin
55948 install-strip-gcc: maybe-install-strip-fixincludes
55949 install-strip-gcc: maybe-install-strip-lto-plugin
55950 configure-libcpp: configure-libiberty
55951 configure-stage1-libcpp: configure-stage1-libiberty
55952 configure-stage2-libcpp: configure-stage2-libiberty
55953 configure-stage3-libcpp: configure-stage3-libiberty
55954 configure-stage4-libcpp: configure-stage4-libiberty
55955 configure-stageprofile-libcpp: configure-stageprofile-libiberty
55956 configure-stagetrain-libcpp: configure-stagetrain-libiberty
55957 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
55958 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
55959 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
55960 configure-libcpp: maybe-configure-intl
55961 configure-stage1-libcpp: maybe-configure-stage1-intl
55962 configure-stage2-libcpp: maybe-configure-stage2-intl
55963 configure-stage3-libcpp: maybe-configure-stage3-intl
55964 configure-stage4-libcpp: maybe-configure-stage4-intl
55965 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
55966 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
55967 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
55968 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
55969 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
55970 configure-libcpp: maybe-all-libiconv
55971 configure-stage1-libcpp: maybe-all-stage1-libiconv
55972 configure-stage2-libcpp: maybe-all-stage2-libiconv
55973 configure-stage3-libcpp: maybe-all-stage3-libiconv
55974 configure-stage4-libcpp: maybe-all-stage4-libiconv
55975 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
55976 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
55977 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
55978 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
55979 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
55980 all-libcpp: all-libiberty
55981 all-stage1-libcpp: all-stage1-libiberty
55982 all-stage2-libcpp: all-stage2-libiberty
55983 all-stage3-libcpp: all-stage3-libiberty
55984 all-stage4-libcpp: all-stage4-libiberty
55985 all-stageprofile-libcpp: all-stageprofile-libiberty
55986 all-stagetrain-libcpp: all-stagetrain-libiberty
55987 all-stagefeedback-libcpp: all-stagefeedback-libiberty
55988 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
55989 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
55990 all-libcpp: maybe-all-intl
55991 all-stage1-libcpp: maybe-all-stage1-intl
55992 all-stage2-libcpp: maybe-all-stage2-intl
55993 all-stage3-libcpp: maybe-all-stage3-intl
55994 all-stage4-libcpp: maybe-all-stage4-intl
55995 all-stageprofile-libcpp: maybe-all-stageprofile-intl
55996 all-stagetrain-libcpp: maybe-all-stagetrain-intl
55997 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
55998 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
55999 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
56000 all-libcpp: maybe-all-libiconv
56001 all-stage1-libcpp: maybe-all-stage1-libiconv
56002 all-stage2-libcpp: maybe-all-stage2-libiconv
56003 all-stage3-libcpp: maybe-all-stage3-libiconv
56004 all-stage4-libcpp: maybe-all-stage4-libiconv
56005 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
56006 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
56007 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
56008 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
56009 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
56010 all-fixincludes: maybe-all-libiberty
56011 all-stage1-fixincludes: maybe-all-stage1-libiberty
56012 all-stage2-fixincludes: maybe-all-stage2-libiberty
56013 all-stage3-fixincludes: maybe-all-stage3-libiberty
56014 all-stage4-fixincludes: maybe-all-stage4-libiberty
56015 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
56016 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
56017 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
56018 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
56019 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
56020 all-gnattools: maybe-all-target-libada
56021 all-lto-plugin: maybe-all-libiberty
56022 all-stage1-lto-plugin: maybe-all-stage1-libiberty
56023 all-stage2-lto-plugin: maybe-all-stage2-libiberty
56024 all-stage3-lto-plugin: maybe-all-stage3-libiberty
56025 all-stage4-lto-plugin: maybe-all-stage4-libiberty
56026 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
56027 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
56028 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
56029 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
56030 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
56031 all-lto-plugin: maybe-all-libiberty-linker-plugin
56032 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
56033 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
56034 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
56035 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
56036 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
56037 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
56038 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
56039 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
56040 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
56041 all-gotools: maybe-all-target-libgo
56042 configure-intl: maybe-all-libiconv
56043 configure-stage1-intl: maybe-all-stage1-libiconv
56044 configure-stage2-intl: maybe-all-stage2-libiconv
56045 configure-stage3-intl: maybe-all-stage3-libiconv
56046 configure-stage4-intl: maybe-all-stage4-libiconv
56047 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
56048 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
56049 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
56050 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
56051 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
56052 configure-mpfr: maybe-all-gmp
56053 configure-stage1-mpfr: maybe-all-stage1-gmp
56054 configure-stage2-mpfr: maybe-all-stage2-gmp
56055 configure-stage3-mpfr: maybe-all-stage3-gmp
56056 configure-stage4-mpfr: maybe-all-stage4-gmp
56057 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
56058 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
56059 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
56060 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
56061 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
56062 configure-mpc: maybe-all-mpfr
56063 configure-stage1-mpc: maybe-all-stage1-mpfr
56064 configure-stage2-mpc: maybe-all-stage2-mpfr
56065 configure-stage3-mpc: maybe-all-stage3-mpfr
56066 configure-stage4-mpc: maybe-all-stage4-mpfr
56067 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
56068 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
56069 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
56070 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
56071 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
56072 configure-isl: maybe-all-gmp
56073 configure-stage1-isl: maybe-all-stage1-gmp
56074 configure-stage2-isl: maybe-all-stage2-gmp
56075 configure-stage3-isl: maybe-all-stage3-gmp
56076 configure-stage4-isl: maybe-all-stage4-gmp
56077 configure-stageprofile-isl: maybe-all-stageprofile-gmp
56078 configure-stagetrain-isl: maybe-all-stagetrain-gmp
56079 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
56080 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
56081 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
56082 all-intl: maybe-all-libiconv
56083 all-stage1-intl: maybe-all-stage1-libiconv
56084 all-stage2-intl: maybe-all-stage2-libiconv
56085 all-stage3-intl: maybe-all-stage3-libiconv
56086 all-stage4-intl: maybe-all-stage4-libiconv
56087 all-stageprofile-intl: maybe-all-stageprofile-libiconv
56088 all-stagetrain-intl: maybe-all-stagetrain-libiconv
56089 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
56090 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
56091 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
56092 configure-gdb: maybe-configure-sim
56093 all-gdb: maybe-all-readline
56094 all-gdb: maybe-all-build-bison
56095 all-gdb: maybe-all-sim
56096 all-gdb: maybe-all-libtermcap
56097 configure-libgui: maybe-configure-tcl
56098 configure-libgui: maybe-configure-tk
56099 all-libgui: maybe-all-tcl
56100 all-libgui: maybe-all-tk
56101 all-libgui: maybe-all-itcl
56102 configure-bfd: configure-libiberty
56103 configure-stage1-bfd: configure-stage1-libiberty
56104 configure-stage2-bfd: configure-stage2-libiberty
56105 configure-stage3-bfd: configure-stage3-libiberty
56106 configure-stage4-bfd: configure-stage4-libiberty
56107 configure-stageprofile-bfd: configure-stageprofile-libiberty
56108 configure-stagetrain-bfd: configure-stagetrain-libiberty
56109 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
56110 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
56111 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
56112 configure-bfd: maybe-configure-intl
56113 configure-stage1-bfd: maybe-configure-stage1-intl
56114 configure-stage2-bfd: maybe-configure-stage2-intl
56115 configure-stage3-bfd: maybe-configure-stage3-intl
56116 configure-stage4-bfd: maybe-configure-stage4-intl
56117 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
56118 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
56119 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
56120 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
56121 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
56122 all-bfd: maybe-all-libiberty
56123 all-stage1-bfd: maybe-all-stage1-libiberty
56124 all-stage2-bfd: maybe-all-stage2-libiberty
56125 all-stage3-bfd: maybe-all-stage3-libiberty
56126 all-stage4-bfd: maybe-all-stage4-libiberty
56127 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
56128 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
56129 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
56130 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
56131 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
56132 all-bfd: maybe-all-intl
56133 all-stage1-bfd: maybe-all-stage1-intl
56134 all-stage2-bfd: maybe-all-stage2-intl
56135 all-stage3-bfd: maybe-all-stage3-intl
56136 all-stage4-bfd: maybe-all-stage4-intl
56137 all-stageprofile-bfd: maybe-all-stageprofile-intl
56138 all-stagetrain-bfd: maybe-all-stagetrain-intl
56139 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
56140 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
56141 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
56142 all-bfd: maybe-all-zlib
56143 all-stage1-bfd: maybe-all-stage1-zlib
56144 all-stage2-bfd: maybe-all-stage2-zlib
56145 all-stage3-bfd: maybe-all-stage3-zlib
56146 all-stage4-bfd: maybe-all-stage4-zlib
56147 all-stageprofile-bfd: maybe-all-stageprofile-zlib
56148 all-stagetrain-bfd: maybe-all-stagetrain-zlib
56149 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
56150 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
56151 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
56152 configure-opcodes: configure-libiberty
56153 configure-stage1-opcodes: configure-stage1-libiberty
56154 configure-stage2-opcodes: configure-stage2-libiberty
56155 configure-stage3-opcodes: configure-stage3-libiberty
56156 configure-stage4-opcodes: configure-stage4-libiberty
56157 configure-stageprofile-opcodes: configure-stageprofile-libiberty
56158 configure-stagetrain-opcodes: configure-stagetrain-libiberty
56159 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
56160 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
56161 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
56162 all-opcodes: maybe-all-libiberty
56163 all-stage1-opcodes: maybe-all-stage1-libiberty
56164 all-stage2-opcodes: maybe-all-stage2-libiberty
56165 all-stage3-opcodes: maybe-all-stage3-libiberty
56166 all-stage4-opcodes: maybe-all-stage4-libiberty
56167 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
56168 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
56169 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
56170 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
56171 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
56172 configure-binutils: maybe-configure-intl
56173 configure-stage1-binutils: maybe-configure-stage1-intl
56174 configure-stage2-binutils: maybe-configure-stage2-intl
56175 configure-stage3-binutils: maybe-configure-stage3-intl
56176 configure-stage4-binutils: maybe-configure-stage4-intl
56177 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
56178 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
56179 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
56180 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
56181 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
56182 all-binutils: maybe-all-libiberty
56183 all-stage1-binutils: maybe-all-stage1-libiberty
56184 all-stage2-binutils: maybe-all-stage2-libiberty
56185 all-stage3-binutils: maybe-all-stage3-libiberty
56186 all-stage4-binutils: maybe-all-stage4-libiberty
56187 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
56188 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
56189 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
56190 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
56191 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
56192 all-binutils: maybe-all-opcodes
56193 all-stage1-binutils: maybe-all-stage1-opcodes
56194 all-stage2-binutils: maybe-all-stage2-opcodes
56195 all-stage3-binutils: maybe-all-stage3-opcodes
56196 all-stage4-binutils: maybe-all-stage4-opcodes
56197 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
56198 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
56199 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
56200 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
56201 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
56202 all-binutils: maybe-all-bfd
56203 all-stage1-binutils: maybe-all-stage1-bfd
56204 all-stage2-binutils: maybe-all-stage2-bfd
56205 all-stage3-binutils: maybe-all-stage3-bfd
56206 all-stage4-binutils: maybe-all-stage4-bfd
56207 all-stageprofile-binutils: maybe-all-stageprofile-bfd
56208 all-stagetrain-binutils: maybe-all-stagetrain-bfd
56209 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
56210 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
56211 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
56212 all-binutils: maybe-all-build-flex
56213 all-stage1-binutils: maybe-all-build-flex
56214 all-stage2-binutils: maybe-all-build-flex
56215 all-stage3-binutils: maybe-all-build-flex
56216 all-stage4-binutils: maybe-all-build-flex
56217 all-stageprofile-binutils: maybe-all-build-flex
56218 all-stagetrain-binutils: maybe-all-build-flex
56219 all-stagefeedback-binutils: maybe-all-build-flex
56220 all-stageautoprofile-binutils: maybe-all-build-flex
56221 all-stageautofeedback-binutils: maybe-all-build-flex
56222 all-binutils: maybe-all-build-bison
56223 all-stage1-binutils: maybe-all-build-bison
56224 all-stage2-binutils: maybe-all-build-bison
56225 all-stage3-binutils: maybe-all-build-bison
56226 all-stage4-binutils: maybe-all-build-bison
56227 all-stageprofile-binutils: maybe-all-build-bison
56228 all-stagetrain-binutils: maybe-all-build-bison
56229 all-stagefeedback-binutils: maybe-all-build-bison
56230 all-stageautoprofile-binutils: maybe-all-build-bison
56231 all-stageautofeedback-binutils: maybe-all-build-bison
56232 all-binutils: maybe-all-intl
56233 all-stage1-binutils: maybe-all-stage1-intl
56234 all-stage2-binutils: maybe-all-stage2-intl
56235 all-stage3-binutils: maybe-all-stage3-intl
56236 all-stage4-binutils: maybe-all-stage4-intl
56237 all-stageprofile-binutils: maybe-all-stageprofile-intl
56238 all-stagetrain-binutils: maybe-all-stagetrain-intl
56239 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
56240 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
56241 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
56242 all-binutils: maybe-all-gas
56243 all-stage1-binutils: maybe-all-stage1-gas
56244 all-stage2-binutils: maybe-all-stage2-gas
56245 all-stage3-binutils: maybe-all-stage3-gas
56246 all-stage4-binutils: maybe-all-stage4-gas
56247 all-stageprofile-binutils: maybe-all-stageprofile-gas
56248 all-stagetrain-binutils: maybe-all-stagetrain-gas
56249 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
56250 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
56251 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
56252 install-binutils: maybe-install-opcodes
56253 install-strip-binutils: maybe-install-strip-opcodes
56254 install-opcodes: maybe-install-bfd
56255 install-strip-opcodes: maybe-install-strip-bfd
56256 configure-gas: maybe-configure-intl
56257 configure-stage1-gas: maybe-configure-stage1-intl
56258 configure-stage2-gas: maybe-configure-stage2-intl
56259 configure-stage3-gas: maybe-configure-stage3-intl
56260 configure-stage4-gas: maybe-configure-stage4-intl
56261 configure-stageprofile-gas: maybe-configure-stageprofile-intl
56262 configure-stagetrain-gas: maybe-configure-stagetrain-intl
56263 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
56264 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
56265 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
56266 all-gas: maybe-all-libiberty
56267 all-stage1-gas: maybe-all-stage1-libiberty
56268 all-stage2-gas: maybe-all-stage2-libiberty
56269 all-stage3-gas: maybe-all-stage3-libiberty
56270 all-stage4-gas: maybe-all-stage4-libiberty
56271 all-stageprofile-gas: maybe-all-stageprofile-libiberty
56272 all-stagetrain-gas: maybe-all-stagetrain-libiberty
56273 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
56274 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
56275 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
56276 all-gas: maybe-all-opcodes
56277 all-stage1-gas: maybe-all-stage1-opcodes
56278 all-stage2-gas: maybe-all-stage2-opcodes
56279 all-stage3-gas: maybe-all-stage3-opcodes
56280 all-stage4-gas: maybe-all-stage4-opcodes
56281 all-stageprofile-gas: maybe-all-stageprofile-opcodes
56282 all-stagetrain-gas: maybe-all-stagetrain-opcodes
56283 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
56284 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
56285 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
56286 all-gas: maybe-all-bfd
56287 all-stage1-gas: maybe-all-stage1-bfd
56288 all-stage2-gas: maybe-all-stage2-bfd
56289 all-stage3-gas: maybe-all-stage3-bfd
56290 all-stage4-gas: maybe-all-stage4-bfd
56291 all-stageprofile-gas: maybe-all-stageprofile-bfd
56292 all-stagetrain-gas: maybe-all-stagetrain-bfd
56293 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
56294 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
56295 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
56296 all-gas: maybe-all-intl
56297 all-stage1-gas: maybe-all-stage1-intl
56298 all-stage2-gas: maybe-all-stage2-intl
56299 all-stage3-gas: maybe-all-stage3-intl
56300 all-stage4-gas: maybe-all-stage4-intl
56301 all-stageprofile-gas: maybe-all-stageprofile-intl
56302 all-stagetrain-gas: maybe-all-stagetrain-intl
56303 all-stagefeedback-gas: maybe-all-stagefeedback-intl
56304 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
56305 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
56306 configure-ld: maybe-configure-intl
56307 configure-stage1-ld: maybe-configure-stage1-intl
56308 configure-stage2-ld: maybe-configure-stage2-intl
56309 configure-stage3-ld: maybe-configure-stage3-intl
56310 configure-stage4-ld: maybe-configure-stage4-intl
56311 configure-stageprofile-ld: maybe-configure-stageprofile-intl
56312 configure-stagetrain-ld: maybe-configure-stagetrain-intl
56313 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
56314 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
56315 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
56316 all-ld: maybe-all-libiberty
56317 all-stage1-ld: maybe-all-stage1-libiberty
56318 all-stage2-ld: maybe-all-stage2-libiberty
56319 all-stage3-ld: maybe-all-stage3-libiberty
56320 all-stage4-ld: maybe-all-stage4-libiberty
56321 all-stageprofile-ld: maybe-all-stageprofile-libiberty
56322 all-stagetrain-ld: maybe-all-stagetrain-libiberty
56323 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
56324 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
56325 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
56326 all-ld: maybe-all-bfd
56327 all-stage1-ld: maybe-all-stage1-bfd
56328 all-stage2-ld: maybe-all-stage2-bfd
56329 all-stage3-ld: maybe-all-stage3-bfd
56330 all-stage4-ld: maybe-all-stage4-bfd
56331 all-stageprofile-ld: maybe-all-stageprofile-bfd
56332 all-stagetrain-ld: maybe-all-stagetrain-bfd
56333 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
56334 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
56335 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
56336 all-ld: maybe-all-opcodes
56337 all-stage1-ld: maybe-all-stage1-opcodes
56338 all-stage2-ld: maybe-all-stage2-opcodes
56339 all-stage3-ld: maybe-all-stage3-opcodes
56340 all-stage4-ld: maybe-all-stage4-opcodes
56341 all-stageprofile-ld: maybe-all-stageprofile-opcodes
56342 all-stagetrain-ld: maybe-all-stagetrain-opcodes
56343 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
56344 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
56345 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
56346 all-ld: maybe-all-build-bison
56347 all-stage1-ld: maybe-all-build-bison
56348 all-stage2-ld: maybe-all-build-bison
56349 all-stage3-ld: maybe-all-build-bison
56350 all-stage4-ld: maybe-all-build-bison
56351 all-stageprofile-ld: maybe-all-build-bison
56352 all-stagetrain-ld: maybe-all-build-bison
56353 all-stagefeedback-ld: maybe-all-build-bison
56354 all-stageautoprofile-ld: maybe-all-build-bison
56355 all-stageautofeedback-ld: maybe-all-build-bison
56356 all-ld: maybe-all-build-flex
56357 all-stage1-ld: maybe-all-build-flex
56358 all-stage2-ld: maybe-all-build-flex
56359 all-stage3-ld: maybe-all-build-flex
56360 all-stage4-ld: maybe-all-build-flex
56361 all-stageprofile-ld: maybe-all-build-flex
56362 all-stagetrain-ld: maybe-all-build-flex
56363 all-stagefeedback-ld: maybe-all-build-flex
56364 all-stageautoprofile-ld: maybe-all-build-flex
56365 all-stageautofeedback-ld: maybe-all-build-flex
56366 all-ld: maybe-all-intl
56367 all-stage1-ld: maybe-all-stage1-intl
56368 all-stage2-ld: maybe-all-stage2-intl
56369 all-stage3-ld: maybe-all-stage3-intl
56370 all-stage4-ld: maybe-all-stage4-intl
56371 all-stageprofile-ld: maybe-all-stageprofile-intl
56372 all-stagetrain-ld: maybe-all-stagetrain-intl
56373 all-stagefeedback-ld: maybe-all-stagefeedback-intl
56374 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
56375 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
56376 all-ld: maybe-all-gas
56377 all-stage1-ld: maybe-all-stage1-gas
56378 all-stage2-ld: maybe-all-stage2-gas
56379 all-stage3-ld: maybe-all-stage3-gas
56380 all-stage4-ld: maybe-all-stage4-gas
56381 all-stageprofile-ld: maybe-all-stageprofile-gas
56382 all-stagetrain-ld: maybe-all-stagetrain-gas
56383 all-stagefeedback-ld: maybe-all-stagefeedback-gas
56384 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
56385 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
56386 all-ld: maybe-all-binutils
56387 all-stage1-ld: maybe-all-stage1-binutils
56388 all-stage2-ld: maybe-all-stage2-binutils
56389 all-stage3-ld: maybe-all-stage3-binutils
56390 all-stage4-ld: maybe-all-stage4-binutils
56391 all-stageprofile-ld: maybe-all-stageprofile-binutils
56392 all-stagetrain-ld: maybe-all-stagetrain-binutils
56393 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
56394 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
56395 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
56396 install-ld: maybe-install-gold
56397 install-strip-ld: maybe-install-strip-gold
56398 configure-gold: maybe-configure-intl
56399 configure-stage1-gold: maybe-configure-stage1-intl
56400 configure-stage2-gold: maybe-configure-stage2-intl
56401 configure-stage3-gold: maybe-configure-stage3-intl
56402 configure-stage4-gold: maybe-configure-stage4-intl
56403 configure-stageprofile-gold: maybe-configure-stageprofile-intl
56404 configure-stagetrain-gold: maybe-configure-stagetrain-intl
56405 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
56406 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
56407 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
56408 all-gold: maybe-all-libiberty
56409 all-stage1-gold: maybe-all-stage1-libiberty
56410 all-stage2-gold: maybe-all-stage2-libiberty
56411 all-stage3-gold: maybe-all-stage3-libiberty
56412 all-stage4-gold: maybe-all-stage4-libiberty
56413 all-stageprofile-gold: maybe-all-stageprofile-libiberty
56414 all-stagetrain-gold: maybe-all-stagetrain-libiberty
56415 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
56416 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
56417 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
56418 all-gold: maybe-all-intl
56419 all-stage1-gold: maybe-all-stage1-intl
56420 all-stage2-gold: maybe-all-stage2-intl
56421 all-stage3-gold: maybe-all-stage3-intl
56422 all-stage4-gold: maybe-all-stage4-intl
56423 all-stageprofile-gold: maybe-all-stageprofile-intl
56424 all-stagetrain-gold: maybe-all-stagetrain-intl
56425 all-stagefeedback-gold: maybe-all-stagefeedback-intl
56426 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
56427 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
56428 all-gold: maybe-all-bfd
56429 all-stage1-gold: maybe-all-stage1-bfd
56430 all-stage2-gold: maybe-all-stage2-bfd
56431 all-stage3-gold: maybe-all-stage3-bfd
56432 all-stage4-gold: maybe-all-stage4-bfd
56433 all-stageprofile-gold: maybe-all-stageprofile-bfd
56434 all-stagetrain-gold: maybe-all-stagetrain-bfd
56435 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
56436 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
56437 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
56438 all-gold: maybe-all-build-bison
56439 all-stage1-gold: maybe-all-build-bison
56440 all-stage2-gold: maybe-all-build-bison
56441 all-stage3-gold: maybe-all-build-bison
56442 all-stage4-gold: maybe-all-build-bison
56443 all-stageprofile-gold: maybe-all-build-bison
56444 all-stagetrain-gold: maybe-all-build-bison
56445 all-stagefeedback-gold: maybe-all-build-bison
56446 all-stageautoprofile-gold: maybe-all-build-bison
56447 all-stageautofeedback-gold: maybe-all-build-bison
56448 all-gold: maybe-all-gas
56449 all-stage1-gold: maybe-all-stage1-gas
56450 all-stage2-gold: maybe-all-stage2-gas
56451 all-stage3-gold: maybe-all-stage3-gas
56452 all-stage4-gold: maybe-all-stage4-gas
56453 all-stageprofile-gold: maybe-all-stageprofile-gas
56454 all-stagetrain-gold: maybe-all-stagetrain-gas
56455 all-stagefeedback-gold: maybe-all-stagefeedback-gas
56456 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56457 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56458 check-gold: maybe-all-binutils
56459 check-stage1-gold: maybe-all-stage1-binutils
56460 check-stage2-gold: maybe-all-stage2-binutils
56461 check-stage3-gold: maybe-all-stage3-binutils
56462 check-stage4-gold: maybe-all-stage4-binutils
56463 check-stageprofile-gold: maybe-all-stageprofile-binutils
56464 check-stagetrain-gold: maybe-all-stagetrain-binutils
56465 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
56466 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
56467 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
56468 check-gold: maybe-all-gas
56469 check-stage1-gold: maybe-all-stage1-gas
56470 check-stage2-gold: maybe-all-stage2-gas
56471 check-stage3-gold: maybe-all-stage3-gas
56472 check-stage4-gold: maybe-all-stage4-gas
56473 check-stageprofile-gold: maybe-all-stageprofile-gas
56474 check-stagetrain-gold: maybe-all-stagetrain-gas
56475 check-stagefeedback-gold: maybe-all-stagefeedback-gas
56476 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56477 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56478 configure-opcodes: maybe-configure-intl
56479 configure-stage1-opcodes: maybe-configure-stage1-intl
56480 configure-stage2-opcodes: maybe-configure-stage2-intl
56481 configure-stage3-opcodes: maybe-configure-stage3-intl
56482 configure-stage4-opcodes: maybe-configure-stage4-intl
56483 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
56484 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
56485 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
56486 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
56487 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
56488 all-opcodes: maybe-all-bfd
56489 all-stage1-opcodes: maybe-all-stage1-bfd
56490 all-stage2-opcodes: maybe-all-stage2-bfd
56491 all-stage3-opcodes: maybe-all-stage3-bfd
56492 all-stage4-opcodes: maybe-all-stage4-bfd
56493 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
56494 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
56495 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
56496 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
56497 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
56498 all-opcodes: maybe-all-libiberty
56499 all-stage1-opcodes: maybe-all-stage1-libiberty
56500 all-stage2-opcodes: maybe-all-stage2-libiberty
56501 all-stage3-opcodes: maybe-all-stage3-libiberty
56502 all-stage4-opcodes: maybe-all-stage4-libiberty
56503 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
56504 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
56505 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
56506 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
56507 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
56508 all-opcodes: maybe-all-intl
56509 all-stage1-opcodes: maybe-all-stage1-intl
56510 all-stage2-opcodes: maybe-all-stage2-intl
56511 all-stage3-opcodes: maybe-all-stage3-intl
56512 all-stage4-opcodes: maybe-all-stage4-intl
56513 all-stageprofile-opcodes: maybe-all-stageprofile-intl
56514 all-stagetrain-opcodes: maybe-all-stagetrain-intl
56515 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
56516 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
56517 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
56518 all-dejagnu: maybe-all-tcl
56519 all-dejagnu: maybe-all-expect
56520 all-dejagnu: maybe-all-tk
56521 configure-expect: maybe-configure-tcl
56522 configure-expect: maybe-configure-tk
56523 all-expect: maybe-all-tcl
56524 all-expect: maybe-all-tk
56525 configure-itcl: maybe-configure-tcl
56526 configure-itcl: maybe-configure-tk
56527 all-itcl: maybe-all-tcl
56528 all-itcl: maybe-all-tk
56529 install-itcl: maybe-install-tcl
56530 install-strip-itcl: maybe-install-strip-tcl
56531 configure-tk: maybe-configure-tcl
56532 all-tk: maybe-all-tcl
56533 all-sid: maybe-all-tcl
56534 all-sid: maybe-all-tk
56535 install-sid: maybe-install-tcl
56536 install-strip-sid: maybe-install-strip-tcl
56537 install-sid: maybe-install-tk
56538 install-strip-sid: maybe-install-strip-tk
56539 all-sim: maybe-all-readline
56540 all-sim: maybe-configure-gdb
56541 all-fastjar: maybe-all-build-texinfo
56542 all-bison: maybe-all-build-texinfo
56543 all-flex: maybe-all-build-bison
56544 all-flex: maybe-all-m4
56545 all-flex: maybe-all-build-texinfo
56546 all-m4: maybe-all-build-texinfo
56547 configure-target-fastjar: maybe-configure-target-zlib
56548 all-target-fastjar: maybe-all-target-zlib
56549 configure-target-libgo: maybe-configure-target-libffi
56550 all-target-libgo: maybe-all-target-libbacktrace
56551 all-target-libgo: maybe-all-target-libffi
56552 all-target-libgo: maybe-all-target-libatomic
56553 configure-target-libstdc++-v3: maybe-configure-target-libgomp
56554 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
56555 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
56556 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
56557 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
56558 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
56559 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
56560 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
56561 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
56562 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
56563 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
56564 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
56565 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
56566 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
56567 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
56568 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
56569 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
56570 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
56571 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
56572 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
56573 configure-target-libvtv: maybe-all-target-libstdc++-v3
56574 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
56575 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
56576 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
56577 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
56578 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
56579 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
56580 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
56581 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
56582 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
56583 all-target-libstdc++-v3: maybe-configure-target-libgomp
56584 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
56585 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
56586 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
56587 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
56588 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
56589 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
56590 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
56591 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
56592 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
56593 install-target-libgo: maybe-install-target-libatomic
56594 install-target-libgfortran: maybe-install-target-libquadmath
56595 install-target-libgfortran: maybe-install-target-libgcc
56596 install-target-libsanitizer: maybe-install-target-libstdc++-v3
56597 install-target-libsanitizer: maybe-install-target-libgcc
56598 install-target-libvtv: maybe-install-target-libstdc++-v3
56599 install-target-libvtv: maybe-install-target-libgcc
56600 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
56601 install-target-liboffloadmic: maybe-install-target-libgcc
56602 install-target-libitm: maybe-install-target-libgcc
56603 install-target-libobjc: maybe-install-target-libgcc
56604 install-target-libstdc++-v3: maybe-install-target-libgcc
56605 all-target-libgloss: maybe-all-target-newlib
56606 all-target-winsup: maybe-all-target-libtermcap
56607 configure-target-libgfortran: maybe-all-target-libquadmath
56608 configure-target-libgfortran: maybe-all-target-libbacktrace
56611 @if gcc-bootstrap
56612 configure-gnattools: stage_last
56613 configure-libcc1: stage_last
56614 configure-utils: stage_last
56615 configure-gdb: stage_last
56616 configure-gprof: stage_last
56617 configure-sid: stage_last
56618 configure-sim: stage_last
56619 configure-fastjar: stage_last
56620 configure-bison: stage_last
56621 configure-flex: stage_last
56622 configure-m4: stage_last
56623 @endif gcc-bootstrap
56625 @unless gcc-bootstrap
56626 all-gnattools: maybe-all-target-libstdc++-v3
56627 configure-libcc1: maybe-configure-gcc
56628 all-libcc1: maybe-all-gcc
56629 all-utils: maybe-all-libiberty
56630 configure-gdb: maybe-all-intl
56631 configure-gdb: maybe-all-bfd
56632 configure-gdb: maybe-all-libiconv
56633 all-gdb: maybe-all-libiberty
56634 all-gdb: maybe-all-libiconv
56635 all-gdb: maybe-all-opcodes
56636 all-gdb: maybe-all-libdecnumber
56637 configure-gprof: maybe-configure-intl
56638 all-gprof: maybe-all-libiberty
56639 all-gprof: maybe-all-bfd
56640 all-gprof: maybe-all-opcodes
56641 all-gprof: maybe-all-intl
56642 all-gprof: maybe-all-gas
56643 all-sid: maybe-all-libiberty
56644 all-sid: maybe-all-bfd
56645 all-sid: maybe-all-opcodes
56646 configure-sim: maybe-configure-intl
56647 all-sim: maybe-all-intl
56648 all-sim: maybe-all-libiberty
56649 all-sim: maybe-all-bfd
56650 all-sim: maybe-all-opcodes
56651 all-fastjar: maybe-all-zlib
56652 all-fastjar: maybe-all-libiberty
56653 all-bison: maybe-all-intl
56654 all-flex: maybe-all-intl
56655 all-m4: maybe-all-intl
56656 configure-target-libgo: maybe-all-target-libstdc++-v3
56657 configure-target-liboffloadmic: maybe-configure-target-libgomp
56658 all-target-liboffloadmic: maybe-all-target-libgomp
56659 configure-target-newlib: maybe-all-binutils
56660 configure-target-newlib: maybe-all-ld
56661 @endunless gcc-bootstrap
56663 # Dependencies for target modules on other target modules are
56664 # described by lang_env_dependencies; the defaults apply to anything
56665 # not mentioned there.
56668 @if gcc-bootstrap
56669 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
56670 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
56671 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
56672 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
56673 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
56674 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
56675 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
56676 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
56677 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
56678 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
56679 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
56680 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
56681 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
56682 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
56683 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
56684 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
56685 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
56686 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
56687 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
56688 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
56689 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
56690 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
56691 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
56692 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
56693 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
56694 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
56695 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
56696 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
56697 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
56698 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
56699 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
56700 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
56701 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
56702 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
56703 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
56704 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
56705 @endif gcc-bootstrap
56707 @if gcc-no-bootstrap
56708 configure-target-libstdc++-v3: maybe-all-target-libgcc
56709 configure-target-libsanitizer: maybe-all-target-libgcc
56710 configure-target-libvtv: maybe-all-target-libgcc
56711 configure-target-liboffloadmic: maybe-all-target-libgcc
56712 configure-target-libssp: maybe-all-target-libgcc
56713 configure-target-newlib: maybe-all-target-libgcc
56714 configure-target-libbacktrace: maybe-all-target-libgcc
56715 configure-target-libquadmath: maybe-all-target-libgcc
56716 configure-target-libgfortran: maybe-all-target-libgcc
56717 configure-target-libobjc: maybe-all-target-libgcc
56718 configure-target-libgo: maybe-all-target-libgcc
56719 configure-target-libhsail-rt: maybe-all-target-libgcc
56720 configure-target-libtermcap: maybe-all-target-libgcc
56721 configure-target-winsup: maybe-all-target-libgcc
56722 configure-target-libgloss: maybe-all-target-libgcc
56723 configure-target-libffi: maybe-all-target-libgcc
56724 configure-target-zlib: maybe-all-target-libgcc
56725 configure-target-rda: maybe-all-target-libgcc
56726 configure-target-libada: maybe-all-target-libgcc
56727 configure-target-libgomp: maybe-all-target-libgcc
56728 configure-target-libitm: maybe-all-target-libgcc
56729 configure-target-libatomic: maybe-all-target-libgcc
56730 @endif gcc-no-bootstrap
56733 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
56735 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
56737 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
56739 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
56740 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
56742 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
56746 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
56748 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
56750 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
56752 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
56754 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
56756 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
56758 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
56760 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
56763 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
56764 configure-target-libffi: maybe-all-target-libstdc++-v3
56766 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
56768 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
56770 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
56772 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
56774 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
56775 configure-target-libitm: maybe-all-target-libstdc++-v3
56777 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
56780 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
56781 GDB_TK = @GDB_TK@
56782 INSTALL_GDB_TK = @INSTALL_GDB_TK@
56783 configure-gdb: $(CONFIGURE_GDB_TK)
56784 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
56785 install-gdb: $(INSTALL_GDB_TK)
56787 # Serialization dependencies. Host configures don't work well in parallel to
56788 # each other, due to contention over config.cache. Target configures and
56789 # build configures are similar.
56790 @serialization_dependencies@
56792 # --------------------------------
56793 # Regenerating top level configury
56794 # --------------------------------
56796 # Rebuilding Makefile.in, using autogen.
56797 AUTOGEN = autogen
56798 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
56799 cd $(srcdir) && $(AUTOGEN) Makefile.def
56801 # Rebuilding Makefile.
56802 Makefile: $(srcdir)/Makefile.in config.status
56803 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
56805 config.status: configure
56806 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
56808 # Rebuilding configure.
56809 AUTOCONF = autoconf
56810 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
56811 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
56812 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
56813 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
56814 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
56815 cd $(srcdir) && $(AUTOCONF)
56817 # ------------------------------
56818 # Special directives to GNU Make
56819 # ------------------------------
56821 # Don't pass command-line variables to submakes.
56822 .NOEXPORT:
56823 MAKEOVERRIDES=
56825 # end of Makefile.in