2018-06-04 Richard Biener <rguenther@suse.de>
[official-gcc.git] / Makefile.in
blob2bf83b72265110e6ff977ab4f98753d519db9c26
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_libmpx)$(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-libmpx
636 TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
637 @endif target-libmpx
639 @if target-libvtv
640 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
641 @endif target-libvtv
643 @if target-liboffloadmic
644 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
645 @endif target-liboffloadmic
647 @if target-libssp
648 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
649 @endif target-libssp
651 @if target-libgomp
652 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
653 @endif target-libgomp
655 @if target-libitm
656 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
657 @endif target-libitm
659 @if target-libatomic
660 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
661 @endif target-libatomic
665 # This is the list of directories that may be needed in RPATH_ENVVAR
666 # so that programs built for the host machine work.
667 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
669 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
670 @if gcc
671 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
672 @endif gcc
675 @if gmp
676 HOST_LIB_PATH_gmp = \
677 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
678 @endif gmp
680 @if mpfr
681 HOST_LIB_PATH_mpfr = \
682 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
683 @endif mpfr
685 @if mpc
686 HOST_LIB_PATH_mpc = \
687 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
688 @endif mpc
690 @if isl
691 HOST_LIB_PATH_isl = \
692 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
693 @endif isl
695 @if libelf
696 HOST_LIB_PATH_libelf = \
697 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
698 @endif libelf
701 CXX_FOR_TARGET_FLAG_TO_PASS = \
702 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
703 @if target-libstdc++-v3
704 # CXX_FOR_TARGET is tricky to get right for target libs that require a
705 # functional C++ compiler. When we recurse, if we expand
706 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
707 # libstdc++ include flags from the script. Instead, we get an
708 # -funconfigured-* word, so that we'll get errors if this invalid C++
709 # command line is used for anything, but also so that we can use the
710 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
711 # don't pass it on, sub-make will use the default definition, that
712 # re-expands it at the time of use, so we'll get it right when we need
713 # it. One potential exception is the expansion of CXX_FOR_TARGET
714 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
715 # really work, for C++ host programs can't depend on the current-stage
716 # C++ target library.
717 CXX_FOR_TARGET_FLAG_TO_PASS = \
718 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
719 @endif target-libstdc++-v3
721 # Flags to pass down to all sub-makes. STAGE*FLAGS,
722 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
723 # overrideable (for a bootstrap build stage1 also builds gcc.info).
724 BASE_FLAGS_TO_PASS = \
725 "DESTDIR=$(DESTDIR)" \
726 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
727 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
728 "bindir=$(bindir)" \
729 "datadir=$(datadir)" \
730 "exec_prefix=$(exec_prefix)" \
731 "includedir=$(includedir)" \
732 "datarootdir=$(datarootdir)" \
733 "docdir=$(docdir)" \
734 "infodir=$(infodir)" \
735 "pdfdir=$(pdfdir)" \
736 "htmldir=$(htmldir)" \
737 "libdir=$(libdir)" \
738 "libexecdir=$(libexecdir)" \
739 "lispdir=$(lispdir)" \
740 "localstatedir=$(localstatedir)" \
741 "mandir=$(mandir)" \
742 "oldincludedir=$(oldincludedir)" \
743 "prefix=$(prefix)" \
744 "sbindir=$(sbindir)" \
745 "sharedstatedir=$(sharedstatedir)" \
746 "sysconfdir=$(sysconfdir)" \
747 "tooldir=$(tooldir)" \
748 "build_tooldir=$(build_tooldir)" \
749 "target_alias=$(target_alias)" \
750 "AWK=$(AWK)" \
751 "BISON=$(BISON)" \
752 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
753 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
754 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
755 "EXPECT=$(EXPECT)" \
756 "FLEX=$(FLEX)" \
757 "INSTALL=$(INSTALL)" \
758 "INSTALL_DATA=$(INSTALL_DATA)" \
759 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
760 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
761 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
762 "LEX=$(LEX)" \
763 "M4=$(M4)" \
764 "MAKE=$(MAKE)" \
765 "RUNTEST=$(RUNTEST)" \
766 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
767 "SED=$(SED)" \
768 "SHELL=$(SHELL)" \
769 "YACC=$(YACC)" \
770 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
771 "ADA_CFLAGS=$(ADA_CFLAGS)" \
772 "AR_FLAGS=$(AR_FLAGS)" \
773 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
774 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
775 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
776 "CFLAGS=$(CFLAGS)" \
777 "CXXFLAGS=$(CXXFLAGS)" \
778 "LDFLAGS=$(LDFLAGS)" \
779 "LIBCFLAGS=$(LIBCFLAGS)" \
780 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
781 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
782 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
783 "GNATBIND=$(GNATBIND)" \
784 "GNATMAKE=$(GNATMAKE)" \
785 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
786 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
787 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
788 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
789 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
790 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
791 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
792 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
793 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
794 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
795 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
796 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
797 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
798 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
799 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
800 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
801 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
802 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
803 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
804 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
805 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
806 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
807 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
808 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
809 "BUILD_CONFIG=$(BUILD_CONFIG)" \
810 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
811 "LEAN=$(LEAN)" \
812 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
813 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
814 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
815 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
816 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
817 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
818 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
819 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
820 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
821 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
822 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
823 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
824 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
825 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
826 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
827 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
828 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
829 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
830 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
831 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
832 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
833 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
834 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
835 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
836 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
837 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
838 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
839 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
840 "TFLAGS=$(TFLAGS)" \
841 "CONFIG_SHELL=$(SHELL)" \
842 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
843 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
845 # We leave this in just in case, but it is not needed anymore.
846 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
848 # Flags to pass down to most sub-makes, in which we're building with
849 # the host environment.
850 EXTRA_HOST_FLAGS = \
851 'AR=$(AR)' \
852 'AS=$(AS)' \
853 'CC=$(CC)' \
854 'CXX=$(CXX)' \
855 'DLLTOOL=$(DLLTOOL)' \
856 'GFORTRAN=$(GFORTRAN)' \
857 'GOC=$(GOC)' \
858 'LD=$(LD)' \
859 'LIPO=$(LIPO)' \
860 'NM=$(NM)' \
861 'OBJDUMP=$(OBJDUMP)' \
862 'RANLIB=$(RANLIB)' \
863 'READELF=$(READELF)' \
864 'STRIP=$(STRIP)' \
865 'WINDRES=$(WINDRES)' \
866 'WINDMC=$(WINDMC)' \
867 'CREATE_GCOV=$(CREATE_GCOV)'
869 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
871 # Flags to pass to stage1 or when not bootstrapping.
873 STAGE1_FLAGS_TO_PASS = \
874 LDFLAGS="$${LDFLAGS}" \
875 HOST_LIBS="$${HOST_LIBS}"
877 # Flags to pass to stage2 and later makes.
879 POSTSTAGE1_FLAGS_TO_PASS = \
880 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
881 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
882 GNATBIND="$${GNATBIND}" \
883 LDFLAGS="$${LDFLAGS}" \
884 HOST_LIBS="$${HOST_LIBS}" \
885 $(LTO_FLAGS_TO_PASS) \
886 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
888 @if gcc-bootstrap
889 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
890 $(POSTSTAGE1_HOST_EXPORTS) \
893 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
894 @endif gcc-bootstrap
896 # Flags to pass down to makes which are built with the target environment.
897 # The double $ decreases the length of the command line; those variables
898 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
899 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
900 # so we expand them here.
901 EXTRA_TARGET_FLAGS = \
902 'AR=$$(AR_FOR_TARGET)' \
903 'AS=$(COMPILER_AS_FOR_TARGET)' \
904 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
905 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
906 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
907 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
908 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
909 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
910 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
911 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
912 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
913 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
914 'LD=$(COMPILER_LD_FOR_TARGET)' \
915 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
916 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
917 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
918 'NM=$(COMPILER_NM_FOR_TARGET)' \
919 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
920 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
921 'RANLIB=$$(RANLIB_FOR_TARGET)' \
922 'READELF=$$(READELF_FOR_TARGET)' \
923 'WINDRES=$$(WINDRES_FOR_TARGET)' \
924 'WINDMC=$$(WINDMC_FOR_TARGET)' \
925 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
926 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
927 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
928 "TFLAGS=$$TFLAGS"
930 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
932 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
933 # unfortunately needs the native compiler and the target ar and
934 # ranlib.
935 # If any variables are added here, they must be added to do-*, below.
936 # The BUILD_* variables are a special case, which are used for the gcc
937 # cross-building scheme.
938 EXTRA_GCC_FLAGS = \
939 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
940 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
941 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
943 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
945 @if gcc
946 BUILD_CONFIG = @BUILD_CONFIG@
947 ifneq ($(BUILD_CONFIG),)
948 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
949 endif
950 @endif gcc
952 .PHONY: configure-host
953 configure-host: \
954 maybe-configure-bfd \
955 maybe-configure-opcodes \
956 maybe-configure-binutils \
957 maybe-configure-bison \
958 maybe-configure-cgen \
959 maybe-configure-dejagnu \
960 maybe-configure-etc \
961 maybe-configure-fastjar \
962 maybe-configure-fixincludes \
963 maybe-configure-flex \
964 maybe-configure-gas \
965 maybe-configure-gcc \
966 maybe-configure-gmp \
967 maybe-configure-mpfr \
968 maybe-configure-mpc \
969 maybe-configure-isl \
970 maybe-configure-libelf \
971 maybe-configure-gold \
972 maybe-configure-gprof \
973 maybe-configure-intl \
974 maybe-configure-tcl \
975 maybe-configure-itcl \
976 maybe-configure-ld \
977 maybe-configure-libbacktrace \
978 maybe-configure-libcpp \
979 maybe-configure-libdecnumber \
980 maybe-configure-libgui \
981 maybe-configure-libiberty \
982 maybe-configure-libiberty-linker-plugin \
983 maybe-configure-libiconv \
984 maybe-configure-m4 \
985 maybe-configure-readline \
986 maybe-configure-sid \
987 maybe-configure-sim \
988 maybe-configure-texinfo \
989 maybe-configure-zlib \
990 maybe-configure-gdb \
991 maybe-configure-expect \
992 maybe-configure-guile \
993 maybe-configure-tk \
994 maybe-configure-libtermcap \
995 maybe-configure-utils \
996 maybe-configure-gnattools \
997 maybe-configure-lto-plugin \
998 maybe-configure-libcc1 \
999 maybe-configure-gotools
1000 .PHONY: configure-target
1001 configure-target: \
1002 maybe-configure-target-libstdc++-v3 \
1003 maybe-configure-target-libsanitizer \
1004 maybe-configure-target-libmpx \
1005 maybe-configure-target-libvtv \
1006 maybe-configure-target-liboffloadmic \
1007 maybe-configure-target-libssp \
1008 maybe-configure-target-newlib \
1009 maybe-configure-target-libgcc \
1010 maybe-configure-target-libbacktrace \
1011 maybe-configure-target-libquadmath \
1012 maybe-configure-target-libgfortran \
1013 maybe-configure-target-libobjc \
1014 maybe-configure-target-libgo \
1015 maybe-configure-target-libhsail-rt \
1016 maybe-configure-target-libtermcap \
1017 maybe-configure-target-winsup \
1018 maybe-configure-target-libgloss \
1019 maybe-configure-target-libffi \
1020 maybe-configure-target-zlib \
1021 maybe-configure-target-rda \
1022 maybe-configure-target-libada \
1023 maybe-configure-target-libgomp \
1024 maybe-configure-target-libitm \
1025 maybe-configure-target-libatomic
1027 # The target built for a native non-bootstrap build.
1028 .PHONY: all
1029 all:
1030 @if gcc-bootstrap
1031 [ -f stage_final ] || echo stage3 > stage_final
1032 @r=`${PWD_COMMAND}`; export r; \
1033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1034 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1035 @endif gcc-bootstrap
1036 @: $(MAKE); $(unstage)
1037 @r=`${PWD_COMMAND}`; export r; \
1038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1039 @if gcc-bootstrap
1040 if [ -f stage_last ]; then \
1041 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1042 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1043 else \
1044 @endif gcc-bootstrap
1045 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1046 @if gcc-bootstrap
1048 fi \
1049 @endif gcc-bootstrap
1050 && :
1052 .PHONY: all-build
1054 all-build: maybe-all-build-libiberty
1055 all-build: maybe-all-build-bison
1056 all-build: maybe-all-build-flex
1057 all-build: maybe-all-build-m4
1058 all-build: maybe-all-build-texinfo
1059 all-build: maybe-all-build-fixincludes
1060 all-build: maybe-all-build-libcpp
1062 .PHONY: all-host
1064 @if bfd-no-bootstrap
1065 all-host: maybe-all-bfd
1066 @endif bfd-no-bootstrap
1067 @if opcodes-no-bootstrap
1068 all-host: maybe-all-opcodes
1069 @endif opcodes-no-bootstrap
1070 @if binutils-no-bootstrap
1071 all-host: maybe-all-binutils
1072 @endif binutils-no-bootstrap
1073 all-host: maybe-all-bison
1074 all-host: maybe-all-cgen
1075 all-host: maybe-all-dejagnu
1076 all-host: maybe-all-etc
1077 all-host: maybe-all-fastjar
1078 @if fixincludes-no-bootstrap
1079 all-host: maybe-all-fixincludes
1080 @endif fixincludes-no-bootstrap
1081 all-host: maybe-all-flex
1082 @if gas-no-bootstrap
1083 all-host: maybe-all-gas
1084 @endif gas-no-bootstrap
1085 @if gcc-no-bootstrap
1086 all-host: maybe-all-gcc
1087 @endif gcc-no-bootstrap
1088 @if gmp-no-bootstrap
1089 all-host: maybe-all-gmp
1090 @endif gmp-no-bootstrap
1091 @if mpfr-no-bootstrap
1092 all-host: maybe-all-mpfr
1093 @endif mpfr-no-bootstrap
1094 @if mpc-no-bootstrap
1095 all-host: maybe-all-mpc
1096 @endif mpc-no-bootstrap
1097 @if isl-no-bootstrap
1098 all-host: maybe-all-isl
1099 @endif isl-no-bootstrap
1100 @if libelf-no-bootstrap
1101 all-host: maybe-all-libelf
1102 @endif libelf-no-bootstrap
1103 @if gold-no-bootstrap
1104 all-host: maybe-all-gold
1105 @endif gold-no-bootstrap
1106 all-host: maybe-all-gprof
1107 @if intl-no-bootstrap
1108 all-host: maybe-all-intl
1109 @endif intl-no-bootstrap
1110 all-host: maybe-all-tcl
1111 all-host: maybe-all-itcl
1112 @if ld-no-bootstrap
1113 all-host: maybe-all-ld
1114 @endif ld-no-bootstrap
1115 @if libbacktrace-no-bootstrap
1116 all-host: maybe-all-libbacktrace
1117 @endif libbacktrace-no-bootstrap
1118 @if libcpp-no-bootstrap
1119 all-host: maybe-all-libcpp
1120 @endif libcpp-no-bootstrap
1121 @if libdecnumber-no-bootstrap
1122 all-host: maybe-all-libdecnumber
1123 @endif libdecnumber-no-bootstrap
1124 all-host: maybe-all-libgui
1125 @if libiberty-no-bootstrap
1126 all-host: maybe-all-libiberty
1127 @endif libiberty-no-bootstrap
1128 @if libiberty-linker-plugin-no-bootstrap
1129 all-host: maybe-all-libiberty-linker-plugin
1130 @endif libiberty-linker-plugin-no-bootstrap
1131 @if libiconv-no-bootstrap
1132 all-host: maybe-all-libiconv
1133 @endif libiconv-no-bootstrap
1134 all-host: maybe-all-m4
1135 all-host: maybe-all-readline
1136 all-host: maybe-all-sid
1137 all-host: maybe-all-sim
1138 all-host: maybe-all-texinfo
1139 @if zlib-no-bootstrap
1140 all-host: maybe-all-zlib
1141 @endif zlib-no-bootstrap
1142 all-host: maybe-all-gdb
1143 all-host: maybe-all-expect
1144 all-host: maybe-all-guile
1145 all-host: maybe-all-tk
1146 all-host: maybe-all-libtermcap
1147 all-host: maybe-all-utils
1148 all-host: maybe-all-gnattools
1149 @if lto-plugin-no-bootstrap
1150 all-host: maybe-all-lto-plugin
1151 @endif lto-plugin-no-bootstrap
1152 all-host: maybe-all-libcc1
1153 all-host: maybe-all-gotools
1155 .PHONY: all-target
1157 @if target-libstdc++-v3-no-bootstrap
1158 all-target: maybe-all-target-libstdc++-v3
1159 @endif target-libstdc++-v3-no-bootstrap
1160 @if target-libsanitizer-no-bootstrap
1161 all-target: maybe-all-target-libsanitizer
1162 @endif target-libsanitizer-no-bootstrap
1163 @if target-libmpx-no-bootstrap
1164 all-target: maybe-all-target-libmpx
1165 @endif target-libmpx-no-bootstrap
1166 @if target-libvtv-no-bootstrap
1167 all-target: maybe-all-target-libvtv
1168 @endif target-libvtv-no-bootstrap
1169 all-target: maybe-all-target-liboffloadmic
1170 all-target: maybe-all-target-libssp
1171 all-target: maybe-all-target-newlib
1172 @if target-libgcc-no-bootstrap
1173 all-target: maybe-all-target-libgcc
1174 @endif target-libgcc-no-bootstrap
1175 all-target: maybe-all-target-libbacktrace
1176 all-target: maybe-all-target-libquadmath
1177 all-target: maybe-all-target-libgfortran
1178 all-target: maybe-all-target-libobjc
1179 all-target: maybe-all-target-libgo
1180 all-target: maybe-all-target-libhsail-rt
1181 all-target: maybe-all-target-libtermcap
1182 all-target: maybe-all-target-winsup
1183 all-target: maybe-all-target-libgloss
1184 all-target: maybe-all-target-libffi
1185 all-target: maybe-all-target-zlib
1186 all-target: maybe-all-target-rda
1187 all-target: maybe-all-target-libada
1188 @if target-libgomp-no-bootstrap
1189 all-target: maybe-all-target-libgomp
1190 @endif target-libgomp-no-bootstrap
1191 all-target: maybe-all-target-libitm
1192 all-target: maybe-all-target-libatomic
1194 # Do a target for all the subdirectories. A ``make do-X'' will do a
1195 # ``make X'' in all subdirectories (because, in general, there is a
1196 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1197 # but it may do additional work as well).
1199 .PHONY: do-info
1200 do-info:
1201 @: $(MAKE); $(unstage)
1202 @r=`${PWD_COMMAND}`; export r; \
1203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1204 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1205 info-target
1208 .PHONY: info-host
1210 info-host: maybe-info-bfd
1211 info-host: maybe-info-opcodes
1212 info-host: maybe-info-binutils
1213 info-host: maybe-info-bison
1214 info-host: maybe-info-cgen
1215 info-host: maybe-info-dejagnu
1216 info-host: maybe-info-etc
1217 info-host: maybe-info-fastjar
1218 info-host: maybe-info-fixincludes
1219 info-host: maybe-info-flex
1220 info-host: maybe-info-gas
1221 info-host: maybe-info-gcc
1222 info-host: maybe-info-gmp
1223 info-host: maybe-info-mpfr
1224 info-host: maybe-info-mpc
1225 info-host: maybe-info-isl
1226 info-host: maybe-info-libelf
1227 info-host: maybe-info-gold
1228 info-host: maybe-info-gprof
1229 info-host: maybe-info-intl
1230 info-host: maybe-info-tcl
1231 info-host: maybe-info-itcl
1232 info-host: maybe-info-ld
1233 info-host: maybe-info-libbacktrace
1234 info-host: maybe-info-libcpp
1235 info-host: maybe-info-libdecnumber
1236 info-host: maybe-info-libgui
1237 info-host: maybe-info-libiberty
1238 info-host: maybe-info-libiberty-linker-plugin
1239 info-host: maybe-info-libiconv
1240 info-host: maybe-info-m4
1241 info-host: maybe-info-readline
1242 info-host: maybe-info-sid
1243 info-host: maybe-info-sim
1244 info-host: maybe-info-texinfo
1245 info-host: maybe-info-zlib
1246 info-host: maybe-info-gdb
1247 info-host: maybe-info-expect
1248 info-host: maybe-info-guile
1249 info-host: maybe-info-tk
1250 info-host: maybe-info-libtermcap
1251 info-host: maybe-info-utils
1252 info-host: maybe-info-gnattools
1253 info-host: maybe-info-lto-plugin
1254 info-host: maybe-info-libcc1
1255 info-host: maybe-info-gotools
1257 .PHONY: info-target
1259 info-target: maybe-info-target-libstdc++-v3
1260 info-target: maybe-info-target-libsanitizer
1261 info-target: maybe-info-target-libmpx
1262 info-target: maybe-info-target-libvtv
1263 info-target: maybe-info-target-liboffloadmic
1264 info-target: maybe-info-target-libssp
1265 info-target: maybe-info-target-newlib
1266 info-target: maybe-info-target-libgcc
1267 info-target: maybe-info-target-libbacktrace
1268 info-target: maybe-info-target-libquadmath
1269 info-target: maybe-info-target-libgfortran
1270 info-target: maybe-info-target-libobjc
1271 info-target: maybe-info-target-libgo
1272 info-target: maybe-info-target-libhsail-rt
1273 info-target: maybe-info-target-libtermcap
1274 info-target: maybe-info-target-winsup
1275 info-target: maybe-info-target-libgloss
1276 info-target: maybe-info-target-libffi
1277 info-target: maybe-info-target-zlib
1278 info-target: maybe-info-target-rda
1279 info-target: maybe-info-target-libada
1280 info-target: maybe-info-target-libgomp
1281 info-target: maybe-info-target-libitm
1282 info-target: maybe-info-target-libatomic
1284 .PHONY: do-dvi
1285 do-dvi:
1286 @: $(MAKE); $(unstage)
1287 @r=`${PWD_COMMAND}`; export r; \
1288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1289 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1290 dvi-target
1293 .PHONY: dvi-host
1295 dvi-host: maybe-dvi-bfd
1296 dvi-host: maybe-dvi-opcodes
1297 dvi-host: maybe-dvi-binutils
1298 dvi-host: maybe-dvi-bison
1299 dvi-host: maybe-dvi-cgen
1300 dvi-host: maybe-dvi-dejagnu
1301 dvi-host: maybe-dvi-etc
1302 dvi-host: maybe-dvi-fastjar
1303 dvi-host: maybe-dvi-fixincludes
1304 dvi-host: maybe-dvi-flex
1305 dvi-host: maybe-dvi-gas
1306 dvi-host: maybe-dvi-gcc
1307 dvi-host: maybe-dvi-gmp
1308 dvi-host: maybe-dvi-mpfr
1309 dvi-host: maybe-dvi-mpc
1310 dvi-host: maybe-dvi-isl
1311 dvi-host: maybe-dvi-libelf
1312 dvi-host: maybe-dvi-gold
1313 dvi-host: maybe-dvi-gprof
1314 dvi-host: maybe-dvi-intl
1315 dvi-host: maybe-dvi-tcl
1316 dvi-host: maybe-dvi-itcl
1317 dvi-host: maybe-dvi-ld
1318 dvi-host: maybe-dvi-libbacktrace
1319 dvi-host: maybe-dvi-libcpp
1320 dvi-host: maybe-dvi-libdecnumber
1321 dvi-host: maybe-dvi-libgui
1322 dvi-host: maybe-dvi-libiberty
1323 dvi-host: maybe-dvi-libiberty-linker-plugin
1324 dvi-host: maybe-dvi-libiconv
1325 dvi-host: maybe-dvi-m4
1326 dvi-host: maybe-dvi-readline
1327 dvi-host: maybe-dvi-sid
1328 dvi-host: maybe-dvi-sim
1329 dvi-host: maybe-dvi-texinfo
1330 dvi-host: maybe-dvi-zlib
1331 dvi-host: maybe-dvi-gdb
1332 dvi-host: maybe-dvi-expect
1333 dvi-host: maybe-dvi-guile
1334 dvi-host: maybe-dvi-tk
1335 dvi-host: maybe-dvi-libtermcap
1336 dvi-host: maybe-dvi-utils
1337 dvi-host: maybe-dvi-gnattools
1338 dvi-host: maybe-dvi-lto-plugin
1339 dvi-host: maybe-dvi-libcc1
1340 dvi-host: maybe-dvi-gotools
1342 .PHONY: dvi-target
1344 dvi-target: maybe-dvi-target-libstdc++-v3
1345 dvi-target: maybe-dvi-target-libsanitizer
1346 dvi-target: maybe-dvi-target-libmpx
1347 dvi-target: maybe-dvi-target-libvtv
1348 dvi-target: maybe-dvi-target-liboffloadmic
1349 dvi-target: maybe-dvi-target-libssp
1350 dvi-target: maybe-dvi-target-newlib
1351 dvi-target: maybe-dvi-target-libgcc
1352 dvi-target: maybe-dvi-target-libbacktrace
1353 dvi-target: maybe-dvi-target-libquadmath
1354 dvi-target: maybe-dvi-target-libgfortran
1355 dvi-target: maybe-dvi-target-libobjc
1356 dvi-target: maybe-dvi-target-libgo
1357 dvi-target: maybe-dvi-target-libhsail-rt
1358 dvi-target: maybe-dvi-target-libtermcap
1359 dvi-target: maybe-dvi-target-winsup
1360 dvi-target: maybe-dvi-target-libgloss
1361 dvi-target: maybe-dvi-target-libffi
1362 dvi-target: maybe-dvi-target-zlib
1363 dvi-target: maybe-dvi-target-rda
1364 dvi-target: maybe-dvi-target-libada
1365 dvi-target: maybe-dvi-target-libgomp
1366 dvi-target: maybe-dvi-target-libitm
1367 dvi-target: maybe-dvi-target-libatomic
1369 .PHONY: do-pdf
1370 do-pdf:
1371 @: $(MAKE); $(unstage)
1372 @r=`${PWD_COMMAND}`; export r; \
1373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1374 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1375 pdf-target
1378 .PHONY: pdf-host
1380 pdf-host: maybe-pdf-bfd
1381 pdf-host: maybe-pdf-opcodes
1382 pdf-host: maybe-pdf-binutils
1383 pdf-host: maybe-pdf-bison
1384 pdf-host: maybe-pdf-cgen
1385 pdf-host: maybe-pdf-dejagnu
1386 pdf-host: maybe-pdf-etc
1387 pdf-host: maybe-pdf-fastjar
1388 pdf-host: maybe-pdf-fixincludes
1389 pdf-host: maybe-pdf-flex
1390 pdf-host: maybe-pdf-gas
1391 pdf-host: maybe-pdf-gcc
1392 pdf-host: maybe-pdf-gmp
1393 pdf-host: maybe-pdf-mpfr
1394 pdf-host: maybe-pdf-mpc
1395 pdf-host: maybe-pdf-isl
1396 pdf-host: maybe-pdf-libelf
1397 pdf-host: maybe-pdf-gold
1398 pdf-host: maybe-pdf-gprof
1399 pdf-host: maybe-pdf-intl
1400 pdf-host: maybe-pdf-tcl
1401 pdf-host: maybe-pdf-itcl
1402 pdf-host: maybe-pdf-ld
1403 pdf-host: maybe-pdf-libbacktrace
1404 pdf-host: maybe-pdf-libcpp
1405 pdf-host: maybe-pdf-libdecnumber
1406 pdf-host: maybe-pdf-libgui
1407 pdf-host: maybe-pdf-libiberty
1408 pdf-host: maybe-pdf-libiberty-linker-plugin
1409 pdf-host: maybe-pdf-libiconv
1410 pdf-host: maybe-pdf-m4
1411 pdf-host: maybe-pdf-readline
1412 pdf-host: maybe-pdf-sid
1413 pdf-host: maybe-pdf-sim
1414 pdf-host: maybe-pdf-texinfo
1415 pdf-host: maybe-pdf-zlib
1416 pdf-host: maybe-pdf-gdb
1417 pdf-host: maybe-pdf-expect
1418 pdf-host: maybe-pdf-guile
1419 pdf-host: maybe-pdf-tk
1420 pdf-host: maybe-pdf-libtermcap
1421 pdf-host: maybe-pdf-utils
1422 pdf-host: maybe-pdf-gnattools
1423 pdf-host: maybe-pdf-lto-plugin
1424 pdf-host: maybe-pdf-libcc1
1425 pdf-host: maybe-pdf-gotools
1427 .PHONY: pdf-target
1429 pdf-target: maybe-pdf-target-libstdc++-v3
1430 pdf-target: maybe-pdf-target-libsanitizer
1431 pdf-target: maybe-pdf-target-libmpx
1432 pdf-target: maybe-pdf-target-libvtv
1433 pdf-target: maybe-pdf-target-liboffloadmic
1434 pdf-target: maybe-pdf-target-libssp
1435 pdf-target: maybe-pdf-target-newlib
1436 pdf-target: maybe-pdf-target-libgcc
1437 pdf-target: maybe-pdf-target-libbacktrace
1438 pdf-target: maybe-pdf-target-libquadmath
1439 pdf-target: maybe-pdf-target-libgfortran
1440 pdf-target: maybe-pdf-target-libobjc
1441 pdf-target: maybe-pdf-target-libgo
1442 pdf-target: maybe-pdf-target-libhsail-rt
1443 pdf-target: maybe-pdf-target-libtermcap
1444 pdf-target: maybe-pdf-target-winsup
1445 pdf-target: maybe-pdf-target-libgloss
1446 pdf-target: maybe-pdf-target-libffi
1447 pdf-target: maybe-pdf-target-zlib
1448 pdf-target: maybe-pdf-target-rda
1449 pdf-target: maybe-pdf-target-libada
1450 pdf-target: maybe-pdf-target-libgomp
1451 pdf-target: maybe-pdf-target-libitm
1452 pdf-target: maybe-pdf-target-libatomic
1454 .PHONY: do-html
1455 do-html:
1456 @: $(MAKE); $(unstage)
1457 @r=`${PWD_COMMAND}`; export r; \
1458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1459 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1460 html-target
1463 .PHONY: html-host
1465 html-host: maybe-html-bfd
1466 html-host: maybe-html-opcodes
1467 html-host: maybe-html-binutils
1468 html-host: maybe-html-bison
1469 html-host: maybe-html-cgen
1470 html-host: maybe-html-dejagnu
1471 html-host: maybe-html-etc
1472 html-host: maybe-html-fastjar
1473 html-host: maybe-html-fixincludes
1474 html-host: maybe-html-flex
1475 html-host: maybe-html-gas
1476 html-host: maybe-html-gcc
1477 html-host: maybe-html-gmp
1478 html-host: maybe-html-mpfr
1479 html-host: maybe-html-mpc
1480 html-host: maybe-html-isl
1481 html-host: maybe-html-libelf
1482 html-host: maybe-html-gold
1483 html-host: maybe-html-gprof
1484 html-host: maybe-html-intl
1485 html-host: maybe-html-tcl
1486 html-host: maybe-html-itcl
1487 html-host: maybe-html-ld
1488 html-host: maybe-html-libbacktrace
1489 html-host: maybe-html-libcpp
1490 html-host: maybe-html-libdecnumber
1491 html-host: maybe-html-libgui
1492 html-host: maybe-html-libiberty
1493 html-host: maybe-html-libiberty-linker-plugin
1494 html-host: maybe-html-libiconv
1495 html-host: maybe-html-m4
1496 html-host: maybe-html-readline
1497 html-host: maybe-html-sid
1498 html-host: maybe-html-sim
1499 html-host: maybe-html-texinfo
1500 html-host: maybe-html-zlib
1501 html-host: maybe-html-gdb
1502 html-host: maybe-html-expect
1503 html-host: maybe-html-guile
1504 html-host: maybe-html-tk
1505 html-host: maybe-html-libtermcap
1506 html-host: maybe-html-utils
1507 html-host: maybe-html-gnattools
1508 html-host: maybe-html-lto-plugin
1509 html-host: maybe-html-libcc1
1510 html-host: maybe-html-gotools
1512 .PHONY: html-target
1514 html-target: maybe-html-target-libstdc++-v3
1515 html-target: maybe-html-target-libsanitizer
1516 html-target: maybe-html-target-libmpx
1517 html-target: maybe-html-target-libvtv
1518 html-target: maybe-html-target-liboffloadmic
1519 html-target: maybe-html-target-libssp
1520 html-target: maybe-html-target-newlib
1521 html-target: maybe-html-target-libgcc
1522 html-target: maybe-html-target-libbacktrace
1523 html-target: maybe-html-target-libquadmath
1524 html-target: maybe-html-target-libgfortran
1525 html-target: maybe-html-target-libobjc
1526 html-target: maybe-html-target-libgo
1527 html-target: maybe-html-target-libhsail-rt
1528 html-target: maybe-html-target-libtermcap
1529 html-target: maybe-html-target-winsup
1530 html-target: maybe-html-target-libgloss
1531 html-target: maybe-html-target-libffi
1532 html-target: maybe-html-target-zlib
1533 html-target: maybe-html-target-rda
1534 html-target: maybe-html-target-libada
1535 html-target: maybe-html-target-libgomp
1536 html-target: maybe-html-target-libitm
1537 html-target: maybe-html-target-libatomic
1539 .PHONY: do-TAGS
1540 do-TAGS:
1541 @: $(MAKE); $(unstage)
1542 @r=`${PWD_COMMAND}`; export r; \
1543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1544 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1545 TAGS-target
1548 .PHONY: TAGS-host
1550 TAGS-host: maybe-TAGS-bfd
1551 TAGS-host: maybe-TAGS-opcodes
1552 TAGS-host: maybe-TAGS-binutils
1553 TAGS-host: maybe-TAGS-bison
1554 TAGS-host: maybe-TAGS-cgen
1555 TAGS-host: maybe-TAGS-dejagnu
1556 TAGS-host: maybe-TAGS-etc
1557 TAGS-host: maybe-TAGS-fastjar
1558 TAGS-host: maybe-TAGS-fixincludes
1559 TAGS-host: maybe-TAGS-flex
1560 TAGS-host: maybe-TAGS-gas
1561 TAGS-host: maybe-TAGS-gcc
1562 TAGS-host: maybe-TAGS-gmp
1563 TAGS-host: maybe-TAGS-mpfr
1564 TAGS-host: maybe-TAGS-mpc
1565 TAGS-host: maybe-TAGS-isl
1566 TAGS-host: maybe-TAGS-libelf
1567 TAGS-host: maybe-TAGS-gold
1568 TAGS-host: maybe-TAGS-gprof
1569 TAGS-host: maybe-TAGS-intl
1570 TAGS-host: maybe-TAGS-tcl
1571 TAGS-host: maybe-TAGS-itcl
1572 TAGS-host: maybe-TAGS-ld
1573 TAGS-host: maybe-TAGS-libbacktrace
1574 TAGS-host: maybe-TAGS-libcpp
1575 TAGS-host: maybe-TAGS-libdecnumber
1576 TAGS-host: maybe-TAGS-libgui
1577 TAGS-host: maybe-TAGS-libiberty
1578 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1579 TAGS-host: maybe-TAGS-libiconv
1580 TAGS-host: maybe-TAGS-m4
1581 TAGS-host: maybe-TAGS-readline
1582 TAGS-host: maybe-TAGS-sid
1583 TAGS-host: maybe-TAGS-sim
1584 TAGS-host: maybe-TAGS-texinfo
1585 TAGS-host: maybe-TAGS-zlib
1586 TAGS-host: maybe-TAGS-gdb
1587 TAGS-host: maybe-TAGS-expect
1588 TAGS-host: maybe-TAGS-guile
1589 TAGS-host: maybe-TAGS-tk
1590 TAGS-host: maybe-TAGS-libtermcap
1591 TAGS-host: maybe-TAGS-utils
1592 TAGS-host: maybe-TAGS-gnattools
1593 TAGS-host: maybe-TAGS-lto-plugin
1594 TAGS-host: maybe-TAGS-libcc1
1595 TAGS-host: maybe-TAGS-gotools
1597 .PHONY: TAGS-target
1599 TAGS-target: maybe-TAGS-target-libstdc++-v3
1600 TAGS-target: maybe-TAGS-target-libsanitizer
1601 TAGS-target: maybe-TAGS-target-libmpx
1602 TAGS-target: maybe-TAGS-target-libvtv
1603 TAGS-target: maybe-TAGS-target-liboffloadmic
1604 TAGS-target: maybe-TAGS-target-libssp
1605 TAGS-target: maybe-TAGS-target-newlib
1606 TAGS-target: maybe-TAGS-target-libgcc
1607 TAGS-target: maybe-TAGS-target-libbacktrace
1608 TAGS-target: maybe-TAGS-target-libquadmath
1609 TAGS-target: maybe-TAGS-target-libgfortran
1610 TAGS-target: maybe-TAGS-target-libobjc
1611 TAGS-target: maybe-TAGS-target-libgo
1612 TAGS-target: maybe-TAGS-target-libhsail-rt
1613 TAGS-target: maybe-TAGS-target-libtermcap
1614 TAGS-target: maybe-TAGS-target-winsup
1615 TAGS-target: maybe-TAGS-target-libgloss
1616 TAGS-target: maybe-TAGS-target-libffi
1617 TAGS-target: maybe-TAGS-target-zlib
1618 TAGS-target: maybe-TAGS-target-rda
1619 TAGS-target: maybe-TAGS-target-libada
1620 TAGS-target: maybe-TAGS-target-libgomp
1621 TAGS-target: maybe-TAGS-target-libitm
1622 TAGS-target: maybe-TAGS-target-libatomic
1624 .PHONY: do-install-info
1625 do-install-info:
1626 @: $(MAKE); $(unstage)
1627 @r=`${PWD_COMMAND}`; export r; \
1628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1629 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1630 install-info-target
1633 .PHONY: install-info-host
1635 install-info-host: maybe-install-info-bfd
1636 install-info-host: maybe-install-info-opcodes
1637 install-info-host: maybe-install-info-binutils
1638 install-info-host: maybe-install-info-bison
1639 install-info-host: maybe-install-info-cgen
1640 install-info-host: maybe-install-info-dejagnu
1641 install-info-host: maybe-install-info-etc
1642 install-info-host: maybe-install-info-fastjar
1643 install-info-host: maybe-install-info-fixincludes
1644 install-info-host: maybe-install-info-flex
1645 install-info-host: maybe-install-info-gas
1646 install-info-host: maybe-install-info-gcc
1647 install-info-host: maybe-install-info-gmp
1648 install-info-host: maybe-install-info-mpfr
1649 install-info-host: maybe-install-info-mpc
1650 install-info-host: maybe-install-info-isl
1651 install-info-host: maybe-install-info-libelf
1652 install-info-host: maybe-install-info-gold
1653 install-info-host: maybe-install-info-gprof
1654 install-info-host: maybe-install-info-intl
1655 install-info-host: maybe-install-info-tcl
1656 install-info-host: maybe-install-info-itcl
1657 install-info-host: maybe-install-info-ld
1658 install-info-host: maybe-install-info-libbacktrace
1659 install-info-host: maybe-install-info-libcpp
1660 install-info-host: maybe-install-info-libdecnumber
1661 install-info-host: maybe-install-info-libgui
1662 install-info-host: maybe-install-info-libiberty
1663 install-info-host: maybe-install-info-libiberty-linker-plugin
1664 install-info-host: maybe-install-info-libiconv
1665 install-info-host: maybe-install-info-m4
1666 install-info-host: maybe-install-info-readline
1667 install-info-host: maybe-install-info-sid
1668 install-info-host: maybe-install-info-sim
1669 install-info-host: maybe-install-info-texinfo
1670 install-info-host: maybe-install-info-zlib
1671 install-info-host: maybe-install-info-gdb
1672 install-info-host: maybe-install-info-expect
1673 install-info-host: maybe-install-info-guile
1674 install-info-host: maybe-install-info-tk
1675 install-info-host: maybe-install-info-libtermcap
1676 install-info-host: maybe-install-info-utils
1677 install-info-host: maybe-install-info-gnattools
1678 install-info-host: maybe-install-info-lto-plugin
1679 install-info-host: maybe-install-info-libcc1
1680 install-info-host: maybe-install-info-gotools
1682 .PHONY: install-info-target
1684 install-info-target: maybe-install-info-target-libstdc++-v3
1685 install-info-target: maybe-install-info-target-libsanitizer
1686 install-info-target: maybe-install-info-target-libmpx
1687 install-info-target: maybe-install-info-target-libvtv
1688 install-info-target: maybe-install-info-target-liboffloadmic
1689 install-info-target: maybe-install-info-target-libssp
1690 install-info-target: maybe-install-info-target-newlib
1691 install-info-target: maybe-install-info-target-libgcc
1692 install-info-target: maybe-install-info-target-libbacktrace
1693 install-info-target: maybe-install-info-target-libquadmath
1694 install-info-target: maybe-install-info-target-libgfortran
1695 install-info-target: maybe-install-info-target-libobjc
1696 install-info-target: maybe-install-info-target-libgo
1697 install-info-target: maybe-install-info-target-libhsail-rt
1698 install-info-target: maybe-install-info-target-libtermcap
1699 install-info-target: maybe-install-info-target-winsup
1700 install-info-target: maybe-install-info-target-libgloss
1701 install-info-target: maybe-install-info-target-libffi
1702 install-info-target: maybe-install-info-target-zlib
1703 install-info-target: maybe-install-info-target-rda
1704 install-info-target: maybe-install-info-target-libada
1705 install-info-target: maybe-install-info-target-libgomp
1706 install-info-target: maybe-install-info-target-libitm
1707 install-info-target: maybe-install-info-target-libatomic
1709 .PHONY: do-install-pdf
1710 do-install-pdf:
1711 @: $(MAKE); $(unstage)
1712 @r=`${PWD_COMMAND}`; export r; \
1713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1714 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1715 install-pdf-target
1718 .PHONY: install-pdf-host
1720 install-pdf-host: maybe-install-pdf-bfd
1721 install-pdf-host: maybe-install-pdf-opcodes
1722 install-pdf-host: maybe-install-pdf-binutils
1723 install-pdf-host: maybe-install-pdf-bison
1724 install-pdf-host: maybe-install-pdf-cgen
1725 install-pdf-host: maybe-install-pdf-dejagnu
1726 install-pdf-host: maybe-install-pdf-etc
1727 install-pdf-host: maybe-install-pdf-fastjar
1728 install-pdf-host: maybe-install-pdf-fixincludes
1729 install-pdf-host: maybe-install-pdf-flex
1730 install-pdf-host: maybe-install-pdf-gas
1731 install-pdf-host: maybe-install-pdf-gcc
1732 install-pdf-host: maybe-install-pdf-gmp
1733 install-pdf-host: maybe-install-pdf-mpfr
1734 install-pdf-host: maybe-install-pdf-mpc
1735 install-pdf-host: maybe-install-pdf-isl
1736 install-pdf-host: maybe-install-pdf-libelf
1737 install-pdf-host: maybe-install-pdf-gold
1738 install-pdf-host: maybe-install-pdf-gprof
1739 install-pdf-host: maybe-install-pdf-intl
1740 install-pdf-host: maybe-install-pdf-tcl
1741 install-pdf-host: maybe-install-pdf-itcl
1742 install-pdf-host: maybe-install-pdf-ld
1743 install-pdf-host: maybe-install-pdf-libbacktrace
1744 install-pdf-host: maybe-install-pdf-libcpp
1745 install-pdf-host: maybe-install-pdf-libdecnumber
1746 install-pdf-host: maybe-install-pdf-libgui
1747 install-pdf-host: maybe-install-pdf-libiberty
1748 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1749 install-pdf-host: maybe-install-pdf-libiconv
1750 install-pdf-host: maybe-install-pdf-m4
1751 install-pdf-host: maybe-install-pdf-readline
1752 install-pdf-host: maybe-install-pdf-sid
1753 install-pdf-host: maybe-install-pdf-sim
1754 install-pdf-host: maybe-install-pdf-texinfo
1755 install-pdf-host: maybe-install-pdf-zlib
1756 install-pdf-host: maybe-install-pdf-gdb
1757 install-pdf-host: maybe-install-pdf-expect
1758 install-pdf-host: maybe-install-pdf-guile
1759 install-pdf-host: maybe-install-pdf-tk
1760 install-pdf-host: maybe-install-pdf-libtermcap
1761 install-pdf-host: maybe-install-pdf-utils
1762 install-pdf-host: maybe-install-pdf-gnattools
1763 install-pdf-host: maybe-install-pdf-lto-plugin
1764 install-pdf-host: maybe-install-pdf-libcc1
1765 install-pdf-host: maybe-install-pdf-gotools
1767 .PHONY: install-pdf-target
1769 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1770 install-pdf-target: maybe-install-pdf-target-libsanitizer
1771 install-pdf-target: maybe-install-pdf-target-libmpx
1772 install-pdf-target: maybe-install-pdf-target-libvtv
1773 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1774 install-pdf-target: maybe-install-pdf-target-libssp
1775 install-pdf-target: maybe-install-pdf-target-newlib
1776 install-pdf-target: maybe-install-pdf-target-libgcc
1777 install-pdf-target: maybe-install-pdf-target-libbacktrace
1778 install-pdf-target: maybe-install-pdf-target-libquadmath
1779 install-pdf-target: maybe-install-pdf-target-libgfortran
1780 install-pdf-target: maybe-install-pdf-target-libobjc
1781 install-pdf-target: maybe-install-pdf-target-libgo
1782 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1783 install-pdf-target: maybe-install-pdf-target-libtermcap
1784 install-pdf-target: maybe-install-pdf-target-winsup
1785 install-pdf-target: maybe-install-pdf-target-libgloss
1786 install-pdf-target: maybe-install-pdf-target-libffi
1787 install-pdf-target: maybe-install-pdf-target-zlib
1788 install-pdf-target: maybe-install-pdf-target-rda
1789 install-pdf-target: maybe-install-pdf-target-libada
1790 install-pdf-target: maybe-install-pdf-target-libgomp
1791 install-pdf-target: maybe-install-pdf-target-libitm
1792 install-pdf-target: maybe-install-pdf-target-libatomic
1794 .PHONY: do-install-html
1795 do-install-html:
1796 @: $(MAKE); $(unstage)
1797 @r=`${PWD_COMMAND}`; export r; \
1798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1800 install-html-target
1803 .PHONY: install-html-host
1805 install-html-host: maybe-install-html-bfd
1806 install-html-host: maybe-install-html-opcodes
1807 install-html-host: maybe-install-html-binutils
1808 install-html-host: maybe-install-html-bison
1809 install-html-host: maybe-install-html-cgen
1810 install-html-host: maybe-install-html-dejagnu
1811 install-html-host: maybe-install-html-etc
1812 install-html-host: maybe-install-html-fastjar
1813 install-html-host: maybe-install-html-fixincludes
1814 install-html-host: maybe-install-html-flex
1815 install-html-host: maybe-install-html-gas
1816 install-html-host: maybe-install-html-gcc
1817 install-html-host: maybe-install-html-gmp
1818 install-html-host: maybe-install-html-mpfr
1819 install-html-host: maybe-install-html-mpc
1820 install-html-host: maybe-install-html-isl
1821 install-html-host: maybe-install-html-libelf
1822 install-html-host: maybe-install-html-gold
1823 install-html-host: maybe-install-html-gprof
1824 install-html-host: maybe-install-html-intl
1825 install-html-host: maybe-install-html-tcl
1826 install-html-host: maybe-install-html-itcl
1827 install-html-host: maybe-install-html-ld
1828 install-html-host: maybe-install-html-libbacktrace
1829 install-html-host: maybe-install-html-libcpp
1830 install-html-host: maybe-install-html-libdecnumber
1831 install-html-host: maybe-install-html-libgui
1832 install-html-host: maybe-install-html-libiberty
1833 install-html-host: maybe-install-html-libiberty-linker-plugin
1834 install-html-host: maybe-install-html-libiconv
1835 install-html-host: maybe-install-html-m4
1836 install-html-host: maybe-install-html-readline
1837 install-html-host: maybe-install-html-sid
1838 install-html-host: maybe-install-html-sim
1839 install-html-host: maybe-install-html-texinfo
1840 install-html-host: maybe-install-html-zlib
1841 install-html-host: maybe-install-html-gdb
1842 install-html-host: maybe-install-html-expect
1843 install-html-host: maybe-install-html-guile
1844 install-html-host: maybe-install-html-tk
1845 install-html-host: maybe-install-html-libtermcap
1846 install-html-host: maybe-install-html-utils
1847 install-html-host: maybe-install-html-gnattools
1848 install-html-host: maybe-install-html-lto-plugin
1849 install-html-host: maybe-install-html-libcc1
1850 install-html-host: maybe-install-html-gotools
1852 .PHONY: install-html-target
1854 install-html-target: maybe-install-html-target-libstdc++-v3
1855 install-html-target: maybe-install-html-target-libsanitizer
1856 install-html-target: maybe-install-html-target-libmpx
1857 install-html-target: maybe-install-html-target-libvtv
1858 install-html-target: maybe-install-html-target-liboffloadmic
1859 install-html-target: maybe-install-html-target-libssp
1860 install-html-target: maybe-install-html-target-newlib
1861 install-html-target: maybe-install-html-target-libgcc
1862 install-html-target: maybe-install-html-target-libbacktrace
1863 install-html-target: maybe-install-html-target-libquadmath
1864 install-html-target: maybe-install-html-target-libgfortran
1865 install-html-target: maybe-install-html-target-libobjc
1866 install-html-target: maybe-install-html-target-libgo
1867 install-html-target: maybe-install-html-target-libhsail-rt
1868 install-html-target: maybe-install-html-target-libtermcap
1869 install-html-target: maybe-install-html-target-winsup
1870 install-html-target: maybe-install-html-target-libgloss
1871 install-html-target: maybe-install-html-target-libffi
1872 install-html-target: maybe-install-html-target-zlib
1873 install-html-target: maybe-install-html-target-rda
1874 install-html-target: maybe-install-html-target-libada
1875 install-html-target: maybe-install-html-target-libgomp
1876 install-html-target: maybe-install-html-target-libitm
1877 install-html-target: maybe-install-html-target-libatomic
1879 .PHONY: do-installcheck
1880 do-installcheck:
1881 @: $(MAKE); $(unstage)
1882 @r=`${PWD_COMMAND}`; export r; \
1883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1884 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1885 installcheck-target
1888 .PHONY: installcheck-host
1890 installcheck-host: maybe-installcheck-bfd
1891 installcheck-host: maybe-installcheck-opcodes
1892 installcheck-host: maybe-installcheck-binutils
1893 installcheck-host: maybe-installcheck-bison
1894 installcheck-host: maybe-installcheck-cgen
1895 installcheck-host: maybe-installcheck-dejagnu
1896 installcheck-host: maybe-installcheck-etc
1897 installcheck-host: maybe-installcheck-fastjar
1898 installcheck-host: maybe-installcheck-fixincludes
1899 installcheck-host: maybe-installcheck-flex
1900 installcheck-host: maybe-installcheck-gas
1901 installcheck-host: maybe-installcheck-gcc
1902 installcheck-host: maybe-installcheck-gmp
1903 installcheck-host: maybe-installcheck-mpfr
1904 installcheck-host: maybe-installcheck-mpc
1905 installcheck-host: maybe-installcheck-isl
1906 installcheck-host: maybe-installcheck-libelf
1907 installcheck-host: maybe-installcheck-gold
1908 installcheck-host: maybe-installcheck-gprof
1909 installcheck-host: maybe-installcheck-intl
1910 installcheck-host: maybe-installcheck-tcl
1911 installcheck-host: maybe-installcheck-itcl
1912 installcheck-host: maybe-installcheck-ld
1913 installcheck-host: maybe-installcheck-libbacktrace
1914 installcheck-host: maybe-installcheck-libcpp
1915 installcheck-host: maybe-installcheck-libdecnumber
1916 installcheck-host: maybe-installcheck-libgui
1917 installcheck-host: maybe-installcheck-libiberty
1918 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1919 installcheck-host: maybe-installcheck-libiconv
1920 installcheck-host: maybe-installcheck-m4
1921 installcheck-host: maybe-installcheck-readline
1922 installcheck-host: maybe-installcheck-sid
1923 installcheck-host: maybe-installcheck-sim
1924 installcheck-host: maybe-installcheck-texinfo
1925 installcheck-host: maybe-installcheck-zlib
1926 installcheck-host: maybe-installcheck-gdb
1927 installcheck-host: maybe-installcheck-expect
1928 installcheck-host: maybe-installcheck-guile
1929 installcheck-host: maybe-installcheck-tk
1930 installcheck-host: maybe-installcheck-libtermcap
1931 installcheck-host: maybe-installcheck-utils
1932 installcheck-host: maybe-installcheck-gnattools
1933 installcheck-host: maybe-installcheck-lto-plugin
1934 installcheck-host: maybe-installcheck-libcc1
1935 installcheck-host: maybe-installcheck-gotools
1937 .PHONY: installcheck-target
1939 installcheck-target: maybe-installcheck-target-libstdc++-v3
1940 installcheck-target: maybe-installcheck-target-libsanitizer
1941 installcheck-target: maybe-installcheck-target-libmpx
1942 installcheck-target: maybe-installcheck-target-libvtv
1943 installcheck-target: maybe-installcheck-target-liboffloadmic
1944 installcheck-target: maybe-installcheck-target-libssp
1945 installcheck-target: maybe-installcheck-target-newlib
1946 installcheck-target: maybe-installcheck-target-libgcc
1947 installcheck-target: maybe-installcheck-target-libbacktrace
1948 installcheck-target: maybe-installcheck-target-libquadmath
1949 installcheck-target: maybe-installcheck-target-libgfortran
1950 installcheck-target: maybe-installcheck-target-libobjc
1951 installcheck-target: maybe-installcheck-target-libgo
1952 installcheck-target: maybe-installcheck-target-libhsail-rt
1953 installcheck-target: maybe-installcheck-target-libtermcap
1954 installcheck-target: maybe-installcheck-target-winsup
1955 installcheck-target: maybe-installcheck-target-libgloss
1956 installcheck-target: maybe-installcheck-target-libffi
1957 installcheck-target: maybe-installcheck-target-zlib
1958 installcheck-target: maybe-installcheck-target-rda
1959 installcheck-target: maybe-installcheck-target-libada
1960 installcheck-target: maybe-installcheck-target-libgomp
1961 installcheck-target: maybe-installcheck-target-libitm
1962 installcheck-target: maybe-installcheck-target-libatomic
1964 .PHONY: do-mostlyclean
1965 do-mostlyclean:
1966 @: $(MAKE); $(unstage)
1967 @r=`${PWD_COMMAND}`; export r; \
1968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1969 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1970 mostlyclean-target
1973 .PHONY: mostlyclean-host
1975 mostlyclean-host: maybe-mostlyclean-bfd
1976 mostlyclean-host: maybe-mostlyclean-opcodes
1977 mostlyclean-host: maybe-mostlyclean-binutils
1978 mostlyclean-host: maybe-mostlyclean-bison
1979 mostlyclean-host: maybe-mostlyclean-cgen
1980 mostlyclean-host: maybe-mostlyclean-dejagnu
1981 mostlyclean-host: maybe-mostlyclean-etc
1982 mostlyclean-host: maybe-mostlyclean-fastjar
1983 mostlyclean-host: maybe-mostlyclean-fixincludes
1984 mostlyclean-host: maybe-mostlyclean-flex
1985 mostlyclean-host: maybe-mostlyclean-gas
1986 mostlyclean-host: maybe-mostlyclean-gcc
1987 mostlyclean-host: maybe-mostlyclean-gmp
1988 mostlyclean-host: maybe-mostlyclean-mpfr
1989 mostlyclean-host: maybe-mostlyclean-mpc
1990 mostlyclean-host: maybe-mostlyclean-isl
1991 mostlyclean-host: maybe-mostlyclean-libelf
1992 mostlyclean-host: maybe-mostlyclean-gold
1993 mostlyclean-host: maybe-mostlyclean-gprof
1994 mostlyclean-host: maybe-mostlyclean-intl
1995 mostlyclean-host: maybe-mostlyclean-tcl
1996 mostlyclean-host: maybe-mostlyclean-itcl
1997 mostlyclean-host: maybe-mostlyclean-ld
1998 mostlyclean-host: maybe-mostlyclean-libbacktrace
1999 mostlyclean-host: maybe-mostlyclean-libcpp
2000 mostlyclean-host: maybe-mostlyclean-libdecnumber
2001 mostlyclean-host: maybe-mostlyclean-libgui
2002 mostlyclean-host: maybe-mostlyclean-libiberty
2003 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2004 mostlyclean-host: maybe-mostlyclean-libiconv
2005 mostlyclean-host: maybe-mostlyclean-m4
2006 mostlyclean-host: maybe-mostlyclean-readline
2007 mostlyclean-host: maybe-mostlyclean-sid
2008 mostlyclean-host: maybe-mostlyclean-sim
2009 mostlyclean-host: maybe-mostlyclean-texinfo
2010 mostlyclean-host: maybe-mostlyclean-zlib
2011 mostlyclean-host: maybe-mostlyclean-gdb
2012 mostlyclean-host: maybe-mostlyclean-expect
2013 mostlyclean-host: maybe-mostlyclean-guile
2014 mostlyclean-host: maybe-mostlyclean-tk
2015 mostlyclean-host: maybe-mostlyclean-libtermcap
2016 mostlyclean-host: maybe-mostlyclean-utils
2017 mostlyclean-host: maybe-mostlyclean-gnattools
2018 mostlyclean-host: maybe-mostlyclean-lto-plugin
2019 mostlyclean-host: maybe-mostlyclean-libcc1
2020 mostlyclean-host: maybe-mostlyclean-gotools
2022 .PHONY: mostlyclean-target
2024 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2025 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2026 mostlyclean-target: maybe-mostlyclean-target-libmpx
2027 mostlyclean-target: maybe-mostlyclean-target-libvtv
2028 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2029 mostlyclean-target: maybe-mostlyclean-target-libssp
2030 mostlyclean-target: maybe-mostlyclean-target-newlib
2031 mostlyclean-target: maybe-mostlyclean-target-libgcc
2032 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2033 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2034 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2035 mostlyclean-target: maybe-mostlyclean-target-libobjc
2036 mostlyclean-target: maybe-mostlyclean-target-libgo
2037 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2038 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2039 mostlyclean-target: maybe-mostlyclean-target-winsup
2040 mostlyclean-target: maybe-mostlyclean-target-libgloss
2041 mostlyclean-target: maybe-mostlyclean-target-libffi
2042 mostlyclean-target: maybe-mostlyclean-target-zlib
2043 mostlyclean-target: maybe-mostlyclean-target-rda
2044 mostlyclean-target: maybe-mostlyclean-target-libada
2045 mostlyclean-target: maybe-mostlyclean-target-libgomp
2046 mostlyclean-target: maybe-mostlyclean-target-libitm
2047 mostlyclean-target: maybe-mostlyclean-target-libatomic
2049 .PHONY: do-clean
2050 do-clean:
2051 @: $(MAKE); $(unstage)
2052 @r=`${PWD_COMMAND}`; export r; \
2053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2054 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2055 clean-target
2058 .PHONY: clean-host
2060 clean-host: maybe-clean-bfd
2061 clean-host: maybe-clean-opcodes
2062 clean-host: maybe-clean-binutils
2063 clean-host: maybe-clean-bison
2064 clean-host: maybe-clean-cgen
2065 clean-host: maybe-clean-dejagnu
2066 clean-host: maybe-clean-etc
2067 clean-host: maybe-clean-fastjar
2068 clean-host: maybe-clean-fixincludes
2069 clean-host: maybe-clean-flex
2070 clean-host: maybe-clean-gas
2071 clean-host: maybe-clean-gcc
2072 clean-host: maybe-clean-gmp
2073 clean-host: maybe-clean-mpfr
2074 clean-host: maybe-clean-mpc
2075 clean-host: maybe-clean-isl
2076 clean-host: maybe-clean-libelf
2077 clean-host: maybe-clean-gold
2078 clean-host: maybe-clean-gprof
2079 clean-host: maybe-clean-intl
2080 clean-host: maybe-clean-tcl
2081 clean-host: maybe-clean-itcl
2082 clean-host: maybe-clean-ld
2083 clean-host: maybe-clean-libbacktrace
2084 clean-host: maybe-clean-libcpp
2085 clean-host: maybe-clean-libdecnumber
2086 clean-host: maybe-clean-libgui
2087 clean-host: maybe-clean-libiberty
2088 clean-host: maybe-clean-libiberty-linker-plugin
2089 clean-host: maybe-clean-libiconv
2090 clean-host: maybe-clean-m4
2091 clean-host: maybe-clean-readline
2092 clean-host: maybe-clean-sid
2093 clean-host: maybe-clean-sim
2094 clean-host: maybe-clean-texinfo
2095 clean-host: maybe-clean-zlib
2096 clean-host: maybe-clean-gdb
2097 clean-host: maybe-clean-expect
2098 clean-host: maybe-clean-guile
2099 clean-host: maybe-clean-tk
2100 clean-host: maybe-clean-libtermcap
2101 clean-host: maybe-clean-utils
2102 clean-host: maybe-clean-gnattools
2103 clean-host: maybe-clean-lto-plugin
2104 clean-host: maybe-clean-libcc1
2105 clean-host: maybe-clean-gotools
2107 .PHONY: clean-target
2109 clean-target: maybe-clean-target-libstdc++-v3
2110 clean-target: maybe-clean-target-libsanitizer
2111 clean-target: maybe-clean-target-libmpx
2112 clean-target: maybe-clean-target-libvtv
2113 clean-target: maybe-clean-target-liboffloadmic
2114 clean-target: maybe-clean-target-libssp
2115 clean-target: maybe-clean-target-newlib
2116 clean-target: maybe-clean-target-libgcc
2117 clean-target: maybe-clean-target-libbacktrace
2118 clean-target: maybe-clean-target-libquadmath
2119 clean-target: maybe-clean-target-libgfortran
2120 clean-target: maybe-clean-target-libobjc
2121 clean-target: maybe-clean-target-libgo
2122 clean-target: maybe-clean-target-libhsail-rt
2123 clean-target: maybe-clean-target-libtermcap
2124 clean-target: maybe-clean-target-winsup
2125 clean-target: maybe-clean-target-libgloss
2126 clean-target: maybe-clean-target-libffi
2127 clean-target: maybe-clean-target-zlib
2128 clean-target: maybe-clean-target-rda
2129 clean-target: maybe-clean-target-libada
2130 clean-target: maybe-clean-target-libgomp
2131 clean-target: maybe-clean-target-libitm
2132 clean-target: maybe-clean-target-libatomic
2134 .PHONY: do-distclean
2135 do-distclean:
2136 @: $(MAKE); $(unstage)
2137 @r=`${PWD_COMMAND}`; export r; \
2138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2139 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2140 distclean-target
2143 .PHONY: distclean-host
2145 distclean-host: maybe-distclean-bfd
2146 distclean-host: maybe-distclean-opcodes
2147 distclean-host: maybe-distclean-binutils
2148 distclean-host: maybe-distclean-bison
2149 distclean-host: maybe-distclean-cgen
2150 distclean-host: maybe-distclean-dejagnu
2151 distclean-host: maybe-distclean-etc
2152 distclean-host: maybe-distclean-fastjar
2153 distclean-host: maybe-distclean-fixincludes
2154 distclean-host: maybe-distclean-flex
2155 distclean-host: maybe-distclean-gas
2156 distclean-host: maybe-distclean-gcc
2157 distclean-host: maybe-distclean-gmp
2158 distclean-host: maybe-distclean-mpfr
2159 distclean-host: maybe-distclean-mpc
2160 distclean-host: maybe-distclean-isl
2161 distclean-host: maybe-distclean-libelf
2162 distclean-host: maybe-distclean-gold
2163 distclean-host: maybe-distclean-gprof
2164 distclean-host: maybe-distclean-intl
2165 distclean-host: maybe-distclean-tcl
2166 distclean-host: maybe-distclean-itcl
2167 distclean-host: maybe-distclean-ld
2168 distclean-host: maybe-distclean-libbacktrace
2169 distclean-host: maybe-distclean-libcpp
2170 distclean-host: maybe-distclean-libdecnumber
2171 distclean-host: maybe-distclean-libgui
2172 distclean-host: maybe-distclean-libiberty
2173 distclean-host: maybe-distclean-libiberty-linker-plugin
2174 distclean-host: maybe-distclean-libiconv
2175 distclean-host: maybe-distclean-m4
2176 distclean-host: maybe-distclean-readline
2177 distclean-host: maybe-distclean-sid
2178 distclean-host: maybe-distclean-sim
2179 distclean-host: maybe-distclean-texinfo
2180 distclean-host: maybe-distclean-zlib
2181 distclean-host: maybe-distclean-gdb
2182 distclean-host: maybe-distclean-expect
2183 distclean-host: maybe-distclean-guile
2184 distclean-host: maybe-distclean-tk
2185 distclean-host: maybe-distclean-libtermcap
2186 distclean-host: maybe-distclean-utils
2187 distclean-host: maybe-distclean-gnattools
2188 distclean-host: maybe-distclean-lto-plugin
2189 distclean-host: maybe-distclean-libcc1
2190 distclean-host: maybe-distclean-gotools
2192 .PHONY: distclean-target
2194 distclean-target: maybe-distclean-target-libstdc++-v3
2195 distclean-target: maybe-distclean-target-libsanitizer
2196 distclean-target: maybe-distclean-target-libmpx
2197 distclean-target: maybe-distclean-target-libvtv
2198 distclean-target: maybe-distclean-target-liboffloadmic
2199 distclean-target: maybe-distclean-target-libssp
2200 distclean-target: maybe-distclean-target-newlib
2201 distclean-target: maybe-distclean-target-libgcc
2202 distclean-target: maybe-distclean-target-libbacktrace
2203 distclean-target: maybe-distclean-target-libquadmath
2204 distclean-target: maybe-distclean-target-libgfortran
2205 distclean-target: maybe-distclean-target-libobjc
2206 distclean-target: maybe-distclean-target-libgo
2207 distclean-target: maybe-distclean-target-libhsail-rt
2208 distclean-target: maybe-distclean-target-libtermcap
2209 distclean-target: maybe-distclean-target-winsup
2210 distclean-target: maybe-distclean-target-libgloss
2211 distclean-target: maybe-distclean-target-libffi
2212 distclean-target: maybe-distclean-target-zlib
2213 distclean-target: maybe-distclean-target-rda
2214 distclean-target: maybe-distclean-target-libada
2215 distclean-target: maybe-distclean-target-libgomp
2216 distclean-target: maybe-distclean-target-libitm
2217 distclean-target: maybe-distclean-target-libatomic
2219 .PHONY: do-maintainer-clean
2220 do-maintainer-clean:
2221 @: $(MAKE); $(unstage)
2222 @r=`${PWD_COMMAND}`; export r; \
2223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2224 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2225 maintainer-clean-target
2228 .PHONY: maintainer-clean-host
2230 maintainer-clean-host: maybe-maintainer-clean-bfd
2231 maintainer-clean-host: maybe-maintainer-clean-opcodes
2232 maintainer-clean-host: maybe-maintainer-clean-binutils
2233 maintainer-clean-host: maybe-maintainer-clean-bison
2234 maintainer-clean-host: maybe-maintainer-clean-cgen
2235 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2236 maintainer-clean-host: maybe-maintainer-clean-etc
2237 maintainer-clean-host: maybe-maintainer-clean-fastjar
2238 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2239 maintainer-clean-host: maybe-maintainer-clean-flex
2240 maintainer-clean-host: maybe-maintainer-clean-gas
2241 maintainer-clean-host: maybe-maintainer-clean-gcc
2242 maintainer-clean-host: maybe-maintainer-clean-gmp
2243 maintainer-clean-host: maybe-maintainer-clean-mpfr
2244 maintainer-clean-host: maybe-maintainer-clean-mpc
2245 maintainer-clean-host: maybe-maintainer-clean-isl
2246 maintainer-clean-host: maybe-maintainer-clean-libelf
2247 maintainer-clean-host: maybe-maintainer-clean-gold
2248 maintainer-clean-host: maybe-maintainer-clean-gprof
2249 maintainer-clean-host: maybe-maintainer-clean-intl
2250 maintainer-clean-host: maybe-maintainer-clean-tcl
2251 maintainer-clean-host: maybe-maintainer-clean-itcl
2252 maintainer-clean-host: maybe-maintainer-clean-ld
2253 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2254 maintainer-clean-host: maybe-maintainer-clean-libcpp
2255 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2256 maintainer-clean-host: maybe-maintainer-clean-libgui
2257 maintainer-clean-host: maybe-maintainer-clean-libiberty
2258 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2259 maintainer-clean-host: maybe-maintainer-clean-libiconv
2260 maintainer-clean-host: maybe-maintainer-clean-m4
2261 maintainer-clean-host: maybe-maintainer-clean-readline
2262 maintainer-clean-host: maybe-maintainer-clean-sid
2263 maintainer-clean-host: maybe-maintainer-clean-sim
2264 maintainer-clean-host: maybe-maintainer-clean-texinfo
2265 maintainer-clean-host: maybe-maintainer-clean-zlib
2266 maintainer-clean-host: maybe-maintainer-clean-gdb
2267 maintainer-clean-host: maybe-maintainer-clean-expect
2268 maintainer-clean-host: maybe-maintainer-clean-guile
2269 maintainer-clean-host: maybe-maintainer-clean-tk
2270 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2271 maintainer-clean-host: maybe-maintainer-clean-utils
2272 maintainer-clean-host: maybe-maintainer-clean-gnattools
2273 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2274 maintainer-clean-host: maybe-maintainer-clean-libcc1
2275 maintainer-clean-host: maybe-maintainer-clean-gotools
2277 .PHONY: maintainer-clean-target
2279 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2280 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2281 maintainer-clean-target: maybe-maintainer-clean-target-libmpx
2282 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2283 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2284 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2285 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2286 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2287 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2288 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2289 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2290 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2291 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2292 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2293 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2294 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2295 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2296 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2297 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2298 maintainer-clean-target: maybe-maintainer-clean-target-rda
2299 maintainer-clean-target: maybe-maintainer-clean-target-libada
2300 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2301 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2302 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2305 # Here are the targets which correspond to the do-X targets.
2307 .PHONY: info installcheck dvi pdf html
2308 .PHONY: install-info install-pdf install-html
2309 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2310 .PHONY: local-clean local-distclean local-maintainer-clean
2311 info: do-info
2312 installcheck: do-installcheck
2313 dvi: do-dvi
2314 pdf: do-pdf
2315 html: do-html
2317 # Make sure makeinfo is built before we do a `make info', if we're
2318 # in fact building texinfo.
2319 do-info: maybe-all-texinfo
2321 install-info: do-install-info dir.info
2322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2323 if [ -f dir.info ]; then \
2324 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2325 else true; fi
2327 install-pdf: do-install-pdf
2329 install-html: do-install-html
2331 local-clean:
2332 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2334 local-distclean:
2335 -rm -f Makefile config.status config.cache mh-frag mt-frag
2336 -rm -f maybedep.tmp serdep.tmp stage_final
2337 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2338 rm -rf $(TARGET_SUBDIR); \
2339 else true; fi
2340 -rm -rf $(BUILD_SUBDIR)
2341 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2342 rm -rf $(HOST_SUBDIR); \
2343 else true; fi
2344 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2345 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2346 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2347 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2348 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2349 -rmdir texinfo zlib 2>/dev/null
2350 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2352 local-maintainer-clean:
2353 @echo "This command is intended for maintainers to use;"
2354 @echo "it deletes files that may require special tools to rebuild."
2356 clean: do-clean local-clean
2357 mostlyclean: do-mostlyclean local-clean
2358 distclean: do-distclean local-clean local-distclean
2359 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2360 maintainer-clean: local-distclean
2361 realclean: maintainer-clean
2363 # Check target.
2365 .PHONY: check do-check
2366 check: do-check
2368 # Only include modules actually being configured and built.
2369 .PHONY: check-host
2370 check-host: \
2371 maybe-check-bfd \
2372 maybe-check-opcodes \
2373 maybe-check-binutils \
2374 maybe-check-bison \
2375 maybe-check-cgen \
2376 maybe-check-dejagnu \
2377 maybe-check-etc \
2378 maybe-check-fastjar \
2379 maybe-check-fixincludes \
2380 maybe-check-flex \
2381 maybe-check-gas \
2382 maybe-check-gcc \
2383 maybe-check-gmp \
2384 maybe-check-mpfr \
2385 maybe-check-mpc \
2386 maybe-check-isl \
2387 maybe-check-libelf \
2388 maybe-check-gold \
2389 maybe-check-gprof \
2390 maybe-check-intl \
2391 maybe-check-tcl \
2392 maybe-check-itcl \
2393 maybe-check-ld \
2394 maybe-check-libbacktrace \
2395 maybe-check-libcpp \
2396 maybe-check-libdecnumber \
2397 maybe-check-libgui \
2398 maybe-check-libiberty \
2399 maybe-check-libiberty-linker-plugin \
2400 maybe-check-libiconv \
2401 maybe-check-m4 \
2402 maybe-check-readline \
2403 maybe-check-sid \
2404 maybe-check-sim \
2405 maybe-check-texinfo \
2406 maybe-check-zlib \
2407 maybe-check-gdb \
2408 maybe-check-expect \
2409 maybe-check-guile \
2410 maybe-check-tk \
2411 maybe-check-libtermcap \
2412 maybe-check-utils \
2413 maybe-check-gnattools \
2414 maybe-check-lto-plugin \
2415 maybe-check-libcc1 \
2416 maybe-check-gotools
2418 .PHONY: check-target
2419 check-target: \
2420 maybe-check-target-libstdc++-v3 \
2421 maybe-check-target-libsanitizer \
2422 maybe-check-target-libmpx \
2423 maybe-check-target-libvtv \
2424 maybe-check-target-liboffloadmic \
2425 maybe-check-target-libssp \
2426 maybe-check-target-newlib \
2427 maybe-check-target-libgcc \
2428 maybe-check-target-libbacktrace \
2429 maybe-check-target-libquadmath \
2430 maybe-check-target-libgfortran \
2431 maybe-check-target-libobjc \
2432 maybe-check-target-libgo \
2433 maybe-check-target-libhsail-rt \
2434 maybe-check-target-libtermcap \
2435 maybe-check-target-winsup \
2436 maybe-check-target-libgloss \
2437 maybe-check-target-libffi \
2438 maybe-check-target-zlib \
2439 maybe-check-target-rda \
2440 maybe-check-target-libada \
2441 maybe-check-target-libgomp \
2442 maybe-check-target-libitm \
2443 maybe-check-target-libatomic
2445 do-check:
2446 @: $(MAKE); $(unstage)
2447 @r=`${PWD_COMMAND}`; export r; \
2448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2449 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2451 # Automated reporting of test results.
2453 warning.log: build.log
2454 $(srcdir)/contrib/warn_summary build.log > $@
2456 mail-report.log:
2457 if test x'$(BOOT_CFLAGS)' != x''; then \
2458 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2459 fi; \
2460 $(srcdir)/contrib/test_summary -t >$@
2461 chmod +x $@
2462 echo If you really want to send e-mail, run ./$@ now
2464 mail-report-with-warnings.log: warning.log
2465 if test x'$(BOOT_CFLAGS)' != x''; then \
2466 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2467 fi; \
2468 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2469 chmod +x $@
2470 echo If you really want to send e-mail, run ./$@ now
2472 # Local Vim config
2474 $(srcdir)/.local.vimrc:
2475 $(LN_S) contrib/vimrc $@
2477 $(srcdir)/.lvimrc:
2478 $(LN_S) contrib/vimrc $@
2480 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2482 .PHONY: vimrc
2484 # clang-format config
2486 $(srcdir)/.clang-format:
2487 $(LN_S) contrib/clang-format $@
2489 clang-format: $(srcdir)/.clang-format
2491 .PHONY: clang-format
2493 # Installation targets.
2495 .PHONY: install uninstall
2496 install:
2497 @: $(MAKE); $(unstage)
2498 @r=`${PWD_COMMAND}`; export r; \
2499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2500 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2502 .PHONY: install-host-nogcc
2503 install-host-nogcc: \
2504 maybe-install-bfd \
2505 maybe-install-opcodes \
2506 maybe-install-binutils \
2507 maybe-install-bison \
2508 maybe-install-cgen \
2509 maybe-install-dejagnu \
2510 maybe-install-etc \
2511 maybe-install-fastjar \
2512 maybe-install-fixincludes \
2513 maybe-install-flex \
2514 maybe-install-gas \
2515 maybe-install-gmp \
2516 maybe-install-mpfr \
2517 maybe-install-mpc \
2518 maybe-install-isl \
2519 maybe-install-libelf \
2520 maybe-install-gold \
2521 maybe-install-gprof \
2522 maybe-install-intl \
2523 maybe-install-tcl \
2524 maybe-install-itcl \
2525 maybe-install-ld \
2526 maybe-install-libbacktrace \
2527 maybe-install-libcpp \
2528 maybe-install-libdecnumber \
2529 maybe-install-libgui \
2530 maybe-install-libiberty \
2531 maybe-install-libiberty-linker-plugin \
2532 maybe-install-libiconv \
2533 maybe-install-m4 \
2534 maybe-install-readline \
2535 maybe-install-sid \
2536 maybe-install-sim \
2537 maybe-install-texinfo \
2538 maybe-install-zlib \
2539 maybe-install-gdb \
2540 maybe-install-expect \
2541 maybe-install-guile \
2542 maybe-install-tk \
2543 maybe-install-libtermcap \
2544 maybe-install-utils \
2545 maybe-install-gnattools \
2546 maybe-install-lto-plugin \
2547 maybe-install-libcc1 \
2548 maybe-install-gotools
2550 .PHONY: install-host
2551 install-host: \
2552 maybe-install-bfd \
2553 maybe-install-opcodes \
2554 maybe-install-binutils \
2555 maybe-install-bison \
2556 maybe-install-cgen \
2557 maybe-install-dejagnu \
2558 maybe-install-etc \
2559 maybe-install-fastjar \
2560 maybe-install-fixincludes \
2561 maybe-install-flex \
2562 maybe-install-gas \
2563 maybe-install-gcc \
2564 maybe-install-gmp \
2565 maybe-install-mpfr \
2566 maybe-install-mpc \
2567 maybe-install-isl \
2568 maybe-install-libelf \
2569 maybe-install-gold \
2570 maybe-install-gprof \
2571 maybe-install-intl \
2572 maybe-install-tcl \
2573 maybe-install-itcl \
2574 maybe-install-ld \
2575 maybe-install-libbacktrace \
2576 maybe-install-libcpp \
2577 maybe-install-libdecnumber \
2578 maybe-install-libgui \
2579 maybe-install-libiberty \
2580 maybe-install-libiberty-linker-plugin \
2581 maybe-install-libiconv \
2582 maybe-install-m4 \
2583 maybe-install-readline \
2584 maybe-install-sid \
2585 maybe-install-sim \
2586 maybe-install-texinfo \
2587 maybe-install-zlib \
2588 maybe-install-gdb \
2589 maybe-install-expect \
2590 maybe-install-guile \
2591 maybe-install-tk \
2592 maybe-install-libtermcap \
2593 maybe-install-utils \
2594 maybe-install-gnattools \
2595 maybe-install-lto-plugin \
2596 maybe-install-libcc1 \
2597 maybe-install-gotools
2599 .PHONY: install-target
2600 install-target: \
2601 maybe-install-target-libstdc++-v3 \
2602 maybe-install-target-libsanitizer \
2603 maybe-install-target-libmpx \
2604 maybe-install-target-libvtv \
2605 maybe-install-target-liboffloadmic \
2606 maybe-install-target-libssp \
2607 maybe-install-target-newlib \
2608 maybe-install-target-libgcc \
2609 maybe-install-target-libbacktrace \
2610 maybe-install-target-libquadmath \
2611 maybe-install-target-libgfortran \
2612 maybe-install-target-libobjc \
2613 maybe-install-target-libgo \
2614 maybe-install-target-libhsail-rt \
2615 maybe-install-target-libtermcap \
2616 maybe-install-target-winsup \
2617 maybe-install-target-libgloss \
2618 maybe-install-target-libffi \
2619 maybe-install-target-zlib \
2620 maybe-install-target-rda \
2621 maybe-install-target-libada \
2622 maybe-install-target-libgomp \
2623 maybe-install-target-libitm \
2624 maybe-install-target-libatomic
2626 uninstall:
2627 @echo "the uninstall target is not supported in this tree"
2629 .PHONY: install.all
2630 install.all: install-no-fixedincludes
2631 @if [ -f ./gcc/Makefile ]; then \
2632 r=`${PWD_COMMAND}`; export r; \
2633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2634 $(HOST_EXPORTS) \
2635 (cd ./gcc && \
2636 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2637 else \
2638 true; \
2641 # install-no-fixedincludes is used to allow the elaboration of binary packages
2642 # suitable for distribution, where we cannot include the fixed system header
2643 # files.
2644 .PHONY: install-no-fixedincludes
2645 install-no-fixedincludes: installdirs install-host-nogcc \
2646 install-target gcc-install-no-fixedincludes
2648 .PHONY: install-strip
2649 install-strip:
2650 @: $(MAKE); $(unstage)
2651 @r=`${PWD_COMMAND}`; export r; \
2652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2653 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2655 .PHONY: install-strip-host
2656 install-strip-host: \
2657 maybe-install-strip-bfd \
2658 maybe-install-strip-opcodes \
2659 maybe-install-strip-binutils \
2660 maybe-install-strip-bison \
2661 maybe-install-strip-cgen \
2662 maybe-install-strip-dejagnu \
2663 maybe-install-strip-etc \
2664 maybe-install-strip-fastjar \
2665 maybe-install-strip-fixincludes \
2666 maybe-install-strip-flex \
2667 maybe-install-strip-gas \
2668 maybe-install-strip-gcc \
2669 maybe-install-strip-gmp \
2670 maybe-install-strip-mpfr \
2671 maybe-install-strip-mpc \
2672 maybe-install-strip-isl \
2673 maybe-install-strip-libelf \
2674 maybe-install-strip-gold \
2675 maybe-install-strip-gprof \
2676 maybe-install-strip-intl \
2677 maybe-install-strip-tcl \
2678 maybe-install-strip-itcl \
2679 maybe-install-strip-ld \
2680 maybe-install-strip-libbacktrace \
2681 maybe-install-strip-libcpp \
2682 maybe-install-strip-libdecnumber \
2683 maybe-install-strip-libgui \
2684 maybe-install-strip-libiberty \
2685 maybe-install-strip-libiberty-linker-plugin \
2686 maybe-install-strip-libiconv \
2687 maybe-install-strip-m4 \
2688 maybe-install-strip-readline \
2689 maybe-install-strip-sid \
2690 maybe-install-strip-sim \
2691 maybe-install-strip-texinfo \
2692 maybe-install-strip-zlib \
2693 maybe-install-strip-gdb \
2694 maybe-install-strip-expect \
2695 maybe-install-strip-guile \
2696 maybe-install-strip-tk \
2697 maybe-install-strip-libtermcap \
2698 maybe-install-strip-utils \
2699 maybe-install-strip-gnattools \
2700 maybe-install-strip-lto-plugin \
2701 maybe-install-strip-libcc1 \
2702 maybe-install-strip-gotools
2704 .PHONY: install-strip-target
2705 install-strip-target: \
2706 maybe-install-strip-target-libstdc++-v3 \
2707 maybe-install-strip-target-libsanitizer \
2708 maybe-install-strip-target-libmpx \
2709 maybe-install-strip-target-libvtv \
2710 maybe-install-strip-target-liboffloadmic \
2711 maybe-install-strip-target-libssp \
2712 maybe-install-strip-target-newlib \
2713 maybe-install-strip-target-libgcc \
2714 maybe-install-strip-target-libbacktrace \
2715 maybe-install-strip-target-libquadmath \
2716 maybe-install-strip-target-libgfortran \
2717 maybe-install-strip-target-libobjc \
2718 maybe-install-strip-target-libgo \
2719 maybe-install-strip-target-libhsail-rt \
2720 maybe-install-strip-target-libtermcap \
2721 maybe-install-strip-target-winsup \
2722 maybe-install-strip-target-libgloss \
2723 maybe-install-strip-target-libffi \
2724 maybe-install-strip-target-zlib \
2725 maybe-install-strip-target-rda \
2726 maybe-install-strip-target-libada \
2727 maybe-install-strip-target-libgomp \
2728 maybe-install-strip-target-libitm \
2729 maybe-install-strip-target-libatomic
2732 ### other supporting targets
2734 MAKEDIRS= \
2735 $(DESTDIR)$(prefix) \
2736 $(DESTDIR)$(exec_prefix)
2737 .PHONY: installdirs
2738 installdirs: mkinstalldirs
2739 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2741 dir.info: do-install-info
2742 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2743 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2744 mv -f dir.info.new dir.info; \
2745 else true; \
2748 dist:
2749 @echo "Building a full distribution of this tree isn't done"
2750 @echo "via 'make dist'. Check out the etc/ subdirectory"
2752 etags tags: TAGS
2754 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2755 # ability to use several tags files at once, so there is probably no need
2756 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2757 # (if we felt like it) have this Makefile write a piece of elisp which
2758 # the user could load to tell emacs19 where all the TAGS files we just
2759 # built are.
2760 TAGS: do-TAGS
2762 # ------------------------------------
2763 # Macros for configure and all targets
2764 # ------------------------------------
2770 # --------------------------------------
2771 # Modules which run on the build machine
2772 # --------------------------------------
2775 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2776 maybe-configure-build-libiberty:
2777 @if gcc-bootstrap
2778 configure-build-libiberty: stage_current
2779 @endif gcc-bootstrap
2780 @if build-libiberty
2781 maybe-configure-build-libiberty: configure-build-libiberty
2782 configure-build-libiberty:
2783 @: $(MAKE); $(unstage)
2784 @r=`${PWD_COMMAND}`; export r; \
2785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2786 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2787 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2788 $(BUILD_EXPORTS) \
2789 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2790 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2791 case $(srcdir) in \
2792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2793 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2795 esac; \
2796 module_srcdir=libiberty; \
2797 rm -f no-such-file || : ; \
2798 CONFIG_SITE=no-such-file $(SHELL) \
2799 $$s/$$module_srcdir/configure \
2800 --srcdir=$${topdir}/$$module_srcdir \
2801 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2802 --target=${target_alias} \
2803 || exit 1
2804 @endif build-libiberty
2810 .PHONY: all-build-libiberty maybe-all-build-libiberty
2811 maybe-all-build-libiberty:
2812 @if gcc-bootstrap
2813 all-build-libiberty: stage_current
2814 @endif gcc-bootstrap
2815 @if build-libiberty
2816 TARGET-build-libiberty=all
2817 maybe-all-build-libiberty: all-build-libiberty
2818 all-build-libiberty: configure-build-libiberty
2819 @: $(MAKE); $(unstage)
2820 @r=`${PWD_COMMAND}`; export r; \
2821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2822 $(BUILD_EXPORTS) \
2823 (cd $(BUILD_SUBDIR)/libiberty && \
2824 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2825 $(TARGET-build-libiberty))
2826 @endif build-libiberty
2832 .PHONY: configure-build-bison maybe-configure-build-bison
2833 maybe-configure-build-bison:
2834 @if gcc-bootstrap
2835 configure-build-bison: stage_current
2836 @endif gcc-bootstrap
2837 @if build-bison
2838 maybe-configure-build-bison: configure-build-bison
2839 configure-build-bison:
2840 @: $(MAKE); $(unstage)
2841 @r=`${PWD_COMMAND}`; export r; \
2842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2844 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2845 $(BUILD_EXPORTS) \
2846 echo Configuring in $(BUILD_SUBDIR)/bison; \
2847 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2848 case $(srcdir) in \
2849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2850 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2852 esac; \
2853 module_srcdir=bison; \
2854 rm -f no-such-file || : ; \
2855 CONFIG_SITE=no-such-file $(SHELL) \
2856 $$s/$$module_srcdir/configure \
2857 --srcdir=$${topdir}/$$module_srcdir \
2858 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2859 --target=${target_alias} \
2860 || exit 1
2861 @endif build-bison
2867 .PHONY: all-build-bison maybe-all-build-bison
2868 maybe-all-build-bison:
2869 @if gcc-bootstrap
2870 all-build-bison: stage_current
2871 @endif gcc-bootstrap
2872 @if build-bison
2873 TARGET-build-bison=all
2874 maybe-all-build-bison: all-build-bison
2875 all-build-bison: configure-build-bison
2876 @: $(MAKE); $(unstage)
2877 @r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 $(BUILD_EXPORTS) \
2880 (cd $(BUILD_SUBDIR)/bison && \
2881 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2882 $(TARGET-build-bison))
2883 @endif build-bison
2889 .PHONY: configure-build-flex maybe-configure-build-flex
2890 maybe-configure-build-flex:
2891 @if gcc-bootstrap
2892 configure-build-flex: stage_current
2893 @endif gcc-bootstrap
2894 @if build-flex
2895 maybe-configure-build-flex: configure-build-flex
2896 configure-build-flex:
2897 @: $(MAKE); $(unstage)
2898 @r=`${PWD_COMMAND}`; export r; \
2899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2900 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2901 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2902 $(BUILD_EXPORTS) \
2903 echo Configuring in $(BUILD_SUBDIR)/flex; \
2904 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2905 case $(srcdir) in \
2906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2907 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2909 esac; \
2910 module_srcdir=flex; \
2911 rm -f no-such-file || : ; \
2912 CONFIG_SITE=no-such-file $(SHELL) \
2913 $$s/$$module_srcdir/configure \
2914 --srcdir=$${topdir}/$$module_srcdir \
2915 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2916 --target=${target_alias} \
2917 || exit 1
2918 @endif build-flex
2924 .PHONY: all-build-flex maybe-all-build-flex
2925 maybe-all-build-flex:
2926 @if gcc-bootstrap
2927 all-build-flex: stage_current
2928 @endif gcc-bootstrap
2929 @if build-flex
2930 TARGET-build-flex=all
2931 maybe-all-build-flex: all-build-flex
2932 all-build-flex: configure-build-flex
2933 @: $(MAKE); $(unstage)
2934 @r=`${PWD_COMMAND}`; export r; \
2935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2936 $(BUILD_EXPORTS) \
2937 (cd $(BUILD_SUBDIR)/flex && \
2938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2939 $(TARGET-build-flex))
2940 @endif build-flex
2946 .PHONY: configure-build-m4 maybe-configure-build-m4
2947 maybe-configure-build-m4:
2948 @if gcc-bootstrap
2949 configure-build-m4: stage_current
2950 @endif gcc-bootstrap
2951 @if build-m4
2952 maybe-configure-build-m4: configure-build-m4
2953 configure-build-m4:
2954 @: $(MAKE); $(unstage)
2955 @r=`${PWD_COMMAND}`; export r; \
2956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2957 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2958 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2959 $(BUILD_EXPORTS) \
2960 echo Configuring in $(BUILD_SUBDIR)/m4; \
2961 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2962 case $(srcdir) in \
2963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2964 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2966 esac; \
2967 module_srcdir=m4; \
2968 rm -f no-such-file || : ; \
2969 CONFIG_SITE=no-such-file $(SHELL) \
2970 $$s/$$module_srcdir/configure \
2971 --srcdir=$${topdir}/$$module_srcdir \
2972 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2973 --target=${target_alias} \
2974 || exit 1
2975 @endif build-m4
2981 .PHONY: all-build-m4 maybe-all-build-m4
2982 maybe-all-build-m4:
2983 @if gcc-bootstrap
2984 all-build-m4: stage_current
2985 @endif gcc-bootstrap
2986 @if build-m4
2987 TARGET-build-m4=all
2988 maybe-all-build-m4: all-build-m4
2989 all-build-m4: configure-build-m4
2990 @: $(MAKE); $(unstage)
2991 @r=`${PWD_COMMAND}`; export r; \
2992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2993 $(BUILD_EXPORTS) \
2994 (cd $(BUILD_SUBDIR)/m4 && \
2995 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2996 $(TARGET-build-m4))
2997 @endif build-m4
3003 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3004 maybe-configure-build-texinfo:
3005 @if gcc-bootstrap
3006 configure-build-texinfo: stage_current
3007 @endif gcc-bootstrap
3008 @if build-texinfo
3009 maybe-configure-build-texinfo: configure-build-texinfo
3010 configure-build-texinfo:
3011 @: $(MAKE); $(unstage)
3012 @r=`${PWD_COMMAND}`; export r; \
3013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3014 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3015 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3016 $(BUILD_EXPORTS) \
3017 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3018 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3019 case $(srcdir) in \
3020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3021 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3023 esac; \
3024 module_srcdir=texinfo; \
3025 rm -f no-such-file || : ; \
3026 CONFIG_SITE=no-such-file $(SHELL) \
3027 $$s/$$module_srcdir/configure \
3028 --srcdir=$${topdir}/$$module_srcdir \
3029 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3030 --target=${target_alias} \
3031 || exit 1
3032 @endif build-texinfo
3038 .PHONY: all-build-texinfo maybe-all-build-texinfo
3039 maybe-all-build-texinfo:
3040 @if gcc-bootstrap
3041 all-build-texinfo: stage_current
3042 @endif gcc-bootstrap
3043 @if build-texinfo
3044 TARGET-build-texinfo=all
3045 maybe-all-build-texinfo: all-build-texinfo
3046 all-build-texinfo: configure-build-texinfo
3047 @: $(MAKE); $(unstage)
3048 @r=`${PWD_COMMAND}`; export r; \
3049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3050 $(BUILD_EXPORTS) \
3051 (cd $(BUILD_SUBDIR)/texinfo && \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3053 $(TARGET-build-texinfo))
3054 @endif build-texinfo
3060 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3061 maybe-configure-build-fixincludes:
3062 @if gcc-bootstrap
3063 configure-build-fixincludes: stage_current
3064 @endif gcc-bootstrap
3065 @if build-fixincludes
3066 maybe-configure-build-fixincludes: configure-build-fixincludes
3067 configure-build-fixincludes:
3068 @: $(MAKE); $(unstage)
3069 @r=`${PWD_COMMAND}`; export r; \
3070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3071 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3072 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3073 $(BUILD_EXPORTS) \
3074 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3075 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3076 case $(srcdir) in \
3077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3078 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3080 esac; \
3081 module_srcdir=fixincludes; \
3082 rm -f no-such-file || : ; \
3083 CONFIG_SITE=no-such-file $(SHELL) \
3084 $$s/$$module_srcdir/configure \
3085 --srcdir=$${topdir}/$$module_srcdir \
3086 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3087 --target=${target_alias} \
3088 || exit 1
3089 @endif build-fixincludes
3095 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3096 maybe-all-build-fixincludes:
3097 @if gcc-bootstrap
3098 all-build-fixincludes: stage_current
3099 @endif gcc-bootstrap
3100 @if build-fixincludes
3101 TARGET-build-fixincludes=all
3102 maybe-all-build-fixincludes: all-build-fixincludes
3103 all-build-fixincludes: configure-build-fixincludes
3104 @: $(MAKE); $(unstage)
3105 @r=`${PWD_COMMAND}`; export r; \
3106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3107 $(BUILD_EXPORTS) \
3108 (cd $(BUILD_SUBDIR)/fixincludes && \
3109 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3110 $(TARGET-build-fixincludes))
3111 @endif build-fixincludes
3117 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3118 maybe-configure-build-libcpp:
3119 @if gcc-bootstrap
3120 configure-build-libcpp: stage_current
3121 @endif gcc-bootstrap
3122 @if build-libcpp
3123 maybe-configure-build-libcpp: configure-build-libcpp
3124 configure-build-libcpp:
3125 @: $(MAKE); $(unstage)
3126 @r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3128 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3129 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3130 $(BUILD_EXPORTS) \
3131 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3132 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3133 case $(srcdir) in \
3134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3135 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3137 esac; \
3138 module_srcdir=libcpp; \
3139 rm -f no-such-file || : ; \
3140 CONFIG_SITE=no-such-file $(SHELL) \
3141 $$s/$$module_srcdir/configure \
3142 --srcdir=$${topdir}/$$module_srcdir \
3143 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3144 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3145 || exit 1
3146 @endif build-libcpp
3152 .PHONY: all-build-libcpp maybe-all-build-libcpp
3153 maybe-all-build-libcpp:
3154 @if gcc-bootstrap
3155 all-build-libcpp: stage_current
3156 @endif gcc-bootstrap
3157 @if build-libcpp
3158 TARGET-build-libcpp=all
3159 maybe-all-build-libcpp: all-build-libcpp
3160 all-build-libcpp: configure-build-libcpp
3161 @: $(MAKE); $(unstage)
3162 @r=`${PWD_COMMAND}`; export r; \
3163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3164 $(BUILD_EXPORTS) \
3165 (cd $(BUILD_SUBDIR)/libcpp && \
3166 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3167 $(TARGET-build-libcpp))
3168 @endif build-libcpp
3174 # --------------------------------------
3175 # Modules which run on the host machine
3176 # --------------------------------------
3179 .PHONY: configure-bfd maybe-configure-bfd
3180 maybe-configure-bfd:
3181 @if gcc-bootstrap
3182 configure-bfd: stage_current
3183 @endif gcc-bootstrap
3184 @if bfd
3185 maybe-configure-bfd: configure-bfd
3186 configure-bfd:
3187 @r=`${PWD_COMMAND}`; export r; \
3188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3189 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3191 $(HOST_EXPORTS) \
3192 echo Configuring in $(HOST_SUBDIR)/bfd; \
3193 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3194 case $(srcdir) in \
3195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3196 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3198 esac; \
3199 module_srcdir=bfd; \
3200 $(SHELL) \
3201 $$s/$$module_srcdir/configure \
3202 --srcdir=$${topdir}/$$module_srcdir \
3203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3204 --target=${target_alias} \
3205 || exit 1
3206 @endif bfd
3210 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3211 maybe-configure-stage1-bfd:
3212 @if bfd-bootstrap
3213 maybe-configure-stage1-bfd: configure-stage1-bfd
3214 configure-stage1-bfd:
3215 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3216 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3217 @r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 TFLAGS="$(STAGE1_TFLAGS)"; \
3220 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3221 $(HOST_EXPORTS) \
3222 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3223 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3224 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3225 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3227 cd $(HOST_SUBDIR)/bfd || exit 1; \
3228 case $(srcdir) in \
3229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3230 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3232 esac; \
3233 module_srcdir=bfd; \
3234 $(SHELL) $$s/$$module_srcdir/configure \
3235 --srcdir=$${topdir}/$$module_srcdir \
3236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3237 --target=${target_alias} \
3239 $(STAGE1_CONFIGURE_FLAGS)
3240 @endif bfd-bootstrap
3242 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3243 maybe-configure-stage2-bfd:
3244 @if bfd-bootstrap
3245 maybe-configure-stage2-bfd: configure-stage2-bfd
3246 configure-stage2-bfd:
3247 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3249 @r=`${PWD_COMMAND}`; export r; \
3250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3251 TFLAGS="$(STAGE2_TFLAGS)"; \
3252 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3253 $(HOST_EXPORTS) \
3254 $(POSTSTAGE1_HOST_EXPORTS) \
3255 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3256 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3257 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3258 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3260 cd $(HOST_SUBDIR)/bfd || exit 1; \
3261 case $(srcdir) in \
3262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3263 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3265 esac; \
3266 module_srcdir=bfd; \
3267 $(SHELL) $$s/$$module_srcdir/configure \
3268 --srcdir=$${topdir}/$$module_srcdir \
3269 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3270 --target=${target_alias} \
3271 --with-build-libsubdir=$(HOST_SUBDIR) \
3272 $(STAGE2_CONFIGURE_FLAGS)
3273 @endif bfd-bootstrap
3275 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3276 maybe-configure-stage3-bfd:
3277 @if bfd-bootstrap
3278 maybe-configure-stage3-bfd: configure-stage3-bfd
3279 configure-stage3-bfd:
3280 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3282 @r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284 TFLAGS="$(STAGE3_TFLAGS)"; \
3285 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3286 $(HOST_EXPORTS) \
3287 $(POSTSTAGE1_HOST_EXPORTS) \
3288 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3289 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3290 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3291 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3293 cd $(HOST_SUBDIR)/bfd || exit 1; \
3294 case $(srcdir) in \
3295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3296 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3298 esac; \
3299 module_srcdir=bfd; \
3300 $(SHELL) $$s/$$module_srcdir/configure \
3301 --srcdir=$${topdir}/$$module_srcdir \
3302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3303 --target=${target_alias} \
3304 --with-build-libsubdir=$(HOST_SUBDIR) \
3305 $(STAGE3_CONFIGURE_FLAGS)
3306 @endif bfd-bootstrap
3308 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3309 maybe-configure-stage4-bfd:
3310 @if bfd-bootstrap
3311 maybe-configure-stage4-bfd: configure-stage4-bfd
3312 configure-stage4-bfd:
3313 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3315 @r=`${PWD_COMMAND}`; export r; \
3316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3317 TFLAGS="$(STAGE4_TFLAGS)"; \
3318 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3319 $(HOST_EXPORTS) \
3320 $(POSTSTAGE1_HOST_EXPORTS) \
3321 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3322 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3323 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3324 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3326 cd $(HOST_SUBDIR)/bfd || exit 1; \
3327 case $(srcdir) in \
3328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3329 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3331 esac; \
3332 module_srcdir=bfd; \
3333 $(SHELL) $$s/$$module_srcdir/configure \
3334 --srcdir=$${topdir}/$$module_srcdir \
3335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3336 --target=${target_alias} \
3337 --with-build-libsubdir=$(HOST_SUBDIR) \
3338 $(STAGE4_CONFIGURE_FLAGS)
3339 @endif bfd-bootstrap
3341 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3342 maybe-configure-stageprofile-bfd:
3343 @if bfd-bootstrap
3344 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3345 configure-stageprofile-bfd:
3346 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3348 @r=`${PWD_COMMAND}`; export r; \
3349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3351 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3352 $(HOST_EXPORTS) \
3353 $(POSTSTAGE1_HOST_EXPORTS) \
3354 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3355 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3356 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3357 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3359 cd $(HOST_SUBDIR)/bfd || exit 1; \
3360 case $(srcdir) in \
3361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3362 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3364 esac; \
3365 module_srcdir=bfd; \
3366 $(SHELL) $$s/$$module_srcdir/configure \
3367 --srcdir=$${topdir}/$$module_srcdir \
3368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3369 --target=${target_alias} \
3370 --with-build-libsubdir=$(HOST_SUBDIR) \
3371 $(STAGEprofile_CONFIGURE_FLAGS)
3372 @endif bfd-bootstrap
3374 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3375 maybe-configure-stagetrain-bfd:
3376 @if bfd-bootstrap
3377 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3378 configure-stagetrain-bfd:
3379 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3380 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3381 @r=`${PWD_COMMAND}`; export r; \
3382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3383 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3384 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3385 $(HOST_EXPORTS) \
3386 $(POSTSTAGE1_HOST_EXPORTS) \
3387 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3388 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3389 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3390 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3392 cd $(HOST_SUBDIR)/bfd || exit 1; \
3393 case $(srcdir) in \
3394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3395 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3397 esac; \
3398 module_srcdir=bfd; \
3399 $(SHELL) $$s/$$module_srcdir/configure \
3400 --srcdir=$${topdir}/$$module_srcdir \
3401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3402 --target=${target_alias} \
3403 --with-build-libsubdir=$(HOST_SUBDIR) \
3404 $(STAGEtrain_CONFIGURE_FLAGS)
3405 @endif bfd-bootstrap
3407 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3408 maybe-configure-stagefeedback-bfd:
3409 @if bfd-bootstrap
3410 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3411 configure-stagefeedback-bfd:
3412 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3414 @r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3416 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3417 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3418 $(HOST_EXPORTS) \
3419 $(POSTSTAGE1_HOST_EXPORTS) \
3420 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3421 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3422 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3423 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3425 cd $(HOST_SUBDIR)/bfd || exit 1; \
3426 case $(srcdir) in \
3427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3428 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3430 esac; \
3431 module_srcdir=bfd; \
3432 $(SHELL) $$s/$$module_srcdir/configure \
3433 --srcdir=$${topdir}/$$module_srcdir \
3434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3435 --target=${target_alias} \
3436 --with-build-libsubdir=$(HOST_SUBDIR) \
3437 $(STAGEfeedback_CONFIGURE_FLAGS)
3438 @endif bfd-bootstrap
3440 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3441 maybe-configure-stageautoprofile-bfd:
3442 @if bfd-bootstrap
3443 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3444 configure-stageautoprofile-bfd:
3445 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3447 @r=`${PWD_COMMAND}`; export r; \
3448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3449 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3450 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3451 $(HOST_EXPORTS) \
3452 $(POSTSTAGE1_HOST_EXPORTS) \
3453 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3454 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3455 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3456 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3458 cd $(HOST_SUBDIR)/bfd || exit 1; \
3459 case $(srcdir) in \
3460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3461 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3463 esac; \
3464 module_srcdir=bfd; \
3465 $(SHELL) $$s/$$module_srcdir/configure \
3466 --srcdir=$${topdir}/$$module_srcdir \
3467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3468 --target=${target_alias} \
3469 --with-build-libsubdir=$(HOST_SUBDIR) \
3470 $(STAGEautoprofile_CONFIGURE_FLAGS)
3471 @endif bfd-bootstrap
3473 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3474 maybe-configure-stageautofeedback-bfd:
3475 @if bfd-bootstrap
3476 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3477 configure-stageautofeedback-bfd:
3478 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3480 @r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3483 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3484 $(HOST_EXPORTS) \
3485 $(POSTSTAGE1_HOST_EXPORTS) \
3486 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3487 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3488 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3489 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3491 cd $(HOST_SUBDIR)/bfd || exit 1; \
3492 case $(srcdir) in \
3493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3494 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3496 esac; \
3497 module_srcdir=bfd; \
3498 $(SHELL) $$s/$$module_srcdir/configure \
3499 --srcdir=$${topdir}/$$module_srcdir \
3500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3501 --target=${target_alias} \
3502 --with-build-libsubdir=$(HOST_SUBDIR) \
3503 $(STAGEautofeedback_CONFIGURE_FLAGS)
3504 @endif bfd-bootstrap
3510 .PHONY: all-bfd maybe-all-bfd
3511 maybe-all-bfd:
3512 @if gcc-bootstrap
3513 all-bfd: stage_current
3514 @endif gcc-bootstrap
3515 @if bfd
3516 TARGET-bfd=all
3517 maybe-all-bfd: all-bfd
3518 all-bfd: configure-bfd
3519 @r=`${PWD_COMMAND}`; export r; \
3520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 $(HOST_EXPORTS) \
3522 (cd $(HOST_SUBDIR)/bfd && \
3523 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3524 $(TARGET-bfd))
3525 @endif bfd
3529 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3530 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3531 maybe-all-stage1-bfd:
3532 maybe-clean-stage1-bfd:
3533 @if bfd-bootstrap
3534 maybe-all-stage1-bfd: all-stage1-bfd
3535 all-stage1: all-stage1-bfd
3536 TARGET-stage1-bfd = $(TARGET-bfd)
3537 all-stage1-bfd: configure-stage1-bfd
3538 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3539 @r=`${PWD_COMMAND}`; export r; \
3540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3541 TFLAGS="$(STAGE1_TFLAGS)"; \
3542 $(HOST_EXPORTS) \
3543 cd $(HOST_SUBDIR)/bfd && \
3545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3546 CFLAGS="$(STAGE1_CFLAGS)" \
3547 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3548 LIBCFLAGS="$(LIBCFLAGS)" \
3549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3552 $(EXTRA_HOST_FLAGS) \
3553 $(STAGE1_FLAGS_TO_PASS) \
3554 TFLAGS="$(STAGE1_TFLAGS)" \
3555 $(TARGET-stage1-bfd)
3557 maybe-clean-stage1-bfd: clean-stage1-bfd
3558 clean-stage1: clean-stage1-bfd
3559 clean-stage1-bfd:
3560 @if [ $(current_stage) = stage1 ]; then \
3561 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3562 else \
3563 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3564 $(MAKE) stage1-start; \
3565 fi; \
3566 cd $(HOST_SUBDIR)/bfd && \
3567 $(MAKE) $(EXTRA_HOST_FLAGS) \
3568 $(STAGE1_FLAGS_TO_PASS) clean
3569 @endif bfd-bootstrap
3572 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3573 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3574 maybe-all-stage2-bfd:
3575 maybe-clean-stage2-bfd:
3576 @if bfd-bootstrap
3577 maybe-all-stage2-bfd: all-stage2-bfd
3578 all-stage2: all-stage2-bfd
3579 TARGET-stage2-bfd = $(TARGET-bfd)
3580 all-stage2-bfd: configure-stage2-bfd
3581 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3582 @r=`${PWD_COMMAND}`; export r; \
3583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3584 TFLAGS="$(STAGE2_TFLAGS)"; \
3585 $(HOST_EXPORTS) \
3586 $(POSTSTAGE1_HOST_EXPORTS) \
3587 cd $(HOST_SUBDIR)/bfd && \
3589 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3590 CFLAGS="$(STAGE2_CFLAGS)" \
3591 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3592 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3593 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3594 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3595 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3596 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3597 TFLAGS="$(STAGE2_TFLAGS)" \
3598 $(TARGET-stage2-bfd)
3600 maybe-clean-stage2-bfd: clean-stage2-bfd
3601 clean-stage2: clean-stage2-bfd
3602 clean-stage2-bfd:
3603 @if [ $(current_stage) = stage2 ]; then \
3604 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3605 else \
3606 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3607 $(MAKE) stage2-start; \
3608 fi; \
3609 cd $(HOST_SUBDIR)/bfd && \
3610 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3611 @endif bfd-bootstrap
3614 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3615 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3616 maybe-all-stage3-bfd:
3617 maybe-clean-stage3-bfd:
3618 @if bfd-bootstrap
3619 maybe-all-stage3-bfd: all-stage3-bfd
3620 all-stage3: all-stage3-bfd
3621 TARGET-stage3-bfd = $(TARGET-bfd)
3622 all-stage3-bfd: configure-stage3-bfd
3623 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3624 @r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626 TFLAGS="$(STAGE3_TFLAGS)"; \
3627 $(HOST_EXPORTS) \
3628 $(POSTSTAGE1_HOST_EXPORTS) \
3629 cd $(HOST_SUBDIR)/bfd && \
3631 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3632 CFLAGS="$(STAGE3_CFLAGS)" \
3633 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3634 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3635 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3636 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3637 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3638 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3639 TFLAGS="$(STAGE3_TFLAGS)" \
3640 $(TARGET-stage3-bfd)
3642 maybe-clean-stage3-bfd: clean-stage3-bfd
3643 clean-stage3: clean-stage3-bfd
3644 clean-stage3-bfd:
3645 @if [ $(current_stage) = stage3 ]; then \
3646 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3647 else \
3648 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3649 $(MAKE) stage3-start; \
3650 fi; \
3651 cd $(HOST_SUBDIR)/bfd && \
3652 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3653 @endif bfd-bootstrap
3656 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3657 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3658 maybe-all-stage4-bfd:
3659 maybe-clean-stage4-bfd:
3660 @if bfd-bootstrap
3661 maybe-all-stage4-bfd: all-stage4-bfd
3662 all-stage4: all-stage4-bfd
3663 TARGET-stage4-bfd = $(TARGET-bfd)
3664 all-stage4-bfd: configure-stage4-bfd
3665 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3666 @r=`${PWD_COMMAND}`; export r; \
3667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3668 TFLAGS="$(STAGE4_TFLAGS)"; \
3669 $(HOST_EXPORTS) \
3670 $(POSTSTAGE1_HOST_EXPORTS) \
3671 cd $(HOST_SUBDIR)/bfd && \
3673 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3674 CFLAGS="$(STAGE4_CFLAGS)" \
3675 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3676 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3680 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3681 TFLAGS="$(STAGE4_TFLAGS)" \
3682 $(TARGET-stage4-bfd)
3684 maybe-clean-stage4-bfd: clean-stage4-bfd
3685 clean-stage4: clean-stage4-bfd
3686 clean-stage4-bfd:
3687 @if [ $(current_stage) = stage4 ]; then \
3688 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3689 else \
3690 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3691 $(MAKE) stage4-start; \
3692 fi; \
3693 cd $(HOST_SUBDIR)/bfd && \
3694 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3695 @endif bfd-bootstrap
3698 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3699 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3700 maybe-all-stageprofile-bfd:
3701 maybe-clean-stageprofile-bfd:
3702 @if bfd-bootstrap
3703 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3704 all-stageprofile: all-stageprofile-bfd
3705 TARGET-stageprofile-bfd = $(TARGET-bfd)
3706 all-stageprofile-bfd: configure-stageprofile-bfd
3707 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3708 @r=`${PWD_COMMAND}`; export r; \
3709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3710 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3711 $(HOST_EXPORTS) \
3712 $(POSTSTAGE1_HOST_EXPORTS) \
3713 cd $(HOST_SUBDIR)/bfd && \
3715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3716 CFLAGS="$(STAGEprofile_CFLAGS)" \
3717 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3718 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3719 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3720 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3721 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3722 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3723 TFLAGS="$(STAGEprofile_TFLAGS)" \
3724 $(TARGET-stageprofile-bfd)
3726 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3727 clean-stageprofile: clean-stageprofile-bfd
3728 clean-stageprofile-bfd:
3729 @if [ $(current_stage) = stageprofile ]; then \
3730 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3731 else \
3732 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3733 $(MAKE) stageprofile-start; \
3734 fi; \
3735 cd $(HOST_SUBDIR)/bfd && \
3736 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3737 @endif bfd-bootstrap
3740 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3741 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3742 maybe-all-stagetrain-bfd:
3743 maybe-clean-stagetrain-bfd:
3744 @if bfd-bootstrap
3745 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3746 all-stagetrain: all-stagetrain-bfd
3747 TARGET-stagetrain-bfd = $(TARGET-bfd)
3748 all-stagetrain-bfd: configure-stagetrain-bfd
3749 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3750 @r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3753 $(HOST_EXPORTS) \
3754 $(POSTSTAGE1_HOST_EXPORTS) \
3755 cd $(HOST_SUBDIR)/bfd && \
3757 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3758 CFLAGS="$(STAGEtrain_CFLAGS)" \
3759 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3760 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3764 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3765 TFLAGS="$(STAGEtrain_TFLAGS)" \
3766 $(TARGET-stagetrain-bfd)
3768 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3769 clean-stagetrain: clean-stagetrain-bfd
3770 clean-stagetrain-bfd:
3771 @if [ $(current_stage) = stagetrain ]; then \
3772 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3773 else \
3774 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3775 $(MAKE) stagetrain-start; \
3776 fi; \
3777 cd $(HOST_SUBDIR)/bfd && \
3778 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3779 @endif bfd-bootstrap
3782 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3783 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3784 maybe-all-stagefeedback-bfd:
3785 maybe-clean-stagefeedback-bfd:
3786 @if bfd-bootstrap
3787 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3788 all-stagefeedback: all-stagefeedback-bfd
3789 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3790 all-stagefeedback-bfd: configure-stagefeedback-bfd
3791 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3792 @r=`${PWD_COMMAND}`; export r; \
3793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3794 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3795 $(HOST_EXPORTS) \
3796 $(POSTSTAGE1_HOST_EXPORTS) \
3797 cd $(HOST_SUBDIR)/bfd && \
3799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3800 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3801 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3802 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3806 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3807 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3808 $(TARGET-stagefeedback-bfd)
3810 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3811 clean-stagefeedback: clean-stagefeedback-bfd
3812 clean-stagefeedback-bfd:
3813 @if [ $(current_stage) = stagefeedback ]; then \
3814 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3815 else \
3816 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3817 $(MAKE) stagefeedback-start; \
3818 fi; \
3819 cd $(HOST_SUBDIR)/bfd && \
3820 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3821 @endif bfd-bootstrap
3824 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3825 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3826 maybe-all-stageautoprofile-bfd:
3827 maybe-clean-stageautoprofile-bfd:
3828 @if bfd-bootstrap
3829 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3830 all-stageautoprofile: all-stageautoprofile-bfd
3831 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3832 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3833 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3834 @r=`${PWD_COMMAND}`; export r; \
3835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3836 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3837 $(HOST_EXPORTS) \
3838 $(POSTSTAGE1_HOST_EXPORTS) \
3839 cd $(HOST_SUBDIR)/bfd && \
3840 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3842 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3843 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3844 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3848 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3849 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3850 $(TARGET-stageautoprofile-bfd)
3852 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3853 clean-stageautoprofile: clean-stageautoprofile-bfd
3854 clean-stageautoprofile-bfd:
3855 @if [ $(current_stage) = stageautoprofile ]; then \
3856 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3857 else \
3858 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3859 $(MAKE) stageautoprofile-start; \
3860 fi; \
3861 cd $(HOST_SUBDIR)/bfd && \
3862 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3863 @endif bfd-bootstrap
3866 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3867 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3868 maybe-all-stageautofeedback-bfd:
3869 maybe-clean-stageautofeedback-bfd:
3870 @if bfd-bootstrap
3871 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3872 all-stageautofeedback: all-stageautofeedback-bfd
3873 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3874 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3875 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3876 @r=`${PWD_COMMAND}`; export r; \
3877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3878 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3879 $(HOST_EXPORTS) \
3880 $(POSTSTAGE1_HOST_EXPORTS) \
3881 cd $(HOST_SUBDIR)/bfd && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3884 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3885 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3886 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3890 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3891 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3892 $(TARGET-stageautofeedback-bfd)
3894 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3895 clean-stageautofeedback: clean-stageautofeedback-bfd
3896 clean-stageautofeedback-bfd:
3897 @if [ $(current_stage) = stageautofeedback ]; then \
3898 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3899 else \
3900 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3901 $(MAKE) stageautofeedback-start; \
3902 fi; \
3903 cd $(HOST_SUBDIR)/bfd && \
3904 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3905 @endif bfd-bootstrap
3911 .PHONY: check-bfd maybe-check-bfd
3912 maybe-check-bfd:
3913 @if bfd
3914 maybe-check-bfd: check-bfd
3916 check-bfd:
3917 @: $(MAKE); $(unstage)
3918 @r=`${PWD_COMMAND}`; export r; \
3919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3920 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3921 (cd $(HOST_SUBDIR)/bfd && \
3922 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3924 @endif bfd
3926 .PHONY: install-bfd maybe-install-bfd
3927 maybe-install-bfd:
3928 @if bfd
3929 maybe-install-bfd: install-bfd
3931 install-bfd: installdirs
3932 @: $(MAKE); $(unstage)
3933 @r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 $(HOST_EXPORTS) \
3936 (cd $(HOST_SUBDIR)/bfd && \
3937 $(MAKE) $(FLAGS_TO_PASS) install)
3939 @endif bfd
3941 .PHONY: install-strip-bfd maybe-install-strip-bfd
3942 maybe-install-strip-bfd:
3943 @if bfd
3944 maybe-install-strip-bfd: install-strip-bfd
3946 install-strip-bfd: installdirs
3947 @: $(MAKE); $(unstage)
3948 @r=`${PWD_COMMAND}`; export r; \
3949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3950 $(HOST_EXPORTS) \
3951 (cd $(HOST_SUBDIR)/bfd && \
3952 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3954 @endif bfd
3956 # Other targets (info, dvi, pdf, etc.)
3958 .PHONY: maybe-info-bfd info-bfd
3959 maybe-info-bfd:
3960 @if bfd
3961 maybe-info-bfd: info-bfd
3963 info-bfd: \
3964 configure-bfd
3965 @[ -f ./bfd/Makefile ] || exit 0; \
3966 r=`${PWD_COMMAND}`; export r; \
3967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3968 $(HOST_EXPORTS) \
3969 for flag in $(EXTRA_HOST_FLAGS) ; do \
3970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3971 done; \
3972 echo "Doing info in bfd"; \
3973 (cd $(HOST_SUBDIR)/bfd && \
3974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3976 "RANLIB=$${RANLIB}" \
3977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3978 info) \
3979 || exit 1
3981 @endif bfd
3983 .PHONY: maybe-dvi-bfd dvi-bfd
3984 maybe-dvi-bfd:
3985 @if bfd
3986 maybe-dvi-bfd: dvi-bfd
3988 dvi-bfd: \
3989 configure-bfd
3990 @[ -f ./bfd/Makefile ] || exit 0; \
3991 r=`${PWD_COMMAND}`; export r; \
3992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3993 $(HOST_EXPORTS) \
3994 for flag in $(EXTRA_HOST_FLAGS) ; do \
3995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3996 done; \
3997 echo "Doing dvi in bfd"; \
3998 (cd $(HOST_SUBDIR)/bfd && \
3999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4001 "RANLIB=$${RANLIB}" \
4002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4003 dvi) \
4004 || exit 1
4006 @endif bfd
4008 .PHONY: maybe-pdf-bfd pdf-bfd
4009 maybe-pdf-bfd:
4010 @if bfd
4011 maybe-pdf-bfd: pdf-bfd
4013 pdf-bfd: \
4014 configure-bfd
4015 @[ -f ./bfd/Makefile ] || exit 0; \
4016 r=`${PWD_COMMAND}`; export r; \
4017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4018 $(HOST_EXPORTS) \
4019 for flag in $(EXTRA_HOST_FLAGS) ; do \
4020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4021 done; \
4022 echo "Doing pdf in bfd"; \
4023 (cd $(HOST_SUBDIR)/bfd && \
4024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4026 "RANLIB=$${RANLIB}" \
4027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4028 pdf) \
4029 || exit 1
4031 @endif bfd
4033 .PHONY: maybe-html-bfd html-bfd
4034 maybe-html-bfd:
4035 @if bfd
4036 maybe-html-bfd: html-bfd
4038 html-bfd: \
4039 configure-bfd
4040 @[ -f ./bfd/Makefile ] || exit 0; \
4041 r=`${PWD_COMMAND}`; export r; \
4042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4043 $(HOST_EXPORTS) \
4044 for flag in $(EXTRA_HOST_FLAGS) ; do \
4045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4046 done; \
4047 echo "Doing html in bfd"; \
4048 (cd $(HOST_SUBDIR)/bfd && \
4049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4051 "RANLIB=$${RANLIB}" \
4052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4053 html) \
4054 || exit 1
4056 @endif bfd
4058 .PHONY: maybe-TAGS-bfd TAGS-bfd
4059 maybe-TAGS-bfd:
4060 @if bfd
4061 maybe-TAGS-bfd: TAGS-bfd
4063 TAGS-bfd: \
4064 configure-bfd
4065 @[ -f ./bfd/Makefile ] || exit 0; \
4066 r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 $(HOST_EXPORTS) \
4069 for flag in $(EXTRA_HOST_FLAGS) ; do \
4070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4071 done; \
4072 echo "Doing TAGS in bfd"; \
4073 (cd $(HOST_SUBDIR)/bfd && \
4074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4076 "RANLIB=$${RANLIB}" \
4077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4078 TAGS) \
4079 || exit 1
4081 @endif bfd
4083 .PHONY: maybe-install-info-bfd install-info-bfd
4084 maybe-install-info-bfd:
4085 @if bfd
4086 maybe-install-info-bfd: install-info-bfd
4088 install-info-bfd: \
4089 configure-bfd \
4090 info-bfd
4091 @[ -f ./bfd/Makefile ] || exit 0; \
4092 r=`${PWD_COMMAND}`; export r; \
4093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4094 $(HOST_EXPORTS) \
4095 for flag in $(EXTRA_HOST_FLAGS) ; do \
4096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4097 done; \
4098 echo "Doing install-info in bfd"; \
4099 (cd $(HOST_SUBDIR)/bfd && \
4100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4102 "RANLIB=$${RANLIB}" \
4103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4104 install-info) \
4105 || exit 1
4107 @endif bfd
4109 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4110 maybe-install-pdf-bfd:
4111 @if bfd
4112 maybe-install-pdf-bfd: install-pdf-bfd
4114 install-pdf-bfd: \
4115 configure-bfd \
4116 pdf-bfd
4117 @[ -f ./bfd/Makefile ] || exit 0; \
4118 r=`${PWD_COMMAND}`; export r; \
4119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4120 $(HOST_EXPORTS) \
4121 for flag in $(EXTRA_HOST_FLAGS) ; do \
4122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4123 done; \
4124 echo "Doing install-pdf in bfd"; \
4125 (cd $(HOST_SUBDIR)/bfd && \
4126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4128 "RANLIB=$${RANLIB}" \
4129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4130 install-pdf) \
4131 || exit 1
4133 @endif bfd
4135 .PHONY: maybe-install-html-bfd install-html-bfd
4136 maybe-install-html-bfd:
4137 @if bfd
4138 maybe-install-html-bfd: install-html-bfd
4140 install-html-bfd: \
4141 configure-bfd \
4142 html-bfd
4143 @[ -f ./bfd/Makefile ] || exit 0; \
4144 r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4146 $(HOST_EXPORTS) \
4147 for flag in $(EXTRA_HOST_FLAGS) ; do \
4148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4149 done; \
4150 echo "Doing install-html in bfd"; \
4151 (cd $(HOST_SUBDIR)/bfd && \
4152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4154 "RANLIB=$${RANLIB}" \
4155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4156 install-html) \
4157 || exit 1
4159 @endif bfd
4161 .PHONY: maybe-installcheck-bfd installcheck-bfd
4162 maybe-installcheck-bfd:
4163 @if bfd
4164 maybe-installcheck-bfd: installcheck-bfd
4166 installcheck-bfd: \
4167 configure-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 installcheck 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 installcheck) \
4182 || exit 1
4184 @endif bfd
4186 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4187 maybe-mostlyclean-bfd:
4188 @if bfd
4189 maybe-mostlyclean-bfd: mostlyclean-bfd
4191 mostlyclean-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 mostlyclean 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 mostlyclean) \
4206 || exit 1
4208 @endif bfd
4210 .PHONY: maybe-clean-bfd clean-bfd
4211 maybe-clean-bfd:
4212 @if bfd
4213 maybe-clean-bfd: clean-bfd
4215 clean-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 clean 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 clean) \
4230 || exit 1
4232 @endif bfd
4234 .PHONY: maybe-distclean-bfd distclean-bfd
4235 maybe-distclean-bfd:
4236 @if bfd
4237 maybe-distclean-bfd: distclean-bfd
4239 distclean-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 distclean 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 distclean) \
4254 || exit 1
4256 @endif bfd
4258 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4259 maybe-maintainer-clean-bfd:
4260 @if bfd
4261 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4263 maintainer-clean-bfd:
4264 @[ -f ./bfd/Makefile ] || exit 0; \
4265 r=`${PWD_COMMAND}`; export r; \
4266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4267 $(HOST_EXPORTS) \
4268 for flag in $(EXTRA_HOST_FLAGS) ; do \
4269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4270 done; \
4271 echo "Doing maintainer-clean in bfd"; \
4272 (cd $(HOST_SUBDIR)/bfd && \
4273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4275 "RANLIB=$${RANLIB}" \
4276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4277 maintainer-clean) \
4278 || exit 1
4280 @endif bfd
4284 .PHONY: configure-opcodes maybe-configure-opcodes
4285 maybe-configure-opcodes:
4286 @if gcc-bootstrap
4287 configure-opcodes: stage_current
4288 @endif gcc-bootstrap
4289 @if opcodes
4290 maybe-configure-opcodes: configure-opcodes
4291 configure-opcodes:
4292 @r=`${PWD_COMMAND}`; export r; \
4293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4294 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4296 $(HOST_EXPORTS) \
4297 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4298 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4299 case $(srcdir) in \
4300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4301 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4303 esac; \
4304 module_srcdir=opcodes; \
4305 $(SHELL) \
4306 $$s/$$module_srcdir/configure \
4307 --srcdir=$${topdir}/$$module_srcdir \
4308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4309 --target=${target_alias} \
4310 || exit 1
4311 @endif opcodes
4315 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4316 maybe-configure-stage1-opcodes:
4317 @if opcodes-bootstrap
4318 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4319 configure-stage1-opcodes:
4320 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4322 @r=`${PWD_COMMAND}`; export r; \
4323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324 TFLAGS="$(STAGE1_TFLAGS)"; \
4325 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4326 $(HOST_EXPORTS) \
4327 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4328 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4329 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4330 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4332 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4333 case $(srcdir) in \
4334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4335 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4337 esac; \
4338 module_srcdir=opcodes; \
4339 $(SHELL) $$s/$$module_srcdir/configure \
4340 --srcdir=$${topdir}/$$module_srcdir \
4341 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4342 --target=${target_alias} \
4344 $(STAGE1_CONFIGURE_FLAGS)
4345 @endif opcodes-bootstrap
4347 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4348 maybe-configure-stage2-opcodes:
4349 @if opcodes-bootstrap
4350 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4351 configure-stage2-opcodes:
4352 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4354 @r=`${PWD_COMMAND}`; export r; \
4355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4356 TFLAGS="$(STAGE2_TFLAGS)"; \
4357 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4358 $(HOST_EXPORTS) \
4359 $(POSTSTAGE1_HOST_EXPORTS) \
4360 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4361 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4362 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4363 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4365 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4366 case $(srcdir) in \
4367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4368 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4370 esac; \
4371 module_srcdir=opcodes; \
4372 $(SHELL) $$s/$$module_srcdir/configure \
4373 --srcdir=$${topdir}/$$module_srcdir \
4374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4375 --target=${target_alias} \
4376 --with-build-libsubdir=$(HOST_SUBDIR) \
4377 $(STAGE2_CONFIGURE_FLAGS)
4378 @endif opcodes-bootstrap
4380 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4381 maybe-configure-stage3-opcodes:
4382 @if opcodes-bootstrap
4383 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4384 configure-stage3-opcodes:
4385 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4386 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4387 @r=`${PWD_COMMAND}`; export r; \
4388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4389 TFLAGS="$(STAGE3_TFLAGS)"; \
4390 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4391 $(HOST_EXPORTS) \
4392 $(POSTSTAGE1_HOST_EXPORTS) \
4393 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4394 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4395 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4396 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4398 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4399 case $(srcdir) in \
4400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4401 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4403 esac; \
4404 module_srcdir=opcodes; \
4405 $(SHELL) $$s/$$module_srcdir/configure \
4406 --srcdir=$${topdir}/$$module_srcdir \
4407 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4408 --target=${target_alias} \
4409 --with-build-libsubdir=$(HOST_SUBDIR) \
4410 $(STAGE3_CONFIGURE_FLAGS)
4411 @endif opcodes-bootstrap
4413 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4414 maybe-configure-stage4-opcodes:
4415 @if opcodes-bootstrap
4416 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4417 configure-stage4-opcodes:
4418 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4419 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4420 @r=`${PWD_COMMAND}`; export r; \
4421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4422 TFLAGS="$(STAGE4_TFLAGS)"; \
4423 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4424 $(HOST_EXPORTS) \
4425 $(POSTSTAGE1_HOST_EXPORTS) \
4426 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4427 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4428 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4429 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4431 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4432 case $(srcdir) in \
4433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4434 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4436 esac; \
4437 module_srcdir=opcodes; \
4438 $(SHELL) $$s/$$module_srcdir/configure \
4439 --srcdir=$${topdir}/$$module_srcdir \
4440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4441 --target=${target_alias} \
4442 --with-build-libsubdir=$(HOST_SUBDIR) \
4443 $(STAGE4_CONFIGURE_FLAGS)
4444 @endif opcodes-bootstrap
4446 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4447 maybe-configure-stageprofile-opcodes:
4448 @if opcodes-bootstrap
4449 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4450 configure-stageprofile-opcodes:
4451 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4452 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4453 @r=`${PWD_COMMAND}`; export r; \
4454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4455 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4456 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4457 $(HOST_EXPORTS) \
4458 $(POSTSTAGE1_HOST_EXPORTS) \
4459 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4460 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4461 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4462 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4464 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4465 case $(srcdir) in \
4466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4467 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4469 esac; \
4470 module_srcdir=opcodes; \
4471 $(SHELL) $$s/$$module_srcdir/configure \
4472 --srcdir=$${topdir}/$$module_srcdir \
4473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4474 --target=${target_alias} \
4475 --with-build-libsubdir=$(HOST_SUBDIR) \
4476 $(STAGEprofile_CONFIGURE_FLAGS)
4477 @endif opcodes-bootstrap
4479 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4480 maybe-configure-stagetrain-opcodes:
4481 @if opcodes-bootstrap
4482 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4483 configure-stagetrain-opcodes:
4484 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4486 @r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4488 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4489 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4490 $(HOST_EXPORTS) \
4491 $(POSTSTAGE1_HOST_EXPORTS) \
4492 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4493 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4494 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4495 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4497 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4498 case $(srcdir) in \
4499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4500 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4502 esac; \
4503 module_srcdir=opcodes; \
4504 $(SHELL) $$s/$$module_srcdir/configure \
4505 --srcdir=$${topdir}/$$module_srcdir \
4506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4507 --target=${target_alias} \
4508 --with-build-libsubdir=$(HOST_SUBDIR) \
4509 $(STAGEtrain_CONFIGURE_FLAGS)
4510 @endif opcodes-bootstrap
4512 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4513 maybe-configure-stagefeedback-opcodes:
4514 @if opcodes-bootstrap
4515 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4516 configure-stagefeedback-opcodes:
4517 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4519 @r=`${PWD_COMMAND}`; export r; \
4520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4521 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4522 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4523 $(HOST_EXPORTS) \
4524 $(POSTSTAGE1_HOST_EXPORTS) \
4525 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4526 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4527 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4528 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4530 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4531 case $(srcdir) in \
4532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4533 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4535 esac; \
4536 module_srcdir=opcodes; \
4537 $(SHELL) $$s/$$module_srcdir/configure \
4538 --srcdir=$${topdir}/$$module_srcdir \
4539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4540 --target=${target_alias} \
4541 --with-build-libsubdir=$(HOST_SUBDIR) \
4542 $(STAGEfeedback_CONFIGURE_FLAGS)
4543 @endif opcodes-bootstrap
4545 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4546 maybe-configure-stageautoprofile-opcodes:
4547 @if opcodes-bootstrap
4548 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4549 configure-stageautoprofile-opcodes:
4550 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4552 @r=`${PWD_COMMAND}`; export r; \
4553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4554 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4555 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4556 $(HOST_EXPORTS) \
4557 $(POSTSTAGE1_HOST_EXPORTS) \
4558 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4559 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4560 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4561 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4563 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4564 case $(srcdir) in \
4565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4566 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4568 esac; \
4569 module_srcdir=opcodes; \
4570 $(SHELL) $$s/$$module_srcdir/configure \
4571 --srcdir=$${topdir}/$$module_srcdir \
4572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4573 --target=${target_alias} \
4574 --with-build-libsubdir=$(HOST_SUBDIR) \
4575 $(STAGEautoprofile_CONFIGURE_FLAGS)
4576 @endif opcodes-bootstrap
4578 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4579 maybe-configure-stageautofeedback-opcodes:
4580 @if opcodes-bootstrap
4581 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4582 configure-stageautofeedback-opcodes:
4583 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4584 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4585 @r=`${PWD_COMMAND}`; export r; \
4586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4587 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4588 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4589 $(HOST_EXPORTS) \
4590 $(POSTSTAGE1_HOST_EXPORTS) \
4591 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4592 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4593 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4594 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4596 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4597 case $(srcdir) in \
4598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4599 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4601 esac; \
4602 module_srcdir=opcodes; \
4603 $(SHELL) $$s/$$module_srcdir/configure \
4604 --srcdir=$${topdir}/$$module_srcdir \
4605 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4606 --target=${target_alias} \
4607 --with-build-libsubdir=$(HOST_SUBDIR) \
4608 $(STAGEautofeedback_CONFIGURE_FLAGS)
4609 @endif opcodes-bootstrap
4615 .PHONY: all-opcodes maybe-all-opcodes
4616 maybe-all-opcodes:
4617 @if gcc-bootstrap
4618 all-opcodes: stage_current
4619 @endif gcc-bootstrap
4620 @if opcodes
4621 TARGET-opcodes=all
4622 maybe-all-opcodes: all-opcodes
4623 all-opcodes: configure-opcodes
4624 @r=`${PWD_COMMAND}`; export r; \
4625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4626 $(HOST_EXPORTS) \
4627 (cd $(HOST_SUBDIR)/opcodes && \
4628 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4629 $(TARGET-opcodes))
4630 @endif opcodes
4634 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4635 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4636 maybe-all-stage1-opcodes:
4637 maybe-clean-stage1-opcodes:
4638 @if opcodes-bootstrap
4639 maybe-all-stage1-opcodes: all-stage1-opcodes
4640 all-stage1: all-stage1-opcodes
4641 TARGET-stage1-opcodes = $(TARGET-opcodes)
4642 all-stage1-opcodes: configure-stage1-opcodes
4643 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4644 @r=`${PWD_COMMAND}`; export r; \
4645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4646 TFLAGS="$(STAGE1_TFLAGS)"; \
4647 $(HOST_EXPORTS) \
4648 cd $(HOST_SUBDIR)/opcodes && \
4650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4651 CFLAGS="$(STAGE1_CFLAGS)" \
4652 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4653 LIBCFLAGS="$(LIBCFLAGS)" \
4654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4657 $(EXTRA_HOST_FLAGS) \
4658 $(STAGE1_FLAGS_TO_PASS) \
4659 TFLAGS="$(STAGE1_TFLAGS)" \
4660 $(TARGET-stage1-opcodes)
4662 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4663 clean-stage1: clean-stage1-opcodes
4664 clean-stage1-opcodes:
4665 @if [ $(current_stage) = stage1 ]; then \
4666 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4667 else \
4668 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4669 $(MAKE) stage1-start; \
4670 fi; \
4671 cd $(HOST_SUBDIR)/opcodes && \
4672 $(MAKE) $(EXTRA_HOST_FLAGS) \
4673 $(STAGE1_FLAGS_TO_PASS) clean
4674 @endif opcodes-bootstrap
4677 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4678 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4679 maybe-all-stage2-opcodes:
4680 maybe-clean-stage2-opcodes:
4681 @if opcodes-bootstrap
4682 maybe-all-stage2-opcodes: all-stage2-opcodes
4683 all-stage2: all-stage2-opcodes
4684 TARGET-stage2-opcodes = $(TARGET-opcodes)
4685 all-stage2-opcodes: configure-stage2-opcodes
4686 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4687 @r=`${PWD_COMMAND}`; export r; \
4688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4689 TFLAGS="$(STAGE2_TFLAGS)"; \
4690 $(HOST_EXPORTS) \
4691 $(POSTSTAGE1_HOST_EXPORTS) \
4692 cd $(HOST_SUBDIR)/opcodes && \
4694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4695 CFLAGS="$(STAGE2_CFLAGS)" \
4696 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4697 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4701 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4702 TFLAGS="$(STAGE2_TFLAGS)" \
4703 $(TARGET-stage2-opcodes)
4705 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4706 clean-stage2: clean-stage2-opcodes
4707 clean-stage2-opcodes:
4708 @if [ $(current_stage) = stage2 ]; then \
4709 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4710 else \
4711 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4712 $(MAKE) stage2-start; \
4713 fi; \
4714 cd $(HOST_SUBDIR)/opcodes && \
4715 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4716 @endif opcodes-bootstrap
4719 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4720 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4721 maybe-all-stage3-opcodes:
4722 maybe-clean-stage3-opcodes:
4723 @if opcodes-bootstrap
4724 maybe-all-stage3-opcodes: all-stage3-opcodes
4725 all-stage3: all-stage3-opcodes
4726 TARGET-stage3-opcodes = $(TARGET-opcodes)
4727 all-stage3-opcodes: configure-stage3-opcodes
4728 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4729 @r=`${PWD_COMMAND}`; export r; \
4730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4731 TFLAGS="$(STAGE3_TFLAGS)"; \
4732 $(HOST_EXPORTS) \
4733 $(POSTSTAGE1_HOST_EXPORTS) \
4734 cd $(HOST_SUBDIR)/opcodes && \
4736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4737 CFLAGS="$(STAGE3_CFLAGS)" \
4738 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4739 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4744 TFLAGS="$(STAGE3_TFLAGS)" \
4745 $(TARGET-stage3-opcodes)
4747 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4748 clean-stage3: clean-stage3-opcodes
4749 clean-stage3-opcodes:
4750 @if [ $(current_stage) = stage3 ]; then \
4751 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4752 else \
4753 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4754 $(MAKE) stage3-start; \
4755 fi; \
4756 cd $(HOST_SUBDIR)/opcodes && \
4757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4758 @endif opcodes-bootstrap
4761 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4762 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4763 maybe-all-stage4-opcodes:
4764 maybe-clean-stage4-opcodes:
4765 @if opcodes-bootstrap
4766 maybe-all-stage4-opcodes: all-stage4-opcodes
4767 all-stage4: all-stage4-opcodes
4768 TARGET-stage4-opcodes = $(TARGET-opcodes)
4769 all-stage4-opcodes: configure-stage4-opcodes
4770 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4771 @r=`${PWD_COMMAND}`; export r; \
4772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4773 TFLAGS="$(STAGE4_TFLAGS)"; \
4774 $(HOST_EXPORTS) \
4775 $(POSTSTAGE1_HOST_EXPORTS) \
4776 cd $(HOST_SUBDIR)/opcodes && \
4778 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4779 CFLAGS="$(STAGE4_CFLAGS)" \
4780 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4781 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4782 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4783 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4784 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4785 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4786 TFLAGS="$(STAGE4_TFLAGS)" \
4787 $(TARGET-stage4-opcodes)
4789 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4790 clean-stage4: clean-stage4-opcodes
4791 clean-stage4-opcodes:
4792 @if [ $(current_stage) = stage4 ]; then \
4793 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4794 else \
4795 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4796 $(MAKE) stage4-start; \
4797 fi; \
4798 cd $(HOST_SUBDIR)/opcodes && \
4799 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4800 @endif opcodes-bootstrap
4803 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4804 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4805 maybe-all-stageprofile-opcodes:
4806 maybe-clean-stageprofile-opcodes:
4807 @if opcodes-bootstrap
4808 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4809 all-stageprofile: all-stageprofile-opcodes
4810 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4811 all-stageprofile-opcodes: configure-stageprofile-opcodes
4812 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4813 @r=`${PWD_COMMAND}`; export r; \
4814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4815 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4816 $(HOST_EXPORTS) \
4817 $(POSTSTAGE1_HOST_EXPORTS) \
4818 cd $(HOST_SUBDIR)/opcodes && \
4820 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4821 CFLAGS="$(STAGEprofile_CFLAGS)" \
4822 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4823 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4824 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4825 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4826 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4827 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4828 TFLAGS="$(STAGEprofile_TFLAGS)" \
4829 $(TARGET-stageprofile-opcodes)
4831 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4832 clean-stageprofile: clean-stageprofile-opcodes
4833 clean-stageprofile-opcodes:
4834 @if [ $(current_stage) = stageprofile ]; then \
4835 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4836 else \
4837 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4838 $(MAKE) stageprofile-start; \
4839 fi; \
4840 cd $(HOST_SUBDIR)/opcodes && \
4841 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4842 @endif opcodes-bootstrap
4845 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4846 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4847 maybe-all-stagetrain-opcodes:
4848 maybe-clean-stagetrain-opcodes:
4849 @if opcodes-bootstrap
4850 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4851 all-stagetrain: all-stagetrain-opcodes
4852 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4853 all-stagetrain-opcodes: configure-stagetrain-opcodes
4854 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4855 @r=`${PWD_COMMAND}`; export r; \
4856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4857 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4858 $(HOST_EXPORTS) \
4859 $(POSTSTAGE1_HOST_EXPORTS) \
4860 cd $(HOST_SUBDIR)/opcodes && \
4862 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4863 CFLAGS="$(STAGEtrain_CFLAGS)" \
4864 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4865 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4866 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4867 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4868 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4869 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4870 TFLAGS="$(STAGEtrain_TFLAGS)" \
4871 $(TARGET-stagetrain-opcodes)
4873 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4874 clean-stagetrain: clean-stagetrain-opcodes
4875 clean-stagetrain-opcodes:
4876 @if [ $(current_stage) = stagetrain ]; then \
4877 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4878 else \
4879 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4880 $(MAKE) stagetrain-start; \
4881 fi; \
4882 cd $(HOST_SUBDIR)/opcodes && \
4883 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4884 @endif opcodes-bootstrap
4887 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4888 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4889 maybe-all-stagefeedback-opcodes:
4890 maybe-clean-stagefeedback-opcodes:
4891 @if opcodes-bootstrap
4892 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4893 all-stagefeedback: all-stagefeedback-opcodes
4894 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4895 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4896 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4897 @r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4900 $(HOST_EXPORTS) \
4901 $(POSTSTAGE1_HOST_EXPORTS) \
4902 cd $(HOST_SUBDIR)/opcodes && \
4904 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4905 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4906 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4907 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4911 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4912 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4913 $(TARGET-stagefeedback-opcodes)
4915 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4916 clean-stagefeedback: clean-stagefeedback-opcodes
4917 clean-stagefeedback-opcodes:
4918 @if [ $(current_stage) = stagefeedback ]; then \
4919 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4920 else \
4921 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4922 $(MAKE) stagefeedback-start; \
4923 fi; \
4924 cd $(HOST_SUBDIR)/opcodes && \
4925 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4926 @endif opcodes-bootstrap
4929 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4930 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4931 maybe-all-stageautoprofile-opcodes:
4932 maybe-clean-stageautoprofile-opcodes:
4933 @if opcodes-bootstrap
4934 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4935 all-stageautoprofile: all-stageautoprofile-opcodes
4936 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4937 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4938 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4939 @r=`${PWD_COMMAND}`; export r; \
4940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4941 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4942 $(HOST_EXPORTS) \
4943 $(POSTSTAGE1_HOST_EXPORTS) \
4944 cd $(HOST_SUBDIR)/opcodes && \
4945 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4947 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4948 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4949 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4954 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4955 $(TARGET-stageautoprofile-opcodes)
4957 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4958 clean-stageautoprofile: clean-stageautoprofile-opcodes
4959 clean-stageautoprofile-opcodes:
4960 @if [ $(current_stage) = stageautoprofile ]; then \
4961 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4962 else \
4963 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4964 $(MAKE) stageautoprofile-start; \
4965 fi; \
4966 cd $(HOST_SUBDIR)/opcodes && \
4967 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4968 @endif opcodes-bootstrap
4971 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4972 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4973 maybe-all-stageautofeedback-opcodes:
4974 maybe-clean-stageautofeedback-opcodes:
4975 @if opcodes-bootstrap
4976 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
4977 all-stageautofeedback: all-stageautofeedback-opcodes
4978 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
4979 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4980 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4981 @r=`${PWD_COMMAND}`; export r; \
4982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4983 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4984 $(HOST_EXPORTS) \
4985 $(POSTSTAGE1_HOST_EXPORTS) \
4986 cd $(HOST_SUBDIR)/opcodes && \
4988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4989 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4990 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4991 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4992 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4993 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4994 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4995 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4996 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4997 $(TARGET-stageautofeedback-opcodes)
4999 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5000 clean-stageautofeedback: clean-stageautofeedback-opcodes
5001 clean-stageautofeedback-opcodes:
5002 @if [ $(current_stage) = stageautofeedback ]; then \
5003 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5004 else \
5005 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5006 $(MAKE) stageautofeedback-start; \
5007 fi; \
5008 cd $(HOST_SUBDIR)/opcodes && \
5009 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5010 @endif opcodes-bootstrap
5016 .PHONY: check-opcodes maybe-check-opcodes
5017 maybe-check-opcodes:
5018 @if opcodes
5019 maybe-check-opcodes: check-opcodes
5021 check-opcodes:
5022 @: $(MAKE); $(unstage)
5023 @r=`${PWD_COMMAND}`; export r; \
5024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5025 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5026 (cd $(HOST_SUBDIR)/opcodes && \
5027 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5029 @endif opcodes
5031 .PHONY: install-opcodes maybe-install-opcodes
5032 maybe-install-opcodes:
5033 @if opcodes
5034 maybe-install-opcodes: install-opcodes
5036 install-opcodes: installdirs
5037 @: $(MAKE); $(unstage)
5038 @r=`${PWD_COMMAND}`; export r; \
5039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5040 $(HOST_EXPORTS) \
5041 (cd $(HOST_SUBDIR)/opcodes && \
5042 $(MAKE) $(FLAGS_TO_PASS) install)
5044 @endif opcodes
5046 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5047 maybe-install-strip-opcodes:
5048 @if opcodes
5049 maybe-install-strip-opcodes: install-strip-opcodes
5051 install-strip-opcodes: installdirs
5052 @: $(MAKE); $(unstage)
5053 @r=`${PWD_COMMAND}`; export r; \
5054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5055 $(HOST_EXPORTS) \
5056 (cd $(HOST_SUBDIR)/opcodes && \
5057 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5059 @endif opcodes
5061 # Other targets (info, dvi, pdf, etc.)
5063 .PHONY: maybe-info-opcodes info-opcodes
5064 maybe-info-opcodes:
5065 @if opcodes
5066 maybe-info-opcodes: info-opcodes
5068 info-opcodes: \
5069 configure-opcodes
5070 @[ -f ./opcodes/Makefile ] || exit 0; \
5071 r=`${PWD_COMMAND}`; export r; \
5072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5073 $(HOST_EXPORTS) \
5074 for flag in $(EXTRA_HOST_FLAGS) ; do \
5075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5076 done; \
5077 echo "Doing info in opcodes"; \
5078 (cd $(HOST_SUBDIR)/opcodes && \
5079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5081 "RANLIB=$${RANLIB}" \
5082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5083 info) \
5084 || exit 1
5086 @endif opcodes
5088 .PHONY: maybe-dvi-opcodes dvi-opcodes
5089 maybe-dvi-opcodes:
5090 @if opcodes
5091 maybe-dvi-opcodes: dvi-opcodes
5093 dvi-opcodes: \
5094 configure-opcodes
5095 @[ -f ./opcodes/Makefile ] || exit 0; \
5096 r=`${PWD_COMMAND}`; export r; \
5097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5098 $(HOST_EXPORTS) \
5099 for flag in $(EXTRA_HOST_FLAGS) ; do \
5100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5101 done; \
5102 echo "Doing dvi in opcodes"; \
5103 (cd $(HOST_SUBDIR)/opcodes && \
5104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5106 "RANLIB=$${RANLIB}" \
5107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5108 dvi) \
5109 || exit 1
5111 @endif opcodes
5113 .PHONY: maybe-pdf-opcodes pdf-opcodes
5114 maybe-pdf-opcodes:
5115 @if opcodes
5116 maybe-pdf-opcodes: pdf-opcodes
5118 pdf-opcodes: \
5119 configure-opcodes
5120 @[ -f ./opcodes/Makefile ] || exit 0; \
5121 r=`${PWD_COMMAND}`; export r; \
5122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5123 $(HOST_EXPORTS) \
5124 for flag in $(EXTRA_HOST_FLAGS) ; do \
5125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5126 done; \
5127 echo "Doing pdf in opcodes"; \
5128 (cd $(HOST_SUBDIR)/opcodes && \
5129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5131 "RANLIB=$${RANLIB}" \
5132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5133 pdf) \
5134 || exit 1
5136 @endif opcodes
5138 .PHONY: maybe-html-opcodes html-opcodes
5139 maybe-html-opcodes:
5140 @if opcodes
5141 maybe-html-opcodes: html-opcodes
5143 html-opcodes: \
5144 configure-opcodes
5145 @[ -f ./opcodes/Makefile ] || exit 0; \
5146 r=`${PWD_COMMAND}`; export r; \
5147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148 $(HOST_EXPORTS) \
5149 for flag in $(EXTRA_HOST_FLAGS) ; do \
5150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5151 done; \
5152 echo "Doing html in opcodes"; \
5153 (cd $(HOST_SUBDIR)/opcodes && \
5154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5156 "RANLIB=$${RANLIB}" \
5157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5158 html) \
5159 || exit 1
5161 @endif opcodes
5163 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5164 maybe-TAGS-opcodes:
5165 @if opcodes
5166 maybe-TAGS-opcodes: TAGS-opcodes
5168 TAGS-opcodes: \
5169 configure-opcodes
5170 @[ -f ./opcodes/Makefile ] || exit 0; \
5171 r=`${PWD_COMMAND}`; export r; \
5172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173 $(HOST_EXPORTS) \
5174 for flag in $(EXTRA_HOST_FLAGS) ; do \
5175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5176 done; \
5177 echo "Doing TAGS in opcodes"; \
5178 (cd $(HOST_SUBDIR)/opcodes && \
5179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5181 "RANLIB=$${RANLIB}" \
5182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5183 TAGS) \
5184 || exit 1
5186 @endif opcodes
5188 .PHONY: maybe-install-info-opcodes install-info-opcodes
5189 maybe-install-info-opcodes:
5190 @if opcodes
5191 maybe-install-info-opcodes: install-info-opcodes
5193 install-info-opcodes: \
5194 configure-opcodes \
5195 info-opcodes
5196 @[ -f ./opcodes/Makefile ] || exit 0; \
5197 r=`${PWD_COMMAND}`; export r; \
5198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5199 $(HOST_EXPORTS) \
5200 for flag in $(EXTRA_HOST_FLAGS) ; do \
5201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5202 done; \
5203 echo "Doing install-info in opcodes"; \
5204 (cd $(HOST_SUBDIR)/opcodes && \
5205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5207 "RANLIB=$${RANLIB}" \
5208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5209 install-info) \
5210 || exit 1
5212 @endif opcodes
5214 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5215 maybe-install-pdf-opcodes:
5216 @if opcodes
5217 maybe-install-pdf-opcodes: install-pdf-opcodes
5219 install-pdf-opcodes: \
5220 configure-opcodes \
5221 pdf-opcodes
5222 @[ -f ./opcodes/Makefile ] || exit 0; \
5223 r=`${PWD_COMMAND}`; export r; \
5224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5225 $(HOST_EXPORTS) \
5226 for flag in $(EXTRA_HOST_FLAGS) ; do \
5227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5228 done; \
5229 echo "Doing install-pdf in opcodes"; \
5230 (cd $(HOST_SUBDIR)/opcodes && \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233 "RANLIB=$${RANLIB}" \
5234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5235 install-pdf) \
5236 || exit 1
5238 @endif opcodes
5240 .PHONY: maybe-install-html-opcodes install-html-opcodes
5241 maybe-install-html-opcodes:
5242 @if opcodes
5243 maybe-install-html-opcodes: install-html-opcodes
5245 install-html-opcodes: \
5246 configure-opcodes \
5247 html-opcodes
5248 @[ -f ./opcodes/Makefile ] || exit 0; \
5249 r=`${PWD_COMMAND}`; export r; \
5250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5251 $(HOST_EXPORTS) \
5252 for flag in $(EXTRA_HOST_FLAGS) ; do \
5253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5254 done; \
5255 echo "Doing install-html in opcodes"; \
5256 (cd $(HOST_SUBDIR)/opcodes && \
5257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5259 "RANLIB=$${RANLIB}" \
5260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5261 install-html) \
5262 || exit 1
5264 @endif opcodes
5266 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5267 maybe-installcheck-opcodes:
5268 @if opcodes
5269 maybe-installcheck-opcodes: installcheck-opcodes
5271 installcheck-opcodes: \
5272 configure-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 installcheck 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 installcheck) \
5287 || exit 1
5289 @endif opcodes
5291 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5292 maybe-mostlyclean-opcodes:
5293 @if opcodes
5294 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5296 mostlyclean-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 mostlyclean 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 mostlyclean) \
5311 || exit 1
5313 @endif opcodes
5315 .PHONY: maybe-clean-opcodes clean-opcodes
5316 maybe-clean-opcodes:
5317 @if opcodes
5318 maybe-clean-opcodes: clean-opcodes
5320 clean-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 clean 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 clean) \
5335 || exit 1
5337 @endif opcodes
5339 .PHONY: maybe-distclean-opcodes distclean-opcodes
5340 maybe-distclean-opcodes:
5341 @if opcodes
5342 maybe-distclean-opcodes: distclean-opcodes
5344 distclean-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 distclean 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 distclean) \
5359 || exit 1
5361 @endif opcodes
5363 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5364 maybe-maintainer-clean-opcodes:
5365 @if opcodes
5366 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5368 maintainer-clean-opcodes:
5369 @[ -f ./opcodes/Makefile ] || exit 0; \
5370 r=`${PWD_COMMAND}`; export r; \
5371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5372 $(HOST_EXPORTS) \
5373 for flag in $(EXTRA_HOST_FLAGS) ; do \
5374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5375 done; \
5376 echo "Doing maintainer-clean in opcodes"; \
5377 (cd $(HOST_SUBDIR)/opcodes && \
5378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5380 "RANLIB=$${RANLIB}" \
5381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5382 maintainer-clean) \
5383 || exit 1
5385 @endif opcodes
5389 .PHONY: configure-binutils maybe-configure-binutils
5390 maybe-configure-binutils:
5391 @if gcc-bootstrap
5392 configure-binutils: stage_current
5393 @endif gcc-bootstrap
5394 @if binutils
5395 maybe-configure-binutils: configure-binutils
5396 configure-binutils:
5397 @r=`${PWD_COMMAND}`; export r; \
5398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5399 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5401 $(HOST_EXPORTS) \
5402 echo Configuring in $(HOST_SUBDIR)/binutils; \
5403 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5404 case $(srcdir) in \
5405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5406 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5408 esac; \
5409 module_srcdir=binutils; \
5410 $(SHELL) \
5411 $$s/$$module_srcdir/configure \
5412 --srcdir=$${topdir}/$$module_srcdir \
5413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5414 --target=${target_alias} \
5415 || exit 1
5416 @endif binutils
5420 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5421 maybe-configure-stage1-binutils:
5422 @if binutils-bootstrap
5423 maybe-configure-stage1-binutils: configure-stage1-binutils
5424 configure-stage1-binutils:
5425 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5426 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5427 @r=`${PWD_COMMAND}`; export r; \
5428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5429 TFLAGS="$(STAGE1_TFLAGS)"; \
5430 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5431 $(HOST_EXPORTS) \
5432 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5433 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5434 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5435 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5437 cd $(HOST_SUBDIR)/binutils || exit 1; \
5438 case $(srcdir) in \
5439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5440 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5442 esac; \
5443 module_srcdir=binutils; \
5444 $(SHELL) $$s/$$module_srcdir/configure \
5445 --srcdir=$${topdir}/$$module_srcdir \
5446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5447 --target=${target_alias} \
5449 $(STAGE1_CONFIGURE_FLAGS)
5450 @endif binutils-bootstrap
5452 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5453 maybe-configure-stage2-binutils:
5454 @if binutils-bootstrap
5455 maybe-configure-stage2-binutils: configure-stage2-binutils
5456 configure-stage2-binutils:
5457 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5459 @r=`${PWD_COMMAND}`; export r; \
5460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5461 TFLAGS="$(STAGE2_TFLAGS)"; \
5462 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5463 $(HOST_EXPORTS) \
5464 $(POSTSTAGE1_HOST_EXPORTS) \
5465 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5466 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5467 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5468 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5470 cd $(HOST_SUBDIR)/binutils || exit 1; \
5471 case $(srcdir) in \
5472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5473 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5475 esac; \
5476 module_srcdir=binutils; \
5477 $(SHELL) $$s/$$module_srcdir/configure \
5478 --srcdir=$${topdir}/$$module_srcdir \
5479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5480 --target=${target_alias} \
5481 --with-build-libsubdir=$(HOST_SUBDIR) \
5482 $(STAGE2_CONFIGURE_FLAGS)
5483 @endif binutils-bootstrap
5485 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5486 maybe-configure-stage3-binutils:
5487 @if binutils-bootstrap
5488 maybe-configure-stage3-binutils: configure-stage3-binutils
5489 configure-stage3-binutils:
5490 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5492 @r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5494 TFLAGS="$(STAGE3_TFLAGS)"; \
5495 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5496 $(HOST_EXPORTS) \
5497 $(POSTSTAGE1_HOST_EXPORTS) \
5498 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5499 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5500 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5501 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5503 cd $(HOST_SUBDIR)/binutils || exit 1; \
5504 case $(srcdir) in \
5505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5506 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5508 esac; \
5509 module_srcdir=binutils; \
5510 $(SHELL) $$s/$$module_srcdir/configure \
5511 --srcdir=$${topdir}/$$module_srcdir \
5512 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5513 --target=${target_alias} \
5514 --with-build-libsubdir=$(HOST_SUBDIR) \
5515 $(STAGE3_CONFIGURE_FLAGS)
5516 @endif binutils-bootstrap
5518 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5519 maybe-configure-stage4-binutils:
5520 @if binutils-bootstrap
5521 maybe-configure-stage4-binutils: configure-stage4-binutils
5522 configure-stage4-binutils:
5523 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5524 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5525 @r=`${PWD_COMMAND}`; export r; \
5526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5527 TFLAGS="$(STAGE4_TFLAGS)"; \
5528 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5529 $(HOST_EXPORTS) \
5530 $(POSTSTAGE1_HOST_EXPORTS) \
5531 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5532 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5533 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5534 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5536 cd $(HOST_SUBDIR)/binutils || exit 1; \
5537 case $(srcdir) in \
5538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5539 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5541 esac; \
5542 module_srcdir=binutils; \
5543 $(SHELL) $$s/$$module_srcdir/configure \
5544 --srcdir=$${topdir}/$$module_srcdir \
5545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5546 --target=${target_alias} \
5547 --with-build-libsubdir=$(HOST_SUBDIR) \
5548 $(STAGE4_CONFIGURE_FLAGS)
5549 @endif binutils-bootstrap
5551 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5552 maybe-configure-stageprofile-binutils:
5553 @if binutils-bootstrap
5554 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5555 configure-stageprofile-binutils:
5556 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5558 @r=`${PWD_COMMAND}`; export r; \
5559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5560 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5561 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5562 $(HOST_EXPORTS) \
5563 $(POSTSTAGE1_HOST_EXPORTS) \
5564 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5565 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5566 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5567 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5569 cd $(HOST_SUBDIR)/binutils || exit 1; \
5570 case $(srcdir) in \
5571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5572 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5574 esac; \
5575 module_srcdir=binutils; \
5576 $(SHELL) $$s/$$module_srcdir/configure \
5577 --srcdir=$${topdir}/$$module_srcdir \
5578 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5579 --target=${target_alias} \
5580 --with-build-libsubdir=$(HOST_SUBDIR) \
5581 $(STAGEprofile_CONFIGURE_FLAGS)
5582 @endif binutils-bootstrap
5584 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5585 maybe-configure-stagetrain-binutils:
5586 @if binutils-bootstrap
5587 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5588 configure-stagetrain-binutils:
5589 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5591 @r=`${PWD_COMMAND}`; export r; \
5592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5593 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5594 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5595 $(HOST_EXPORTS) \
5596 $(POSTSTAGE1_HOST_EXPORTS) \
5597 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5598 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5599 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5600 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5602 cd $(HOST_SUBDIR)/binutils || exit 1; \
5603 case $(srcdir) in \
5604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5605 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5607 esac; \
5608 module_srcdir=binutils; \
5609 $(SHELL) $$s/$$module_srcdir/configure \
5610 --srcdir=$${topdir}/$$module_srcdir \
5611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5612 --target=${target_alias} \
5613 --with-build-libsubdir=$(HOST_SUBDIR) \
5614 $(STAGEtrain_CONFIGURE_FLAGS)
5615 @endif binutils-bootstrap
5617 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5618 maybe-configure-stagefeedback-binutils:
5619 @if binutils-bootstrap
5620 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5621 configure-stagefeedback-binutils:
5622 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5623 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5624 @r=`${PWD_COMMAND}`; export r; \
5625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5626 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5627 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5628 $(HOST_EXPORTS) \
5629 $(POSTSTAGE1_HOST_EXPORTS) \
5630 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5631 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5632 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5633 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5635 cd $(HOST_SUBDIR)/binutils || exit 1; \
5636 case $(srcdir) in \
5637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5638 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5640 esac; \
5641 module_srcdir=binutils; \
5642 $(SHELL) $$s/$$module_srcdir/configure \
5643 --srcdir=$${topdir}/$$module_srcdir \
5644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5645 --target=${target_alias} \
5646 --with-build-libsubdir=$(HOST_SUBDIR) \
5647 $(STAGEfeedback_CONFIGURE_FLAGS)
5648 @endif binutils-bootstrap
5650 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5651 maybe-configure-stageautoprofile-binutils:
5652 @if binutils-bootstrap
5653 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5654 configure-stageautoprofile-binutils:
5655 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5656 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5657 @r=`${PWD_COMMAND}`; export r; \
5658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5659 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5660 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5661 $(HOST_EXPORTS) \
5662 $(POSTSTAGE1_HOST_EXPORTS) \
5663 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5664 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5665 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5666 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5668 cd $(HOST_SUBDIR)/binutils || exit 1; \
5669 case $(srcdir) in \
5670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5671 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5673 esac; \
5674 module_srcdir=binutils; \
5675 $(SHELL) $$s/$$module_srcdir/configure \
5676 --srcdir=$${topdir}/$$module_srcdir \
5677 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5678 --target=${target_alias} \
5679 --with-build-libsubdir=$(HOST_SUBDIR) \
5680 $(STAGEautoprofile_CONFIGURE_FLAGS)
5681 @endif binutils-bootstrap
5683 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5684 maybe-configure-stageautofeedback-binutils:
5685 @if binutils-bootstrap
5686 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5687 configure-stageautofeedback-binutils:
5688 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5689 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5690 @r=`${PWD_COMMAND}`; export r; \
5691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5692 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5693 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5694 $(HOST_EXPORTS) \
5695 $(POSTSTAGE1_HOST_EXPORTS) \
5696 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5697 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5698 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5699 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5701 cd $(HOST_SUBDIR)/binutils || exit 1; \
5702 case $(srcdir) in \
5703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5704 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5706 esac; \
5707 module_srcdir=binutils; \
5708 $(SHELL) $$s/$$module_srcdir/configure \
5709 --srcdir=$${topdir}/$$module_srcdir \
5710 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5711 --target=${target_alias} \
5712 --with-build-libsubdir=$(HOST_SUBDIR) \
5713 $(STAGEautofeedback_CONFIGURE_FLAGS)
5714 @endif binutils-bootstrap
5720 .PHONY: all-binutils maybe-all-binutils
5721 maybe-all-binutils:
5722 @if gcc-bootstrap
5723 all-binutils: stage_current
5724 @endif gcc-bootstrap
5725 @if binutils
5726 TARGET-binutils=all
5727 maybe-all-binutils: all-binutils
5728 all-binutils: configure-binutils
5729 @r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5731 $(HOST_EXPORTS) \
5732 (cd $(HOST_SUBDIR)/binutils && \
5733 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5734 $(TARGET-binutils))
5735 @endif binutils
5739 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5740 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5741 maybe-all-stage1-binutils:
5742 maybe-clean-stage1-binutils:
5743 @if binutils-bootstrap
5744 maybe-all-stage1-binutils: all-stage1-binutils
5745 all-stage1: all-stage1-binutils
5746 TARGET-stage1-binutils = $(TARGET-binutils)
5747 all-stage1-binutils: configure-stage1-binutils
5748 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5749 @r=`${PWD_COMMAND}`; export r; \
5750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5751 TFLAGS="$(STAGE1_TFLAGS)"; \
5752 $(HOST_EXPORTS) \
5753 cd $(HOST_SUBDIR)/binutils && \
5755 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5756 CFLAGS="$(STAGE1_CFLAGS)" \
5757 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5758 LIBCFLAGS="$(LIBCFLAGS)" \
5759 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5760 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5761 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5762 $(EXTRA_HOST_FLAGS) \
5763 $(STAGE1_FLAGS_TO_PASS) \
5764 TFLAGS="$(STAGE1_TFLAGS)" \
5765 $(TARGET-stage1-binutils)
5767 maybe-clean-stage1-binutils: clean-stage1-binutils
5768 clean-stage1: clean-stage1-binutils
5769 clean-stage1-binutils:
5770 @if [ $(current_stage) = stage1 ]; then \
5771 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5772 else \
5773 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5774 $(MAKE) stage1-start; \
5775 fi; \
5776 cd $(HOST_SUBDIR)/binutils && \
5777 $(MAKE) $(EXTRA_HOST_FLAGS) \
5778 $(STAGE1_FLAGS_TO_PASS) clean
5779 @endif binutils-bootstrap
5782 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5783 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5784 maybe-all-stage2-binutils:
5785 maybe-clean-stage2-binutils:
5786 @if binutils-bootstrap
5787 maybe-all-stage2-binutils: all-stage2-binutils
5788 all-stage2: all-stage2-binutils
5789 TARGET-stage2-binutils = $(TARGET-binutils)
5790 all-stage2-binutils: configure-stage2-binutils
5791 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5792 @r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5794 TFLAGS="$(STAGE2_TFLAGS)"; \
5795 $(HOST_EXPORTS) \
5796 $(POSTSTAGE1_HOST_EXPORTS) \
5797 cd $(HOST_SUBDIR)/binutils && \
5799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5800 CFLAGS="$(STAGE2_CFLAGS)" \
5801 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5802 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5806 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5807 TFLAGS="$(STAGE2_TFLAGS)" \
5808 $(TARGET-stage2-binutils)
5810 maybe-clean-stage2-binutils: clean-stage2-binutils
5811 clean-stage2: clean-stage2-binutils
5812 clean-stage2-binutils:
5813 @if [ $(current_stage) = stage2 ]; then \
5814 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5815 else \
5816 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5817 $(MAKE) stage2-start; \
5818 fi; \
5819 cd $(HOST_SUBDIR)/binutils && \
5820 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5821 @endif binutils-bootstrap
5824 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5825 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5826 maybe-all-stage3-binutils:
5827 maybe-clean-stage3-binutils:
5828 @if binutils-bootstrap
5829 maybe-all-stage3-binutils: all-stage3-binutils
5830 all-stage3: all-stage3-binutils
5831 TARGET-stage3-binutils = $(TARGET-binutils)
5832 all-stage3-binutils: configure-stage3-binutils
5833 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5834 @r=`${PWD_COMMAND}`; export r; \
5835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5836 TFLAGS="$(STAGE3_TFLAGS)"; \
5837 $(HOST_EXPORTS) \
5838 $(POSTSTAGE1_HOST_EXPORTS) \
5839 cd $(HOST_SUBDIR)/binutils && \
5841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5842 CFLAGS="$(STAGE3_CFLAGS)" \
5843 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5844 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5848 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5849 TFLAGS="$(STAGE3_TFLAGS)" \
5850 $(TARGET-stage3-binutils)
5852 maybe-clean-stage3-binutils: clean-stage3-binutils
5853 clean-stage3: clean-stage3-binutils
5854 clean-stage3-binutils:
5855 @if [ $(current_stage) = stage3 ]; then \
5856 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5857 else \
5858 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5859 $(MAKE) stage3-start; \
5860 fi; \
5861 cd $(HOST_SUBDIR)/binutils && \
5862 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5863 @endif binutils-bootstrap
5866 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5867 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5868 maybe-all-stage4-binutils:
5869 maybe-clean-stage4-binutils:
5870 @if binutils-bootstrap
5871 maybe-all-stage4-binutils: all-stage4-binutils
5872 all-stage4: all-stage4-binutils
5873 TARGET-stage4-binutils = $(TARGET-binutils)
5874 all-stage4-binutils: configure-stage4-binutils
5875 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5876 @r=`${PWD_COMMAND}`; export r; \
5877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5878 TFLAGS="$(STAGE4_TFLAGS)"; \
5879 $(HOST_EXPORTS) \
5880 $(POSTSTAGE1_HOST_EXPORTS) \
5881 cd $(HOST_SUBDIR)/binutils && \
5883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5884 CFLAGS="$(STAGE4_CFLAGS)" \
5885 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5886 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5890 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5891 TFLAGS="$(STAGE4_TFLAGS)" \
5892 $(TARGET-stage4-binutils)
5894 maybe-clean-stage4-binutils: clean-stage4-binutils
5895 clean-stage4: clean-stage4-binutils
5896 clean-stage4-binutils:
5897 @if [ $(current_stage) = stage4 ]; then \
5898 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5899 else \
5900 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5901 $(MAKE) stage4-start; \
5902 fi; \
5903 cd $(HOST_SUBDIR)/binutils && \
5904 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5905 @endif binutils-bootstrap
5908 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5909 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5910 maybe-all-stageprofile-binutils:
5911 maybe-clean-stageprofile-binutils:
5912 @if binutils-bootstrap
5913 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5914 all-stageprofile: all-stageprofile-binutils
5915 TARGET-stageprofile-binutils = $(TARGET-binutils)
5916 all-stageprofile-binutils: configure-stageprofile-binutils
5917 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5918 @r=`${PWD_COMMAND}`; export r; \
5919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5920 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5921 $(HOST_EXPORTS) \
5922 $(POSTSTAGE1_HOST_EXPORTS) \
5923 cd $(HOST_SUBDIR)/binutils && \
5925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5926 CFLAGS="$(STAGEprofile_CFLAGS)" \
5927 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5928 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5932 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5933 TFLAGS="$(STAGEprofile_TFLAGS)" \
5934 $(TARGET-stageprofile-binutils)
5936 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5937 clean-stageprofile: clean-stageprofile-binutils
5938 clean-stageprofile-binutils:
5939 @if [ $(current_stage) = stageprofile ]; then \
5940 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5941 else \
5942 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5943 $(MAKE) stageprofile-start; \
5944 fi; \
5945 cd $(HOST_SUBDIR)/binutils && \
5946 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5947 @endif binutils-bootstrap
5950 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
5951 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
5952 maybe-all-stagetrain-binutils:
5953 maybe-clean-stagetrain-binutils:
5954 @if binutils-bootstrap
5955 maybe-all-stagetrain-binutils: all-stagetrain-binutils
5956 all-stagetrain: all-stagetrain-binutils
5957 TARGET-stagetrain-binutils = $(TARGET-binutils)
5958 all-stagetrain-binutils: configure-stagetrain-binutils
5959 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5960 @r=`${PWD_COMMAND}`; export r; \
5961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5962 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5963 $(HOST_EXPORTS) \
5964 $(POSTSTAGE1_HOST_EXPORTS) \
5965 cd $(HOST_SUBDIR)/binutils && \
5967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5968 CFLAGS="$(STAGEtrain_CFLAGS)" \
5969 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5970 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
5971 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5972 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5973 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5974 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5975 TFLAGS="$(STAGEtrain_TFLAGS)" \
5976 $(TARGET-stagetrain-binutils)
5978 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
5979 clean-stagetrain: clean-stagetrain-binutils
5980 clean-stagetrain-binutils:
5981 @if [ $(current_stage) = stagetrain ]; then \
5982 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5983 else \
5984 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
5985 $(MAKE) stagetrain-start; \
5986 fi; \
5987 cd $(HOST_SUBDIR)/binutils && \
5988 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5989 @endif binutils-bootstrap
5992 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5993 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5994 maybe-all-stagefeedback-binutils:
5995 maybe-clean-stagefeedback-binutils:
5996 @if binutils-bootstrap
5997 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5998 all-stagefeedback: all-stagefeedback-binutils
5999 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6000 all-stagefeedback-binutils: configure-stagefeedback-binutils
6001 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6002 @r=`${PWD_COMMAND}`; export r; \
6003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6004 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6005 $(HOST_EXPORTS) \
6006 $(POSTSTAGE1_HOST_EXPORTS) \
6007 cd $(HOST_SUBDIR)/binutils && \
6009 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6010 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6011 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6012 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6017 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6018 $(TARGET-stagefeedback-binutils)
6020 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6021 clean-stagefeedback: clean-stagefeedback-binutils
6022 clean-stagefeedback-binutils:
6023 @if [ $(current_stage) = stagefeedback ]; then \
6024 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6025 else \
6026 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6027 $(MAKE) stagefeedback-start; \
6028 fi; \
6029 cd $(HOST_SUBDIR)/binutils && \
6030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6031 @endif binutils-bootstrap
6034 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6035 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6036 maybe-all-stageautoprofile-binutils:
6037 maybe-clean-stageautoprofile-binutils:
6038 @if binutils-bootstrap
6039 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6040 all-stageautoprofile: all-stageautoprofile-binutils
6041 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6042 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6043 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6044 @r=`${PWD_COMMAND}`; export r; \
6045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6046 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6047 $(HOST_EXPORTS) \
6048 $(POSTSTAGE1_HOST_EXPORTS) \
6049 cd $(HOST_SUBDIR)/binutils && \
6050 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6052 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6053 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6054 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6059 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6060 $(TARGET-stageautoprofile-binutils)
6062 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6063 clean-stageautoprofile: clean-stageautoprofile-binutils
6064 clean-stageautoprofile-binutils:
6065 @if [ $(current_stage) = stageautoprofile ]; then \
6066 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6067 else \
6068 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6069 $(MAKE) stageautoprofile-start; \
6070 fi; \
6071 cd $(HOST_SUBDIR)/binutils && \
6072 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6073 @endif binutils-bootstrap
6076 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6077 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6078 maybe-all-stageautofeedback-binutils:
6079 maybe-clean-stageautofeedback-binutils:
6080 @if binutils-bootstrap
6081 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6082 all-stageautofeedback: all-stageautofeedback-binutils
6083 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6084 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6085 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6086 @r=`${PWD_COMMAND}`; export r; \
6087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6088 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6089 $(HOST_EXPORTS) \
6090 $(POSTSTAGE1_HOST_EXPORTS) \
6091 cd $(HOST_SUBDIR)/binutils && \
6093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6094 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6095 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6096 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6101 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6102 $(TARGET-stageautofeedback-binutils)
6104 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6105 clean-stageautofeedback: clean-stageautofeedback-binutils
6106 clean-stageautofeedback-binutils:
6107 @if [ $(current_stage) = stageautofeedback ]; then \
6108 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6109 else \
6110 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6111 $(MAKE) stageautofeedback-start; \
6112 fi; \
6113 cd $(HOST_SUBDIR)/binutils && \
6114 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6115 @endif binutils-bootstrap
6121 .PHONY: check-binutils maybe-check-binutils
6122 maybe-check-binutils:
6123 @if binutils
6124 maybe-check-binutils: check-binutils
6126 check-binutils:
6127 @: $(MAKE); $(unstage)
6128 @r=`${PWD_COMMAND}`; export r; \
6129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6130 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6131 (cd $(HOST_SUBDIR)/binutils && \
6132 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6134 @endif binutils
6136 .PHONY: install-binutils maybe-install-binutils
6137 maybe-install-binutils:
6138 @if binutils
6139 maybe-install-binutils: install-binutils
6141 install-binutils: installdirs
6142 @: $(MAKE); $(unstage)
6143 @r=`${PWD_COMMAND}`; export r; \
6144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6145 $(HOST_EXPORTS) \
6146 (cd $(HOST_SUBDIR)/binutils && \
6147 $(MAKE) $(FLAGS_TO_PASS) install)
6149 @endif binutils
6151 .PHONY: install-strip-binutils maybe-install-strip-binutils
6152 maybe-install-strip-binutils:
6153 @if binutils
6154 maybe-install-strip-binutils: install-strip-binutils
6156 install-strip-binutils: installdirs
6157 @: $(MAKE); $(unstage)
6158 @r=`${PWD_COMMAND}`; export r; \
6159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6160 $(HOST_EXPORTS) \
6161 (cd $(HOST_SUBDIR)/binutils && \
6162 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6164 @endif binutils
6166 # Other targets (info, dvi, pdf, etc.)
6168 .PHONY: maybe-info-binutils info-binutils
6169 maybe-info-binutils:
6170 @if binutils
6171 maybe-info-binutils: info-binutils
6173 info-binutils: \
6174 configure-binutils
6175 @[ -f ./binutils/Makefile ] || exit 0; \
6176 r=`${PWD_COMMAND}`; export r; \
6177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6178 $(HOST_EXPORTS) \
6179 for flag in $(EXTRA_HOST_FLAGS) ; do \
6180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6181 done; \
6182 echo "Doing info in binutils"; \
6183 (cd $(HOST_SUBDIR)/binutils && \
6184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6186 "RANLIB=$${RANLIB}" \
6187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6188 info) \
6189 || exit 1
6191 @endif binutils
6193 .PHONY: maybe-dvi-binutils dvi-binutils
6194 maybe-dvi-binutils:
6195 @if binutils
6196 maybe-dvi-binutils: dvi-binutils
6198 dvi-binutils: \
6199 configure-binutils
6200 @[ -f ./binutils/Makefile ] || exit 0; \
6201 r=`${PWD_COMMAND}`; export r; \
6202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6203 $(HOST_EXPORTS) \
6204 for flag in $(EXTRA_HOST_FLAGS) ; do \
6205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6206 done; \
6207 echo "Doing dvi in binutils"; \
6208 (cd $(HOST_SUBDIR)/binutils && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6213 dvi) \
6214 || exit 1
6216 @endif binutils
6218 .PHONY: maybe-pdf-binutils pdf-binutils
6219 maybe-pdf-binutils:
6220 @if binutils
6221 maybe-pdf-binutils: pdf-binutils
6223 pdf-binutils: \
6224 configure-binutils
6225 @[ -f ./binutils/Makefile ] || exit 0; \
6226 r=`${PWD_COMMAND}`; export r; \
6227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6228 $(HOST_EXPORTS) \
6229 for flag in $(EXTRA_HOST_FLAGS) ; do \
6230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6231 done; \
6232 echo "Doing pdf in binutils"; \
6233 (cd $(HOST_SUBDIR)/binutils && \
6234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6236 "RANLIB=$${RANLIB}" \
6237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6238 pdf) \
6239 || exit 1
6241 @endif binutils
6243 .PHONY: maybe-html-binutils html-binutils
6244 maybe-html-binutils:
6245 @if binutils
6246 maybe-html-binutils: html-binutils
6248 html-binutils: \
6249 configure-binutils
6250 @[ -f ./binutils/Makefile ] || exit 0; \
6251 r=`${PWD_COMMAND}`; export r; \
6252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6253 $(HOST_EXPORTS) \
6254 for flag in $(EXTRA_HOST_FLAGS) ; do \
6255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6256 done; \
6257 echo "Doing html in binutils"; \
6258 (cd $(HOST_SUBDIR)/binutils && \
6259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6261 "RANLIB=$${RANLIB}" \
6262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6263 html) \
6264 || exit 1
6266 @endif binutils
6268 .PHONY: maybe-TAGS-binutils TAGS-binutils
6269 maybe-TAGS-binutils:
6270 @if binutils
6271 maybe-TAGS-binutils: TAGS-binutils
6273 TAGS-binutils: \
6274 configure-binutils
6275 @[ -f ./binutils/Makefile ] || exit 0; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(HOST_EXPORTS) \
6279 for flag in $(EXTRA_HOST_FLAGS) ; do \
6280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6281 done; \
6282 echo "Doing TAGS in binutils"; \
6283 (cd $(HOST_SUBDIR)/binutils && \
6284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6286 "RANLIB=$${RANLIB}" \
6287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6288 TAGS) \
6289 || exit 1
6291 @endif binutils
6293 .PHONY: maybe-install-info-binutils install-info-binutils
6294 maybe-install-info-binutils:
6295 @if binutils
6296 maybe-install-info-binutils: install-info-binutils
6298 install-info-binutils: \
6299 configure-binutils \
6300 info-binutils
6301 @[ -f ./binutils/Makefile ] || exit 0; \
6302 r=`${PWD_COMMAND}`; export r; \
6303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6304 $(HOST_EXPORTS) \
6305 for flag in $(EXTRA_HOST_FLAGS) ; do \
6306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6307 done; \
6308 echo "Doing install-info in binutils"; \
6309 (cd $(HOST_SUBDIR)/binutils && \
6310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6312 "RANLIB=$${RANLIB}" \
6313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6314 install-info) \
6315 || exit 1
6317 @endif binutils
6319 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6320 maybe-install-pdf-binutils:
6321 @if binutils
6322 maybe-install-pdf-binutils: install-pdf-binutils
6324 install-pdf-binutils: \
6325 configure-binutils \
6326 pdf-binutils
6327 @[ -f ./binutils/Makefile ] || exit 0; \
6328 r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 $(HOST_EXPORTS) \
6331 for flag in $(EXTRA_HOST_FLAGS) ; do \
6332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6333 done; \
6334 echo "Doing install-pdf in binutils"; \
6335 (cd $(HOST_SUBDIR)/binutils && \
6336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338 "RANLIB=$${RANLIB}" \
6339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6340 install-pdf) \
6341 || exit 1
6343 @endif binutils
6345 .PHONY: maybe-install-html-binutils install-html-binutils
6346 maybe-install-html-binutils:
6347 @if binutils
6348 maybe-install-html-binutils: install-html-binutils
6350 install-html-binutils: \
6351 configure-binutils \
6352 html-binutils
6353 @[ -f ./binutils/Makefile ] || exit 0; \
6354 r=`${PWD_COMMAND}`; export r; \
6355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6356 $(HOST_EXPORTS) \
6357 for flag in $(EXTRA_HOST_FLAGS) ; do \
6358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6359 done; \
6360 echo "Doing install-html in binutils"; \
6361 (cd $(HOST_SUBDIR)/binutils && \
6362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6364 "RANLIB=$${RANLIB}" \
6365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6366 install-html) \
6367 || exit 1
6369 @endif binutils
6371 .PHONY: maybe-installcheck-binutils installcheck-binutils
6372 maybe-installcheck-binutils:
6373 @if binutils
6374 maybe-installcheck-binutils: installcheck-binutils
6376 installcheck-binutils: \
6377 configure-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 installcheck 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 installcheck) \
6392 || exit 1
6394 @endif binutils
6396 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6397 maybe-mostlyclean-binutils:
6398 @if binutils
6399 maybe-mostlyclean-binutils: mostlyclean-binutils
6401 mostlyclean-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 mostlyclean 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 mostlyclean) \
6416 || exit 1
6418 @endif binutils
6420 .PHONY: maybe-clean-binutils clean-binutils
6421 maybe-clean-binutils:
6422 @if binutils
6423 maybe-clean-binutils: clean-binutils
6425 clean-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 clean 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 clean) \
6440 || exit 1
6442 @endif binutils
6444 .PHONY: maybe-distclean-binutils distclean-binutils
6445 maybe-distclean-binutils:
6446 @if binutils
6447 maybe-distclean-binutils: distclean-binutils
6449 distclean-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 distclean 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 distclean) \
6464 || exit 1
6466 @endif binutils
6468 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6469 maybe-maintainer-clean-binutils:
6470 @if binutils
6471 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6473 maintainer-clean-binutils:
6474 @[ -f ./binutils/Makefile ] || exit 0; \
6475 r=`${PWD_COMMAND}`; export r; \
6476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6477 $(HOST_EXPORTS) \
6478 for flag in $(EXTRA_HOST_FLAGS) ; do \
6479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6480 done; \
6481 echo "Doing maintainer-clean in binutils"; \
6482 (cd $(HOST_SUBDIR)/binutils && \
6483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6485 "RANLIB=$${RANLIB}" \
6486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6487 maintainer-clean) \
6488 || exit 1
6490 @endif binutils
6494 .PHONY: configure-bison maybe-configure-bison
6495 maybe-configure-bison:
6496 @if gcc-bootstrap
6497 configure-bison: stage_current
6498 @endif gcc-bootstrap
6499 @if bison
6500 maybe-configure-bison: configure-bison
6501 configure-bison:
6502 @: $(MAKE); $(unstage)
6503 @r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6507 $(HOST_EXPORTS) \
6508 echo Configuring in $(HOST_SUBDIR)/bison; \
6509 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6510 case $(srcdir) in \
6511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6512 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6514 esac; \
6515 module_srcdir=bison; \
6516 $(SHELL) \
6517 $$s/$$module_srcdir/configure \
6518 --srcdir=$${topdir}/$$module_srcdir \
6519 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6520 --target=${target_alias} \
6521 || exit 1
6522 @endif bison
6528 .PHONY: all-bison maybe-all-bison
6529 maybe-all-bison:
6530 @if gcc-bootstrap
6531 all-bison: stage_current
6532 @endif gcc-bootstrap
6533 @if bison
6534 TARGET-bison=all
6535 maybe-all-bison: all-bison
6536 all-bison: configure-bison
6537 @: $(MAKE); $(unstage)
6538 @r=`${PWD_COMMAND}`; export r; \
6539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6540 $(HOST_EXPORTS) \
6541 (cd $(HOST_SUBDIR)/bison && \
6542 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6543 $(TARGET-bison))
6544 @endif bison
6549 .PHONY: check-bison maybe-check-bison
6550 maybe-check-bison:
6551 @if bison
6552 maybe-check-bison: check-bison
6554 # This module is only tested in a native toolchain.
6555 check-bison:
6556 @: $(MAKE); $(unstage)
6557 @if [ '$(host)' = '$(target)' ]; then \
6558 r=`${PWD_COMMAND}`; export r; \
6559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6560 $(HOST_EXPORTS) \
6561 (cd $(HOST_SUBDIR)/bison && \
6562 $(MAKE) $(FLAGS_TO_PASS) check)
6565 @endif bison
6567 .PHONY: install-bison maybe-install-bison
6568 maybe-install-bison:
6569 @if bison
6570 maybe-install-bison: install-bison
6572 install-bison: installdirs
6573 @: $(MAKE); $(unstage)
6574 @r=`${PWD_COMMAND}`; export r; \
6575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 $(HOST_EXPORTS) \
6577 (cd $(HOST_SUBDIR)/bison && \
6578 $(MAKE) $(FLAGS_TO_PASS) install)
6580 @endif bison
6582 .PHONY: install-strip-bison maybe-install-strip-bison
6583 maybe-install-strip-bison:
6584 @if bison
6585 maybe-install-strip-bison: install-strip-bison
6587 install-strip-bison: installdirs
6588 @: $(MAKE); $(unstage)
6589 @r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6591 $(HOST_EXPORTS) \
6592 (cd $(HOST_SUBDIR)/bison && \
6593 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6595 @endif bison
6597 # Other targets (info, dvi, pdf, etc.)
6599 .PHONY: maybe-info-bison info-bison
6600 maybe-info-bison:
6601 @if bison
6602 maybe-info-bison: info-bison
6604 info-bison: \
6605 configure-bison
6606 @: $(MAKE); $(unstage)
6607 @[ -f ./bison/Makefile ] || exit 0; \
6608 r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 $(HOST_EXPORTS) \
6611 for flag in $(EXTRA_HOST_FLAGS) ; do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 done; \
6614 echo "Doing info in bison"; \
6615 (cd $(HOST_SUBDIR)/bison && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6620 info) \
6621 || exit 1
6623 @endif bison
6625 .PHONY: maybe-dvi-bison dvi-bison
6626 maybe-dvi-bison:
6627 @if bison
6628 maybe-dvi-bison: dvi-bison
6630 dvi-bison: \
6631 configure-bison
6632 @: $(MAKE); $(unstage)
6633 @[ -f ./bison/Makefile ] || exit 0; \
6634 r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636 $(HOST_EXPORTS) \
6637 for flag in $(EXTRA_HOST_FLAGS) ; do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639 done; \
6640 echo "Doing dvi in bison"; \
6641 (cd $(HOST_SUBDIR)/bison && \
6642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644 "RANLIB=$${RANLIB}" \
6645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6646 dvi) \
6647 || exit 1
6649 @endif bison
6651 .PHONY: maybe-pdf-bison pdf-bison
6652 maybe-pdf-bison:
6653 @if bison
6654 maybe-pdf-bison: pdf-bison
6656 pdf-bison: \
6657 configure-bison
6658 @: $(MAKE); $(unstage)
6659 @[ -f ./bison/Makefile ] || exit 0; \
6660 r=`${PWD_COMMAND}`; export r; \
6661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6662 $(HOST_EXPORTS) \
6663 for flag in $(EXTRA_HOST_FLAGS) ; do \
6664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6665 done; \
6666 echo "Doing pdf in bison"; \
6667 (cd $(HOST_SUBDIR)/bison && \
6668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6670 "RANLIB=$${RANLIB}" \
6671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6672 pdf) \
6673 || exit 1
6675 @endif bison
6677 .PHONY: maybe-html-bison html-bison
6678 maybe-html-bison:
6679 @if bison
6680 maybe-html-bison: html-bison
6682 html-bison: \
6683 configure-bison
6684 @: $(MAKE); $(unstage)
6685 @[ -f ./bison/Makefile ] || exit 0; \
6686 r=`${PWD_COMMAND}`; export r; \
6687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6688 $(HOST_EXPORTS) \
6689 for flag in $(EXTRA_HOST_FLAGS) ; do \
6690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6691 done; \
6692 echo "Doing html in bison"; \
6693 (cd $(HOST_SUBDIR)/bison && \
6694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6696 "RANLIB=$${RANLIB}" \
6697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6698 html) \
6699 || exit 1
6701 @endif bison
6703 .PHONY: maybe-TAGS-bison TAGS-bison
6704 maybe-TAGS-bison:
6705 @if bison
6706 maybe-TAGS-bison: TAGS-bison
6708 TAGS-bison: \
6709 configure-bison
6710 @: $(MAKE); $(unstage)
6711 @[ -f ./bison/Makefile ] || exit 0; \
6712 r=`${PWD_COMMAND}`; export r; \
6713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6714 $(HOST_EXPORTS) \
6715 for flag in $(EXTRA_HOST_FLAGS) ; do \
6716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6717 done; \
6718 echo "Doing TAGS in bison"; \
6719 (cd $(HOST_SUBDIR)/bison && \
6720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6722 "RANLIB=$${RANLIB}" \
6723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6724 TAGS) \
6725 || exit 1
6727 @endif bison
6729 .PHONY: maybe-install-info-bison install-info-bison
6730 maybe-install-info-bison:
6731 @if bison
6732 maybe-install-info-bison: install-info-bison
6734 install-info-bison: \
6735 configure-bison \
6736 info-bison
6737 @: $(MAKE); $(unstage)
6738 @[ -f ./bison/Makefile ] || exit 0; \
6739 r=`${PWD_COMMAND}`; export r; \
6740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6741 $(HOST_EXPORTS) \
6742 for flag in $(EXTRA_HOST_FLAGS) ; do \
6743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6744 done; \
6745 echo "Doing install-info in bison"; \
6746 (cd $(HOST_SUBDIR)/bison && \
6747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6749 "RANLIB=$${RANLIB}" \
6750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6751 install-info) \
6752 || exit 1
6754 @endif bison
6756 .PHONY: maybe-install-pdf-bison install-pdf-bison
6757 maybe-install-pdf-bison:
6758 @if bison
6759 maybe-install-pdf-bison: install-pdf-bison
6761 install-pdf-bison: \
6762 configure-bison \
6763 pdf-bison
6764 @: $(MAKE); $(unstage)
6765 @[ -f ./bison/Makefile ] || exit 0; \
6766 r=`${PWD_COMMAND}`; export r; \
6767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6768 $(HOST_EXPORTS) \
6769 for flag in $(EXTRA_HOST_FLAGS) ; do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771 done; \
6772 echo "Doing install-pdf in bison"; \
6773 (cd $(HOST_SUBDIR)/bison && \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6778 install-pdf) \
6779 || exit 1
6781 @endif bison
6783 .PHONY: maybe-install-html-bison install-html-bison
6784 maybe-install-html-bison:
6785 @if bison
6786 maybe-install-html-bison: install-html-bison
6788 install-html-bison: \
6789 configure-bison \
6790 html-bison
6791 @: $(MAKE); $(unstage)
6792 @[ -f ./bison/Makefile ] || exit 0; \
6793 r=`${PWD_COMMAND}`; export r; \
6794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6795 $(HOST_EXPORTS) \
6796 for flag in $(EXTRA_HOST_FLAGS) ; do \
6797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6798 done; \
6799 echo "Doing install-html in bison"; \
6800 (cd $(HOST_SUBDIR)/bison && \
6801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6803 "RANLIB=$${RANLIB}" \
6804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6805 install-html) \
6806 || exit 1
6808 @endif bison
6810 .PHONY: maybe-installcheck-bison installcheck-bison
6811 maybe-installcheck-bison:
6812 @if bison
6813 maybe-installcheck-bison: installcheck-bison
6815 installcheck-bison: \
6816 configure-bison
6817 @: $(MAKE); $(unstage)
6818 @[ -f ./bison/Makefile ] || exit 0; \
6819 r=`${PWD_COMMAND}`; export r; \
6820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6821 $(HOST_EXPORTS) \
6822 for flag in $(EXTRA_HOST_FLAGS) ; do \
6823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6824 done; \
6825 echo "Doing installcheck in bison"; \
6826 (cd $(HOST_SUBDIR)/bison && \
6827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6829 "RANLIB=$${RANLIB}" \
6830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6831 installcheck) \
6832 || exit 1
6834 @endif bison
6836 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6837 maybe-mostlyclean-bison:
6838 @if bison
6839 maybe-mostlyclean-bison: mostlyclean-bison
6841 mostlyclean-bison:
6842 @: $(MAKE); $(unstage)
6843 @[ -f ./bison/Makefile ] || exit 0; \
6844 r=`${PWD_COMMAND}`; export r; \
6845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6846 $(HOST_EXPORTS) \
6847 for flag in $(EXTRA_HOST_FLAGS) ; do \
6848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6849 done; \
6850 echo "Doing mostlyclean in bison"; \
6851 (cd $(HOST_SUBDIR)/bison && \
6852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6854 "RANLIB=$${RANLIB}" \
6855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6856 mostlyclean) \
6857 || exit 1
6859 @endif bison
6861 .PHONY: maybe-clean-bison clean-bison
6862 maybe-clean-bison:
6863 @if bison
6864 maybe-clean-bison: clean-bison
6866 clean-bison:
6867 @: $(MAKE); $(unstage)
6868 @[ -f ./bison/Makefile ] || exit 0; \
6869 r=`${PWD_COMMAND}`; export r; \
6870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6871 $(HOST_EXPORTS) \
6872 for flag in $(EXTRA_HOST_FLAGS) ; do \
6873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6874 done; \
6875 echo "Doing clean in bison"; \
6876 (cd $(HOST_SUBDIR)/bison && \
6877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6879 "RANLIB=$${RANLIB}" \
6880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6881 clean) \
6882 || exit 1
6884 @endif bison
6886 .PHONY: maybe-distclean-bison distclean-bison
6887 maybe-distclean-bison:
6888 @if bison
6889 maybe-distclean-bison: distclean-bison
6891 distclean-bison:
6892 @: $(MAKE); $(unstage)
6893 @[ -f ./bison/Makefile ] || exit 0; \
6894 r=`${PWD_COMMAND}`; export r; \
6895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6896 $(HOST_EXPORTS) \
6897 for flag in $(EXTRA_HOST_FLAGS) ; do \
6898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6899 done; \
6900 echo "Doing distclean in bison"; \
6901 (cd $(HOST_SUBDIR)/bison && \
6902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6904 "RANLIB=$${RANLIB}" \
6905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6906 distclean) \
6907 || exit 1
6909 @endif bison
6911 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6912 maybe-maintainer-clean-bison:
6913 @if bison
6914 maybe-maintainer-clean-bison: maintainer-clean-bison
6916 maintainer-clean-bison:
6917 @: $(MAKE); $(unstage)
6918 @[ -f ./bison/Makefile ] || exit 0; \
6919 r=`${PWD_COMMAND}`; export r; \
6920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6921 $(HOST_EXPORTS) \
6922 for flag in $(EXTRA_HOST_FLAGS) ; do \
6923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6924 done; \
6925 echo "Doing maintainer-clean in bison"; \
6926 (cd $(HOST_SUBDIR)/bison && \
6927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6929 "RANLIB=$${RANLIB}" \
6930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6931 maintainer-clean) \
6932 || exit 1
6934 @endif bison
6938 .PHONY: configure-cgen maybe-configure-cgen
6939 maybe-configure-cgen:
6940 @if gcc-bootstrap
6941 configure-cgen: stage_current
6942 @endif gcc-bootstrap
6943 @if cgen
6944 maybe-configure-cgen: configure-cgen
6945 configure-cgen:
6946 @: $(MAKE); $(unstage)
6947 @r=`${PWD_COMMAND}`; export r; \
6948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6949 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6951 $(HOST_EXPORTS) \
6952 echo Configuring in $(HOST_SUBDIR)/cgen; \
6953 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6954 case $(srcdir) in \
6955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6956 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6958 esac; \
6959 module_srcdir=cgen; \
6960 $(SHELL) \
6961 $$s/$$module_srcdir/configure \
6962 --srcdir=$${topdir}/$$module_srcdir \
6963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6964 --target=${target_alias} \
6965 || exit 1
6966 @endif cgen
6972 .PHONY: all-cgen maybe-all-cgen
6973 maybe-all-cgen:
6974 @if gcc-bootstrap
6975 all-cgen: stage_current
6976 @endif gcc-bootstrap
6977 @if cgen
6978 TARGET-cgen=all
6979 maybe-all-cgen: all-cgen
6980 all-cgen: configure-cgen
6981 @: $(MAKE); $(unstage)
6982 @r=`${PWD_COMMAND}`; export r; \
6983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6984 $(HOST_EXPORTS) \
6985 (cd $(HOST_SUBDIR)/cgen && \
6986 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6987 $(TARGET-cgen))
6988 @endif cgen
6993 .PHONY: check-cgen maybe-check-cgen
6994 maybe-check-cgen:
6995 @if cgen
6996 maybe-check-cgen: check-cgen
6998 check-cgen:
6999 @: $(MAKE); $(unstage)
7000 @r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(HOST_EXPORTS) \
7003 (cd $(HOST_SUBDIR)/cgen && \
7004 $(MAKE) $(FLAGS_TO_PASS) check)
7006 @endif cgen
7008 .PHONY: install-cgen maybe-install-cgen
7009 maybe-install-cgen:
7010 @if cgen
7011 maybe-install-cgen: install-cgen
7013 install-cgen: installdirs
7014 @: $(MAKE); $(unstage)
7015 @r=`${PWD_COMMAND}`; export r; \
7016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7017 $(HOST_EXPORTS) \
7018 (cd $(HOST_SUBDIR)/cgen && \
7019 $(MAKE) $(FLAGS_TO_PASS) install)
7021 @endif cgen
7023 .PHONY: install-strip-cgen maybe-install-strip-cgen
7024 maybe-install-strip-cgen:
7025 @if cgen
7026 maybe-install-strip-cgen: install-strip-cgen
7028 install-strip-cgen: installdirs
7029 @: $(MAKE); $(unstage)
7030 @r=`${PWD_COMMAND}`; export r; \
7031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 $(HOST_EXPORTS) \
7033 (cd $(HOST_SUBDIR)/cgen && \
7034 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7036 @endif cgen
7038 # Other targets (info, dvi, pdf, etc.)
7040 .PHONY: maybe-info-cgen info-cgen
7041 maybe-info-cgen:
7042 @if cgen
7043 maybe-info-cgen: info-cgen
7045 info-cgen: \
7046 configure-cgen
7047 @: $(MAKE); $(unstage)
7048 @[ -f ./cgen/Makefile ] || exit 0; \
7049 r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(HOST_EXPORTS) \
7052 for flag in $(EXTRA_HOST_FLAGS) ; do \
7053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7054 done; \
7055 echo "Doing info in cgen"; \
7056 (cd $(HOST_SUBDIR)/cgen && \
7057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7059 "RANLIB=$${RANLIB}" \
7060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7061 info) \
7062 || exit 1
7064 @endif cgen
7066 .PHONY: maybe-dvi-cgen dvi-cgen
7067 maybe-dvi-cgen:
7068 @if cgen
7069 maybe-dvi-cgen: dvi-cgen
7071 dvi-cgen: \
7072 configure-cgen
7073 @: $(MAKE); $(unstage)
7074 @[ -f ./cgen/Makefile ] || exit 0; \
7075 r=`${PWD_COMMAND}`; export r; \
7076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7077 $(HOST_EXPORTS) \
7078 for flag in $(EXTRA_HOST_FLAGS) ; do \
7079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7080 done; \
7081 echo "Doing dvi in cgen"; \
7082 (cd $(HOST_SUBDIR)/cgen && \
7083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7085 "RANLIB=$${RANLIB}" \
7086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7087 dvi) \
7088 || exit 1
7090 @endif cgen
7092 .PHONY: maybe-pdf-cgen pdf-cgen
7093 maybe-pdf-cgen:
7094 @if cgen
7095 maybe-pdf-cgen: pdf-cgen
7097 pdf-cgen: \
7098 configure-cgen
7099 @: $(MAKE); $(unstage)
7100 @[ -f ./cgen/Makefile ] || exit 0; \
7101 r=`${PWD_COMMAND}`; export r; \
7102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7103 $(HOST_EXPORTS) \
7104 for flag in $(EXTRA_HOST_FLAGS) ; do \
7105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7106 done; \
7107 echo "Doing pdf in cgen"; \
7108 (cd $(HOST_SUBDIR)/cgen && \
7109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7111 "RANLIB=$${RANLIB}" \
7112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7113 pdf) \
7114 || exit 1
7116 @endif cgen
7118 .PHONY: maybe-html-cgen html-cgen
7119 maybe-html-cgen:
7120 @if cgen
7121 maybe-html-cgen: html-cgen
7123 html-cgen: \
7124 configure-cgen
7125 @: $(MAKE); $(unstage)
7126 @[ -f ./cgen/Makefile ] || exit 0; \
7127 r=`${PWD_COMMAND}`; export r; \
7128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7129 $(HOST_EXPORTS) \
7130 for flag in $(EXTRA_HOST_FLAGS) ; do \
7131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7132 done; \
7133 echo "Doing html in cgen"; \
7134 (cd $(HOST_SUBDIR)/cgen && \
7135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7137 "RANLIB=$${RANLIB}" \
7138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7139 html) \
7140 || exit 1
7142 @endif cgen
7144 .PHONY: maybe-TAGS-cgen TAGS-cgen
7145 maybe-TAGS-cgen:
7146 @if cgen
7147 maybe-TAGS-cgen: TAGS-cgen
7149 TAGS-cgen: \
7150 configure-cgen
7151 @: $(MAKE); $(unstage)
7152 @[ -f ./cgen/Makefile ] || exit 0; \
7153 r=`${PWD_COMMAND}`; export r; \
7154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7155 $(HOST_EXPORTS) \
7156 for flag in $(EXTRA_HOST_FLAGS) ; do \
7157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7158 done; \
7159 echo "Doing TAGS in cgen"; \
7160 (cd $(HOST_SUBDIR)/cgen && \
7161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7163 "RANLIB=$${RANLIB}" \
7164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7165 TAGS) \
7166 || exit 1
7168 @endif cgen
7170 .PHONY: maybe-install-info-cgen install-info-cgen
7171 maybe-install-info-cgen:
7172 @if cgen
7173 maybe-install-info-cgen: install-info-cgen
7175 install-info-cgen: \
7176 configure-cgen \
7177 info-cgen
7178 @: $(MAKE); $(unstage)
7179 @[ -f ./cgen/Makefile ] || exit 0; \
7180 r=`${PWD_COMMAND}`; export r; \
7181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7182 $(HOST_EXPORTS) \
7183 for flag in $(EXTRA_HOST_FLAGS) ; do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7185 done; \
7186 echo "Doing install-info in cgen"; \
7187 (cd $(HOST_SUBDIR)/cgen && \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7192 install-info) \
7193 || exit 1
7195 @endif cgen
7197 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7198 maybe-install-pdf-cgen:
7199 @if cgen
7200 maybe-install-pdf-cgen: install-pdf-cgen
7202 install-pdf-cgen: \
7203 configure-cgen \
7204 pdf-cgen
7205 @: $(MAKE); $(unstage)
7206 @[ -f ./cgen/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 $(HOST_EXPORTS) \
7210 for flag in $(EXTRA_HOST_FLAGS) ; do \
7211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212 done; \
7213 echo "Doing install-pdf in cgen"; \
7214 (cd $(HOST_SUBDIR)/cgen && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217 "RANLIB=$${RANLIB}" \
7218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7219 install-pdf) \
7220 || exit 1
7222 @endif cgen
7224 .PHONY: maybe-install-html-cgen install-html-cgen
7225 maybe-install-html-cgen:
7226 @if cgen
7227 maybe-install-html-cgen: install-html-cgen
7229 install-html-cgen: \
7230 configure-cgen \
7231 html-cgen
7232 @: $(MAKE); $(unstage)
7233 @[ -f ./cgen/Makefile ] || exit 0; \
7234 r=`${PWD_COMMAND}`; export r; \
7235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7236 $(HOST_EXPORTS) \
7237 for flag in $(EXTRA_HOST_FLAGS) ; do \
7238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7239 done; \
7240 echo "Doing install-html in cgen"; \
7241 (cd $(HOST_SUBDIR)/cgen && \
7242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7244 "RANLIB=$${RANLIB}" \
7245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7246 install-html) \
7247 || exit 1
7249 @endif cgen
7251 .PHONY: maybe-installcheck-cgen installcheck-cgen
7252 maybe-installcheck-cgen:
7253 @if cgen
7254 maybe-installcheck-cgen: installcheck-cgen
7256 installcheck-cgen: \
7257 configure-cgen
7258 @: $(MAKE); $(unstage)
7259 @[ -f ./cgen/Makefile ] || exit 0; \
7260 r=`${PWD_COMMAND}`; export r; \
7261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7262 $(HOST_EXPORTS) \
7263 for flag in $(EXTRA_HOST_FLAGS) ; do \
7264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7265 done; \
7266 echo "Doing installcheck in cgen"; \
7267 (cd $(HOST_SUBDIR)/cgen && \
7268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7270 "RANLIB=$${RANLIB}" \
7271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7272 installcheck) \
7273 || exit 1
7275 @endif cgen
7277 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7278 maybe-mostlyclean-cgen:
7279 @if cgen
7280 maybe-mostlyclean-cgen: mostlyclean-cgen
7282 mostlyclean-cgen:
7283 @: $(MAKE); $(unstage)
7284 @[ -f ./cgen/Makefile ] || exit 0; \
7285 r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(HOST_EXPORTS) \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 done; \
7291 echo "Doing mostlyclean in cgen"; \
7292 (cd $(HOST_SUBDIR)/cgen && \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7297 mostlyclean) \
7298 || exit 1
7300 @endif cgen
7302 .PHONY: maybe-clean-cgen clean-cgen
7303 maybe-clean-cgen:
7304 @if cgen
7305 maybe-clean-cgen: clean-cgen
7307 clean-cgen:
7308 @: $(MAKE); $(unstage)
7309 @[ -f ./cgen/Makefile ] || exit 0; \
7310 r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing clean in cgen"; \
7317 (cd $(HOST_SUBDIR)/cgen && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7322 clean) \
7323 || exit 1
7325 @endif cgen
7327 .PHONY: maybe-distclean-cgen distclean-cgen
7328 maybe-distclean-cgen:
7329 @if cgen
7330 maybe-distclean-cgen: distclean-cgen
7332 distclean-cgen:
7333 @: $(MAKE); $(unstage)
7334 @[ -f ./cgen/Makefile ] || exit 0; \
7335 r=`${PWD_COMMAND}`; export r; \
7336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing distclean in cgen"; \
7342 (cd $(HOST_SUBDIR)/cgen && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7347 distclean) \
7348 || exit 1
7350 @endif cgen
7352 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7353 maybe-maintainer-clean-cgen:
7354 @if cgen
7355 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7357 maintainer-clean-cgen:
7358 @: $(MAKE); $(unstage)
7359 @[ -f ./cgen/Makefile ] || exit 0; \
7360 r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 $(HOST_EXPORTS) \
7363 for flag in $(EXTRA_HOST_FLAGS) ; do \
7364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7365 done; \
7366 echo "Doing maintainer-clean in cgen"; \
7367 (cd $(HOST_SUBDIR)/cgen && \
7368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7370 "RANLIB=$${RANLIB}" \
7371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7372 maintainer-clean) \
7373 || exit 1
7375 @endif cgen
7379 .PHONY: configure-dejagnu maybe-configure-dejagnu
7380 maybe-configure-dejagnu:
7381 @if gcc-bootstrap
7382 configure-dejagnu: stage_current
7383 @endif gcc-bootstrap
7384 @if dejagnu
7385 maybe-configure-dejagnu: configure-dejagnu
7386 configure-dejagnu:
7387 @: $(MAKE); $(unstage)
7388 @r=`${PWD_COMMAND}`; export r; \
7389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7390 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7392 $(HOST_EXPORTS) \
7393 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7394 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7395 case $(srcdir) in \
7396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7397 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7399 esac; \
7400 module_srcdir=dejagnu; \
7401 $(SHELL) \
7402 $$s/$$module_srcdir/configure \
7403 --srcdir=$${topdir}/$$module_srcdir \
7404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7405 --target=${target_alias} \
7406 || exit 1
7407 @endif dejagnu
7413 .PHONY: all-dejagnu maybe-all-dejagnu
7414 maybe-all-dejagnu:
7415 @if gcc-bootstrap
7416 all-dejagnu: stage_current
7417 @endif gcc-bootstrap
7418 @if dejagnu
7419 TARGET-dejagnu=all
7420 maybe-all-dejagnu: all-dejagnu
7421 all-dejagnu: configure-dejagnu
7422 @: $(MAKE); $(unstage)
7423 @r=`${PWD_COMMAND}`; export r; \
7424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7425 $(HOST_EXPORTS) \
7426 (cd $(HOST_SUBDIR)/dejagnu && \
7427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7428 $(TARGET-dejagnu))
7429 @endif dejagnu
7434 .PHONY: check-dejagnu maybe-check-dejagnu
7435 maybe-check-dejagnu:
7436 @if dejagnu
7437 maybe-check-dejagnu: check-dejagnu
7439 check-dejagnu:
7440 @: $(MAKE); $(unstage)
7441 @r=`${PWD_COMMAND}`; export r; \
7442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7443 $(HOST_EXPORTS) \
7444 (cd $(HOST_SUBDIR)/dejagnu && \
7445 $(MAKE) $(FLAGS_TO_PASS) check)
7447 @endif dejagnu
7449 .PHONY: install-dejagnu maybe-install-dejagnu
7450 maybe-install-dejagnu:
7451 @if dejagnu
7452 maybe-install-dejagnu: install-dejagnu
7454 install-dejagnu: installdirs
7455 @: $(MAKE); $(unstage)
7456 @r=`${PWD_COMMAND}`; export r; \
7457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7458 $(HOST_EXPORTS) \
7459 (cd $(HOST_SUBDIR)/dejagnu && \
7460 $(MAKE) $(FLAGS_TO_PASS) install)
7462 @endif dejagnu
7464 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7465 maybe-install-strip-dejagnu:
7466 @if dejagnu
7467 maybe-install-strip-dejagnu: install-strip-dejagnu
7469 install-strip-dejagnu: installdirs
7470 @: $(MAKE); $(unstage)
7471 @r=`${PWD_COMMAND}`; export r; \
7472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 $(HOST_EXPORTS) \
7474 (cd $(HOST_SUBDIR)/dejagnu && \
7475 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7477 @endif dejagnu
7479 # Other targets (info, dvi, pdf, etc.)
7481 .PHONY: maybe-info-dejagnu info-dejagnu
7482 maybe-info-dejagnu:
7483 @if dejagnu
7484 maybe-info-dejagnu: info-dejagnu
7486 info-dejagnu: \
7487 configure-dejagnu
7488 @: $(MAKE); $(unstage)
7489 @[ -f ./dejagnu/Makefile ] || exit 0; \
7490 r=`${PWD_COMMAND}`; export r; \
7491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7492 $(HOST_EXPORTS) \
7493 for flag in $(EXTRA_HOST_FLAGS) ; do \
7494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7495 done; \
7496 echo "Doing info in dejagnu"; \
7497 (cd $(HOST_SUBDIR)/dejagnu && \
7498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7500 "RANLIB=$${RANLIB}" \
7501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7502 info) \
7503 || exit 1
7505 @endif dejagnu
7507 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7508 maybe-dvi-dejagnu:
7509 @if dejagnu
7510 maybe-dvi-dejagnu: dvi-dejagnu
7512 dvi-dejagnu: \
7513 configure-dejagnu
7514 @: $(MAKE); $(unstage)
7515 @[ -f ./dejagnu/Makefile ] || exit 0; \
7516 r=`${PWD_COMMAND}`; export r; \
7517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7518 $(HOST_EXPORTS) \
7519 for flag in $(EXTRA_HOST_FLAGS) ; do \
7520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7521 done; \
7522 echo "Doing dvi in dejagnu"; \
7523 (cd $(HOST_SUBDIR)/dejagnu && \
7524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7526 "RANLIB=$${RANLIB}" \
7527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7528 dvi) \
7529 || exit 1
7531 @endif dejagnu
7533 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7534 maybe-pdf-dejagnu:
7535 @if dejagnu
7536 maybe-pdf-dejagnu: pdf-dejagnu
7538 pdf-dejagnu: \
7539 configure-dejagnu
7540 @: $(MAKE); $(unstage)
7541 @[ -f ./dejagnu/Makefile ] || exit 0; \
7542 r=`${PWD_COMMAND}`; export r; \
7543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 $(HOST_EXPORTS) \
7545 for flag in $(EXTRA_HOST_FLAGS) ; do \
7546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7547 done; \
7548 echo "Doing pdf in dejagnu"; \
7549 (cd $(HOST_SUBDIR)/dejagnu && \
7550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7552 "RANLIB=$${RANLIB}" \
7553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7554 pdf) \
7555 || exit 1
7557 @endif dejagnu
7559 .PHONY: maybe-html-dejagnu html-dejagnu
7560 maybe-html-dejagnu:
7561 @if dejagnu
7562 maybe-html-dejagnu: html-dejagnu
7564 html-dejagnu: \
7565 configure-dejagnu
7566 @: $(MAKE); $(unstage)
7567 @[ -f ./dejagnu/Makefile ] || exit 0; \
7568 r=`${PWD_COMMAND}`; export r; \
7569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7570 $(HOST_EXPORTS) \
7571 for flag in $(EXTRA_HOST_FLAGS) ; do \
7572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7573 done; \
7574 echo "Doing html in dejagnu"; \
7575 (cd $(HOST_SUBDIR)/dejagnu && \
7576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7578 "RANLIB=$${RANLIB}" \
7579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7580 html) \
7581 || exit 1
7583 @endif dejagnu
7585 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7586 maybe-TAGS-dejagnu:
7587 @if dejagnu
7588 maybe-TAGS-dejagnu: TAGS-dejagnu
7590 TAGS-dejagnu: \
7591 configure-dejagnu
7592 @: $(MAKE); $(unstage)
7593 @[ -f ./dejagnu/Makefile ] || exit 0; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(HOST_EXPORTS) \
7597 for flag in $(EXTRA_HOST_FLAGS) ; do \
7598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7599 done; \
7600 echo "Doing TAGS in dejagnu"; \
7601 (cd $(HOST_SUBDIR)/dejagnu && \
7602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7604 "RANLIB=$${RANLIB}" \
7605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7606 TAGS) \
7607 || exit 1
7609 @endif dejagnu
7611 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7612 maybe-install-info-dejagnu:
7613 @if dejagnu
7614 maybe-install-info-dejagnu: install-info-dejagnu
7616 install-info-dejagnu: \
7617 configure-dejagnu \
7618 info-dejagnu
7619 @: $(MAKE); $(unstage)
7620 @[ -f ./dejagnu/Makefile ] || exit 0; \
7621 r=`${PWD_COMMAND}`; export r; \
7622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 $(HOST_EXPORTS) \
7624 for flag in $(EXTRA_HOST_FLAGS) ; do \
7625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7626 done; \
7627 echo "Doing install-info in dejagnu"; \
7628 (cd $(HOST_SUBDIR)/dejagnu && \
7629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7631 "RANLIB=$${RANLIB}" \
7632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7633 install-info) \
7634 || exit 1
7636 @endif dejagnu
7638 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7639 maybe-install-pdf-dejagnu:
7640 @if dejagnu
7641 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7643 install-pdf-dejagnu: \
7644 configure-dejagnu \
7645 pdf-dejagnu
7646 @: $(MAKE); $(unstage)
7647 @[ -f ./dejagnu/Makefile ] || exit 0; \
7648 r=`${PWD_COMMAND}`; export r; \
7649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7650 $(HOST_EXPORTS) \
7651 for flag in $(EXTRA_HOST_FLAGS) ; do \
7652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7653 done; \
7654 echo "Doing install-pdf in dejagnu"; \
7655 (cd $(HOST_SUBDIR)/dejagnu && \
7656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7658 "RANLIB=$${RANLIB}" \
7659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7660 install-pdf) \
7661 || exit 1
7663 @endif dejagnu
7665 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7666 maybe-install-html-dejagnu:
7667 @if dejagnu
7668 maybe-install-html-dejagnu: install-html-dejagnu
7670 install-html-dejagnu: \
7671 configure-dejagnu \
7672 html-dejagnu
7673 @: $(MAKE); $(unstage)
7674 @[ -f ./dejagnu/Makefile ] || exit 0; \
7675 r=`${PWD_COMMAND}`; export r; \
7676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7677 $(HOST_EXPORTS) \
7678 for flag in $(EXTRA_HOST_FLAGS) ; do \
7679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7680 done; \
7681 echo "Doing install-html in dejagnu"; \
7682 (cd $(HOST_SUBDIR)/dejagnu && \
7683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7685 "RANLIB=$${RANLIB}" \
7686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7687 install-html) \
7688 || exit 1
7690 @endif dejagnu
7692 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7693 maybe-installcheck-dejagnu:
7694 @if dejagnu
7695 maybe-installcheck-dejagnu: installcheck-dejagnu
7697 installcheck-dejagnu: \
7698 configure-dejagnu
7699 @: $(MAKE); $(unstage)
7700 @[ -f ./dejagnu/Makefile ] || exit 0; \
7701 r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(HOST_EXPORTS) \
7704 for flag in $(EXTRA_HOST_FLAGS) ; do \
7705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7706 done; \
7707 echo "Doing installcheck in dejagnu"; \
7708 (cd $(HOST_SUBDIR)/dejagnu && \
7709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7711 "RANLIB=$${RANLIB}" \
7712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7713 installcheck) \
7714 || exit 1
7716 @endif dejagnu
7718 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7719 maybe-mostlyclean-dejagnu:
7720 @if dejagnu
7721 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7723 mostlyclean-dejagnu:
7724 @: $(MAKE); $(unstage)
7725 @[ -f ./dejagnu/Makefile ] || exit 0; \
7726 r=`${PWD_COMMAND}`; export r; \
7727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7728 $(HOST_EXPORTS) \
7729 for flag in $(EXTRA_HOST_FLAGS) ; do \
7730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7731 done; \
7732 echo "Doing mostlyclean in dejagnu"; \
7733 (cd $(HOST_SUBDIR)/dejagnu && \
7734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7736 "RANLIB=$${RANLIB}" \
7737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7738 mostlyclean) \
7739 || exit 1
7741 @endif dejagnu
7743 .PHONY: maybe-clean-dejagnu clean-dejagnu
7744 maybe-clean-dejagnu:
7745 @if dejagnu
7746 maybe-clean-dejagnu: clean-dejagnu
7748 clean-dejagnu:
7749 @: $(MAKE); $(unstage)
7750 @[ -f ./dejagnu/Makefile ] || exit 0; \
7751 r=`${PWD_COMMAND}`; export r; \
7752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7753 $(HOST_EXPORTS) \
7754 for flag in $(EXTRA_HOST_FLAGS) ; do \
7755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7756 done; \
7757 echo "Doing clean in dejagnu"; \
7758 (cd $(HOST_SUBDIR)/dejagnu && \
7759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7761 "RANLIB=$${RANLIB}" \
7762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7763 clean) \
7764 || exit 1
7766 @endif dejagnu
7768 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7769 maybe-distclean-dejagnu:
7770 @if dejagnu
7771 maybe-distclean-dejagnu: distclean-dejagnu
7773 distclean-dejagnu:
7774 @: $(MAKE); $(unstage)
7775 @[ -f ./dejagnu/Makefile ] || exit 0; \
7776 r=`${PWD_COMMAND}`; export r; \
7777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7778 $(HOST_EXPORTS) \
7779 for flag in $(EXTRA_HOST_FLAGS) ; do \
7780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7781 done; \
7782 echo "Doing distclean in dejagnu"; \
7783 (cd $(HOST_SUBDIR)/dejagnu && \
7784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7786 "RANLIB=$${RANLIB}" \
7787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7788 distclean) \
7789 || exit 1
7791 @endif dejagnu
7793 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7794 maybe-maintainer-clean-dejagnu:
7795 @if dejagnu
7796 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7798 maintainer-clean-dejagnu:
7799 @: $(MAKE); $(unstage)
7800 @[ -f ./dejagnu/Makefile ] || exit 0; \
7801 r=`${PWD_COMMAND}`; export r; \
7802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7803 $(HOST_EXPORTS) \
7804 for flag in $(EXTRA_HOST_FLAGS) ; do \
7805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7806 done; \
7807 echo "Doing maintainer-clean in dejagnu"; \
7808 (cd $(HOST_SUBDIR)/dejagnu && \
7809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7811 "RANLIB=$${RANLIB}" \
7812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7813 maintainer-clean) \
7814 || exit 1
7816 @endif dejagnu
7820 .PHONY: configure-etc maybe-configure-etc
7821 maybe-configure-etc:
7822 @if gcc-bootstrap
7823 configure-etc: stage_current
7824 @endif gcc-bootstrap
7825 @if etc
7826 maybe-configure-etc: configure-etc
7827 configure-etc:
7828 @: $(MAKE); $(unstage)
7829 @r=`${PWD_COMMAND}`; export r; \
7830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7831 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7833 $(HOST_EXPORTS) \
7834 echo Configuring in $(HOST_SUBDIR)/etc; \
7835 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7836 case $(srcdir) in \
7837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7838 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7840 esac; \
7841 module_srcdir=etc; \
7842 $(SHELL) \
7843 $$s/$$module_srcdir/configure \
7844 --srcdir=$${topdir}/$$module_srcdir \
7845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7846 --target=${target_alias} \
7847 || exit 1
7848 @endif etc
7854 .PHONY: all-etc maybe-all-etc
7855 maybe-all-etc:
7856 @if gcc-bootstrap
7857 all-etc: stage_current
7858 @endif gcc-bootstrap
7859 @if etc
7860 TARGET-etc=all
7861 maybe-all-etc: all-etc
7862 all-etc: configure-etc
7863 @: $(MAKE); $(unstage)
7864 @r=`${PWD_COMMAND}`; export r; \
7865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7866 $(HOST_EXPORTS) \
7867 (cd $(HOST_SUBDIR)/etc && \
7868 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7869 $(TARGET-etc))
7870 @endif etc
7875 .PHONY: check-etc maybe-check-etc
7876 maybe-check-etc:
7877 @if etc
7878 maybe-check-etc: check-etc
7880 check-etc:
7881 @: $(MAKE); $(unstage)
7882 @r=`${PWD_COMMAND}`; export r; \
7883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7884 $(HOST_EXPORTS) \
7885 (cd $(HOST_SUBDIR)/etc && \
7886 $(MAKE) $(FLAGS_TO_PASS) check)
7888 @endif etc
7890 .PHONY: install-etc maybe-install-etc
7891 maybe-install-etc:
7892 @if etc
7893 maybe-install-etc: install-etc
7895 install-etc: installdirs
7896 @: $(MAKE); $(unstage)
7897 @r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 $(HOST_EXPORTS) \
7900 (cd $(HOST_SUBDIR)/etc && \
7901 $(MAKE) $(FLAGS_TO_PASS) install)
7903 @endif etc
7905 .PHONY: install-strip-etc maybe-install-strip-etc
7906 maybe-install-strip-etc:
7907 @if etc
7908 maybe-install-strip-etc: install-strip-etc
7910 install-strip-etc: installdirs
7911 @: $(MAKE); $(unstage)
7912 @r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7914 $(HOST_EXPORTS) \
7915 (cd $(HOST_SUBDIR)/etc && \
7916 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7918 @endif etc
7920 # Other targets (info, dvi, pdf, etc.)
7922 .PHONY: maybe-info-etc info-etc
7923 maybe-info-etc:
7924 @if etc
7925 maybe-info-etc: info-etc
7927 info-etc: \
7928 configure-etc
7929 @: $(MAKE); $(unstage)
7930 @[ -f ./etc/Makefile ] || exit 0; \
7931 r=`${PWD_COMMAND}`; export r; \
7932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7933 $(HOST_EXPORTS) \
7934 for flag in $(EXTRA_HOST_FLAGS) ; do \
7935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7936 done; \
7937 echo "Doing info in etc"; \
7938 (cd $(HOST_SUBDIR)/etc && \
7939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7941 "RANLIB=$${RANLIB}" \
7942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7943 info) \
7944 || exit 1
7946 @endif etc
7948 .PHONY: maybe-dvi-etc dvi-etc
7949 maybe-dvi-etc:
7950 @if etc
7951 maybe-dvi-etc: dvi-etc
7953 dvi-etc: \
7954 configure-etc
7955 @: $(MAKE); $(unstage)
7956 @[ -f ./etc/Makefile ] || exit 0; \
7957 r=`${PWD_COMMAND}`; export r; \
7958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7959 $(HOST_EXPORTS) \
7960 for flag in $(EXTRA_HOST_FLAGS) ; do \
7961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7962 done; \
7963 echo "Doing dvi in etc"; \
7964 (cd $(HOST_SUBDIR)/etc && \
7965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7967 "RANLIB=$${RANLIB}" \
7968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7969 dvi) \
7970 || exit 1
7972 @endif etc
7974 .PHONY: maybe-pdf-etc pdf-etc
7975 maybe-pdf-etc:
7976 @if etc
7977 maybe-pdf-etc: pdf-etc
7979 pdf-etc: \
7980 configure-etc
7981 @: $(MAKE); $(unstage)
7982 @[ -f ./etc/Makefile ] || exit 0; \
7983 r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985 $(HOST_EXPORTS) \
7986 for flag in $(EXTRA_HOST_FLAGS) ; do \
7987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7988 done; \
7989 echo "Doing pdf in etc"; \
7990 (cd $(HOST_SUBDIR)/etc && \
7991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7993 "RANLIB=$${RANLIB}" \
7994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7995 pdf) \
7996 || exit 1
7998 @endif etc
8000 .PHONY: maybe-html-etc html-etc
8001 maybe-html-etc:
8002 @if etc
8003 maybe-html-etc: html-etc
8005 html-etc: \
8006 configure-etc
8007 @: $(MAKE); $(unstage)
8008 @[ -f ./etc/Makefile ] || exit 0; \
8009 r=`${PWD_COMMAND}`; export r; \
8010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8011 $(HOST_EXPORTS) \
8012 for flag in $(EXTRA_HOST_FLAGS) ; do \
8013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8014 done; \
8015 echo "Doing html in etc"; \
8016 (cd $(HOST_SUBDIR)/etc && \
8017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8019 "RANLIB=$${RANLIB}" \
8020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8021 html) \
8022 || exit 1
8024 @endif etc
8026 .PHONY: maybe-TAGS-etc TAGS-etc
8027 maybe-TAGS-etc:
8028 @if etc
8029 maybe-TAGS-etc: TAGS-etc
8031 TAGS-etc: \
8032 configure-etc
8033 @: $(MAKE); $(unstage)
8034 @[ -f ./etc/Makefile ] || exit 0; \
8035 r=`${PWD_COMMAND}`; export r; \
8036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8037 $(HOST_EXPORTS) \
8038 for flag in $(EXTRA_HOST_FLAGS) ; do \
8039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8040 done; \
8041 echo "Doing TAGS in etc"; \
8042 (cd $(HOST_SUBDIR)/etc && \
8043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8045 "RANLIB=$${RANLIB}" \
8046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8047 TAGS) \
8048 || exit 1
8050 @endif etc
8052 .PHONY: maybe-install-info-etc install-info-etc
8053 maybe-install-info-etc:
8054 @if etc
8055 maybe-install-info-etc: install-info-etc
8057 install-info-etc: \
8058 configure-etc \
8059 info-etc
8060 @: $(MAKE); $(unstage)
8061 @[ -f ./etc/Makefile ] || exit 0; \
8062 r=`${PWD_COMMAND}`; export r; \
8063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8064 $(HOST_EXPORTS) \
8065 for flag in $(EXTRA_HOST_FLAGS) ; do \
8066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8067 done; \
8068 echo "Doing install-info in etc"; \
8069 (cd $(HOST_SUBDIR)/etc && \
8070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8072 "RANLIB=$${RANLIB}" \
8073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8074 install-info) \
8075 || exit 1
8077 @endif etc
8079 .PHONY: maybe-install-pdf-etc install-pdf-etc
8080 maybe-install-pdf-etc:
8081 @if etc
8082 maybe-install-pdf-etc: install-pdf-etc
8084 install-pdf-etc: \
8085 configure-etc \
8086 pdf-etc
8087 @: $(MAKE); $(unstage)
8088 @[ -f ./etc/Makefile ] || exit 0; \
8089 r=`${PWD_COMMAND}`; export r; \
8090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8091 $(HOST_EXPORTS) \
8092 for flag in $(EXTRA_HOST_FLAGS) ; do \
8093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8094 done; \
8095 echo "Doing install-pdf in etc"; \
8096 (cd $(HOST_SUBDIR)/etc && \
8097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8099 "RANLIB=$${RANLIB}" \
8100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8101 install-pdf) \
8102 || exit 1
8104 @endif etc
8106 .PHONY: maybe-install-html-etc install-html-etc
8107 maybe-install-html-etc:
8108 @if etc
8109 maybe-install-html-etc: install-html-etc
8111 install-html-etc: \
8112 configure-etc \
8113 html-etc
8114 @: $(MAKE); $(unstage)
8115 @[ -f ./etc/Makefile ] || exit 0; \
8116 r=`${PWD_COMMAND}`; export r; \
8117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8118 $(HOST_EXPORTS) \
8119 for flag in $(EXTRA_HOST_FLAGS) ; do \
8120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8121 done; \
8122 echo "Doing install-html in etc"; \
8123 (cd $(HOST_SUBDIR)/etc && \
8124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8126 "RANLIB=$${RANLIB}" \
8127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8128 install-html) \
8129 || exit 1
8131 @endif etc
8133 .PHONY: maybe-installcheck-etc installcheck-etc
8134 maybe-installcheck-etc:
8135 @if etc
8136 maybe-installcheck-etc: installcheck-etc
8138 installcheck-etc: \
8139 configure-etc
8140 @: $(MAKE); $(unstage)
8141 @[ -f ./etc/Makefile ] || exit 0; \
8142 r=`${PWD_COMMAND}`; export r; \
8143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8144 $(HOST_EXPORTS) \
8145 for flag in $(EXTRA_HOST_FLAGS) ; do \
8146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8147 done; \
8148 echo "Doing installcheck in etc"; \
8149 (cd $(HOST_SUBDIR)/etc && \
8150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8152 "RANLIB=$${RANLIB}" \
8153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8154 installcheck) \
8155 || exit 1
8157 @endif etc
8159 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8160 maybe-mostlyclean-etc:
8161 @if etc
8162 maybe-mostlyclean-etc: mostlyclean-etc
8164 mostlyclean-etc:
8165 @: $(MAKE); $(unstage)
8166 @[ -f ./etc/Makefile ] || exit 0; \
8167 r=`${PWD_COMMAND}`; export r; \
8168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8169 $(HOST_EXPORTS) \
8170 for flag in $(EXTRA_HOST_FLAGS) ; do \
8171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8172 done; \
8173 echo "Doing mostlyclean in etc"; \
8174 (cd $(HOST_SUBDIR)/etc && \
8175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8177 "RANLIB=$${RANLIB}" \
8178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8179 mostlyclean) \
8180 || exit 1
8182 @endif etc
8184 .PHONY: maybe-clean-etc clean-etc
8185 maybe-clean-etc:
8186 @if etc
8187 maybe-clean-etc: clean-etc
8189 clean-etc:
8190 @: $(MAKE); $(unstage)
8191 @[ -f ./etc/Makefile ] || exit 0; \
8192 r=`${PWD_COMMAND}`; export r; \
8193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8194 $(HOST_EXPORTS) \
8195 for flag in $(EXTRA_HOST_FLAGS) ; do \
8196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8197 done; \
8198 echo "Doing clean in etc"; \
8199 (cd $(HOST_SUBDIR)/etc && \
8200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8202 "RANLIB=$${RANLIB}" \
8203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8204 clean) \
8205 || exit 1
8207 @endif etc
8209 .PHONY: maybe-distclean-etc distclean-etc
8210 maybe-distclean-etc:
8211 @if etc
8212 maybe-distclean-etc: distclean-etc
8214 distclean-etc:
8215 @: $(MAKE); $(unstage)
8216 @[ -f ./etc/Makefile ] || exit 0; \
8217 r=`${PWD_COMMAND}`; export r; \
8218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8219 $(HOST_EXPORTS) \
8220 for flag in $(EXTRA_HOST_FLAGS) ; do \
8221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8222 done; \
8223 echo "Doing distclean in etc"; \
8224 (cd $(HOST_SUBDIR)/etc && \
8225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8227 "RANLIB=$${RANLIB}" \
8228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8229 distclean) \
8230 || exit 1
8232 @endif etc
8234 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8235 maybe-maintainer-clean-etc:
8236 @if etc
8237 maybe-maintainer-clean-etc: maintainer-clean-etc
8239 maintainer-clean-etc:
8240 @: $(MAKE); $(unstage)
8241 @[ -f ./etc/Makefile ] || exit 0; \
8242 r=`${PWD_COMMAND}`; export r; \
8243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8244 $(HOST_EXPORTS) \
8245 for flag in $(EXTRA_HOST_FLAGS) ; do \
8246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8247 done; \
8248 echo "Doing maintainer-clean in etc"; \
8249 (cd $(HOST_SUBDIR)/etc && \
8250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8252 "RANLIB=$${RANLIB}" \
8253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8254 maintainer-clean) \
8255 || exit 1
8257 @endif etc
8261 .PHONY: configure-fastjar maybe-configure-fastjar
8262 maybe-configure-fastjar:
8263 @if gcc-bootstrap
8264 configure-fastjar: stage_current
8265 @endif gcc-bootstrap
8266 @if fastjar
8267 maybe-configure-fastjar: configure-fastjar
8268 configure-fastjar:
8269 @: $(MAKE); $(unstage)
8270 @r=`${PWD_COMMAND}`; export r; \
8271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8272 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8274 $(HOST_EXPORTS) \
8275 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8276 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8277 case $(srcdir) in \
8278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8279 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8281 esac; \
8282 module_srcdir=fastjar; \
8283 $(SHELL) \
8284 $$s/$$module_srcdir/configure \
8285 --srcdir=$${topdir}/$$module_srcdir \
8286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8287 --target=${target_alias} \
8288 || exit 1
8289 @endif fastjar
8295 .PHONY: all-fastjar maybe-all-fastjar
8296 maybe-all-fastjar:
8297 @if gcc-bootstrap
8298 all-fastjar: stage_current
8299 @endif gcc-bootstrap
8300 @if fastjar
8301 TARGET-fastjar=all
8302 maybe-all-fastjar: all-fastjar
8303 all-fastjar: configure-fastjar
8304 @: $(MAKE); $(unstage)
8305 @r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 $(HOST_EXPORTS) \
8308 (cd $(HOST_SUBDIR)/fastjar && \
8309 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8310 $(TARGET-fastjar))
8311 @endif fastjar
8316 .PHONY: check-fastjar maybe-check-fastjar
8317 maybe-check-fastjar:
8318 @if fastjar
8319 maybe-check-fastjar: check-fastjar
8321 # This module is only tested in a native toolchain.
8322 check-fastjar:
8323 @: $(MAKE); $(unstage)
8324 @if [ '$(host)' = '$(target)' ]; then \
8325 r=`${PWD_COMMAND}`; export r; \
8326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8327 $(HOST_EXPORTS) \
8328 (cd $(HOST_SUBDIR)/fastjar && \
8329 $(MAKE) $(FLAGS_TO_PASS) check)
8332 @endif fastjar
8334 .PHONY: install-fastjar maybe-install-fastjar
8335 maybe-install-fastjar:
8336 @if fastjar
8337 maybe-install-fastjar: install-fastjar
8339 install-fastjar: installdirs
8340 @: $(MAKE); $(unstage)
8341 @r=`${PWD_COMMAND}`; export r; \
8342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8343 $(HOST_EXPORTS) \
8344 (cd $(HOST_SUBDIR)/fastjar && \
8345 $(MAKE) $(FLAGS_TO_PASS) install)
8347 @endif fastjar
8349 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8350 maybe-install-strip-fastjar:
8351 @if fastjar
8352 maybe-install-strip-fastjar: install-strip-fastjar
8354 install-strip-fastjar: installdirs
8355 @: $(MAKE); $(unstage)
8356 @r=`${PWD_COMMAND}`; export r; \
8357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8358 $(HOST_EXPORTS) \
8359 (cd $(HOST_SUBDIR)/fastjar && \
8360 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8362 @endif fastjar
8364 # Other targets (info, dvi, pdf, etc.)
8366 .PHONY: maybe-info-fastjar info-fastjar
8367 maybe-info-fastjar:
8368 @if fastjar
8369 maybe-info-fastjar: info-fastjar
8371 info-fastjar: \
8372 configure-fastjar
8373 @: $(MAKE); $(unstage)
8374 @[ -f ./fastjar/Makefile ] || exit 0; \
8375 r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377 $(HOST_EXPORTS) \
8378 for flag in $(EXTRA_HOST_FLAGS) ; do \
8379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8380 done; \
8381 echo "Doing info in fastjar"; \
8382 (cd $(HOST_SUBDIR)/fastjar && \
8383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8385 "RANLIB=$${RANLIB}" \
8386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8387 info) \
8388 || exit 1
8390 @endif fastjar
8392 .PHONY: maybe-dvi-fastjar dvi-fastjar
8393 maybe-dvi-fastjar:
8394 @if fastjar
8395 maybe-dvi-fastjar: dvi-fastjar
8397 dvi-fastjar: \
8398 configure-fastjar
8399 @: $(MAKE); $(unstage)
8400 @[ -f ./fastjar/Makefile ] || exit 0; \
8401 r=`${PWD_COMMAND}`; export r; \
8402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8403 $(HOST_EXPORTS) \
8404 for flag in $(EXTRA_HOST_FLAGS) ; do \
8405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8406 done; \
8407 echo "Doing dvi in fastjar"; \
8408 (cd $(HOST_SUBDIR)/fastjar && \
8409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8411 "RANLIB=$${RANLIB}" \
8412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8413 dvi) \
8414 || exit 1
8416 @endif fastjar
8418 .PHONY: maybe-pdf-fastjar pdf-fastjar
8419 maybe-pdf-fastjar:
8420 @if fastjar
8421 maybe-pdf-fastjar: pdf-fastjar
8423 pdf-fastjar: \
8424 configure-fastjar
8425 @: $(MAKE); $(unstage)
8426 @[ -f ./fastjar/Makefile ] || exit 0; \
8427 r=`${PWD_COMMAND}`; export r; \
8428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8429 $(HOST_EXPORTS) \
8430 for flag in $(EXTRA_HOST_FLAGS) ; do \
8431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8432 done; \
8433 echo "Doing pdf in fastjar"; \
8434 (cd $(HOST_SUBDIR)/fastjar && \
8435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8437 "RANLIB=$${RANLIB}" \
8438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8439 pdf) \
8440 || exit 1
8442 @endif fastjar
8444 .PHONY: maybe-html-fastjar html-fastjar
8445 maybe-html-fastjar:
8446 @if fastjar
8447 maybe-html-fastjar: html-fastjar
8449 html-fastjar: \
8450 configure-fastjar
8451 @: $(MAKE); $(unstage)
8452 @[ -f ./fastjar/Makefile ] || exit 0; \
8453 r=`${PWD_COMMAND}`; export r; \
8454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8455 $(HOST_EXPORTS) \
8456 for flag in $(EXTRA_HOST_FLAGS) ; do \
8457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8458 done; \
8459 echo "Doing html in fastjar"; \
8460 (cd $(HOST_SUBDIR)/fastjar && \
8461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8463 "RANLIB=$${RANLIB}" \
8464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8465 html) \
8466 || exit 1
8468 @endif fastjar
8470 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8471 maybe-TAGS-fastjar:
8472 @if fastjar
8473 maybe-TAGS-fastjar: TAGS-fastjar
8475 TAGS-fastjar: \
8476 configure-fastjar
8477 @: $(MAKE); $(unstage)
8478 @[ -f ./fastjar/Makefile ] || exit 0; \
8479 r=`${PWD_COMMAND}`; export r; \
8480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8481 $(HOST_EXPORTS) \
8482 for flag in $(EXTRA_HOST_FLAGS) ; do \
8483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8484 done; \
8485 echo "Doing TAGS in fastjar"; \
8486 (cd $(HOST_SUBDIR)/fastjar && \
8487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8489 "RANLIB=$${RANLIB}" \
8490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8491 TAGS) \
8492 || exit 1
8494 @endif fastjar
8496 .PHONY: maybe-install-info-fastjar install-info-fastjar
8497 maybe-install-info-fastjar:
8498 @if fastjar
8499 maybe-install-info-fastjar: install-info-fastjar
8501 install-info-fastjar: \
8502 configure-fastjar \
8503 info-fastjar
8504 @: $(MAKE); $(unstage)
8505 @[ -f ./fastjar/Makefile ] || exit 0; \
8506 r=`${PWD_COMMAND}`; export r; \
8507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8508 $(HOST_EXPORTS) \
8509 for flag in $(EXTRA_HOST_FLAGS) ; do \
8510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8511 done; \
8512 echo "Doing install-info in fastjar"; \
8513 (cd $(HOST_SUBDIR)/fastjar && \
8514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8516 "RANLIB=$${RANLIB}" \
8517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8518 install-info) \
8519 || exit 1
8521 @endif fastjar
8523 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8524 maybe-install-pdf-fastjar:
8525 @if fastjar
8526 maybe-install-pdf-fastjar: install-pdf-fastjar
8528 install-pdf-fastjar: \
8529 configure-fastjar \
8530 pdf-fastjar
8531 @: $(MAKE); $(unstage)
8532 @[ -f ./fastjar/Makefile ] || exit 0; \
8533 r=`${PWD_COMMAND}`; export r; \
8534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8535 $(HOST_EXPORTS) \
8536 for flag in $(EXTRA_HOST_FLAGS) ; do \
8537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8538 done; \
8539 echo "Doing install-pdf in fastjar"; \
8540 (cd $(HOST_SUBDIR)/fastjar && \
8541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8543 "RANLIB=$${RANLIB}" \
8544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8545 install-pdf) \
8546 || exit 1
8548 @endif fastjar
8550 .PHONY: maybe-install-html-fastjar install-html-fastjar
8551 maybe-install-html-fastjar:
8552 @if fastjar
8553 maybe-install-html-fastjar: install-html-fastjar
8555 install-html-fastjar: \
8556 configure-fastjar \
8557 html-fastjar
8558 @: $(MAKE); $(unstage)
8559 @[ -f ./fastjar/Makefile ] || exit 0; \
8560 r=`${PWD_COMMAND}`; export r; \
8561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8562 $(HOST_EXPORTS) \
8563 for flag in $(EXTRA_HOST_FLAGS) ; do \
8564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8565 done; \
8566 echo "Doing install-html in fastjar"; \
8567 (cd $(HOST_SUBDIR)/fastjar && \
8568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8570 "RANLIB=$${RANLIB}" \
8571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8572 install-html) \
8573 || exit 1
8575 @endif fastjar
8577 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8578 maybe-installcheck-fastjar:
8579 @if fastjar
8580 maybe-installcheck-fastjar: installcheck-fastjar
8582 installcheck-fastjar: \
8583 configure-fastjar
8584 @: $(MAKE); $(unstage)
8585 @[ -f ./fastjar/Makefile ] || exit 0; \
8586 r=`${PWD_COMMAND}`; export r; \
8587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8588 $(HOST_EXPORTS) \
8589 for flag in $(EXTRA_HOST_FLAGS) ; do \
8590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8591 done; \
8592 echo "Doing installcheck in fastjar"; \
8593 (cd $(HOST_SUBDIR)/fastjar && \
8594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8596 "RANLIB=$${RANLIB}" \
8597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8598 installcheck) \
8599 || exit 1
8601 @endif fastjar
8603 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8604 maybe-mostlyclean-fastjar:
8605 @if fastjar
8606 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8608 mostlyclean-fastjar:
8609 @: $(MAKE); $(unstage)
8610 @[ -f ./fastjar/Makefile ] || exit 0; \
8611 r=`${PWD_COMMAND}`; export r; \
8612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613 $(HOST_EXPORTS) \
8614 for flag in $(EXTRA_HOST_FLAGS) ; do \
8615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8616 done; \
8617 echo "Doing mostlyclean in fastjar"; \
8618 (cd $(HOST_SUBDIR)/fastjar && \
8619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8621 "RANLIB=$${RANLIB}" \
8622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8623 mostlyclean) \
8624 || exit 1
8626 @endif fastjar
8628 .PHONY: maybe-clean-fastjar clean-fastjar
8629 maybe-clean-fastjar:
8630 @if fastjar
8631 maybe-clean-fastjar: clean-fastjar
8633 clean-fastjar:
8634 @: $(MAKE); $(unstage)
8635 @[ -f ./fastjar/Makefile ] || exit 0; \
8636 r=`${PWD_COMMAND}`; export r; \
8637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8638 $(HOST_EXPORTS) \
8639 for flag in $(EXTRA_HOST_FLAGS) ; do \
8640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8641 done; \
8642 echo "Doing clean in fastjar"; \
8643 (cd $(HOST_SUBDIR)/fastjar && \
8644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8646 "RANLIB=$${RANLIB}" \
8647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8648 clean) \
8649 || exit 1
8651 @endif fastjar
8653 .PHONY: maybe-distclean-fastjar distclean-fastjar
8654 maybe-distclean-fastjar:
8655 @if fastjar
8656 maybe-distclean-fastjar: distclean-fastjar
8658 distclean-fastjar:
8659 @: $(MAKE); $(unstage)
8660 @[ -f ./fastjar/Makefile ] || exit 0; \
8661 r=`${PWD_COMMAND}`; export r; \
8662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8663 $(HOST_EXPORTS) \
8664 for flag in $(EXTRA_HOST_FLAGS) ; do \
8665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8666 done; \
8667 echo "Doing distclean in fastjar"; \
8668 (cd $(HOST_SUBDIR)/fastjar && \
8669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8671 "RANLIB=$${RANLIB}" \
8672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8673 distclean) \
8674 || exit 1
8676 @endif fastjar
8678 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8679 maybe-maintainer-clean-fastjar:
8680 @if fastjar
8681 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8683 maintainer-clean-fastjar:
8684 @: $(MAKE); $(unstage)
8685 @[ -f ./fastjar/Makefile ] || exit 0; \
8686 r=`${PWD_COMMAND}`; export r; \
8687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8688 $(HOST_EXPORTS) \
8689 for flag in $(EXTRA_HOST_FLAGS) ; do \
8690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8691 done; \
8692 echo "Doing maintainer-clean in fastjar"; \
8693 (cd $(HOST_SUBDIR)/fastjar && \
8694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8696 "RANLIB=$${RANLIB}" \
8697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8698 maintainer-clean) \
8699 || exit 1
8701 @endif fastjar
8705 .PHONY: configure-fixincludes maybe-configure-fixincludes
8706 maybe-configure-fixincludes:
8707 @if gcc-bootstrap
8708 configure-fixincludes: stage_current
8709 @endif gcc-bootstrap
8710 @if fixincludes
8711 maybe-configure-fixincludes: configure-fixincludes
8712 configure-fixincludes:
8713 @r=`${PWD_COMMAND}`; export r; \
8714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8715 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8717 $(HOST_EXPORTS) \
8718 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8719 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8720 case $(srcdir) in \
8721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8722 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8724 esac; \
8725 module_srcdir=fixincludes; \
8726 $(SHELL) \
8727 $$s/$$module_srcdir/configure \
8728 --srcdir=$${topdir}/$$module_srcdir \
8729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8730 --target=${target_alias} \
8731 || exit 1
8732 @endif fixincludes
8736 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8737 maybe-configure-stage1-fixincludes:
8738 @if fixincludes-bootstrap
8739 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8740 configure-stage1-fixincludes:
8741 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8742 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8743 @r=`${PWD_COMMAND}`; export r; \
8744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8745 TFLAGS="$(STAGE1_TFLAGS)"; \
8746 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8747 $(HOST_EXPORTS) \
8748 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8749 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8750 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8751 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8753 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8754 case $(srcdir) in \
8755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8756 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8758 esac; \
8759 module_srcdir=fixincludes; \
8760 $(SHELL) $$s/$$module_srcdir/configure \
8761 --srcdir=$${topdir}/$$module_srcdir \
8762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8763 --target=${target_alias} \
8765 $(STAGE1_CONFIGURE_FLAGS)
8766 @endif fixincludes-bootstrap
8768 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8769 maybe-configure-stage2-fixincludes:
8770 @if fixincludes-bootstrap
8771 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8772 configure-stage2-fixincludes:
8773 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8775 @r=`${PWD_COMMAND}`; export r; \
8776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8777 TFLAGS="$(STAGE2_TFLAGS)"; \
8778 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8779 $(HOST_EXPORTS) \
8780 $(POSTSTAGE1_HOST_EXPORTS) \
8781 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8782 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8783 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8784 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8786 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8787 case $(srcdir) in \
8788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8789 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8791 esac; \
8792 module_srcdir=fixincludes; \
8793 $(SHELL) $$s/$$module_srcdir/configure \
8794 --srcdir=$${topdir}/$$module_srcdir \
8795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8796 --target=${target_alias} \
8797 --with-build-libsubdir=$(HOST_SUBDIR) \
8798 $(STAGE2_CONFIGURE_FLAGS)
8799 @endif fixincludes-bootstrap
8801 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8802 maybe-configure-stage3-fixincludes:
8803 @if fixincludes-bootstrap
8804 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8805 configure-stage3-fixincludes:
8806 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8808 @r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 TFLAGS="$(STAGE3_TFLAGS)"; \
8811 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8812 $(HOST_EXPORTS) \
8813 $(POSTSTAGE1_HOST_EXPORTS) \
8814 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8815 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8816 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8817 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8819 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8820 case $(srcdir) in \
8821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8822 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8824 esac; \
8825 module_srcdir=fixincludes; \
8826 $(SHELL) $$s/$$module_srcdir/configure \
8827 --srcdir=$${topdir}/$$module_srcdir \
8828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8829 --target=${target_alias} \
8830 --with-build-libsubdir=$(HOST_SUBDIR) \
8831 $(STAGE3_CONFIGURE_FLAGS)
8832 @endif fixincludes-bootstrap
8834 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8835 maybe-configure-stage4-fixincludes:
8836 @if fixincludes-bootstrap
8837 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8838 configure-stage4-fixincludes:
8839 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8841 @r=`${PWD_COMMAND}`; export r; \
8842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 TFLAGS="$(STAGE4_TFLAGS)"; \
8844 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8845 $(HOST_EXPORTS) \
8846 $(POSTSTAGE1_HOST_EXPORTS) \
8847 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8848 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8849 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8850 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8852 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8853 case $(srcdir) in \
8854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8855 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8857 esac; \
8858 module_srcdir=fixincludes; \
8859 $(SHELL) $$s/$$module_srcdir/configure \
8860 --srcdir=$${topdir}/$$module_srcdir \
8861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8862 --target=${target_alias} \
8863 --with-build-libsubdir=$(HOST_SUBDIR) \
8864 $(STAGE4_CONFIGURE_FLAGS)
8865 @endif fixincludes-bootstrap
8867 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8868 maybe-configure-stageprofile-fixincludes:
8869 @if fixincludes-bootstrap
8870 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8871 configure-stageprofile-fixincludes:
8872 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8874 @r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8877 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8878 $(HOST_EXPORTS) \
8879 $(POSTSTAGE1_HOST_EXPORTS) \
8880 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8881 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8882 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8883 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8885 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8886 case $(srcdir) in \
8887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8888 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8890 esac; \
8891 module_srcdir=fixincludes; \
8892 $(SHELL) $$s/$$module_srcdir/configure \
8893 --srcdir=$${topdir}/$$module_srcdir \
8894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8895 --target=${target_alias} \
8896 --with-build-libsubdir=$(HOST_SUBDIR) \
8897 $(STAGEprofile_CONFIGURE_FLAGS)
8898 @endif fixincludes-bootstrap
8900 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
8901 maybe-configure-stagetrain-fixincludes:
8902 @if fixincludes-bootstrap
8903 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
8904 configure-stagetrain-fixincludes:
8905 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
8906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8907 @r=`${PWD_COMMAND}`; export r; \
8908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8909 TFLAGS="$(STAGEtrain_TFLAGS)"; \
8910 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8911 $(HOST_EXPORTS) \
8912 $(POSTSTAGE1_HOST_EXPORTS) \
8913 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
8914 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
8915 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
8916 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
8917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8918 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8919 case $(srcdir) in \
8920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8921 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8923 esac; \
8924 module_srcdir=fixincludes; \
8925 $(SHELL) $$s/$$module_srcdir/configure \
8926 --srcdir=$${topdir}/$$module_srcdir \
8927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8928 --target=${target_alias} \
8929 --with-build-libsubdir=$(HOST_SUBDIR) \
8930 $(STAGEtrain_CONFIGURE_FLAGS)
8931 @endif fixincludes-bootstrap
8933 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8934 maybe-configure-stagefeedback-fixincludes:
8935 @if fixincludes-bootstrap
8936 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8937 configure-stagefeedback-fixincludes:
8938 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8940 @r=`${PWD_COMMAND}`; export r; \
8941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8942 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8943 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8944 $(HOST_EXPORTS) \
8945 $(POSTSTAGE1_HOST_EXPORTS) \
8946 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8947 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8948 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8949 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8951 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8952 case $(srcdir) in \
8953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8954 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8956 esac; \
8957 module_srcdir=fixincludes; \
8958 $(SHELL) $$s/$$module_srcdir/configure \
8959 --srcdir=$${topdir}/$$module_srcdir \
8960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8961 --target=${target_alias} \
8962 --with-build-libsubdir=$(HOST_SUBDIR) \
8963 $(STAGEfeedback_CONFIGURE_FLAGS)
8964 @endif fixincludes-bootstrap
8966 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8967 maybe-configure-stageautoprofile-fixincludes:
8968 @if fixincludes-bootstrap
8969 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8970 configure-stageautoprofile-fixincludes:
8971 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8973 @r=`${PWD_COMMAND}`; export r; \
8974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8975 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8976 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8977 $(HOST_EXPORTS) \
8978 $(POSTSTAGE1_HOST_EXPORTS) \
8979 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
8980 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
8981 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
8982 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
8983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8984 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8985 case $(srcdir) in \
8986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8987 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8989 esac; \
8990 module_srcdir=fixincludes; \
8991 $(SHELL) $$s/$$module_srcdir/configure \
8992 --srcdir=$${topdir}/$$module_srcdir \
8993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8994 --target=${target_alias} \
8995 --with-build-libsubdir=$(HOST_SUBDIR) \
8996 $(STAGEautoprofile_CONFIGURE_FLAGS)
8997 @endif fixincludes-bootstrap
8999 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9000 maybe-configure-stageautofeedback-fixincludes:
9001 @if fixincludes-bootstrap
9002 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9003 configure-stageautofeedback-fixincludes:
9004 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9006 @r=`${PWD_COMMAND}`; export r; \
9007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9008 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9009 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9010 $(HOST_EXPORTS) \
9011 $(POSTSTAGE1_HOST_EXPORTS) \
9012 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9013 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9014 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9015 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9017 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9018 case $(srcdir) in \
9019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9020 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9022 esac; \
9023 module_srcdir=fixincludes; \
9024 $(SHELL) $$s/$$module_srcdir/configure \
9025 --srcdir=$${topdir}/$$module_srcdir \
9026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9027 --target=${target_alias} \
9028 --with-build-libsubdir=$(HOST_SUBDIR) \
9029 $(STAGEautofeedback_CONFIGURE_FLAGS)
9030 @endif fixincludes-bootstrap
9036 .PHONY: all-fixincludes maybe-all-fixincludes
9037 maybe-all-fixincludes:
9038 @if gcc-bootstrap
9039 all-fixincludes: stage_current
9040 @endif gcc-bootstrap
9041 @if fixincludes
9042 TARGET-fixincludes=all
9043 maybe-all-fixincludes: all-fixincludes
9044 all-fixincludes: configure-fixincludes
9045 @r=`${PWD_COMMAND}`; export r; \
9046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9047 $(HOST_EXPORTS) \
9048 (cd $(HOST_SUBDIR)/fixincludes && \
9049 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9050 $(TARGET-fixincludes))
9051 @endif fixincludes
9055 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9056 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9057 maybe-all-stage1-fixincludes:
9058 maybe-clean-stage1-fixincludes:
9059 @if fixincludes-bootstrap
9060 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9061 all-stage1: all-stage1-fixincludes
9062 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9063 all-stage1-fixincludes: configure-stage1-fixincludes
9064 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9065 @r=`${PWD_COMMAND}`; export r; \
9066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9067 TFLAGS="$(STAGE1_TFLAGS)"; \
9068 $(HOST_EXPORTS) \
9069 cd $(HOST_SUBDIR)/fixincludes && \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9072 CFLAGS="$(STAGE1_CFLAGS)" \
9073 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9074 LIBCFLAGS="$(LIBCFLAGS)" \
9075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9078 $(EXTRA_HOST_FLAGS) \
9079 $(STAGE1_FLAGS_TO_PASS) \
9080 TFLAGS="$(STAGE1_TFLAGS)" \
9081 $(TARGET-stage1-fixincludes)
9083 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9084 clean-stage1: clean-stage1-fixincludes
9085 clean-stage1-fixincludes:
9086 @if [ $(current_stage) = stage1 ]; then \
9087 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9088 else \
9089 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9090 $(MAKE) stage1-start; \
9091 fi; \
9092 cd $(HOST_SUBDIR)/fixincludes && \
9093 $(MAKE) $(EXTRA_HOST_FLAGS) \
9094 $(STAGE1_FLAGS_TO_PASS) clean
9095 @endif fixincludes-bootstrap
9098 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9099 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9100 maybe-all-stage2-fixincludes:
9101 maybe-clean-stage2-fixincludes:
9102 @if fixincludes-bootstrap
9103 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9104 all-stage2: all-stage2-fixincludes
9105 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9106 all-stage2-fixincludes: configure-stage2-fixincludes
9107 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9108 @r=`${PWD_COMMAND}`; export r; \
9109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9110 TFLAGS="$(STAGE2_TFLAGS)"; \
9111 $(HOST_EXPORTS) \
9112 $(POSTSTAGE1_HOST_EXPORTS) \
9113 cd $(HOST_SUBDIR)/fixincludes && \
9115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9116 CFLAGS="$(STAGE2_CFLAGS)" \
9117 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9118 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9123 TFLAGS="$(STAGE2_TFLAGS)" \
9124 $(TARGET-stage2-fixincludes)
9126 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9127 clean-stage2: clean-stage2-fixincludes
9128 clean-stage2-fixincludes:
9129 @if [ $(current_stage) = stage2 ]; then \
9130 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9131 else \
9132 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9133 $(MAKE) stage2-start; \
9134 fi; \
9135 cd $(HOST_SUBDIR)/fixincludes && \
9136 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9137 @endif fixincludes-bootstrap
9140 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9141 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9142 maybe-all-stage3-fixincludes:
9143 maybe-clean-stage3-fixincludes:
9144 @if fixincludes-bootstrap
9145 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9146 all-stage3: all-stage3-fixincludes
9147 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9148 all-stage3-fixincludes: configure-stage3-fixincludes
9149 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9150 @r=`${PWD_COMMAND}`; export r; \
9151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 TFLAGS="$(STAGE3_TFLAGS)"; \
9153 $(HOST_EXPORTS) \
9154 $(POSTSTAGE1_HOST_EXPORTS) \
9155 cd $(HOST_SUBDIR)/fixincludes && \
9157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9158 CFLAGS="$(STAGE3_CFLAGS)" \
9159 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9160 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9165 TFLAGS="$(STAGE3_TFLAGS)" \
9166 $(TARGET-stage3-fixincludes)
9168 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9169 clean-stage3: clean-stage3-fixincludes
9170 clean-stage3-fixincludes:
9171 @if [ $(current_stage) = stage3 ]; then \
9172 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9173 else \
9174 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9175 $(MAKE) stage3-start; \
9176 fi; \
9177 cd $(HOST_SUBDIR)/fixincludes && \
9178 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9179 @endif fixincludes-bootstrap
9182 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9183 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9184 maybe-all-stage4-fixincludes:
9185 maybe-clean-stage4-fixincludes:
9186 @if fixincludes-bootstrap
9187 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9188 all-stage4: all-stage4-fixincludes
9189 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9190 all-stage4-fixincludes: configure-stage4-fixincludes
9191 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9192 @r=`${PWD_COMMAND}`; export r; \
9193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9194 TFLAGS="$(STAGE4_TFLAGS)"; \
9195 $(HOST_EXPORTS) \
9196 $(POSTSTAGE1_HOST_EXPORTS) \
9197 cd $(HOST_SUBDIR)/fixincludes && \
9199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9200 CFLAGS="$(STAGE4_CFLAGS)" \
9201 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9202 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9207 TFLAGS="$(STAGE4_TFLAGS)" \
9208 $(TARGET-stage4-fixincludes)
9210 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9211 clean-stage4: clean-stage4-fixincludes
9212 clean-stage4-fixincludes:
9213 @if [ $(current_stage) = stage4 ]; then \
9214 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9215 else \
9216 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9217 $(MAKE) stage4-start; \
9218 fi; \
9219 cd $(HOST_SUBDIR)/fixincludes && \
9220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9221 @endif fixincludes-bootstrap
9224 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9225 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9226 maybe-all-stageprofile-fixincludes:
9227 maybe-clean-stageprofile-fixincludes:
9228 @if fixincludes-bootstrap
9229 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9230 all-stageprofile: all-stageprofile-fixincludes
9231 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9232 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9233 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9234 @r=`${PWD_COMMAND}`; export r; \
9235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9236 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9237 $(HOST_EXPORTS) \
9238 $(POSTSTAGE1_HOST_EXPORTS) \
9239 cd $(HOST_SUBDIR)/fixincludes && \
9241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9242 CFLAGS="$(STAGEprofile_CFLAGS)" \
9243 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9244 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9249 TFLAGS="$(STAGEprofile_TFLAGS)" \
9250 $(TARGET-stageprofile-fixincludes)
9252 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9253 clean-stageprofile: clean-stageprofile-fixincludes
9254 clean-stageprofile-fixincludes:
9255 @if [ $(current_stage) = stageprofile ]; then \
9256 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9257 else \
9258 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9259 $(MAKE) stageprofile-start; \
9260 fi; \
9261 cd $(HOST_SUBDIR)/fixincludes && \
9262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9263 @endif fixincludes-bootstrap
9266 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9267 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9268 maybe-all-stagetrain-fixincludes:
9269 maybe-clean-stagetrain-fixincludes:
9270 @if fixincludes-bootstrap
9271 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9272 all-stagetrain: all-stagetrain-fixincludes
9273 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9274 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9275 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9276 @r=`${PWD_COMMAND}`; export r; \
9277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9278 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9279 $(HOST_EXPORTS) \
9280 $(POSTSTAGE1_HOST_EXPORTS) \
9281 cd $(HOST_SUBDIR)/fixincludes && \
9283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9284 CFLAGS="$(STAGEtrain_CFLAGS)" \
9285 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9286 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9290 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9291 TFLAGS="$(STAGEtrain_TFLAGS)" \
9292 $(TARGET-stagetrain-fixincludes)
9294 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9295 clean-stagetrain: clean-stagetrain-fixincludes
9296 clean-stagetrain-fixincludes:
9297 @if [ $(current_stage) = stagetrain ]; then \
9298 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9299 else \
9300 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9301 $(MAKE) stagetrain-start; \
9302 fi; \
9303 cd $(HOST_SUBDIR)/fixincludes && \
9304 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9305 @endif fixincludes-bootstrap
9308 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9309 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9310 maybe-all-stagefeedback-fixincludes:
9311 maybe-clean-stagefeedback-fixincludes:
9312 @if fixincludes-bootstrap
9313 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9314 all-stagefeedback: all-stagefeedback-fixincludes
9315 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9316 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9317 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9318 @r=`${PWD_COMMAND}`; export r; \
9319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9320 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9321 $(HOST_EXPORTS) \
9322 $(POSTSTAGE1_HOST_EXPORTS) \
9323 cd $(HOST_SUBDIR)/fixincludes && \
9325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9326 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9327 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9328 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9333 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9334 $(TARGET-stagefeedback-fixincludes)
9336 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9337 clean-stagefeedback: clean-stagefeedback-fixincludes
9338 clean-stagefeedback-fixincludes:
9339 @if [ $(current_stage) = stagefeedback ]; then \
9340 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9341 else \
9342 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9343 $(MAKE) stagefeedback-start; \
9344 fi; \
9345 cd $(HOST_SUBDIR)/fixincludes && \
9346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9347 @endif fixincludes-bootstrap
9350 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9351 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9352 maybe-all-stageautoprofile-fixincludes:
9353 maybe-clean-stageautoprofile-fixincludes:
9354 @if fixincludes-bootstrap
9355 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9356 all-stageautoprofile: all-stageautoprofile-fixincludes
9357 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9358 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9359 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9360 @r=`${PWD_COMMAND}`; export r; \
9361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9362 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9363 $(HOST_EXPORTS) \
9364 $(POSTSTAGE1_HOST_EXPORTS) \
9365 cd $(HOST_SUBDIR)/fixincludes && \
9366 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9368 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9369 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9370 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9375 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9376 $(TARGET-stageautoprofile-fixincludes)
9378 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9379 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9380 clean-stageautoprofile-fixincludes:
9381 @if [ $(current_stage) = stageautoprofile ]; then \
9382 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9383 else \
9384 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9385 $(MAKE) stageautoprofile-start; \
9386 fi; \
9387 cd $(HOST_SUBDIR)/fixincludes && \
9388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9389 @endif fixincludes-bootstrap
9392 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9393 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9394 maybe-all-stageautofeedback-fixincludes:
9395 maybe-clean-stageautofeedback-fixincludes:
9396 @if fixincludes-bootstrap
9397 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9398 all-stageautofeedback: all-stageautofeedback-fixincludes
9399 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9400 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9401 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9402 @r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9404 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9405 $(HOST_EXPORTS) \
9406 $(POSTSTAGE1_HOST_EXPORTS) \
9407 cd $(HOST_SUBDIR)/fixincludes && \
9409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9410 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9411 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9412 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9417 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9418 $(TARGET-stageautofeedback-fixincludes)
9420 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9421 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9422 clean-stageautofeedback-fixincludes:
9423 @if [ $(current_stage) = stageautofeedback ]; then \
9424 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9425 else \
9426 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9427 $(MAKE) stageautofeedback-start; \
9428 fi; \
9429 cd $(HOST_SUBDIR)/fixincludes && \
9430 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9431 @endif fixincludes-bootstrap
9437 .PHONY: check-fixincludes maybe-check-fixincludes
9438 maybe-check-fixincludes:
9439 @if fixincludes
9440 maybe-check-fixincludes: check-fixincludes
9442 check-fixincludes:
9443 @: $(MAKE); $(unstage)
9444 @r=`${PWD_COMMAND}`; export r; \
9445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9446 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9447 (cd $(HOST_SUBDIR)/fixincludes && \
9448 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9450 @endif fixincludes
9452 .PHONY: install-fixincludes maybe-install-fixincludes
9453 maybe-install-fixincludes:
9454 @if fixincludes
9455 maybe-install-fixincludes: install-fixincludes
9457 install-fixincludes: installdirs
9458 @: $(MAKE); $(unstage)
9459 @r=`${PWD_COMMAND}`; export r; \
9460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9461 $(HOST_EXPORTS) \
9462 (cd $(HOST_SUBDIR)/fixincludes && \
9463 $(MAKE) $(FLAGS_TO_PASS) install)
9465 @endif fixincludes
9467 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9468 maybe-install-strip-fixincludes:
9469 @if fixincludes
9470 maybe-install-strip-fixincludes: install-strip-fixincludes
9472 install-strip-fixincludes: installdirs
9473 @: $(MAKE); $(unstage)
9474 @r=`${PWD_COMMAND}`; export r; \
9475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9476 $(HOST_EXPORTS) \
9477 (cd $(HOST_SUBDIR)/fixincludes && \
9478 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9480 @endif fixincludes
9482 # Other targets (info, dvi, pdf, etc.)
9484 .PHONY: maybe-info-fixincludes info-fixincludes
9485 maybe-info-fixincludes:
9486 @if fixincludes
9487 maybe-info-fixincludes: info-fixincludes
9489 info-fixincludes: \
9490 configure-fixincludes
9491 @[ -f ./fixincludes/Makefile ] || exit 0; \
9492 r=`${PWD_COMMAND}`; export r; \
9493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9494 $(HOST_EXPORTS) \
9495 for flag in $(EXTRA_HOST_FLAGS) ; do \
9496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9497 done; \
9498 echo "Doing info in fixincludes"; \
9499 (cd $(HOST_SUBDIR)/fixincludes && \
9500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9502 "RANLIB=$${RANLIB}" \
9503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9504 info) \
9505 || exit 1
9507 @endif fixincludes
9509 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9510 maybe-dvi-fixincludes:
9511 @if fixincludes
9512 maybe-dvi-fixincludes: dvi-fixincludes
9514 dvi-fixincludes: \
9515 configure-fixincludes
9516 @[ -f ./fixincludes/Makefile ] || exit 0; \
9517 r=`${PWD_COMMAND}`; export r; \
9518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9519 $(HOST_EXPORTS) \
9520 for flag in $(EXTRA_HOST_FLAGS) ; do \
9521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9522 done; \
9523 echo "Doing dvi in fixincludes"; \
9524 (cd $(HOST_SUBDIR)/fixincludes && \
9525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9527 "RANLIB=$${RANLIB}" \
9528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9529 dvi) \
9530 || exit 1
9532 @endif fixincludes
9534 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9535 maybe-pdf-fixincludes:
9536 @if fixincludes
9537 maybe-pdf-fixincludes: pdf-fixincludes
9539 pdf-fixincludes: \
9540 configure-fixincludes
9541 @[ -f ./fixincludes/Makefile ] || exit 0; \
9542 r=`${PWD_COMMAND}`; export r; \
9543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9544 $(HOST_EXPORTS) \
9545 for flag in $(EXTRA_HOST_FLAGS) ; do \
9546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9547 done; \
9548 echo "Doing pdf in fixincludes"; \
9549 (cd $(HOST_SUBDIR)/fixincludes && \
9550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9552 "RANLIB=$${RANLIB}" \
9553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9554 pdf) \
9555 || exit 1
9557 @endif fixincludes
9559 .PHONY: maybe-html-fixincludes html-fixincludes
9560 maybe-html-fixincludes:
9561 @if fixincludes
9562 maybe-html-fixincludes: html-fixincludes
9564 html-fixincludes: \
9565 configure-fixincludes
9566 @[ -f ./fixincludes/Makefile ] || exit 0; \
9567 r=`${PWD_COMMAND}`; export r; \
9568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9569 $(HOST_EXPORTS) \
9570 for flag in $(EXTRA_HOST_FLAGS) ; do \
9571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9572 done; \
9573 echo "Doing html in fixincludes"; \
9574 (cd $(HOST_SUBDIR)/fixincludes && \
9575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9577 "RANLIB=$${RANLIB}" \
9578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9579 html) \
9580 || exit 1
9582 @endif fixincludes
9584 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9585 maybe-TAGS-fixincludes:
9586 @if fixincludes
9587 maybe-TAGS-fixincludes: TAGS-fixincludes
9589 # fixincludes doesn't support TAGS.
9590 TAGS-fixincludes:
9592 @endif fixincludes
9594 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9595 maybe-install-info-fixincludes:
9596 @if fixincludes
9597 maybe-install-info-fixincludes: install-info-fixincludes
9599 install-info-fixincludes: \
9600 configure-fixincludes \
9601 info-fixincludes
9602 @[ -f ./fixincludes/Makefile ] || exit 0; \
9603 r=`${PWD_COMMAND}`; export r; \
9604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9605 $(HOST_EXPORTS) \
9606 for flag in $(EXTRA_HOST_FLAGS) ; do \
9607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9608 done; \
9609 echo "Doing install-info in fixincludes"; \
9610 (cd $(HOST_SUBDIR)/fixincludes && \
9611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9613 "RANLIB=$${RANLIB}" \
9614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9615 install-info) \
9616 || exit 1
9618 @endif fixincludes
9620 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9621 maybe-install-pdf-fixincludes:
9622 @if fixincludes
9623 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9625 install-pdf-fixincludes: \
9626 configure-fixincludes \
9627 pdf-fixincludes
9628 @[ -f ./fixincludes/Makefile ] || exit 0; \
9629 r=`${PWD_COMMAND}`; export r; \
9630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9631 $(HOST_EXPORTS) \
9632 for flag in $(EXTRA_HOST_FLAGS) ; do \
9633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9634 done; \
9635 echo "Doing install-pdf in fixincludes"; \
9636 (cd $(HOST_SUBDIR)/fixincludes && \
9637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9639 "RANLIB=$${RANLIB}" \
9640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9641 install-pdf) \
9642 || exit 1
9644 @endif fixincludes
9646 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9647 maybe-install-html-fixincludes:
9648 @if fixincludes
9649 maybe-install-html-fixincludes: install-html-fixincludes
9651 install-html-fixincludes: \
9652 configure-fixincludes \
9653 html-fixincludes
9654 @[ -f ./fixincludes/Makefile ] || exit 0; \
9655 r=`${PWD_COMMAND}`; export r; \
9656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9657 $(HOST_EXPORTS) \
9658 for flag in $(EXTRA_HOST_FLAGS) ; do \
9659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9660 done; \
9661 echo "Doing install-html in fixincludes"; \
9662 (cd $(HOST_SUBDIR)/fixincludes && \
9663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9665 "RANLIB=$${RANLIB}" \
9666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9667 install-html) \
9668 || exit 1
9670 @endif fixincludes
9672 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9673 maybe-installcheck-fixincludes:
9674 @if fixincludes
9675 maybe-installcheck-fixincludes: installcheck-fixincludes
9677 installcheck-fixincludes: \
9678 configure-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 installcheck 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 installcheck) \
9693 || exit 1
9695 @endif fixincludes
9697 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9698 maybe-mostlyclean-fixincludes:
9699 @if fixincludes
9700 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9702 mostlyclean-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 mostlyclean 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 mostlyclean) \
9717 || exit 1
9719 @endif fixincludes
9721 .PHONY: maybe-clean-fixincludes clean-fixincludes
9722 maybe-clean-fixincludes:
9723 @if fixincludes
9724 maybe-clean-fixincludes: clean-fixincludes
9726 clean-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 clean 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 clean) \
9741 || exit 1
9743 @endif fixincludes
9745 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9746 maybe-distclean-fixincludes:
9747 @if fixincludes
9748 maybe-distclean-fixincludes: distclean-fixincludes
9750 distclean-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 distclean 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 distclean) \
9765 || exit 1
9767 @endif fixincludes
9769 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9770 maybe-maintainer-clean-fixincludes:
9771 @if fixincludes
9772 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9774 maintainer-clean-fixincludes:
9775 @[ -f ./fixincludes/Makefile ] || exit 0; \
9776 r=`${PWD_COMMAND}`; export r; \
9777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9778 $(HOST_EXPORTS) \
9779 for flag in $(EXTRA_HOST_FLAGS) ; do \
9780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9781 done; \
9782 echo "Doing maintainer-clean in fixincludes"; \
9783 (cd $(HOST_SUBDIR)/fixincludes && \
9784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9786 "RANLIB=$${RANLIB}" \
9787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9788 maintainer-clean) \
9789 || exit 1
9791 @endif fixincludes
9795 .PHONY: configure-flex maybe-configure-flex
9796 maybe-configure-flex:
9797 @if gcc-bootstrap
9798 configure-flex: stage_current
9799 @endif gcc-bootstrap
9800 @if flex
9801 maybe-configure-flex: configure-flex
9802 configure-flex:
9803 @: $(MAKE); $(unstage)
9804 @r=`${PWD_COMMAND}`; export r; \
9805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9806 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9808 $(HOST_EXPORTS) \
9809 echo Configuring in $(HOST_SUBDIR)/flex; \
9810 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9811 case $(srcdir) in \
9812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9813 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9815 esac; \
9816 module_srcdir=flex; \
9817 $(SHELL) \
9818 $$s/$$module_srcdir/configure \
9819 --srcdir=$${topdir}/$$module_srcdir \
9820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9821 --target=${target_alias} \
9822 || exit 1
9823 @endif flex
9829 .PHONY: all-flex maybe-all-flex
9830 maybe-all-flex:
9831 @if gcc-bootstrap
9832 all-flex: stage_current
9833 @endif gcc-bootstrap
9834 @if flex
9835 TARGET-flex=all
9836 maybe-all-flex: all-flex
9837 all-flex: configure-flex
9838 @: $(MAKE); $(unstage)
9839 @r=`${PWD_COMMAND}`; export r; \
9840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9841 $(HOST_EXPORTS) \
9842 (cd $(HOST_SUBDIR)/flex && \
9843 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9844 $(TARGET-flex))
9845 @endif flex
9850 .PHONY: check-flex maybe-check-flex
9851 maybe-check-flex:
9852 @if flex
9853 maybe-check-flex: check-flex
9855 # This module is only tested in a native toolchain.
9856 check-flex:
9857 @: $(MAKE); $(unstage)
9858 @if [ '$(host)' = '$(target)' ]; then \
9859 r=`${PWD_COMMAND}`; export r; \
9860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9861 $(HOST_EXPORTS) \
9862 (cd $(HOST_SUBDIR)/flex && \
9863 $(MAKE) $(FLAGS_TO_PASS) check)
9866 @endif flex
9868 .PHONY: install-flex maybe-install-flex
9869 maybe-install-flex:
9870 @if flex
9871 maybe-install-flex: install-flex
9873 install-flex: installdirs
9874 @: $(MAKE); $(unstage)
9875 @r=`${PWD_COMMAND}`; export r; \
9876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9877 $(HOST_EXPORTS) \
9878 (cd $(HOST_SUBDIR)/flex && \
9879 $(MAKE) $(FLAGS_TO_PASS) install)
9881 @endif flex
9883 .PHONY: install-strip-flex maybe-install-strip-flex
9884 maybe-install-strip-flex:
9885 @if flex
9886 maybe-install-strip-flex: install-strip-flex
9888 install-strip-flex: installdirs
9889 @: $(MAKE); $(unstage)
9890 @r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9892 $(HOST_EXPORTS) \
9893 (cd $(HOST_SUBDIR)/flex && \
9894 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9896 @endif flex
9898 # Other targets (info, dvi, pdf, etc.)
9900 .PHONY: maybe-info-flex info-flex
9901 maybe-info-flex:
9902 @if flex
9903 maybe-info-flex: info-flex
9905 info-flex: \
9906 configure-flex
9907 @: $(MAKE); $(unstage)
9908 @[ -f ./flex/Makefile ] || exit 0; \
9909 r=`${PWD_COMMAND}`; export r; \
9910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9911 $(HOST_EXPORTS) \
9912 for flag in $(EXTRA_HOST_FLAGS) ; do \
9913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9914 done; \
9915 echo "Doing info in flex"; \
9916 (cd $(HOST_SUBDIR)/flex && \
9917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9919 "RANLIB=$${RANLIB}" \
9920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9921 info) \
9922 || exit 1
9924 @endif flex
9926 .PHONY: maybe-dvi-flex dvi-flex
9927 maybe-dvi-flex:
9928 @if flex
9929 maybe-dvi-flex: dvi-flex
9931 dvi-flex: \
9932 configure-flex
9933 @: $(MAKE); $(unstage)
9934 @[ -f ./flex/Makefile ] || exit 0; \
9935 r=`${PWD_COMMAND}`; export r; \
9936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9937 $(HOST_EXPORTS) \
9938 for flag in $(EXTRA_HOST_FLAGS) ; do \
9939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9940 done; \
9941 echo "Doing dvi in flex"; \
9942 (cd $(HOST_SUBDIR)/flex && \
9943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9945 "RANLIB=$${RANLIB}" \
9946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9947 dvi) \
9948 || exit 1
9950 @endif flex
9952 .PHONY: maybe-pdf-flex pdf-flex
9953 maybe-pdf-flex:
9954 @if flex
9955 maybe-pdf-flex: pdf-flex
9957 pdf-flex: \
9958 configure-flex
9959 @: $(MAKE); $(unstage)
9960 @[ -f ./flex/Makefile ] || exit 0; \
9961 r=`${PWD_COMMAND}`; export r; \
9962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9963 $(HOST_EXPORTS) \
9964 for flag in $(EXTRA_HOST_FLAGS) ; do \
9965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9966 done; \
9967 echo "Doing pdf in flex"; \
9968 (cd $(HOST_SUBDIR)/flex && \
9969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9971 "RANLIB=$${RANLIB}" \
9972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9973 pdf) \
9974 || exit 1
9976 @endif flex
9978 .PHONY: maybe-html-flex html-flex
9979 maybe-html-flex:
9980 @if flex
9981 maybe-html-flex: html-flex
9983 html-flex: \
9984 configure-flex
9985 @: $(MAKE); $(unstage)
9986 @[ -f ./flex/Makefile ] || exit 0; \
9987 r=`${PWD_COMMAND}`; export r; \
9988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9989 $(HOST_EXPORTS) \
9990 for flag in $(EXTRA_HOST_FLAGS) ; do \
9991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9992 done; \
9993 echo "Doing html in flex"; \
9994 (cd $(HOST_SUBDIR)/flex && \
9995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9997 "RANLIB=$${RANLIB}" \
9998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9999 html) \
10000 || exit 1
10002 @endif flex
10004 .PHONY: maybe-TAGS-flex TAGS-flex
10005 maybe-TAGS-flex:
10006 @if flex
10007 maybe-TAGS-flex: TAGS-flex
10009 TAGS-flex: \
10010 configure-flex
10011 @: $(MAKE); $(unstage)
10012 @[ -f ./flex/Makefile ] || exit 0; \
10013 r=`${PWD_COMMAND}`; export r; \
10014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10015 $(HOST_EXPORTS) \
10016 for flag in $(EXTRA_HOST_FLAGS) ; do \
10017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10018 done; \
10019 echo "Doing TAGS in flex"; \
10020 (cd $(HOST_SUBDIR)/flex && \
10021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10023 "RANLIB=$${RANLIB}" \
10024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10025 TAGS) \
10026 || exit 1
10028 @endif flex
10030 .PHONY: maybe-install-info-flex install-info-flex
10031 maybe-install-info-flex:
10032 @if flex
10033 maybe-install-info-flex: install-info-flex
10035 install-info-flex: \
10036 configure-flex \
10037 info-flex
10038 @: $(MAKE); $(unstage)
10039 @[ -f ./flex/Makefile ] || exit 0; \
10040 r=`${PWD_COMMAND}`; export r; \
10041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10042 $(HOST_EXPORTS) \
10043 for flag in $(EXTRA_HOST_FLAGS) ; do \
10044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10045 done; \
10046 echo "Doing install-info in flex"; \
10047 (cd $(HOST_SUBDIR)/flex && \
10048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10050 "RANLIB=$${RANLIB}" \
10051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10052 install-info) \
10053 || exit 1
10055 @endif flex
10057 .PHONY: maybe-install-pdf-flex install-pdf-flex
10058 maybe-install-pdf-flex:
10059 @if flex
10060 maybe-install-pdf-flex: install-pdf-flex
10062 install-pdf-flex: \
10063 configure-flex \
10064 pdf-flex
10065 @: $(MAKE); $(unstage)
10066 @[ -f ./flex/Makefile ] || exit 0; \
10067 r=`${PWD_COMMAND}`; export r; \
10068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10069 $(HOST_EXPORTS) \
10070 for flag in $(EXTRA_HOST_FLAGS) ; do \
10071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10072 done; \
10073 echo "Doing install-pdf in flex"; \
10074 (cd $(HOST_SUBDIR)/flex && \
10075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10077 "RANLIB=$${RANLIB}" \
10078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10079 install-pdf) \
10080 || exit 1
10082 @endif flex
10084 .PHONY: maybe-install-html-flex install-html-flex
10085 maybe-install-html-flex:
10086 @if flex
10087 maybe-install-html-flex: install-html-flex
10089 install-html-flex: \
10090 configure-flex \
10091 html-flex
10092 @: $(MAKE); $(unstage)
10093 @[ -f ./flex/Makefile ] || exit 0; \
10094 r=`${PWD_COMMAND}`; export r; \
10095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10096 $(HOST_EXPORTS) \
10097 for flag in $(EXTRA_HOST_FLAGS) ; do \
10098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10099 done; \
10100 echo "Doing install-html in flex"; \
10101 (cd $(HOST_SUBDIR)/flex && \
10102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10104 "RANLIB=$${RANLIB}" \
10105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10106 install-html) \
10107 || exit 1
10109 @endif flex
10111 .PHONY: maybe-installcheck-flex installcheck-flex
10112 maybe-installcheck-flex:
10113 @if flex
10114 maybe-installcheck-flex: installcheck-flex
10116 installcheck-flex: \
10117 configure-flex
10118 @: $(MAKE); $(unstage)
10119 @[ -f ./flex/Makefile ] || exit 0; \
10120 r=`${PWD_COMMAND}`; export r; \
10121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122 $(HOST_EXPORTS) \
10123 for flag in $(EXTRA_HOST_FLAGS) ; do \
10124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 done; \
10126 echo "Doing installcheck in flex"; \
10127 (cd $(HOST_SUBDIR)/flex && \
10128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10130 "RANLIB=$${RANLIB}" \
10131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10132 installcheck) \
10133 || exit 1
10135 @endif flex
10137 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10138 maybe-mostlyclean-flex:
10139 @if flex
10140 maybe-mostlyclean-flex: mostlyclean-flex
10142 mostlyclean-flex:
10143 @: $(MAKE); $(unstage)
10144 @[ -f ./flex/Makefile ] || exit 0; \
10145 r=`${PWD_COMMAND}`; export r; \
10146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10147 $(HOST_EXPORTS) \
10148 for flag in $(EXTRA_HOST_FLAGS) ; do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10150 done; \
10151 echo "Doing mostlyclean in flex"; \
10152 (cd $(HOST_SUBDIR)/flex && \
10153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10155 "RANLIB=$${RANLIB}" \
10156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10157 mostlyclean) \
10158 || exit 1
10160 @endif flex
10162 .PHONY: maybe-clean-flex clean-flex
10163 maybe-clean-flex:
10164 @if flex
10165 maybe-clean-flex: clean-flex
10167 clean-flex:
10168 @: $(MAKE); $(unstage)
10169 @[ -f ./flex/Makefile ] || exit 0; \
10170 r=`${PWD_COMMAND}`; export r; \
10171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10172 $(HOST_EXPORTS) \
10173 for flag in $(EXTRA_HOST_FLAGS) ; do \
10174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10175 done; \
10176 echo "Doing clean in flex"; \
10177 (cd $(HOST_SUBDIR)/flex && \
10178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10180 "RANLIB=$${RANLIB}" \
10181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10182 clean) \
10183 || exit 1
10185 @endif flex
10187 .PHONY: maybe-distclean-flex distclean-flex
10188 maybe-distclean-flex:
10189 @if flex
10190 maybe-distclean-flex: distclean-flex
10192 distclean-flex:
10193 @: $(MAKE); $(unstage)
10194 @[ -f ./flex/Makefile ] || exit 0; \
10195 r=`${PWD_COMMAND}`; export r; \
10196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10197 $(HOST_EXPORTS) \
10198 for flag in $(EXTRA_HOST_FLAGS) ; do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10200 done; \
10201 echo "Doing distclean in flex"; \
10202 (cd $(HOST_SUBDIR)/flex && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10207 distclean) \
10208 || exit 1
10210 @endif flex
10212 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10213 maybe-maintainer-clean-flex:
10214 @if flex
10215 maybe-maintainer-clean-flex: maintainer-clean-flex
10217 maintainer-clean-flex:
10218 @: $(MAKE); $(unstage)
10219 @[ -f ./flex/Makefile ] || exit 0; \
10220 r=`${PWD_COMMAND}`; export r; \
10221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10222 $(HOST_EXPORTS) \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10225 done; \
10226 echo "Doing maintainer-clean in flex"; \
10227 (cd $(HOST_SUBDIR)/flex && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10232 maintainer-clean) \
10233 || exit 1
10235 @endif flex
10239 .PHONY: configure-gas maybe-configure-gas
10240 maybe-configure-gas:
10241 @if gcc-bootstrap
10242 configure-gas: stage_current
10243 @endif gcc-bootstrap
10244 @if gas
10245 maybe-configure-gas: configure-gas
10246 configure-gas:
10247 @r=`${PWD_COMMAND}`; export r; \
10248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10249 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10251 $(HOST_EXPORTS) \
10252 echo Configuring in $(HOST_SUBDIR)/gas; \
10253 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10254 case $(srcdir) in \
10255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10256 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10258 esac; \
10259 module_srcdir=gas; \
10260 $(SHELL) \
10261 $$s/$$module_srcdir/configure \
10262 --srcdir=$${topdir}/$$module_srcdir \
10263 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10264 --target=${target_alias} \
10265 || exit 1
10266 @endif gas
10270 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10271 maybe-configure-stage1-gas:
10272 @if gas-bootstrap
10273 maybe-configure-stage1-gas: configure-stage1-gas
10274 configure-stage1-gas:
10275 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10277 @r=`${PWD_COMMAND}`; export r; \
10278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10279 TFLAGS="$(STAGE1_TFLAGS)"; \
10280 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10281 $(HOST_EXPORTS) \
10282 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10283 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10284 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10285 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10287 cd $(HOST_SUBDIR)/gas || exit 1; \
10288 case $(srcdir) in \
10289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10290 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10292 esac; \
10293 module_srcdir=gas; \
10294 $(SHELL) $$s/$$module_srcdir/configure \
10295 --srcdir=$${topdir}/$$module_srcdir \
10296 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10297 --target=${target_alias} \
10299 $(STAGE1_CONFIGURE_FLAGS)
10300 @endif gas-bootstrap
10302 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10303 maybe-configure-stage2-gas:
10304 @if gas-bootstrap
10305 maybe-configure-stage2-gas: configure-stage2-gas
10306 configure-stage2-gas:
10307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10308 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10309 @r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 TFLAGS="$(STAGE2_TFLAGS)"; \
10312 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10313 $(HOST_EXPORTS) \
10314 $(POSTSTAGE1_HOST_EXPORTS) \
10315 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10316 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10317 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10318 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10320 cd $(HOST_SUBDIR)/gas || exit 1; \
10321 case $(srcdir) in \
10322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10323 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10325 esac; \
10326 module_srcdir=gas; \
10327 $(SHELL) $$s/$$module_srcdir/configure \
10328 --srcdir=$${topdir}/$$module_srcdir \
10329 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10330 --target=${target_alias} \
10331 --with-build-libsubdir=$(HOST_SUBDIR) \
10332 $(STAGE2_CONFIGURE_FLAGS)
10333 @endif gas-bootstrap
10335 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10336 maybe-configure-stage3-gas:
10337 @if gas-bootstrap
10338 maybe-configure-stage3-gas: configure-stage3-gas
10339 configure-stage3-gas:
10340 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10342 @r=`${PWD_COMMAND}`; export r; \
10343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10344 TFLAGS="$(STAGE3_TFLAGS)"; \
10345 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10346 $(HOST_EXPORTS) \
10347 $(POSTSTAGE1_HOST_EXPORTS) \
10348 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10349 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10350 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10351 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10353 cd $(HOST_SUBDIR)/gas || exit 1; \
10354 case $(srcdir) in \
10355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10356 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10358 esac; \
10359 module_srcdir=gas; \
10360 $(SHELL) $$s/$$module_srcdir/configure \
10361 --srcdir=$${topdir}/$$module_srcdir \
10362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10363 --target=${target_alias} \
10364 --with-build-libsubdir=$(HOST_SUBDIR) \
10365 $(STAGE3_CONFIGURE_FLAGS)
10366 @endif gas-bootstrap
10368 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10369 maybe-configure-stage4-gas:
10370 @if gas-bootstrap
10371 maybe-configure-stage4-gas: configure-stage4-gas
10372 configure-stage4-gas:
10373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10375 @r=`${PWD_COMMAND}`; export r; \
10376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10377 TFLAGS="$(STAGE4_TFLAGS)"; \
10378 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10379 $(HOST_EXPORTS) \
10380 $(POSTSTAGE1_HOST_EXPORTS) \
10381 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10382 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10383 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10384 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10386 cd $(HOST_SUBDIR)/gas || exit 1; \
10387 case $(srcdir) in \
10388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10389 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10391 esac; \
10392 module_srcdir=gas; \
10393 $(SHELL) $$s/$$module_srcdir/configure \
10394 --srcdir=$${topdir}/$$module_srcdir \
10395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10396 --target=${target_alias} \
10397 --with-build-libsubdir=$(HOST_SUBDIR) \
10398 $(STAGE4_CONFIGURE_FLAGS)
10399 @endif gas-bootstrap
10401 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10402 maybe-configure-stageprofile-gas:
10403 @if gas-bootstrap
10404 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10405 configure-stageprofile-gas:
10406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10407 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10408 @r=`${PWD_COMMAND}`; export r; \
10409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10411 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10412 $(HOST_EXPORTS) \
10413 $(POSTSTAGE1_HOST_EXPORTS) \
10414 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10415 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10416 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10417 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10419 cd $(HOST_SUBDIR)/gas || exit 1; \
10420 case $(srcdir) in \
10421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10422 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10424 esac; \
10425 module_srcdir=gas; \
10426 $(SHELL) $$s/$$module_srcdir/configure \
10427 --srcdir=$${topdir}/$$module_srcdir \
10428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10429 --target=${target_alias} \
10430 --with-build-libsubdir=$(HOST_SUBDIR) \
10431 $(STAGEprofile_CONFIGURE_FLAGS)
10432 @endif gas-bootstrap
10434 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10435 maybe-configure-stagetrain-gas:
10436 @if gas-bootstrap
10437 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10438 configure-stagetrain-gas:
10439 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10440 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10441 @r=`${PWD_COMMAND}`; export r; \
10442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10443 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10444 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10445 $(HOST_EXPORTS) \
10446 $(POSTSTAGE1_HOST_EXPORTS) \
10447 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10448 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10449 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10450 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10452 cd $(HOST_SUBDIR)/gas || exit 1; \
10453 case $(srcdir) in \
10454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10455 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10457 esac; \
10458 module_srcdir=gas; \
10459 $(SHELL) $$s/$$module_srcdir/configure \
10460 --srcdir=$${topdir}/$$module_srcdir \
10461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10462 --target=${target_alias} \
10463 --with-build-libsubdir=$(HOST_SUBDIR) \
10464 $(STAGEtrain_CONFIGURE_FLAGS)
10465 @endif gas-bootstrap
10467 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10468 maybe-configure-stagefeedback-gas:
10469 @if gas-bootstrap
10470 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10471 configure-stagefeedback-gas:
10472 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10474 @r=`${PWD_COMMAND}`; export r; \
10475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10476 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10477 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10478 $(HOST_EXPORTS) \
10479 $(POSTSTAGE1_HOST_EXPORTS) \
10480 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10481 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10482 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10483 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10485 cd $(HOST_SUBDIR)/gas || exit 1; \
10486 case $(srcdir) in \
10487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10488 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10490 esac; \
10491 module_srcdir=gas; \
10492 $(SHELL) $$s/$$module_srcdir/configure \
10493 --srcdir=$${topdir}/$$module_srcdir \
10494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10495 --target=${target_alias} \
10496 --with-build-libsubdir=$(HOST_SUBDIR) \
10497 $(STAGEfeedback_CONFIGURE_FLAGS)
10498 @endif gas-bootstrap
10500 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10501 maybe-configure-stageautoprofile-gas:
10502 @if gas-bootstrap
10503 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10504 configure-stageautoprofile-gas:
10505 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10507 @r=`${PWD_COMMAND}`; export r; \
10508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10509 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10510 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10511 $(HOST_EXPORTS) \
10512 $(POSTSTAGE1_HOST_EXPORTS) \
10513 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10514 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10515 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10516 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10518 cd $(HOST_SUBDIR)/gas || exit 1; \
10519 case $(srcdir) in \
10520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10521 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10523 esac; \
10524 module_srcdir=gas; \
10525 $(SHELL) $$s/$$module_srcdir/configure \
10526 --srcdir=$${topdir}/$$module_srcdir \
10527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10528 --target=${target_alias} \
10529 --with-build-libsubdir=$(HOST_SUBDIR) \
10530 $(STAGEautoprofile_CONFIGURE_FLAGS)
10531 @endif gas-bootstrap
10533 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10534 maybe-configure-stageautofeedback-gas:
10535 @if gas-bootstrap
10536 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10537 configure-stageautofeedback-gas:
10538 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10539 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10540 @r=`${PWD_COMMAND}`; export r; \
10541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10542 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10543 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10544 $(HOST_EXPORTS) \
10545 $(POSTSTAGE1_HOST_EXPORTS) \
10546 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10547 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10548 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10549 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10551 cd $(HOST_SUBDIR)/gas || exit 1; \
10552 case $(srcdir) in \
10553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10554 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10556 esac; \
10557 module_srcdir=gas; \
10558 $(SHELL) $$s/$$module_srcdir/configure \
10559 --srcdir=$${topdir}/$$module_srcdir \
10560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10561 --target=${target_alias} \
10562 --with-build-libsubdir=$(HOST_SUBDIR) \
10563 $(STAGEautofeedback_CONFIGURE_FLAGS)
10564 @endif gas-bootstrap
10570 .PHONY: all-gas maybe-all-gas
10571 maybe-all-gas:
10572 @if gcc-bootstrap
10573 all-gas: stage_current
10574 @endif gcc-bootstrap
10575 @if gas
10576 TARGET-gas=all
10577 maybe-all-gas: all-gas
10578 all-gas: configure-gas
10579 @r=`${PWD_COMMAND}`; export r; \
10580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 $(HOST_EXPORTS) \
10582 (cd $(HOST_SUBDIR)/gas && \
10583 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10584 $(TARGET-gas))
10585 @endif gas
10589 .PHONY: all-stage1-gas maybe-all-stage1-gas
10590 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10591 maybe-all-stage1-gas:
10592 maybe-clean-stage1-gas:
10593 @if gas-bootstrap
10594 maybe-all-stage1-gas: all-stage1-gas
10595 all-stage1: all-stage1-gas
10596 TARGET-stage1-gas = $(TARGET-gas)
10597 all-stage1-gas: configure-stage1-gas
10598 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10599 @r=`${PWD_COMMAND}`; export r; \
10600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10601 TFLAGS="$(STAGE1_TFLAGS)"; \
10602 $(HOST_EXPORTS) \
10603 cd $(HOST_SUBDIR)/gas && \
10605 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10606 CFLAGS="$(STAGE1_CFLAGS)" \
10607 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10608 LIBCFLAGS="$(LIBCFLAGS)" \
10609 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10610 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10611 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10612 $(EXTRA_HOST_FLAGS) \
10613 $(STAGE1_FLAGS_TO_PASS) \
10614 TFLAGS="$(STAGE1_TFLAGS)" \
10615 $(TARGET-stage1-gas)
10617 maybe-clean-stage1-gas: clean-stage1-gas
10618 clean-stage1: clean-stage1-gas
10619 clean-stage1-gas:
10620 @if [ $(current_stage) = stage1 ]; then \
10621 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10622 else \
10623 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10624 $(MAKE) stage1-start; \
10625 fi; \
10626 cd $(HOST_SUBDIR)/gas && \
10627 $(MAKE) $(EXTRA_HOST_FLAGS) \
10628 $(STAGE1_FLAGS_TO_PASS) clean
10629 @endif gas-bootstrap
10632 .PHONY: all-stage2-gas maybe-all-stage2-gas
10633 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10634 maybe-all-stage2-gas:
10635 maybe-clean-stage2-gas:
10636 @if gas-bootstrap
10637 maybe-all-stage2-gas: all-stage2-gas
10638 all-stage2: all-stage2-gas
10639 TARGET-stage2-gas = $(TARGET-gas)
10640 all-stage2-gas: configure-stage2-gas
10641 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10642 @r=`${PWD_COMMAND}`; export r; \
10643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10644 TFLAGS="$(STAGE2_TFLAGS)"; \
10645 $(HOST_EXPORTS) \
10646 $(POSTSTAGE1_HOST_EXPORTS) \
10647 cd $(HOST_SUBDIR)/gas && \
10649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10650 CFLAGS="$(STAGE2_CFLAGS)" \
10651 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10652 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10653 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10654 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10655 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10656 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10657 TFLAGS="$(STAGE2_TFLAGS)" \
10658 $(TARGET-stage2-gas)
10660 maybe-clean-stage2-gas: clean-stage2-gas
10661 clean-stage2: clean-stage2-gas
10662 clean-stage2-gas:
10663 @if [ $(current_stage) = stage2 ]; then \
10664 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10665 else \
10666 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10667 $(MAKE) stage2-start; \
10668 fi; \
10669 cd $(HOST_SUBDIR)/gas && \
10670 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10671 @endif gas-bootstrap
10674 .PHONY: all-stage3-gas maybe-all-stage3-gas
10675 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10676 maybe-all-stage3-gas:
10677 maybe-clean-stage3-gas:
10678 @if gas-bootstrap
10679 maybe-all-stage3-gas: all-stage3-gas
10680 all-stage3: all-stage3-gas
10681 TARGET-stage3-gas = $(TARGET-gas)
10682 all-stage3-gas: configure-stage3-gas
10683 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10684 @r=`${PWD_COMMAND}`; export r; \
10685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10686 TFLAGS="$(STAGE3_TFLAGS)"; \
10687 $(HOST_EXPORTS) \
10688 $(POSTSTAGE1_HOST_EXPORTS) \
10689 cd $(HOST_SUBDIR)/gas && \
10691 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10692 CFLAGS="$(STAGE3_CFLAGS)" \
10693 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10694 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10695 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10696 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10697 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10698 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10699 TFLAGS="$(STAGE3_TFLAGS)" \
10700 $(TARGET-stage3-gas)
10702 maybe-clean-stage3-gas: clean-stage3-gas
10703 clean-stage3: clean-stage3-gas
10704 clean-stage3-gas:
10705 @if [ $(current_stage) = stage3 ]; then \
10706 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10707 else \
10708 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10709 $(MAKE) stage3-start; \
10710 fi; \
10711 cd $(HOST_SUBDIR)/gas && \
10712 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10713 @endif gas-bootstrap
10716 .PHONY: all-stage4-gas maybe-all-stage4-gas
10717 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10718 maybe-all-stage4-gas:
10719 maybe-clean-stage4-gas:
10720 @if gas-bootstrap
10721 maybe-all-stage4-gas: all-stage4-gas
10722 all-stage4: all-stage4-gas
10723 TARGET-stage4-gas = $(TARGET-gas)
10724 all-stage4-gas: configure-stage4-gas
10725 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10726 @r=`${PWD_COMMAND}`; export r; \
10727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10728 TFLAGS="$(STAGE4_TFLAGS)"; \
10729 $(HOST_EXPORTS) \
10730 $(POSTSTAGE1_HOST_EXPORTS) \
10731 cd $(HOST_SUBDIR)/gas && \
10733 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10734 CFLAGS="$(STAGE4_CFLAGS)" \
10735 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10736 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10737 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10738 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10739 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10740 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10741 TFLAGS="$(STAGE4_TFLAGS)" \
10742 $(TARGET-stage4-gas)
10744 maybe-clean-stage4-gas: clean-stage4-gas
10745 clean-stage4: clean-stage4-gas
10746 clean-stage4-gas:
10747 @if [ $(current_stage) = stage4 ]; then \
10748 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10749 else \
10750 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10751 $(MAKE) stage4-start; \
10752 fi; \
10753 cd $(HOST_SUBDIR)/gas && \
10754 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10755 @endif gas-bootstrap
10758 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10759 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10760 maybe-all-stageprofile-gas:
10761 maybe-clean-stageprofile-gas:
10762 @if gas-bootstrap
10763 maybe-all-stageprofile-gas: all-stageprofile-gas
10764 all-stageprofile: all-stageprofile-gas
10765 TARGET-stageprofile-gas = $(TARGET-gas)
10766 all-stageprofile-gas: configure-stageprofile-gas
10767 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10768 @r=`${PWD_COMMAND}`; export r; \
10769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10770 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10771 $(HOST_EXPORTS) \
10772 $(POSTSTAGE1_HOST_EXPORTS) \
10773 cd $(HOST_SUBDIR)/gas && \
10775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10776 CFLAGS="$(STAGEprofile_CFLAGS)" \
10777 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10778 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10783 TFLAGS="$(STAGEprofile_TFLAGS)" \
10784 $(TARGET-stageprofile-gas)
10786 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10787 clean-stageprofile: clean-stageprofile-gas
10788 clean-stageprofile-gas:
10789 @if [ $(current_stage) = stageprofile ]; then \
10790 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10791 else \
10792 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10793 $(MAKE) stageprofile-start; \
10794 fi; \
10795 cd $(HOST_SUBDIR)/gas && \
10796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10797 @endif gas-bootstrap
10800 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10801 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10802 maybe-all-stagetrain-gas:
10803 maybe-clean-stagetrain-gas:
10804 @if gas-bootstrap
10805 maybe-all-stagetrain-gas: all-stagetrain-gas
10806 all-stagetrain: all-stagetrain-gas
10807 TARGET-stagetrain-gas = $(TARGET-gas)
10808 all-stagetrain-gas: configure-stagetrain-gas
10809 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10810 @r=`${PWD_COMMAND}`; export r; \
10811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10812 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10813 $(HOST_EXPORTS) \
10814 $(POSTSTAGE1_HOST_EXPORTS) \
10815 cd $(HOST_SUBDIR)/gas && \
10817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10818 CFLAGS="$(STAGEtrain_CFLAGS)" \
10819 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10820 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10821 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10822 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10823 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10824 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10825 TFLAGS="$(STAGEtrain_TFLAGS)" \
10826 $(TARGET-stagetrain-gas)
10828 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10829 clean-stagetrain: clean-stagetrain-gas
10830 clean-stagetrain-gas:
10831 @if [ $(current_stage) = stagetrain ]; then \
10832 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10833 else \
10834 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10835 $(MAKE) stagetrain-start; \
10836 fi; \
10837 cd $(HOST_SUBDIR)/gas && \
10838 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10839 @endif gas-bootstrap
10842 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10843 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10844 maybe-all-stagefeedback-gas:
10845 maybe-clean-stagefeedback-gas:
10846 @if gas-bootstrap
10847 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10848 all-stagefeedback: all-stagefeedback-gas
10849 TARGET-stagefeedback-gas = $(TARGET-gas)
10850 all-stagefeedback-gas: configure-stagefeedback-gas
10851 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10852 @r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10855 $(HOST_EXPORTS) \
10856 $(POSTSTAGE1_HOST_EXPORTS) \
10857 cd $(HOST_SUBDIR)/gas && \
10859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10860 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10861 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10862 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10863 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10864 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10865 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10866 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10867 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10868 $(TARGET-stagefeedback-gas)
10870 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10871 clean-stagefeedback: clean-stagefeedback-gas
10872 clean-stagefeedback-gas:
10873 @if [ $(current_stage) = stagefeedback ]; then \
10874 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10875 else \
10876 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10877 $(MAKE) stagefeedback-start; \
10878 fi; \
10879 cd $(HOST_SUBDIR)/gas && \
10880 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10881 @endif gas-bootstrap
10884 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10885 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10886 maybe-all-stageautoprofile-gas:
10887 maybe-clean-stageautoprofile-gas:
10888 @if gas-bootstrap
10889 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10890 all-stageautoprofile: all-stageautoprofile-gas
10891 TARGET-stageautoprofile-gas = $(TARGET-gas)
10892 all-stageautoprofile-gas: configure-stageautoprofile-gas
10893 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10894 @r=`${PWD_COMMAND}`; export r; \
10895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10896 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10897 $(HOST_EXPORTS) \
10898 $(POSTSTAGE1_HOST_EXPORTS) \
10899 cd $(HOST_SUBDIR)/gas && \
10900 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10902 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10903 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10904 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10908 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10909 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10910 $(TARGET-stageautoprofile-gas)
10912 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10913 clean-stageautoprofile: clean-stageautoprofile-gas
10914 clean-stageautoprofile-gas:
10915 @if [ $(current_stage) = stageautoprofile ]; then \
10916 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10917 else \
10918 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10919 $(MAKE) stageautoprofile-start; \
10920 fi; \
10921 cd $(HOST_SUBDIR)/gas && \
10922 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10923 @endif gas-bootstrap
10926 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10927 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10928 maybe-all-stageautofeedback-gas:
10929 maybe-clean-stageautofeedback-gas:
10930 @if gas-bootstrap
10931 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10932 all-stageautofeedback: all-stageautofeedback-gas
10933 TARGET-stageautofeedback-gas = $(TARGET-gas)
10934 all-stageautofeedback-gas: configure-stageautofeedback-gas
10935 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10936 @r=`${PWD_COMMAND}`; export r; \
10937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10938 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10939 $(HOST_EXPORTS) \
10940 $(POSTSTAGE1_HOST_EXPORTS) \
10941 cd $(HOST_SUBDIR)/gas && \
10943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10944 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10945 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10946 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10950 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10951 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10952 $(TARGET-stageautofeedback-gas)
10954 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10955 clean-stageautofeedback: clean-stageautofeedback-gas
10956 clean-stageautofeedback-gas:
10957 @if [ $(current_stage) = stageautofeedback ]; then \
10958 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10959 else \
10960 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10961 $(MAKE) stageautofeedback-start; \
10962 fi; \
10963 cd $(HOST_SUBDIR)/gas && \
10964 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10965 @endif gas-bootstrap
10971 .PHONY: check-gas maybe-check-gas
10972 maybe-check-gas:
10973 @if gas
10974 maybe-check-gas: check-gas
10976 check-gas:
10977 @: $(MAKE); $(unstage)
10978 @r=`${PWD_COMMAND}`; export r; \
10979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10980 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10981 (cd $(HOST_SUBDIR)/gas && \
10982 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10984 @endif gas
10986 .PHONY: install-gas maybe-install-gas
10987 maybe-install-gas:
10988 @if gas
10989 maybe-install-gas: install-gas
10991 install-gas: installdirs
10992 @: $(MAKE); $(unstage)
10993 @r=`${PWD_COMMAND}`; export r; \
10994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10995 $(HOST_EXPORTS) \
10996 (cd $(HOST_SUBDIR)/gas && \
10997 $(MAKE) $(FLAGS_TO_PASS) install)
10999 @endif gas
11001 .PHONY: install-strip-gas maybe-install-strip-gas
11002 maybe-install-strip-gas:
11003 @if gas
11004 maybe-install-strip-gas: install-strip-gas
11006 install-strip-gas: installdirs
11007 @: $(MAKE); $(unstage)
11008 @r=`${PWD_COMMAND}`; export r; \
11009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11010 $(HOST_EXPORTS) \
11011 (cd $(HOST_SUBDIR)/gas && \
11012 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11014 @endif gas
11016 # Other targets (info, dvi, pdf, etc.)
11018 .PHONY: maybe-info-gas info-gas
11019 maybe-info-gas:
11020 @if gas
11021 maybe-info-gas: info-gas
11023 info-gas: \
11024 configure-gas
11025 @[ -f ./gas/Makefile ] || exit 0; \
11026 r=`${PWD_COMMAND}`; export r; \
11027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11028 $(HOST_EXPORTS) \
11029 for flag in $(EXTRA_HOST_FLAGS) ; do \
11030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11031 done; \
11032 echo "Doing info in gas"; \
11033 (cd $(HOST_SUBDIR)/gas && \
11034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11036 "RANLIB=$${RANLIB}" \
11037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11038 info) \
11039 || exit 1
11041 @endif gas
11043 .PHONY: maybe-dvi-gas dvi-gas
11044 maybe-dvi-gas:
11045 @if gas
11046 maybe-dvi-gas: dvi-gas
11048 dvi-gas: \
11049 configure-gas
11050 @[ -f ./gas/Makefile ] || exit 0; \
11051 r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 $(HOST_EXPORTS) \
11054 for flag in $(EXTRA_HOST_FLAGS) ; do \
11055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11056 done; \
11057 echo "Doing dvi in gas"; \
11058 (cd $(HOST_SUBDIR)/gas && \
11059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11061 "RANLIB=$${RANLIB}" \
11062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11063 dvi) \
11064 || exit 1
11066 @endif gas
11068 .PHONY: maybe-pdf-gas pdf-gas
11069 maybe-pdf-gas:
11070 @if gas
11071 maybe-pdf-gas: pdf-gas
11073 pdf-gas: \
11074 configure-gas
11075 @[ -f ./gas/Makefile ] || exit 0; \
11076 r=`${PWD_COMMAND}`; export r; \
11077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11078 $(HOST_EXPORTS) \
11079 for flag in $(EXTRA_HOST_FLAGS) ; do \
11080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11081 done; \
11082 echo "Doing pdf in gas"; \
11083 (cd $(HOST_SUBDIR)/gas && \
11084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11086 "RANLIB=$${RANLIB}" \
11087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11088 pdf) \
11089 || exit 1
11091 @endif gas
11093 .PHONY: maybe-html-gas html-gas
11094 maybe-html-gas:
11095 @if gas
11096 maybe-html-gas: html-gas
11098 html-gas: \
11099 configure-gas
11100 @[ -f ./gas/Makefile ] || exit 0; \
11101 r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 $(HOST_EXPORTS) \
11104 for flag in $(EXTRA_HOST_FLAGS) ; do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106 done; \
11107 echo "Doing html in gas"; \
11108 (cd $(HOST_SUBDIR)/gas && \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11113 html) \
11114 || exit 1
11116 @endif gas
11118 .PHONY: maybe-TAGS-gas TAGS-gas
11119 maybe-TAGS-gas:
11120 @if gas
11121 maybe-TAGS-gas: TAGS-gas
11123 TAGS-gas: \
11124 configure-gas
11125 @[ -f ./gas/Makefile ] || exit 0; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128 $(HOST_EXPORTS) \
11129 for flag in $(EXTRA_HOST_FLAGS) ; do \
11130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11131 done; \
11132 echo "Doing TAGS in gas"; \
11133 (cd $(HOST_SUBDIR)/gas && \
11134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11136 "RANLIB=$${RANLIB}" \
11137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11138 TAGS) \
11139 || exit 1
11141 @endif gas
11143 .PHONY: maybe-install-info-gas install-info-gas
11144 maybe-install-info-gas:
11145 @if gas
11146 maybe-install-info-gas: install-info-gas
11148 install-info-gas: \
11149 configure-gas \
11150 info-gas
11151 @[ -f ./gas/Makefile ] || exit 0; \
11152 r=`${PWD_COMMAND}`; export r; \
11153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11154 $(HOST_EXPORTS) \
11155 for flag in $(EXTRA_HOST_FLAGS) ; do \
11156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11157 done; \
11158 echo "Doing install-info in gas"; \
11159 (cd $(HOST_SUBDIR)/gas && \
11160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11162 "RANLIB=$${RANLIB}" \
11163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11164 install-info) \
11165 || exit 1
11167 @endif gas
11169 .PHONY: maybe-install-pdf-gas install-pdf-gas
11170 maybe-install-pdf-gas:
11171 @if gas
11172 maybe-install-pdf-gas: install-pdf-gas
11174 install-pdf-gas: \
11175 configure-gas \
11176 pdf-gas
11177 @[ -f ./gas/Makefile ] || exit 0; \
11178 r=`${PWD_COMMAND}`; export r; \
11179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11180 $(HOST_EXPORTS) \
11181 for flag in $(EXTRA_HOST_FLAGS) ; do \
11182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11183 done; \
11184 echo "Doing install-pdf in gas"; \
11185 (cd $(HOST_SUBDIR)/gas && \
11186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11188 "RANLIB=$${RANLIB}" \
11189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11190 install-pdf) \
11191 || exit 1
11193 @endif gas
11195 .PHONY: maybe-install-html-gas install-html-gas
11196 maybe-install-html-gas:
11197 @if gas
11198 maybe-install-html-gas: install-html-gas
11200 install-html-gas: \
11201 configure-gas \
11202 html-gas
11203 @[ -f ./gas/Makefile ] || exit 0; \
11204 r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206 $(HOST_EXPORTS) \
11207 for flag in $(EXTRA_HOST_FLAGS) ; do \
11208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11209 done; \
11210 echo "Doing install-html in gas"; \
11211 (cd $(HOST_SUBDIR)/gas && \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214 "RANLIB=$${RANLIB}" \
11215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11216 install-html) \
11217 || exit 1
11219 @endif gas
11221 .PHONY: maybe-installcheck-gas installcheck-gas
11222 maybe-installcheck-gas:
11223 @if gas
11224 maybe-installcheck-gas: installcheck-gas
11226 installcheck-gas: \
11227 configure-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 installcheck 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 installcheck) \
11242 || exit 1
11244 @endif gas
11246 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11247 maybe-mostlyclean-gas:
11248 @if gas
11249 maybe-mostlyclean-gas: mostlyclean-gas
11251 mostlyclean-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 mostlyclean 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 mostlyclean) \
11266 || exit 1
11268 @endif gas
11270 .PHONY: maybe-clean-gas clean-gas
11271 maybe-clean-gas:
11272 @if gas
11273 maybe-clean-gas: clean-gas
11275 clean-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 clean 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 clean) \
11290 || exit 1
11292 @endif gas
11294 .PHONY: maybe-distclean-gas distclean-gas
11295 maybe-distclean-gas:
11296 @if gas
11297 maybe-distclean-gas: distclean-gas
11299 distclean-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 distclean 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 distclean) \
11314 || exit 1
11316 @endif gas
11318 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11319 maybe-maintainer-clean-gas:
11320 @if gas
11321 maybe-maintainer-clean-gas: maintainer-clean-gas
11323 maintainer-clean-gas:
11324 @[ -f ./gas/Makefile ] || exit 0; \
11325 r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327 $(HOST_EXPORTS) \
11328 for flag in $(EXTRA_HOST_FLAGS) ; do \
11329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11330 done; \
11331 echo "Doing maintainer-clean in gas"; \
11332 (cd $(HOST_SUBDIR)/gas && \
11333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11335 "RANLIB=$${RANLIB}" \
11336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11337 maintainer-clean) \
11338 || exit 1
11340 @endif gas
11344 .PHONY: configure-gcc maybe-configure-gcc
11345 maybe-configure-gcc:
11346 @if gcc-bootstrap
11347 configure-gcc: stage_current
11348 @endif gcc-bootstrap
11349 @if gcc
11350 maybe-configure-gcc: configure-gcc
11351 configure-gcc:
11352 @r=`${PWD_COMMAND}`; export r; \
11353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11354 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11356 $(HOST_EXPORTS) \
11357 echo Configuring in $(HOST_SUBDIR)/gcc; \
11358 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11359 case $(srcdir) in \
11360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11361 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11363 esac; \
11364 module_srcdir=gcc; \
11365 $(SHELL) \
11366 $$s/$$module_srcdir/configure \
11367 --srcdir=$${topdir}/$$module_srcdir \
11368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11369 --target=${target_alias} \
11370 || exit 1
11371 @endif gcc
11375 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11376 maybe-configure-stage1-gcc:
11377 @if gcc-bootstrap
11378 maybe-configure-stage1-gcc: configure-stage1-gcc
11379 configure-stage1-gcc:
11380 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11382 @r=`${PWD_COMMAND}`; export r; \
11383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11384 TFLAGS="$(STAGE1_TFLAGS)"; \
11385 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11386 $(HOST_EXPORTS) \
11387 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11388 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11389 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11390 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11392 cd $(HOST_SUBDIR)/gcc || exit 1; \
11393 case $(srcdir) in \
11394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11395 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11397 esac; \
11398 module_srcdir=gcc; \
11399 $(SHELL) $$s/$$module_srcdir/configure \
11400 --srcdir=$${topdir}/$$module_srcdir \
11401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11402 --target=${target_alias} \
11404 $(STAGE1_CONFIGURE_FLAGS)
11405 @endif gcc-bootstrap
11407 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11408 maybe-configure-stage2-gcc:
11409 @if gcc-bootstrap
11410 maybe-configure-stage2-gcc: configure-stage2-gcc
11411 configure-stage2-gcc:
11412 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11414 @r=`${PWD_COMMAND}`; export r; \
11415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11416 TFLAGS="$(STAGE2_TFLAGS)"; \
11417 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11418 $(HOST_EXPORTS) \
11419 $(POSTSTAGE1_HOST_EXPORTS) \
11420 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11421 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11422 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11423 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11425 cd $(HOST_SUBDIR)/gcc || exit 1; \
11426 case $(srcdir) in \
11427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11428 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11430 esac; \
11431 module_srcdir=gcc; \
11432 $(SHELL) $$s/$$module_srcdir/configure \
11433 --srcdir=$${topdir}/$$module_srcdir \
11434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11435 --target=${target_alias} \
11436 --with-build-libsubdir=$(HOST_SUBDIR) \
11437 $(STAGE2_CONFIGURE_FLAGS)
11438 @endif gcc-bootstrap
11440 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11441 maybe-configure-stage3-gcc:
11442 @if gcc-bootstrap
11443 maybe-configure-stage3-gcc: configure-stage3-gcc
11444 configure-stage3-gcc:
11445 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11447 @r=`${PWD_COMMAND}`; export r; \
11448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11449 TFLAGS="$(STAGE3_TFLAGS)"; \
11450 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11451 $(HOST_EXPORTS) \
11452 $(POSTSTAGE1_HOST_EXPORTS) \
11453 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11454 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11455 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11456 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11458 cd $(HOST_SUBDIR)/gcc || exit 1; \
11459 case $(srcdir) in \
11460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11461 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11463 esac; \
11464 module_srcdir=gcc; \
11465 $(SHELL) $$s/$$module_srcdir/configure \
11466 --srcdir=$${topdir}/$$module_srcdir \
11467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11468 --target=${target_alias} \
11469 --with-build-libsubdir=$(HOST_SUBDIR) \
11470 $(STAGE3_CONFIGURE_FLAGS)
11471 @endif gcc-bootstrap
11473 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11474 maybe-configure-stage4-gcc:
11475 @if gcc-bootstrap
11476 maybe-configure-stage4-gcc: configure-stage4-gcc
11477 configure-stage4-gcc:
11478 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11480 @r=`${PWD_COMMAND}`; export r; \
11481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11482 TFLAGS="$(STAGE4_TFLAGS)"; \
11483 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11484 $(HOST_EXPORTS) \
11485 $(POSTSTAGE1_HOST_EXPORTS) \
11486 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11487 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11488 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11489 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11491 cd $(HOST_SUBDIR)/gcc || exit 1; \
11492 case $(srcdir) in \
11493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11494 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11496 esac; \
11497 module_srcdir=gcc; \
11498 $(SHELL) $$s/$$module_srcdir/configure \
11499 --srcdir=$${topdir}/$$module_srcdir \
11500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11501 --target=${target_alias} \
11502 --with-build-libsubdir=$(HOST_SUBDIR) \
11503 $(STAGE4_CONFIGURE_FLAGS)
11504 @endif gcc-bootstrap
11506 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11507 maybe-configure-stageprofile-gcc:
11508 @if gcc-bootstrap
11509 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11510 configure-stageprofile-gcc:
11511 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11512 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11513 @r=`${PWD_COMMAND}`; export r; \
11514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11515 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11516 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11517 $(HOST_EXPORTS) \
11518 $(POSTSTAGE1_HOST_EXPORTS) \
11519 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11520 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11521 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11522 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11523 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11524 cd $(HOST_SUBDIR)/gcc || exit 1; \
11525 case $(srcdir) in \
11526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11527 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11529 esac; \
11530 module_srcdir=gcc; \
11531 $(SHELL) $$s/$$module_srcdir/configure \
11532 --srcdir=$${topdir}/$$module_srcdir \
11533 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11534 --target=${target_alias} \
11535 --with-build-libsubdir=$(HOST_SUBDIR) \
11536 $(STAGEprofile_CONFIGURE_FLAGS)
11537 @endif gcc-bootstrap
11539 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11540 maybe-configure-stagetrain-gcc:
11541 @if gcc-bootstrap
11542 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11543 configure-stagetrain-gcc:
11544 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11546 @r=`${PWD_COMMAND}`; export r; \
11547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11548 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11549 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11550 $(HOST_EXPORTS) \
11551 $(POSTSTAGE1_HOST_EXPORTS) \
11552 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11553 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11554 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11555 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11557 cd $(HOST_SUBDIR)/gcc || exit 1; \
11558 case $(srcdir) in \
11559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11560 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11562 esac; \
11563 module_srcdir=gcc; \
11564 $(SHELL) $$s/$$module_srcdir/configure \
11565 --srcdir=$${topdir}/$$module_srcdir \
11566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11567 --target=${target_alias} \
11568 --with-build-libsubdir=$(HOST_SUBDIR) \
11569 $(STAGEtrain_CONFIGURE_FLAGS)
11570 @endif gcc-bootstrap
11572 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11573 maybe-configure-stagefeedback-gcc:
11574 @if gcc-bootstrap
11575 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11576 configure-stagefeedback-gcc:
11577 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11579 @r=`${PWD_COMMAND}`; export r; \
11580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11581 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11582 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11583 $(HOST_EXPORTS) \
11584 $(POSTSTAGE1_HOST_EXPORTS) \
11585 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11586 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11587 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11588 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11590 cd $(HOST_SUBDIR)/gcc || exit 1; \
11591 case $(srcdir) in \
11592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11593 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11595 esac; \
11596 module_srcdir=gcc; \
11597 $(SHELL) $$s/$$module_srcdir/configure \
11598 --srcdir=$${topdir}/$$module_srcdir \
11599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11600 --target=${target_alias} \
11601 --with-build-libsubdir=$(HOST_SUBDIR) \
11602 $(STAGEfeedback_CONFIGURE_FLAGS)
11603 @endif gcc-bootstrap
11605 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11606 maybe-configure-stageautoprofile-gcc:
11607 @if gcc-bootstrap
11608 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11609 configure-stageautoprofile-gcc:
11610 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11612 @r=`${PWD_COMMAND}`; export r; \
11613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11614 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11615 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11616 $(HOST_EXPORTS) \
11617 $(POSTSTAGE1_HOST_EXPORTS) \
11618 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11619 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11620 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11621 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11623 cd $(HOST_SUBDIR)/gcc || exit 1; \
11624 case $(srcdir) in \
11625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11626 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11628 esac; \
11629 module_srcdir=gcc; \
11630 $(SHELL) $$s/$$module_srcdir/configure \
11631 --srcdir=$${topdir}/$$module_srcdir \
11632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11633 --target=${target_alias} \
11634 --with-build-libsubdir=$(HOST_SUBDIR) \
11635 $(STAGEautoprofile_CONFIGURE_FLAGS)
11636 @endif gcc-bootstrap
11638 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11639 maybe-configure-stageautofeedback-gcc:
11640 @if gcc-bootstrap
11641 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11642 configure-stageautofeedback-gcc:
11643 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11645 @r=`${PWD_COMMAND}`; export r; \
11646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11647 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11648 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11649 $(HOST_EXPORTS) \
11650 $(POSTSTAGE1_HOST_EXPORTS) \
11651 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11652 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11653 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11654 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11656 cd $(HOST_SUBDIR)/gcc || exit 1; \
11657 case $(srcdir) in \
11658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11659 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11661 esac; \
11662 module_srcdir=gcc; \
11663 $(SHELL) $$s/$$module_srcdir/configure \
11664 --srcdir=$${topdir}/$$module_srcdir \
11665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11666 --target=${target_alias} \
11667 --with-build-libsubdir=$(HOST_SUBDIR) \
11668 $(STAGEautofeedback_CONFIGURE_FLAGS)
11669 @endif gcc-bootstrap
11675 .PHONY: all-gcc maybe-all-gcc
11676 maybe-all-gcc:
11677 @if gcc-bootstrap
11678 all-gcc: stage_current
11679 @endif gcc-bootstrap
11680 @if gcc
11681 TARGET-gcc=all
11682 maybe-all-gcc: all-gcc
11683 all-gcc: configure-gcc
11684 @r=`${PWD_COMMAND}`; export r; \
11685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11686 $(HOST_EXPORTS) \
11687 (cd $(HOST_SUBDIR)/gcc && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11689 $(TARGET-gcc))
11690 @endif gcc
11694 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11695 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11696 maybe-all-stage1-gcc:
11697 maybe-clean-stage1-gcc:
11698 @if gcc-bootstrap
11699 maybe-all-stage1-gcc: all-stage1-gcc
11700 all-stage1: all-stage1-gcc
11701 TARGET-stage1-gcc = $(TARGET-gcc)
11702 all-stage1-gcc: configure-stage1-gcc
11703 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11704 @r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 TFLAGS="$(STAGE1_TFLAGS)"; \
11707 $(HOST_EXPORTS) \
11708 cd $(HOST_SUBDIR)/gcc && \
11710 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11711 CFLAGS="$(STAGE1_CFLAGS)" \
11712 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11713 LIBCFLAGS="$(LIBCFLAGS)" \
11714 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11715 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11716 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11717 $(EXTRA_HOST_FLAGS) \
11718 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11719 TFLAGS="$(STAGE1_TFLAGS)" \
11720 $(TARGET-stage1-gcc)
11722 maybe-clean-stage1-gcc: clean-stage1-gcc
11723 clean-stage1: clean-stage1-gcc
11724 clean-stage1-gcc:
11725 @if [ $(current_stage) = stage1 ]; then \
11726 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11727 else \
11728 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11729 $(MAKE) stage1-start; \
11730 fi; \
11731 cd $(HOST_SUBDIR)/gcc && \
11732 $(MAKE) $(EXTRA_HOST_FLAGS) \
11733 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11734 @endif gcc-bootstrap
11737 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11738 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11739 maybe-all-stage2-gcc:
11740 maybe-clean-stage2-gcc:
11741 @if gcc-bootstrap
11742 maybe-all-stage2-gcc: all-stage2-gcc
11743 all-stage2: all-stage2-gcc
11744 TARGET-stage2-gcc = $(TARGET-gcc)
11745 all-stage2-gcc: configure-stage2-gcc
11746 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11747 @r=`${PWD_COMMAND}`; export r; \
11748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11749 TFLAGS="$(STAGE2_TFLAGS)"; \
11750 $(HOST_EXPORTS) \
11751 $(POSTSTAGE1_HOST_EXPORTS) \
11752 cd $(HOST_SUBDIR)/gcc && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11755 CFLAGS="$(STAGE2_CFLAGS)" \
11756 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11757 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11761 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11762 TFLAGS="$(STAGE2_TFLAGS)" \
11763 $(TARGET-stage2-gcc)
11765 maybe-clean-stage2-gcc: clean-stage2-gcc
11766 clean-stage2: clean-stage2-gcc
11767 clean-stage2-gcc:
11768 @if [ $(current_stage) = stage2 ]; then \
11769 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11770 else \
11771 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11772 $(MAKE) stage2-start; \
11773 fi; \
11774 cd $(HOST_SUBDIR)/gcc && \
11775 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11776 @endif gcc-bootstrap
11779 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11780 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11781 maybe-all-stage3-gcc:
11782 maybe-clean-stage3-gcc:
11783 @if gcc-bootstrap
11784 maybe-all-stage3-gcc: all-stage3-gcc
11785 all-stage3: all-stage3-gcc
11786 TARGET-stage3-gcc = $(TARGET-gcc)
11787 all-stage3-gcc: configure-stage3-gcc
11788 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11789 @r=`${PWD_COMMAND}`; export r; \
11790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11791 TFLAGS="$(STAGE3_TFLAGS)"; \
11792 $(HOST_EXPORTS) \
11793 $(POSTSTAGE1_HOST_EXPORTS) \
11794 cd $(HOST_SUBDIR)/gcc && \
11796 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11797 CFLAGS="$(STAGE3_CFLAGS)" \
11798 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11799 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11800 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11801 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11802 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11803 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11804 TFLAGS="$(STAGE3_TFLAGS)" \
11805 $(TARGET-stage3-gcc)
11807 maybe-clean-stage3-gcc: clean-stage3-gcc
11808 clean-stage3: clean-stage3-gcc
11809 clean-stage3-gcc:
11810 @if [ $(current_stage) = stage3 ]; then \
11811 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11812 else \
11813 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11814 $(MAKE) stage3-start; \
11815 fi; \
11816 cd $(HOST_SUBDIR)/gcc && \
11817 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11818 @endif gcc-bootstrap
11821 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11822 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11823 maybe-all-stage4-gcc:
11824 maybe-clean-stage4-gcc:
11825 @if gcc-bootstrap
11826 maybe-all-stage4-gcc: all-stage4-gcc
11827 all-stage4: all-stage4-gcc
11828 TARGET-stage4-gcc = $(TARGET-gcc)
11829 all-stage4-gcc: configure-stage4-gcc
11830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11831 @r=`${PWD_COMMAND}`; export r; \
11832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11833 TFLAGS="$(STAGE4_TFLAGS)"; \
11834 $(HOST_EXPORTS) \
11835 $(POSTSTAGE1_HOST_EXPORTS) \
11836 cd $(HOST_SUBDIR)/gcc && \
11838 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11839 CFLAGS="$(STAGE4_CFLAGS)" \
11840 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11841 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11842 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11843 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11844 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11845 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11846 TFLAGS="$(STAGE4_TFLAGS)" \
11847 $(TARGET-stage4-gcc)
11849 maybe-clean-stage4-gcc: clean-stage4-gcc
11850 clean-stage4: clean-stage4-gcc
11851 clean-stage4-gcc:
11852 @if [ $(current_stage) = stage4 ]; then \
11853 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11854 else \
11855 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11856 $(MAKE) stage4-start; \
11857 fi; \
11858 cd $(HOST_SUBDIR)/gcc && \
11859 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11860 @endif gcc-bootstrap
11863 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11864 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11865 maybe-all-stageprofile-gcc:
11866 maybe-clean-stageprofile-gcc:
11867 @if gcc-bootstrap
11868 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11869 all-stageprofile: all-stageprofile-gcc
11870 TARGET-stageprofile-gcc = $(TARGET-gcc)
11871 all-stageprofile-gcc: configure-stageprofile-gcc
11872 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11873 @r=`${PWD_COMMAND}`; export r; \
11874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11876 $(HOST_EXPORTS) \
11877 $(POSTSTAGE1_HOST_EXPORTS) \
11878 cd $(HOST_SUBDIR)/gcc && \
11880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11881 CFLAGS="$(STAGEprofile_CFLAGS)" \
11882 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11883 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11888 TFLAGS="$(STAGEprofile_TFLAGS)" \
11889 $(TARGET-stageprofile-gcc)
11891 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11892 clean-stageprofile: clean-stageprofile-gcc
11893 clean-stageprofile-gcc:
11894 @if [ $(current_stage) = stageprofile ]; then \
11895 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11896 else \
11897 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11898 $(MAKE) stageprofile-start; \
11899 fi; \
11900 cd $(HOST_SUBDIR)/gcc && \
11901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11902 @endif gcc-bootstrap
11905 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
11906 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
11907 maybe-all-stagetrain-gcc:
11908 maybe-clean-stagetrain-gcc:
11909 @if gcc-bootstrap
11910 maybe-all-stagetrain-gcc: all-stagetrain-gcc
11911 all-stagetrain: all-stagetrain-gcc
11912 TARGET-stagetrain-gcc = $(TARGET-gcc)
11913 all-stagetrain-gcc: configure-stagetrain-gcc
11914 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11915 @r=`${PWD_COMMAND}`; export r; \
11916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11917 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11918 $(HOST_EXPORTS) \
11919 $(POSTSTAGE1_HOST_EXPORTS) \
11920 cd $(HOST_SUBDIR)/gcc && \
11922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11923 CFLAGS="$(STAGEtrain_CFLAGS)" \
11924 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11925 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11929 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11930 TFLAGS="$(STAGEtrain_TFLAGS)" \
11931 $(TARGET-stagetrain-gcc)
11933 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
11934 clean-stagetrain: clean-stagetrain-gcc
11935 clean-stagetrain-gcc:
11936 @if [ $(current_stage) = stagetrain ]; then \
11937 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11938 else \
11939 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
11940 $(MAKE) stagetrain-start; \
11941 fi; \
11942 cd $(HOST_SUBDIR)/gcc && \
11943 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11944 @endif gcc-bootstrap
11947 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11948 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11949 maybe-all-stagefeedback-gcc:
11950 maybe-clean-stagefeedback-gcc:
11951 @if gcc-bootstrap
11952 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11953 all-stagefeedback: all-stagefeedback-gcc
11954 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11955 all-stagefeedback-gcc: configure-stagefeedback-gcc
11956 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11957 @r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11960 $(HOST_EXPORTS) \
11961 $(POSTSTAGE1_HOST_EXPORTS) \
11962 cd $(HOST_SUBDIR)/gcc && \
11964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11965 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11966 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11967 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11972 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11973 $(TARGET-stagefeedback-gcc)
11975 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11976 clean-stagefeedback: clean-stagefeedback-gcc
11977 clean-stagefeedback-gcc:
11978 @if [ $(current_stage) = stagefeedback ]; then \
11979 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11980 else \
11981 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
11982 $(MAKE) stagefeedback-start; \
11983 fi; \
11984 cd $(HOST_SUBDIR)/gcc && \
11985 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11986 @endif gcc-bootstrap
11989 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
11990 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
11991 maybe-all-stageautoprofile-gcc:
11992 maybe-clean-stageautoprofile-gcc:
11993 @if gcc-bootstrap
11994 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
11995 all-stageautoprofile: all-stageautoprofile-gcc
11996 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
11997 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
11998 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11999 @r=`${PWD_COMMAND}`; export r; \
12000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12001 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12002 $(HOST_EXPORTS) \
12003 $(POSTSTAGE1_HOST_EXPORTS) \
12004 cd $(HOST_SUBDIR)/gcc && \
12005 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12007 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12008 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12009 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12014 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12015 $(TARGET-stageautoprofile-gcc)
12017 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12018 clean-stageautoprofile: clean-stageautoprofile-gcc
12019 clean-stageautoprofile-gcc:
12020 @if [ $(current_stage) = stageautoprofile ]; then \
12021 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12022 else \
12023 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12024 $(MAKE) stageautoprofile-start; \
12025 fi; \
12026 cd $(HOST_SUBDIR)/gcc && \
12027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12028 @endif gcc-bootstrap
12031 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12032 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12033 maybe-all-stageautofeedback-gcc:
12034 maybe-clean-stageautofeedback-gcc:
12035 @if gcc-bootstrap
12036 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12037 all-stageautofeedback: all-stageautofeedback-gcc
12038 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12039 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12040 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12041 @r=`${PWD_COMMAND}`; export r; \
12042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12043 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12044 $(HOST_EXPORTS) \
12045 $(POSTSTAGE1_HOST_EXPORTS) \
12046 cd $(HOST_SUBDIR)/gcc && \
12048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12049 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12050 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12051 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12056 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12057 $(TARGET-stageautofeedback-gcc)
12059 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12060 clean-stageautofeedback: clean-stageautofeedback-gcc
12061 clean-stageautofeedback-gcc:
12062 @if [ $(current_stage) = stageautofeedback ]; then \
12063 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12064 else \
12065 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12066 $(MAKE) stageautofeedback-start; \
12067 fi; \
12068 cd $(HOST_SUBDIR)/gcc && \
12069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12070 @endif gcc-bootstrap
12076 .PHONY: check-gcc maybe-check-gcc
12077 maybe-check-gcc:
12078 @if gcc
12079 maybe-check-gcc: check-gcc
12081 check-gcc:
12082 @: $(MAKE); $(unstage)
12083 @r=`${PWD_COMMAND}`; export r; \
12084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12085 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12086 (cd $(HOST_SUBDIR)/gcc && \
12087 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12089 @endif gcc
12091 .PHONY: install-gcc maybe-install-gcc
12092 maybe-install-gcc:
12093 @if gcc
12094 maybe-install-gcc: install-gcc
12096 install-gcc: installdirs
12097 @: $(MAKE); $(unstage)
12098 @r=`${PWD_COMMAND}`; export r; \
12099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12100 $(HOST_EXPORTS) \
12101 (cd $(HOST_SUBDIR)/gcc && \
12102 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12104 @endif gcc
12106 .PHONY: install-strip-gcc maybe-install-strip-gcc
12107 maybe-install-strip-gcc:
12108 @if gcc
12109 maybe-install-strip-gcc: install-strip-gcc
12111 install-strip-gcc: installdirs
12112 @: $(MAKE); $(unstage)
12113 @r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 $(HOST_EXPORTS) \
12116 (cd $(HOST_SUBDIR)/gcc && \
12117 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12119 @endif gcc
12121 # Other targets (info, dvi, pdf, etc.)
12123 .PHONY: maybe-info-gcc info-gcc
12124 maybe-info-gcc:
12125 @if gcc
12126 maybe-info-gcc: info-gcc
12128 info-gcc: \
12129 configure-gcc
12130 @[ -f ./gcc/Makefile ] || exit 0; \
12131 r=`${PWD_COMMAND}`; export r; \
12132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12133 $(HOST_EXPORTS) \
12134 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12136 done; \
12137 echo "Doing info in gcc"; \
12138 (cd $(HOST_SUBDIR)/gcc && \
12139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12141 "RANLIB=$${RANLIB}" \
12142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12143 info) \
12144 || exit 1
12146 @endif gcc
12148 .PHONY: maybe-dvi-gcc dvi-gcc
12149 maybe-dvi-gcc:
12150 @if gcc
12151 maybe-dvi-gcc: dvi-gcc
12153 dvi-gcc: \
12154 configure-gcc
12155 @[ -f ./gcc/Makefile ] || exit 0; \
12156 r=`${PWD_COMMAND}`; export r; \
12157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12158 $(HOST_EXPORTS) \
12159 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12161 done; \
12162 echo "Doing dvi in gcc"; \
12163 (cd $(HOST_SUBDIR)/gcc && \
12164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12166 "RANLIB=$${RANLIB}" \
12167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12168 dvi) \
12169 || exit 1
12171 @endif gcc
12173 .PHONY: maybe-pdf-gcc pdf-gcc
12174 maybe-pdf-gcc:
12175 @if gcc
12176 maybe-pdf-gcc: pdf-gcc
12178 pdf-gcc: \
12179 configure-gcc
12180 @[ -f ./gcc/Makefile ] || exit 0; \
12181 r=`${PWD_COMMAND}`; export r; \
12182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12183 $(HOST_EXPORTS) \
12184 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12186 done; \
12187 echo "Doing pdf in gcc"; \
12188 (cd $(HOST_SUBDIR)/gcc && \
12189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12191 "RANLIB=$${RANLIB}" \
12192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12193 pdf) \
12194 || exit 1
12196 @endif gcc
12198 .PHONY: maybe-html-gcc html-gcc
12199 maybe-html-gcc:
12200 @if gcc
12201 maybe-html-gcc: html-gcc
12203 html-gcc: \
12204 configure-gcc
12205 @[ -f ./gcc/Makefile ] || exit 0; \
12206 r=`${PWD_COMMAND}`; export r; \
12207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12208 $(HOST_EXPORTS) \
12209 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12211 done; \
12212 echo "Doing html in gcc"; \
12213 (cd $(HOST_SUBDIR)/gcc && \
12214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12216 "RANLIB=$${RANLIB}" \
12217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12218 html) \
12219 || exit 1
12221 @endif gcc
12223 .PHONY: maybe-TAGS-gcc TAGS-gcc
12224 maybe-TAGS-gcc:
12225 @if gcc
12226 maybe-TAGS-gcc: TAGS-gcc
12228 TAGS-gcc: \
12229 configure-gcc
12230 @[ -f ./gcc/Makefile ] || exit 0; \
12231 r=`${PWD_COMMAND}`; export r; \
12232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12233 $(HOST_EXPORTS) \
12234 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12236 done; \
12237 echo "Doing TAGS in gcc"; \
12238 (cd $(HOST_SUBDIR)/gcc && \
12239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12241 "RANLIB=$${RANLIB}" \
12242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12243 TAGS) \
12244 || exit 1
12246 @endif gcc
12248 .PHONY: maybe-install-info-gcc install-info-gcc
12249 maybe-install-info-gcc:
12250 @if gcc
12251 maybe-install-info-gcc: install-info-gcc
12253 install-info-gcc: \
12254 configure-gcc \
12255 info-gcc
12256 @[ -f ./gcc/Makefile ] || exit 0; \
12257 r=`${PWD_COMMAND}`; export r; \
12258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12259 $(HOST_EXPORTS) \
12260 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12262 done; \
12263 echo "Doing install-info in gcc"; \
12264 (cd $(HOST_SUBDIR)/gcc && \
12265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12267 "RANLIB=$${RANLIB}" \
12268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12269 install-info) \
12270 || exit 1
12272 @endif gcc
12274 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12275 maybe-install-pdf-gcc:
12276 @if gcc
12277 maybe-install-pdf-gcc: install-pdf-gcc
12279 install-pdf-gcc: \
12280 configure-gcc \
12281 pdf-gcc
12282 @[ -f ./gcc/Makefile ] || exit 0; \
12283 r=`${PWD_COMMAND}`; export r; \
12284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12285 $(HOST_EXPORTS) \
12286 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12288 done; \
12289 echo "Doing install-pdf in gcc"; \
12290 (cd $(HOST_SUBDIR)/gcc && \
12291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12293 "RANLIB=$${RANLIB}" \
12294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12295 install-pdf) \
12296 || exit 1
12298 @endif gcc
12300 .PHONY: maybe-install-html-gcc install-html-gcc
12301 maybe-install-html-gcc:
12302 @if gcc
12303 maybe-install-html-gcc: install-html-gcc
12305 install-html-gcc: \
12306 configure-gcc \
12307 html-gcc
12308 @[ -f ./gcc/Makefile ] || exit 0; \
12309 r=`${PWD_COMMAND}`; export r; \
12310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12311 $(HOST_EXPORTS) \
12312 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12314 done; \
12315 echo "Doing install-html in gcc"; \
12316 (cd $(HOST_SUBDIR)/gcc && \
12317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12319 "RANLIB=$${RANLIB}" \
12320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12321 install-html) \
12322 || exit 1
12324 @endif gcc
12326 .PHONY: maybe-installcheck-gcc installcheck-gcc
12327 maybe-installcheck-gcc:
12328 @if gcc
12329 maybe-installcheck-gcc: installcheck-gcc
12331 installcheck-gcc: \
12332 configure-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 installcheck 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 installcheck) \
12347 || exit 1
12349 @endif gcc
12351 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12352 maybe-mostlyclean-gcc:
12353 @if gcc
12354 maybe-mostlyclean-gcc: mostlyclean-gcc
12356 mostlyclean-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 mostlyclean 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 mostlyclean) \
12371 || exit 1
12373 @endif gcc
12375 .PHONY: maybe-clean-gcc clean-gcc
12376 maybe-clean-gcc:
12377 @if gcc
12378 maybe-clean-gcc: clean-gcc
12380 clean-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 clean 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 clean) \
12395 || exit 1
12397 @endif gcc
12399 .PHONY: maybe-distclean-gcc distclean-gcc
12400 maybe-distclean-gcc:
12401 @if gcc
12402 maybe-distclean-gcc: distclean-gcc
12404 distclean-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 distclean 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 distclean) \
12419 || exit 1
12421 @endif gcc
12423 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12424 maybe-maintainer-clean-gcc:
12425 @if gcc
12426 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12428 maintainer-clean-gcc:
12429 @[ -f ./gcc/Makefile ] || exit 0; \
12430 r=`${PWD_COMMAND}`; export r; \
12431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12432 $(HOST_EXPORTS) \
12433 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12435 done; \
12436 echo "Doing maintainer-clean in gcc"; \
12437 (cd $(HOST_SUBDIR)/gcc && \
12438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12440 "RANLIB=$${RANLIB}" \
12441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12442 maintainer-clean) \
12443 || exit 1
12445 @endif gcc
12449 .PHONY: configure-gmp maybe-configure-gmp
12450 maybe-configure-gmp:
12451 @if gcc-bootstrap
12452 configure-gmp: stage_current
12453 @endif gcc-bootstrap
12454 @if gmp
12455 maybe-configure-gmp: configure-gmp
12456 configure-gmp:
12457 @r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12461 $(HOST_EXPORTS) \
12462 echo Configuring in $(HOST_SUBDIR)/gmp; \
12463 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12464 case $(srcdir) in \
12465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12466 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12468 esac; \
12469 module_srcdir=gmp; \
12470 $(SHELL) \
12471 $$s/$$module_srcdir/configure \
12472 --srcdir=$${topdir}/$$module_srcdir \
12473 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12474 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12475 || exit 1
12476 @endif gmp
12480 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12481 maybe-configure-stage1-gmp:
12482 @if gmp-bootstrap
12483 maybe-configure-stage1-gmp: configure-stage1-gmp
12484 configure-stage1-gmp:
12485 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12486 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12487 @r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489 TFLAGS="$(STAGE1_TFLAGS)"; \
12490 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12491 $(HOST_EXPORTS) \
12492 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12493 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12494 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12495 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12497 cd $(HOST_SUBDIR)/gmp || exit 1; \
12498 case $(srcdir) in \
12499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12500 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12502 esac; \
12503 module_srcdir=gmp; \
12504 $(SHELL) $$s/$$module_srcdir/configure \
12505 --srcdir=$${topdir}/$$module_srcdir \
12506 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12507 --target=none-${host_vendor}-${host_os} \
12509 $(STAGE1_CONFIGURE_FLAGS) \
12510 --disable-shared LEX="touch lex.yy.c"
12511 @endif gmp-bootstrap
12513 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12514 maybe-configure-stage2-gmp:
12515 @if gmp-bootstrap
12516 maybe-configure-stage2-gmp: configure-stage2-gmp
12517 configure-stage2-gmp:
12518 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12519 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12520 @r=`${PWD_COMMAND}`; export r; \
12521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12522 TFLAGS="$(STAGE2_TFLAGS)"; \
12523 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12524 $(HOST_EXPORTS) \
12525 $(POSTSTAGE1_HOST_EXPORTS) \
12526 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12527 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12528 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12529 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12531 cd $(HOST_SUBDIR)/gmp || exit 1; \
12532 case $(srcdir) in \
12533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12534 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12536 esac; \
12537 module_srcdir=gmp; \
12538 $(SHELL) $$s/$$module_srcdir/configure \
12539 --srcdir=$${topdir}/$$module_srcdir \
12540 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12541 --target=none-${host_vendor}-${host_os} \
12542 --with-build-libsubdir=$(HOST_SUBDIR) \
12543 $(STAGE2_CONFIGURE_FLAGS) \
12544 --disable-shared LEX="touch lex.yy.c"
12545 @endif gmp-bootstrap
12547 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12548 maybe-configure-stage3-gmp:
12549 @if gmp-bootstrap
12550 maybe-configure-stage3-gmp: configure-stage3-gmp
12551 configure-stage3-gmp:
12552 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12554 @r=`${PWD_COMMAND}`; export r; \
12555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 TFLAGS="$(STAGE3_TFLAGS)"; \
12557 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12558 $(HOST_EXPORTS) \
12559 $(POSTSTAGE1_HOST_EXPORTS) \
12560 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12561 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12562 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12563 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12565 cd $(HOST_SUBDIR)/gmp || exit 1; \
12566 case $(srcdir) in \
12567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12568 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12570 esac; \
12571 module_srcdir=gmp; \
12572 $(SHELL) $$s/$$module_srcdir/configure \
12573 --srcdir=$${topdir}/$$module_srcdir \
12574 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12575 --target=none-${host_vendor}-${host_os} \
12576 --with-build-libsubdir=$(HOST_SUBDIR) \
12577 $(STAGE3_CONFIGURE_FLAGS) \
12578 --disable-shared LEX="touch lex.yy.c"
12579 @endif gmp-bootstrap
12581 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12582 maybe-configure-stage4-gmp:
12583 @if gmp-bootstrap
12584 maybe-configure-stage4-gmp: configure-stage4-gmp
12585 configure-stage4-gmp:
12586 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12588 @r=`${PWD_COMMAND}`; export r; \
12589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12590 TFLAGS="$(STAGE4_TFLAGS)"; \
12591 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12592 $(HOST_EXPORTS) \
12593 $(POSTSTAGE1_HOST_EXPORTS) \
12594 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12595 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12596 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12597 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12599 cd $(HOST_SUBDIR)/gmp || exit 1; \
12600 case $(srcdir) in \
12601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12602 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12604 esac; \
12605 module_srcdir=gmp; \
12606 $(SHELL) $$s/$$module_srcdir/configure \
12607 --srcdir=$${topdir}/$$module_srcdir \
12608 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12609 --target=none-${host_vendor}-${host_os} \
12610 --with-build-libsubdir=$(HOST_SUBDIR) \
12611 $(STAGE4_CONFIGURE_FLAGS) \
12612 --disable-shared LEX="touch lex.yy.c"
12613 @endif gmp-bootstrap
12615 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12616 maybe-configure-stageprofile-gmp:
12617 @if gmp-bootstrap
12618 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12619 configure-stageprofile-gmp:
12620 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12622 @r=`${PWD_COMMAND}`; export r; \
12623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12625 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12626 $(HOST_EXPORTS) \
12627 $(POSTSTAGE1_HOST_EXPORTS) \
12628 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12629 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12630 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12631 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12633 cd $(HOST_SUBDIR)/gmp || exit 1; \
12634 case $(srcdir) in \
12635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12636 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12638 esac; \
12639 module_srcdir=gmp; \
12640 $(SHELL) $$s/$$module_srcdir/configure \
12641 --srcdir=$${topdir}/$$module_srcdir \
12642 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12643 --target=none-${host_vendor}-${host_os} \
12644 --with-build-libsubdir=$(HOST_SUBDIR) \
12645 $(STAGEprofile_CONFIGURE_FLAGS) \
12646 --disable-shared LEX="touch lex.yy.c"
12647 @endif gmp-bootstrap
12649 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12650 maybe-configure-stagetrain-gmp:
12651 @if gmp-bootstrap
12652 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12653 configure-stagetrain-gmp:
12654 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12656 @r=`${PWD_COMMAND}`; export r; \
12657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12658 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12659 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12660 $(HOST_EXPORTS) \
12661 $(POSTSTAGE1_HOST_EXPORTS) \
12662 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12663 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12664 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12665 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12667 cd $(HOST_SUBDIR)/gmp || exit 1; \
12668 case $(srcdir) in \
12669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12670 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12672 esac; \
12673 module_srcdir=gmp; \
12674 $(SHELL) $$s/$$module_srcdir/configure \
12675 --srcdir=$${topdir}/$$module_srcdir \
12676 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12677 --target=none-${host_vendor}-${host_os} \
12678 --with-build-libsubdir=$(HOST_SUBDIR) \
12679 $(STAGEtrain_CONFIGURE_FLAGS) \
12680 --disable-shared LEX="touch lex.yy.c"
12681 @endif gmp-bootstrap
12683 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12684 maybe-configure-stagefeedback-gmp:
12685 @if gmp-bootstrap
12686 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12687 configure-stagefeedback-gmp:
12688 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12689 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12690 @r=`${PWD_COMMAND}`; export r; \
12691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12692 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12693 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12694 $(HOST_EXPORTS) \
12695 $(POSTSTAGE1_HOST_EXPORTS) \
12696 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12697 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12698 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12699 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12701 cd $(HOST_SUBDIR)/gmp || exit 1; \
12702 case $(srcdir) in \
12703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12704 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12706 esac; \
12707 module_srcdir=gmp; \
12708 $(SHELL) $$s/$$module_srcdir/configure \
12709 --srcdir=$${topdir}/$$module_srcdir \
12710 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12711 --target=none-${host_vendor}-${host_os} \
12712 --with-build-libsubdir=$(HOST_SUBDIR) \
12713 $(STAGEfeedback_CONFIGURE_FLAGS) \
12714 --disable-shared LEX="touch lex.yy.c"
12715 @endif gmp-bootstrap
12717 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12718 maybe-configure-stageautoprofile-gmp:
12719 @if gmp-bootstrap
12720 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12721 configure-stageautoprofile-gmp:
12722 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12724 @r=`${PWD_COMMAND}`; export r; \
12725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12726 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12727 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12728 $(HOST_EXPORTS) \
12729 $(POSTSTAGE1_HOST_EXPORTS) \
12730 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12731 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12732 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12733 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12735 cd $(HOST_SUBDIR)/gmp || exit 1; \
12736 case $(srcdir) in \
12737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12738 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12740 esac; \
12741 module_srcdir=gmp; \
12742 $(SHELL) $$s/$$module_srcdir/configure \
12743 --srcdir=$${topdir}/$$module_srcdir \
12744 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12745 --target=none-${host_vendor}-${host_os} \
12746 --with-build-libsubdir=$(HOST_SUBDIR) \
12747 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12748 --disable-shared LEX="touch lex.yy.c"
12749 @endif gmp-bootstrap
12751 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12752 maybe-configure-stageautofeedback-gmp:
12753 @if gmp-bootstrap
12754 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12755 configure-stageautofeedback-gmp:
12756 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12758 @r=`${PWD_COMMAND}`; export r; \
12759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12760 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12761 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12762 $(HOST_EXPORTS) \
12763 $(POSTSTAGE1_HOST_EXPORTS) \
12764 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12765 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12766 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12767 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12769 cd $(HOST_SUBDIR)/gmp || exit 1; \
12770 case $(srcdir) in \
12771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12772 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12774 esac; \
12775 module_srcdir=gmp; \
12776 $(SHELL) $$s/$$module_srcdir/configure \
12777 --srcdir=$${topdir}/$$module_srcdir \
12778 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12779 --target=none-${host_vendor}-${host_os} \
12780 --with-build-libsubdir=$(HOST_SUBDIR) \
12781 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12782 --disable-shared LEX="touch lex.yy.c"
12783 @endif gmp-bootstrap
12789 .PHONY: all-gmp maybe-all-gmp
12790 maybe-all-gmp:
12791 @if gcc-bootstrap
12792 all-gmp: stage_current
12793 @endif gcc-bootstrap
12794 @if gmp
12795 TARGET-gmp=all
12796 maybe-all-gmp: all-gmp
12797 all-gmp: configure-gmp
12798 @r=`${PWD_COMMAND}`; export r; \
12799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12800 $(HOST_EXPORTS) \
12801 (cd $(HOST_SUBDIR)/gmp && \
12802 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12803 $(TARGET-gmp))
12804 @endif gmp
12808 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12809 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12810 maybe-all-stage1-gmp:
12811 maybe-clean-stage1-gmp:
12812 @if gmp-bootstrap
12813 maybe-all-stage1-gmp: all-stage1-gmp
12814 all-stage1: all-stage1-gmp
12815 TARGET-stage1-gmp = $(TARGET-gmp)
12816 all-stage1-gmp: configure-stage1-gmp
12817 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12818 @r=`${PWD_COMMAND}`; export r; \
12819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12820 TFLAGS="$(STAGE1_TFLAGS)"; \
12821 $(HOST_EXPORTS) \
12822 cd $(HOST_SUBDIR)/gmp && \
12824 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12825 CFLAGS="$(STAGE1_CFLAGS)" \
12826 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12827 LIBCFLAGS="$(LIBCFLAGS)" \
12828 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12829 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12830 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12831 $(EXTRA_HOST_FLAGS) \
12832 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12833 TFLAGS="$(STAGE1_TFLAGS)" \
12834 $(TARGET-stage1-gmp)
12836 maybe-clean-stage1-gmp: clean-stage1-gmp
12837 clean-stage1: clean-stage1-gmp
12838 clean-stage1-gmp:
12839 @if [ $(current_stage) = stage1 ]; then \
12840 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12841 else \
12842 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12843 $(MAKE) stage1-start; \
12844 fi; \
12845 cd $(HOST_SUBDIR)/gmp && \
12846 $(MAKE) $(EXTRA_HOST_FLAGS) \
12847 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12848 @endif gmp-bootstrap
12851 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12852 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12853 maybe-all-stage2-gmp:
12854 maybe-clean-stage2-gmp:
12855 @if gmp-bootstrap
12856 maybe-all-stage2-gmp: all-stage2-gmp
12857 all-stage2: all-stage2-gmp
12858 TARGET-stage2-gmp = $(TARGET-gmp)
12859 all-stage2-gmp: configure-stage2-gmp
12860 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12861 @r=`${PWD_COMMAND}`; export r; \
12862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12863 TFLAGS="$(STAGE2_TFLAGS)"; \
12864 $(HOST_EXPORTS) \
12865 $(POSTSTAGE1_HOST_EXPORTS) \
12866 cd $(HOST_SUBDIR)/gmp && \
12868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12869 CFLAGS="$(STAGE2_CFLAGS)" \
12870 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12871 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12875 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12876 TFLAGS="$(STAGE2_TFLAGS)" \
12877 $(TARGET-stage2-gmp)
12879 maybe-clean-stage2-gmp: clean-stage2-gmp
12880 clean-stage2: clean-stage2-gmp
12881 clean-stage2-gmp:
12882 @if [ $(current_stage) = stage2 ]; then \
12883 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12884 else \
12885 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12886 $(MAKE) stage2-start; \
12887 fi; \
12888 cd $(HOST_SUBDIR)/gmp && \
12889 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12890 @endif gmp-bootstrap
12893 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12894 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12895 maybe-all-stage3-gmp:
12896 maybe-clean-stage3-gmp:
12897 @if gmp-bootstrap
12898 maybe-all-stage3-gmp: all-stage3-gmp
12899 all-stage3: all-stage3-gmp
12900 TARGET-stage3-gmp = $(TARGET-gmp)
12901 all-stage3-gmp: configure-stage3-gmp
12902 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12903 @r=`${PWD_COMMAND}`; export r; \
12904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12905 TFLAGS="$(STAGE3_TFLAGS)"; \
12906 $(HOST_EXPORTS) \
12907 $(POSTSTAGE1_HOST_EXPORTS) \
12908 cd $(HOST_SUBDIR)/gmp && \
12910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12911 CFLAGS="$(STAGE3_CFLAGS)" \
12912 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12913 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12918 TFLAGS="$(STAGE3_TFLAGS)" \
12919 $(TARGET-stage3-gmp)
12921 maybe-clean-stage3-gmp: clean-stage3-gmp
12922 clean-stage3: clean-stage3-gmp
12923 clean-stage3-gmp:
12924 @if [ $(current_stage) = stage3 ]; then \
12925 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12926 else \
12927 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12928 $(MAKE) stage3-start; \
12929 fi; \
12930 cd $(HOST_SUBDIR)/gmp && \
12931 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12932 @endif gmp-bootstrap
12935 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12936 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12937 maybe-all-stage4-gmp:
12938 maybe-clean-stage4-gmp:
12939 @if gmp-bootstrap
12940 maybe-all-stage4-gmp: all-stage4-gmp
12941 all-stage4: all-stage4-gmp
12942 TARGET-stage4-gmp = $(TARGET-gmp)
12943 all-stage4-gmp: configure-stage4-gmp
12944 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12945 @r=`${PWD_COMMAND}`; export r; \
12946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12947 TFLAGS="$(STAGE4_TFLAGS)"; \
12948 $(HOST_EXPORTS) \
12949 $(POSTSTAGE1_HOST_EXPORTS) \
12950 cd $(HOST_SUBDIR)/gmp && \
12952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12953 CFLAGS="$(STAGE4_CFLAGS)" \
12954 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12955 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12960 TFLAGS="$(STAGE4_TFLAGS)" \
12961 $(TARGET-stage4-gmp)
12963 maybe-clean-stage4-gmp: clean-stage4-gmp
12964 clean-stage4: clean-stage4-gmp
12965 clean-stage4-gmp:
12966 @if [ $(current_stage) = stage4 ]; then \
12967 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12968 else \
12969 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12970 $(MAKE) stage4-start; \
12971 fi; \
12972 cd $(HOST_SUBDIR)/gmp && \
12973 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12974 @endif gmp-bootstrap
12977 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
12978 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
12979 maybe-all-stageprofile-gmp:
12980 maybe-clean-stageprofile-gmp:
12981 @if gmp-bootstrap
12982 maybe-all-stageprofile-gmp: all-stageprofile-gmp
12983 all-stageprofile: all-stageprofile-gmp
12984 TARGET-stageprofile-gmp = $(TARGET-gmp)
12985 all-stageprofile-gmp: configure-stageprofile-gmp
12986 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12987 @r=`${PWD_COMMAND}`; export r; \
12988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12989 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12990 $(HOST_EXPORTS) \
12991 $(POSTSTAGE1_HOST_EXPORTS) \
12992 cd $(HOST_SUBDIR)/gmp && \
12994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12995 CFLAGS="$(STAGEprofile_CFLAGS)" \
12996 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12997 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13002 TFLAGS="$(STAGEprofile_TFLAGS)" \
13003 $(TARGET-stageprofile-gmp)
13005 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13006 clean-stageprofile: clean-stageprofile-gmp
13007 clean-stageprofile-gmp:
13008 @if [ $(current_stage) = stageprofile ]; then \
13009 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13010 else \
13011 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13012 $(MAKE) stageprofile-start; \
13013 fi; \
13014 cd $(HOST_SUBDIR)/gmp && \
13015 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13016 @endif gmp-bootstrap
13019 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13020 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13021 maybe-all-stagetrain-gmp:
13022 maybe-clean-stagetrain-gmp:
13023 @if gmp-bootstrap
13024 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13025 all-stagetrain: all-stagetrain-gmp
13026 TARGET-stagetrain-gmp = $(TARGET-gmp)
13027 all-stagetrain-gmp: configure-stagetrain-gmp
13028 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13029 @r=`${PWD_COMMAND}`; export r; \
13030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13031 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13032 $(HOST_EXPORTS) \
13033 $(POSTSTAGE1_HOST_EXPORTS) \
13034 cd $(HOST_SUBDIR)/gmp && \
13036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13037 CFLAGS="$(STAGEtrain_CFLAGS)" \
13038 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13039 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13044 TFLAGS="$(STAGEtrain_TFLAGS)" \
13045 $(TARGET-stagetrain-gmp)
13047 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13048 clean-stagetrain: clean-stagetrain-gmp
13049 clean-stagetrain-gmp:
13050 @if [ $(current_stage) = stagetrain ]; then \
13051 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13052 else \
13053 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13054 $(MAKE) stagetrain-start; \
13055 fi; \
13056 cd $(HOST_SUBDIR)/gmp && \
13057 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13058 @endif gmp-bootstrap
13061 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13062 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13063 maybe-all-stagefeedback-gmp:
13064 maybe-clean-stagefeedback-gmp:
13065 @if gmp-bootstrap
13066 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13067 all-stagefeedback: all-stagefeedback-gmp
13068 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13069 all-stagefeedback-gmp: configure-stagefeedback-gmp
13070 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13071 @r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13073 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13074 $(HOST_EXPORTS) \
13075 $(POSTSTAGE1_HOST_EXPORTS) \
13076 cd $(HOST_SUBDIR)/gmp && \
13078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13079 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13080 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13081 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13085 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13086 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13087 $(TARGET-stagefeedback-gmp)
13089 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13090 clean-stagefeedback: clean-stagefeedback-gmp
13091 clean-stagefeedback-gmp:
13092 @if [ $(current_stage) = stagefeedback ]; then \
13093 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13094 else \
13095 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13096 $(MAKE) stagefeedback-start; \
13097 fi; \
13098 cd $(HOST_SUBDIR)/gmp && \
13099 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13100 @endif gmp-bootstrap
13103 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13104 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13105 maybe-all-stageautoprofile-gmp:
13106 maybe-clean-stageautoprofile-gmp:
13107 @if gmp-bootstrap
13108 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13109 all-stageautoprofile: all-stageautoprofile-gmp
13110 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13111 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13112 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13113 @r=`${PWD_COMMAND}`; export r; \
13114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13115 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13116 $(HOST_EXPORTS) \
13117 $(POSTSTAGE1_HOST_EXPORTS) \
13118 cd $(HOST_SUBDIR)/gmp && \
13119 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13121 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13122 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13123 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13128 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13129 $(TARGET-stageautoprofile-gmp)
13131 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13132 clean-stageautoprofile: clean-stageautoprofile-gmp
13133 clean-stageautoprofile-gmp:
13134 @if [ $(current_stage) = stageautoprofile ]; then \
13135 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13136 else \
13137 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13138 $(MAKE) stageautoprofile-start; \
13139 fi; \
13140 cd $(HOST_SUBDIR)/gmp && \
13141 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13142 @endif gmp-bootstrap
13145 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13146 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13147 maybe-all-stageautofeedback-gmp:
13148 maybe-clean-stageautofeedback-gmp:
13149 @if gmp-bootstrap
13150 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13151 all-stageautofeedback: all-stageautofeedback-gmp
13152 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13153 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13154 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13155 @r=`${PWD_COMMAND}`; export r; \
13156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13157 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13158 $(HOST_EXPORTS) \
13159 $(POSTSTAGE1_HOST_EXPORTS) \
13160 cd $(HOST_SUBDIR)/gmp && \
13162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13163 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13164 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13165 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13170 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13171 $(TARGET-stageautofeedback-gmp)
13173 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13174 clean-stageautofeedback: clean-stageautofeedback-gmp
13175 clean-stageautofeedback-gmp:
13176 @if [ $(current_stage) = stageautofeedback ]; then \
13177 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13178 else \
13179 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13180 $(MAKE) stageautofeedback-start; \
13181 fi; \
13182 cd $(HOST_SUBDIR)/gmp && \
13183 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13184 @endif gmp-bootstrap
13190 .PHONY: check-gmp maybe-check-gmp
13191 maybe-check-gmp:
13192 @if gmp
13193 maybe-check-gmp: check-gmp
13195 check-gmp:
13196 @: $(MAKE); $(unstage)
13197 @r=`${PWD_COMMAND}`; export r; \
13198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13199 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13200 (cd $(HOST_SUBDIR)/gmp && \
13201 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13203 @endif gmp
13205 .PHONY: install-gmp maybe-install-gmp
13206 maybe-install-gmp:
13207 @if gmp
13208 maybe-install-gmp: install-gmp
13210 install-gmp:
13212 @endif gmp
13214 .PHONY: install-strip-gmp maybe-install-strip-gmp
13215 maybe-install-strip-gmp:
13216 @if gmp
13217 maybe-install-strip-gmp: install-strip-gmp
13219 install-strip-gmp:
13221 @endif gmp
13223 # Other targets (info, dvi, pdf, etc.)
13225 .PHONY: maybe-info-gmp info-gmp
13226 maybe-info-gmp:
13227 @if gmp
13228 maybe-info-gmp: info-gmp
13230 info-gmp: \
13231 configure-gmp
13232 @[ -f ./gmp/Makefile ] || exit 0; \
13233 r=`${PWD_COMMAND}`; export r; \
13234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 $(HOST_EXPORTS) \
13236 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13238 done; \
13239 echo "Doing info in gmp"; \
13240 (cd $(HOST_SUBDIR)/gmp && \
13241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13243 "RANLIB=$${RANLIB}" \
13244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13245 info) \
13246 || exit 1
13248 @endif gmp
13250 .PHONY: maybe-dvi-gmp dvi-gmp
13251 maybe-dvi-gmp:
13252 @if gmp
13253 maybe-dvi-gmp: dvi-gmp
13255 dvi-gmp: \
13256 configure-gmp
13257 @[ -f ./gmp/Makefile ] || exit 0; \
13258 r=`${PWD_COMMAND}`; export r; \
13259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13260 $(HOST_EXPORTS) \
13261 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13263 done; \
13264 echo "Doing dvi in gmp"; \
13265 (cd $(HOST_SUBDIR)/gmp && \
13266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13268 "RANLIB=$${RANLIB}" \
13269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13270 dvi) \
13271 || exit 1
13273 @endif gmp
13275 .PHONY: maybe-pdf-gmp pdf-gmp
13276 maybe-pdf-gmp:
13277 @if gmp
13278 maybe-pdf-gmp: pdf-gmp
13280 pdf-gmp: \
13281 configure-gmp
13282 @[ -f ./gmp/Makefile ] || exit 0; \
13283 r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 $(HOST_EXPORTS) \
13286 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13288 done; \
13289 echo "Doing pdf in gmp"; \
13290 (cd $(HOST_SUBDIR)/gmp && \
13291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13293 "RANLIB=$${RANLIB}" \
13294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13295 pdf) \
13296 || exit 1
13298 @endif gmp
13300 .PHONY: maybe-html-gmp html-gmp
13301 maybe-html-gmp:
13302 @if gmp
13303 maybe-html-gmp: html-gmp
13305 html-gmp: \
13306 configure-gmp
13307 @[ -f ./gmp/Makefile ] || exit 0; \
13308 r=`${PWD_COMMAND}`; export r; \
13309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13310 $(HOST_EXPORTS) \
13311 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13313 done; \
13314 echo "Doing html in gmp"; \
13315 (cd $(HOST_SUBDIR)/gmp && \
13316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13318 "RANLIB=$${RANLIB}" \
13319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13320 html) \
13321 || exit 1
13323 @endif gmp
13325 .PHONY: maybe-TAGS-gmp TAGS-gmp
13326 maybe-TAGS-gmp:
13327 @if gmp
13328 maybe-TAGS-gmp: TAGS-gmp
13330 TAGS-gmp: \
13331 configure-gmp
13332 @[ -f ./gmp/Makefile ] || exit 0; \
13333 r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 $(HOST_EXPORTS) \
13336 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13338 done; \
13339 echo "Doing TAGS in gmp"; \
13340 (cd $(HOST_SUBDIR)/gmp && \
13341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13343 "RANLIB=$${RANLIB}" \
13344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13345 TAGS) \
13346 || exit 1
13348 @endif gmp
13350 .PHONY: maybe-install-info-gmp install-info-gmp
13351 maybe-install-info-gmp:
13352 @if gmp
13353 maybe-install-info-gmp: install-info-gmp
13355 install-info-gmp: \
13356 configure-gmp \
13357 info-gmp
13358 @[ -f ./gmp/Makefile ] || exit 0; \
13359 r=`${PWD_COMMAND}`; export r; \
13360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13361 $(HOST_EXPORTS) \
13362 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13364 done; \
13365 echo "Doing install-info in gmp"; \
13366 (cd $(HOST_SUBDIR)/gmp && \
13367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13369 "RANLIB=$${RANLIB}" \
13370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13371 install-info) \
13372 || exit 1
13374 @endif gmp
13376 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13377 maybe-install-pdf-gmp:
13378 @if gmp
13379 maybe-install-pdf-gmp: install-pdf-gmp
13381 install-pdf-gmp: \
13382 configure-gmp \
13383 pdf-gmp
13384 @[ -f ./gmp/Makefile ] || exit 0; \
13385 r=`${PWD_COMMAND}`; export r; \
13386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13387 $(HOST_EXPORTS) \
13388 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13390 done; \
13391 echo "Doing install-pdf in gmp"; \
13392 (cd $(HOST_SUBDIR)/gmp && \
13393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13395 "RANLIB=$${RANLIB}" \
13396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13397 install-pdf) \
13398 || exit 1
13400 @endif gmp
13402 .PHONY: maybe-install-html-gmp install-html-gmp
13403 maybe-install-html-gmp:
13404 @if gmp
13405 maybe-install-html-gmp: install-html-gmp
13407 install-html-gmp: \
13408 configure-gmp \
13409 html-gmp
13410 @[ -f ./gmp/Makefile ] || exit 0; \
13411 r=`${PWD_COMMAND}`; export r; \
13412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13413 $(HOST_EXPORTS) \
13414 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13416 done; \
13417 echo "Doing install-html in gmp"; \
13418 (cd $(HOST_SUBDIR)/gmp && \
13419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13421 "RANLIB=$${RANLIB}" \
13422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13423 install-html) \
13424 || exit 1
13426 @endif gmp
13428 .PHONY: maybe-installcheck-gmp installcheck-gmp
13429 maybe-installcheck-gmp:
13430 @if gmp
13431 maybe-installcheck-gmp: installcheck-gmp
13433 installcheck-gmp: \
13434 configure-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 installcheck 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 installcheck) \
13449 || exit 1
13451 @endif gmp
13453 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13454 maybe-mostlyclean-gmp:
13455 @if gmp
13456 maybe-mostlyclean-gmp: mostlyclean-gmp
13458 mostlyclean-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 mostlyclean 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 mostlyclean) \
13473 || exit 1
13475 @endif gmp
13477 .PHONY: maybe-clean-gmp clean-gmp
13478 maybe-clean-gmp:
13479 @if gmp
13480 maybe-clean-gmp: clean-gmp
13482 clean-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 clean 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 clean) \
13497 || exit 1
13499 @endif gmp
13501 .PHONY: maybe-distclean-gmp distclean-gmp
13502 maybe-distclean-gmp:
13503 @if gmp
13504 maybe-distclean-gmp: distclean-gmp
13506 distclean-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 distclean 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 distclean) \
13521 || exit 1
13523 @endif gmp
13525 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13526 maybe-maintainer-clean-gmp:
13527 @if gmp
13528 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13530 maintainer-clean-gmp:
13531 @[ -f ./gmp/Makefile ] || exit 0; \
13532 r=`${PWD_COMMAND}`; export r; \
13533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13534 $(HOST_EXPORTS) \
13535 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13537 done; \
13538 echo "Doing maintainer-clean in gmp"; \
13539 (cd $(HOST_SUBDIR)/gmp && \
13540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13542 "RANLIB=$${RANLIB}" \
13543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13544 maintainer-clean) \
13545 || exit 1
13547 @endif gmp
13551 .PHONY: configure-mpfr maybe-configure-mpfr
13552 maybe-configure-mpfr:
13553 @if gcc-bootstrap
13554 configure-mpfr: stage_current
13555 @endif gcc-bootstrap
13556 @if mpfr
13557 maybe-configure-mpfr: configure-mpfr
13558 configure-mpfr:
13559 @r=`${PWD_COMMAND}`; export r; \
13560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13561 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13563 $(HOST_EXPORTS) \
13564 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13565 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13566 case $(srcdir) in \
13567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13568 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13570 esac; \
13571 module_srcdir=mpfr; \
13572 $(SHELL) \
13573 $$s/$$module_srcdir/configure \
13574 --srcdir=$${topdir}/$$module_srcdir \
13575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13576 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13577 || exit 1
13578 @endif mpfr
13582 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13583 maybe-configure-stage1-mpfr:
13584 @if mpfr-bootstrap
13585 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13586 configure-stage1-mpfr:
13587 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13589 @r=`${PWD_COMMAND}`; export r; \
13590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13591 TFLAGS="$(STAGE1_TFLAGS)"; \
13592 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13593 $(HOST_EXPORTS) \
13594 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13595 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13596 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13597 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13599 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13600 case $(srcdir) in \
13601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13602 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13604 esac; \
13605 module_srcdir=mpfr; \
13606 $(SHELL) $$s/$$module_srcdir/configure \
13607 --srcdir=$${topdir}/$$module_srcdir \
13608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13609 --target=${target_alias} \
13611 $(STAGE1_CONFIGURE_FLAGS) \
13612 --disable-shared @extra_mpfr_configure_flags@
13613 @endif mpfr-bootstrap
13615 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13616 maybe-configure-stage2-mpfr:
13617 @if mpfr-bootstrap
13618 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13619 configure-stage2-mpfr:
13620 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13622 @r=`${PWD_COMMAND}`; export r; \
13623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13624 TFLAGS="$(STAGE2_TFLAGS)"; \
13625 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13626 $(HOST_EXPORTS) \
13627 $(POSTSTAGE1_HOST_EXPORTS) \
13628 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13629 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13630 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13631 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13633 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13634 case $(srcdir) in \
13635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13636 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13638 esac; \
13639 module_srcdir=mpfr; \
13640 $(SHELL) $$s/$$module_srcdir/configure \
13641 --srcdir=$${topdir}/$$module_srcdir \
13642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13643 --target=${target_alias} \
13644 --with-build-libsubdir=$(HOST_SUBDIR) \
13645 $(STAGE2_CONFIGURE_FLAGS) \
13646 --disable-shared @extra_mpfr_configure_flags@
13647 @endif mpfr-bootstrap
13649 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13650 maybe-configure-stage3-mpfr:
13651 @if mpfr-bootstrap
13652 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13653 configure-stage3-mpfr:
13654 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13656 @r=`${PWD_COMMAND}`; export r; \
13657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13658 TFLAGS="$(STAGE3_TFLAGS)"; \
13659 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13660 $(HOST_EXPORTS) \
13661 $(POSTSTAGE1_HOST_EXPORTS) \
13662 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13663 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13664 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13665 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13667 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13668 case $(srcdir) in \
13669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13670 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13672 esac; \
13673 module_srcdir=mpfr; \
13674 $(SHELL) $$s/$$module_srcdir/configure \
13675 --srcdir=$${topdir}/$$module_srcdir \
13676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13677 --target=${target_alias} \
13678 --with-build-libsubdir=$(HOST_SUBDIR) \
13679 $(STAGE3_CONFIGURE_FLAGS) \
13680 --disable-shared @extra_mpfr_configure_flags@
13681 @endif mpfr-bootstrap
13683 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13684 maybe-configure-stage4-mpfr:
13685 @if mpfr-bootstrap
13686 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13687 configure-stage4-mpfr:
13688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13689 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13690 @r=`${PWD_COMMAND}`; export r; \
13691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13692 TFLAGS="$(STAGE4_TFLAGS)"; \
13693 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13694 $(HOST_EXPORTS) \
13695 $(POSTSTAGE1_HOST_EXPORTS) \
13696 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13697 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13698 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13699 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13701 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13702 case $(srcdir) in \
13703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13704 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13706 esac; \
13707 module_srcdir=mpfr; \
13708 $(SHELL) $$s/$$module_srcdir/configure \
13709 --srcdir=$${topdir}/$$module_srcdir \
13710 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13711 --target=${target_alias} \
13712 --with-build-libsubdir=$(HOST_SUBDIR) \
13713 $(STAGE4_CONFIGURE_FLAGS) \
13714 --disable-shared @extra_mpfr_configure_flags@
13715 @endif mpfr-bootstrap
13717 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13718 maybe-configure-stageprofile-mpfr:
13719 @if mpfr-bootstrap
13720 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13721 configure-stageprofile-mpfr:
13722 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13724 @r=`${PWD_COMMAND}`; export r; \
13725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13726 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13727 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13728 $(HOST_EXPORTS) \
13729 $(POSTSTAGE1_HOST_EXPORTS) \
13730 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13731 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13732 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13733 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13735 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13736 case $(srcdir) in \
13737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13738 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13740 esac; \
13741 module_srcdir=mpfr; \
13742 $(SHELL) $$s/$$module_srcdir/configure \
13743 --srcdir=$${topdir}/$$module_srcdir \
13744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13745 --target=${target_alias} \
13746 --with-build-libsubdir=$(HOST_SUBDIR) \
13747 $(STAGEprofile_CONFIGURE_FLAGS) \
13748 --disable-shared @extra_mpfr_configure_flags@
13749 @endif mpfr-bootstrap
13751 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13752 maybe-configure-stagetrain-mpfr:
13753 @if mpfr-bootstrap
13754 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13755 configure-stagetrain-mpfr:
13756 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13758 @r=`${PWD_COMMAND}`; export r; \
13759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13760 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13761 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13762 $(HOST_EXPORTS) \
13763 $(POSTSTAGE1_HOST_EXPORTS) \
13764 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13765 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13766 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13767 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13769 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13770 case $(srcdir) in \
13771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13772 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13774 esac; \
13775 module_srcdir=mpfr; \
13776 $(SHELL) $$s/$$module_srcdir/configure \
13777 --srcdir=$${topdir}/$$module_srcdir \
13778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13779 --target=${target_alias} \
13780 --with-build-libsubdir=$(HOST_SUBDIR) \
13781 $(STAGEtrain_CONFIGURE_FLAGS) \
13782 --disable-shared @extra_mpfr_configure_flags@
13783 @endif mpfr-bootstrap
13785 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13786 maybe-configure-stagefeedback-mpfr:
13787 @if mpfr-bootstrap
13788 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13789 configure-stagefeedback-mpfr:
13790 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13792 @r=`${PWD_COMMAND}`; export r; \
13793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13794 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13795 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13796 $(HOST_EXPORTS) \
13797 $(POSTSTAGE1_HOST_EXPORTS) \
13798 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13799 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13800 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13801 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13803 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13804 case $(srcdir) in \
13805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13806 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13808 esac; \
13809 module_srcdir=mpfr; \
13810 $(SHELL) $$s/$$module_srcdir/configure \
13811 --srcdir=$${topdir}/$$module_srcdir \
13812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13813 --target=${target_alias} \
13814 --with-build-libsubdir=$(HOST_SUBDIR) \
13815 $(STAGEfeedback_CONFIGURE_FLAGS) \
13816 --disable-shared @extra_mpfr_configure_flags@
13817 @endif mpfr-bootstrap
13819 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13820 maybe-configure-stageautoprofile-mpfr:
13821 @if mpfr-bootstrap
13822 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13823 configure-stageautoprofile-mpfr:
13824 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13826 @r=`${PWD_COMMAND}`; export r; \
13827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13828 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13829 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13830 $(HOST_EXPORTS) \
13831 $(POSTSTAGE1_HOST_EXPORTS) \
13832 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13833 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13834 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13835 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13837 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13838 case $(srcdir) in \
13839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13840 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13842 esac; \
13843 module_srcdir=mpfr; \
13844 $(SHELL) $$s/$$module_srcdir/configure \
13845 --srcdir=$${topdir}/$$module_srcdir \
13846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13847 --target=${target_alias} \
13848 --with-build-libsubdir=$(HOST_SUBDIR) \
13849 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13850 --disable-shared @extra_mpfr_configure_flags@
13851 @endif mpfr-bootstrap
13853 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13854 maybe-configure-stageautofeedback-mpfr:
13855 @if mpfr-bootstrap
13856 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13857 configure-stageautofeedback-mpfr:
13858 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13860 @r=`${PWD_COMMAND}`; export r; \
13861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13862 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13863 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13864 $(HOST_EXPORTS) \
13865 $(POSTSTAGE1_HOST_EXPORTS) \
13866 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13867 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13868 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13869 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13871 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13872 case $(srcdir) in \
13873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13874 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13876 esac; \
13877 module_srcdir=mpfr; \
13878 $(SHELL) $$s/$$module_srcdir/configure \
13879 --srcdir=$${topdir}/$$module_srcdir \
13880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13881 --target=${target_alias} \
13882 --with-build-libsubdir=$(HOST_SUBDIR) \
13883 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13884 --disable-shared @extra_mpfr_configure_flags@
13885 @endif mpfr-bootstrap
13891 .PHONY: all-mpfr maybe-all-mpfr
13892 maybe-all-mpfr:
13893 @if gcc-bootstrap
13894 all-mpfr: stage_current
13895 @endif gcc-bootstrap
13896 @if mpfr
13897 TARGET-mpfr=all
13898 maybe-all-mpfr: all-mpfr
13899 all-mpfr: configure-mpfr
13900 @r=`${PWD_COMMAND}`; export r; \
13901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13902 $(HOST_EXPORTS) \
13903 (cd $(HOST_SUBDIR)/mpfr && \
13904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13905 $(TARGET-mpfr))
13906 @endif mpfr
13910 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13911 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13912 maybe-all-stage1-mpfr:
13913 maybe-clean-stage1-mpfr:
13914 @if mpfr-bootstrap
13915 maybe-all-stage1-mpfr: all-stage1-mpfr
13916 all-stage1: all-stage1-mpfr
13917 TARGET-stage1-mpfr = $(TARGET-mpfr)
13918 all-stage1-mpfr: configure-stage1-mpfr
13919 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13920 @r=`${PWD_COMMAND}`; export r; \
13921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13922 TFLAGS="$(STAGE1_TFLAGS)"; \
13923 $(HOST_EXPORTS) \
13924 cd $(HOST_SUBDIR)/mpfr && \
13926 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13927 CFLAGS="$(STAGE1_CFLAGS)" \
13928 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13929 LIBCFLAGS="$(LIBCFLAGS)" \
13930 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13931 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13932 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13933 $(EXTRA_HOST_FLAGS) \
13934 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13935 TFLAGS="$(STAGE1_TFLAGS)" \
13936 $(TARGET-stage1-mpfr)
13938 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13939 clean-stage1: clean-stage1-mpfr
13940 clean-stage1-mpfr:
13941 @if [ $(current_stage) = stage1 ]; then \
13942 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13943 else \
13944 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13945 $(MAKE) stage1-start; \
13946 fi; \
13947 cd $(HOST_SUBDIR)/mpfr && \
13948 $(MAKE) $(EXTRA_HOST_FLAGS) \
13949 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13950 @endif mpfr-bootstrap
13953 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13954 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13955 maybe-all-stage2-mpfr:
13956 maybe-clean-stage2-mpfr:
13957 @if mpfr-bootstrap
13958 maybe-all-stage2-mpfr: all-stage2-mpfr
13959 all-stage2: all-stage2-mpfr
13960 TARGET-stage2-mpfr = $(TARGET-mpfr)
13961 all-stage2-mpfr: configure-stage2-mpfr
13962 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13963 @r=`${PWD_COMMAND}`; export r; \
13964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13965 TFLAGS="$(STAGE2_TFLAGS)"; \
13966 $(HOST_EXPORTS) \
13967 $(POSTSTAGE1_HOST_EXPORTS) \
13968 cd $(HOST_SUBDIR)/mpfr && \
13970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13971 CFLAGS="$(STAGE2_CFLAGS)" \
13972 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13973 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13978 TFLAGS="$(STAGE2_TFLAGS)" \
13979 $(TARGET-stage2-mpfr)
13981 maybe-clean-stage2-mpfr: clean-stage2-mpfr
13982 clean-stage2: clean-stage2-mpfr
13983 clean-stage2-mpfr:
13984 @if [ $(current_stage) = stage2 ]; then \
13985 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13986 else \
13987 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
13988 $(MAKE) stage2-start; \
13989 fi; \
13990 cd $(HOST_SUBDIR)/mpfr && \
13991 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13992 @endif mpfr-bootstrap
13995 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
13996 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
13997 maybe-all-stage3-mpfr:
13998 maybe-clean-stage3-mpfr:
13999 @if mpfr-bootstrap
14000 maybe-all-stage3-mpfr: all-stage3-mpfr
14001 all-stage3: all-stage3-mpfr
14002 TARGET-stage3-mpfr = $(TARGET-mpfr)
14003 all-stage3-mpfr: configure-stage3-mpfr
14004 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14005 @r=`${PWD_COMMAND}`; export r; \
14006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14007 TFLAGS="$(STAGE3_TFLAGS)"; \
14008 $(HOST_EXPORTS) \
14009 $(POSTSTAGE1_HOST_EXPORTS) \
14010 cd $(HOST_SUBDIR)/mpfr && \
14012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14013 CFLAGS="$(STAGE3_CFLAGS)" \
14014 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14015 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14020 TFLAGS="$(STAGE3_TFLAGS)" \
14021 $(TARGET-stage3-mpfr)
14023 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14024 clean-stage3: clean-stage3-mpfr
14025 clean-stage3-mpfr:
14026 @if [ $(current_stage) = stage3 ]; then \
14027 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14028 else \
14029 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14030 $(MAKE) stage3-start; \
14031 fi; \
14032 cd $(HOST_SUBDIR)/mpfr && \
14033 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14034 @endif mpfr-bootstrap
14037 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14038 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14039 maybe-all-stage4-mpfr:
14040 maybe-clean-stage4-mpfr:
14041 @if mpfr-bootstrap
14042 maybe-all-stage4-mpfr: all-stage4-mpfr
14043 all-stage4: all-stage4-mpfr
14044 TARGET-stage4-mpfr = $(TARGET-mpfr)
14045 all-stage4-mpfr: configure-stage4-mpfr
14046 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14047 @r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 TFLAGS="$(STAGE4_TFLAGS)"; \
14050 $(HOST_EXPORTS) \
14051 $(POSTSTAGE1_HOST_EXPORTS) \
14052 cd $(HOST_SUBDIR)/mpfr && \
14054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14055 CFLAGS="$(STAGE4_CFLAGS)" \
14056 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14057 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14062 TFLAGS="$(STAGE4_TFLAGS)" \
14063 $(TARGET-stage4-mpfr)
14065 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14066 clean-stage4: clean-stage4-mpfr
14067 clean-stage4-mpfr:
14068 @if [ $(current_stage) = stage4 ]; then \
14069 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14070 else \
14071 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14072 $(MAKE) stage4-start; \
14073 fi; \
14074 cd $(HOST_SUBDIR)/mpfr && \
14075 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14076 @endif mpfr-bootstrap
14079 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14080 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14081 maybe-all-stageprofile-mpfr:
14082 maybe-clean-stageprofile-mpfr:
14083 @if mpfr-bootstrap
14084 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14085 all-stageprofile: all-stageprofile-mpfr
14086 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14087 all-stageprofile-mpfr: configure-stageprofile-mpfr
14088 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14089 @r=`${PWD_COMMAND}`; export r; \
14090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14091 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14092 $(HOST_EXPORTS) \
14093 $(POSTSTAGE1_HOST_EXPORTS) \
14094 cd $(HOST_SUBDIR)/mpfr && \
14096 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14097 CFLAGS="$(STAGEprofile_CFLAGS)" \
14098 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14099 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14100 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14101 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14102 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14103 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14104 TFLAGS="$(STAGEprofile_TFLAGS)" \
14105 $(TARGET-stageprofile-mpfr)
14107 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14108 clean-stageprofile: clean-stageprofile-mpfr
14109 clean-stageprofile-mpfr:
14110 @if [ $(current_stage) = stageprofile ]; then \
14111 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14112 else \
14113 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14114 $(MAKE) stageprofile-start; \
14115 fi; \
14116 cd $(HOST_SUBDIR)/mpfr && \
14117 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14118 @endif mpfr-bootstrap
14121 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14122 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14123 maybe-all-stagetrain-mpfr:
14124 maybe-clean-stagetrain-mpfr:
14125 @if mpfr-bootstrap
14126 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14127 all-stagetrain: all-stagetrain-mpfr
14128 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14129 all-stagetrain-mpfr: configure-stagetrain-mpfr
14130 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14131 @r=`${PWD_COMMAND}`; export r; \
14132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14133 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14134 $(HOST_EXPORTS) \
14135 $(POSTSTAGE1_HOST_EXPORTS) \
14136 cd $(HOST_SUBDIR)/mpfr && \
14138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14139 CFLAGS="$(STAGEtrain_CFLAGS)" \
14140 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14141 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14146 TFLAGS="$(STAGEtrain_TFLAGS)" \
14147 $(TARGET-stagetrain-mpfr)
14149 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14150 clean-stagetrain: clean-stagetrain-mpfr
14151 clean-stagetrain-mpfr:
14152 @if [ $(current_stage) = stagetrain ]; then \
14153 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14154 else \
14155 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14156 $(MAKE) stagetrain-start; \
14157 fi; \
14158 cd $(HOST_SUBDIR)/mpfr && \
14159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14160 @endif mpfr-bootstrap
14163 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14164 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14165 maybe-all-stagefeedback-mpfr:
14166 maybe-clean-stagefeedback-mpfr:
14167 @if mpfr-bootstrap
14168 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14169 all-stagefeedback: all-stagefeedback-mpfr
14170 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14171 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14172 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14173 @r=`${PWD_COMMAND}`; export r; \
14174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14175 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14176 $(HOST_EXPORTS) \
14177 $(POSTSTAGE1_HOST_EXPORTS) \
14178 cd $(HOST_SUBDIR)/mpfr && \
14180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14181 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14182 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14183 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14188 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14189 $(TARGET-stagefeedback-mpfr)
14191 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14192 clean-stagefeedback: clean-stagefeedback-mpfr
14193 clean-stagefeedback-mpfr:
14194 @if [ $(current_stage) = stagefeedback ]; then \
14195 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14196 else \
14197 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14198 $(MAKE) stagefeedback-start; \
14199 fi; \
14200 cd $(HOST_SUBDIR)/mpfr && \
14201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14202 @endif mpfr-bootstrap
14205 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14206 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14207 maybe-all-stageautoprofile-mpfr:
14208 maybe-clean-stageautoprofile-mpfr:
14209 @if mpfr-bootstrap
14210 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14211 all-stageautoprofile: all-stageautoprofile-mpfr
14212 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14213 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14214 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14215 @r=`${PWD_COMMAND}`; export r; \
14216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14217 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14218 $(HOST_EXPORTS) \
14219 $(POSTSTAGE1_HOST_EXPORTS) \
14220 cd $(HOST_SUBDIR)/mpfr && \
14221 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14223 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14224 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14225 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14230 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14231 $(TARGET-stageautoprofile-mpfr)
14233 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14234 clean-stageautoprofile: clean-stageautoprofile-mpfr
14235 clean-stageautoprofile-mpfr:
14236 @if [ $(current_stage) = stageautoprofile ]; then \
14237 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14238 else \
14239 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14240 $(MAKE) stageautoprofile-start; \
14241 fi; \
14242 cd $(HOST_SUBDIR)/mpfr && \
14243 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14244 @endif mpfr-bootstrap
14247 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14248 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14249 maybe-all-stageautofeedback-mpfr:
14250 maybe-clean-stageautofeedback-mpfr:
14251 @if mpfr-bootstrap
14252 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14253 all-stageautofeedback: all-stageautofeedback-mpfr
14254 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14255 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14256 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14257 @r=`${PWD_COMMAND}`; export r; \
14258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14259 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14260 $(HOST_EXPORTS) \
14261 $(POSTSTAGE1_HOST_EXPORTS) \
14262 cd $(HOST_SUBDIR)/mpfr && \
14264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14265 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14266 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14267 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14268 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14269 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14270 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14271 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14272 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14273 $(TARGET-stageautofeedback-mpfr)
14275 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14276 clean-stageautofeedback: clean-stageautofeedback-mpfr
14277 clean-stageautofeedback-mpfr:
14278 @if [ $(current_stage) = stageautofeedback ]; then \
14279 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14280 else \
14281 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14282 $(MAKE) stageautofeedback-start; \
14283 fi; \
14284 cd $(HOST_SUBDIR)/mpfr && \
14285 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14286 @endif mpfr-bootstrap
14292 .PHONY: check-mpfr maybe-check-mpfr
14293 maybe-check-mpfr:
14294 @if mpfr
14295 maybe-check-mpfr: check-mpfr
14297 check-mpfr:
14298 @: $(MAKE); $(unstage)
14299 @r=`${PWD_COMMAND}`; export r; \
14300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14301 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14302 (cd $(HOST_SUBDIR)/mpfr && \
14303 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14305 @endif mpfr
14307 .PHONY: install-mpfr maybe-install-mpfr
14308 maybe-install-mpfr:
14309 @if mpfr
14310 maybe-install-mpfr: install-mpfr
14312 install-mpfr:
14314 @endif mpfr
14316 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14317 maybe-install-strip-mpfr:
14318 @if mpfr
14319 maybe-install-strip-mpfr: install-strip-mpfr
14321 install-strip-mpfr:
14323 @endif mpfr
14325 # Other targets (info, dvi, pdf, etc.)
14327 .PHONY: maybe-info-mpfr info-mpfr
14328 maybe-info-mpfr:
14329 @if mpfr
14330 maybe-info-mpfr: info-mpfr
14332 info-mpfr: \
14333 configure-mpfr
14334 @[ -f ./mpfr/Makefile ] || exit 0; \
14335 r=`${PWD_COMMAND}`; export r; \
14336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14337 $(HOST_EXPORTS) \
14338 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14340 done; \
14341 echo "Doing info in mpfr"; \
14342 (cd $(HOST_SUBDIR)/mpfr && \
14343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14345 "RANLIB=$${RANLIB}" \
14346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14347 info) \
14348 || exit 1
14350 @endif mpfr
14352 .PHONY: maybe-dvi-mpfr dvi-mpfr
14353 maybe-dvi-mpfr:
14354 @if mpfr
14355 maybe-dvi-mpfr: dvi-mpfr
14357 dvi-mpfr: \
14358 configure-mpfr
14359 @[ -f ./mpfr/Makefile ] || exit 0; \
14360 r=`${PWD_COMMAND}`; export r; \
14361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14362 $(HOST_EXPORTS) \
14363 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14365 done; \
14366 echo "Doing dvi in mpfr"; \
14367 (cd $(HOST_SUBDIR)/mpfr && \
14368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14370 "RANLIB=$${RANLIB}" \
14371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14372 dvi) \
14373 || exit 1
14375 @endif mpfr
14377 .PHONY: maybe-pdf-mpfr pdf-mpfr
14378 maybe-pdf-mpfr:
14379 @if mpfr
14380 maybe-pdf-mpfr: pdf-mpfr
14382 pdf-mpfr: \
14383 configure-mpfr
14384 @[ -f ./mpfr/Makefile ] || exit 0; \
14385 r=`${PWD_COMMAND}`; export r; \
14386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14387 $(HOST_EXPORTS) \
14388 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14390 done; \
14391 echo "Doing pdf in mpfr"; \
14392 (cd $(HOST_SUBDIR)/mpfr && \
14393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14395 "RANLIB=$${RANLIB}" \
14396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14397 pdf) \
14398 || exit 1
14400 @endif mpfr
14402 .PHONY: maybe-html-mpfr html-mpfr
14403 maybe-html-mpfr:
14404 @if mpfr
14405 maybe-html-mpfr: html-mpfr
14407 html-mpfr: \
14408 configure-mpfr
14409 @[ -f ./mpfr/Makefile ] || exit 0; \
14410 r=`${PWD_COMMAND}`; export r; \
14411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14412 $(HOST_EXPORTS) \
14413 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14415 done; \
14416 echo "Doing html in mpfr"; \
14417 (cd $(HOST_SUBDIR)/mpfr && \
14418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14420 "RANLIB=$${RANLIB}" \
14421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14422 html) \
14423 || exit 1
14425 @endif mpfr
14427 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14428 maybe-TAGS-mpfr:
14429 @if mpfr
14430 maybe-TAGS-mpfr: TAGS-mpfr
14432 TAGS-mpfr: \
14433 configure-mpfr
14434 @[ -f ./mpfr/Makefile ] || exit 0; \
14435 r=`${PWD_COMMAND}`; export r; \
14436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14437 $(HOST_EXPORTS) \
14438 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14440 done; \
14441 echo "Doing TAGS in mpfr"; \
14442 (cd $(HOST_SUBDIR)/mpfr && \
14443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14445 "RANLIB=$${RANLIB}" \
14446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14447 TAGS) \
14448 || exit 1
14450 @endif mpfr
14452 .PHONY: maybe-install-info-mpfr install-info-mpfr
14453 maybe-install-info-mpfr:
14454 @if mpfr
14455 maybe-install-info-mpfr: install-info-mpfr
14457 install-info-mpfr: \
14458 configure-mpfr \
14459 info-mpfr
14460 @[ -f ./mpfr/Makefile ] || exit 0; \
14461 r=`${PWD_COMMAND}`; export r; \
14462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14463 $(HOST_EXPORTS) \
14464 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14466 done; \
14467 echo "Doing install-info in mpfr"; \
14468 (cd $(HOST_SUBDIR)/mpfr && \
14469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14471 "RANLIB=$${RANLIB}" \
14472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14473 install-info) \
14474 || exit 1
14476 @endif mpfr
14478 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14479 maybe-install-pdf-mpfr:
14480 @if mpfr
14481 maybe-install-pdf-mpfr: install-pdf-mpfr
14483 install-pdf-mpfr: \
14484 configure-mpfr \
14485 pdf-mpfr
14486 @[ -f ./mpfr/Makefile ] || exit 0; \
14487 r=`${PWD_COMMAND}`; export r; \
14488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14489 $(HOST_EXPORTS) \
14490 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14492 done; \
14493 echo "Doing install-pdf in mpfr"; \
14494 (cd $(HOST_SUBDIR)/mpfr && \
14495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14497 "RANLIB=$${RANLIB}" \
14498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14499 install-pdf) \
14500 || exit 1
14502 @endif mpfr
14504 .PHONY: maybe-install-html-mpfr install-html-mpfr
14505 maybe-install-html-mpfr:
14506 @if mpfr
14507 maybe-install-html-mpfr: install-html-mpfr
14509 install-html-mpfr: \
14510 configure-mpfr \
14511 html-mpfr
14512 @[ -f ./mpfr/Makefile ] || exit 0; \
14513 r=`${PWD_COMMAND}`; export r; \
14514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14515 $(HOST_EXPORTS) \
14516 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14518 done; \
14519 echo "Doing install-html in mpfr"; \
14520 (cd $(HOST_SUBDIR)/mpfr && \
14521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14523 "RANLIB=$${RANLIB}" \
14524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14525 install-html) \
14526 || exit 1
14528 @endif mpfr
14530 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14531 maybe-installcheck-mpfr:
14532 @if mpfr
14533 maybe-installcheck-mpfr: installcheck-mpfr
14535 installcheck-mpfr: \
14536 configure-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 installcheck 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 installcheck) \
14551 || exit 1
14553 @endif mpfr
14555 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14556 maybe-mostlyclean-mpfr:
14557 @if mpfr
14558 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14560 mostlyclean-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 mostlyclean 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 mostlyclean) \
14575 || exit 1
14577 @endif mpfr
14579 .PHONY: maybe-clean-mpfr clean-mpfr
14580 maybe-clean-mpfr:
14581 @if mpfr
14582 maybe-clean-mpfr: clean-mpfr
14584 clean-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 clean 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 clean) \
14599 || exit 1
14601 @endif mpfr
14603 .PHONY: maybe-distclean-mpfr distclean-mpfr
14604 maybe-distclean-mpfr:
14605 @if mpfr
14606 maybe-distclean-mpfr: distclean-mpfr
14608 distclean-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 distclean 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 distclean) \
14623 || exit 1
14625 @endif mpfr
14627 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14628 maybe-maintainer-clean-mpfr:
14629 @if mpfr
14630 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14632 maintainer-clean-mpfr:
14633 @[ -f ./mpfr/Makefile ] || exit 0; \
14634 r=`${PWD_COMMAND}`; export r; \
14635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 $(HOST_EXPORTS) \
14637 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14639 done; \
14640 echo "Doing maintainer-clean in mpfr"; \
14641 (cd $(HOST_SUBDIR)/mpfr && \
14642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14644 "RANLIB=$${RANLIB}" \
14645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14646 maintainer-clean) \
14647 || exit 1
14649 @endif mpfr
14653 .PHONY: configure-mpc maybe-configure-mpc
14654 maybe-configure-mpc:
14655 @if gcc-bootstrap
14656 configure-mpc: stage_current
14657 @endif gcc-bootstrap
14658 @if mpc
14659 maybe-configure-mpc: configure-mpc
14660 configure-mpc:
14661 @r=`${PWD_COMMAND}`; export r; \
14662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14665 $(HOST_EXPORTS) \
14666 echo Configuring in $(HOST_SUBDIR)/mpc; \
14667 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14668 case $(srcdir) in \
14669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14670 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14672 esac; \
14673 module_srcdir=mpc; \
14674 $(SHELL) \
14675 $$s/$$module_srcdir/configure \
14676 --srcdir=$${topdir}/$$module_srcdir \
14677 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14678 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14679 || exit 1
14680 @endif mpc
14684 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14685 maybe-configure-stage1-mpc:
14686 @if mpc-bootstrap
14687 maybe-configure-stage1-mpc: configure-stage1-mpc
14688 configure-stage1-mpc:
14689 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14691 @r=`${PWD_COMMAND}`; export r; \
14692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14693 TFLAGS="$(STAGE1_TFLAGS)"; \
14694 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14695 $(HOST_EXPORTS) \
14696 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14697 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14698 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14699 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14701 cd $(HOST_SUBDIR)/mpc || exit 1; \
14702 case $(srcdir) in \
14703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14704 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14706 esac; \
14707 module_srcdir=mpc; \
14708 $(SHELL) $$s/$$module_srcdir/configure \
14709 --srcdir=$${topdir}/$$module_srcdir \
14710 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14711 --target=${target_alias} \
14713 $(STAGE1_CONFIGURE_FLAGS) \
14714 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14715 @endif mpc-bootstrap
14717 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14718 maybe-configure-stage2-mpc:
14719 @if mpc-bootstrap
14720 maybe-configure-stage2-mpc: configure-stage2-mpc
14721 configure-stage2-mpc:
14722 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14724 @r=`${PWD_COMMAND}`; export r; \
14725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14726 TFLAGS="$(STAGE2_TFLAGS)"; \
14727 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14728 $(HOST_EXPORTS) \
14729 $(POSTSTAGE1_HOST_EXPORTS) \
14730 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14731 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14732 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14733 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14735 cd $(HOST_SUBDIR)/mpc || exit 1; \
14736 case $(srcdir) in \
14737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14738 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14740 esac; \
14741 module_srcdir=mpc; \
14742 $(SHELL) $$s/$$module_srcdir/configure \
14743 --srcdir=$${topdir}/$$module_srcdir \
14744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14745 --target=${target_alias} \
14746 --with-build-libsubdir=$(HOST_SUBDIR) \
14747 $(STAGE2_CONFIGURE_FLAGS) \
14748 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14749 @endif mpc-bootstrap
14751 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14752 maybe-configure-stage3-mpc:
14753 @if mpc-bootstrap
14754 maybe-configure-stage3-mpc: configure-stage3-mpc
14755 configure-stage3-mpc:
14756 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14758 @r=`${PWD_COMMAND}`; export r; \
14759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14760 TFLAGS="$(STAGE3_TFLAGS)"; \
14761 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14762 $(HOST_EXPORTS) \
14763 $(POSTSTAGE1_HOST_EXPORTS) \
14764 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14765 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14766 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14767 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14769 cd $(HOST_SUBDIR)/mpc || exit 1; \
14770 case $(srcdir) in \
14771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14772 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14774 esac; \
14775 module_srcdir=mpc; \
14776 $(SHELL) $$s/$$module_srcdir/configure \
14777 --srcdir=$${topdir}/$$module_srcdir \
14778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14779 --target=${target_alias} \
14780 --with-build-libsubdir=$(HOST_SUBDIR) \
14781 $(STAGE3_CONFIGURE_FLAGS) \
14782 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14783 @endif mpc-bootstrap
14785 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14786 maybe-configure-stage4-mpc:
14787 @if mpc-bootstrap
14788 maybe-configure-stage4-mpc: configure-stage4-mpc
14789 configure-stage4-mpc:
14790 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14792 @r=`${PWD_COMMAND}`; export r; \
14793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14794 TFLAGS="$(STAGE4_TFLAGS)"; \
14795 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14796 $(HOST_EXPORTS) \
14797 $(POSTSTAGE1_HOST_EXPORTS) \
14798 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14799 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14800 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14801 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14803 cd $(HOST_SUBDIR)/mpc || exit 1; \
14804 case $(srcdir) in \
14805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14806 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14808 esac; \
14809 module_srcdir=mpc; \
14810 $(SHELL) $$s/$$module_srcdir/configure \
14811 --srcdir=$${topdir}/$$module_srcdir \
14812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14813 --target=${target_alias} \
14814 --with-build-libsubdir=$(HOST_SUBDIR) \
14815 $(STAGE4_CONFIGURE_FLAGS) \
14816 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14817 @endif mpc-bootstrap
14819 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14820 maybe-configure-stageprofile-mpc:
14821 @if mpc-bootstrap
14822 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14823 configure-stageprofile-mpc:
14824 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14826 @r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14828 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14829 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14830 $(HOST_EXPORTS) \
14831 $(POSTSTAGE1_HOST_EXPORTS) \
14832 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14833 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14834 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14835 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14837 cd $(HOST_SUBDIR)/mpc || exit 1; \
14838 case $(srcdir) in \
14839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14840 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14842 esac; \
14843 module_srcdir=mpc; \
14844 $(SHELL) $$s/$$module_srcdir/configure \
14845 --srcdir=$${topdir}/$$module_srcdir \
14846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14847 --target=${target_alias} \
14848 --with-build-libsubdir=$(HOST_SUBDIR) \
14849 $(STAGEprofile_CONFIGURE_FLAGS) \
14850 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14851 @endif mpc-bootstrap
14853 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
14854 maybe-configure-stagetrain-mpc:
14855 @if mpc-bootstrap
14856 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
14857 configure-stagetrain-mpc:
14858 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14860 @r=`${PWD_COMMAND}`; export r; \
14861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14862 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14863 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14864 $(HOST_EXPORTS) \
14865 $(POSTSTAGE1_HOST_EXPORTS) \
14866 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14867 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14868 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14869 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
14870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14871 cd $(HOST_SUBDIR)/mpc || exit 1; \
14872 case $(srcdir) in \
14873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14874 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14876 esac; \
14877 module_srcdir=mpc; \
14878 $(SHELL) $$s/$$module_srcdir/configure \
14879 --srcdir=$${topdir}/$$module_srcdir \
14880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14881 --target=${target_alias} \
14882 --with-build-libsubdir=$(HOST_SUBDIR) \
14883 $(STAGEtrain_CONFIGURE_FLAGS) \
14884 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14885 @endif mpc-bootstrap
14887 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14888 maybe-configure-stagefeedback-mpc:
14889 @if mpc-bootstrap
14890 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14891 configure-stagefeedback-mpc:
14892 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14894 @r=`${PWD_COMMAND}`; export r; \
14895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14897 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14898 $(HOST_EXPORTS) \
14899 $(POSTSTAGE1_HOST_EXPORTS) \
14900 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14901 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14902 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14903 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14905 cd $(HOST_SUBDIR)/mpc || exit 1; \
14906 case $(srcdir) in \
14907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14908 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14910 esac; \
14911 module_srcdir=mpc; \
14912 $(SHELL) $$s/$$module_srcdir/configure \
14913 --srcdir=$${topdir}/$$module_srcdir \
14914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14915 --target=${target_alias} \
14916 --with-build-libsubdir=$(HOST_SUBDIR) \
14917 $(STAGEfeedback_CONFIGURE_FLAGS) \
14918 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14919 @endif mpc-bootstrap
14921 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14922 maybe-configure-stageautoprofile-mpc:
14923 @if mpc-bootstrap
14924 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14925 configure-stageautoprofile-mpc:
14926 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14928 @r=`${PWD_COMMAND}`; export r; \
14929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14930 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14931 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14932 $(HOST_EXPORTS) \
14933 $(POSTSTAGE1_HOST_EXPORTS) \
14934 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14935 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14936 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14937 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14939 cd $(HOST_SUBDIR)/mpc || exit 1; \
14940 case $(srcdir) in \
14941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14942 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14944 esac; \
14945 module_srcdir=mpc; \
14946 $(SHELL) $$s/$$module_srcdir/configure \
14947 --srcdir=$${topdir}/$$module_srcdir \
14948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14949 --target=${target_alias} \
14950 --with-build-libsubdir=$(HOST_SUBDIR) \
14951 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14952 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14953 @endif mpc-bootstrap
14955 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14956 maybe-configure-stageautofeedback-mpc:
14957 @if mpc-bootstrap
14958 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14959 configure-stageautofeedback-mpc:
14960 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14961 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14962 @r=`${PWD_COMMAND}`; export r; \
14963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14964 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14965 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14966 $(HOST_EXPORTS) \
14967 $(POSTSTAGE1_HOST_EXPORTS) \
14968 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14969 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14970 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14971 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14973 cd $(HOST_SUBDIR)/mpc || exit 1; \
14974 case $(srcdir) in \
14975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14976 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14978 esac; \
14979 module_srcdir=mpc; \
14980 $(SHELL) $$s/$$module_srcdir/configure \
14981 --srcdir=$${topdir}/$$module_srcdir \
14982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14983 --target=${target_alias} \
14984 --with-build-libsubdir=$(HOST_SUBDIR) \
14985 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14986 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14987 @endif mpc-bootstrap
14993 .PHONY: all-mpc maybe-all-mpc
14994 maybe-all-mpc:
14995 @if gcc-bootstrap
14996 all-mpc: stage_current
14997 @endif gcc-bootstrap
14998 @if mpc
14999 TARGET-mpc=all
15000 maybe-all-mpc: all-mpc
15001 all-mpc: configure-mpc
15002 @r=`${PWD_COMMAND}`; export r; \
15003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15004 $(HOST_EXPORTS) \
15005 (cd $(HOST_SUBDIR)/mpc && \
15006 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15007 $(TARGET-mpc))
15008 @endif mpc
15012 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15013 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15014 maybe-all-stage1-mpc:
15015 maybe-clean-stage1-mpc:
15016 @if mpc-bootstrap
15017 maybe-all-stage1-mpc: all-stage1-mpc
15018 all-stage1: all-stage1-mpc
15019 TARGET-stage1-mpc = $(TARGET-mpc)
15020 all-stage1-mpc: configure-stage1-mpc
15021 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15022 @r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15024 TFLAGS="$(STAGE1_TFLAGS)"; \
15025 $(HOST_EXPORTS) \
15026 cd $(HOST_SUBDIR)/mpc && \
15028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15029 CFLAGS="$(STAGE1_CFLAGS)" \
15030 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15031 LIBCFLAGS="$(LIBCFLAGS)" \
15032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15035 $(EXTRA_HOST_FLAGS) \
15036 $(STAGE1_FLAGS_TO_PASS) \
15037 TFLAGS="$(STAGE1_TFLAGS)" \
15038 $(TARGET-stage1-mpc)
15040 maybe-clean-stage1-mpc: clean-stage1-mpc
15041 clean-stage1: clean-stage1-mpc
15042 clean-stage1-mpc:
15043 @if [ $(current_stage) = stage1 ]; then \
15044 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15045 else \
15046 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15047 $(MAKE) stage1-start; \
15048 fi; \
15049 cd $(HOST_SUBDIR)/mpc && \
15050 $(MAKE) $(EXTRA_HOST_FLAGS) \
15051 $(STAGE1_FLAGS_TO_PASS) clean
15052 @endif mpc-bootstrap
15055 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15056 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15057 maybe-all-stage2-mpc:
15058 maybe-clean-stage2-mpc:
15059 @if mpc-bootstrap
15060 maybe-all-stage2-mpc: all-stage2-mpc
15061 all-stage2: all-stage2-mpc
15062 TARGET-stage2-mpc = $(TARGET-mpc)
15063 all-stage2-mpc: configure-stage2-mpc
15064 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15065 @r=`${PWD_COMMAND}`; export r; \
15066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15067 TFLAGS="$(STAGE2_TFLAGS)"; \
15068 $(HOST_EXPORTS) \
15069 $(POSTSTAGE1_HOST_EXPORTS) \
15070 cd $(HOST_SUBDIR)/mpc && \
15072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15073 CFLAGS="$(STAGE2_CFLAGS)" \
15074 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15075 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15080 TFLAGS="$(STAGE2_TFLAGS)" \
15081 $(TARGET-stage2-mpc)
15083 maybe-clean-stage2-mpc: clean-stage2-mpc
15084 clean-stage2: clean-stage2-mpc
15085 clean-stage2-mpc:
15086 @if [ $(current_stage) = stage2 ]; then \
15087 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15088 else \
15089 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15090 $(MAKE) stage2-start; \
15091 fi; \
15092 cd $(HOST_SUBDIR)/mpc && \
15093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15094 @endif mpc-bootstrap
15097 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15098 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15099 maybe-all-stage3-mpc:
15100 maybe-clean-stage3-mpc:
15101 @if mpc-bootstrap
15102 maybe-all-stage3-mpc: all-stage3-mpc
15103 all-stage3: all-stage3-mpc
15104 TARGET-stage3-mpc = $(TARGET-mpc)
15105 all-stage3-mpc: configure-stage3-mpc
15106 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15107 @r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15109 TFLAGS="$(STAGE3_TFLAGS)"; \
15110 $(HOST_EXPORTS) \
15111 $(POSTSTAGE1_HOST_EXPORTS) \
15112 cd $(HOST_SUBDIR)/mpc && \
15114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15115 CFLAGS="$(STAGE3_CFLAGS)" \
15116 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15117 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15122 TFLAGS="$(STAGE3_TFLAGS)" \
15123 $(TARGET-stage3-mpc)
15125 maybe-clean-stage3-mpc: clean-stage3-mpc
15126 clean-stage3: clean-stage3-mpc
15127 clean-stage3-mpc:
15128 @if [ $(current_stage) = stage3 ]; then \
15129 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15130 else \
15131 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15132 $(MAKE) stage3-start; \
15133 fi; \
15134 cd $(HOST_SUBDIR)/mpc && \
15135 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15136 @endif mpc-bootstrap
15139 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15140 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15141 maybe-all-stage4-mpc:
15142 maybe-clean-stage4-mpc:
15143 @if mpc-bootstrap
15144 maybe-all-stage4-mpc: all-stage4-mpc
15145 all-stage4: all-stage4-mpc
15146 TARGET-stage4-mpc = $(TARGET-mpc)
15147 all-stage4-mpc: configure-stage4-mpc
15148 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15149 @r=`${PWD_COMMAND}`; export r; \
15150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15151 TFLAGS="$(STAGE4_TFLAGS)"; \
15152 $(HOST_EXPORTS) \
15153 $(POSTSTAGE1_HOST_EXPORTS) \
15154 cd $(HOST_SUBDIR)/mpc && \
15156 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15157 CFLAGS="$(STAGE4_CFLAGS)" \
15158 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15159 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15160 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15161 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15162 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15163 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15164 TFLAGS="$(STAGE4_TFLAGS)" \
15165 $(TARGET-stage4-mpc)
15167 maybe-clean-stage4-mpc: clean-stage4-mpc
15168 clean-stage4: clean-stage4-mpc
15169 clean-stage4-mpc:
15170 @if [ $(current_stage) = stage4 ]; then \
15171 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15172 else \
15173 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15174 $(MAKE) stage4-start; \
15175 fi; \
15176 cd $(HOST_SUBDIR)/mpc && \
15177 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15178 @endif mpc-bootstrap
15181 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15182 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15183 maybe-all-stageprofile-mpc:
15184 maybe-clean-stageprofile-mpc:
15185 @if mpc-bootstrap
15186 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15187 all-stageprofile: all-stageprofile-mpc
15188 TARGET-stageprofile-mpc = $(TARGET-mpc)
15189 all-stageprofile-mpc: configure-stageprofile-mpc
15190 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15191 @r=`${PWD_COMMAND}`; export r; \
15192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15193 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15194 $(HOST_EXPORTS) \
15195 $(POSTSTAGE1_HOST_EXPORTS) \
15196 cd $(HOST_SUBDIR)/mpc && \
15198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15199 CFLAGS="$(STAGEprofile_CFLAGS)" \
15200 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15201 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15205 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15206 TFLAGS="$(STAGEprofile_TFLAGS)" \
15207 $(TARGET-stageprofile-mpc)
15209 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15210 clean-stageprofile: clean-stageprofile-mpc
15211 clean-stageprofile-mpc:
15212 @if [ $(current_stage) = stageprofile ]; then \
15213 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15214 else \
15215 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15216 $(MAKE) stageprofile-start; \
15217 fi; \
15218 cd $(HOST_SUBDIR)/mpc && \
15219 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15220 @endif mpc-bootstrap
15223 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15224 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15225 maybe-all-stagetrain-mpc:
15226 maybe-clean-stagetrain-mpc:
15227 @if mpc-bootstrap
15228 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15229 all-stagetrain: all-stagetrain-mpc
15230 TARGET-stagetrain-mpc = $(TARGET-mpc)
15231 all-stagetrain-mpc: configure-stagetrain-mpc
15232 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15233 @r=`${PWD_COMMAND}`; export r; \
15234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15235 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15236 $(HOST_EXPORTS) \
15237 $(POSTSTAGE1_HOST_EXPORTS) \
15238 cd $(HOST_SUBDIR)/mpc && \
15240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15241 CFLAGS="$(STAGEtrain_CFLAGS)" \
15242 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15243 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15247 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15248 TFLAGS="$(STAGEtrain_TFLAGS)" \
15249 $(TARGET-stagetrain-mpc)
15251 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15252 clean-stagetrain: clean-stagetrain-mpc
15253 clean-stagetrain-mpc:
15254 @if [ $(current_stage) = stagetrain ]; then \
15255 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15256 else \
15257 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15258 $(MAKE) stagetrain-start; \
15259 fi; \
15260 cd $(HOST_SUBDIR)/mpc && \
15261 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15262 @endif mpc-bootstrap
15265 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15266 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15267 maybe-all-stagefeedback-mpc:
15268 maybe-clean-stagefeedback-mpc:
15269 @if mpc-bootstrap
15270 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15271 all-stagefeedback: all-stagefeedback-mpc
15272 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15273 all-stagefeedback-mpc: configure-stagefeedback-mpc
15274 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15275 @r=`${PWD_COMMAND}`; export r; \
15276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15277 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15278 $(HOST_EXPORTS) \
15279 $(POSTSTAGE1_HOST_EXPORTS) \
15280 cd $(HOST_SUBDIR)/mpc && \
15282 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15283 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15284 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15285 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15289 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15290 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15291 $(TARGET-stagefeedback-mpc)
15293 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15294 clean-stagefeedback: clean-stagefeedback-mpc
15295 clean-stagefeedback-mpc:
15296 @if [ $(current_stage) = stagefeedback ]; then \
15297 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15298 else \
15299 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15300 $(MAKE) stagefeedback-start; \
15301 fi; \
15302 cd $(HOST_SUBDIR)/mpc && \
15303 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15304 @endif mpc-bootstrap
15307 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15308 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15309 maybe-all-stageautoprofile-mpc:
15310 maybe-clean-stageautoprofile-mpc:
15311 @if mpc-bootstrap
15312 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15313 all-stageautoprofile: all-stageautoprofile-mpc
15314 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15315 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15316 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15317 @r=`${PWD_COMMAND}`; export r; \
15318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15319 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15320 $(HOST_EXPORTS) \
15321 $(POSTSTAGE1_HOST_EXPORTS) \
15322 cd $(HOST_SUBDIR)/mpc && \
15323 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15324 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15325 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15326 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15327 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15328 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15329 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15330 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15331 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15332 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15333 $(TARGET-stageautoprofile-mpc)
15335 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15336 clean-stageautoprofile: clean-stageautoprofile-mpc
15337 clean-stageautoprofile-mpc:
15338 @if [ $(current_stage) = stageautoprofile ]; then \
15339 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15340 else \
15341 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15342 $(MAKE) stageautoprofile-start; \
15343 fi; \
15344 cd $(HOST_SUBDIR)/mpc && \
15345 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15346 @endif mpc-bootstrap
15349 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15350 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15351 maybe-all-stageautofeedback-mpc:
15352 maybe-clean-stageautofeedback-mpc:
15353 @if mpc-bootstrap
15354 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15355 all-stageautofeedback: all-stageautofeedback-mpc
15356 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15357 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15358 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15359 @r=`${PWD_COMMAND}`; export r; \
15360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15361 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15362 $(HOST_EXPORTS) \
15363 $(POSTSTAGE1_HOST_EXPORTS) \
15364 cd $(HOST_SUBDIR)/mpc && \
15366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15367 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15368 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15369 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15374 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15375 $(TARGET-stageautofeedback-mpc)
15377 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15378 clean-stageautofeedback: clean-stageautofeedback-mpc
15379 clean-stageautofeedback-mpc:
15380 @if [ $(current_stage) = stageautofeedback ]; then \
15381 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15382 else \
15383 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15384 $(MAKE) stageautofeedback-start; \
15385 fi; \
15386 cd $(HOST_SUBDIR)/mpc && \
15387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15388 @endif mpc-bootstrap
15394 .PHONY: check-mpc maybe-check-mpc
15395 maybe-check-mpc:
15396 @if mpc
15397 maybe-check-mpc: check-mpc
15399 check-mpc:
15400 @: $(MAKE); $(unstage)
15401 @r=`${PWD_COMMAND}`; export r; \
15402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15403 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15404 (cd $(HOST_SUBDIR)/mpc && \
15405 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15407 @endif mpc
15409 .PHONY: install-mpc maybe-install-mpc
15410 maybe-install-mpc:
15411 @if mpc
15412 maybe-install-mpc: install-mpc
15414 install-mpc:
15416 @endif mpc
15418 .PHONY: install-strip-mpc maybe-install-strip-mpc
15419 maybe-install-strip-mpc:
15420 @if mpc
15421 maybe-install-strip-mpc: install-strip-mpc
15423 install-strip-mpc:
15425 @endif mpc
15427 # Other targets (info, dvi, pdf, etc.)
15429 .PHONY: maybe-info-mpc info-mpc
15430 maybe-info-mpc:
15431 @if mpc
15432 maybe-info-mpc: info-mpc
15434 info-mpc: \
15435 configure-mpc
15436 @[ -f ./mpc/Makefile ] || exit 0; \
15437 r=`${PWD_COMMAND}`; export r; \
15438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15439 $(HOST_EXPORTS) \
15440 for flag in $(EXTRA_HOST_FLAGS) ; do \
15441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15442 done; \
15443 echo "Doing info in mpc"; \
15444 (cd $(HOST_SUBDIR)/mpc && \
15445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15447 "RANLIB=$${RANLIB}" \
15448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15449 info) \
15450 || exit 1
15452 @endif mpc
15454 .PHONY: maybe-dvi-mpc dvi-mpc
15455 maybe-dvi-mpc:
15456 @if mpc
15457 maybe-dvi-mpc: dvi-mpc
15459 dvi-mpc: \
15460 configure-mpc
15461 @[ -f ./mpc/Makefile ] || exit 0; \
15462 r=`${PWD_COMMAND}`; export r; \
15463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15464 $(HOST_EXPORTS) \
15465 for flag in $(EXTRA_HOST_FLAGS) ; do \
15466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15467 done; \
15468 echo "Doing dvi in mpc"; \
15469 (cd $(HOST_SUBDIR)/mpc && \
15470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15472 "RANLIB=$${RANLIB}" \
15473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15474 dvi) \
15475 || exit 1
15477 @endif mpc
15479 .PHONY: maybe-pdf-mpc pdf-mpc
15480 maybe-pdf-mpc:
15481 @if mpc
15482 maybe-pdf-mpc: pdf-mpc
15484 pdf-mpc: \
15485 configure-mpc
15486 @[ -f ./mpc/Makefile ] || exit 0; \
15487 r=`${PWD_COMMAND}`; export r; \
15488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15489 $(HOST_EXPORTS) \
15490 for flag in $(EXTRA_HOST_FLAGS) ; do \
15491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15492 done; \
15493 echo "Doing pdf in mpc"; \
15494 (cd $(HOST_SUBDIR)/mpc && \
15495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15497 "RANLIB=$${RANLIB}" \
15498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15499 pdf) \
15500 || exit 1
15502 @endif mpc
15504 .PHONY: maybe-html-mpc html-mpc
15505 maybe-html-mpc:
15506 @if mpc
15507 maybe-html-mpc: html-mpc
15509 html-mpc: \
15510 configure-mpc
15511 @[ -f ./mpc/Makefile ] || exit 0; \
15512 r=`${PWD_COMMAND}`; export r; \
15513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15514 $(HOST_EXPORTS) \
15515 for flag in $(EXTRA_HOST_FLAGS) ; do \
15516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15517 done; \
15518 echo "Doing html in mpc"; \
15519 (cd $(HOST_SUBDIR)/mpc && \
15520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15522 "RANLIB=$${RANLIB}" \
15523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15524 html) \
15525 || exit 1
15527 @endif mpc
15529 .PHONY: maybe-TAGS-mpc TAGS-mpc
15530 maybe-TAGS-mpc:
15531 @if mpc
15532 maybe-TAGS-mpc: TAGS-mpc
15534 TAGS-mpc: \
15535 configure-mpc
15536 @[ -f ./mpc/Makefile ] || exit 0; \
15537 r=`${PWD_COMMAND}`; export r; \
15538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15539 $(HOST_EXPORTS) \
15540 for flag in $(EXTRA_HOST_FLAGS) ; do \
15541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15542 done; \
15543 echo "Doing TAGS in mpc"; \
15544 (cd $(HOST_SUBDIR)/mpc && \
15545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15547 "RANLIB=$${RANLIB}" \
15548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15549 TAGS) \
15550 || exit 1
15552 @endif mpc
15554 .PHONY: maybe-install-info-mpc install-info-mpc
15555 maybe-install-info-mpc:
15556 @if mpc
15557 maybe-install-info-mpc: install-info-mpc
15559 install-info-mpc: \
15560 configure-mpc \
15561 info-mpc
15562 @[ -f ./mpc/Makefile ] || exit 0; \
15563 r=`${PWD_COMMAND}`; export r; \
15564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15565 $(HOST_EXPORTS) \
15566 for flag in $(EXTRA_HOST_FLAGS) ; do \
15567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15568 done; \
15569 echo "Doing install-info in mpc"; \
15570 (cd $(HOST_SUBDIR)/mpc && \
15571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15573 "RANLIB=$${RANLIB}" \
15574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15575 install-info) \
15576 || exit 1
15578 @endif mpc
15580 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15581 maybe-install-pdf-mpc:
15582 @if mpc
15583 maybe-install-pdf-mpc: install-pdf-mpc
15585 install-pdf-mpc: \
15586 configure-mpc \
15587 pdf-mpc
15588 @[ -f ./mpc/Makefile ] || exit 0; \
15589 r=`${PWD_COMMAND}`; export r; \
15590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15591 $(HOST_EXPORTS) \
15592 for flag in $(EXTRA_HOST_FLAGS) ; do \
15593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15594 done; \
15595 echo "Doing install-pdf in mpc"; \
15596 (cd $(HOST_SUBDIR)/mpc && \
15597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15599 "RANLIB=$${RANLIB}" \
15600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15601 install-pdf) \
15602 || exit 1
15604 @endif mpc
15606 .PHONY: maybe-install-html-mpc install-html-mpc
15607 maybe-install-html-mpc:
15608 @if mpc
15609 maybe-install-html-mpc: install-html-mpc
15611 install-html-mpc: \
15612 configure-mpc \
15613 html-mpc
15614 @[ -f ./mpc/Makefile ] || exit 0; \
15615 r=`${PWD_COMMAND}`; export r; \
15616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15617 $(HOST_EXPORTS) \
15618 for flag in $(EXTRA_HOST_FLAGS) ; do \
15619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15620 done; \
15621 echo "Doing install-html in mpc"; \
15622 (cd $(HOST_SUBDIR)/mpc && \
15623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15625 "RANLIB=$${RANLIB}" \
15626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15627 install-html) \
15628 || exit 1
15630 @endif mpc
15632 .PHONY: maybe-installcheck-mpc installcheck-mpc
15633 maybe-installcheck-mpc:
15634 @if mpc
15635 maybe-installcheck-mpc: installcheck-mpc
15637 installcheck-mpc: \
15638 configure-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 installcheck 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 installcheck) \
15653 || exit 1
15655 @endif mpc
15657 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15658 maybe-mostlyclean-mpc:
15659 @if mpc
15660 maybe-mostlyclean-mpc: mostlyclean-mpc
15662 mostlyclean-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 mostlyclean 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 mostlyclean) \
15677 || exit 1
15679 @endif mpc
15681 .PHONY: maybe-clean-mpc clean-mpc
15682 maybe-clean-mpc:
15683 @if mpc
15684 maybe-clean-mpc: clean-mpc
15686 clean-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 clean 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 clean) \
15701 || exit 1
15703 @endif mpc
15705 .PHONY: maybe-distclean-mpc distclean-mpc
15706 maybe-distclean-mpc:
15707 @if mpc
15708 maybe-distclean-mpc: distclean-mpc
15710 distclean-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 distclean 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 distclean) \
15725 || exit 1
15727 @endif mpc
15729 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15730 maybe-maintainer-clean-mpc:
15731 @if mpc
15732 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15734 maintainer-clean-mpc:
15735 @[ -f ./mpc/Makefile ] || exit 0; \
15736 r=`${PWD_COMMAND}`; export r; \
15737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15738 $(HOST_EXPORTS) \
15739 for flag in $(EXTRA_HOST_FLAGS) ; do \
15740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15741 done; \
15742 echo "Doing maintainer-clean in mpc"; \
15743 (cd $(HOST_SUBDIR)/mpc && \
15744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15746 "RANLIB=$${RANLIB}" \
15747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15748 maintainer-clean) \
15749 || exit 1
15751 @endif mpc
15755 .PHONY: configure-isl maybe-configure-isl
15756 maybe-configure-isl:
15757 @if gcc-bootstrap
15758 configure-isl: stage_current
15759 @endif gcc-bootstrap
15760 @if isl
15761 maybe-configure-isl: configure-isl
15762 configure-isl:
15763 @r=`${PWD_COMMAND}`; export r; \
15764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15765 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15767 $(HOST_EXPORTS) \
15768 echo Configuring in $(HOST_SUBDIR)/isl; \
15769 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15770 case $(srcdir) in \
15771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15772 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15774 esac; \
15775 module_srcdir=isl; \
15776 $(SHELL) \
15777 $$s/$$module_srcdir/configure \
15778 --srcdir=$${topdir}/$$module_srcdir \
15779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15780 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15781 || exit 1
15782 @endif isl
15786 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15787 maybe-configure-stage1-isl:
15788 @if isl-bootstrap
15789 maybe-configure-stage1-isl: configure-stage1-isl
15790 configure-stage1-isl:
15791 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15792 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15793 @r=`${PWD_COMMAND}`; export r; \
15794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15795 TFLAGS="$(STAGE1_TFLAGS)"; \
15796 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15797 $(HOST_EXPORTS) \
15798 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15799 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15800 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15801 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15803 cd $(HOST_SUBDIR)/isl || exit 1; \
15804 case $(srcdir) in \
15805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15806 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15808 esac; \
15809 module_srcdir=isl; \
15810 $(SHELL) $$s/$$module_srcdir/configure \
15811 --srcdir=$${topdir}/$$module_srcdir \
15812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15813 --target=${target_alias} \
15815 $(STAGE1_CONFIGURE_FLAGS) \
15816 --disable-shared @extra_isl_gmp_configure_flags@
15817 @endif isl-bootstrap
15819 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15820 maybe-configure-stage2-isl:
15821 @if isl-bootstrap
15822 maybe-configure-stage2-isl: configure-stage2-isl
15823 configure-stage2-isl:
15824 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15826 @r=`${PWD_COMMAND}`; export r; \
15827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15828 TFLAGS="$(STAGE2_TFLAGS)"; \
15829 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15830 $(HOST_EXPORTS) \
15831 $(POSTSTAGE1_HOST_EXPORTS) \
15832 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15833 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15834 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15835 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15837 cd $(HOST_SUBDIR)/isl || exit 1; \
15838 case $(srcdir) in \
15839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15840 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15842 esac; \
15843 module_srcdir=isl; \
15844 $(SHELL) $$s/$$module_srcdir/configure \
15845 --srcdir=$${topdir}/$$module_srcdir \
15846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15847 --target=${target_alias} \
15848 --with-build-libsubdir=$(HOST_SUBDIR) \
15849 $(STAGE2_CONFIGURE_FLAGS) \
15850 --disable-shared @extra_isl_gmp_configure_flags@
15851 @endif isl-bootstrap
15853 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15854 maybe-configure-stage3-isl:
15855 @if isl-bootstrap
15856 maybe-configure-stage3-isl: configure-stage3-isl
15857 configure-stage3-isl:
15858 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15860 @r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 TFLAGS="$(STAGE3_TFLAGS)"; \
15863 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15864 $(HOST_EXPORTS) \
15865 $(POSTSTAGE1_HOST_EXPORTS) \
15866 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15867 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15868 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15869 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15871 cd $(HOST_SUBDIR)/isl || exit 1; \
15872 case $(srcdir) in \
15873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15874 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15876 esac; \
15877 module_srcdir=isl; \
15878 $(SHELL) $$s/$$module_srcdir/configure \
15879 --srcdir=$${topdir}/$$module_srcdir \
15880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15881 --target=${target_alias} \
15882 --with-build-libsubdir=$(HOST_SUBDIR) \
15883 $(STAGE3_CONFIGURE_FLAGS) \
15884 --disable-shared @extra_isl_gmp_configure_flags@
15885 @endif isl-bootstrap
15887 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15888 maybe-configure-stage4-isl:
15889 @if isl-bootstrap
15890 maybe-configure-stage4-isl: configure-stage4-isl
15891 configure-stage4-isl:
15892 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15894 @r=`${PWD_COMMAND}`; export r; \
15895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15896 TFLAGS="$(STAGE4_TFLAGS)"; \
15897 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15898 $(HOST_EXPORTS) \
15899 $(POSTSTAGE1_HOST_EXPORTS) \
15900 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15901 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15902 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15903 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15905 cd $(HOST_SUBDIR)/isl || exit 1; \
15906 case $(srcdir) in \
15907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15908 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15910 esac; \
15911 module_srcdir=isl; \
15912 $(SHELL) $$s/$$module_srcdir/configure \
15913 --srcdir=$${topdir}/$$module_srcdir \
15914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15915 --target=${target_alias} \
15916 --with-build-libsubdir=$(HOST_SUBDIR) \
15917 $(STAGE4_CONFIGURE_FLAGS) \
15918 --disable-shared @extra_isl_gmp_configure_flags@
15919 @endif isl-bootstrap
15921 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15922 maybe-configure-stageprofile-isl:
15923 @if isl-bootstrap
15924 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15925 configure-stageprofile-isl:
15926 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15928 @r=`${PWD_COMMAND}`; export r; \
15929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15930 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15931 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15932 $(HOST_EXPORTS) \
15933 $(POSTSTAGE1_HOST_EXPORTS) \
15934 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15935 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15936 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15937 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15939 cd $(HOST_SUBDIR)/isl || exit 1; \
15940 case $(srcdir) in \
15941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15942 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15944 esac; \
15945 module_srcdir=isl; \
15946 $(SHELL) $$s/$$module_srcdir/configure \
15947 --srcdir=$${topdir}/$$module_srcdir \
15948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15949 --target=${target_alias} \
15950 --with-build-libsubdir=$(HOST_SUBDIR) \
15951 $(STAGEprofile_CONFIGURE_FLAGS) \
15952 --disable-shared @extra_isl_gmp_configure_flags@
15953 @endif isl-bootstrap
15955 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
15956 maybe-configure-stagetrain-isl:
15957 @if isl-bootstrap
15958 maybe-configure-stagetrain-isl: configure-stagetrain-isl
15959 configure-stagetrain-isl:
15960 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15961 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15962 @r=`${PWD_COMMAND}`; export r; \
15963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15964 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15965 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15966 $(HOST_EXPORTS) \
15967 $(POSTSTAGE1_HOST_EXPORTS) \
15968 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15969 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15970 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15971 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
15972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15973 cd $(HOST_SUBDIR)/isl || exit 1; \
15974 case $(srcdir) in \
15975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15976 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15978 esac; \
15979 module_srcdir=isl; \
15980 $(SHELL) $$s/$$module_srcdir/configure \
15981 --srcdir=$${topdir}/$$module_srcdir \
15982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15983 --target=${target_alias} \
15984 --with-build-libsubdir=$(HOST_SUBDIR) \
15985 $(STAGEtrain_CONFIGURE_FLAGS) \
15986 --disable-shared @extra_isl_gmp_configure_flags@
15987 @endif isl-bootstrap
15989 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
15990 maybe-configure-stagefeedback-isl:
15991 @if isl-bootstrap
15992 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
15993 configure-stagefeedback-isl:
15994 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15996 @r=`${PWD_COMMAND}`; export r; \
15997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15998 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15999 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16000 $(HOST_EXPORTS) \
16001 $(POSTSTAGE1_HOST_EXPORTS) \
16002 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16003 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16004 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16005 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16007 cd $(HOST_SUBDIR)/isl || exit 1; \
16008 case $(srcdir) in \
16009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16010 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16012 esac; \
16013 module_srcdir=isl; \
16014 $(SHELL) $$s/$$module_srcdir/configure \
16015 --srcdir=$${topdir}/$$module_srcdir \
16016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16017 --target=${target_alias} \
16018 --with-build-libsubdir=$(HOST_SUBDIR) \
16019 $(STAGEfeedback_CONFIGURE_FLAGS) \
16020 --disable-shared @extra_isl_gmp_configure_flags@
16021 @endif isl-bootstrap
16023 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16024 maybe-configure-stageautoprofile-isl:
16025 @if isl-bootstrap
16026 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16027 configure-stageautoprofile-isl:
16028 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16030 @r=`${PWD_COMMAND}`; export r; \
16031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16032 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16033 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16034 $(HOST_EXPORTS) \
16035 $(POSTSTAGE1_HOST_EXPORTS) \
16036 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16037 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16038 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16039 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16041 cd $(HOST_SUBDIR)/isl || exit 1; \
16042 case $(srcdir) in \
16043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16044 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16046 esac; \
16047 module_srcdir=isl; \
16048 $(SHELL) $$s/$$module_srcdir/configure \
16049 --srcdir=$${topdir}/$$module_srcdir \
16050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16051 --target=${target_alias} \
16052 --with-build-libsubdir=$(HOST_SUBDIR) \
16053 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16054 --disable-shared @extra_isl_gmp_configure_flags@
16055 @endif isl-bootstrap
16057 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16058 maybe-configure-stageautofeedback-isl:
16059 @if isl-bootstrap
16060 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16061 configure-stageautofeedback-isl:
16062 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16064 @r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16066 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16067 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16068 $(HOST_EXPORTS) \
16069 $(POSTSTAGE1_HOST_EXPORTS) \
16070 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16071 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16072 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16073 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16075 cd $(HOST_SUBDIR)/isl || exit 1; \
16076 case $(srcdir) in \
16077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16078 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16080 esac; \
16081 module_srcdir=isl; \
16082 $(SHELL) $$s/$$module_srcdir/configure \
16083 --srcdir=$${topdir}/$$module_srcdir \
16084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16085 --target=${target_alias} \
16086 --with-build-libsubdir=$(HOST_SUBDIR) \
16087 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16088 --disable-shared @extra_isl_gmp_configure_flags@
16089 @endif isl-bootstrap
16095 .PHONY: all-isl maybe-all-isl
16096 maybe-all-isl:
16097 @if gcc-bootstrap
16098 all-isl: stage_current
16099 @endif gcc-bootstrap
16100 @if isl
16101 TARGET-isl=all
16102 maybe-all-isl: all-isl
16103 all-isl: configure-isl
16104 @r=`${PWD_COMMAND}`; export r; \
16105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16106 $(HOST_EXPORTS) \
16107 (cd $(HOST_SUBDIR)/isl && \
16108 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16109 $(TARGET-isl))
16110 @endif isl
16114 .PHONY: all-stage1-isl maybe-all-stage1-isl
16115 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16116 maybe-all-stage1-isl:
16117 maybe-clean-stage1-isl:
16118 @if isl-bootstrap
16119 maybe-all-stage1-isl: all-stage1-isl
16120 all-stage1: all-stage1-isl
16121 TARGET-stage1-isl = $(TARGET-isl)
16122 all-stage1-isl: configure-stage1-isl
16123 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16124 @r=`${PWD_COMMAND}`; export r; \
16125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16126 TFLAGS="$(STAGE1_TFLAGS)"; \
16127 $(HOST_EXPORTS) \
16128 cd $(HOST_SUBDIR)/isl && \
16130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16131 CFLAGS="$(STAGE1_CFLAGS)" \
16132 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16133 LIBCFLAGS="$(LIBCFLAGS)" \
16134 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16135 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16136 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16137 $(EXTRA_HOST_FLAGS) \
16138 $(STAGE1_FLAGS_TO_PASS) V=1 \
16139 TFLAGS="$(STAGE1_TFLAGS)" \
16140 $(TARGET-stage1-isl)
16142 maybe-clean-stage1-isl: clean-stage1-isl
16143 clean-stage1: clean-stage1-isl
16144 clean-stage1-isl:
16145 @if [ $(current_stage) = stage1 ]; then \
16146 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16147 else \
16148 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16149 $(MAKE) stage1-start; \
16150 fi; \
16151 cd $(HOST_SUBDIR)/isl && \
16152 $(MAKE) $(EXTRA_HOST_FLAGS) \
16153 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16154 @endif isl-bootstrap
16157 .PHONY: all-stage2-isl maybe-all-stage2-isl
16158 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16159 maybe-all-stage2-isl:
16160 maybe-clean-stage2-isl:
16161 @if isl-bootstrap
16162 maybe-all-stage2-isl: all-stage2-isl
16163 all-stage2: all-stage2-isl
16164 TARGET-stage2-isl = $(TARGET-isl)
16165 all-stage2-isl: configure-stage2-isl
16166 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16167 @r=`${PWD_COMMAND}`; export r; \
16168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16169 TFLAGS="$(STAGE2_TFLAGS)"; \
16170 $(HOST_EXPORTS) \
16171 $(POSTSTAGE1_HOST_EXPORTS) \
16172 cd $(HOST_SUBDIR)/isl && \
16174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16175 CFLAGS="$(STAGE2_CFLAGS)" \
16176 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16177 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16182 TFLAGS="$(STAGE2_TFLAGS)" \
16183 $(TARGET-stage2-isl)
16185 maybe-clean-stage2-isl: clean-stage2-isl
16186 clean-stage2: clean-stage2-isl
16187 clean-stage2-isl:
16188 @if [ $(current_stage) = stage2 ]; then \
16189 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16190 else \
16191 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16192 $(MAKE) stage2-start; \
16193 fi; \
16194 cd $(HOST_SUBDIR)/isl && \
16195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16196 @endif isl-bootstrap
16199 .PHONY: all-stage3-isl maybe-all-stage3-isl
16200 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16201 maybe-all-stage3-isl:
16202 maybe-clean-stage3-isl:
16203 @if isl-bootstrap
16204 maybe-all-stage3-isl: all-stage3-isl
16205 all-stage3: all-stage3-isl
16206 TARGET-stage3-isl = $(TARGET-isl)
16207 all-stage3-isl: configure-stage3-isl
16208 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16209 @r=`${PWD_COMMAND}`; export r; \
16210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16211 TFLAGS="$(STAGE3_TFLAGS)"; \
16212 $(HOST_EXPORTS) \
16213 $(POSTSTAGE1_HOST_EXPORTS) \
16214 cd $(HOST_SUBDIR)/isl && \
16216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16217 CFLAGS="$(STAGE3_CFLAGS)" \
16218 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16219 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16223 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16224 TFLAGS="$(STAGE3_TFLAGS)" \
16225 $(TARGET-stage3-isl)
16227 maybe-clean-stage3-isl: clean-stage3-isl
16228 clean-stage3: clean-stage3-isl
16229 clean-stage3-isl:
16230 @if [ $(current_stage) = stage3 ]; then \
16231 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16232 else \
16233 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16234 $(MAKE) stage3-start; \
16235 fi; \
16236 cd $(HOST_SUBDIR)/isl && \
16237 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16238 @endif isl-bootstrap
16241 .PHONY: all-stage4-isl maybe-all-stage4-isl
16242 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16243 maybe-all-stage4-isl:
16244 maybe-clean-stage4-isl:
16245 @if isl-bootstrap
16246 maybe-all-stage4-isl: all-stage4-isl
16247 all-stage4: all-stage4-isl
16248 TARGET-stage4-isl = $(TARGET-isl)
16249 all-stage4-isl: configure-stage4-isl
16250 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16251 @r=`${PWD_COMMAND}`; export r; \
16252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16253 TFLAGS="$(STAGE4_TFLAGS)"; \
16254 $(HOST_EXPORTS) \
16255 $(POSTSTAGE1_HOST_EXPORTS) \
16256 cd $(HOST_SUBDIR)/isl && \
16258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16259 CFLAGS="$(STAGE4_CFLAGS)" \
16260 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16261 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16266 TFLAGS="$(STAGE4_TFLAGS)" \
16267 $(TARGET-stage4-isl)
16269 maybe-clean-stage4-isl: clean-stage4-isl
16270 clean-stage4: clean-stage4-isl
16271 clean-stage4-isl:
16272 @if [ $(current_stage) = stage4 ]; then \
16273 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16274 else \
16275 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16276 $(MAKE) stage4-start; \
16277 fi; \
16278 cd $(HOST_SUBDIR)/isl && \
16279 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16280 @endif isl-bootstrap
16283 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16284 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16285 maybe-all-stageprofile-isl:
16286 maybe-clean-stageprofile-isl:
16287 @if isl-bootstrap
16288 maybe-all-stageprofile-isl: all-stageprofile-isl
16289 all-stageprofile: all-stageprofile-isl
16290 TARGET-stageprofile-isl = $(TARGET-isl)
16291 all-stageprofile-isl: configure-stageprofile-isl
16292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16293 @r=`${PWD_COMMAND}`; export r; \
16294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16295 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16296 $(HOST_EXPORTS) \
16297 $(POSTSTAGE1_HOST_EXPORTS) \
16298 cd $(HOST_SUBDIR)/isl && \
16300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16301 CFLAGS="$(STAGEprofile_CFLAGS)" \
16302 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16303 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16308 TFLAGS="$(STAGEprofile_TFLAGS)" \
16309 $(TARGET-stageprofile-isl)
16311 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16312 clean-stageprofile: clean-stageprofile-isl
16313 clean-stageprofile-isl:
16314 @if [ $(current_stage) = stageprofile ]; then \
16315 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16316 else \
16317 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16318 $(MAKE) stageprofile-start; \
16319 fi; \
16320 cd $(HOST_SUBDIR)/isl && \
16321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16322 @endif isl-bootstrap
16325 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16326 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16327 maybe-all-stagetrain-isl:
16328 maybe-clean-stagetrain-isl:
16329 @if isl-bootstrap
16330 maybe-all-stagetrain-isl: all-stagetrain-isl
16331 all-stagetrain: all-stagetrain-isl
16332 TARGET-stagetrain-isl = $(TARGET-isl)
16333 all-stagetrain-isl: configure-stagetrain-isl
16334 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16335 @r=`${PWD_COMMAND}`; export r; \
16336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16337 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16338 $(HOST_EXPORTS) \
16339 $(POSTSTAGE1_HOST_EXPORTS) \
16340 cd $(HOST_SUBDIR)/isl && \
16342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16343 CFLAGS="$(STAGEtrain_CFLAGS)" \
16344 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16345 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16350 TFLAGS="$(STAGEtrain_TFLAGS)" \
16351 $(TARGET-stagetrain-isl)
16353 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16354 clean-stagetrain: clean-stagetrain-isl
16355 clean-stagetrain-isl:
16356 @if [ $(current_stage) = stagetrain ]; then \
16357 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16358 else \
16359 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16360 $(MAKE) stagetrain-start; \
16361 fi; \
16362 cd $(HOST_SUBDIR)/isl && \
16363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16364 @endif isl-bootstrap
16367 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16368 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16369 maybe-all-stagefeedback-isl:
16370 maybe-clean-stagefeedback-isl:
16371 @if isl-bootstrap
16372 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16373 all-stagefeedback: all-stagefeedback-isl
16374 TARGET-stagefeedback-isl = $(TARGET-isl)
16375 all-stagefeedback-isl: configure-stagefeedback-isl
16376 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16377 @r=`${PWD_COMMAND}`; export r; \
16378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16380 $(HOST_EXPORTS) \
16381 $(POSTSTAGE1_HOST_EXPORTS) \
16382 cd $(HOST_SUBDIR)/isl && \
16384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16385 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16386 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16387 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16392 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16393 $(TARGET-stagefeedback-isl)
16395 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16396 clean-stagefeedback: clean-stagefeedback-isl
16397 clean-stagefeedback-isl:
16398 @if [ $(current_stage) = stagefeedback ]; then \
16399 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16400 else \
16401 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16402 $(MAKE) stagefeedback-start; \
16403 fi; \
16404 cd $(HOST_SUBDIR)/isl && \
16405 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16406 @endif isl-bootstrap
16409 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16410 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16411 maybe-all-stageautoprofile-isl:
16412 maybe-clean-stageautoprofile-isl:
16413 @if isl-bootstrap
16414 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16415 all-stageautoprofile: all-stageautoprofile-isl
16416 TARGET-stageautoprofile-isl = $(TARGET-isl)
16417 all-stageautoprofile-isl: configure-stageautoprofile-isl
16418 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16419 @r=`${PWD_COMMAND}`; export r; \
16420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16421 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16422 $(HOST_EXPORTS) \
16423 $(POSTSTAGE1_HOST_EXPORTS) \
16424 cd $(HOST_SUBDIR)/isl && \
16425 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16427 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16428 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16429 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16434 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16435 $(TARGET-stageautoprofile-isl)
16437 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16438 clean-stageautoprofile: clean-stageautoprofile-isl
16439 clean-stageautoprofile-isl:
16440 @if [ $(current_stage) = stageautoprofile ]; then \
16441 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16442 else \
16443 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16444 $(MAKE) stageautoprofile-start; \
16445 fi; \
16446 cd $(HOST_SUBDIR)/isl && \
16447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16448 @endif isl-bootstrap
16451 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16452 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16453 maybe-all-stageautofeedback-isl:
16454 maybe-clean-stageautofeedback-isl:
16455 @if isl-bootstrap
16456 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16457 all-stageautofeedback: all-stageautofeedback-isl
16458 TARGET-stageautofeedback-isl = $(TARGET-isl)
16459 all-stageautofeedback-isl: configure-stageautofeedback-isl
16460 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16461 @r=`${PWD_COMMAND}`; export r; \
16462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16463 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16464 $(HOST_EXPORTS) \
16465 $(POSTSTAGE1_HOST_EXPORTS) \
16466 cd $(HOST_SUBDIR)/isl && \
16468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16469 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16470 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16471 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16476 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16477 $(TARGET-stageautofeedback-isl)
16479 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16480 clean-stageautofeedback: clean-stageautofeedback-isl
16481 clean-stageautofeedback-isl:
16482 @if [ $(current_stage) = stageautofeedback ]; then \
16483 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16484 else \
16485 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16486 $(MAKE) stageautofeedback-start; \
16487 fi; \
16488 cd $(HOST_SUBDIR)/isl && \
16489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16490 @endif isl-bootstrap
16496 .PHONY: check-isl maybe-check-isl
16497 maybe-check-isl:
16498 @if isl
16499 maybe-check-isl: check-isl
16501 check-isl:
16502 @: $(MAKE); $(unstage)
16503 @r=`${PWD_COMMAND}`; export r; \
16504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16505 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16506 (cd $(HOST_SUBDIR)/isl && \
16507 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16509 @endif isl
16511 .PHONY: install-isl maybe-install-isl
16512 maybe-install-isl:
16513 @if isl
16514 maybe-install-isl: install-isl
16516 install-isl:
16518 @endif isl
16520 .PHONY: install-strip-isl maybe-install-strip-isl
16521 maybe-install-strip-isl:
16522 @if isl
16523 maybe-install-strip-isl: install-strip-isl
16525 install-strip-isl:
16527 @endif isl
16529 # Other targets (info, dvi, pdf, etc.)
16531 .PHONY: maybe-info-isl info-isl
16532 maybe-info-isl:
16533 @if isl
16534 maybe-info-isl: info-isl
16536 info-isl: \
16537 configure-isl
16538 @[ -f ./isl/Makefile ] || exit 0; \
16539 r=`${PWD_COMMAND}`; export r; \
16540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16541 $(HOST_EXPORTS) \
16542 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16544 done; \
16545 echo "Doing info in isl"; \
16546 (cd $(HOST_SUBDIR)/isl && \
16547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16549 "RANLIB=$${RANLIB}" \
16550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16551 info) \
16552 || exit 1
16554 @endif isl
16556 .PHONY: maybe-dvi-isl dvi-isl
16557 maybe-dvi-isl:
16558 @if isl
16559 maybe-dvi-isl: dvi-isl
16561 dvi-isl: \
16562 configure-isl
16563 @[ -f ./isl/Makefile ] || exit 0; \
16564 r=`${PWD_COMMAND}`; export r; \
16565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16566 $(HOST_EXPORTS) \
16567 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16569 done; \
16570 echo "Doing dvi in isl"; \
16571 (cd $(HOST_SUBDIR)/isl && \
16572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16574 "RANLIB=$${RANLIB}" \
16575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16576 dvi) \
16577 || exit 1
16579 @endif isl
16581 .PHONY: maybe-pdf-isl pdf-isl
16582 maybe-pdf-isl:
16583 @if isl
16584 maybe-pdf-isl: pdf-isl
16586 pdf-isl: \
16587 configure-isl
16588 @[ -f ./isl/Makefile ] || exit 0; \
16589 r=`${PWD_COMMAND}`; export r; \
16590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16591 $(HOST_EXPORTS) \
16592 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16594 done; \
16595 echo "Doing pdf in isl"; \
16596 (cd $(HOST_SUBDIR)/isl && \
16597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16599 "RANLIB=$${RANLIB}" \
16600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16601 pdf) \
16602 || exit 1
16604 @endif isl
16606 .PHONY: maybe-html-isl html-isl
16607 maybe-html-isl:
16608 @if isl
16609 maybe-html-isl: html-isl
16611 html-isl: \
16612 configure-isl
16613 @[ -f ./isl/Makefile ] || exit 0; \
16614 r=`${PWD_COMMAND}`; export r; \
16615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16616 $(HOST_EXPORTS) \
16617 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16619 done; \
16620 echo "Doing html in isl"; \
16621 (cd $(HOST_SUBDIR)/isl && \
16622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16624 "RANLIB=$${RANLIB}" \
16625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16626 html) \
16627 || exit 1
16629 @endif isl
16631 .PHONY: maybe-TAGS-isl TAGS-isl
16632 maybe-TAGS-isl:
16633 @if isl
16634 maybe-TAGS-isl: TAGS-isl
16636 TAGS-isl: \
16637 configure-isl
16638 @[ -f ./isl/Makefile ] || exit 0; \
16639 r=`${PWD_COMMAND}`; export r; \
16640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16641 $(HOST_EXPORTS) \
16642 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16644 done; \
16645 echo "Doing TAGS in isl"; \
16646 (cd $(HOST_SUBDIR)/isl && \
16647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16649 "RANLIB=$${RANLIB}" \
16650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16651 TAGS) \
16652 || exit 1
16654 @endif isl
16656 .PHONY: maybe-install-info-isl install-info-isl
16657 maybe-install-info-isl:
16658 @if isl
16659 maybe-install-info-isl: install-info-isl
16661 install-info-isl: \
16662 configure-isl \
16663 info-isl
16664 @[ -f ./isl/Makefile ] || exit 0; \
16665 r=`${PWD_COMMAND}`; export r; \
16666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16667 $(HOST_EXPORTS) \
16668 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16670 done; \
16671 echo "Doing install-info in isl"; \
16672 (cd $(HOST_SUBDIR)/isl && \
16673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16675 "RANLIB=$${RANLIB}" \
16676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16677 install-info) \
16678 || exit 1
16680 @endif isl
16682 .PHONY: maybe-install-pdf-isl install-pdf-isl
16683 maybe-install-pdf-isl:
16684 @if isl
16685 maybe-install-pdf-isl: install-pdf-isl
16687 install-pdf-isl: \
16688 configure-isl \
16689 pdf-isl
16690 @[ -f ./isl/Makefile ] || exit 0; \
16691 r=`${PWD_COMMAND}`; export r; \
16692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16693 $(HOST_EXPORTS) \
16694 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16696 done; \
16697 echo "Doing install-pdf in isl"; \
16698 (cd $(HOST_SUBDIR)/isl && \
16699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16701 "RANLIB=$${RANLIB}" \
16702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16703 install-pdf) \
16704 || exit 1
16706 @endif isl
16708 .PHONY: maybe-install-html-isl install-html-isl
16709 maybe-install-html-isl:
16710 @if isl
16711 maybe-install-html-isl: install-html-isl
16713 install-html-isl: \
16714 configure-isl \
16715 html-isl
16716 @[ -f ./isl/Makefile ] || exit 0; \
16717 r=`${PWD_COMMAND}`; export r; \
16718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16719 $(HOST_EXPORTS) \
16720 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16722 done; \
16723 echo "Doing install-html in isl"; \
16724 (cd $(HOST_SUBDIR)/isl && \
16725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16727 "RANLIB=$${RANLIB}" \
16728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16729 install-html) \
16730 || exit 1
16732 @endif isl
16734 .PHONY: maybe-installcheck-isl installcheck-isl
16735 maybe-installcheck-isl:
16736 @if isl
16737 maybe-installcheck-isl: installcheck-isl
16739 installcheck-isl: \
16740 configure-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 installcheck 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 installcheck) \
16755 || exit 1
16757 @endif isl
16759 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16760 maybe-mostlyclean-isl:
16761 @if isl
16762 maybe-mostlyclean-isl: mostlyclean-isl
16764 mostlyclean-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 mostlyclean 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 mostlyclean) \
16779 || exit 1
16781 @endif isl
16783 .PHONY: maybe-clean-isl clean-isl
16784 maybe-clean-isl:
16785 @if isl
16786 maybe-clean-isl: clean-isl
16788 clean-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 clean 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 clean) \
16803 || exit 1
16805 @endif isl
16807 .PHONY: maybe-distclean-isl distclean-isl
16808 maybe-distclean-isl:
16809 @if isl
16810 maybe-distclean-isl: distclean-isl
16812 distclean-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 distclean 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 distclean) \
16827 || exit 1
16829 @endif isl
16831 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16832 maybe-maintainer-clean-isl:
16833 @if isl
16834 maybe-maintainer-clean-isl: maintainer-clean-isl
16836 maintainer-clean-isl:
16837 @[ -f ./isl/Makefile ] || exit 0; \
16838 r=`${PWD_COMMAND}`; export r; \
16839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16840 $(HOST_EXPORTS) \
16841 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16843 done; \
16844 echo "Doing maintainer-clean in isl"; \
16845 (cd $(HOST_SUBDIR)/isl && \
16846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16848 "RANLIB=$${RANLIB}" \
16849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16850 maintainer-clean) \
16851 || exit 1
16853 @endif isl
16857 .PHONY: configure-libelf maybe-configure-libelf
16858 maybe-configure-libelf:
16859 @if gcc-bootstrap
16860 configure-libelf: stage_current
16861 @endif gcc-bootstrap
16862 @if libelf
16863 maybe-configure-libelf: configure-libelf
16864 configure-libelf:
16865 @r=`${PWD_COMMAND}`; export r; \
16866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16867 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16869 $(HOST_EXPORTS) \
16870 echo Configuring in $(HOST_SUBDIR)/libelf; \
16871 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16872 case $(srcdir) in \
16873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16874 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16876 esac; \
16877 module_srcdir=libelf; \
16878 $(SHELL) \
16879 $$s/$$module_srcdir/configure \
16880 --srcdir=$${topdir}/$$module_srcdir \
16881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16882 --target=${target_alias} --disable-shared \
16883 || exit 1
16884 @endif libelf
16888 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16889 maybe-configure-stage1-libelf:
16890 @if libelf-bootstrap
16891 maybe-configure-stage1-libelf: configure-stage1-libelf
16892 configure-stage1-libelf:
16893 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16895 @r=`${PWD_COMMAND}`; export r; \
16896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16897 TFLAGS="$(STAGE1_TFLAGS)"; \
16898 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16899 $(HOST_EXPORTS) \
16900 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16901 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16902 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16903 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16905 cd $(HOST_SUBDIR)/libelf || exit 1; \
16906 case $(srcdir) in \
16907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16908 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16910 esac; \
16911 module_srcdir=libelf; \
16912 $(SHELL) $$s/$$module_srcdir/configure \
16913 --srcdir=$${topdir}/$$module_srcdir \
16914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16915 --target=${target_alias} \
16917 $(STAGE1_CONFIGURE_FLAGS) \
16918 --disable-shared
16919 @endif libelf-bootstrap
16921 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16922 maybe-configure-stage2-libelf:
16923 @if libelf-bootstrap
16924 maybe-configure-stage2-libelf: configure-stage2-libelf
16925 configure-stage2-libelf:
16926 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16928 @r=`${PWD_COMMAND}`; export r; \
16929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16930 TFLAGS="$(STAGE2_TFLAGS)"; \
16931 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16932 $(HOST_EXPORTS) \
16933 $(POSTSTAGE1_HOST_EXPORTS) \
16934 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16935 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16936 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16937 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16939 cd $(HOST_SUBDIR)/libelf || exit 1; \
16940 case $(srcdir) in \
16941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16942 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16944 esac; \
16945 module_srcdir=libelf; \
16946 $(SHELL) $$s/$$module_srcdir/configure \
16947 --srcdir=$${topdir}/$$module_srcdir \
16948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16949 --target=${target_alias} \
16950 --with-build-libsubdir=$(HOST_SUBDIR) \
16951 $(STAGE2_CONFIGURE_FLAGS) \
16952 --disable-shared
16953 @endif libelf-bootstrap
16955 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16956 maybe-configure-stage3-libelf:
16957 @if libelf-bootstrap
16958 maybe-configure-stage3-libelf: configure-stage3-libelf
16959 configure-stage3-libelf:
16960 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16961 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16962 @r=`${PWD_COMMAND}`; export r; \
16963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16964 TFLAGS="$(STAGE3_TFLAGS)"; \
16965 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16966 $(HOST_EXPORTS) \
16967 $(POSTSTAGE1_HOST_EXPORTS) \
16968 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16969 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16970 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16971 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
16972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16973 cd $(HOST_SUBDIR)/libelf || exit 1; \
16974 case $(srcdir) in \
16975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16976 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16978 esac; \
16979 module_srcdir=libelf; \
16980 $(SHELL) $$s/$$module_srcdir/configure \
16981 --srcdir=$${topdir}/$$module_srcdir \
16982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16983 --target=${target_alias} \
16984 --with-build-libsubdir=$(HOST_SUBDIR) \
16985 $(STAGE3_CONFIGURE_FLAGS) \
16986 --disable-shared
16987 @endif libelf-bootstrap
16989 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
16990 maybe-configure-stage4-libelf:
16991 @if libelf-bootstrap
16992 maybe-configure-stage4-libelf: configure-stage4-libelf
16993 configure-stage4-libelf:
16994 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16996 @r=`${PWD_COMMAND}`; export r; \
16997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16998 TFLAGS="$(STAGE4_TFLAGS)"; \
16999 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17000 $(HOST_EXPORTS) \
17001 $(POSTSTAGE1_HOST_EXPORTS) \
17002 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17003 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17004 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17005 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17007 cd $(HOST_SUBDIR)/libelf || exit 1; \
17008 case $(srcdir) in \
17009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17010 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17012 esac; \
17013 module_srcdir=libelf; \
17014 $(SHELL) $$s/$$module_srcdir/configure \
17015 --srcdir=$${topdir}/$$module_srcdir \
17016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17017 --target=${target_alias} \
17018 --with-build-libsubdir=$(HOST_SUBDIR) \
17019 $(STAGE4_CONFIGURE_FLAGS) \
17020 --disable-shared
17021 @endif libelf-bootstrap
17023 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17024 maybe-configure-stageprofile-libelf:
17025 @if libelf-bootstrap
17026 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17027 configure-stageprofile-libelf:
17028 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17030 @r=`${PWD_COMMAND}`; export r; \
17031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17032 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17033 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17034 $(HOST_EXPORTS) \
17035 $(POSTSTAGE1_HOST_EXPORTS) \
17036 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17037 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17038 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17039 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17041 cd $(HOST_SUBDIR)/libelf || exit 1; \
17042 case $(srcdir) in \
17043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17044 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17046 esac; \
17047 module_srcdir=libelf; \
17048 $(SHELL) $$s/$$module_srcdir/configure \
17049 --srcdir=$${topdir}/$$module_srcdir \
17050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17051 --target=${target_alias} \
17052 --with-build-libsubdir=$(HOST_SUBDIR) \
17053 $(STAGEprofile_CONFIGURE_FLAGS) \
17054 --disable-shared
17055 @endif libelf-bootstrap
17057 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17058 maybe-configure-stagetrain-libelf:
17059 @if libelf-bootstrap
17060 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17061 configure-stagetrain-libelf:
17062 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17064 @r=`${PWD_COMMAND}`; export r; \
17065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17066 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17067 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17068 $(HOST_EXPORTS) \
17069 $(POSTSTAGE1_HOST_EXPORTS) \
17070 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17071 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17072 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17073 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17075 cd $(HOST_SUBDIR)/libelf || exit 1; \
17076 case $(srcdir) in \
17077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17078 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17080 esac; \
17081 module_srcdir=libelf; \
17082 $(SHELL) $$s/$$module_srcdir/configure \
17083 --srcdir=$${topdir}/$$module_srcdir \
17084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17085 --target=${target_alias} \
17086 --with-build-libsubdir=$(HOST_SUBDIR) \
17087 $(STAGEtrain_CONFIGURE_FLAGS) \
17088 --disable-shared
17089 @endif libelf-bootstrap
17091 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17092 maybe-configure-stagefeedback-libelf:
17093 @if libelf-bootstrap
17094 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17095 configure-stagefeedback-libelf:
17096 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17098 @r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17101 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17102 $(HOST_EXPORTS) \
17103 $(POSTSTAGE1_HOST_EXPORTS) \
17104 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17105 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17106 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17107 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17109 cd $(HOST_SUBDIR)/libelf || exit 1; \
17110 case $(srcdir) in \
17111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17112 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17114 esac; \
17115 module_srcdir=libelf; \
17116 $(SHELL) $$s/$$module_srcdir/configure \
17117 --srcdir=$${topdir}/$$module_srcdir \
17118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17119 --target=${target_alias} \
17120 --with-build-libsubdir=$(HOST_SUBDIR) \
17121 $(STAGEfeedback_CONFIGURE_FLAGS) \
17122 --disable-shared
17123 @endif libelf-bootstrap
17125 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17126 maybe-configure-stageautoprofile-libelf:
17127 @if libelf-bootstrap
17128 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17129 configure-stageautoprofile-libelf:
17130 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17132 @r=`${PWD_COMMAND}`; export r; \
17133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17134 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17135 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17136 $(HOST_EXPORTS) \
17137 $(POSTSTAGE1_HOST_EXPORTS) \
17138 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17139 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17140 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17141 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17143 cd $(HOST_SUBDIR)/libelf || exit 1; \
17144 case $(srcdir) in \
17145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17146 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17148 esac; \
17149 module_srcdir=libelf; \
17150 $(SHELL) $$s/$$module_srcdir/configure \
17151 --srcdir=$${topdir}/$$module_srcdir \
17152 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17153 --target=${target_alias} \
17154 --with-build-libsubdir=$(HOST_SUBDIR) \
17155 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17156 --disable-shared
17157 @endif libelf-bootstrap
17159 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17160 maybe-configure-stageautofeedback-libelf:
17161 @if libelf-bootstrap
17162 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17163 configure-stageautofeedback-libelf:
17164 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17166 @r=`${PWD_COMMAND}`; export r; \
17167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17168 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17169 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17170 $(HOST_EXPORTS) \
17171 $(POSTSTAGE1_HOST_EXPORTS) \
17172 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17173 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17174 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17175 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17177 cd $(HOST_SUBDIR)/libelf || exit 1; \
17178 case $(srcdir) in \
17179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17180 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17182 esac; \
17183 module_srcdir=libelf; \
17184 $(SHELL) $$s/$$module_srcdir/configure \
17185 --srcdir=$${topdir}/$$module_srcdir \
17186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17187 --target=${target_alias} \
17188 --with-build-libsubdir=$(HOST_SUBDIR) \
17189 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17190 --disable-shared
17191 @endif libelf-bootstrap
17197 .PHONY: all-libelf maybe-all-libelf
17198 maybe-all-libelf:
17199 @if gcc-bootstrap
17200 all-libelf: stage_current
17201 @endif gcc-bootstrap
17202 @if libelf
17203 TARGET-libelf=all
17204 maybe-all-libelf: all-libelf
17205 all-libelf: configure-libelf
17206 @r=`${PWD_COMMAND}`; export r; \
17207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17208 $(HOST_EXPORTS) \
17209 (cd $(HOST_SUBDIR)/libelf && \
17210 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17211 $(TARGET-libelf))
17212 @endif libelf
17216 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17217 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17218 maybe-all-stage1-libelf:
17219 maybe-clean-stage1-libelf:
17220 @if libelf-bootstrap
17221 maybe-all-stage1-libelf: all-stage1-libelf
17222 all-stage1: all-stage1-libelf
17223 TARGET-stage1-libelf = $(TARGET-libelf)
17224 all-stage1-libelf: configure-stage1-libelf
17225 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17226 @r=`${PWD_COMMAND}`; export r; \
17227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17228 TFLAGS="$(STAGE1_TFLAGS)"; \
17229 $(HOST_EXPORTS) \
17230 cd $(HOST_SUBDIR)/libelf && \
17232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17233 CFLAGS="$(STAGE1_CFLAGS)" \
17234 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17235 LIBCFLAGS="$(LIBCFLAGS)" \
17236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17239 $(EXTRA_HOST_FLAGS) \
17240 $(STAGE1_FLAGS_TO_PASS) \
17241 TFLAGS="$(STAGE1_TFLAGS)" \
17242 $(TARGET-stage1-libelf)
17244 maybe-clean-stage1-libelf: clean-stage1-libelf
17245 clean-stage1: clean-stage1-libelf
17246 clean-stage1-libelf:
17247 @if [ $(current_stage) = stage1 ]; then \
17248 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17249 else \
17250 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17251 $(MAKE) stage1-start; \
17252 fi; \
17253 cd $(HOST_SUBDIR)/libelf && \
17254 $(MAKE) $(EXTRA_HOST_FLAGS) \
17255 $(STAGE1_FLAGS_TO_PASS) clean
17256 @endif libelf-bootstrap
17259 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17260 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17261 maybe-all-stage2-libelf:
17262 maybe-clean-stage2-libelf:
17263 @if libelf-bootstrap
17264 maybe-all-stage2-libelf: all-stage2-libelf
17265 all-stage2: all-stage2-libelf
17266 TARGET-stage2-libelf = $(TARGET-libelf)
17267 all-stage2-libelf: configure-stage2-libelf
17268 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17269 @r=`${PWD_COMMAND}`; export r; \
17270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17271 TFLAGS="$(STAGE2_TFLAGS)"; \
17272 $(HOST_EXPORTS) \
17273 $(POSTSTAGE1_HOST_EXPORTS) \
17274 cd $(HOST_SUBDIR)/libelf && \
17276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17277 CFLAGS="$(STAGE2_CFLAGS)" \
17278 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17279 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17284 TFLAGS="$(STAGE2_TFLAGS)" \
17285 $(TARGET-stage2-libelf)
17287 maybe-clean-stage2-libelf: clean-stage2-libelf
17288 clean-stage2: clean-stage2-libelf
17289 clean-stage2-libelf:
17290 @if [ $(current_stage) = stage2 ]; then \
17291 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17292 else \
17293 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17294 $(MAKE) stage2-start; \
17295 fi; \
17296 cd $(HOST_SUBDIR)/libelf && \
17297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17298 @endif libelf-bootstrap
17301 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17302 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17303 maybe-all-stage3-libelf:
17304 maybe-clean-stage3-libelf:
17305 @if libelf-bootstrap
17306 maybe-all-stage3-libelf: all-stage3-libelf
17307 all-stage3: all-stage3-libelf
17308 TARGET-stage3-libelf = $(TARGET-libelf)
17309 all-stage3-libelf: configure-stage3-libelf
17310 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17311 @r=`${PWD_COMMAND}`; export r; \
17312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17313 TFLAGS="$(STAGE3_TFLAGS)"; \
17314 $(HOST_EXPORTS) \
17315 $(POSTSTAGE1_HOST_EXPORTS) \
17316 cd $(HOST_SUBDIR)/libelf && \
17318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17319 CFLAGS="$(STAGE3_CFLAGS)" \
17320 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17321 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17326 TFLAGS="$(STAGE3_TFLAGS)" \
17327 $(TARGET-stage3-libelf)
17329 maybe-clean-stage3-libelf: clean-stage3-libelf
17330 clean-stage3: clean-stage3-libelf
17331 clean-stage3-libelf:
17332 @if [ $(current_stage) = stage3 ]; then \
17333 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17334 else \
17335 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17336 $(MAKE) stage3-start; \
17337 fi; \
17338 cd $(HOST_SUBDIR)/libelf && \
17339 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17340 @endif libelf-bootstrap
17343 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17344 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17345 maybe-all-stage4-libelf:
17346 maybe-clean-stage4-libelf:
17347 @if libelf-bootstrap
17348 maybe-all-stage4-libelf: all-stage4-libelf
17349 all-stage4: all-stage4-libelf
17350 TARGET-stage4-libelf = $(TARGET-libelf)
17351 all-stage4-libelf: configure-stage4-libelf
17352 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17353 @r=`${PWD_COMMAND}`; export r; \
17354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17355 TFLAGS="$(STAGE4_TFLAGS)"; \
17356 $(HOST_EXPORTS) \
17357 $(POSTSTAGE1_HOST_EXPORTS) \
17358 cd $(HOST_SUBDIR)/libelf && \
17360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17361 CFLAGS="$(STAGE4_CFLAGS)" \
17362 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17363 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17364 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17365 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17366 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17367 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17368 TFLAGS="$(STAGE4_TFLAGS)" \
17369 $(TARGET-stage4-libelf)
17371 maybe-clean-stage4-libelf: clean-stage4-libelf
17372 clean-stage4: clean-stage4-libelf
17373 clean-stage4-libelf:
17374 @if [ $(current_stage) = stage4 ]; then \
17375 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17376 else \
17377 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17378 $(MAKE) stage4-start; \
17379 fi; \
17380 cd $(HOST_SUBDIR)/libelf && \
17381 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17382 @endif libelf-bootstrap
17385 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17386 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17387 maybe-all-stageprofile-libelf:
17388 maybe-clean-stageprofile-libelf:
17389 @if libelf-bootstrap
17390 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17391 all-stageprofile: all-stageprofile-libelf
17392 TARGET-stageprofile-libelf = $(TARGET-libelf)
17393 all-stageprofile-libelf: configure-stageprofile-libelf
17394 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17395 @r=`${PWD_COMMAND}`; export r; \
17396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17397 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17398 $(HOST_EXPORTS) \
17399 $(POSTSTAGE1_HOST_EXPORTS) \
17400 cd $(HOST_SUBDIR)/libelf && \
17402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17403 CFLAGS="$(STAGEprofile_CFLAGS)" \
17404 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17405 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17410 TFLAGS="$(STAGEprofile_TFLAGS)" \
17411 $(TARGET-stageprofile-libelf)
17413 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17414 clean-stageprofile: clean-stageprofile-libelf
17415 clean-stageprofile-libelf:
17416 @if [ $(current_stage) = stageprofile ]; then \
17417 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17418 else \
17419 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17420 $(MAKE) stageprofile-start; \
17421 fi; \
17422 cd $(HOST_SUBDIR)/libelf && \
17423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17424 @endif libelf-bootstrap
17427 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17428 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17429 maybe-all-stagetrain-libelf:
17430 maybe-clean-stagetrain-libelf:
17431 @if libelf-bootstrap
17432 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17433 all-stagetrain: all-stagetrain-libelf
17434 TARGET-stagetrain-libelf = $(TARGET-libelf)
17435 all-stagetrain-libelf: configure-stagetrain-libelf
17436 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17437 @r=`${PWD_COMMAND}`; export r; \
17438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17439 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17440 $(HOST_EXPORTS) \
17441 $(POSTSTAGE1_HOST_EXPORTS) \
17442 cd $(HOST_SUBDIR)/libelf && \
17444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17445 CFLAGS="$(STAGEtrain_CFLAGS)" \
17446 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17447 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17448 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17449 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17450 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17451 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17452 TFLAGS="$(STAGEtrain_TFLAGS)" \
17453 $(TARGET-stagetrain-libelf)
17455 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17456 clean-stagetrain: clean-stagetrain-libelf
17457 clean-stagetrain-libelf:
17458 @if [ $(current_stage) = stagetrain ]; then \
17459 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17460 else \
17461 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17462 $(MAKE) stagetrain-start; \
17463 fi; \
17464 cd $(HOST_SUBDIR)/libelf && \
17465 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17466 @endif libelf-bootstrap
17469 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17470 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17471 maybe-all-stagefeedback-libelf:
17472 maybe-clean-stagefeedback-libelf:
17473 @if libelf-bootstrap
17474 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17475 all-stagefeedback: all-stagefeedback-libelf
17476 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17477 all-stagefeedback-libelf: configure-stagefeedback-libelf
17478 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17479 @r=`${PWD_COMMAND}`; export r; \
17480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17481 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17482 $(HOST_EXPORTS) \
17483 $(POSTSTAGE1_HOST_EXPORTS) \
17484 cd $(HOST_SUBDIR)/libelf && \
17486 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17487 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17488 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17489 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17493 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17494 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17495 $(TARGET-stagefeedback-libelf)
17497 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17498 clean-stagefeedback: clean-stagefeedback-libelf
17499 clean-stagefeedback-libelf:
17500 @if [ $(current_stage) = stagefeedback ]; then \
17501 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17502 else \
17503 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17504 $(MAKE) stagefeedback-start; \
17505 fi; \
17506 cd $(HOST_SUBDIR)/libelf && \
17507 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17508 @endif libelf-bootstrap
17511 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17512 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17513 maybe-all-stageautoprofile-libelf:
17514 maybe-clean-stageautoprofile-libelf:
17515 @if libelf-bootstrap
17516 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17517 all-stageautoprofile: all-stageautoprofile-libelf
17518 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17519 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17520 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17521 @r=`${PWD_COMMAND}`; export r; \
17522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17523 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17524 $(HOST_EXPORTS) \
17525 $(POSTSTAGE1_HOST_EXPORTS) \
17526 cd $(HOST_SUBDIR)/libelf && \
17527 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17529 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17530 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17531 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17536 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17537 $(TARGET-stageautoprofile-libelf)
17539 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17540 clean-stageautoprofile: clean-stageautoprofile-libelf
17541 clean-stageautoprofile-libelf:
17542 @if [ $(current_stage) = stageautoprofile ]; then \
17543 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17544 else \
17545 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17546 $(MAKE) stageautoprofile-start; \
17547 fi; \
17548 cd $(HOST_SUBDIR)/libelf && \
17549 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17550 @endif libelf-bootstrap
17553 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17554 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17555 maybe-all-stageautofeedback-libelf:
17556 maybe-clean-stageautofeedback-libelf:
17557 @if libelf-bootstrap
17558 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17559 all-stageautofeedback: all-stageautofeedback-libelf
17560 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17561 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17562 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17563 @r=`${PWD_COMMAND}`; export r; \
17564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17565 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17566 $(HOST_EXPORTS) \
17567 $(POSTSTAGE1_HOST_EXPORTS) \
17568 cd $(HOST_SUBDIR)/libelf && \
17570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17571 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17572 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17573 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17577 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17578 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17579 $(TARGET-stageautofeedback-libelf)
17581 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17582 clean-stageautofeedback: clean-stageautofeedback-libelf
17583 clean-stageautofeedback-libelf:
17584 @if [ $(current_stage) = stageautofeedback ]; then \
17585 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17586 else \
17587 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17588 $(MAKE) stageautofeedback-start; \
17589 fi; \
17590 cd $(HOST_SUBDIR)/libelf && \
17591 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17592 @endif libelf-bootstrap
17598 .PHONY: check-libelf maybe-check-libelf
17599 maybe-check-libelf:
17600 @if libelf
17601 maybe-check-libelf: check-libelf
17603 check-libelf:
17604 @: $(MAKE); $(unstage)
17605 @r=`${PWD_COMMAND}`; export r; \
17606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17607 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17608 (cd $(HOST_SUBDIR)/libelf && \
17609 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17611 @endif libelf
17613 .PHONY: install-libelf maybe-install-libelf
17614 maybe-install-libelf:
17615 @if libelf
17616 maybe-install-libelf: install-libelf
17618 install-libelf:
17620 @endif libelf
17622 .PHONY: install-strip-libelf maybe-install-strip-libelf
17623 maybe-install-strip-libelf:
17624 @if libelf
17625 maybe-install-strip-libelf: install-strip-libelf
17627 install-strip-libelf:
17629 @endif libelf
17631 # Other targets (info, dvi, pdf, etc.)
17633 .PHONY: maybe-info-libelf info-libelf
17634 maybe-info-libelf:
17635 @if libelf
17636 maybe-info-libelf: info-libelf
17638 info-libelf: \
17639 configure-libelf
17640 @[ -f ./libelf/Makefile ] || exit 0; \
17641 r=`${PWD_COMMAND}`; export r; \
17642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17643 $(HOST_EXPORTS) \
17644 for flag in $(EXTRA_HOST_FLAGS) ; do \
17645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17646 done; \
17647 echo "Doing info in libelf"; \
17648 (cd $(HOST_SUBDIR)/libelf && \
17649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17651 "RANLIB=$${RANLIB}" \
17652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17653 info) \
17654 || exit 1
17656 @endif libelf
17658 .PHONY: maybe-dvi-libelf dvi-libelf
17659 maybe-dvi-libelf:
17660 @if libelf
17661 maybe-dvi-libelf: dvi-libelf
17663 dvi-libelf: \
17664 configure-libelf
17665 @[ -f ./libelf/Makefile ] || exit 0; \
17666 r=`${PWD_COMMAND}`; export r; \
17667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17668 $(HOST_EXPORTS) \
17669 for flag in $(EXTRA_HOST_FLAGS) ; do \
17670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17671 done; \
17672 echo "Doing dvi in libelf"; \
17673 (cd $(HOST_SUBDIR)/libelf && \
17674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17676 "RANLIB=$${RANLIB}" \
17677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17678 dvi) \
17679 || exit 1
17681 @endif libelf
17683 .PHONY: maybe-pdf-libelf pdf-libelf
17684 maybe-pdf-libelf:
17685 @if libelf
17686 maybe-pdf-libelf: pdf-libelf
17688 pdf-libelf: \
17689 configure-libelf
17690 @[ -f ./libelf/Makefile ] || exit 0; \
17691 r=`${PWD_COMMAND}`; export r; \
17692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693 $(HOST_EXPORTS) \
17694 for flag in $(EXTRA_HOST_FLAGS) ; do \
17695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17696 done; \
17697 echo "Doing pdf in libelf"; \
17698 (cd $(HOST_SUBDIR)/libelf && \
17699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17701 "RANLIB=$${RANLIB}" \
17702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17703 pdf) \
17704 || exit 1
17706 @endif libelf
17708 .PHONY: maybe-html-libelf html-libelf
17709 maybe-html-libelf:
17710 @if libelf
17711 maybe-html-libelf: html-libelf
17713 html-libelf: \
17714 configure-libelf
17715 @[ -f ./libelf/Makefile ] || exit 0; \
17716 r=`${PWD_COMMAND}`; export r; \
17717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17718 $(HOST_EXPORTS) \
17719 for flag in $(EXTRA_HOST_FLAGS) ; do \
17720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 done; \
17722 echo "Doing html in libelf"; \
17723 (cd $(HOST_SUBDIR)/libelf && \
17724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17726 "RANLIB=$${RANLIB}" \
17727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17728 html) \
17729 || exit 1
17731 @endif libelf
17733 .PHONY: maybe-TAGS-libelf TAGS-libelf
17734 maybe-TAGS-libelf:
17735 @if libelf
17736 maybe-TAGS-libelf: TAGS-libelf
17738 TAGS-libelf: \
17739 configure-libelf
17740 @[ -f ./libelf/Makefile ] || exit 0; \
17741 r=`${PWD_COMMAND}`; export r; \
17742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17743 $(HOST_EXPORTS) \
17744 for flag in $(EXTRA_HOST_FLAGS) ; do \
17745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17746 done; \
17747 echo "Doing TAGS in libelf"; \
17748 (cd $(HOST_SUBDIR)/libelf && \
17749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17751 "RANLIB=$${RANLIB}" \
17752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17753 TAGS) \
17754 || exit 1
17756 @endif libelf
17758 .PHONY: maybe-install-info-libelf install-info-libelf
17759 maybe-install-info-libelf:
17760 @if libelf
17761 maybe-install-info-libelf: install-info-libelf
17763 install-info-libelf: \
17764 configure-libelf \
17765 info-libelf
17766 @[ -f ./libelf/Makefile ] || exit 0; \
17767 r=`${PWD_COMMAND}`; export r; \
17768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17769 $(HOST_EXPORTS) \
17770 for flag in $(EXTRA_HOST_FLAGS) ; do \
17771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17772 done; \
17773 echo "Doing install-info in libelf"; \
17774 (cd $(HOST_SUBDIR)/libelf && \
17775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17777 "RANLIB=$${RANLIB}" \
17778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17779 install-info) \
17780 || exit 1
17782 @endif libelf
17784 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17785 maybe-install-pdf-libelf:
17786 @if libelf
17787 maybe-install-pdf-libelf: install-pdf-libelf
17789 install-pdf-libelf: \
17790 configure-libelf \
17791 pdf-libelf
17792 @[ -f ./libelf/Makefile ] || exit 0; \
17793 r=`${PWD_COMMAND}`; export r; \
17794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17795 $(HOST_EXPORTS) \
17796 for flag in $(EXTRA_HOST_FLAGS) ; do \
17797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17798 done; \
17799 echo "Doing install-pdf in libelf"; \
17800 (cd $(HOST_SUBDIR)/libelf && \
17801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17803 "RANLIB=$${RANLIB}" \
17804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17805 install-pdf) \
17806 || exit 1
17808 @endif libelf
17810 .PHONY: maybe-install-html-libelf install-html-libelf
17811 maybe-install-html-libelf:
17812 @if libelf
17813 maybe-install-html-libelf: install-html-libelf
17815 install-html-libelf: \
17816 configure-libelf \
17817 html-libelf
17818 @[ -f ./libelf/Makefile ] || exit 0; \
17819 r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(HOST_EXPORTS) \
17822 for flag in $(EXTRA_HOST_FLAGS) ; do \
17823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17824 done; \
17825 echo "Doing install-html in libelf"; \
17826 (cd $(HOST_SUBDIR)/libelf && \
17827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17829 "RANLIB=$${RANLIB}" \
17830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17831 install-html) \
17832 || exit 1
17834 @endif libelf
17836 .PHONY: maybe-installcheck-libelf installcheck-libelf
17837 maybe-installcheck-libelf:
17838 @if libelf
17839 maybe-installcheck-libelf: installcheck-libelf
17841 installcheck-libelf: \
17842 configure-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 installcheck 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 installcheck) \
17857 || exit 1
17859 @endif libelf
17861 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17862 maybe-mostlyclean-libelf:
17863 @if libelf
17864 maybe-mostlyclean-libelf: mostlyclean-libelf
17866 mostlyclean-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 mostlyclean 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 mostlyclean) \
17881 || exit 1
17883 @endif libelf
17885 .PHONY: maybe-clean-libelf clean-libelf
17886 maybe-clean-libelf:
17887 @if libelf
17888 maybe-clean-libelf: clean-libelf
17890 clean-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 clean 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 clean) \
17905 || exit 1
17907 @endif libelf
17909 .PHONY: maybe-distclean-libelf distclean-libelf
17910 maybe-distclean-libelf:
17911 @if libelf
17912 maybe-distclean-libelf: distclean-libelf
17914 distclean-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 distclean 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 distclean) \
17929 || exit 1
17931 @endif libelf
17933 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17934 maybe-maintainer-clean-libelf:
17935 @if libelf
17936 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17938 maintainer-clean-libelf:
17939 @[ -f ./libelf/Makefile ] || exit 0; \
17940 r=`${PWD_COMMAND}`; export r; \
17941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 $(HOST_EXPORTS) \
17943 for flag in $(EXTRA_HOST_FLAGS) ; do \
17944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17945 done; \
17946 echo "Doing maintainer-clean in libelf"; \
17947 (cd $(HOST_SUBDIR)/libelf && \
17948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17950 "RANLIB=$${RANLIB}" \
17951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17952 maintainer-clean) \
17953 || exit 1
17955 @endif libelf
17959 .PHONY: configure-gold maybe-configure-gold
17960 maybe-configure-gold:
17961 @if gcc-bootstrap
17962 configure-gold: stage_current
17963 @endif gcc-bootstrap
17964 @if gold
17965 maybe-configure-gold: configure-gold
17966 configure-gold:
17967 @r=`${PWD_COMMAND}`; export r; \
17968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17969 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17971 $(HOST_EXPORTS) \
17972 echo Configuring in $(HOST_SUBDIR)/gold; \
17973 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17974 case $(srcdir) in \
17975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17976 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17978 esac; \
17979 module_srcdir=gold; \
17980 $(SHELL) \
17981 $$s/$$module_srcdir/configure \
17982 --srcdir=$${topdir}/$$module_srcdir \
17983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17984 --target=${target_alias} \
17985 || exit 1
17986 @endif gold
17990 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
17991 maybe-configure-stage1-gold:
17992 @if gold-bootstrap
17993 maybe-configure-stage1-gold: configure-stage1-gold
17994 configure-stage1-gold:
17995 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17997 @r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 TFLAGS="$(STAGE1_TFLAGS)"; \
18000 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18001 $(HOST_EXPORTS) \
18002 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18003 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18004 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18005 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18007 cd $(HOST_SUBDIR)/gold || exit 1; \
18008 case $(srcdir) in \
18009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18010 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18012 esac; \
18013 module_srcdir=gold; \
18014 $(SHELL) $$s/$$module_srcdir/configure \
18015 --srcdir=$${topdir}/$$module_srcdir \
18016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18017 --target=${target_alias} \
18019 $(STAGE1_CONFIGURE_FLAGS)
18020 @endif gold-bootstrap
18022 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18023 maybe-configure-stage2-gold:
18024 @if gold-bootstrap
18025 maybe-configure-stage2-gold: configure-stage2-gold
18026 configure-stage2-gold:
18027 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18029 @r=`${PWD_COMMAND}`; export r; \
18030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18031 TFLAGS="$(STAGE2_TFLAGS)"; \
18032 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18033 $(HOST_EXPORTS) \
18034 $(POSTSTAGE1_HOST_EXPORTS) \
18035 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18036 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18037 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18038 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18040 cd $(HOST_SUBDIR)/gold || exit 1; \
18041 case $(srcdir) in \
18042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18043 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18045 esac; \
18046 module_srcdir=gold; \
18047 $(SHELL) $$s/$$module_srcdir/configure \
18048 --srcdir=$${topdir}/$$module_srcdir \
18049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18050 --target=${target_alias} \
18051 --with-build-libsubdir=$(HOST_SUBDIR) \
18052 $(STAGE2_CONFIGURE_FLAGS)
18053 @endif gold-bootstrap
18055 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18056 maybe-configure-stage3-gold:
18057 @if gold-bootstrap
18058 maybe-configure-stage3-gold: configure-stage3-gold
18059 configure-stage3-gold:
18060 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18062 @r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18064 TFLAGS="$(STAGE3_TFLAGS)"; \
18065 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18066 $(HOST_EXPORTS) \
18067 $(POSTSTAGE1_HOST_EXPORTS) \
18068 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18069 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18070 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18071 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18073 cd $(HOST_SUBDIR)/gold || exit 1; \
18074 case $(srcdir) in \
18075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18076 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18078 esac; \
18079 module_srcdir=gold; \
18080 $(SHELL) $$s/$$module_srcdir/configure \
18081 --srcdir=$${topdir}/$$module_srcdir \
18082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18083 --target=${target_alias} \
18084 --with-build-libsubdir=$(HOST_SUBDIR) \
18085 $(STAGE3_CONFIGURE_FLAGS)
18086 @endif gold-bootstrap
18088 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18089 maybe-configure-stage4-gold:
18090 @if gold-bootstrap
18091 maybe-configure-stage4-gold: configure-stage4-gold
18092 configure-stage4-gold:
18093 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18095 @r=`${PWD_COMMAND}`; export r; \
18096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18097 TFLAGS="$(STAGE4_TFLAGS)"; \
18098 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18099 $(HOST_EXPORTS) \
18100 $(POSTSTAGE1_HOST_EXPORTS) \
18101 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18102 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18103 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18104 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18106 cd $(HOST_SUBDIR)/gold || exit 1; \
18107 case $(srcdir) in \
18108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18109 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18111 esac; \
18112 module_srcdir=gold; \
18113 $(SHELL) $$s/$$module_srcdir/configure \
18114 --srcdir=$${topdir}/$$module_srcdir \
18115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18116 --target=${target_alias} \
18117 --with-build-libsubdir=$(HOST_SUBDIR) \
18118 $(STAGE4_CONFIGURE_FLAGS)
18119 @endif gold-bootstrap
18121 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18122 maybe-configure-stageprofile-gold:
18123 @if gold-bootstrap
18124 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18125 configure-stageprofile-gold:
18126 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18128 @r=`${PWD_COMMAND}`; export r; \
18129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18130 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18131 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18132 $(HOST_EXPORTS) \
18133 $(POSTSTAGE1_HOST_EXPORTS) \
18134 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18135 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18136 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18137 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18139 cd $(HOST_SUBDIR)/gold || exit 1; \
18140 case $(srcdir) in \
18141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18142 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18144 esac; \
18145 module_srcdir=gold; \
18146 $(SHELL) $$s/$$module_srcdir/configure \
18147 --srcdir=$${topdir}/$$module_srcdir \
18148 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18149 --target=${target_alias} \
18150 --with-build-libsubdir=$(HOST_SUBDIR) \
18151 $(STAGEprofile_CONFIGURE_FLAGS)
18152 @endif gold-bootstrap
18154 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18155 maybe-configure-stagetrain-gold:
18156 @if gold-bootstrap
18157 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18158 configure-stagetrain-gold:
18159 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18161 @r=`${PWD_COMMAND}`; export r; \
18162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18163 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18164 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18165 $(HOST_EXPORTS) \
18166 $(POSTSTAGE1_HOST_EXPORTS) \
18167 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18168 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18169 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18170 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18172 cd $(HOST_SUBDIR)/gold || exit 1; \
18173 case $(srcdir) in \
18174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18175 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18177 esac; \
18178 module_srcdir=gold; \
18179 $(SHELL) $$s/$$module_srcdir/configure \
18180 --srcdir=$${topdir}/$$module_srcdir \
18181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18182 --target=${target_alias} \
18183 --with-build-libsubdir=$(HOST_SUBDIR) \
18184 $(STAGEtrain_CONFIGURE_FLAGS)
18185 @endif gold-bootstrap
18187 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18188 maybe-configure-stagefeedback-gold:
18189 @if gold-bootstrap
18190 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18191 configure-stagefeedback-gold:
18192 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18194 @r=`${PWD_COMMAND}`; export r; \
18195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18196 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18197 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18198 $(HOST_EXPORTS) \
18199 $(POSTSTAGE1_HOST_EXPORTS) \
18200 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18201 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18202 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18203 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18205 cd $(HOST_SUBDIR)/gold || exit 1; \
18206 case $(srcdir) in \
18207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18208 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18210 esac; \
18211 module_srcdir=gold; \
18212 $(SHELL) $$s/$$module_srcdir/configure \
18213 --srcdir=$${topdir}/$$module_srcdir \
18214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18215 --target=${target_alias} \
18216 --with-build-libsubdir=$(HOST_SUBDIR) \
18217 $(STAGEfeedback_CONFIGURE_FLAGS)
18218 @endif gold-bootstrap
18220 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18221 maybe-configure-stageautoprofile-gold:
18222 @if gold-bootstrap
18223 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18224 configure-stageautoprofile-gold:
18225 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18227 @r=`${PWD_COMMAND}`; export r; \
18228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18229 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18230 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18231 $(HOST_EXPORTS) \
18232 $(POSTSTAGE1_HOST_EXPORTS) \
18233 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18234 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18235 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18236 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18238 cd $(HOST_SUBDIR)/gold || exit 1; \
18239 case $(srcdir) in \
18240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18241 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18243 esac; \
18244 module_srcdir=gold; \
18245 $(SHELL) $$s/$$module_srcdir/configure \
18246 --srcdir=$${topdir}/$$module_srcdir \
18247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18248 --target=${target_alias} \
18249 --with-build-libsubdir=$(HOST_SUBDIR) \
18250 $(STAGEautoprofile_CONFIGURE_FLAGS)
18251 @endif gold-bootstrap
18253 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18254 maybe-configure-stageautofeedback-gold:
18255 @if gold-bootstrap
18256 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18257 configure-stageautofeedback-gold:
18258 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18260 @r=`${PWD_COMMAND}`; export r; \
18261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18262 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18263 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18264 $(HOST_EXPORTS) \
18265 $(POSTSTAGE1_HOST_EXPORTS) \
18266 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18267 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18268 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18269 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18271 cd $(HOST_SUBDIR)/gold || exit 1; \
18272 case $(srcdir) in \
18273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18274 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18276 esac; \
18277 module_srcdir=gold; \
18278 $(SHELL) $$s/$$module_srcdir/configure \
18279 --srcdir=$${topdir}/$$module_srcdir \
18280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18281 --target=${target_alias} \
18282 --with-build-libsubdir=$(HOST_SUBDIR) \
18283 $(STAGEautofeedback_CONFIGURE_FLAGS)
18284 @endif gold-bootstrap
18290 .PHONY: all-gold maybe-all-gold
18291 maybe-all-gold:
18292 @if gcc-bootstrap
18293 all-gold: stage_current
18294 @endif gcc-bootstrap
18295 @if gold
18296 TARGET-gold=all
18297 maybe-all-gold: all-gold
18298 all-gold: configure-gold
18299 @r=`${PWD_COMMAND}`; export r; \
18300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301 $(HOST_EXPORTS) \
18302 (cd $(HOST_SUBDIR)/gold && \
18303 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18304 $(TARGET-gold))
18305 @endif gold
18309 .PHONY: all-stage1-gold maybe-all-stage1-gold
18310 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18311 maybe-all-stage1-gold:
18312 maybe-clean-stage1-gold:
18313 @if gold-bootstrap
18314 maybe-all-stage1-gold: all-stage1-gold
18315 all-stage1: all-stage1-gold
18316 TARGET-stage1-gold = $(TARGET-gold)
18317 all-stage1-gold: configure-stage1-gold
18318 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18319 @r=`${PWD_COMMAND}`; export r; \
18320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18321 TFLAGS="$(STAGE1_TFLAGS)"; \
18322 $(HOST_EXPORTS) \
18323 cd $(HOST_SUBDIR)/gold && \
18325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18326 CFLAGS="$(STAGE1_CFLAGS)" \
18327 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18328 LIBCFLAGS="$(LIBCFLAGS)" \
18329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18332 $(EXTRA_HOST_FLAGS) \
18333 $(STAGE1_FLAGS_TO_PASS) \
18334 TFLAGS="$(STAGE1_TFLAGS)" \
18335 $(TARGET-stage1-gold)
18337 maybe-clean-stage1-gold: clean-stage1-gold
18338 clean-stage1: clean-stage1-gold
18339 clean-stage1-gold:
18340 @if [ $(current_stage) = stage1 ]; then \
18341 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18342 else \
18343 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18344 $(MAKE) stage1-start; \
18345 fi; \
18346 cd $(HOST_SUBDIR)/gold && \
18347 $(MAKE) $(EXTRA_HOST_FLAGS) \
18348 $(STAGE1_FLAGS_TO_PASS) clean
18349 @endif gold-bootstrap
18352 .PHONY: all-stage2-gold maybe-all-stage2-gold
18353 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18354 maybe-all-stage2-gold:
18355 maybe-clean-stage2-gold:
18356 @if gold-bootstrap
18357 maybe-all-stage2-gold: all-stage2-gold
18358 all-stage2: all-stage2-gold
18359 TARGET-stage2-gold = $(TARGET-gold)
18360 all-stage2-gold: configure-stage2-gold
18361 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18362 @r=`${PWD_COMMAND}`; export r; \
18363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18364 TFLAGS="$(STAGE2_TFLAGS)"; \
18365 $(HOST_EXPORTS) \
18366 $(POSTSTAGE1_HOST_EXPORTS) \
18367 cd $(HOST_SUBDIR)/gold && \
18369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18370 CFLAGS="$(STAGE2_CFLAGS)" \
18371 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18372 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18377 TFLAGS="$(STAGE2_TFLAGS)" \
18378 $(TARGET-stage2-gold)
18380 maybe-clean-stage2-gold: clean-stage2-gold
18381 clean-stage2: clean-stage2-gold
18382 clean-stage2-gold:
18383 @if [ $(current_stage) = stage2 ]; then \
18384 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18385 else \
18386 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18387 $(MAKE) stage2-start; \
18388 fi; \
18389 cd $(HOST_SUBDIR)/gold && \
18390 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18391 @endif gold-bootstrap
18394 .PHONY: all-stage3-gold maybe-all-stage3-gold
18395 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18396 maybe-all-stage3-gold:
18397 maybe-clean-stage3-gold:
18398 @if gold-bootstrap
18399 maybe-all-stage3-gold: all-stage3-gold
18400 all-stage3: all-stage3-gold
18401 TARGET-stage3-gold = $(TARGET-gold)
18402 all-stage3-gold: configure-stage3-gold
18403 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18404 @r=`${PWD_COMMAND}`; export r; \
18405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18406 TFLAGS="$(STAGE3_TFLAGS)"; \
18407 $(HOST_EXPORTS) \
18408 $(POSTSTAGE1_HOST_EXPORTS) \
18409 cd $(HOST_SUBDIR)/gold && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18412 CFLAGS="$(STAGE3_CFLAGS)" \
18413 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18414 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18418 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18419 TFLAGS="$(STAGE3_TFLAGS)" \
18420 $(TARGET-stage3-gold)
18422 maybe-clean-stage3-gold: clean-stage3-gold
18423 clean-stage3: clean-stage3-gold
18424 clean-stage3-gold:
18425 @if [ $(current_stage) = stage3 ]; then \
18426 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18427 else \
18428 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18429 $(MAKE) stage3-start; \
18430 fi; \
18431 cd $(HOST_SUBDIR)/gold && \
18432 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18433 @endif gold-bootstrap
18436 .PHONY: all-stage4-gold maybe-all-stage4-gold
18437 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18438 maybe-all-stage4-gold:
18439 maybe-clean-stage4-gold:
18440 @if gold-bootstrap
18441 maybe-all-stage4-gold: all-stage4-gold
18442 all-stage4: all-stage4-gold
18443 TARGET-stage4-gold = $(TARGET-gold)
18444 all-stage4-gold: configure-stage4-gold
18445 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18446 @r=`${PWD_COMMAND}`; export r; \
18447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18448 TFLAGS="$(STAGE4_TFLAGS)"; \
18449 $(HOST_EXPORTS) \
18450 $(POSTSTAGE1_HOST_EXPORTS) \
18451 cd $(HOST_SUBDIR)/gold && \
18453 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18454 CFLAGS="$(STAGE4_CFLAGS)" \
18455 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18456 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18461 TFLAGS="$(STAGE4_TFLAGS)" \
18462 $(TARGET-stage4-gold)
18464 maybe-clean-stage4-gold: clean-stage4-gold
18465 clean-stage4: clean-stage4-gold
18466 clean-stage4-gold:
18467 @if [ $(current_stage) = stage4 ]; then \
18468 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18469 else \
18470 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18471 $(MAKE) stage4-start; \
18472 fi; \
18473 cd $(HOST_SUBDIR)/gold && \
18474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18475 @endif gold-bootstrap
18478 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18479 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18480 maybe-all-stageprofile-gold:
18481 maybe-clean-stageprofile-gold:
18482 @if gold-bootstrap
18483 maybe-all-stageprofile-gold: all-stageprofile-gold
18484 all-stageprofile: all-stageprofile-gold
18485 TARGET-stageprofile-gold = $(TARGET-gold)
18486 all-stageprofile-gold: configure-stageprofile-gold
18487 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18488 @r=`${PWD_COMMAND}`; export r; \
18489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18491 $(HOST_EXPORTS) \
18492 $(POSTSTAGE1_HOST_EXPORTS) \
18493 cd $(HOST_SUBDIR)/gold && \
18495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18496 CFLAGS="$(STAGEprofile_CFLAGS)" \
18497 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18498 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18503 TFLAGS="$(STAGEprofile_TFLAGS)" \
18504 $(TARGET-stageprofile-gold)
18506 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18507 clean-stageprofile: clean-stageprofile-gold
18508 clean-stageprofile-gold:
18509 @if [ $(current_stage) = stageprofile ]; then \
18510 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18511 else \
18512 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18513 $(MAKE) stageprofile-start; \
18514 fi; \
18515 cd $(HOST_SUBDIR)/gold && \
18516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18517 @endif gold-bootstrap
18520 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18521 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18522 maybe-all-stagetrain-gold:
18523 maybe-clean-stagetrain-gold:
18524 @if gold-bootstrap
18525 maybe-all-stagetrain-gold: all-stagetrain-gold
18526 all-stagetrain: all-stagetrain-gold
18527 TARGET-stagetrain-gold = $(TARGET-gold)
18528 all-stagetrain-gold: configure-stagetrain-gold
18529 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18530 @r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18533 $(HOST_EXPORTS) \
18534 $(POSTSTAGE1_HOST_EXPORTS) \
18535 cd $(HOST_SUBDIR)/gold && \
18537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18538 CFLAGS="$(STAGEtrain_CFLAGS)" \
18539 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18540 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18544 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18545 TFLAGS="$(STAGEtrain_TFLAGS)" \
18546 $(TARGET-stagetrain-gold)
18548 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18549 clean-stagetrain: clean-stagetrain-gold
18550 clean-stagetrain-gold:
18551 @if [ $(current_stage) = stagetrain ]; then \
18552 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18553 else \
18554 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18555 $(MAKE) stagetrain-start; \
18556 fi; \
18557 cd $(HOST_SUBDIR)/gold && \
18558 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18559 @endif gold-bootstrap
18562 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18563 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18564 maybe-all-stagefeedback-gold:
18565 maybe-clean-stagefeedback-gold:
18566 @if gold-bootstrap
18567 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18568 all-stagefeedback: all-stagefeedback-gold
18569 TARGET-stagefeedback-gold = $(TARGET-gold)
18570 all-stagefeedback-gold: configure-stagefeedback-gold
18571 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18572 @r=`${PWD_COMMAND}`; export r; \
18573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18574 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18575 $(HOST_EXPORTS) \
18576 $(POSTSTAGE1_HOST_EXPORTS) \
18577 cd $(HOST_SUBDIR)/gold && \
18579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18580 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18581 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18582 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18587 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18588 $(TARGET-stagefeedback-gold)
18590 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18591 clean-stagefeedback: clean-stagefeedback-gold
18592 clean-stagefeedback-gold:
18593 @if [ $(current_stage) = stagefeedback ]; then \
18594 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18595 else \
18596 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18597 $(MAKE) stagefeedback-start; \
18598 fi; \
18599 cd $(HOST_SUBDIR)/gold && \
18600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18601 @endif gold-bootstrap
18604 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18605 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18606 maybe-all-stageautoprofile-gold:
18607 maybe-clean-stageautoprofile-gold:
18608 @if gold-bootstrap
18609 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18610 all-stageautoprofile: all-stageautoprofile-gold
18611 TARGET-stageautoprofile-gold = $(TARGET-gold)
18612 all-stageautoprofile-gold: configure-stageautoprofile-gold
18613 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18614 @r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18617 $(HOST_EXPORTS) \
18618 $(POSTSTAGE1_HOST_EXPORTS) \
18619 cd $(HOST_SUBDIR)/gold && \
18620 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18621 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18622 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18623 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18624 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18625 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18626 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18627 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18628 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18629 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18630 $(TARGET-stageautoprofile-gold)
18632 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18633 clean-stageautoprofile: clean-stageautoprofile-gold
18634 clean-stageautoprofile-gold:
18635 @if [ $(current_stage) = stageautoprofile ]; then \
18636 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18637 else \
18638 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18639 $(MAKE) stageautoprofile-start; \
18640 fi; \
18641 cd $(HOST_SUBDIR)/gold && \
18642 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18643 @endif gold-bootstrap
18646 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18647 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18648 maybe-all-stageautofeedback-gold:
18649 maybe-clean-stageautofeedback-gold:
18650 @if gold-bootstrap
18651 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18652 all-stageautofeedback: all-stageautofeedback-gold
18653 TARGET-stageautofeedback-gold = $(TARGET-gold)
18654 all-stageautofeedback-gold: configure-stageautofeedback-gold
18655 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18656 @r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18659 $(HOST_EXPORTS) \
18660 $(POSTSTAGE1_HOST_EXPORTS) \
18661 cd $(HOST_SUBDIR)/gold && \
18663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18664 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18665 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18666 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18671 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18672 $(TARGET-stageautofeedback-gold)
18674 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18675 clean-stageautofeedback: clean-stageautofeedback-gold
18676 clean-stageautofeedback-gold:
18677 @if [ $(current_stage) = stageautofeedback ]; then \
18678 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18679 else \
18680 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18681 $(MAKE) stageautofeedback-start; \
18682 fi; \
18683 cd $(HOST_SUBDIR)/gold && \
18684 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18685 @endif gold-bootstrap
18691 .PHONY: check-gold maybe-check-gold
18692 maybe-check-gold:
18693 @if gold
18694 maybe-check-gold: check-gold
18696 check-gold:
18697 @: $(MAKE); $(unstage)
18698 @r=`${PWD_COMMAND}`; export r; \
18699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18700 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18701 (cd $(HOST_SUBDIR)/gold && \
18702 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18704 @endif gold
18706 .PHONY: install-gold maybe-install-gold
18707 maybe-install-gold:
18708 @if gold
18709 maybe-install-gold: install-gold
18711 install-gold: installdirs
18712 @: $(MAKE); $(unstage)
18713 @r=`${PWD_COMMAND}`; export r; \
18714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18715 $(HOST_EXPORTS) \
18716 (cd $(HOST_SUBDIR)/gold && \
18717 $(MAKE) $(FLAGS_TO_PASS) install)
18719 @endif gold
18721 .PHONY: install-strip-gold maybe-install-strip-gold
18722 maybe-install-strip-gold:
18723 @if gold
18724 maybe-install-strip-gold: install-strip-gold
18726 install-strip-gold: installdirs
18727 @: $(MAKE); $(unstage)
18728 @r=`${PWD_COMMAND}`; export r; \
18729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18730 $(HOST_EXPORTS) \
18731 (cd $(HOST_SUBDIR)/gold && \
18732 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18734 @endif gold
18736 # Other targets (info, dvi, pdf, etc.)
18738 .PHONY: maybe-info-gold info-gold
18739 maybe-info-gold:
18740 @if gold
18741 maybe-info-gold: info-gold
18743 info-gold: \
18744 configure-gold
18745 @[ -f ./gold/Makefile ] || exit 0; \
18746 r=`${PWD_COMMAND}`; export r; \
18747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18748 $(HOST_EXPORTS) \
18749 for flag in $(EXTRA_HOST_FLAGS) ; do \
18750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18751 done; \
18752 echo "Doing info in gold"; \
18753 (cd $(HOST_SUBDIR)/gold && \
18754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18756 "RANLIB=$${RANLIB}" \
18757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18758 info) \
18759 || exit 1
18761 @endif gold
18763 .PHONY: maybe-dvi-gold dvi-gold
18764 maybe-dvi-gold:
18765 @if gold
18766 maybe-dvi-gold: dvi-gold
18768 dvi-gold: \
18769 configure-gold
18770 @[ -f ./gold/Makefile ] || exit 0; \
18771 r=`${PWD_COMMAND}`; export r; \
18772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18773 $(HOST_EXPORTS) \
18774 for flag in $(EXTRA_HOST_FLAGS) ; do \
18775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18776 done; \
18777 echo "Doing dvi in gold"; \
18778 (cd $(HOST_SUBDIR)/gold && \
18779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18781 "RANLIB=$${RANLIB}" \
18782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18783 dvi) \
18784 || exit 1
18786 @endif gold
18788 .PHONY: maybe-pdf-gold pdf-gold
18789 maybe-pdf-gold:
18790 @if gold
18791 maybe-pdf-gold: pdf-gold
18793 pdf-gold: \
18794 configure-gold
18795 @[ -f ./gold/Makefile ] || exit 0; \
18796 r=`${PWD_COMMAND}`; export r; \
18797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18798 $(HOST_EXPORTS) \
18799 for flag in $(EXTRA_HOST_FLAGS) ; do \
18800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18801 done; \
18802 echo "Doing pdf in gold"; \
18803 (cd $(HOST_SUBDIR)/gold && \
18804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18806 "RANLIB=$${RANLIB}" \
18807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18808 pdf) \
18809 || exit 1
18811 @endif gold
18813 .PHONY: maybe-html-gold html-gold
18814 maybe-html-gold:
18815 @if gold
18816 maybe-html-gold: html-gold
18818 html-gold: \
18819 configure-gold
18820 @[ -f ./gold/Makefile ] || exit 0; \
18821 r=`${PWD_COMMAND}`; export r; \
18822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18823 $(HOST_EXPORTS) \
18824 for flag in $(EXTRA_HOST_FLAGS) ; do \
18825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18826 done; \
18827 echo "Doing html in gold"; \
18828 (cd $(HOST_SUBDIR)/gold && \
18829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18831 "RANLIB=$${RANLIB}" \
18832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18833 html) \
18834 || exit 1
18836 @endif gold
18838 .PHONY: maybe-TAGS-gold TAGS-gold
18839 maybe-TAGS-gold:
18840 @if gold
18841 maybe-TAGS-gold: TAGS-gold
18843 TAGS-gold: \
18844 configure-gold
18845 @[ -f ./gold/Makefile ] || exit 0; \
18846 r=`${PWD_COMMAND}`; export r; \
18847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18848 $(HOST_EXPORTS) \
18849 for flag in $(EXTRA_HOST_FLAGS) ; do \
18850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18851 done; \
18852 echo "Doing TAGS in gold"; \
18853 (cd $(HOST_SUBDIR)/gold && \
18854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18856 "RANLIB=$${RANLIB}" \
18857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18858 TAGS) \
18859 || exit 1
18861 @endif gold
18863 .PHONY: maybe-install-info-gold install-info-gold
18864 maybe-install-info-gold:
18865 @if gold
18866 maybe-install-info-gold: install-info-gold
18868 install-info-gold: \
18869 configure-gold \
18870 info-gold
18871 @[ -f ./gold/Makefile ] || exit 0; \
18872 r=`${PWD_COMMAND}`; export r; \
18873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18874 $(HOST_EXPORTS) \
18875 for flag in $(EXTRA_HOST_FLAGS) ; do \
18876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18877 done; \
18878 echo "Doing install-info in gold"; \
18879 (cd $(HOST_SUBDIR)/gold && \
18880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18882 "RANLIB=$${RANLIB}" \
18883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18884 install-info) \
18885 || exit 1
18887 @endif gold
18889 .PHONY: maybe-install-pdf-gold install-pdf-gold
18890 maybe-install-pdf-gold:
18891 @if gold
18892 maybe-install-pdf-gold: install-pdf-gold
18894 install-pdf-gold: \
18895 configure-gold \
18896 pdf-gold
18897 @[ -f ./gold/Makefile ] || exit 0; \
18898 r=`${PWD_COMMAND}`; export r; \
18899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18900 $(HOST_EXPORTS) \
18901 for flag in $(EXTRA_HOST_FLAGS) ; do \
18902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18903 done; \
18904 echo "Doing install-pdf in gold"; \
18905 (cd $(HOST_SUBDIR)/gold && \
18906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18908 "RANLIB=$${RANLIB}" \
18909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18910 install-pdf) \
18911 || exit 1
18913 @endif gold
18915 .PHONY: maybe-install-html-gold install-html-gold
18916 maybe-install-html-gold:
18917 @if gold
18918 maybe-install-html-gold: install-html-gold
18920 install-html-gold: \
18921 configure-gold \
18922 html-gold
18923 @[ -f ./gold/Makefile ] || exit 0; \
18924 r=`${PWD_COMMAND}`; export r; \
18925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18926 $(HOST_EXPORTS) \
18927 for flag in $(EXTRA_HOST_FLAGS) ; do \
18928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18929 done; \
18930 echo "Doing install-html in gold"; \
18931 (cd $(HOST_SUBDIR)/gold && \
18932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18934 "RANLIB=$${RANLIB}" \
18935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18936 install-html) \
18937 || exit 1
18939 @endif gold
18941 .PHONY: maybe-installcheck-gold installcheck-gold
18942 maybe-installcheck-gold:
18943 @if gold
18944 maybe-installcheck-gold: installcheck-gold
18946 installcheck-gold: \
18947 configure-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 installcheck 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 installcheck) \
18962 || exit 1
18964 @endif gold
18966 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18967 maybe-mostlyclean-gold:
18968 @if gold
18969 maybe-mostlyclean-gold: mostlyclean-gold
18971 mostlyclean-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 mostlyclean 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 mostlyclean) \
18986 || exit 1
18988 @endif gold
18990 .PHONY: maybe-clean-gold clean-gold
18991 maybe-clean-gold:
18992 @if gold
18993 maybe-clean-gold: clean-gold
18995 clean-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 clean 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 clean) \
19010 || exit 1
19012 @endif gold
19014 .PHONY: maybe-distclean-gold distclean-gold
19015 maybe-distclean-gold:
19016 @if gold
19017 maybe-distclean-gold: distclean-gold
19019 distclean-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 distclean 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 distclean) \
19034 || exit 1
19036 @endif gold
19038 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19039 maybe-maintainer-clean-gold:
19040 @if gold
19041 maybe-maintainer-clean-gold: maintainer-clean-gold
19043 maintainer-clean-gold:
19044 @[ -f ./gold/Makefile ] || exit 0; \
19045 r=`${PWD_COMMAND}`; export r; \
19046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19047 $(HOST_EXPORTS) \
19048 for flag in $(EXTRA_HOST_FLAGS) ; do \
19049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19050 done; \
19051 echo "Doing maintainer-clean in gold"; \
19052 (cd $(HOST_SUBDIR)/gold && \
19053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19055 "RANLIB=$${RANLIB}" \
19056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19057 maintainer-clean) \
19058 || exit 1
19060 @endif gold
19064 .PHONY: configure-gprof maybe-configure-gprof
19065 maybe-configure-gprof:
19066 @if gcc-bootstrap
19067 configure-gprof: stage_current
19068 @endif gcc-bootstrap
19069 @if gprof
19070 maybe-configure-gprof: configure-gprof
19071 configure-gprof:
19072 @: $(MAKE); $(unstage)
19073 @r=`${PWD_COMMAND}`; export r; \
19074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19075 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19077 $(HOST_EXPORTS) \
19078 echo Configuring in $(HOST_SUBDIR)/gprof; \
19079 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19080 case $(srcdir) in \
19081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19082 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19084 esac; \
19085 module_srcdir=gprof; \
19086 $(SHELL) \
19087 $$s/$$module_srcdir/configure \
19088 --srcdir=$${topdir}/$$module_srcdir \
19089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19090 --target=${target_alias} \
19091 || exit 1
19092 @endif gprof
19098 .PHONY: all-gprof maybe-all-gprof
19099 maybe-all-gprof:
19100 @if gcc-bootstrap
19101 all-gprof: stage_current
19102 @endif gcc-bootstrap
19103 @if gprof
19104 TARGET-gprof=all
19105 maybe-all-gprof: all-gprof
19106 all-gprof: configure-gprof
19107 @: $(MAKE); $(unstage)
19108 @r=`${PWD_COMMAND}`; export r; \
19109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19110 $(HOST_EXPORTS) \
19111 (cd $(HOST_SUBDIR)/gprof && \
19112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19113 $(TARGET-gprof))
19114 @endif gprof
19119 .PHONY: check-gprof maybe-check-gprof
19120 maybe-check-gprof:
19121 @if gprof
19122 maybe-check-gprof: check-gprof
19124 check-gprof:
19125 @: $(MAKE); $(unstage)
19126 @r=`${PWD_COMMAND}`; export r; \
19127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19128 $(HOST_EXPORTS) \
19129 (cd $(HOST_SUBDIR)/gprof && \
19130 $(MAKE) $(FLAGS_TO_PASS) check)
19132 @endif gprof
19134 .PHONY: install-gprof maybe-install-gprof
19135 maybe-install-gprof:
19136 @if gprof
19137 maybe-install-gprof: install-gprof
19139 install-gprof: installdirs
19140 @: $(MAKE); $(unstage)
19141 @r=`${PWD_COMMAND}`; export r; \
19142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19143 $(HOST_EXPORTS) \
19144 (cd $(HOST_SUBDIR)/gprof && \
19145 $(MAKE) $(FLAGS_TO_PASS) install)
19147 @endif gprof
19149 .PHONY: install-strip-gprof maybe-install-strip-gprof
19150 maybe-install-strip-gprof:
19151 @if gprof
19152 maybe-install-strip-gprof: install-strip-gprof
19154 install-strip-gprof: installdirs
19155 @: $(MAKE); $(unstage)
19156 @r=`${PWD_COMMAND}`; export r; \
19157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158 $(HOST_EXPORTS) \
19159 (cd $(HOST_SUBDIR)/gprof && \
19160 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19162 @endif gprof
19164 # Other targets (info, dvi, pdf, etc.)
19166 .PHONY: maybe-info-gprof info-gprof
19167 maybe-info-gprof:
19168 @if gprof
19169 maybe-info-gprof: info-gprof
19171 info-gprof: \
19172 configure-gprof
19173 @: $(MAKE); $(unstage)
19174 @[ -f ./gprof/Makefile ] || exit 0; \
19175 r=`${PWD_COMMAND}`; export r; \
19176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19177 $(HOST_EXPORTS) \
19178 for flag in $(EXTRA_HOST_FLAGS) ; do \
19179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19180 done; \
19181 echo "Doing info in gprof"; \
19182 (cd $(HOST_SUBDIR)/gprof && \
19183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19185 "RANLIB=$${RANLIB}" \
19186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19187 info) \
19188 || exit 1
19190 @endif gprof
19192 .PHONY: maybe-dvi-gprof dvi-gprof
19193 maybe-dvi-gprof:
19194 @if gprof
19195 maybe-dvi-gprof: dvi-gprof
19197 dvi-gprof: \
19198 configure-gprof
19199 @: $(MAKE); $(unstage)
19200 @[ -f ./gprof/Makefile ] || exit 0; \
19201 r=`${PWD_COMMAND}`; export r; \
19202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19203 $(HOST_EXPORTS) \
19204 for flag in $(EXTRA_HOST_FLAGS) ; do \
19205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19206 done; \
19207 echo "Doing dvi in gprof"; \
19208 (cd $(HOST_SUBDIR)/gprof && \
19209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19211 "RANLIB=$${RANLIB}" \
19212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19213 dvi) \
19214 || exit 1
19216 @endif gprof
19218 .PHONY: maybe-pdf-gprof pdf-gprof
19219 maybe-pdf-gprof:
19220 @if gprof
19221 maybe-pdf-gprof: pdf-gprof
19223 pdf-gprof: \
19224 configure-gprof
19225 @: $(MAKE); $(unstage)
19226 @[ -f ./gprof/Makefile ] || exit 0; \
19227 r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 $(HOST_EXPORTS) \
19230 for flag in $(EXTRA_HOST_FLAGS) ; do \
19231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19232 done; \
19233 echo "Doing pdf in gprof"; \
19234 (cd $(HOST_SUBDIR)/gprof && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19237 "RANLIB=$${RANLIB}" \
19238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19239 pdf) \
19240 || exit 1
19242 @endif gprof
19244 .PHONY: maybe-html-gprof html-gprof
19245 maybe-html-gprof:
19246 @if gprof
19247 maybe-html-gprof: html-gprof
19249 html-gprof: \
19250 configure-gprof
19251 @: $(MAKE); $(unstage)
19252 @[ -f ./gprof/Makefile ] || exit 0; \
19253 r=`${PWD_COMMAND}`; export r; \
19254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19255 $(HOST_EXPORTS) \
19256 for flag in $(EXTRA_HOST_FLAGS) ; do \
19257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19258 done; \
19259 echo "Doing html in gprof"; \
19260 (cd $(HOST_SUBDIR)/gprof && \
19261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19263 "RANLIB=$${RANLIB}" \
19264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19265 html) \
19266 || exit 1
19268 @endif gprof
19270 .PHONY: maybe-TAGS-gprof TAGS-gprof
19271 maybe-TAGS-gprof:
19272 @if gprof
19273 maybe-TAGS-gprof: TAGS-gprof
19275 TAGS-gprof: \
19276 configure-gprof
19277 @: $(MAKE); $(unstage)
19278 @[ -f ./gprof/Makefile ] || exit 0; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(HOST_EXPORTS) \
19282 for flag in $(EXTRA_HOST_FLAGS) ; do \
19283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19284 done; \
19285 echo "Doing TAGS in gprof"; \
19286 (cd $(HOST_SUBDIR)/gprof && \
19287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19289 "RANLIB=$${RANLIB}" \
19290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19291 TAGS) \
19292 || exit 1
19294 @endif gprof
19296 .PHONY: maybe-install-info-gprof install-info-gprof
19297 maybe-install-info-gprof:
19298 @if gprof
19299 maybe-install-info-gprof: install-info-gprof
19301 install-info-gprof: \
19302 configure-gprof \
19303 info-gprof
19304 @: $(MAKE); $(unstage)
19305 @[ -f ./gprof/Makefile ] || exit 0; \
19306 r=`${PWD_COMMAND}`; export r; \
19307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19308 $(HOST_EXPORTS) \
19309 for flag in $(EXTRA_HOST_FLAGS) ; do \
19310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19311 done; \
19312 echo "Doing install-info in gprof"; \
19313 (cd $(HOST_SUBDIR)/gprof && \
19314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19316 "RANLIB=$${RANLIB}" \
19317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19318 install-info) \
19319 || exit 1
19321 @endif gprof
19323 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19324 maybe-install-pdf-gprof:
19325 @if gprof
19326 maybe-install-pdf-gprof: install-pdf-gprof
19328 install-pdf-gprof: \
19329 configure-gprof \
19330 pdf-gprof
19331 @: $(MAKE); $(unstage)
19332 @[ -f ./gprof/Makefile ] || exit 0; \
19333 r=`${PWD_COMMAND}`; export r; \
19334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19335 $(HOST_EXPORTS) \
19336 for flag in $(EXTRA_HOST_FLAGS) ; do \
19337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19338 done; \
19339 echo "Doing install-pdf in gprof"; \
19340 (cd $(HOST_SUBDIR)/gprof && \
19341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19343 "RANLIB=$${RANLIB}" \
19344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19345 install-pdf) \
19346 || exit 1
19348 @endif gprof
19350 .PHONY: maybe-install-html-gprof install-html-gprof
19351 maybe-install-html-gprof:
19352 @if gprof
19353 maybe-install-html-gprof: install-html-gprof
19355 install-html-gprof: \
19356 configure-gprof \
19357 html-gprof
19358 @: $(MAKE); $(unstage)
19359 @[ -f ./gprof/Makefile ] || exit 0; \
19360 r=`${PWD_COMMAND}`; export r; \
19361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19362 $(HOST_EXPORTS) \
19363 for flag in $(EXTRA_HOST_FLAGS) ; do \
19364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19365 done; \
19366 echo "Doing install-html in gprof"; \
19367 (cd $(HOST_SUBDIR)/gprof && \
19368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19370 "RANLIB=$${RANLIB}" \
19371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19372 install-html) \
19373 || exit 1
19375 @endif gprof
19377 .PHONY: maybe-installcheck-gprof installcheck-gprof
19378 maybe-installcheck-gprof:
19379 @if gprof
19380 maybe-installcheck-gprof: installcheck-gprof
19382 installcheck-gprof: \
19383 configure-gprof
19384 @: $(MAKE); $(unstage)
19385 @[ -f ./gprof/Makefile ] || exit 0; \
19386 r=`${PWD_COMMAND}`; export r; \
19387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19388 $(HOST_EXPORTS) \
19389 for flag in $(EXTRA_HOST_FLAGS) ; do \
19390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19391 done; \
19392 echo "Doing installcheck in gprof"; \
19393 (cd $(HOST_SUBDIR)/gprof && \
19394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19396 "RANLIB=$${RANLIB}" \
19397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19398 installcheck) \
19399 || exit 1
19401 @endif gprof
19403 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19404 maybe-mostlyclean-gprof:
19405 @if gprof
19406 maybe-mostlyclean-gprof: mostlyclean-gprof
19408 mostlyclean-gprof:
19409 @: $(MAKE); $(unstage)
19410 @[ -f ./gprof/Makefile ] || exit 0; \
19411 r=`${PWD_COMMAND}`; export r; \
19412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19413 $(HOST_EXPORTS) \
19414 for flag in $(EXTRA_HOST_FLAGS) ; do \
19415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19416 done; \
19417 echo "Doing mostlyclean in gprof"; \
19418 (cd $(HOST_SUBDIR)/gprof && \
19419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19421 "RANLIB=$${RANLIB}" \
19422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19423 mostlyclean) \
19424 || exit 1
19426 @endif gprof
19428 .PHONY: maybe-clean-gprof clean-gprof
19429 maybe-clean-gprof:
19430 @if gprof
19431 maybe-clean-gprof: clean-gprof
19433 clean-gprof:
19434 @: $(MAKE); $(unstage)
19435 @[ -f ./gprof/Makefile ] || exit 0; \
19436 r=`${PWD_COMMAND}`; export r; \
19437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19438 $(HOST_EXPORTS) \
19439 for flag in $(EXTRA_HOST_FLAGS) ; do \
19440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19441 done; \
19442 echo "Doing clean in gprof"; \
19443 (cd $(HOST_SUBDIR)/gprof && \
19444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19446 "RANLIB=$${RANLIB}" \
19447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19448 clean) \
19449 || exit 1
19451 @endif gprof
19453 .PHONY: maybe-distclean-gprof distclean-gprof
19454 maybe-distclean-gprof:
19455 @if gprof
19456 maybe-distclean-gprof: distclean-gprof
19458 distclean-gprof:
19459 @: $(MAKE); $(unstage)
19460 @[ -f ./gprof/Makefile ] || exit 0; \
19461 r=`${PWD_COMMAND}`; export r; \
19462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19463 $(HOST_EXPORTS) \
19464 for flag in $(EXTRA_HOST_FLAGS) ; do \
19465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19466 done; \
19467 echo "Doing distclean in gprof"; \
19468 (cd $(HOST_SUBDIR)/gprof && \
19469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19471 "RANLIB=$${RANLIB}" \
19472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19473 distclean) \
19474 || exit 1
19476 @endif gprof
19478 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19479 maybe-maintainer-clean-gprof:
19480 @if gprof
19481 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19483 maintainer-clean-gprof:
19484 @: $(MAKE); $(unstage)
19485 @[ -f ./gprof/Makefile ] || exit 0; \
19486 r=`${PWD_COMMAND}`; export r; \
19487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19488 $(HOST_EXPORTS) \
19489 for flag in $(EXTRA_HOST_FLAGS) ; do \
19490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19491 done; \
19492 echo "Doing maintainer-clean in gprof"; \
19493 (cd $(HOST_SUBDIR)/gprof && \
19494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19496 "RANLIB=$${RANLIB}" \
19497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19498 maintainer-clean) \
19499 || exit 1
19501 @endif gprof
19505 .PHONY: configure-intl maybe-configure-intl
19506 maybe-configure-intl:
19507 @if gcc-bootstrap
19508 configure-intl: stage_current
19509 @endif gcc-bootstrap
19510 @if intl
19511 maybe-configure-intl: configure-intl
19512 configure-intl:
19513 @r=`${PWD_COMMAND}`; export r; \
19514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19515 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19517 $(HOST_EXPORTS) \
19518 echo Configuring in $(HOST_SUBDIR)/intl; \
19519 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19520 case $(srcdir) in \
19521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19522 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19524 esac; \
19525 module_srcdir=intl; \
19526 $(SHELL) \
19527 $$s/$$module_srcdir/configure \
19528 --srcdir=$${topdir}/$$module_srcdir \
19529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19530 --target=${target_alias} \
19531 || exit 1
19532 @endif intl
19536 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19537 maybe-configure-stage1-intl:
19538 @if intl-bootstrap
19539 maybe-configure-stage1-intl: configure-stage1-intl
19540 configure-stage1-intl:
19541 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19543 @r=`${PWD_COMMAND}`; export r; \
19544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19545 TFLAGS="$(STAGE1_TFLAGS)"; \
19546 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19547 $(HOST_EXPORTS) \
19548 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19549 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19550 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19551 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19553 cd $(HOST_SUBDIR)/intl || exit 1; \
19554 case $(srcdir) in \
19555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19556 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19558 esac; \
19559 module_srcdir=intl; \
19560 $(SHELL) $$s/$$module_srcdir/configure \
19561 --srcdir=$${topdir}/$$module_srcdir \
19562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19563 --target=${target_alias} \
19565 $(STAGE1_CONFIGURE_FLAGS)
19566 @endif intl-bootstrap
19568 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19569 maybe-configure-stage2-intl:
19570 @if intl-bootstrap
19571 maybe-configure-stage2-intl: configure-stage2-intl
19572 configure-stage2-intl:
19573 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19574 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19575 @r=`${PWD_COMMAND}`; export r; \
19576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19577 TFLAGS="$(STAGE2_TFLAGS)"; \
19578 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19579 $(HOST_EXPORTS) \
19580 $(POSTSTAGE1_HOST_EXPORTS) \
19581 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19582 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19583 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19584 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19586 cd $(HOST_SUBDIR)/intl || exit 1; \
19587 case $(srcdir) in \
19588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19589 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19591 esac; \
19592 module_srcdir=intl; \
19593 $(SHELL) $$s/$$module_srcdir/configure \
19594 --srcdir=$${topdir}/$$module_srcdir \
19595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19596 --target=${target_alias} \
19597 --with-build-libsubdir=$(HOST_SUBDIR) \
19598 $(STAGE2_CONFIGURE_FLAGS)
19599 @endif intl-bootstrap
19601 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19602 maybe-configure-stage3-intl:
19603 @if intl-bootstrap
19604 maybe-configure-stage3-intl: configure-stage3-intl
19605 configure-stage3-intl:
19606 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19608 @r=`${PWD_COMMAND}`; export r; \
19609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19610 TFLAGS="$(STAGE3_TFLAGS)"; \
19611 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19612 $(HOST_EXPORTS) \
19613 $(POSTSTAGE1_HOST_EXPORTS) \
19614 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19615 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19616 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19617 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19619 cd $(HOST_SUBDIR)/intl || exit 1; \
19620 case $(srcdir) in \
19621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19622 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19624 esac; \
19625 module_srcdir=intl; \
19626 $(SHELL) $$s/$$module_srcdir/configure \
19627 --srcdir=$${topdir}/$$module_srcdir \
19628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19629 --target=${target_alias} \
19630 --with-build-libsubdir=$(HOST_SUBDIR) \
19631 $(STAGE3_CONFIGURE_FLAGS)
19632 @endif intl-bootstrap
19634 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19635 maybe-configure-stage4-intl:
19636 @if intl-bootstrap
19637 maybe-configure-stage4-intl: configure-stage4-intl
19638 configure-stage4-intl:
19639 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19641 @r=`${PWD_COMMAND}`; export r; \
19642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19643 TFLAGS="$(STAGE4_TFLAGS)"; \
19644 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19645 $(HOST_EXPORTS) \
19646 $(POSTSTAGE1_HOST_EXPORTS) \
19647 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19648 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19649 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19650 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19652 cd $(HOST_SUBDIR)/intl || exit 1; \
19653 case $(srcdir) in \
19654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19655 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19657 esac; \
19658 module_srcdir=intl; \
19659 $(SHELL) $$s/$$module_srcdir/configure \
19660 --srcdir=$${topdir}/$$module_srcdir \
19661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19662 --target=${target_alias} \
19663 --with-build-libsubdir=$(HOST_SUBDIR) \
19664 $(STAGE4_CONFIGURE_FLAGS)
19665 @endif intl-bootstrap
19667 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19668 maybe-configure-stageprofile-intl:
19669 @if intl-bootstrap
19670 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19671 configure-stageprofile-intl:
19672 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19674 @r=`${PWD_COMMAND}`; export r; \
19675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19676 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19677 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19678 $(HOST_EXPORTS) \
19679 $(POSTSTAGE1_HOST_EXPORTS) \
19680 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19681 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19682 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19683 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19685 cd $(HOST_SUBDIR)/intl || exit 1; \
19686 case $(srcdir) in \
19687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19688 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19690 esac; \
19691 module_srcdir=intl; \
19692 $(SHELL) $$s/$$module_srcdir/configure \
19693 --srcdir=$${topdir}/$$module_srcdir \
19694 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19695 --target=${target_alias} \
19696 --with-build-libsubdir=$(HOST_SUBDIR) \
19697 $(STAGEprofile_CONFIGURE_FLAGS)
19698 @endif intl-bootstrap
19700 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19701 maybe-configure-stagetrain-intl:
19702 @if intl-bootstrap
19703 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19704 configure-stagetrain-intl:
19705 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19706 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19707 @r=`${PWD_COMMAND}`; export r; \
19708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19709 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19710 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19711 $(HOST_EXPORTS) \
19712 $(POSTSTAGE1_HOST_EXPORTS) \
19713 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19714 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19715 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19716 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19717 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19718 cd $(HOST_SUBDIR)/intl || exit 1; \
19719 case $(srcdir) in \
19720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19721 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19723 esac; \
19724 module_srcdir=intl; \
19725 $(SHELL) $$s/$$module_srcdir/configure \
19726 --srcdir=$${topdir}/$$module_srcdir \
19727 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19728 --target=${target_alias} \
19729 --with-build-libsubdir=$(HOST_SUBDIR) \
19730 $(STAGEtrain_CONFIGURE_FLAGS)
19731 @endif intl-bootstrap
19733 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19734 maybe-configure-stagefeedback-intl:
19735 @if intl-bootstrap
19736 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19737 configure-stagefeedback-intl:
19738 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19739 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19740 @r=`${PWD_COMMAND}`; export r; \
19741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19742 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19743 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19744 $(HOST_EXPORTS) \
19745 $(POSTSTAGE1_HOST_EXPORTS) \
19746 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19747 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19748 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19749 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19750 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19751 cd $(HOST_SUBDIR)/intl || exit 1; \
19752 case $(srcdir) in \
19753 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19754 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19755 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19756 esac; \
19757 module_srcdir=intl; \
19758 $(SHELL) $$s/$$module_srcdir/configure \
19759 --srcdir=$${topdir}/$$module_srcdir \
19760 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19761 --target=${target_alias} \
19762 --with-build-libsubdir=$(HOST_SUBDIR) \
19763 $(STAGEfeedback_CONFIGURE_FLAGS)
19764 @endif intl-bootstrap
19766 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19767 maybe-configure-stageautoprofile-intl:
19768 @if intl-bootstrap
19769 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19770 configure-stageautoprofile-intl:
19771 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19772 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19773 @r=`${PWD_COMMAND}`; export r; \
19774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19775 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19776 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19777 $(HOST_EXPORTS) \
19778 $(POSTSTAGE1_HOST_EXPORTS) \
19779 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19780 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19781 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19782 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19784 cd $(HOST_SUBDIR)/intl || exit 1; \
19785 case $(srcdir) in \
19786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19787 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19789 esac; \
19790 module_srcdir=intl; \
19791 $(SHELL) $$s/$$module_srcdir/configure \
19792 --srcdir=$${topdir}/$$module_srcdir \
19793 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19794 --target=${target_alias} \
19795 --with-build-libsubdir=$(HOST_SUBDIR) \
19796 $(STAGEautoprofile_CONFIGURE_FLAGS)
19797 @endif intl-bootstrap
19799 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19800 maybe-configure-stageautofeedback-intl:
19801 @if intl-bootstrap
19802 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19803 configure-stageautofeedback-intl:
19804 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19805 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19806 @r=`${PWD_COMMAND}`; export r; \
19807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19808 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19809 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19810 $(HOST_EXPORTS) \
19811 $(POSTSTAGE1_HOST_EXPORTS) \
19812 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19813 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19814 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19815 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
19816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19817 cd $(HOST_SUBDIR)/intl || exit 1; \
19818 case $(srcdir) in \
19819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19820 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19822 esac; \
19823 module_srcdir=intl; \
19824 $(SHELL) $$s/$$module_srcdir/configure \
19825 --srcdir=$${topdir}/$$module_srcdir \
19826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19827 --target=${target_alias} \
19828 --with-build-libsubdir=$(HOST_SUBDIR) \
19829 $(STAGEautofeedback_CONFIGURE_FLAGS)
19830 @endif intl-bootstrap
19836 .PHONY: all-intl maybe-all-intl
19837 maybe-all-intl:
19838 @if gcc-bootstrap
19839 all-intl: stage_current
19840 @endif gcc-bootstrap
19841 @if intl
19842 TARGET-intl=all
19843 maybe-all-intl: all-intl
19844 all-intl: configure-intl
19845 @r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 $(HOST_EXPORTS) \
19848 (cd $(HOST_SUBDIR)/intl && \
19849 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19850 $(TARGET-intl))
19851 @endif intl
19855 .PHONY: all-stage1-intl maybe-all-stage1-intl
19856 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
19857 maybe-all-stage1-intl:
19858 maybe-clean-stage1-intl:
19859 @if intl-bootstrap
19860 maybe-all-stage1-intl: all-stage1-intl
19861 all-stage1: all-stage1-intl
19862 TARGET-stage1-intl = $(TARGET-intl)
19863 all-stage1-intl: configure-stage1-intl
19864 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19865 @r=`${PWD_COMMAND}`; export r; \
19866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19867 TFLAGS="$(STAGE1_TFLAGS)"; \
19868 $(HOST_EXPORTS) \
19869 cd $(HOST_SUBDIR)/intl && \
19871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19872 CFLAGS="$(STAGE1_CFLAGS)" \
19873 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19874 LIBCFLAGS="$(LIBCFLAGS)" \
19875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19878 $(EXTRA_HOST_FLAGS) \
19879 $(STAGE1_FLAGS_TO_PASS) \
19880 TFLAGS="$(STAGE1_TFLAGS)" \
19881 $(TARGET-stage1-intl)
19883 maybe-clean-stage1-intl: clean-stage1-intl
19884 clean-stage1: clean-stage1-intl
19885 clean-stage1-intl:
19886 @if [ $(current_stage) = stage1 ]; then \
19887 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19888 else \
19889 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
19890 $(MAKE) stage1-start; \
19891 fi; \
19892 cd $(HOST_SUBDIR)/intl && \
19893 $(MAKE) $(EXTRA_HOST_FLAGS) \
19894 $(STAGE1_FLAGS_TO_PASS) clean
19895 @endif intl-bootstrap
19898 .PHONY: all-stage2-intl maybe-all-stage2-intl
19899 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
19900 maybe-all-stage2-intl:
19901 maybe-clean-stage2-intl:
19902 @if intl-bootstrap
19903 maybe-all-stage2-intl: all-stage2-intl
19904 all-stage2: all-stage2-intl
19905 TARGET-stage2-intl = $(TARGET-intl)
19906 all-stage2-intl: configure-stage2-intl
19907 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19908 @r=`${PWD_COMMAND}`; export r; \
19909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19910 TFLAGS="$(STAGE2_TFLAGS)"; \
19911 $(HOST_EXPORTS) \
19912 $(POSTSTAGE1_HOST_EXPORTS) \
19913 cd $(HOST_SUBDIR)/intl && \
19915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19916 CFLAGS="$(STAGE2_CFLAGS)" \
19917 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19918 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19919 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19920 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19921 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19922 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19923 TFLAGS="$(STAGE2_TFLAGS)" \
19924 $(TARGET-stage2-intl)
19926 maybe-clean-stage2-intl: clean-stage2-intl
19927 clean-stage2: clean-stage2-intl
19928 clean-stage2-intl:
19929 @if [ $(current_stage) = stage2 ]; then \
19930 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19931 else \
19932 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
19933 $(MAKE) stage2-start; \
19934 fi; \
19935 cd $(HOST_SUBDIR)/intl && \
19936 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19937 @endif intl-bootstrap
19940 .PHONY: all-stage3-intl maybe-all-stage3-intl
19941 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19942 maybe-all-stage3-intl:
19943 maybe-clean-stage3-intl:
19944 @if intl-bootstrap
19945 maybe-all-stage3-intl: all-stage3-intl
19946 all-stage3: all-stage3-intl
19947 TARGET-stage3-intl = $(TARGET-intl)
19948 all-stage3-intl: configure-stage3-intl
19949 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19950 @r=`${PWD_COMMAND}`; export r; \
19951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19952 TFLAGS="$(STAGE3_TFLAGS)"; \
19953 $(HOST_EXPORTS) \
19954 $(POSTSTAGE1_HOST_EXPORTS) \
19955 cd $(HOST_SUBDIR)/intl && \
19957 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19958 CFLAGS="$(STAGE3_CFLAGS)" \
19959 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19960 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19961 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19962 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19963 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19964 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19965 TFLAGS="$(STAGE3_TFLAGS)" \
19966 $(TARGET-stage3-intl)
19968 maybe-clean-stage3-intl: clean-stage3-intl
19969 clean-stage3: clean-stage3-intl
19970 clean-stage3-intl:
19971 @if [ $(current_stage) = stage3 ]; then \
19972 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19973 else \
19974 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
19975 $(MAKE) stage3-start; \
19976 fi; \
19977 cd $(HOST_SUBDIR)/intl && \
19978 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19979 @endif intl-bootstrap
19982 .PHONY: all-stage4-intl maybe-all-stage4-intl
19983 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
19984 maybe-all-stage4-intl:
19985 maybe-clean-stage4-intl:
19986 @if intl-bootstrap
19987 maybe-all-stage4-intl: all-stage4-intl
19988 all-stage4: all-stage4-intl
19989 TARGET-stage4-intl = $(TARGET-intl)
19990 all-stage4-intl: configure-stage4-intl
19991 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19992 @r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 TFLAGS="$(STAGE4_TFLAGS)"; \
19995 $(HOST_EXPORTS) \
19996 $(POSTSTAGE1_HOST_EXPORTS) \
19997 cd $(HOST_SUBDIR)/intl && \
19999 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20000 CFLAGS="$(STAGE4_CFLAGS)" \
20001 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20002 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20003 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20004 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20005 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20006 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20007 TFLAGS="$(STAGE4_TFLAGS)" \
20008 $(TARGET-stage4-intl)
20010 maybe-clean-stage4-intl: clean-stage4-intl
20011 clean-stage4: clean-stage4-intl
20012 clean-stage4-intl:
20013 @if [ $(current_stage) = stage4 ]; then \
20014 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20015 else \
20016 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20017 $(MAKE) stage4-start; \
20018 fi; \
20019 cd $(HOST_SUBDIR)/intl && \
20020 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20021 @endif intl-bootstrap
20024 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20025 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20026 maybe-all-stageprofile-intl:
20027 maybe-clean-stageprofile-intl:
20028 @if intl-bootstrap
20029 maybe-all-stageprofile-intl: all-stageprofile-intl
20030 all-stageprofile: all-stageprofile-intl
20031 TARGET-stageprofile-intl = $(TARGET-intl)
20032 all-stageprofile-intl: configure-stageprofile-intl
20033 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20034 @r=`${PWD_COMMAND}`; export r; \
20035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20036 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20037 $(HOST_EXPORTS) \
20038 $(POSTSTAGE1_HOST_EXPORTS) \
20039 cd $(HOST_SUBDIR)/intl && \
20041 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20042 CFLAGS="$(STAGEprofile_CFLAGS)" \
20043 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20044 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20045 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20046 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20047 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20048 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20049 TFLAGS="$(STAGEprofile_TFLAGS)" \
20050 $(TARGET-stageprofile-intl)
20052 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20053 clean-stageprofile: clean-stageprofile-intl
20054 clean-stageprofile-intl:
20055 @if [ $(current_stage) = stageprofile ]; then \
20056 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20057 else \
20058 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20059 $(MAKE) stageprofile-start; \
20060 fi; \
20061 cd $(HOST_SUBDIR)/intl && \
20062 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20063 @endif intl-bootstrap
20066 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20067 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20068 maybe-all-stagetrain-intl:
20069 maybe-clean-stagetrain-intl:
20070 @if intl-bootstrap
20071 maybe-all-stagetrain-intl: all-stagetrain-intl
20072 all-stagetrain: all-stagetrain-intl
20073 TARGET-stagetrain-intl = $(TARGET-intl)
20074 all-stagetrain-intl: configure-stagetrain-intl
20075 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20076 @r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20078 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20079 $(HOST_EXPORTS) \
20080 $(POSTSTAGE1_HOST_EXPORTS) \
20081 cd $(HOST_SUBDIR)/intl && \
20083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20084 CFLAGS="$(STAGEtrain_CFLAGS)" \
20085 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20086 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20090 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20091 TFLAGS="$(STAGEtrain_TFLAGS)" \
20092 $(TARGET-stagetrain-intl)
20094 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20095 clean-stagetrain: clean-stagetrain-intl
20096 clean-stagetrain-intl:
20097 @if [ $(current_stage) = stagetrain ]; then \
20098 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20099 else \
20100 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20101 $(MAKE) stagetrain-start; \
20102 fi; \
20103 cd $(HOST_SUBDIR)/intl && \
20104 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20105 @endif intl-bootstrap
20108 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20109 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20110 maybe-all-stagefeedback-intl:
20111 maybe-clean-stagefeedback-intl:
20112 @if intl-bootstrap
20113 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20114 all-stagefeedback: all-stagefeedback-intl
20115 TARGET-stagefeedback-intl = $(TARGET-intl)
20116 all-stagefeedback-intl: configure-stagefeedback-intl
20117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20118 @r=`${PWD_COMMAND}`; export r; \
20119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20121 $(HOST_EXPORTS) \
20122 $(POSTSTAGE1_HOST_EXPORTS) \
20123 cd $(HOST_SUBDIR)/intl && \
20125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20126 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20127 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20128 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20133 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20134 $(TARGET-stagefeedback-intl)
20136 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20137 clean-stagefeedback: clean-stagefeedback-intl
20138 clean-stagefeedback-intl:
20139 @if [ $(current_stage) = stagefeedback ]; then \
20140 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20141 else \
20142 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20143 $(MAKE) stagefeedback-start; \
20144 fi; \
20145 cd $(HOST_SUBDIR)/intl && \
20146 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20147 @endif intl-bootstrap
20150 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20151 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20152 maybe-all-stageautoprofile-intl:
20153 maybe-clean-stageautoprofile-intl:
20154 @if intl-bootstrap
20155 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20156 all-stageautoprofile: all-stageautoprofile-intl
20157 TARGET-stageautoprofile-intl = $(TARGET-intl)
20158 all-stageautoprofile-intl: configure-stageautoprofile-intl
20159 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20160 @r=`${PWD_COMMAND}`; export r; \
20161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20162 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20163 $(HOST_EXPORTS) \
20164 $(POSTSTAGE1_HOST_EXPORTS) \
20165 cd $(HOST_SUBDIR)/intl && \
20166 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20168 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20169 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20170 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20174 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20175 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20176 $(TARGET-stageautoprofile-intl)
20178 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20179 clean-stageautoprofile: clean-stageautoprofile-intl
20180 clean-stageautoprofile-intl:
20181 @if [ $(current_stage) = stageautoprofile ]; then \
20182 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20183 else \
20184 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20185 $(MAKE) stageautoprofile-start; \
20186 fi; \
20187 cd $(HOST_SUBDIR)/intl && \
20188 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20189 @endif intl-bootstrap
20192 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20193 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20194 maybe-all-stageautofeedback-intl:
20195 maybe-clean-stageautofeedback-intl:
20196 @if intl-bootstrap
20197 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20198 all-stageautofeedback: all-stageautofeedback-intl
20199 TARGET-stageautofeedback-intl = $(TARGET-intl)
20200 all-stageautofeedback-intl: configure-stageautofeedback-intl
20201 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20202 @r=`${PWD_COMMAND}`; export r; \
20203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20204 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20205 $(HOST_EXPORTS) \
20206 $(POSTSTAGE1_HOST_EXPORTS) \
20207 cd $(HOST_SUBDIR)/intl && \
20209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20210 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20211 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20212 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20216 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20217 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20218 $(TARGET-stageautofeedback-intl)
20220 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20221 clean-stageautofeedback: clean-stageautofeedback-intl
20222 clean-stageautofeedback-intl:
20223 @if [ $(current_stage) = stageautofeedback ]; then \
20224 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20225 else \
20226 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20227 $(MAKE) stageautofeedback-start; \
20228 fi; \
20229 cd $(HOST_SUBDIR)/intl && \
20230 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20231 @endif intl-bootstrap
20237 .PHONY: check-intl maybe-check-intl
20238 maybe-check-intl:
20239 @if intl
20240 maybe-check-intl: check-intl
20242 check-intl:
20243 @: $(MAKE); $(unstage)
20244 @r=`${PWD_COMMAND}`; export r; \
20245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20246 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20247 (cd $(HOST_SUBDIR)/intl && \
20248 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20250 @endif intl
20252 .PHONY: install-intl maybe-install-intl
20253 maybe-install-intl:
20254 @if intl
20255 maybe-install-intl: install-intl
20257 install-intl: installdirs
20258 @: $(MAKE); $(unstage)
20259 @r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20261 $(HOST_EXPORTS) \
20262 (cd $(HOST_SUBDIR)/intl && \
20263 $(MAKE) $(FLAGS_TO_PASS) install)
20265 @endif intl
20267 .PHONY: install-strip-intl maybe-install-strip-intl
20268 maybe-install-strip-intl:
20269 @if intl
20270 maybe-install-strip-intl: install-strip-intl
20272 install-strip-intl: installdirs
20273 @: $(MAKE); $(unstage)
20274 @r=`${PWD_COMMAND}`; export r; \
20275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20276 $(HOST_EXPORTS) \
20277 (cd $(HOST_SUBDIR)/intl && \
20278 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20280 @endif intl
20282 # Other targets (info, dvi, pdf, etc.)
20284 .PHONY: maybe-info-intl info-intl
20285 maybe-info-intl:
20286 @if intl
20287 maybe-info-intl: info-intl
20289 info-intl: \
20290 configure-intl
20291 @[ -f ./intl/Makefile ] || exit 0; \
20292 r=`${PWD_COMMAND}`; export r; \
20293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20294 $(HOST_EXPORTS) \
20295 for flag in $(EXTRA_HOST_FLAGS) ; do \
20296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20297 done; \
20298 echo "Doing info in intl"; \
20299 (cd $(HOST_SUBDIR)/intl && \
20300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20302 "RANLIB=$${RANLIB}" \
20303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20304 info) \
20305 || exit 1
20307 @endif intl
20309 .PHONY: maybe-dvi-intl dvi-intl
20310 maybe-dvi-intl:
20311 @if intl
20312 maybe-dvi-intl: dvi-intl
20314 dvi-intl: \
20315 configure-intl
20316 @[ -f ./intl/Makefile ] || exit 0; \
20317 r=`${PWD_COMMAND}`; export r; \
20318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20319 $(HOST_EXPORTS) \
20320 for flag in $(EXTRA_HOST_FLAGS) ; do \
20321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20322 done; \
20323 echo "Doing dvi in intl"; \
20324 (cd $(HOST_SUBDIR)/intl && \
20325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20327 "RANLIB=$${RANLIB}" \
20328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20329 dvi) \
20330 || exit 1
20332 @endif intl
20334 .PHONY: maybe-pdf-intl pdf-intl
20335 maybe-pdf-intl:
20336 @if intl
20337 maybe-pdf-intl: pdf-intl
20339 pdf-intl: \
20340 configure-intl
20341 @[ -f ./intl/Makefile ] || exit 0; \
20342 r=`${PWD_COMMAND}`; export r; \
20343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20344 $(HOST_EXPORTS) \
20345 for flag in $(EXTRA_HOST_FLAGS) ; do \
20346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20347 done; \
20348 echo "Doing pdf in intl"; \
20349 (cd $(HOST_SUBDIR)/intl && \
20350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20352 "RANLIB=$${RANLIB}" \
20353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20354 pdf) \
20355 || exit 1
20357 @endif intl
20359 .PHONY: maybe-html-intl html-intl
20360 maybe-html-intl:
20361 @if intl
20362 maybe-html-intl: html-intl
20364 html-intl: \
20365 configure-intl
20366 @[ -f ./intl/Makefile ] || exit 0; \
20367 r=`${PWD_COMMAND}`; export r; \
20368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20369 $(HOST_EXPORTS) \
20370 for flag in $(EXTRA_HOST_FLAGS) ; do \
20371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20372 done; \
20373 echo "Doing html in intl"; \
20374 (cd $(HOST_SUBDIR)/intl && \
20375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20377 "RANLIB=$${RANLIB}" \
20378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20379 html) \
20380 || exit 1
20382 @endif intl
20384 .PHONY: maybe-TAGS-intl TAGS-intl
20385 maybe-TAGS-intl:
20386 @if intl
20387 maybe-TAGS-intl: TAGS-intl
20389 TAGS-intl: \
20390 configure-intl
20391 @[ -f ./intl/Makefile ] || exit 0; \
20392 r=`${PWD_COMMAND}`; export r; \
20393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20394 $(HOST_EXPORTS) \
20395 for flag in $(EXTRA_HOST_FLAGS) ; do \
20396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20397 done; \
20398 echo "Doing TAGS in intl"; \
20399 (cd $(HOST_SUBDIR)/intl && \
20400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20402 "RANLIB=$${RANLIB}" \
20403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20404 TAGS) \
20405 || exit 1
20407 @endif intl
20409 .PHONY: maybe-install-info-intl install-info-intl
20410 maybe-install-info-intl:
20411 @if intl
20412 maybe-install-info-intl: install-info-intl
20414 install-info-intl: \
20415 configure-intl \
20416 info-intl
20417 @[ -f ./intl/Makefile ] || exit 0; \
20418 r=`${PWD_COMMAND}`; export r; \
20419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20420 $(HOST_EXPORTS) \
20421 for flag in $(EXTRA_HOST_FLAGS) ; do \
20422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20423 done; \
20424 echo "Doing install-info in intl"; \
20425 (cd $(HOST_SUBDIR)/intl && \
20426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20428 "RANLIB=$${RANLIB}" \
20429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20430 install-info) \
20431 || exit 1
20433 @endif intl
20435 .PHONY: maybe-install-pdf-intl install-pdf-intl
20436 maybe-install-pdf-intl:
20437 @if intl
20438 maybe-install-pdf-intl: install-pdf-intl
20440 install-pdf-intl: \
20441 configure-intl \
20442 pdf-intl
20443 @[ -f ./intl/Makefile ] || exit 0; \
20444 r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446 $(HOST_EXPORTS) \
20447 for flag in $(EXTRA_HOST_FLAGS) ; do \
20448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20449 done; \
20450 echo "Doing install-pdf in intl"; \
20451 (cd $(HOST_SUBDIR)/intl && \
20452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20454 "RANLIB=$${RANLIB}" \
20455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20456 install-pdf) \
20457 || exit 1
20459 @endif intl
20461 .PHONY: maybe-install-html-intl install-html-intl
20462 maybe-install-html-intl:
20463 @if intl
20464 maybe-install-html-intl: install-html-intl
20466 install-html-intl: \
20467 configure-intl \
20468 html-intl
20469 @[ -f ./intl/Makefile ] || exit 0; \
20470 r=`${PWD_COMMAND}`; export r; \
20471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20472 $(HOST_EXPORTS) \
20473 for flag in $(EXTRA_HOST_FLAGS) ; do \
20474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20475 done; \
20476 echo "Doing install-html in intl"; \
20477 (cd $(HOST_SUBDIR)/intl && \
20478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20480 "RANLIB=$${RANLIB}" \
20481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20482 install-html) \
20483 || exit 1
20485 @endif intl
20487 .PHONY: maybe-installcheck-intl installcheck-intl
20488 maybe-installcheck-intl:
20489 @if intl
20490 maybe-installcheck-intl: installcheck-intl
20492 installcheck-intl: \
20493 configure-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 installcheck 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 installcheck) \
20508 || exit 1
20510 @endif intl
20512 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20513 maybe-mostlyclean-intl:
20514 @if intl
20515 maybe-mostlyclean-intl: mostlyclean-intl
20517 mostlyclean-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 mostlyclean 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 mostlyclean) \
20532 || exit 1
20534 @endif intl
20536 .PHONY: maybe-clean-intl clean-intl
20537 maybe-clean-intl:
20538 @if intl
20539 maybe-clean-intl: clean-intl
20541 clean-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 clean 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 clean) \
20556 || exit 1
20558 @endif intl
20560 .PHONY: maybe-distclean-intl distclean-intl
20561 maybe-distclean-intl:
20562 @if intl
20563 maybe-distclean-intl: distclean-intl
20565 distclean-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 distclean 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 distclean) \
20580 || exit 1
20582 @endif intl
20584 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20585 maybe-maintainer-clean-intl:
20586 @if intl
20587 maybe-maintainer-clean-intl: maintainer-clean-intl
20589 maintainer-clean-intl:
20590 @[ -f ./intl/Makefile ] || exit 0; \
20591 r=`${PWD_COMMAND}`; export r; \
20592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20593 $(HOST_EXPORTS) \
20594 for flag in $(EXTRA_HOST_FLAGS) ; do \
20595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20596 done; \
20597 echo "Doing maintainer-clean in intl"; \
20598 (cd $(HOST_SUBDIR)/intl && \
20599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20601 "RANLIB=$${RANLIB}" \
20602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20603 maintainer-clean) \
20604 || exit 1
20606 @endif intl
20610 .PHONY: configure-tcl maybe-configure-tcl
20611 maybe-configure-tcl:
20612 @if gcc-bootstrap
20613 configure-tcl: stage_current
20614 @endif gcc-bootstrap
20615 @if tcl
20616 maybe-configure-tcl: configure-tcl
20617 configure-tcl:
20618 @: $(MAKE); $(unstage)
20619 @r=`${PWD_COMMAND}`; export r; \
20620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20621 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20623 $(HOST_EXPORTS) \
20624 echo Configuring in $(HOST_SUBDIR)/tcl; \
20625 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20626 case $(srcdir) in \
20627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20628 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20630 esac; \
20631 module_srcdir=tcl; \
20632 $(SHELL) \
20633 $$s/$$module_srcdir/configure \
20634 --srcdir=$${topdir}/$$module_srcdir \
20635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20636 --target=${target_alias} \
20637 || exit 1
20638 @endif tcl
20644 .PHONY: all-tcl maybe-all-tcl
20645 maybe-all-tcl:
20646 @if gcc-bootstrap
20647 all-tcl: stage_current
20648 @endif gcc-bootstrap
20649 @if tcl
20650 TARGET-tcl=all
20651 maybe-all-tcl: all-tcl
20652 all-tcl: configure-tcl
20653 @: $(MAKE); $(unstage)
20654 @r=`${PWD_COMMAND}`; export r; \
20655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20656 $(HOST_EXPORTS) \
20657 (cd $(HOST_SUBDIR)/tcl && \
20658 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20659 $(TARGET-tcl))
20660 @endif tcl
20665 .PHONY: check-tcl maybe-check-tcl
20666 maybe-check-tcl:
20667 @if tcl
20668 maybe-check-tcl: check-tcl
20670 check-tcl:
20671 @: $(MAKE); $(unstage)
20672 @r=`${PWD_COMMAND}`; export r; \
20673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20674 $(HOST_EXPORTS) \
20675 (cd $(HOST_SUBDIR)/tcl && \
20676 $(MAKE) $(FLAGS_TO_PASS) check)
20678 @endif tcl
20680 .PHONY: install-tcl maybe-install-tcl
20681 maybe-install-tcl:
20682 @if tcl
20683 maybe-install-tcl: install-tcl
20685 install-tcl: installdirs
20686 @: $(MAKE); $(unstage)
20687 @r=`${PWD_COMMAND}`; export r; \
20688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20689 $(HOST_EXPORTS) \
20690 (cd $(HOST_SUBDIR)/tcl && \
20691 $(MAKE) $(FLAGS_TO_PASS) install)
20693 @endif tcl
20695 .PHONY: install-strip-tcl maybe-install-strip-tcl
20696 maybe-install-strip-tcl:
20697 @if tcl
20698 maybe-install-strip-tcl: install-strip-tcl
20700 install-strip-tcl: installdirs
20701 @: $(MAKE); $(unstage)
20702 @r=`${PWD_COMMAND}`; export r; \
20703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20704 $(HOST_EXPORTS) \
20705 (cd $(HOST_SUBDIR)/tcl && \
20706 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20708 @endif tcl
20710 # Other targets (info, dvi, pdf, etc.)
20712 .PHONY: maybe-info-tcl info-tcl
20713 maybe-info-tcl:
20714 @if tcl
20715 maybe-info-tcl: info-tcl
20717 info-tcl: \
20718 configure-tcl
20719 @: $(MAKE); $(unstage)
20720 @[ -f ./tcl/Makefile ] || exit 0; \
20721 r=`${PWD_COMMAND}`; export r; \
20722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20723 $(HOST_EXPORTS) \
20724 for flag in $(EXTRA_HOST_FLAGS) ; do \
20725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20726 done; \
20727 echo "Doing info in tcl"; \
20728 (cd $(HOST_SUBDIR)/tcl && \
20729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20731 "RANLIB=$${RANLIB}" \
20732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20733 info) \
20734 || exit 1
20736 @endif tcl
20738 .PHONY: maybe-dvi-tcl dvi-tcl
20739 maybe-dvi-tcl:
20740 @if tcl
20741 maybe-dvi-tcl: dvi-tcl
20743 dvi-tcl: \
20744 configure-tcl
20745 @: $(MAKE); $(unstage)
20746 @[ -f ./tcl/Makefile ] || exit 0; \
20747 r=`${PWD_COMMAND}`; export r; \
20748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20749 $(HOST_EXPORTS) \
20750 for flag in $(EXTRA_HOST_FLAGS) ; do \
20751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20752 done; \
20753 echo "Doing dvi in tcl"; \
20754 (cd $(HOST_SUBDIR)/tcl && \
20755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20757 "RANLIB=$${RANLIB}" \
20758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20759 dvi) \
20760 || exit 1
20762 @endif tcl
20764 .PHONY: maybe-pdf-tcl pdf-tcl
20765 maybe-pdf-tcl:
20766 @if tcl
20767 maybe-pdf-tcl: pdf-tcl
20769 pdf-tcl: \
20770 configure-tcl
20771 @: $(MAKE); $(unstage)
20772 @[ -f ./tcl/Makefile ] || exit 0; \
20773 r=`${PWD_COMMAND}`; export r; \
20774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20775 $(HOST_EXPORTS) \
20776 for flag in $(EXTRA_HOST_FLAGS) ; do \
20777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20778 done; \
20779 echo "Doing pdf in tcl"; \
20780 (cd $(HOST_SUBDIR)/tcl && \
20781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20783 "RANLIB=$${RANLIB}" \
20784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20785 pdf) \
20786 || exit 1
20788 @endif tcl
20790 .PHONY: maybe-html-tcl html-tcl
20791 maybe-html-tcl:
20792 @if tcl
20793 maybe-html-tcl: html-tcl
20795 html-tcl: \
20796 configure-tcl
20797 @: $(MAKE); $(unstage)
20798 @[ -f ./tcl/Makefile ] || exit 0; \
20799 r=`${PWD_COMMAND}`; export r; \
20800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20801 $(HOST_EXPORTS) \
20802 for flag in $(EXTRA_HOST_FLAGS) ; do \
20803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20804 done; \
20805 echo "Doing html in tcl"; \
20806 (cd $(HOST_SUBDIR)/tcl && \
20807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20809 "RANLIB=$${RANLIB}" \
20810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20811 html) \
20812 || exit 1
20814 @endif tcl
20816 .PHONY: maybe-TAGS-tcl TAGS-tcl
20817 maybe-TAGS-tcl:
20818 @if tcl
20819 maybe-TAGS-tcl: TAGS-tcl
20821 TAGS-tcl: \
20822 configure-tcl
20823 @: $(MAKE); $(unstage)
20824 @[ -f ./tcl/Makefile ] || exit 0; \
20825 r=`${PWD_COMMAND}`; export r; \
20826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20827 $(HOST_EXPORTS) \
20828 for flag in $(EXTRA_HOST_FLAGS) ; do \
20829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20830 done; \
20831 echo "Doing TAGS in tcl"; \
20832 (cd $(HOST_SUBDIR)/tcl && \
20833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20835 "RANLIB=$${RANLIB}" \
20836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20837 TAGS) \
20838 || exit 1
20840 @endif tcl
20842 .PHONY: maybe-install-info-tcl install-info-tcl
20843 maybe-install-info-tcl:
20844 @if tcl
20845 maybe-install-info-tcl: install-info-tcl
20847 install-info-tcl: \
20848 configure-tcl \
20849 info-tcl
20850 @: $(MAKE); $(unstage)
20851 @[ -f ./tcl/Makefile ] || exit 0; \
20852 r=`${PWD_COMMAND}`; export r; \
20853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20854 $(HOST_EXPORTS) \
20855 for flag in $(EXTRA_HOST_FLAGS) ; do \
20856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20857 done; \
20858 echo "Doing install-info in tcl"; \
20859 (cd $(HOST_SUBDIR)/tcl && \
20860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20862 "RANLIB=$${RANLIB}" \
20863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20864 install-info) \
20865 || exit 1
20867 @endif tcl
20869 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
20870 maybe-install-pdf-tcl:
20871 @if tcl
20872 maybe-install-pdf-tcl: install-pdf-tcl
20874 install-pdf-tcl: \
20875 configure-tcl \
20876 pdf-tcl
20877 @: $(MAKE); $(unstage)
20878 @[ -f ./tcl/Makefile ] || exit 0; \
20879 r=`${PWD_COMMAND}`; export r; \
20880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20881 $(HOST_EXPORTS) \
20882 for flag in $(EXTRA_HOST_FLAGS) ; do \
20883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20884 done; \
20885 echo "Doing install-pdf in tcl"; \
20886 (cd $(HOST_SUBDIR)/tcl && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20889 "RANLIB=$${RANLIB}" \
20890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20891 install-pdf) \
20892 || exit 1
20894 @endif tcl
20896 .PHONY: maybe-install-html-tcl install-html-tcl
20897 maybe-install-html-tcl:
20898 @if tcl
20899 maybe-install-html-tcl: install-html-tcl
20901 install-html-tcl: \
20902 configure-tcl \
20903 html-tcl
20904 @: $(MAKE); $(unstage)
20905 @[ -f ./tcl/Makefile ] || exit 0; \
20906 r=`${PWD_COMMAND}`; export r; \
20907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20908 $(HOST_EXPORTS) \
20909 for flag in $(EXTRA_HOST_FLAGS) ; do \
20910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20911 done; \
20912 echo "Doing install-html in tcl"; \
20913 (cd $(HOST_SUBDIR)/tcl && \
20914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20916 "RANLIB=$${RANLIB}" \
20917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20918 install-html) \
20919 || exit 1
20921 @endif tcl
20923 .PHONY: maybe-installcheck-tcl installcheck-tcl
20924 maybe-installcheck-tcl:
20925 @if tcl
20926 maybe-installcheck-tcl: installcheck-tcl
20928 installcheck-tcl: \
20929 configure-tcl
20930 @: $(MAKE); $(unstage)
20931 @[ -f ./tcl/Makefile ] || exit 0; \
20932 r=`${PWD_COMMAND}`; export r; \
20933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 $(HOST_EXPORTS) \
20935 for flag in $(EXTRA_HOST_FLAGS) ; do \
20936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20937 done; \
20938 echo "Doing installcheck in tcl"; \
20939 (cd $(HOST_SUBDIR)/tcl && \
20940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20942 "RANLIB=$${RANLIB}" \
20943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20944 installcheck) \
20945 || exit 1
20947 @endif tcl
20949 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
20950 maybe-mostlyclean-tcl:
20951 @if tcl
20952 maybe-mostlyclean-tcl: mostlyclean-tcl
20954 # tcl doesn't support mostlyclean.
20955 mostlyclean-tcl:
20957 @endif tcl
20959 .PHONY: maybe-clean-tcl clean-tcl
20960 maybe-clean-tcl:
20961 @if tcl
20962 maybe-clean-tcl: clean-tcl
20964 clean-tcl:
20965 @: $(MAKE); $(unstage)
20966 @[ -f ./tcl/Makefile ] || exit 0; \
20967 r=`${PWD_COMMAND}`; export r; \
20968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20969 $(HOST_EXPORTS) \
20970 for flag in $(EXTRA_HOST_FLAGS) ; do \
20971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20972 done; \
20973 echo "Doing clean in tcl"; \
20974 (cd $(HOST_SUBDIR)/tcl && \
20975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20977 "RANLIB=$${RANLIB}" \
20978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20979 clean) \
20980 || exit 1
20982 @endif tcl
20984 .PHONY: maybe-distclean-tcl distclean-tcl
20985 maybe-distclean-tcl:
20986 @if tcl
20987 maybe-distclean-tcl: distclean-tcl
20989 distclean-tcl:
20990 @: $(MAKE); $(unstage)
20991 @[ -f ./tcl/Makefile ] || exit 0; \
20992 r=`${PWD_COMMAND}`; export r; \
20993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20994 $(HOST_EXPORTS) \
20995 for flag in $(EXTRA_HOST_FLAGS) ; do \
20996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20997 done; \
20998 echo "Doing distclean in tcl"; \
20999 (cd $(HOST_SUBDIR)/tcl && \
21000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21002 "RANLIB=$${RANLIB}" \
21003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21004 distclean) \
21005 || exit 1
21007 @endif tcl
21009 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21010 maybe-maintainer-clean-tcl:
21011 @if tcl
21012 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21014 maintainer-clean-tcl:
21015 @: $(MAKE); $(unstage)
21016 @[ -f ./tcl/Makefile ] || exit 0; \
21017 r=`${PWD_COMMAND}`; export r; \
21018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21019 $(HOST_EXPORTS) \
21020 for flag in $(EXTRA_HOST_FLAGS) ; do \
21021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21022 done; \
21023 echo "Doing maintainer-clean in tcl"; \
21024 (cd $(HOST_SUBDIR)/tcl && \
21025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21027 "RANLIB=$${RANLIB}" \
21028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21029 maintainer-clean) \
21030 || exit 1
21032 @endif tcl
21036 .PHONY: configure-itcl maybe-configure-itcl
21037 maybe-configure-itcl:
21038 @if gcc-bootstrap
21039 configure-itcl: stage_current
21040 @endif gcc-bootstrap
21041 @if itcl
21042 maybe-configure-itcl: configure-itcl
21043 configure-itcl:
21044 @: $(MAKE); $(unstage)
21045 @r=`${PWD_COMMAND}`; export r; \
21046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21047 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21049 $(HOST_EXPORTS) \
21050 echo Configuring in $(HOST_SUBDIR)/itcl; \
21051 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21052 case $(srcdir) in \
21053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21054 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21056 esac; \
21057 module_srcdir=itcl; \
21058 $(SHELL) \
21059 $$s/$$module_srcdir/configure \
21060 --srcdir=$${topdir}/$$module_srcdir \
21061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21062 --target=${target_alias} \
21063 || exit 1
21064 @endif itcl
21070 .PHONY: all-itcl maybe-all-itcl
21071 maybe-all-itcl:
21072 @if gcc-bootstrap
21073 all-itcl: stage_current
21074 @endif gcc-bootstrap
21075 @if itcl
21076 TARGET-itcl=all
21077 maybe-all-itcl: all-itcl
21078 all-itcl: configure-itcl
21079 @: $(MAKE); $(unstage)
21080 @r=`${PWD_COMMAND}`; export r; \
21081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21082 $(HOST_EXPORTS) \
21083 (cd $(HOST_SUBDIR)/itcl && \
21084 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21085 $(TARGET-itcl))
21086 @endif itcl
21091 .PHONY: check-itcl maybe-check-itcl
21092 maybe-check-itcl:
21093 @if itcl
21094 maybe-check-itcl: check-itcl
21096 check-itcl:
21097 @: $(MAKE); $(unstage)
21098 @r=`${PWD_COMMAND}`; export r; \
21099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21100 $(HOST_EXPORTS) \
21101 (cd $(HOST_SUBDIR)/itcl && \
21102 $(MAKE) $(FLAGS_TO_PASS) check)
21104 @endif itcl
21106 .PHONY: install-itcl maybe-install-itcl
21107 maybe-install-itcl:
21108 @if itcl
21109 maybe-install-itcl: install-itcl
21111 install-itcl: installdirs
21112 @: $(MAKE); $(unstage)
21113 @r=`${PWD_COMMAND}`; export r; \
21114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21115 $(HOST_EXPORTS) \
21116 (cd $(HOST_SUBDIR)/itcl && \
21117 $(MAKE) $(FLAGS_TO_PASS) install)
21119 @endif itcl
21121 .PHONY: install-strip-itcl maybe-install-strip-itcl
21122 maybe-install-strip-itcl:
21123 @if itcl
21124 maybe-install-strip-itcl: install-strip-itcl
21126 install-strip-itcl: installdirs
21127 @: $(MAKE); $(unstage)
21128 @r=`${PWD_COMMAND}`; export r; \
21129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21130 $(HOST_EXPORTS) \
21131 (cd $(HOST_SUBDIR)/itcl && \
21132 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21134 @endif itcl
21136 # Other targets (info, dvi, pdf, etc.)
21138 .PHONY: maybe-info-itcl info-itcl
21139 maybe-info-itcl:
21140 @if itcl
21141 maybe-info-itcl: info-itcl
21143 info-itcl: \
21144 configure-itcl
21145 @: $(MAKE); $(unstage)
21146 @[ -f ./itcl/Makefile ] || exit 0; \
21147 r=`${PWD_COMMAND}`; export r; \
21148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21149 $(HOST_EXPORTS) \
21150 for flag in $(EXTRA_HOST_FLAGS) ; do \
21151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21152 done; \
21153 echo "Doing info in itcl"; \
21154 (cd $(HOST_SUBDIR)/itcl && \
21155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21157 "RANLIB=$${RANLIB}" \
21158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21159 info) \
21160 || exit 1
21162 @endif itcl
21164 .PHONY: maybe-dvi-itcl dvi-itcl
21165 maybe-dvi-itcl:
21166 @if itcl
21167 maybe-dvi-itcl: dvi-itcl
21169 dvi-itcl: \
21170 configure-itcl
21171 @: $(MAKE); $(unstage)
21172 @[ -f ./itcl/Makefile ] || exit 0; \
21173 r=`${PWD_COMMAND}`; export r; \
21174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21175 $(HOST_EXPORTS) \
21176 for flag in $(EXTRA_HOST_FLAGS) ; do \
21177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21178 done; \
21179 echo "Doing dvi in itcl"; \
21180 (cd $(HOST_SUBDIR)/itcl && \
21181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21183 "RANLIB=$${RANLIB}" \
21184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21185 dvi) \
21186 || exit 1
21188 @endif itcl
21190 .PHONY: maybe-pdf-itcl pdf-itcl
21191 maybe-pdf-itcl:
21192 @if itcl
21193 maybe-pdf-itcl: pdf-itcl
21195 pdf-itcl: \
21196 configure-itcl
21197 @: $(MAKE); $(unstage)
21198 @[ -f ./itcl/Makefile ] || exit 0; \
21199 r=`${PWD_COMMAND}`; export r; \
21200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21201 $(HOST_EXPORTS) \
21202 for flag in $(EXTRA_HOST_FLAGS) ; do \
21203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21204 done; \
21205 echo "Doing pdf in itcl"; \
21206 (cd $(HOST_SUBDIR)/itcl && \
21207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21209 "RANLIB=$${RANLIB}" \
21210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21211 pdf) \
21212 || exit 1
21214 @endif itcl
21216 .PHONY: maybe-html-itcl html-itcl
21217 maybe-html-itcl:
21218 @if itcl
21219 maybe-html-itcl: html-itcl
21221 html-itcl: \
21222 configure-itcl
21223 @: $(MAKE); $(unstage)
21224 @[ -f ./itcl/Makefile ] || exit 0; \
21225 r=`${PWD_COMMAND}`; export r; \
21226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21227 $(HOST_EXPORTS) \
21228 for flag in $(EXTRA_HOST_FLAGS) ; do \
21229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21230 done; \
21231 echo "Doing html in itcl"; \
21232 (cd $(HOST_SUBDIR)/itcl && \
21233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21235 "RANLIB=$${RANLIB}" \
21236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21237 html) \
21238 || exit 1
21240 @endif itcl
21242 .PHONY: maybe-TAGS-itcl TAGS-itcl
21243 maybe-TAGS-itcl:
21244 @if itcl
21245 maybe-TAGS-itcl: TAGS-itcl
21247 TAGS-itcl: \
21248 configure-itcl
21249 @: $(MAKE); $(unstage)
21250 @[ -f ./itcl/Makefile ] || exit 0; \
21251 r=`${PWD_COMMAND}`; export r; \
21252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21253 $(HOST_EXPORTS) \
21254 for flag in $(EXTRA_HOST_FLAGS) ; do \
21255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21256 done; \
21257 echo "Doing TAGS in itcl"; \
21258 (cd $(HOST_SUBDIR)/itcl && \
21259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21261 "RANLIB=$${RANLIB}" \
21262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21263 TAGS) \
21264 || exit 1
21266 @endif itcl
21268 .PHONY: maybe-install-info-itcl install-info-itcl
21269 maybe-install-info-itcl:
21270 @if itcl
21271 maybe-install-info-itcl: install-info-itcl
21273 install-info-itcl: \
21274 configure-itcl \
21275 info-itcl
21276 @: $(MAKE); $(unstage)
21277 @[ -f ./itcl/Makefile ] || exit 0; \
21278 r=`${PWD_COMMAND}`; export r; \
21279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21280 $(HOST_EXPORTS) \
21281 for flag in $(EXTRA_HOST_FLAGS) ; do \
21282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21283 done; \
21284 echo "Doing install-info in itcl"; \
21285 (cd $(HOST_SUBDIR)/itcl && \
21286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21288 "RANLIB=$${RANLIB}" \
21289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21290 install-info) \
21291 || exit 1
21293 @endif itcl
21295 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21296 maybe-install-pdf-itcl:
21297 @if itcl
21298 maybe-install-pdf-itcl: install-pdf-itcl
21300 install-pdf-itcl: \
21301 configure-itcl \
21302 pdf-itcl
21303 @: $(MAKE); $(unstage)
21304 @[ -f ./itcl/Makefile ] || exit 0; \
21305 r=`${PWD_COMMAND}`; export r; \
21306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21307 $(HOST_EXPORTS) \
21308 for flag in $(EXTRA_HOST_FLAGS) ; do \
21309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21310 done; \
21311 echo "Doing install-pdf in itcl"; \
21312 (cd $(HOST_SUBDIR)/itcl && \
21313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21315 "RANLIB=$${RANLIB}" \
21316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21317 install-pdf) \
21318 || exit 1
21320 @endif itcl
21322 .PHONY: maybe-install-html-itcl install-html-itcl
21323 maybe-install-html-itcl:
21324 @if itcl
21325 maybe-install-html-itcl: install-html-itcl
21327 install-html-itcl: \
21328 configure-itcl \
21329 html-itcl
21330 @: $(MAKE); $(unstage)
21331 @[ -f ./itcl/Makefile ] || exit 0; \
21332 r=`${PWD_COMMAND}`; export r; \
21333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21334 $(HOST_EXPORTS) \
21335 for flag in $(EXTRA_HOST_FLAGS) ; do \
21336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21337 done; \
21338 echo "Doing install-html in itcl"; \
21339 (cd $(HOST_SUBDIR)/itcl && \
21340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21342 "RANLIB=$${RANLIB}" \
21343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21344 install-html) \
21345 || exit 1
21347 @endif itcl
21349 .PHONY: maybe-installcheck-itcl installcheck-itcl
21350 maybe-installcheck-itcl:
21351 @if itcl
21352 maybe-installcheck-itcl: installcheck-itcl
21354 installcheck-itcl: \
21355 configure-itcl
21356 @: $(MAKE); $(unstage)
21357 @[ -f ./itcl/Makefile ] || exit 0; \
21358 r=`${PWD_COMMAND}`; export r; \
21359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21360 $(HOST_EXPORTS) \
21361 for flag in $(EXTRA_HOST_FLAGS) ; do \
21362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21363 done; \
21364 echo "Doing installcheck in itcl"; \
21365 (cd $(HOST_SUBDIR)/itcl && \
21366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21368 "RANLIB=$${RANLIB}" \
21369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21370 installcheck) \
21371 || exit 1
21373 @endif itcl
21375 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21376 maybe-mostlyclean-itcl:
21377 @if itcl
21378 maybe-mostlyclean-itcl: mostlyclean-itcl
21380 mostlyclean-itcl:
21381 @: $(MAKE); $(unstage)
21382 @[ -f ./itcl/Makefile ] || exit 0; \
21383 r=`${PWD_COMMAND}`; export r; \
21384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21385 $(HOST_EXPORTS) \
21386 for flag in $(EXTRA_HOST_FLAGS) ; do \
21387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21388 done; \
21389 echo "Doing mostlyclean in itcl"; \
21390 (cd $(HOST_SUBDIR)/itcl && \
21391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21393 "RANLIB=$${RANLIB}" \
21394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21395 mostlyclean) \
21396 || exit 1
21398 @endif itcl
21400 .PHONY: maybe-clean-itcl clean-itcl
21401 maybe-clean-itcl:
21402 @if itcl
21403 maybe-clean-itcl: clean-itcl
21405 clean-itcl:
21406 @: $(MAKE); $(unstage)
21407 @[ -f ./itcl/Makefile ] || exit 0; \
21408 r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 $(HOST_EXPORTS) \
21411 for flag in $(EXTRA_HOST_FLAGS) ; do \
21412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21413 done; \
21414 echo "Doing clean in itcl"; \
21415 (cd $(HOST_SUBDIR)/itcl && \
21416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21418 "RANLIB=$${RANLIB}" \
21419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21420 clean) \
21421 || exit 1
21423 @endif itcl
21425 .PHONY: maybe-distclean-itcl distclean-itcl
21426 maybe-distclean-itcl:
21427 @if itcl
21428 maybe-distclean-itcl: distclean-itcl
21430 distclean-itcl:
21431 @: $(MAKE); $(unstage)
21432 @[ -f ./itcl/Makefile ] || exit 0; \
21433 r=`${PWD_COMMAND}`; export r; \
21434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21435 $(HOST_EXPORTS) \
21436 for flag in $(EXTRA_HOST_FLAGS) ; do \
21437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21438 done; \
21439 echo "Doing distclean in itcl"; \
21440 (cd $(HOST_SUBDIR)/itcl && \
21441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21443 "RANLIB=$${RANLIB}" \
21444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21445 distclean) \
21446 || exit 1
21448 @endif itcl
21450 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21451 maybe-maintainer-clean-itcl:
21452 @if itcl
21453 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21455 maintainer-clean-itcl:
21456 @: $(MAKE); $(unstage)
21457 @[ -f ./itcl/Makefile ] || exit 0; \
21458 r=`${PWD_COMMAND}`; export r; \
21459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21460 $(HOST_EXPORTS) \
21461 for flag in $(EXTRA_HOST_FLAGS) ; do \
21462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21463 done; \
21464 echo "Doing maintainer-clean in itcl"; \
21465 (cd $(HOST_SUBDIR)/itcl && \
21466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21468 "RANLIB=$${RANLIB}" \
21469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21470 maintainer-clean) \
21471 || exit 1
21473 @endif itcl
21477 .PHONY: configure-ld maybe-configure-ld
21478 maybe-configure-ld:
21479 @if gcc-bootstrap
21480 configure-ld: stage_current
21481 @endif gcc-bootstrap
21482 @if ld
21483 maybe-configure-ld: configure-ld
21484 configure-ld:
21485 @r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21489 $(HOST_EXPORTS) \
21490 echo Configuring in $(HOST_SUBDIR)/ld; \
21491 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21492 case $(srcdir) in \
21493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21494 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21496 esac; \
21497 module_srcdir=ld; \
21498 $(SHELL) \
21499 $$s/$$module_srcdir/configure \
21500 --srcdir=$${topdir}/$$module_srcdir \
21501 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21502 --target=${target_alias} \
21503 || exit 1
21504 @endif ld
21508 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21509 maybe-configure-stage1-ld:
21510 @if ld-bootstrap
21511 maybe-configure-stage1-ld: configure-stage1-ld
21512 configure-stage1-ld:
21513 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21514 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21515 @r=`${PWD_COMMAND}`; export r; \
21516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21517 TFLAGS="$(STAGE1_TFLAGS)"; \
21518 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21519 $(HOST_EXPORTS) \
21520 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21521 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21522 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21523 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21524 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21525 cd $(HOST_SUBDIR)/ld || exit 1; \
21526 case $(srcdir) in \
21527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21528 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21530 esac; \
21531 module_srcdir=ld; \
21532 $(SHELL) $$s/$$module_srcdir/configure \
21533 --srcdir=$${topdir}/$$module_srcdir \
21534 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21535 --target=${target_alias} \
21537 $(STAGE1_CONFIGURE_FLAGS)
21538 @endif ld-bootstrap
21540 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21541 maybe-configure-stage2-ld:
21542 @if ld-bootstrap
21543 maybe-configure-stage2-ld: configure-stage2-ld
21544 configure-stage2-ld:
21545 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21546 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21547 @r=`${PWD_COMMAND}`; export r; \
21548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21549 TFLAGS="$(STAGE2_TFLAGS)"; \
21550 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21551 $(HOST_EXPORTS) \
21552 $(POSTSTAGE1_HOST_EXPORTS) \
21553 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21554 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21555 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21556 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21558 cd $(HOST_SUBDIR)/ld || exit 1; \
21559 case $(srcdir) in \
21560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21561 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21563 esac; \
21564 module_srcdir=ld; \
21565 $(SHELL) $$s/$$module_srcdir/configure \
21566 --srcdir=$${topdir}/$$module_srcdir \
21567 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21568 --target=${target_alias} \
21569 --with-build-libsubdir=$(HOST_SUBDIR) \
21570 $(STAGE2_CONFIGURE_FLAGS)
21571 @endif ld-bootstrap
21573 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21574 maybe-configure-stage3-ld:
21575 @if ld-bootstrap
21576 maybe-configure-stage3-ld: configure-stage3-ld
21577 configure-stage3-ld:
21578 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21579 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21580 @r=`${PWD_COMMAND}`; export r; \
21581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21582 TFLAGS="$(STAGE3_TFLAGS)"; \
21583 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21584 $(HOST_EXPORTS) \
21585 $(POSTSTAGE1_HOST_EXPORTS) \
21586 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21587 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21588 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21589 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21591 cd $(HOST_SUBDIR)/ld || exit 1; \
21592 case $(srcdir) in \
21593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21594 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21596 esac; \
21597 module_srcdir=ld; \
21598 $(SHELL) $$s/$$module_srcdir/configure \
21599 --srcdir=$${topdir}/$$module_srcdir \
21600 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21601 --target=${target_alias} \
21602 --with-build-libsubdir=$(HOST_SUBDIR) \
21603 $(STAGE3_CONFIGURE_FLAGS)
21604 @endif ld-bootstrap
21606 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21607 maybe-configure-stage4-ld:
21608 @if ld-bootstrap
21609 maybe-configure-stage4-ld: configure-stage4-ld
21610 configure-stage4-ld:
21611 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21613 @r=`${PWD_COMMAND}`; export r; \
21614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21615 TFLAGS="$(STAGE4_TFLAGS)"; \
21616 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21617 $(HOST_EXPORTS) \
21618 $(POSTSTAGE1_HOST_EXPORTS) \
21619 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21620 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21621 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21622 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21624 cd $(HOST_SUBDIR)/ld || exit 1; \
21625 case $(srcdir) in \
21626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21627 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21629 esac; \
21630 module_srcdir=ld; \
21631 $(SHELL) $$s/$$module_srcdir/configure \
21632 --srcdir=$${topdir}/$$module_srcdir \
21633 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21634 --target=${target_alias} \
21635 --with-build-libsubdir=$(HOST_SUBDIR) \
21636 $(STAGE4_CONFIGURE_FLAGS)
21637 @endif ld-bootstrap
21639 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21640 maybe-configure-stageprofile-ld:
21641 @if ld-bootstrap
21642 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21643 configure-stageprofile-ld:
21644 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21645 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21646 @r=`${PWD_COMMAND}`; export r; \
21647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21648 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21649 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21650 $(HOST_EXPORTS) \
21651 $(POSTSTAGE1_HOST_EXPORTS) \
21652 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21653 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21654 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21655 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21657 cd $(HOST_SUBDIR)/ld || exit 1; \
21658 case $(srcdir) in \
21659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21660 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21662 esac; \
21663 module_srcdir=ld; \
21664 $(SHELL) $$s/$$module_srcdir/configure \
21665 --srcdir=$${topdir}/$$module_srcdir \
21666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21667 --target=${target_alias} \
21668 --with-build-libsubdir=$(HOST_SUBDIR) \
21669 $(STAGEprofile_CONFIGURE_FLAGS)
21670 @endif ld-bootstrap
21672 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21673 maybe-configure-stagetrain-ld:
21674 @if ld-bootstrap
21675 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21676 configure-stagetrain-ld:
21677 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21679 @r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21682 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21683 $(HOST_EXPORTS) \
21684 $(POSTSTAGE1_HOST_EXPORTS) \
21685 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21686 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21687 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21688 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21690 cd $(HOST_SUBDIR)/ld || exit 1; \
21691 case $(srcdir) in \
21692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21693 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21695 esac; \
21696 module_srcdir=ld; \
21697 $(SHELL) $$s/$$module_srcdir/configure \
21698 --srcdir=$${topdir}/$$module_srcdir \
21699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21700 --target=${target_alias} \
21701 --with-build-libsubdir=$(HOST_SUBDIR) \
21702 $(STAGEtrain_CONFIGURE_FLAGS)
21703 @endif ld-bootstrap
21705 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21706 maybe-configure-stagefeedback-ld:
21707 @if ld-bootstrap
21708 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21709 configure-stagefeedback-ld:
21710 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21711 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21712 @r=`${PWD_COMMAND}`; export r; \
21713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21714 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21715 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21716 $(HOST_EXPORTS) \
21717 $(POSTSTAGE1_HOST_EXPORTS) \
21718 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21719 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21720 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21721 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21723 cd $(HOST_SUBDIR)/ld || exit 1; \
21724 case $(srcdir) in \
21725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21726 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21728 esac; \
21729 module_srcdir=ld; \
21730 $(SHELL) $$s/$$module_srcdir/configure \
21731 --srcdir=$${topdir}/$$module_srcdir \
21732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21733 --target=${target_alias} \
21734 --with-build-libsubdir=$(HOST_SUBDIR) \
21735 $(STAGEfeedback_CONFIGURE_FLAGS)
21736 @endif ld-bootstrap
21738 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21739 maybe-configure-stageautoprofile-ld:
21740 @if ld-bootstrap
21741 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21742 configure-stageautoprofile-ld:
21743 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21744 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21745 @r=`${PWD_COMMAND}`; export r; \
21746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21747 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21748 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21749 $(HOST_EXPORTS) \
21750 $(POSTSTAGE1_HOST_EXPORTS) \
21751 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21752 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21753 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21754 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21756 cd $(HOST_SUBDIR)/ld || exit 1; \
21757 case $(srcdir) in \
21758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21759 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21761 esac; \
21762 module_srcdir=ld; \
21763 $(SHELL) $$s/$$module_srcdir/configure \
21764 --srcdir=$${topdir}/$$module_srcdir \
21765 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21766 --target=${target_alias} \
21767 --with-build-libsubdir=$(HOST_SUBDIR) \
21768 $(STAGEautoprofile_CONFIGURE_FLAGS)
21769 @endif ld-bootstrap
21771 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21772 maybe-configure-stageautofeedback-ld:
21773 @if ld-bootstrap
21774 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21775 configure-stageautofeedback-ld:
21776 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21778 @r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21780 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21781 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21782 $(HOST_EXPORTS) \
21783 $(POSTSTAGE1_HOST_EXPORTS) \
21784 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21785 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21786 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21787 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21789 cd $(HOST_SUBDIR)/ld || exit 1; \
21790 case $(srcdir) in \
21791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21792 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21794 esac; \
21795 module_srcdir=ld; \
21796 $(SHELL) $$s/$$module_srcdir/configure \
21797 --srcdir=$${topdir}/$$module_srcdir \
21798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21799 --target=${target_alias} \
21800 --with-build-libsubdir=$(HOST_SUBDIR) \
21801 $(STAGEautofeedback_CONFIGURE_FLAGS)
21802 @endif ld-bootstrap
21808 .PHONY: all-ld maybe-all-ld
21809 maybe-all-ld:
21810 @if gcc-bootstrap
21811 all-ld: stage_current
21812 @endif gcc-bootstrap
21813 @if ld
21814 TARGET-ld=all
21815 maybe-all-ld: all-ld
21816 all-ld: configure-ld
21817 @r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819 $(HOST_EXPORTS) \
21820 (cd $(HOST_SUBDIR)/ld && \
21821 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21822 $(TARGET-ld))
21823 @endif ld
21827 .PHONY: all-stage1-ld maybe-all-stage1-ld
21828 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
21829 maybe-all-stage1-ld:
21830 maybe-clean-stage1-ld:
21831 @if ld-bootstrap
21832 maybe-all-stage1-ld: all-stage1-ld
21833 all-stage1: all-stage1-ld
21834 TARGET-stage1-ld = $(TARGET-ld)
21835 all-stage1-ld: configure-stage1-ld
21836 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21837 @r=`${PWD_COMMAND}`; export r; \
21838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21839 TFLAGS="$(STAGE1_TFLAGS)"; \
21840 $(HOST_EXPORTS) \
21841 cd $(HOST_SUBDIR)/ld && \
21843 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21844 CFLAGS="$(STAGE1_CFLAGS)" \
21845 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21846 LIBCFLAGS="$(LIBCFLAGS)" \
21847 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21848 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21849 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21850 $(EXTRA_HOST_FLAGS) \
21851 $(STAGE1_FLAGS_TO_PASS) \
21852 TFLAGS="$(STAGE1_TFLAGS)" \
21853 $(TARGET-stage1-ld)
21855 maybe-clean-stage1-ld: clean-stage1-ld
21856 clean-stage1: clean-stage1-ld
21857 clean-stage1-ld:
21858 @if [ $(current_stage) = stage1 ]; then \
21859 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21860 else \
21861 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
21862 $(MAKE) stage1-start; \
21863 fi; \
21864 cd $(HOST_SUBDIR)/ld && \
21865 $(MAKE) $(EXTRA_HOST_FLAGS) \
21866 $(STAGE1_FLAGS_TO_PASS) clean
21867 @endif ld-bootstrap
21870 .PHONY: all-stage2-ld maybe-all-stage2-ld
21871 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
21872 maybe-all-stage2-ld:
21873 maybe-clean-stage2-ld:
21874 @if ld-bootstrap
21875 maybe-all-stage2-ld: all-stage2-ld
21876 all-stage2: all-stage2-ld
21877 TARGET-stage2-ld = $(TARGET-ld)
21878 all-stage2-ld: configure-stage2-ld
21879 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21880 @r=`${PWD_COMMAND}`; export r; \
21881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21882 TFLAGS="$(STAGE2_TFLAGS)"; \
21883 $(HOST_EXPORTS) \
21884 $(POSTSTAGE1_HOST_EXPORTS) \
21885 cd $(HOST_SUBDIR)/ld && \
21887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21888 CFLAGS="$(STAGE2_CFLAGS)" \
21889 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21890 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21894 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21895 TFLAGS="$(STAGE2_TFLAGS)" \
21896 $(TARGET-stage2-ld)
21898 maybe-clean-stage2-ld: clean-stage2-ld
21899 clean-stage2: clean-stage2-ld
21900 clean-stage2-ld:
21901 @if [ $(current_stage) = stage2 ]; then \
21902 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21903 else \
21904 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
21905 $(MAKE) stage2-start; \
21906 fi; \
21907 cd $(HOST_SUBDIR)/ld && \
21908 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21909 @endif ld-bootstrap
21912 .PHONY: all-stage3-ld maybe-all-stage3-ld
21913 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
21914 maybe-all-stage3-ld:
21915 maybe-clean-stage3-ld:
21916 @if ld-bootstrap
21917 maybe-all-stage3-ld: all-stage3-ld
21918 all-stage3: all-stage3-ld
21919 TARGET-stage3-ld = $(TARGET-ld)
21920 all-stage3-ld: configure-stage3-ld
21921 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21922 @r=`${PWD_COMMAND}`; export r; \
21923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21924 TFLAGS="$(STAGE3_TFLAGS)"; \
21925 $(HOST_EXPORTS) \
21926 $(POSTSTAGE1_HOST_EXPORTS) \
21927 cd $(HOST_SUBDIR)/ld && \
21929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21930 CFLAGS="$(STAGE3_CFLAGS)" \
21931 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21932 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21936 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21937 TFLAGS="$(STAGE3_TFLAGS)" \
21938 $(TARGET-stage3-ld)
21940 maybe-clean-stage3-ld: clean-stage3-ld
21941 clean-stage3: clean-stage3-ld
21942 clean-stage3-ld:
21943 @if [ $(current_stage) = stage3 ]; then \
21944 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21945 else \
21946 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
21947 $(MAKE) stage3-start; \
21948 fi; \
21949 cd $(HOST_SUBDIR)/ld && \
21950 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21951 @endif ld-bootstrap
21954 .PHONY: all-stage4-ld maybe-all-stage4-ld
21955 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
21956 maybe-all-stage4-ld:
21957 maybe-clean-stage4-ld:
21958 @if ld-bootstrap
21959 maybe-all-stage4-ld: all-stage4-ld
21960 all-stage4: all-stage4-ld
21961 TARGET-stage4-ld = $(TARGET-ld)
21962 all-stage4-ld: configure-stage4-ld
21963 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21964 @r=`${PWD_COMMAND}`; export r; \
21965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21966 TFLAGS="$(STAGE4_TFLAGS)"; \
21967 $(HOST_EXPORTS) \
21968 $(POSTSTAGE1_HOST_EXPORTS) \
21969 cd $(HOST_SUBDIR)/ld && \
21971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21972 CFLAGS="$(STAGE4_CFLAGS)" \
21973 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21974 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21979 TFLAGS="$(STAGE4_TFLAGS)" \
21980 $(TARGET-stage4-ld)
21982 maybe-clean-stage4-ld: clean-stage4-ld
21983 clean-stage4: clean-stage4-ld
21984 clean-stage4-ld:
21985 @if [ $(current_stage) = stage4 ]; then \
21986 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21987 else \
21988 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
21989 $(MAKE) stage4-start; \
21990 fi; \
21991 cd $(HOST_SUBDIR)/ld && \
21992 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21993 @endif ld-bootstrap
21996 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
21997 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
21998 maybe-all-stageprofile-ld:
21999 maybe-clean-stageprofile-ld:
22000 @if ld-bootstrap
22001 maybe-all-stageprofile-ld: all-stageprofile-ld
22002 all-stageprofile: all-stageprofile-ld
22003 TARGET-stageprofile-ld = $(TARGET-ld)
22004 all-stageprofile-ld: configure-stageprofile-ld
22005 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22006 @r=`${PWD_COMMAND}`; export r; \
22007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22008 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22009 $(HOST_EXPORTS) \
22010 $(POSTSTAGE1_HOST_EXPORTS) \
22011 cd $(HOST_SUBDIR)/ld && \
22013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22014 CFLAGS="$(STAGEprofile_CFLAGS)" \
22015 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22016 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22020 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22021 TFLAGS="$(STAGEprofile_TFLAGS)" \
22022 $(TARGET-stageprofile-ld)
22024 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22025 clean-stageprofile: clean-stageprofile-ld
22026 clean-stageprofile-ld:
22027 @if [ $(current_stage) = stageprofile ]; then \
22028 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22029 else \
22030 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22031 $(MAKE) stageprofile-start; \
22032 fi; \
22033 cd $(HOST_SUBDIR)/ld && \
22034 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22035 @endif ld-bootstrap
22038 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22039 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22040 maybe-all-stagetrain-ld:
22041 maybe-clean-stagetrain-ld:
22042 @if ld-bootstrap
22043 maybe-all-stagetrain-ld: all-stagetrain-ld
22044 all-stagetrain: all-stagetrain-ld
22045 TARGET-stagetrain-ld = $(TARGET-ld)
22046 all-stagetrain-ld: configure-stagetrain-ld
22047 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22048 @r=`${PWD_COMMAND}`; export r; \
22049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22050 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22051 $(HOST_EXPORTS) \
22052 $(POSTSTAGE1_HOST_EXPORTS) \
22053 cd $(HOST_SUBDIR)/ld && \
22055 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22056 CFLAGS="$(STAGEtrain_CFLAGS)" \
22057 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22058 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22059 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22060 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22061 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22062 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22063 TFLAGS="$(STAGEtrain_TFLAGS)" \
22064 $(TARGET-stagetrain-ld)
22066 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22067 clean-stagetrain: clean-stagetrain-ld
22068 clean-stagetrain-ld:
22069 @if [ $(current_stage) = stagetrain ]; then \
22070 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22071 else \
22072 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22073 $(MAKE) stagetrain-start; \
22074 fi; \
22075 cd $(HOST_SUBDIR)/ld && \
22076 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22077 @endif ld-bootstrap
22080 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22081 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22082 maybe-all-stagefeedback-ld:
22083 maybe-clean-stagefeedback-ld:
22084 @if ld-bootstrap
22085 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22086 all-stagefeedback: all-stagefeedback-ld
22087 TARGET-stagefeedback-ld = $(TARGET-ld)
22088 all-stagefeedback-ld: configure-stagefeedback-ld
22089 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22090 @r=`${PWD_COMMAND}`; export r; \
22091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22092 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22093 $(HOST_EXPORTS) \
22094 $(POSTSTAGE1_HOST_EXPORTS) \
22095 cd $(HOST_SUBDIR)/ld && \
22097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22098 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22099 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22100 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22104 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22105 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22106 $(TARGET-stagefeedback-ld)
22108 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22109 clean-stagefeedback: clean-stagefeedback-ld
22110 clean-stagefeedback-ld:
22111 @if [ $(current_stage) = stagefeedback ]; then \
22112 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22113 else \
22114 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22115 $(MAKE) stagefeedback-start; \
22116 fi; \
22117 cd $(HOST_SUBDIR)/ld && \
22118 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22119 @endif ld-bootstrap
22122 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22123 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22124 maybe-all-stageautoprofile-ld:
22125 maybe-clean-stageautoprofile-ld:
22126 @if ld-bootstrap
22127 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22128 all-stageautoprofile: all-stageautoprofile-ld
22129 TARGET-stageautoprofile-ld = $(TARGET-ld)
22130 all-stageautoprofile-ld: configure-stageautoprofile-ld
22131 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22132 @r=`${PWD_COMMAND}`; export r; \
22133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22134 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22135 $(HOST_EXPORTS) \
22136 $(POSTSTAGE1_HOST_EXPORTS) \
22137 cd $(HOST_SUBDIR)/ld && \
22138 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22140 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22141 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22142 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22143 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22144 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22145 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22146 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22147 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22148 $(TARGET-stageautoprofile-ld)
22150 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22151 clean-stageautoprofile: clean-stageautoprofile-ld
22152 clean-stageautoprofile-ld:
22153 @if [ $(current_stage) = stageautoprofile ]; then \
22154 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22155 else \
22156 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22157 $(MAKE) stageautoprofile-start; \
22158 fi; \
22159 cd $(HOST_SUBDIR)/ld && \
22160 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22161 @endif ld-bootstrap
22164 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22165 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22166 maybe-all-stageautofeedback-ld:
22167 maybe-clean-stageautofeedback-ld:
22168 @if ld-bootstrap
22169 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22170 all-stageautofeedback: all-stageautofeedback-ld
22171 TARGET-stageautofeedback-ld = $(TARGET-ld)
22172 all-stageautofeedback-ld: configure-stageautofeedback-ld
22173 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22174 @r=`${PWD_COMMAND}`; export r; \
22175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22176 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22177 $(HOST_EXPORTS) \
22178 $(POSTSTAGE1_HOST_EXPORTS) \
22179 cd $(HOST_SUBDIR)/ld && \
22181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22182 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22183 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22184 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22188 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22189 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22190 $(TARGET-stageautofeedback-ld)
22192 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22193 clean-stageautofeedback: clean-stageautofeedback-ld
22194 clean-stageautofeedback-ld:
22195 @if [ $(current_stage) = stageautofeedback ]; then \
22196 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22197 else \
22198 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22199 $(MAKE) stageautofeedback-start; \
22200 fi; \
22201 cd $(HOST_SUBDIR)/ld && \
22202 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22203 @endif ld-bootstrap
22209 .PHONY: check-ld maybe-check-ld
22210 maybe-check-ld:
22211 @if ld
22212 maybe-check-ld: check-ld
22214 check-ld:
22215 @: $(MAKE); $(unstage)
22216 @r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22218 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22219 (cd $(HOST_SUBDIR)/ld && \
22220 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22222 @endif ld
22224 .PHONY: install-ld maybe-install-ld
22225 maybe-install-ld:
22226 @if ld
22227 maybe-install-ld: install-ld
22229 install-ld: installdirs
22230 @: $(MAKE); $(unstage)
22231 @r=`${PWD_COMMAND}`; export r; \
22232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22233 $(HOST_EXPORTS) \
22234 (cd $(HOST_SUBDIR)/ld && \
22235 $(MAKE) $(FLAGS_TO_PASS) install)
22237 @endif ld
22239 .PHONY: install-strip-ld maybe-install-strip-ld
22240 maybe-install-strip-ld:
22241 @if ld
22242 maybe-install-strip-ld: install-strip-ld
22244 install-strip-ld: installdirs
22245 @: $(MAKE); $(unstage)
22246 @r=`${PWD_COMMAND}`; export r; \
22247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22248 $(HOST_EXPORTS) \
22249 (cd $(HOST_SUBDIR)/ld && \
22250 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22252 @endif ld
22254 # Other targets (info, dvi, pdf, etc.)
22256 .PHONY: maybe-info-ld info-ld
22257 maybe-info-ld:
22258 @if ld
22259 maybe-info-ld: info-ld
22261 info-ld: \
22262 configure-ld
22263 @[ -f ./ld/Makefile ] || exit 0; \
22264 r=`${PWD_COMMAND}`; export r; \
22265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22266 $(HOST_EXPORTS) \
22267 for flag in $(EXTRA_HOST_FLAGS) ; do \
22268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22269 done; \
22270 echo "Doing info in ld"; \
22271 (cd $(HOST_SUBDIR)/ld && \
22272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22274 "RANLIB=$${RANLIB}" \
22275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22276 info) \
22277 || exit 1
22279 @endif ld
22281 .PHONY: maybe-dvi-ld dvi-ld
22282 maybe-dvi-ld:
22283 @if ld
22284 maybe-dvi-ld: dvi-ld
22286 dvi-ld: \
22287 configure-ld
22288 @[ -f ./ld/Makefile ] || exit 0; \
22289 r=`${PWD_COMMAND}`; export r; \
22290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22291 $(HOST_EXPORTS) \
22292 for flag in $(EXTRA_HOST_FLAGS) ; do \
22293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22294 done; \
22295 echo "Doing dvi in ld"; \
22296 (cd $(HOST_SUBDIR)/ld && \
22297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22299 "RANLIB=$${RANLIB}" \
22300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22301 dvi) \
22302 || exit 1
22304 @endif ld
22306 .PHONY: maybe-pdf-ld pdf-ld
22307 maybe-pdf-ld:
22308 @if ld
22309 maybe-pdf-ld: pdf-ld
22311 pdf-ld: \
22312 configure-ld
22313 @[ -f ./ld/Makefile ] || exit 0; \
22314 r=`${PWD_COMMAND}`; export r; \
22315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22316 $(HOST_EXPORTS) \
22317 for flag in $(EXTRA_HOST_FLAGS) ; do \
22318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22319 done; \
22320 echo "Doing pdf in ld"; \
22321 (cd $(HOST_SUBDIR)/ld && \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324 "RANLIB=$${RANLIB}" \
22325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22326 pdf) \
22327 || exit 1
22329 @endif ld
22331 .PHONY: maybe-html-ld html-ld
22332 maybe-html-ld:
22333 @if ld
22334 maybe-html-ld: html-ld
22336 html-ld: \
22337 configure-ld
22338 @[ -f ./ld/Makefile ] || exit 0; \
22339 r=`${PWD_COMMAND}`; export r; \
22340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341 $(HOST_EXPORTS) \
22342 for flag in $(EXTRA_HOST_FLAGS) ; do \
22343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22344 done; \
22345 echo "Doing html in ld"; \
22346 (cd $(HOST_SUBDIR)/ld && \
22347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22349 "RANLIB=$${RANLIB}" \
22350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22351 html) \
22352 || exit 1
22354 @endif ld
22356 .PHONY: maybe-TAGS-ld TAGS-ld
22357 maybe-TAGS-ld:
22358 @if ld
22359 maybe-TAGS-ld: TAGS-ld
22361 TAGS-ld: \
22362 configure-ld
22363 @[ -f ./ld/Makefile ] || exit 0; \
22364 r=`${PWD_COMMAND}`; export r; \
22365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22366 $(HOST_EXPORTS) \
22367 for flag in $(EXTRA_HOST_FLAGS) ; do \
22368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22369 done; \
22370 echo "Doing TAGS in ld"; \
22371 (cd $(HOST_SUBDIR)/ld && \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22376 TAGS) \
22377 || exit 1
22379 @endif ld
22381 .PHONY: maybe-install-info-ld install-info-ld
22382 maybe-install-info-ld:
22383 @if ld
22384 maybe-install-info-ld: install-info-ld
22386 install-info-ld: \
22387 configure-ld \
22388 info-ld
22389 @[ -f ./ld/Makefile ] || exit 0; \
22390 r=`${PWD_COMMAND}`; export r; \
22391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22392 $(HOST_EXPORTS) \
22393 for flag in $(EXTRA_HOST_FLAGS) ; do \
22394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22395 done; \
22396 echo "Doing install-info in ld"; \
22397 (cd $(HOST_SUBDIR)/ld && \
22398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22400 "RANLIB=$${RANLIB}" \
22401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22402 install-info) \
22403 || exit 1
22405 @endif ld
22407 .PHONY: maybe-install-pdf-ld install-pdf-ld
22408 maybe-install-pdf-ld:
22409 @if ld
22410 maybe-install-pdf-ld: install-pdf-ld
22412 install-pdf-ld: \
22413 configure-ld \
22414 pdf-ld
22415 @[ -f ./ld/Makefile ] || exit 0; \
22416 r=`${PWD_COMMAND}`; export r; \
22417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 $(HOST_EXPORTS) \
22419 for flag in $(EXTRA_HOST_FLAGS) ; do \
22420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421 done; \
22422 echo "Doing install-pdf in ld"; \
22423 (cd $(HOST_SUBDIR)/ld && \
22424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22426 "RANLIB=$${RANLIB}" \
22427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22428 install-pdf) \
22429 || exit 1
22431 @endif ld
22433 .PHONY: maybe-install-html-ld install-html-ld
22434 maybe-install-html-ld:
22435 @if ld
22436 maybe-install-html-ld: install-html-ld
22438 install-html-ld: \
22439 configure-ld \
22440 html-ld
22441 @[ -f ./ld/Makefile ] || exit 0; \
22442 r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 $(HOST_EXPORTS) \
22445 for flag in $(EXTRA_HOST_FLAGS) ; do \
22446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22447 done; \
22448 echo "Doing install-html in ld"; \
22449 (cd $(HOST_SUBDIR)/ld && \
22450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22452 "RANLIB=$${RANLIB}" \
22453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22454 install-html) \
22455 || exit 1
22457 @endif ld
22459 .PHONY: maybe-installcheck-ld installcheck-ld
22460 maybe-installcheck-ld:
22461 @if ld
22462 maybe-installcheck-ld: installcheck-ld
22464 installcheck-ld: \
22465 configure-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 installcheck 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 installcheck) \
22480 || exit 1
22482 @endif ld
22484 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22485 maybe-mostlyclean-ld:
22486 @if ld
22487 maybe-mostlyclean-ld: mostlyclean-ld
22489 mostlyclean-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 mostlyclean 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 mostlyclean) \
22504 || exit 1
22506 @endif ld
22508 .PHONY: maybe-clean-ld clean-ld
22509 maybe-clean-ld:
22510 @if ld
22511 maybe-clean-ld: clean-ld
22513 clean-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 clean 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 clean) \
22528 || exit 1
22530 @endif ld
22532 .PHONY: maybe-distclean-ld distclean-ld
22533 maybe-distclean-ld:
22534 @if ld
22535 maybe-distclean-ld: distclean-ld
22537 distclean-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 distclean 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 distclean) \
22552 || exit 1
22554 @endif ld
22556 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22557 maybe-maintainer-clean-ld:
22558 @if ld
22559 maybe-maintainer-clean-ld: maintainer-clean-ld
22561 maintainer-clean-ld:
22562 @[ -f ./ld/Makefile ] || exit 0; \
22563 r=`${PWD_COMMAND}`; export r; \
22564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22565 $(HOST_EXPORTS) \
22566 for flag in $(EXTRA_HOST_FLAGS) ; do \
22567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22568 done; \
22569 echo "Doing maintainer-clean in ld"; \
22570 (cd $(HOST_SUBDIR)/ld && \
22571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22573 "RANLIB=$${RANLIB}" \
22574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22575 maintainer-clean) \
22576 || exit 1
22578 @endif ld
22582 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22583 maybe-configure-libbacktrace:
22584 @if gcc-bootstrap
22585 configure-libbacktrace: stage_current
22586 @endif gcc-bootstrap
22587 @if libbacktrace
22588 maybe-configure-libbacktrace: configure-libbacktrace
22589 configure-libbacktrace:
22590 @r=`${PWD_COMMAND}`; export r; \
22591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22592 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22594 $(HOST_EXPORTS) \
22595 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22596 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22597 case $(srcdir) in \
22598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22599 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22601 esac; \
22602 module_srcdir=libbacktrace; \
22603 $(SHELL) \
22604 $$s/$$module_srcdir/configure \
22605 --srcdir=$${topdir}/$$module_srcdir \
22606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22607 --target=${target_alias} \
22608 || exit 1
22609 @endif libbacktrace
22613 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22614 maybe-configure-stage1-libbacktrace:
22615 @if libbacktrace-bootstrap
22616 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22617 configure-stage1-libbacktrace:
22618 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22620 @r=`${PWD_COMMAND}`; export r; \
22621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22622 TFLAGS="$(STAGE1_TFLAGS)"; \
22623 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22624 $(HOST_EXPORTS) \
22625 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22626 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22627 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22628 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22630 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22631 case $(srcdir) in \
22632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22633 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22635 esac; \
22636 module_srcdir=libbacktrace; \
22637 $(SHELL) $$s/$$module_srcdir/configure \
22638 --srcdir=$${topdir}/$$module_srcdir \
22639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22640 --target=${target_alias} \
22642 $(STAGE1_CONFIGURE_FLAGS)
22643 @endif libbacktrace-bootstrap
22645 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22646 maybe-configure-stage2-libbacktrace:
22647 @if libbacktrace-bootstrap
22648 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22649 configure-stage2-libbacktrace:
22650 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22651 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22652 @r=`${PWD_COMMAND}`; export r; \
22653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22654 TFLAGS="$(STAGE2_TFLAGS)"; \
22655 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22656 $(HOST_EXPORTS) \
22657 $(POSTSTAGE1_HOST_EXPORTS) \
22658 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22659 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22660 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22661 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22663 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22664 case $(srcdir) in \
22665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22666 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22668 esac; \
22669 module_srcdir=libbacktrace; \
22670 $(SHELL) $$s/$$module_srcdir/configure \
22671 --srcdir=$${topdir}/$$module_srcdir \
22672 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22673 --target=${target_alias} \
22674 --with-build-libsubdir=$(HOST_SUBDIR) \
22675 $(STAGE2_CONFIGURE_FLAGS)
22676 @endif libbacktrace-bootstrap
22678 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22679 maybe-configure-stage3-libbacktrace:
22680 @if libbacktrace-bootstrap
22681 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22682 configure-stage3-libbacktrace:
22683 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22684 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22685 @r=`${PWD_COMMAND}`; export r; \
22686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22687 TFLAGS="$(STAGE3_TFLAGS)"; \
22688 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22689 $(HOST_EXPORTS) \
22690 $(POSTSTAGE1_HOST_EXPORTS) \
22691 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22692 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22693 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22694 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22696 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22697 case $(srcdir) in \
22698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22699 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22701 esac; \
22702 module_srcdir=libbacktrace; \
22703 $(SHELL) $$s/$$module_srcdir/configure \
22704 --srcdir=$${topdir}/$$module_srcdir \
22705 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22706 --target=${target_alias} \
22707 --with-build-libsubdir=$(HOST_SUBDIR) \
22708 $(STAGE3_CONFIGURE_FLAGS)
22709 @endif libbacktrace-bootstrap
22711 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22712 maybe-configure-stage4-libbacktrace:
22713 @if libbacktrace-bootstrap
22714 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22715 configure-stage4-libbacktrace:
22716 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22717 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22718 @r=`${PWD_COMMAND}`; export r; \
22719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720 TFLAGS="$(STAGE4_TFLAGS)"; \
22721 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22722 $(HOST_EXPORTS) \
22723 $(POSTSTAGE1_HOST_EXPORTS) \
22724 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22725 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22726 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22727 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22729 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22730 case $(srcdir) in \
22731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22732 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22734 esac; \
22735 module_srcdir=libbacktrace; \
22736 $(SHELL) $$s/$$module_srcdir/configure \
22737 --srcdir=$${topdir}/$$module_srcdir \
22738 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22739 --target=${target_alias} \
22740 --with-build-libsubdir=$(HOST_SUBDIR) \
22741 $(STAGE4_CONFIGURE_FLAGS)
22742 @endif libbacktrace-bootstrap
22744 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22745 maybe-configure-stageprofile-libbacktrace:
22746 @if libbacktrace-bootstrap
22747 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22748 configure-stageprofile-libbacktrace:
22749 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22751 @r=`${PWD_COMMAND}`; export r; \
22752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22753 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22754 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22755 $(HOST_EXPORTS) \
22756 $(POSTSTAGE1_HOST_EXPORTS) \
22757 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22758 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22759 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22760 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22762 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22763 case $(srcdir) in \
22764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22765 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22767 esac; \
22768 module_srcdir=libbacktrace; \
22769 $(SHELL) $$s/$$module_srcdir/configure \
22770 --srcdir=$${topdir}/$$module_srcdir \
22771 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22772 --target=${target_alias} \
22773 --with-build-libsubdir=$(HOST_SUBDIR) \
22774 $(STAGEprofile_CONFIGURE_FLAGS)
22775 @endif libbacktrace-bootstrap
22777 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22778 maybe-configure-stagetrain-libbacktrace:
22779 @if libbacktrace-bootstrap
22780 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22781 configure-stagetrain-libbacktrace:
22782 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22783 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22784 @r=`${PWD_COMMAND}`; export r; \
22785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22786 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22787 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22788 $(HOST_EXPORTS) \
22789 $(POSTSTAGE1_HOST_EXPORTS) \
22790 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22791 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22792 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22793 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22795 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22796 case $(srcdir) in \
22797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22798 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22800 esac; \
22801 module_srcdir=libbacktrace; \
22802 $(SHELL) $$s/$$module_srcdir/configure \
22803 --srcdir=$${topdir}/$$module_srcdir \
22804 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22805 --target=${target_alias} \
22806 --with-build-libsubdir=$(HOST_SUBDIR) \
22807 $(STAGEtrain_CONFIGURE_FLAGS)
22808 @endif libbacktrace-bootstrap
22810 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
22811 maybe-configure-stagefeedback-libbacktrace:
22812 @if libbacktrace-bootstrap
22813 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22814 configure-stagefeedback-libbacktrace:
22815 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22817 @r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22819 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22820 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22821 $(HOST_EXPORTS) \
22822 $(POSTSTAGE1_HOST_EXPORTS) \
22823 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22824 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22825 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22826 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
22827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22828 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22829 case $(srcdir) in \
22830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22831 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22833 esac; \
22834 module_srcdir=libbacktrace; \
22835 $(SHELL) $$s/$$module_srcdir/configure \
22836 --srcdir=$${topdir}/$$module_srcdir \
22837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22838 --target=${target_alias} \
22839 --with-build-libsubdir=$(HOST_SUBDIR) \
22840 $(STAGEfeedback_CONFIGURE_FLAGS)
22841 @endif libbacktrace-bootstrap
22843 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
22844 maybe-configure-stageautoprofile-libbacktrace:
22845 @if libbacktrace-bootstrap
22846 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22847 configure-stageautoprofile-libbacktrace:
22848 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22849 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22850 @r=`${PWD_COMMAND}`; export r; \
22851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22852 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22853 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22854 $(HOST_EXPORTS) \
22855 $(POSTSTAGE1_HOST_EXPORTS) \
22856 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22857 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22858 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22859 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
22860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22861 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22862 case $(srcdir) in \
22863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22864 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22866 esac; \
22867 module_srcdir=libbacktrace; \
22868 $(SHELL) $$s/$$module_srcdir/configure \
22869 --srcdir=$${topdir}/$$module_srcdir \
22870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22871 --target=${target_alias} \
22872 --with-build-libsubdir=$(HOST_SUBDIR) \
22873 $(STAGEautoprofile_CONFIGURE_FLAGS)
22874 @endif libbacktrace-bootstrap
22876 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
22877 maybe-configure-stageautofeedback-libbacktrace:
22878 @if libbacktrace-bootstrap
22879 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22880 configure-stageautofeedback-libbacktrace:
22881 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22883 @r=`${PWD_COMMAND}`; export r; \
22884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22885 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22886 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22887 $(HOST_EXPORTS) \
22888 $(POSTSTAGE1_HOST_EXPORTS) \
22889 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22890 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22891 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22892 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
22893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22894 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22895 case $(srcdir) in \
22896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22897 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22899 esac; \
22900 module_srcdir=libbacktrace; \
22901 $(SHELL) $$s/$$module_srcdir/configure \
22902 --srcdir=$${topdir}/$$module_srcdir \
22903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22904 --target=${target_alias} \
22905 --with-build-libsubdir=$(HOST_SUBDIR) \
22906 $(STAGEautofeedback_CONFIGURE_FLAGS)
22907 @endif libbacktrace-bootstrap
22913 .PHONY: all-libbacktrace maybe-all-libbacktrace
22914 maybe-all-libbacktrace:
22915 @if gcc-bootstrap
22916 all-libbacktrace: stage_current
22917 @endif gcc-bootstrap
22918 @if libbacktrace
22919 TARGET-libbacktrace=all
22920 maybe-all-libbacktrace: all-libbacktrace
22921 all-libbacktrace: configure-libbacktrace
22922 @r=`${PWD_COMMAND}`; export r; \
22923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 $(HOST_EXPORTS) \
22925 (cd $(HOST_SUBDIR)/libbacktrace && \
22926 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22927 $(TARGET-libbacktrace))
22928 @endif libbacktrace
22932 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
22933 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
22934 maybe-all-stage1-libbacktrace:
22935 maybe-clean-stage1-libbacktrace:
22936 @if libbacktrace-bootstrap
22937 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
22938 all-stage1: all-stage1-libbacktrace
22939 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
22940 all-stage1-libbacktrace: configure-stage1-libbacktrace
22941 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22942 @r=`${PWD_COMMAND}`; export r; \
22943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22944 TFLAGS="$(STAGE1_TFLAGS)"; \
22945 $(HOST_EXPORTS) \
22946 cd $(HOST_SUBDIR)/libbacktrace && \
22948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22949 CFLAGS="$(STAGE1_CFLAGS)" \
22950 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22951 LIBCFLAGS="$(LIBCFLAGS)" \
22952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22955 $(EXTRA_HOST_FLAGS) \
22956 $(STAGE1_FLAGS_TO_PASS) \
22957 TFLAGS="$(STAGE1_TFLAGS)" \
22958 $(TARGET-stage1-libbacktrace)
22960 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
22961 clean-stage1: clean-stage1-libbacktrace
22962 clean-stage1-libbacktrace:
22963 @if [ $(current_stage) = stage1 ]; then \
22964 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22965 else \
22966 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
22967 $(MAKE) stage1-start; \
22968 fi; \
22969 cd $(HOST_SUBDIR)/libbacktrace && \
22970 $(MAKE) $(EXTRA_HOST_FLAGS) \
22971 $(STAGE1_FLAGS_TO_PASS) clean
22972 @endif libbacktrace-bootstrap
22975 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
22976 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
22977 maybe-all-stage2-libbacktrace:
22978 maybe-clean-stage2-libbacktrace:
22979 @if libbacktrace-bootstrap
22980 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
22981 all-stage2: all-stage2-libbacktrace
22982 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
22983 all-stage2-libbacktrace: configure-stage2-libbacktrace
22984 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22985 @r=`${PWD_COMMAND}`; export r; \
22986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22987 TFLAGS="$(STAGE2_TFLAGS)"; \
22988 $(HOST_EXPORTS) \
22989 $(POSTSTAGE1_HOST_EXPORTS) \
22990 cd $(HOST_SUBDIR)/libbacktrace && \
22992 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22993 CFLAGS="$(STAGE2_CFLAGS)" \
22994 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22995 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22996 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22997 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22998 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22999 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23000 TFLAGS="$(STAGE2_TFLAGS)" \
23001 $(TARGET-stage2-libbacktrace)
23003 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23004 clean-stage2: clean-stage2-libbacktrace
23005 clean-stage2-libbacktrace:
23006 @if [ $(current_stage) = stage2 ]; then \
23007 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23008 else \
23009 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23010 $(MAKE) stage2-start; \
23011 fi; \
23012 cd $(HOST_SUBDIR)/libbacktrace && \
23013 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23014 @endif libbacktrace-bootstrap
23017 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23018 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23019 maybe-all-stage3-libbacktrace:
23020 maybe-clean-stage3-libbacktrace:
23021 @if libbacktrace-bootstrap
23022 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23023 all-stage3: all-stage3-libbacktrace
23024 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23025 all-stage3-libbacktrace: configure-stage3-libbacktrace
23026 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23027 @r=`${PWD_COMMAND}`; export r; \
23028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 TFLAGS="$(STAGE3_TFLAGS)"; \
23030 $(HOST_EXPORTS) \
23031 $(POSTSTAGE1_HOST_EXPORTS) \
23032 cd $(HOST_SUBDIR)/libbacktrace && \
23034 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23035 CFLAGS="$(STAGE3_CFLAGS)" \
23036 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23037 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23038 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23039 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23040 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23041 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23042 TFLAGS="$(STAGE3_TFLAGS)" \
23043 $(TARGET-stage3-libbacktrace)
23045 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23046 clean-stage3: clean-stage3-libbacktrace
23047 clean-stage3-libbacktrace:
23048 @if [ $(current_stage) = stage3 ]; then \
23049 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23050 else \
23051 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23052 $(MAKE) stage3-start; \
23053 fi; \
23054 cd $(HOST_SUBDIR)/libbacktrace && \
23055 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23056 @endif libbacktrace-bootstrap
23059 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23060 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23061 maybe-all-stage4-libbacktrace:
23062 maybe-clean-stage4-libbacktrace:
23063 @if libbacktrace-bootstrap
23064 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23065 all-stage4: all-stage4-libbacktrace
23066 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23067 all-stage4-libbacktrace: configure-stage4-libbacktrace
23068 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23069 @r=`${PWD_COMMAND}`; export r; \
23070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23071 TFLAGS="$(STAGE4_TFLAGS)"; \
23072 $(HOST_EXPORTS) \
23073 $(POSTSTAGE1_HOST_EXPORTS) \
23074 cd $(HOST_SUBDIR)/libbacktrace && \
23076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23077 CFLAGS="$(STAGE4_CFLAGS)" \
23078 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23079 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23083 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23084 TFLAGS="$(STAGE4_TFLAGS)" \
23085 $(TARGET-stage4-libbacktrace)
23087 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23088 clean-stage4: clean-stage4-libbacktrace
23089 clean-stage4-libbacktrace:
23090 @if [ $(current_stage) = stage4 ]; then \
23091 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23092 else \
23093 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23094 $(MAKE) stage4-start; \
23095 fi; \
23096 cd $(HOST_SUBDIR)/libbacktrace && \
23097 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23098 @endif libbacktrace-bootstrap
23101 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23102 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23103 maybe-all-stageprofile-libbacktrace:
23104 maybe-clean-stageprofile-libbacktrace:
23105 @if libbacktrace-bootstrap
23106 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23107 all-stageprofile: all-stageprofile-libbacktrace
23108 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23109 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23110 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23111 @r=`${PWD_COMMAND}`; export r; \
23112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23113 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23114 $(HOST_EXPORTS) \
23115 $(POSTSTAGE1_HOST_EXPORTS) \
23116 cd $(HOST_SUBDIR)/libbacktrace && \
23118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23119 CFLAGS="$(STAGEprofile_CFLAGS)" \
23120 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23121 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23125 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23126 TFLAGS="$(STAGEprofile_TFLAGS)" \
23127 $(TARGET-stageprofile-libbacktrace)
23129 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23130 clean-stageprofile: clean-stageprofile-libbacktrace
23131 clean-stageprofile-libbacktrace:
23132 @if [ $(current_stage) = stageprofile ]; then \
23133 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23134 else \
23135 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23136 $(MAKE) stageprofile-start; \
23137 fi; \
23138 cd $(HOST_SUBDIR)/libbacktrace && \
23139 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23140 @endif libbacktrace-bootstrap
23143 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23144 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23145 maybe-all-stagetrain-libbacktrace:
23146 maybe-clean-stagetrain-libbacktrace:
23147 @if libbacktrace-bootstrap
23148 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23149 all-stagetrain: all-stagetrain-libbacktrace
23150 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23151 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23152 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23153 @r=`${PWD_COMMAND}`; export r; \
23154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23155 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23156 $(HOST_EXPORTS) \
23157 $(POSTSTAGE1_HOST_EXPORTS) \
23158 cd $(HOST_SUBDIR)/libbacktrace && \
23160 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23161 CFLAGS="$(STAGEtrain_CFLAGS)" \
23162 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23163 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23167 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23168 TFLAGS="$(STAGEtrain_TFLAGS)" \
23169 $(TARGET-stagetrain-libbacktrace)
23171 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23172 clean-stagetrain: clean-stagetrain-libbacktrace
23173 clean-stagetrain-libbacktrace:
23174 @if [ $(current_stage) = stagetrain ]; then \
23175 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23176 else \
23177 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23178 $(MAKE) stagetrain-start; \
23179 fi; \
23180 cd $(HOST_SUBDIR)/libbacktrace && \
23181 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23182 @endif libbacktrace-bootstrap
23185 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23186 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23187 maybe-all-stagefeedback-libbacktrace:
23188 maybe-clean-stagefeedback-libbacktrace:
23189 @if libbacktrace-bootstrap
23190 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23191 all-stagefeedback: all-stagefeedback-libbacktrace
23192 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23193 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23194 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23195 @r=`${PWD_COMMAND}`; export r; \
23196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23197 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23198 $(HOST_EXPORTS) \
23199 $(POSTSTAGE1_HOST_EXPORTS) \
23200 cd $(HOST_SUBDIR)/libbacktrace && \
23202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23203 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23204 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23205 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23210 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23211 $(TARGET-stagefeedback-libbacktrace)
23213 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23214 clean-stagefeedback: clean-stagefeedback-libbacktrace
23215 clean-stagefeedback-libbacktrace:
23216 @if [ $(current_stage) = stagefeedback ]; then \
23217 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23218 else \
23219 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23220 $(MAKE) stagefeedback-start; \
23221 fi; \
23222 cd $(HOST_SUBDIR)/libbacktrace && \
23223 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23224 @endif libbacktrace-bootstrap
23227 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23228 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23229 maybe-all-stageautoprofile-libbacktrace:
23230 maybe-clean-stageautoprofile-libbacktrace:
23231 @if libbacktrace-bootstrap
23232 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23233 all-stageautoprofile: all-stageautoprofile-libbacktrace
23234 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23235 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23236 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23237 @r=`${PWD_COMMAND}`; export r; \
23238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23239 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23240 $(HOST_EXPORTS) \
23241 $(POSTSTAGE1_HOST_EXPORTS) \
23242 cd $(HOST_SUBDIR)/libbacktrace && \
23243 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23245 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23246 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23247 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23251 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23252 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23253 $(TARGET-stageautoprofile-libbacktrace)
23255 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23256 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23257 clean-stageautoprofile-libbacktrace:
23258 @if [ $(current_stage) = stageautoprofile ]; then \
23259 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23260 else \
23261 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23262 $(MAKE) stageautoprofile-start; \
23263 fi; \
23264 cd $(HOST_SUBDIR)/libbacktrace && \
23265 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23266 @endif libbacktrace-bootstrap
23269 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23270 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23271 maybe-all-stageautofeedback-libbacktrace:
23272 maybe-clean-stageautofeedback-libbacktrace:
23273 @if libbacktrace-bootstrap
23274 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23275 all-stageautofeedback: all-stageautofeedback-libbacktrace
23276 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23277 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23278 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23279 @r=`${PWD_COMMAND}`; export r; \
23280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23281 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23282 $(HOST_EXPORTS) \
23283 $(POSTSTAGE1_HOST_EXPORTS) \
23284 cd $(HOST_SUBDIR)/libbacktrace && \
23286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23287 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23288 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23289 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23294 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23295 $(TARGET-stageautofeedback-libbacktrace)
23297 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23298 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23299 clean-stageautofeedback-libbacktrace:
23300 @if [ $(current_stage) = stageautofeedback ]; then \
23301 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23302 else \
23303 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23304 $(MAKE) stageautofeedback-start; \
23305 fi; \
23306 cd $(HOST_SUBDIR)/libbacktrace && \
23307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23308 @endif libbacktrace-bootstrap
23314 .PHONY: check-libbacktrace maybe-check-libbacktrace
23315 maybe-check-libbacktrace:
23316 @if libbacktrace
23317 maybe-check-libbacktrace: check-libbacktrace
23319 check-libbacktrace:
23320 @: $(MAKE); $(unstage)
23321 @r=`${PWD_COMMAND}`; export r; \
23322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23323 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23324 (cd $(HOST_SUBDIR)/libbacktrace && \
23325 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23327 @endif libbacktrace
23329 .PHONY: install-libbacktrace maybe-install-libbacktrace
23330 maybe-install-libbacktrace:
23331 @if libbacktrace
23332 maybe-install-libbacktrace: install-libbacktrace
23334 install-libbacktrace: installdirs
23335 @: $(MAKE); $(unstage)
23336 @r=`${PWD_COMMAND}`; export r; \
23337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23338 $(HOST_EXPORTS) \
23339 (cd $(HOST_SUBDIR)/libbacktrace && \
23340 $(MAKE) $(FLAGS_TO_PASS) install)
23342 @endif libbacktrace
23344 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23345 maybe-install-strip-libbacktrace:
23346 @if libbacktrace
23347 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23349 install-strip-libbacktrace: installdirs
23350 @: $(MAKE); $(unstage)
23351 @r=`${PWD_COMMAND}`; export r; \
23352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23353 $(HOST_EXPORTS) \
23354 (cd $(HOST_SUBDIR)/libbacktrace && \
23355 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23357 @endif libbacktrace
23359 # Other targets (info, dvi, pdf, etc.)
23361 .PHONY: maybe-info-libbacktrace info-libbacktrace
23362 maybe-info-libbacktrace:
23363 @if libbacktrace
23364 maybe-info-libbacktrace: info-libbacktrace
23366 info-libbacktrace: \
23367 configure-libbacktrace
23368 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23369 r=`${PWD_COMMAND}`; export r; \
23370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23371 $(HOST_EXPORTS) \
23372 for flag in $(EXTRA_HOST_FLAGS) ; do \
23373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23374 done; \
23375 echo "Doing info in libbacktrace"; \
23376 (cd $(HOST_SUBDIR)/libbacktrace && \
23377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23379 "RANLIB=$${RANLIB}" \
23380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23381 info) \
23382 || exit 1
23384 @endif libbacktrace
23386 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23387 maybe-dvi-libbacktrace:
23388 @if libbacktrace
23389 maybe-dvi-libbacktrace: dvi-libbacktrace
23391 dvi-libbacktrace: \
23392 configure-libbacktrace
23393 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23394 r=`${PWD_COMMAND}`; export r; \
23395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23396 $(HOST_EXPORTS) \
23397 for flag in $(EXTRA_HOST_FLAGS) ; do \
23398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23399 done; \
23400 echo "Doing dvi in libbacktrace"; \
23401 (cd $(HOST_SUBDIR)/libbacktrace && \
23402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23404 "RANLIB=$${RANLIB}" \
23405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23406 dvi) \
23407 || exit 1
23409 @endif libbacktrace
23411 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23412 maybe-pdf-libbacktrace:
23413 @if libbacktrace
23414 maybe-pdf-libbacktrace: pdf-libbacktrace
23416 pdf-libbacktrace: \
23417 configure-libbacktrace
23418 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23419 r=`${PWD_COMMAND}`; export r; \
23420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23421 $(HOST_EXPORTS) \
23422 for flag in $(EXTRA_HOST_FLAGS) ; do \
23423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23424 done; \
23425 echo "Doing pdf in libbacktrace"; \
23426 (cd $(HOST_SUBDIR)/libbacktrace && \
23427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23429 "RANLIB=$${RANLIB}" \
23430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23431 pdf) \
23432 || exit 1
23434 @endif libbacktrace
23436 .PHONY: maybe-html-libbacktrace html-libbacktrace
23437 maybe-html-libbacktrace:
23438 @if libbacktrace
23439 maybe-html-libbacktrace: html-libbacktrace
23441 html-libbacktrace: \
23442 configure-libbacktrace
23443 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23444 r=`${PWD_COMMAND}`; export r; \
23445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23446 $(HOST_EXPORTS) \
23447 for flag in $(EXTRA_HOST_FLAGS) ; do \
23448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23449 done; \
23450 echo "Doing html in libbacktrace"; \
23451 (cd $(HOST_SUBDIR)/libbacktrace && \
23452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23454 "RANLIB=$${RANLIB}" \
23455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23456 html) \
23457 || exit 1
23459 @endif libbacktrace
23461 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23462 maybe-TAGS-libbacktrace:
23463 @if libbacktrace
23464 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23466 TAGS-libbacktrace: \
23467 configure-libbacktrace
23468 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23469 r=`${PWD_COMMAND}`; export r; \
23470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23471 $(HOST_EXPORTS) \
23472 for flag in $(EXTRA_HOST_FLAGS) ; do \
23473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23474 done; \
23475 echo "Doing TAGS in libbacktrace"; \
23476 (cd $(HOST_SUBDIR)/libbacktrace && \
23477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23479 "RANLIB=$${RANLIB}" \
23480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23481 TAGS) \
23482 || exit 1
23484 @endif libbacktrace
23486 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23487 maybe-install-info-libbacktrace:
23488 @if libbacktrace
23489 maybe-install-info-libbacktrace: install-info-libbacktrace
23491 install-info-libbacktrace: \
23492 configure-libbacktrace \
23493 info-libbacktrace
23494 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23495 r=`${PWD_COMMAND}`; export r; \
23496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23497 $(HOST_EXPORTS) \
23498 for flag in $(EXTRA_HOST_FLAGS) ; do \
23499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23500 done; \
23501 echo "Doing install-info in libbacktrace"; \
23502 (cd $(HOST_SUBDIR)/libbacktrace && \
23503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23505 "RANLIB=$${RANLIB}" \
23506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23507 install-info) \
23508 || exit 1
23510 @endif libbacktrace
23512 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23513 maybe-install-pdf-libbacktrace:
23514 @if libbacktrace
23515 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23517 install-pdf-libbacktrace: \
23518 configure-libbacktrace \
23519 pdf-libbacktrace
23520 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23521 r=`${PWD_COMMAND}`; export r; \
23522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23523 $(HOST_EXPORTS) \
23524 for flag in $(EXTRA_HOST_FLAGS) ; do \
23525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23526 done; \
23527 echo "Doing install-pdf in libbacktrace"; \
23528 (cd $(HOST_SUBDIR)/libbacktrace && \
23529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23531 "RANLIB=$${RANLIB}" \
23532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23533 install-pdf) \
23534 || exit 1
23536 @endif libbacktrace
23538 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23539 maybe-install-html-libbacktrace:
23540 @if libbacktrace
23541 maybe-install-html-libbacktrace: install-html-libbacktrace
23543 install-html-libbacktrace: \
23544 configure-libbacktrace \
23545 html-libbacktrace
23546 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23547 r=`${PWD_COMMAND}`; export r; \
23548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23549 $(HOST_EXPORTS) \
23550 for flag in $(EXTRA_HOST_FLAGS) ; do \
23551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23552 done; \
23553 echo "Doing install-html in libbacktrace"; \
23554 (cd $(HOST_SUBDIR)/libbacktrace && \
23555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23557 "RANLIB=$${RANLIB}" \
23558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23559 install-html) \
23560 || exit 1
23562 @endif libbacktrace
23564 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23565 maybe-installcheck-libbacktrace:
23566 @if libbacktrace
23567 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23569 installcheck-libbacktrace: \
23570 configure-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 installcheck 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 installcheck) \
23585 || exit 1
23587 @endif libbacktrace
23589 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23590 maybe-mostlyclean-libbacktrace:
23591 @if libbacktrace
23592 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23594 mostlyclean-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 mostlyclean 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 mostlyclean) \
23609 || exit 1
23611 @endif libbacktrace
23613 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23614 maybe-clean-libbacktrace:
23615 @if libbacktrace
23616 maybe-clean-libbacktrace: clean-libbacktrace
23618 clean-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 clean 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 clean) \
23633 || exit 1
23635 @endif libbacktrace
23637 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23638 maybe-distclean-libbacktrace:
23639 @if libbacktrace
23640 maybe-distclean-libbacktrace: distclean-libbacktrace
23642 distclean-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 distclean 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 distclean) \
23657 || exit 1
23659 @endif libbacktrace
23661 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23662 maybe-maintainer-clean-libbacktrace:
23663 @if libbacktrace
23664 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23666 maintainer-clean-libbacktrace:
23667 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23668 r=`${PWD_COMMAND}`; export r; \
23669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23670 $(HOST_EXPORTS) \
23671 for flag in $(EXTRA_HOST_FLAGS) ; do \
23672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23673 done; \
23674 echo "Doing maintainer-clean in libbacktrace"; \
23675 (cd $(HOST_SUBDIR)/libbacktrace && \
23676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23678 "RANLIB=$${RANLIB}" \
23679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23680 maintainer-clean) \
23681 || exit 1
23683 @endif libbacktrace
23687 .PHONY: configure-libcpp maybe-configure-libcpp
23688 maybe-configure-libcpp:
23689 @if gcc-bootstrap
23690 configure-libcpp: stage_current
23691 @endif gcc-bootstrap
23692 @if libcpp
23693 maybe-configure-libcpp: configure-libcpp
23694 configure-libcpp:
23695 @r=`${PWD_COMMAND}`; export r; \
23696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23697 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23699 $(HOST_EXPORTS) \
23700 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23701 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23702 case $(srcdir) in \
23703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23704 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23706 esac; \
23707 module_srcdir=libcpp; \
23708 $(SHELL) \
23709 $$s/$$module_srcdir/configure \
23710 --srcdir=$${topdir}/$$module_srcdir \
23711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23712 --target=${target_alias} \
23713 || exit 1
23714 @endif libcpp
23718 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23719 maybe-configure-stage1-libcpp:
23720 @if libcpp-bootstrap
23721 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23722 configure-stage1-libcpp:
23723 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23725 @r=`${PWD_COMMAND}`; export r; \
23726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23727 TFLAGS="$(STAGE1_TFLAGS)"; \
23728 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23729 $(HOST_EXPORTS) \
23730 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23731 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23732 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23733 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23735 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23736 case $(srcdir) in \
23737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23738 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23740 esac; \
23741 module_srcdir=libcpp; \
23742 $(SHELL) $$s/$$module_srcdir/configure \
23743 --srcdir=$${topdir}/$$module_srcdir \
23744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23745 --target=${target_alias} \
23747 $(STAGE1_CONFIGURE_FLAGS)
23748 @endif libcpp-bootstrap
23750 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23751 maybe-configure-stage2-libcpp:
23752 @if libcpp-bootstrap
23753 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23754 configure-stage2-libcpp:
23755 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23757 @r=`${PWD_COMMAND}`; export r; \
23758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23759 TFLAGS="$(STAGE2_TFLAGS)"; \
23760 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23761 $(HOST_EXPORTS) \
23762 $(POSTSTAGE1_HOST_EXPORTS) \
23763 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23764 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23765 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23766 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23768 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23769 case $(srcdir) in \
23770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23771 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23773 esac; \
23774 module_srcdir=libcpp; \
23775 $(SHELL) $$s/$$module_srcdir/configure \
23776 --srcdir=$${topdir}/$$module_srcdir \
23777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23778 --target=${target_alias} \
23779 --with-build-libsubdir=$(HOST_SUBDIR) \
23780 $(STAGE2_CONFIGURE_FLAGS)
23781 @endif libcpp-bootstrap
23783 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23784 maybe-configure-stage3-libcpp:
23785 @if libcpp-bootstrap
23786 maybe-configure-stage3-libcpp: configure-stage3-libcpp
23787 configure-stage3-libcpp:
23788 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23790 @r=`${PWD_COMMAND}`; export r; \
23791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23792 TFLAGS="$(STAGE3_TFLAGS)"; \
23793 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23794 $(HOST_EXPORTS) \
23795 $(POSTSTAGE1_HOST_EXPORTS) \
23796 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23797 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23798 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23799 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
23800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23801 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23802 case $(srcdir) in \
23803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23804 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23806 esac; \
23807 module_srcdir=libcpp; \
23808 $(SHELL) $$s/$$module_srcdir/configure \
23809 --srcdir=$${topdir}/$$module_srcdir \
23810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23811 --target=${target_alias} \
23812 --with-build-libsubdir=$(HOST_SUBDIR) \
23813 $(STAGE3_CONFIGURE_FLAGS)
23814 @endif libcpp-bootstrap
23816 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
23817 maybe-configure-stage4-libcpp:
23818 @if libcpp-bootstrap
23819 maybe-configure-stage4-libcpp: configure-stage4-libcpp
23820 configure-stage4-libcpp:
23821 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23823 @r=`${PWD_COMMAND}`; export r; \
23824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23825 TFLAGS="$(STAGE4_TFLAGS)"; \
23826 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23827 $(HOST_EXPORTS) \
23828 $(POSTSTAGE1_HOST_EXPORTS) \
23829 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23830 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23831 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23832 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
23833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23834 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23835 case $(srcdir) in \
23836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23837 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23839 esac; \
23840 module_srcdir=libcpp; \
23841 $(SHELL) $$s/$$module_srcdir/configure \
23842 --srcdir=$${topdir}/$$module_srcdir \
23843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23844 --target=${target_alias} \
23845 --with-build-libsubdir=$(HOST_SUBDIR) \
23846 $(STAGE4_CONFIGURE_FLAGS)
23847 @endif libcpp-bootstrap
23849 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
23850 maybe-configure-stageprofile-libcpp:
23851 @if libcpp-bootstrap
23852 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
23853 configure-stageprofile-libcpp:
23854 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23856 @r=`${PWD_COMMAND}`; export r; \
23857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23859 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23860 $(HOST_EXPORTS) \
23861 $(POSTSTAGE1_HOST_EXPORTS) \
23862 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23863 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23864 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23865 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
23866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23867 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23868 case $(srcdir) in \
23869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23870 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23872 esac; \
23873 module_srcdir=libcpp; \
23874 $(SHELL) $$s/$$module_srcdir/configure \
23875 --srcdir=$${topdir}/$$module_srcdir \
23876 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23877 --target=${target_alias} \
23878 --with-build-libsubdir=$(HOST_SUBDIR) \
23879 $(STAGEprofile_CONFIGURE_FLAGS)
23880 @endif libcpp-bootstrap
23882 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
23883 maybe-configure-stagetrain-libcpp:
23884 @if libcpp-bootstrap
23885 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
23886 configure-stagetrain-libcpp:
23887 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23889 @r=`${PWD_COMMAND}`; export r; \
23890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23891 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23892 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23893 $(HOST_EXPORTS) \
23894 $(POSTSTAGE1_HOST_EXPORTS) \
23895 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23896 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23897 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23898 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
23899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23900 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23901 case $(srcdir) in \
23902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23903 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23905 esac; \
23906 module_srcdir=libcpp; \
23907 $(SHELL) $$s/$$module_srcdir/configure \
23908 --srcdir=$${topdir}/$$module_srcdir \
23909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23910 --target=${target_alias} \
23911 --with-build-libsubdir=$(HOST_SUBDIR) \
23912 $(STAGEtrain_CONFIGURE_FLAGS)
23913 @endif libcpp-bootstrap
23915 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
23916 maybe-configure-stagefeedback-libcpp:
23917 @if libcpp-bootstrap
23918 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
23919 configure-stagefeedback-libcpp:
23920 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23922 @r=`${PWD_COMMAND}`; export r; \
23923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23924 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23925 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23926 $(HOST_EXPORTS) \
23927 $(POSTSTAGE1_HOST_EXPORTS) \
23928 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23929 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23930 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23931 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
23932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23933 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23934 case $(srcdir) in \
23935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23936 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23938 esac; \
23939 module_srcdir=libcpp; \
23940 $(SHELL) $$s/$$module_srcdir/configure \
23941 --srcdir=$${topdir}/$$module_srcdir \
23942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23943 --target=${target_alias} \
23944 --with-build-libsubdir=$(HOST_SUBDIR) \
23945 $(STAGEfeedback_CONFIGURE_FLAGS)
23946 @endif libcpp-bootstrap
23948 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
23949 maybe-configure-stageautoprofile-libcpp:
23950 @if libcpp-bootstrap
23951 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23952 configure-stageautoprofile-libcpp:
23953 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23955 @r=`${PWD_COMMAND}`; export r; \
23956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23957 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23958 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23959 $(HOST_EXPORTS) \
23960 $(POSTSTAGE1_HOST_EXPORTS) \
23961 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23962 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23963 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23964 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
23965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23966 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23967 case $(srcdir) in \
23968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23969 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23971 esac; \
23972 module_srcdir=libcpp; \
23973 $(SHELL) $$s/$$module_srcdir/configure \
23974 --srcdir=$${topdir}/$$module_srcdir \
23975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23976 --target=${target_alias} \
23977 --with-build-libsubdir=$(HOST_SUBDIR) \
23978 $(STAGEautoprofile_CONFIGURE_FLAGS)
23979 @endif libcpp-bootstrap
23981 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
23982 maybe-configure-stageautofeedback-libcpp:
23983 @if libcpp-bootstrap
23984 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
23985 configure-stageautofeedback-libcpp:
23986 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23988 @r=`${PWD_COMMAND}`; export r; \
23989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23990 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23991 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23992 $(HOST_EXPORTS) \
23993 $(POSTSTAGE1_HOST_EXPORTS) \
23994 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23995 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23996 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23997 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
23998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23999 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24000 case $(srcdir) in \
24001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24002 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24004 esac; \
24005 module_srcdir=libcpp; \
24006 $(SHELL) $$s/$$module_srcdir/configure \
24007 --srcdir=$${topdir}/$$module_srcdir \
24008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24009 --target=${target_alias} \
24010 --with-build-libsubdir=$(HOST_SUBDIR) \
24011 $(STAGEautofeedback_CONFIGURE_FLAGS)
24012 @endif libcpp-bootstrap
24018 .PHONY: all-libcpp maybe-all-libcpp
24019 maybe-all-libcpp:
24020 @if gcc-bootstrap
24021 all-libcpp: stage_current
24022 @endif gcc-bootstrap
24023 @if libcpp
24024 TARGET-libcpp=all
24025 maybe-all-libcpp: all-libcpp
24026 all-libcpp: configure-libcpp
24027 @r=`${PWD_COMMAND}`; export r; \
24028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24029 $(HOST_EXPORTS) \
24030 (cd $(HOST_SUBDIR)/libcpp && \
24031 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24032 $(TARGET-libcpp))
24033 @endif libcpp
24037 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24038 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24039 maybe-all-stage1-libcpp:
24040 maybe-clean-stage1-libcpp:
24041 @if libcpp-bootstrap
24042 maybe-all-stage1-libcpp: all-stage1-libcpp
24043 all-stage1: all-stage1-libcpp
24044 TARGET-stage1-libcpp = $(TARGET-libcpp)
24045 all-stage1-libcpp: configure-stage1-libcpp
24046 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24047 @r=`${PWD_COMMAND}`; export r; \
24048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24049 TFLAGS="$(STAGE1_TFLAGS)"; \
24050 $(HOST_EXPORTS) \
24051 cd $(HOST_SUBDIR)/libcpp && \
24053 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24054 CFLAGS="$(STAGE1_CFLAGS)" \
24055 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24056 LIBCFLAGS="$(LIBCFLAGS)" \
24057 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24058 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24059 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24060 $(EXTRA_HOST_FLAGS) \
24061 $(STAGE1_FLAGS_TO_PASS) \
24062 TFLAGS="$(STAGE1_TFLAGS)" \
24063 $(TARGET-stage1-libcpp)
24065 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24066 clean-stage1: clean-stage1-libcpp
24067 clean-stage1-libcpp:
24068 @if [ $(current_stage) = stage1 ]; then \
24069 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24070 else \
24071 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24072 $(MAKE) stage1-start; \
24073 fi; \
24074 cd $(HOST_SUBDIR)/libcpp && \
24075 $(MAKE) $(EXTRA_HOST_FLAGS) \
24076 $(STAGE1_FLAGS_TO_PASS) clean
24077 @endif libcpp-bootstrap
24080 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24081 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24082 maybe-all-stage2-libcpp:
24083 maybe-clean-stage2-libcpp:
24084 @if libcpp-bootstrap
24085 maybe-all-stage2-libcpp: all-stage2-libcpp
24086 all-stage2: all-stage2-libcpp
24087 TARGET-stage2-libcpp = $(TARGET-libcpp)
24088 all-stage2-libcpp: configure-stage2-libcpp
24089 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24090 @r=`${PWD_COMMAND}`; export r; \
24091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24092 TFLAGS="$(STAGE2_TFLAGS)"; \
24093 $(HOST_EXPORTS) \
24094 $(POSTSTAGE1_HOST_EXPORTS) \
24095 cd $(HOST_SUBDIR)/libcpp && \
24097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24098 CFLAGS="$(STAGE2_CFLAGS)" \
24099 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24100 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24104 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24105 TFLAGS="$(STAGE2_TFLAGS)" \
24106 $(TARGET-stage2-libcpp)
24108 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24109 clean-stage2: clean-stage2-libcpp
24110 clean-stage2-libcpp:
24111 @if [ $(current_stage) = stage2 ]; then \
24112 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24113 else \
24114 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24115 $(MAKE) stage2-start; \
24116 fi; \
24117 cd $(HOST_SUBDIR)/libcpp && \
24118 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24119 @endif libcpp-bootstrap
24122 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24123 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24124 maybe-all-stage3-libcpp:
24125 maybe-clean-stage3-libcpp:
24126 @if libcpp-bootstrap
24127 maybe-all-stage3-libcpp: all-stage3-libcpp
24128 all-stage3: all-stage3-libcpp
24129 TARGET-stage3-libcpp = $(TARGET-libcpp)
24130 all-stage3-libcpp: configure-stage3-libcpp
24131 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24132 @r=`${PWD_COMMAND}`; export r; \
24133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24134 TFLAGS="$(STAGE3_TFLAGS)"; \
24135 $(HOST_EXPORTS) \
24136 $(POSTSTAGE1_HOST_EXPORTS) \
24137 cd $(HOST_SUBDIR)/libcpp && \
24139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24140 CFLAGS="$(STAGE3_CFLAGS)" \
24141 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24142 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24143 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24144 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24145 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24146 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24147 TFLAGS="$(STAGE3_TFLAGS)" \
24148 $(TARGET-stage3-libcpp)
24150 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24151 clean-stage3: clean-stage3-libcpp
24152 clean-stage3-libcpp:
24153 @if [ $(current_stage) = stage3 ]; then \
24154 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24155 else \
24156 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24157 $(MAKE) stage3-start; \
24158 fi; \
24159 cd $(HOST_SUBDIR)/libcpp && \
24160 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24161 @endif libcpp-bootstrap
24164 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24165 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24166 maybe-all-stage4-libcpp:
24167 maybe-clean-stage4-libcpp:
24168 @if libcpp-bootstrap
24169 maybe-all-stage4-libcpp: all-stage4-libcpp
24170 all-stage4: all-stage4-libcpp
24171 TARGET-stage4-libcpp = $(TARGET-libcpp)
24172 all-stage4-libcpp: configure-stage4-libcpp
24173 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24174 @r=`${PWD_COMMAND}`; export r; \
24175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24176 TFLAGS="$(STAGE4_TFLAGS)"; \
24177 $(HOST_EXPORTS) \
24178 $(POSTSTAGE1_HOST_EXPORTS) \
24179 cd $(HOST_SUBDIR)/libcpp && \
24181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24182 CFLAGS="$(STAGE4_CFLAGS)" \
24183 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24184 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24188 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24189 TFLAGS="$(STAGE4_TFLAGS)" \
24190 $(TARGET-stage4-libcpp)
24192 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24193 clean-stage4: clean-stage4-libcpp
24194 clean-stage4-libcpp:
24195 @if [ $(current_stage) = stage4 ]; then \
24196 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24197 else \
24198 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24199 $(MAKE) stage4-start; \
24200 fi; \
24201 cd $(HOST_SUBDIR)/libcpp && \
24202 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24203 @endif libcpp-bootstrap
24206 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24207 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24208 maybe-all-stageprofile-libcpp:
24209 maybe-clean-stageprofile-libcpp:
24210 @if libcpp-bootstrap
24211 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24212 all-stageprofile: all-stageprofile-libcpp
24213 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24214 all-stageprofile-libcpp: configure-stageprofile-libcpp
24215 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24216 @r=`${PWD_COMMAND}`; export r; \
24217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24218 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24219 $(HOST_EXPORTS) \
24220 $(POSTSTAGE1_HOST_EXPORTS) \
24221 cd $(HOST_SUBDIR)/libcpp && \
24223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24224 CFLAGS="$(STAGEprofile_CFLAGS)" \
24225 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24226 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24231 TFLAGS="$(STAGEprofile_TFLAGS)" \
24232 $(TARGET-stageprofile-libcpp)
24234 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24235 clean-stageprofile: clean-stageprofile-libcpp
24236 clean-stageprofile-libcpp:
24237 @if [ $(current_stage) = stageprofile ]; then \
24238 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24239 else \
24240 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24241 $(MAKE) stageprofile-start; \
24242 fi; \
24243 cd $(HOST_SUBDIR)/libcpp && \
24244 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24245 @endif libcpp-bootstrap
24248 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24249 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24250 maybe-all-stagetrain-libcpp:
24251 maybe-clean-stagetrain-libcpp:
24252 @if libcpp-bootstrap
24253 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24254 all-stagetrain: all-stagetrain-libcpp
24255 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24256 all-stagetrain-libcpp: configure-stagetrain-libcpp
24257 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24258 @r=`${PWD_COMMAND}`; export r; \
24259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24260 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24261 $(HOST_EXPORTS) \
24262 $(POSTSTAGE1_HOST_EXPORTS) \
24263 cd $(HOST_SUBDIR)/libcpp && \
24265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24266 CFLAGS="$(STAGEtrain_CFLAGS)" \
24267 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24268 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24269 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24270 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24271 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24272 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24273 TFLAGS="$(STAGEtrain_TFLAGS)" \
24274 $(TARGET-stagetrain-libcpp)
24276 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24277 clean-stagetrain: clean-stagetrain-libcpp
24278 clean-stagetrain-libcpp:
24279 @if [ $(current_stage) = stagetrain ]; then \
24280 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24281 else \
24282 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24283 $(MAKE) stagetrain-start; \
24284 fi; \
24285 cd $(HOST_SUBDIR)/libcpp && \
24286 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24287 @endif libcpp-bootstrap
24290 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24291 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24292 maybe-all-stagefeedback-libcpp:
24293 maybe-clean-stagefeedback-libcpp:
24294 @if libcpp-bootstrap
24295 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24296 all-stagefeedback: all-stagefeedback-libcpp
24297 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24298 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24299 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24300 @r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24303 $(HOST_EXPORTS) \
24304 $(POSTSTAGE1_HOST_EXPORTS) \
24305 cd $(HOST_SUBDIR)/libcpp && \
24307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24308 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24309 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24310 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24311 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24314 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24315 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24316 $(TARGET-stagefeedback-libcpp)
24318 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24319 clean-stagefeedback: clean-stagefeedback-libcpp
24320 clean-stagefeedback-libcpp:
24321 @if [ $(current_stage) = stagefeedback ]; then \
24322 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24323 else \
24324 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24325 $(MAKE) stagefeedback-start; \
24326 fi; \
24327 cd $(HOST_SUBDIR)/libcpp && \
24328 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24329 @endif libcpp-bootstrap
24332 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24333 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24334 maybe-all-stageautoprofile-libcpp:
24335 maybe-clean-stageautoprofile-libcpp:
24336 @if libcpp-bootstrap
24337 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24338 all-stageautoprofile: all-stageautoprofile-libcpp
24339 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24340 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24341 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24342 @r=`${PWD_COMMAND}`; export r; \
24343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24344 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24345 $(HOST_EXPORTS) \
24346 $(POSTSTAGE1_HOST_EXPORTS) \
24347 cd $(HOST_SUBDIR)/libcpp && \
24348 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24349 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24350 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24351 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24352 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24353 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24354 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24355 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24356 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24357 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24358 $(TARGET-stageautoprofile-libcpp)
24360 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24361 clean-stageautoprofile: clean-stageautoprofile-libcpp
24362 clean-stageautoprofile-libcpp:
24363 @if [ $(current_stage) = stageautoprofile ]; then \
24364 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24365 else \
24366 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24367 $(MAKE) stageautoprofile-start; \
24368 fi; \
24369 cd $(HOST_SUBDIR)/libcpp && \
24370 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24371 @endif libcpp-bootstrap
24374 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24375 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24376 maybe-all-stageautofeedback-libcpp:
24377 maybe-clean-stageautofeedback-libcpp:
24378 @if libcpp-bootstrap
24379 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24380 all-stageautofeedback: all-stageautofeedback-libcpp
24381 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24382 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24383 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24384 @r=`${PWD_COMMAND}`; export r; \
24385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24386 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24387 $(HOST_EXPORTS) \
24388 $(POSTSTAGE1_HOST_EXPORTS) \
24389 cd $(HOST_SUBDIR)/libcpp && \
24391 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24392 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24393 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24394 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24395 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24396 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24397 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24398 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24399 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24400 $(TARGET-stageautofeedback-libcpp)
24402 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24403 clean-stageautofeedback: clean-stageautofeedback-libcpp
24404 clean-stageautofeedback-libcpp:
24405 @if [ $(current_stage) = stageautofeedback ]; then \
24406 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24407 else \
24408 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24409 $(MAKE) stageautofeedback-start; \
24410 fi; \
24411 cd $(HOST_SUBDIR)/libcpp && \
24412 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24413 @endif libcpp-bootstrap
24419 .PHONY: check-libcpp maybe-check-libcpp
24420 maybe-check-libcpp:
24421 @if libcpp
24422 maybe-check-libcpp: check-libcpp
24424 check-libcpp:
24425 @: $(MAKE); $(unstage)
24426 @r=`${PWD_COMMAND}`; export r; \
24427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24428 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24429 (cd $(HOST_SUBDIR)/libcpp && \
24430 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24432 @endif libcpp
24434 .PHONY: install-libcpp maybe-install-libcpp
24435 maybe-install-libcpp:
24436 @if libcpp
24437 maybe-install-libcpp: install-libcpp
24439 install-libcpp: installdirs
24440 @: $(MAKE); $(unstage)
24441 @r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 $(HOST_EXPORTS) \
24444 (cd $(HOST_SUBDIR)/libcpp && \
24445 $(MAKE) $(FLAGS_TO_PASS) install)
24447 @endif libcpp
24449 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24450 maybe-install-strip-libcpp:
24451 @if libcpp
24452 maybe-install-strip-libcpp: install-strip-libcpp
24454 install-strip-libcpp: installdirs
24455 @: $(MAKE); $(unstage)
24456 @r=`${PWD_COMMAND}`; export r; \
24457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24458 $(HOST_EXPORTS) \
24459 (cd $(HOST_SUBDIR)/libcpp && \
24460 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24462 @endif libcpp
24464 # Other targets (info, dvi, pdf, etc.)
24466 .PHONY: maybe-info-libcpp info-libcpp
24467 maybe-info-libcpp:
24468 @if libcpp
24469 maybe-info-libcpp: info-libcpp
24471 info-libcpp: \
24472 configure-libcpp
24473 @[ -f ./libcpp/Makefile ] || exit 0; \
24474 r=`${PWD_COMMAND}`; export r; \
24475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24476 $(HOST_EXPORTS) \
24477 for flag in $(EXTRA_HOST_FLAGS) ; do \
24478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24479 done; \
24480 echo "Doing info in libcpp"; \
24481 (cd $(HOST_SUBDIR)/libcpp && \
24482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24484 "RANLIB=$${RANLIB}" \
24485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24486 info) \
24487 || exit 1
24489 @endif libcpp
24491 .PHONY: maybe-dvi-libcpp dvi-libcpp
24492 maybe-dvi-libcpp:
24493 @if libcpp
24494 maybe-dvi-libcpp: dvi-libcpp
24496 dvi-libcpp: \
24497 configure-libcpp
24498 @[ -f ./libcpp/Makefile ] || exit 0; \
24499 r=`${PWD_COMMAND}`; export r; \
24500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24501 $(HOST_EXPORTS) \
24502 for flag in $(EXTRA_HOST_FLAGS) ; do \
24503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24504 done; \
24505 echo "Doing dvi in libcpp"; \
24506 (cd $(HOST_SUBDIR)/libcpp && \
24507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24509 "RANLIB=$${RANLIB}" \
24510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24511 dvi) \
24512 || exit 1
24514 @endif libcpp
24516 .PHONY: maybe-pdf-libcpp pdf-libcpp
24517 maybe-pdf-libcpp:
24518 @if libcpp
24519 maybe-pdf-libcpp: pdf-libcpp
24521 pdf-libcpp: \
24522 configure-libcpp
24523 @[ -f ./libcpp/Makefile ] || exit 0; \
24524 r=`${PWD_COMMAND}`; export r; \
24525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 $(HOST_EXPORTS) \
24527 for flag in $(EXTRA_HOST_FLAGS) ; do \
24528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24529 done; \
24530 echo "Doing pdf in libcpp"; \
24531 (cd $(HOST_SUBDIR)/libcpp && \
24532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24534 "RANLIB=$${RANLIB}" \
24535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24536 pdf) \
24537 || exit 1
24539 @endif libcpp
24541 .PHONY: maybe-html-libcpp html-libcpp
24542 maybe-html-libcpp:
24543 @if libcpp
24544 maybe-html-libcpp: html-libcpp
24546 html-libcpp: \
24547 configure-libcpp
24548 @[ -f ./libcpp/Makefile ] || exit 0; \
24549 r=`${PWD_COMMAND}`; export r; \
24550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24551 $(HOST_EXPORTS) \
24552 for flag in $(EXTRA_HOST_FLAGS) ; do \
24553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24554 done; \
24555 echo "Doing html in libcpp"; \
24556 (cd $(HOST_SUBDIR)/libcpp && \
24557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24559 "RANLIB=$${RANLIB}" \
24560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24561 html) \
24562 || exit 1
24564 @endif libcpp
24566 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24567 maybe-TAGS-libcpp:
24568 @if libcpp
24569 maybe-TAGS-libcpp: TAGS-libcpp
24571 TAGS-libcpp: \
24572 configure-libcpp
24573 @[ -f ./libcpp/Makefile ] || exit 0; \
24574 r=`${PWD_COMMAND}`; export r; \
24575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24576 $(HOST_EXPORTS) \
24577 for flag in $(EXTRA_HOST_FLAGS) ; do \
24578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24579 done; \
24580 echo "Doing TAGS in libcpp"; \
24581 (cd $(HOST_SUBDIR)/libcpp && \
24582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24584 "RANLIB=$${RANLIB}" \
24585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24586 TAGS) \
24587 || exit 1
24589 @endif libcpp
24591 .PHONY: maybe-install-info-libcpp install-info-libcpp
24592 maybe-install-info-libcpp:
24593 @if libcpp
24594 maybe-install-info-libcpp: install-info-libcpp
24596 install-info-libcpp: \
24597 configure-libcpp \
24598 info-libcpp
24599 @[ -f ./libcpp/Makefile ] || exit 0; \
24600 r=`${PWD_COMMAND}`; export r; \
24601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(HOST_EXPORTS) \
24603 for flag in $(EXTRA_HOST_FLAGS) ; do \
24604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24605 done; \
24606 echo "Doing install-info in libcpp"; \
24607 (cd $(HOST_SUBDIR)/libcpp && \
24608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24610 "RANLIB=$${RANLIB}" \
24611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24612 install-info) \
24613 || exit 1
24615 @endif libcpp
24617 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24618 maybe-install-pdf-libcpp:
24619 @if libcpp
24620 maybe-install-pdf-libcpp: install-pdf-libcpp
24622 install-pdf-libcpp: \
24623 configure-libcpp \
24624 pdf-libcpp
24625 @[ -f ./libcpp/Makefile ] || exit 0; \
24626 r=`${PWD_COMMAND}`; export r; \
24627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24628 $(HOST_EXPORTS) \
24629 for flag in $(EXTRA_HOST_FLAGS) ; do \
24630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24631 done; \
24632 echo "Doing install-pdf in libcpp"; \
24633 (cd $(HOST_SUBDIR)/libcpp && \
24634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24636 "RANLIB=$${RANLIB}" \
24637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24638 install-pdf) \
24639 || exit 1
24641 @endif libcpp
24643 .PHONY: maybe-install-html-libcpp install-html-libcpp
24644 maybe-install-html-libcpp:
24645 @if libcpp
24646 maybe-install-html-libcpp: install-html-libcpp
24648 install-html-libcpp: \
24649 configure-libcpp \
24650 html-libcpp
24651 @[ -f ./libcpp/Makefile ] || exit 0; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 $(HOST_EXPORTS) \
24655 for flag in $(EXTRA_HOST_FLAGS) ; do \
24656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24657 done; \
24658 echo "Doing install-html in libcpp"; \
24659 (cd $(HOST_SUBDIR)/libcpp && \
24660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24662 "RANLIB=$${RANLIB}" \
24663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24664 install-html) \
24665 || exit 1
24667 @endif libcpp
24669 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24670 maybe-installcheck-libcpp:
24671 @if libcpp
24672 maybe-installcheck-libcpp: installcheck-libcpp
24674 installcheck-libcpp: \
24675 configure-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 installcheck 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 installcheck) \
24690 || exit 1
24692 @endif libcpp
24694 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24695 maybe-mostlyclean-libcpp:
24696 @if libcpp
24697 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24699 mostlyclean-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 mostlyclean 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 mostlyclean) \
24714 || exit 1
24716 @endif libcpp
24718 .PHONY: maybe-clean-libcpp clean-libcpp
24719 maybe-clean-libcpp:
24720 @if libcpp
24721 maybe-clean-libcpp: clean-libcpp
24723 clean-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 clean 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 clean) \
24738 || exit 1
24740 @endif libcpp
24742 .PHONY: maybe-distclean-libcpp distclean-libcpp
24743 maybe-distclean-libcpp:
24744 @if libcpp
24745 maybe-distclean-libcpp: distclean-libcpp
24747 distclean-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 distclean 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 distclean) \
24762 || exit 1
24764 @endif libcpp
24766 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24767 maybe-maintainer-clean-libcpp:
24768 @if libcpp
24769 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24771 maintainer-clean-libcpp:
24772 @[ -f ./libcpp/Makefile ] || exit 0; \
24773 r=`${PWD_COMMAND}`; export r; \
24774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24775 $(HOST_EXPORTS) \
24776 for flag in $(EXTRA_HOST_FLAGS) ; do \
24777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24778 done; \
24779 echo "Doing maintainer-clean in libcpp"; \
24780 (cd $(HOST_SUBDIR)/libcpp && \
24781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24783 "RANLIB=$${RANLIB}" \
24784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24785 maintainer-clean) \
24786 || exit 1
24788 @endif libcpp
24792 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
24793 maybe-configure-libdecnumber:
24794 @if gcc-bootstrap
24795 configure-libdecnumber: stage_current
24796 @endif gcc-bootstrap
24797 @if libdecnumber
24798 maybe-configure-libdecnumber: configure-libdecnumber
24799 configure-libdecnumber:
24800 @r=`${PWD_COMMAND}`; export r; \
24801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24802 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24804 $(HOST_EXPORTS) \
24805 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
24806 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
24807 case $(srcdir) in \
24808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24809 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24811 esac; \
24812 module_srcdir=libdecnumber; \
24813 $(SHELL) \
24814 $$s/$$module_srcdir/configure \
24815 --srcdir=$${topdir}/$$module_srcdir \
24816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24817 --target=${target_alias} \
24818 || exit 1
24819 @endif libdecnumber
24823 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
24824 maybe-configure-stage1-libdecnumber:
24825 @if libdecnumber-bootstrap
24826 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
24827 configure-stage1-libdecnumber:
24828 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24830 @r=`${PWD_COMMAND}`; export r; \
24831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24832 TFLAGS="$(STAGE1_TFLAGS)"; \
24833 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24834 $(HOST_EXPORTS) \
24835 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24836 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24837 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24838 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
24839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24840 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24841 case $(srcdir) in \
24842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24843 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24845 esac; \
24846 module_srcdir=libdecnumber; \
24847 $(SHELL) $$s/$$module_srcdir/configure \
24848 --srcdir=$${topdir}/$$module_srcdir \
24849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24850 --target=${target_alias} \
24852 $(STAGE1_CONFIGURE_FLAGS)
24853 @endif libdecnumber-bootstrap
24855 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
24856 maybe-configure-stage2-libdecnumber:
24857 @if libdecnumber-bootstrap
24858 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
24859 configure-stage2-libdecnumber:
24860 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24862 @r=`${PWD_COMMAND}`; export r; \
24863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24864 TFLAGS="$(STAGE2_TFLAGS)"; \
24865 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24866 $(HOST_EXPORTS) \
24867 $(POSTSTAGE1_HOST_EXPORTS) \
24868 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24869 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24870 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24871 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
24872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24873 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24874 case $(srcdir) in \
24875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24876 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24878 esac; \
24879 module_srcdir=libdecnumber; \
24880 $(SHELL) $$s/$$module_srcdir/configure \
24881 --srcdir=$${topdir}/$$module_srcdir \
24882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24883 --target=${target_alias} \
24884 --with-build-libsubdir=$(HOST_SUBDIR) \
24885 $(STAGE2_CONFIGURE_FLAGS)
24886 @endif libdecnumber-bootstrap
24888 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
24889 maybe-configure-stage3-libdecnumber:
24890 @if libdecnumber-bootstrap
24891 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
24892 configure-stage3-libdecnumber:
24893 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24895 @r=`${PWD_COMMAND}`; export r; \
24896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 TFLAGS="$(STAGE3_TFLAGS)"; \
24898 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24899 $(HOST_EXPORTS) \
24900 $(POSTSTAGE1_HOST_EXPORTS) \
24901 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24902 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24903 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24904 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
24905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24906 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24907 case $(srcdir) in \
24908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24909 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24911 esac; \
24912 module_srcdir=libdecnumber; \
24913 $(SHELL) $$s/$$module_srcdir/configure \
24914 --srcdir=$${topdir}/$$module_srcdir \
24915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24916 --target=${target_alias} \
24917 --with-build-libsubdir=$(HOST_SUBDIR) \
24918 $(STAGE3_CONFIGURE_FLAGS)
24919 @endif libdecnumber-bootstrap
24921 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
24922 maybe-configure-stage4-libdecnumber:
24923 @if libdecnumber-bootstrap
24924 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
24925 configure-stage4-libdecnumber:
24926 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24928 @r=`${PWD_COMMAND}`; export r; \
24929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24930 TFLAGS="$(STAGE4_TFLAGS)"; \
24931 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24932 $(HOST_EXPORTS) \
24933 $(POSTSTAGE1_HOST_EXPORTS) \
24934 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24935 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24936 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24937 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
24938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24939 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24940 case $(srcdir) in \
24941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24942 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24944 esac; \
24945 module_srcdir=libdecnumber; \
24946 $(SHELL) $$s/$$module_srcdir/configure \
24947 --srcdir=$${topdir}/$$module_srcdir \
24948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24949 --target=${target_alias} \
24950 --with-build-libsubdir=$(HOST_SUBDIR) \
24951 $(STAGE4_CONFIGURE_FLAGS)
24952 @endif libdecnumber-bootstrap
24954 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
24955 maybe-configure-stageprofile-libdecnumber:
24956 @if libdecnumber-bootstrap
24957 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24958 configure-stageprofile-libdecnumber:
24959 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24961 @r=`${PWD_COMMAND}`; export r; \
24962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24963 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24964 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24965 $(HOST_EXPORTS) \
24966 $(POSTSTAGE1_HOST_EXPORTS) \
24967 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24968 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24969 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24970 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
24971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24972 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24973 case $(srcdir) in \
24974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24975 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24977 esac; \
24978 module_srcdir=libdecnumber; \
24979 $(SHELL) $$s/$$module_srcdir/configure \
24980 --srcdir=$${topdir}/$$module_srcdir \
24981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24982 --target=${target_alias} \
24983 --with-build-libsubdir=$(HOST_SUBDIR) \
24984 $(STAGEprofile_CONFIGURE_FLAGS)
24985 @endif libdecnumber-bootstrap
24987 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
24988 maybe-configure-stagetrain-libdecnumber:
24989 @if libdecnumber-bootstrap
24990 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
24991 configure-stagetrain-libdecnumber:
24992 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24994 @r=`${PWD_COMMAND}`; export r; \
24995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24996 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24997 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24998 $(HOST_EXPORTS) \
24999 $(POSTSTAGE1_HOST_EXPORTS) \
25000 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25001 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25002 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25003 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25005 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25006 case $(srcdir) in \
25007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25008 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25010 esac; \
25011 module_srcdir=libdecnumber; \
25012 $(SHELL) $$s/$$module_srcdir/configure \
25013 --srcdir=$${topdir}/$$module_srcdir \
25014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25015 --target=${target_alias} \
25016 --with-build-libsubdir=$(HOST_SUBDIR) \
25017 $(STAGEtrain_CONFIGURE_FLAGS)
25018 @endif libdecnumber-bootstrap
25020 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25021 maybe-configure-stagefeedback-libdecnumber:
25022 @if libdecnumber-bootstrap
25023 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25024 configure-stagefeedback-libdecnumber:
25025 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25027 @r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25030 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25031 $(HOST_EXPORTS) \
25032 $(POSTSTAGE1_HOST_EXPORTS) \
25033 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25034 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25035 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25036 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25038 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25039 case $(srcdir) in \
25040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25041 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25043 esac; \
25044 module_srcdir=libdecnumber; \
25045 $(SHELL) $$s/$$module_srcdir/configure \
25046 --srcdir=$${topdir}/$$module_srcdir \
25047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25048 --target=${target_alias} \
25049 --with-build-libsubdir=$(HOST_SUBDIR) \
25050 $(STAGEfeedback_CONFIGURE_FLAGS)
25051 @endif libdecnumber-bootstrap
25053 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25054 maybe-configure-stageautoprofile-libdecnumber:
25055 @if libdecnumber-bootstrap
25056 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25057 configure-stageautoprofile-libdecnumber:
25058 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25060 @r=`${PWD_COMMAND}`; export r; \
25061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25062 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25063 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25064 $(HOST_EXPORTS) \
25065 $(POSTSTAGE1_HOST_EXPORTS) \
25066 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25067 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25068 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25069 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25071 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25072 case $(srcdir) in \
25073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25074 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25076 esac; \
25077 module_srcdir=libdecnumber; \
25078 $(SHELL) $$s/$$module_srcdir/configure \
25079 --srcdir=$${topdir}/$$module_srcdir \
25080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25081 --target=${target_alias} \
25082 --with-build-libsubdir=$(HOST_SUBDIR) \
25083 $(STAGEautoprofile_CONFIGURE_FLAGS)
25084 @endif libdecnumber-bootstrap
25086 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25087 maybe-configure-stageautofeedback-libdecnumber:
25088 @if libdecnumber-bootstrap
25089 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25090 configure-stageautofeedback-libdecnumber:
25091 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25093 @r=`${PWD_COMMAND}`; export r; \
25094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25095 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25096 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25097 $(HOST_EXPORTS) \
25098 $(POSTSTAGE1_HOST_EXPORTS) \
25099 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25100 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25101 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25102 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25104 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25105 case $(srcdir) in \
25106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25107 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25109 esac; \
25110 module_srcdir=libdecnumber; \
25111 $(SHELL) $$s/$$module_srcdir/configure \
25112 --srcdir=$${topdir}/$$module_srcdir \
25113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25114 --target=${target_alias} \
25115 --with-build-libsubdir=$(HOST_SUBDIR) \
25116 $(STAGEautofeedback_CONFIGURE_FLAGS)
25117 @endif libdecnumber-bootstrap
25123 .PHONY: all-libdecnumber maybe-all-libdecnumber
25124 maybe-all-libdecnumber:
25125 @if gcc-bootstrap
25126 all-libdecnumber: stage_current
25127 @endif gcc-bootstrap
25128 @if libdecnumber
25129 TARGET-libdecnumber=all
25130 maybe-all-libdecnumber: all-libdecnumber
25131 all-libdecnumber: configure-libdecnumber
25132 @r=`${PWD_COMMAND}`; export r; \
25133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25134 $(HOST_EXPORTS) \
25135 (cd $(HOST_SUBDIR)/libdecnumber && \
25136 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25137 $(TARGET-libdecnumber))
25138 @endif libdecnumber
25142 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25143 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25144 maybe-all-stage1-libdecnumber:
25145 maybe-clean-stage1-libdecnumber:
25146 @if libdecnumber-bootstrap
25147 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25148 all-stage1: all-stage1-libdecnumber
25149 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25150 all-stage1-libdecnumber: configure-stage1-libdecnumber
25151 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25152 @r=`${PWD_COMMAND}`; export r; \
25153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25154 TFLAGS="$(STAGE1_TFLAGS)"; \
25155 $(HOST_EXPORTS) \
25156 cd $(HOST_SUBDIR)/libdecnumber && \
25158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25159 CFLAGS="$(STAGE1_CFLAGS)" \
25160 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25161 LIBCFLAGS="$(LIBCFLAGS)" \
25162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25165 $(EXTRA_HOST_FLAGS) \
25166 $(STAGE1_FLAGS_TO_PASS) \
25167 TFLAGS="$(STAGE1_TFLAGS)" \
25168 $(TARGET-stage1-libdecnumber)
25170 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25171 clean-stage1: clean-stage1-libdecnumber
25172 clean-stage1-libdecnumber:
25173 @if [ $(current_stage) = stage1 ]; then \
25174 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25175 else \
25176 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25177 $(MAKE) stage1-start; \
25178 fi; \
25179 cd $(HOST_SUBDIR)/libdecnumber && \
25180 $(MAKE) $(EXTRA_HOST_FLAGS) \
25181 $(STAGE1_FLAGS_TO_PASS) clean
25182 @endif libdecnumber-bootstrap
25185 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25186 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25187 maybe-all-stage2-libdecnumber:
25188 maybe-clean-stage2-libdecnumber:
25189 @if libdecnumber-bootstrap
25190 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25191 all-stage2: all-stage2-libdecnumber
25192 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25193 all-stage2-libdecnumber: configure-stage2-libdecnumber
25194 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25195 @r=`${PWD_COMMAND}`; export r; \
25196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25197 TFLAGS="$(STAGE2_TFLAGS)"; \
25198 $(HOST_EXPORTS) \
25199 $(POSTSTAGE1_HOST_EXPORTS) \
25200 cd $(HOST_SUBDIR)/libdecnumber && \
25202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25203 CFLAGS="$(STAGE2_CFLAGS)" \
25204 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25205 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25210 TFLAGS="$(STAGE2_TFLAGS)" \
25211 $(TARGET-stage2-libdecnumber)
25213 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25214 clean-stage2: clean-stage2-libdecnumber
25215 clean-stage2-libdecnumber:
25216 @if [ $(current_stage) = stage2 ]; then \
25217 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25218 else \
25219 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25220 $(MAKE) stage2-start; \
25221 fi; \
25222 cd $(HOST_SUBDIR)/libdecnumber && \
25223 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25224 @endif libdecnumber-bootstrap
25227 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25228 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25229 maybe-all-stage3-libdecnumber:
25230 maybe-clean-stage3-libdecnumber:
25231 @if libdecnumber-bootstrap
25232 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25233 all-stage3: all-stage3-libdecnumber
25234 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25235 all-stage3-libdecnumber: configure-stage3-libdecnumber
25236 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25237 @r=`${PWD_COMMAND}`; export r; \
25238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25239 TFLAGS="$(STAGE3_TFLAGS)"; \
25240 $(HOST_EXPORTS) \
25241 $(POSTSTAGE1_HOST_EXPORTS) \
25242 cd $(HOST_SUBDIR)/libdecnumber && \
25244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25245 CFLAGS="$(STAGE3_CFLAGS)" \
25246 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25247 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25251 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25252 TFLAGS="$(STAGE3_TFLAGS)" \
25253 $(TARGET-stage3-libdecnumber)
25255 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25256 clean-stage3: clean-stage3-libdecnumber
25257 clean-stage3-libdecnumber:
25258 @if [ $(current_stage) = stage3 ]; then \
25259 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25260 else \
25261 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25262 $(MAKE) stage3-start; \
25263 fi; \
25264 cd $(HOST_SUBDIR)/libdecnumber && \
25265 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25266 @endif libdecnumber-bootstrap
25269 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25270 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25271 maybe-all-stage4-libdecnumber:
25272 maybe-clean-stage4-libdecnumber:
25273 @if libdecnumber-bootstrap
25274 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25275 all-stage4: all-stage4-libdecnumber
25276 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25277 all-stage4-libdecnumber: configure-stage4-libdecnumber
25278 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25279 @r=`${PWD_COMMAND}`; export r; \
25280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25281 TFLAGS="$(STAGE4_TFLAGS)"; \
25282 $(HOST_EXPORTS) \
25283 $(POSTSTAGE1_HOST_EXPORTS) \
25284 cd $(HOST_SUBDIR)/libdecnumber && \
25286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25287 CFLAGS="$(STAGE4_CFLAGS)" \
25288 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25289 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25294 TFLAGS="$(STAGE4_TFLAGS)" \
25295 $(TARGET-stage4-libdecnumber)
25297 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25298 clean-stage4: clean-stage4-libdecnumber
25299 clean-stage4-libdecnumber:
25300 @if [ $(current_stage) = stage4 ]; then \
25301 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25302 else \
25303 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25304 $(MAKE) stage4-start; \
25305 fi; \
25306 cd $(HOST_SUBDIR)/libdecnumber && \
25307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25308 @endif libdecnumber-bootstrap
25311 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25312 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25313 maybe-all-stageprofile-libdecnumber:
25314 maybe-clean-stageprofile-libdecnumber:
25315 @if libdecnumber-bootstrap
25316 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25317 all-stageprofile: all-stageprofile-libdecnumber
25318 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25319 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25320 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25321 @r=`${PWD_COMMAND}`; export r; \
25322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25324 $(HOST_EXPORTS) \
25325 $(POSTSTAGE1_HOST_EXPORTS) \
25326 cd $(HOST_SUBDIR)/libdecnumber && \
25328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25329 CFLAGS="$(STAGEprofile_CFLAGS)" \
25330 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25331 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25336 TFLAGS="$(STAGEprofile_TFLAGS)" \
25337 $(TARGET-stageprofile-libdecnumber)
25339 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25340 clean-stageprofile: clean-stageprofile-libdecnumber
25341 clean-stageprofile-libdecnumber:
25342 @if [ $(current_stage) = stageprofile ]; then \
25343 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25344 else \
25345 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25346 $(MAKE) stageprofile-start; \
25347 fi; \
25348 cd $(HOST_SUBDIR)/libdecnumber && \
25349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25350 @endif libdecnumber-bootstrap
25353 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25354 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25355 maybe-all-stagetrain-libdecnumber:
25356 maybe-clean-stagetrain-libdecnumber:
25357 @if libdecnumber-bootstrap
25358 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25359 all-stagetrain: all-stagetrain-libdecnumber
25360 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25361 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25362 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25363 @r=`${PWD_COMMAND}`; export r; \
25364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25365 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25366 $(HOST_EXPORTS) \
25367 $(POSTSTAGE1_HOST_EXPORTS) \
25368 cd $(HOST_SUBDIR)/libdecnumber && \
25370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25371 CFLAGS="$(STAGEtrain_CFLAGS)" \
25372 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25373 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25374 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25375 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25376 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25377 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25378 TFLAGS="$(STAGEtrain_TFLAGS)" \
25379 $(TARGET-stagetrain-libdecnumber)
25381 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25382 clean-stagetrain: clean-stagetrain-libdecnumber
25383 clean-stagetrain-libdecnumber:
25384 @if [ $(current_stage) = stagetrain ]; then \
25385 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25386 else \
25387 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25388 $(MAKE) stagetrain-start; \
25389 fi; \
25390 cd $(HOST_SUBDIR)/libdecnumber && \
25391 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25392 @endif libdecnumber-bootstrap
25395 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25396 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25397 maybe-all-stagefeedback-libdecnumber:
25398 maybe-clean-stagefeedback-libdecnumber:
25399 @if libdecnumber-bootstrap
25400 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25401 all-stagefeedback: all-stagefeedback-libdecnumber
25402 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25403 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25404 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25405 @r=`${PWD_COMMAND}`; export r; \
25406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25407 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25408 $(HOST_EXPORTS) \
25409 $(POSTSTAGE1_HOST_EXPORTS) \
25410 cd $(HOST_SUBDIR)/libdecnumber && \
25412 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25413 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25414 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25415 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25416 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25417 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25418 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25419 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25420 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25421 $(TARGET-stagefeedback-libdecnumber)
25423 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25424 clean-stagefeedback: clean-stagefeedback-libdecnumber
25425 clean-stagefeedback-libdecnumber:
25426 @if [ $(current_stage) = stagefeedback ]; then \
25427 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25428 else \
25429 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25430 $(MAKE) stagefeedback-start; \
25431 fi; \
25432 cd $(HOST_SUBDIR)/libdecnumber && \
25433 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25434 @endif libdecnumber-bootstrap
25437 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25438 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25439 maybe-all-stageautoprofile-libdecnumber:
25440 maybe-clean-stageautoprofile-libdecnumber:
25441 @if libdecnumber-bootstrap
25442 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25443 all-stageautoprofile: all-stageautoprofile-libdecnumber
25444 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25445 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25446 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25447 @r=`${PWD_COMMAND}`; export r; \
25448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25449 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25450 $(HOST_EXPORTS) \
25451 $(POSTSTAGE1_HOST_EXPORTS) \
25452 cd $(HOST_SUBDIR)/libdecnumber && \
25453 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25455 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25456 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25457 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25461 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25462 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25463 $(TARGET-stageautoprofile-libdecnumber)
25465 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25466 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25467 clean-stageautoprofile-libdecnumber:
25468 @if [ $(current_stage) = stageautoprofile ]; then \
25469 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25470 else \
25471 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25472 $(MAKE) stageautoprofile-start; \
25473 fi; \
25474 cd $(HOST_SUBDIR)/libdecnumber && \
25475 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25476 @endif libdecnumber-bootstrap
25479 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25480 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25481 maybe-all-stageautofeedback-libdecnumber:
25482 maybe-clean-stageautofeedback-libdecnumber:
25483 @if libdecnumber-bootstrap
25484 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25485 all-stageautofeedback: all-stageautofeedback-libdecnumber
25486 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25487 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25488 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25489 @r=`${PWD_COMMAND}`; export r; \
25490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25491 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25492 $(HOST_EXPORTS) \
25493 $(POSTSTAGE1_HOST_EXPORTS) \
25494 cd $(HOST_SUBDIR)/libdecnumber && \
25496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25497 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25498 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25499 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25500 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25501 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25502 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25503 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25504 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25505 $(TARGET-stageautofeedback-libdecnumber)
25507 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25508 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25509 clean-stageautofeedback-libdecnumber:
25510 @if [ $(current_stage) = stageautofeedback ]; then \
25511 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25512 else \
25513 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25514 $(MAKE) stageautofeedback-start; \
25515 fi; \
25516 cd $(HOST_SUBDIR)/libdecnumber && \
25517 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25518 @endif libdecnumber-bootstrap
25524 .PHONY: check-libdecnumber maybe-check-libdecnumber
25525 maybe-check-libdecnumber:
25526 @if libdecnumber
25527 maybe-check-libdecnumber: check-libdecnumber
25529 check-libdecnumber:
25530 @: $(MAKE); $(unstage)
25531 @r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25533 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25534 (cd $(HOST_SUBDIR)/libdecnumber && \
25535 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25537 @endif libdecnumber
25539 .PHONY: install-libdecnumber maybe-install-libdecnumber
25540 maybe-install-libdecnumber:
25541 @if libdecnumber
25542 maybe-install-libdecnumber: install-libdecnumber
25544 install-libdecnumber: installdirs
25545 @: $(MAKE); $(unstage)
25546 @r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 $(HOST_EXPORTS) \
25549 (cd $(HOST_SUBDIR)/libdecnumber && \
25550 $(MAKE) $(FLAGS_TO_PASS) install)
25552 @endif libdecnumber
25554 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25555 maybe-install-strip-libdecnumber:
25556 @if libdecnumber
25557 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25559 install-strip-libdecnumber: installdirs
25560 @: $(MAKE); $(unstage)
25561 @r=`${PWD_COMMAND}`; export r; \
25562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25563 $(HOST_EXPORTS) \
25564 (cd $(HOST_SUBDIR)/libdecnumber && \
25565 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25567 @endif libdecnumber
25569 # Other targets (info, dvi, pdf, etc.)
25571 .PHONY: maybe-info-libdecnumber info-libdecnumber
25572 maybe-info-libdecnumber:
25573 @if libdecnumber
25574 maybe-info-libdecnumber: info-libdecnumber
25576 info-libdecnumber: \
25577 configure-libdecnumber
25578 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25579 r=`${PWD_COMMAND}`; export r; \
25580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25581 $(HOST_EXPORTS) \
25582 for flag in $(EXTRA_HOST_FLAGS) ; do \
25583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25584 done; \
25585 echo "Doing info in libdecnumber"; \
25586 (cd $(HOST_SUBDIR)/libdecnumber && \
25587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25589 "RANLIB=$${RANLIB}" \
25590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25591 info) \
25592 || exit 1
25594 @endif libdecnumber
25596 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25597 maybe-dvi-libdecnumber:
25598 @if libdecnumber
25599 maybe-dvi-libdecnumber: dvi-libdecnumber
25601 dvi-libdecnumber: \
25602 configure-libdecnumber
25603 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25604 r=`${PWD_COMMAND}`; export r; \
25605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25606 $(HOST_EXPORTS) \
25607 for flag in $(EXTRA_HOST_FLAGS) ; do \
25608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25609 done; \
25610 echo "Doing dvi in libdecnumber"; \
25611 (cd $(HOST_SUBDIR)/libdecnumber && \
25612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25614 "RANLIB=$${RANLIB}" \
25615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25616 dvi) \
25617 || exit 1
25619 @endif libdecnumber
25621 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25622 maybe-pdf-libdecnumber:
25623 @if libdecnumber
25624 maybe-pdf-libdecnumber: pdf-libdecnumber
25626 pdf-libdecnumber: \
25627 configure-libdecnumber
25628 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25629 r=`${PWD_COMMAND}`; export r; \
25630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 $(HOST_EXPORTS) \
25632 for flag in $(EXTRA_HOST_FLAGS) ; do \
25633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25634 done; \
25635 echo "Doing pdf in libdecnumber"; \
25636 (cd $(HOST_SUBDIR)/libdecnumber && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25639 "RANLIB=$${RANLIB}" \
25640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25641 pdf) \
25642 || exit 1
25644 @endif libdecnumber
25646 .PHONY: maybe-html-libdecnumber html-libdecnumber
25647 maybe-html-libdecnumber:
25648 @if libdecnumber
25649 maybe-html-libdecnumber: html-libdecnumber
25651 html-libdecnumber: \
25652 configure-libdecnumber
25653 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25654 r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25656 $(HOST_EXPORTS) \
25657 for flag in $(EXTRA_HOST_FLAGS) ; do \
25658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25659 done; \
25660 echo "Doing html in libdecnumber"; \
25661 (cd $(HOST_SUBDIR)/libdecnumber && \
25662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25664 "RANLIB=$${RANLIB}" \
25665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25666 html) \
25667 || exit 1
25669 @endif libdecnumber
25671 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25672 maybe-TAGS-libdecnumber:
25673 @if libdecnumber
25674 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25676 TAGS-libdecnumber: \
25677 configure-libdecnumber
25678 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25679 r=`${PWD_COMMAND}`; export r; \
25680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25681 $(HOST_EXPORTS) \
25682 for flag in $(EXTRA_HOST_FLAGS) ; do \
25683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25684 done; \
25685 echo "Doing TAGS in libdecnumber"; \
25686 (cd $(HOST_SUBDIR)/libdecnumber && \
25687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25689 "RANLIB=$${RANLIB}" \
25690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25691 TAGS) \
25692 || exit 1
25694 @endif libdecnumber
25696 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25697 maybe-install-info-libdecnumber:
25698 @if libdecnumber
25699 maybe-install-info-libdecnumber: install-info-libdecnumber
25701 install-info-libdecnumber: \
25702 configure-libdecnumber \
25703 info-libdecnumber
25704 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25705 r=`${PWD_COMMAND}`; export r; \
25706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25707 $(HOST_EXPORTS) \
25708 for flag in $(EXTRA_HOST_FLAGS) ; do \
25709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25710 done; \
25711 echo "Doing install-info in libdecnumber"; \
25712 (cd $(HOST_SUBDIR)/libdecnumber && \
25713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25715 "RANLIB=$${RANLIB}" \
25716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25717 install-info) \
25718 || exit 1
25720 @endif libdecnumber
25722 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25723 maybe-install-pdf-libdecnumber:
25724 @if libdecnumber
25725 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25727 install-pdf-libdecnumber: \
25728 configure-libdecnumber \
25729 pdf-libdecnumber
25730 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25731 r=`${PWD_COMMAND}`; export r; \
25732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25733 $(HOST_EXPORTS) \
25734 for flag in $(EXTRA_HOST_FLAGS) ; do \
25735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25736 done; \
25737 echo "Doing install-pdf in libdecnumber"; \
25738 (cd $(HOST_SUBDIR)/libdecnumber && \
25739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25741 "RANLIB=$${RANLIB}" \
25742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25743 install-pdf) \
25744 || exit 1
25746 @endif libdecnumber
25748 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25749 maybe-install-html-libdecnumber:
25750 @if libdecnumber
25751 maybe-install-html-libdecnumber: install-html-libdecnumber
25753 install-html-libdecnumber: \
25754 configure-libdecnumber \
25755 html-libdecnumber
25756 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25757 r=`${PWD_COMMAND}`; export r; \
25758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25759 $(HOST_EXPORTS) \
25760 for flag in $(EXTRA_HOST_FLAGS) ; do \
25761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25762 done; \
25763 echo "Doing install-html in libdecnumber"; \
25764 (cd $(HOST_SUBDIR)/libdecnumber && \
25765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25767 "RANLIB=$${RANLIB}" \
25768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25769 install-html) \
25770 || exit 1
25772 @endif libdecnumber
25774 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
25775 maybe-installcheck-libdecnumber:
25776 @if libdecnumber
25777 maybe-installcheck-libdecnumber: installcheck-libdecnumber
25779 installcheck-libdecnumber: \
25780 configure-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 installcheck 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 installcheck) \
25795 || exit 1
25797 @endif libdecnumber
25799 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
25800 maybe-mostlyclean-libdecnumber:
25801 @if libdecnumber
25802 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
25804 mostlyclean-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 mostlyclean 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 mostlyclean) \
25819 || exit 1
25821 @endif libdecnumber
25823 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
25824 maybe-clean-libdecnumber:
25825 @if libdecnumber
25826 maybe-clean-libdecnumber: clean-libdecnumber
25828 clean-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 clean 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 clean) \
25843 || exit 1
25845 @endif libdecnumber
25847 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
25848 maybe-distclean-libdecnumber:
25849 @if libdecnumber
25850 maybe-distclean-libdecnumber: distclean-libdecnumber
25852 distclean-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 distclean 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 distclean) \
25867 || exit 1
25869 @endif libdecnumber
25871 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
25872 maybe-maintainer-clean-libdecnumber:
25873 @if libdecnumber
25874 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
25876 maintainer-clean-libdecnumber:
25877 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25878 r=`${PWD_COMMAND}`; export r; \
25879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25880 $(HOST_EXPORTS) \
25881 for flag in $(EXTRA_HOST_FLAGS) ; do \
25882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25883 done; \
25884 echo "Doing maintainer-clean in libdecnumber"; \
25885 (cd $(HOST_SUBDIR)/libdecnumber && \
25886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25888 "RANLIB=$${RANLIB}" \
25889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25890 maintainer-clean) \
25891 || exit 1
25893 @endif libdecnumber
25897 .PHONY: configure-libgui maybe-configure-libgui
25898 maybe-configure-libgui:
25899 @if gcc-bootstrap
25900 configure-libgui: stage_current
25901 @endif gcc-bootstrap
25902 @if libgui
25903 maybe-configure-libgui: configure-libgui
25904 configure-libgui:
25905 @: $(MAKE); $(unstage)
25906 @r=`${PWD_COMMAND}`; export r; \
25907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25908 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
25909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
25910 $(HOST_EXPORTS) \
25911 echo Configuring in $(HOST_SUBDIR)/libgui; \
25912 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
25913 case $(srcdir) in \
25914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25915 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
25916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25917 esac; \
25918 module_srcdir=libgui; \
25919 $(SHELL) \
25920 $$s/$$module_srcdir/configure \
25921 --srcdir=$${topdir}/$$module_srcdir \
25922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25923 --target=${target_alias} \
25924 || exit 1
25925 @endif libgui
25931 .PHONY: all-libgui maybe-all-libgui
25932 maybe-all-libgui:
25933 @if gcc-bootstrap
25934 all-libgui: stage_current
25935 @endif gcc-bootstrap
25936 @if libgui
25937 TARGET-libgui=all
25938 maybe-all-libgui: all-libgui
25939 all-libgui: configure-libgui
25940 @: $(MAKE); $(unstage)
25941 @r=`${PWD_COMMAND}`; export r; \
25942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25943 $(HOST_EXPORTS) \
25944 (cd $(HOST_SUBDIR)/libgui && \
25945 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25946 $(TARGET-libgui))
25947 @endif libgui
25952 .PHONY: check-libgui maybe-check-libgui
25953 maybe-check-libgui:
25954 @if libgui
25955 maybe-check-libgui: check-libgui
25957 check-libgui:
25958 @: $(MAKE); $(unstage)
25959 @r=`${PWD_COMMAND}`; export r; \
25960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25961 $(HOST_EXPORTS) \
25962 (cd $(HOST_SUBDIR)/libgui && \
25963 $(MAKE) $(FLAGS_TO_PASS) check)
25965 @endif libgui
25967 .PHONY: install-libgui maybe-install-libgui
25968 maybe-install-libgui:
25969 @if libgui
25970 maybe-install-libgui: install-libgui
25972 install-libgui: installdirs
25973 @: $(MAKE); $(unstage)
25974 @r=`${PWD_COMMAND}`; export r; \
25975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976 $(HOST_EXPORTS) \
25977 (cd $(HOST_SUBDIR)/libgui && \
25978 $(MAKE) $(FLAGS_TO_PASS) install)
25980 @endif libgui
25982 .PHONY: install-strip-libgui maybe-install-strip-libgui
25983 maybe-install-strip-libgui:
25984 @if libgui
25985 maybe-install-strip-libgui: install-strip-libgui
25987 install-strip-libgui: installdirs
25988 @: $(MAKE); $(unstage)
25989 @r=`${PWD_COMMAND}`; export r; \
25990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25991 $(HOST_EXPORTS) \
25992 (cd $(HOST_SUBDIR)/libgui && \
25993 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25995 @endif libgui
25997 # Other targets (info, dvi, pdf, etc.)
25999 .PHONY: maybe-info-libgui info-libgui
26000 maybe-info-libgui:
26001 @if libgui
26002 maybe-info-libgui: info-libgui
26004 info-libgui: \
26005 configure-libgui
26006 @: $(MAKE); $(unstage)
26007 @[ -f ./libgui/Makefile ] || exit 0; \
26008 r=`${PWD_COMMAND}`; export r; \
26009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26010 $(HOST_EXPORTS) \
26011 for flag in $(EXTRA_HOST_FLAGS) ; do \
26012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26013 done; \
26014 echo "Doing info in libgui"; \
26015 (cd $(HOST_SUBDIR)/libgui && \
26016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26018 "RANLIB=$${RANLIB}" \
26019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26020 info) \
26021 || exit 1
26023 @endif libgui
26025 .PHONY: maybe-dvi-libgui dvi-libgui
26026 maybe-dvi-libgui:
26027 @if libgui
26028 maybe-dvi-libgui: dvi-libgui
26030 dvi-libgui: \
26031 configure-libgui
26032 @: $(MAKE); $(unstage)
26033 @[ -f ./libgui/Makefile ] || exit 0; \
26034 r=`${PWD_COMMAND}`; export r; \
26035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26036 $(HOST_EXPORTS) \
26037 for flag in $(EXTRA_HOST_FLAGS) ; do \
26038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26039 done; \
26040 echo "Doing dvi in libgui"; \
26041 (cd $(HOST_SUBDIR)/libgui && \
26042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26044 "RANLIB=$${RANLIB}" \
26045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26046 dvi) \
26047 || exit 1
26049 @endif libgui
26051 .PHONY: maybe-pdf-libgui pdf-libgui
26052 maybe-pdf-libgui:
26053 @if libgui
26054 maybe-pdf-libgui: pdf-libgui
26056 pdf-libgui: \
26057 configure-libgui
26058 @: $(MAKE); $(unstage)
26059 @[ -f ./libgui/Makefile ] || exit 0; \
26060 r=`${PWD_COMMAND}`; export r; \
26061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26062 $(HOST_EXPORTS) \
26063 for flag in $(EXTRA_HOST_FLAGS) ; do \
26064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26065 done; \
26066 echo "Doing pdf in libgui"; \
26067 (cd $(HOST_SUBDIR)/libgui && \
26068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26070 "RANLIB=$${RANLIB}" \
26071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26072 pdf) \
26073 || exit 1
26075 @endif libgui
26077 .PHONY: maybe-html-libgui html-libgui
26078 maybe-html-libgui:
26079 @if libgui
26080 maybe-html-libgui: html-libgui
26082 html-libgui: \
26083 configure-libgui
26084 @: $(MAKE); $(unstage)
26085 @[ -f ./libgui/Makefile ] || exit 0; \
26086 r=`${PWD_COMMAND}`; export r; \
26087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26088 $(HOST_EXPORTS) \
26089 for flag in $(EXTRA_HOST_FLAGS) ; do \
26090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26091 done; \
26092 echo "Doing html in libgui"; \
26093 (cd $(HOST_SUBDIR)/libgui && \
26094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26096 "RANLIB=$${RANLIB}" \
26097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26098 html) \
26099 || exit 1
26101 @endif libgui
26103 .PHONY: maybe-TAGS-libgui TAGS-libgui
26104 maybe-TAGS-libgui:
26105 @if libgui
26106 maybe-TAGS-libgui: TAGS-libgui
26108 TAGS-libgui: \
26109 configure-libgui
26110 @: $(MAKE); $(unstage)
26111 @[ -f ./libgui/Makefile ] || exit 0; \
26112 r=`${PWD_COMMAND}`; export r; \
26113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26114 $(HOST_EXPORTS) \
26115 for flag in $(EXTRA_HOST_FLAGS) ; do \
26116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26117 done; \
26118 echo "Doing TAGS in libgui"; \
26119 (cd $(HOST_SUBDIR)/libgui && \
26120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26122 "RANLIB=$${RANLIB}" \
26123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26124 TAGS) \
26125 || exit 1
26127 @endif libgui
26129 .PHONY: maybe-install-info-libgui install-info-libgui
26130 maybe-install-info-libgui:
26131 @if libgui
26132 maybe-install-info-libgui: install-info-libgui
26134 install-info-libgui: \
26135 configure-libgui \
26136 info-libgui
26137 @: $(MAKE); $(unstage)
26138 @[ -f ./libgui/Makefile ] || exit 0; \
26139 r=`${PWD_COMMAND}`; export r; \
26140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26141 $(HOST_EXPORTS) \
26142 for flag in $(EXTRA_HOST_FLAGS) ; do \
26143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26144 done; \
26145 echo "Doing install-info in libgui"; \
26146 (cd $(HOST_SUBDIR)/libgui && \
26147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26149 "RANLIB=$${RANLIB}" \
26150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26151 install-info) \
26152 || exit 1
26154 @endif libgui
26156 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26157 maybe-install-pdf-libgui:
26158 @if libgui
26159 maybe-install-pdf-libgui: install-pdf-libgui
26161 install-pdf-libgui: \
26162 configure-libgui \
26163 pdf-libgui
26164 @: $(MAKE); $(unstage)
26165 @[ -f ./libgui/Makefile ] || exit 0; \
26166 r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26168 $(HOST_EXPORTS) \
26169 for flag in $(EXTRA_HOST_FLAGS) ; do \
26170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26171 done; \
26172 echo "Doing install-pdf in libgui"; \
26173 (cd $(HOST_SUBDIR)/libgui && \
26174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26176 "RANLIB=$${RANLIB}" \
26177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26178 install-pdf) \
26179 || exit 1
26181 @endif libgui
26183 .PHONY: maybe-install-html-libgui install-html-libgui
26184 maybe-install-html-libgui:
26185 @if libgui
26186 maybe-install-html-libgui: install-html-libgui
26188 install-html-libgui: \
26189 configure-libgui \
26190 html-libgui
26191 @: $(MAKE); $(unstage)
26192 @[ -f ./libgui/Makefile ] || exit 0; \
26193 r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(HOST_EXPORTS) \
26196 for flag in $(EXTRA_HOST_FLAGS) ; do \
26197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26198 done; \
26199 echo "Doing install-html in libgui"; \
26200 (cd $(HOST_SUBDIR)/libgui && \
26201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26203 "RANLIB=$${RANLIB}" \
26204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26205 install-html) \
26206 || exit 1
26208 @endif libgui
26210 .PHONY: maybe-installcheck-libgui installcheck-libgui
26211 maybe-installcheck-libgui:
26212 @if libgui
26213 maybe-installcheck-libgui: installcheck-libgui
26215 installcheck-libgui: \
26216 configure-libgui
26217 @: $(MAKE); $(unstage)
26218 @[ -f ./libgui/Makefile ] || exit 0; \
26219 r=`${PWD_COMMAND}`; export r; \
26220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26221 $(HOST_EXPORTS) \
26222 for flag in $(EXTRA_HOST_FLAGS) ; do \
26223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26224 done; \
26225 echo "Doing installcheck in libgui"; \
26226 (cd $(HOST_SUBDIR)/libgui && \
26227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26229 "RANLIB=$${RANLIB}" \
26230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26231 installcheck) \
26232 || exit 1
26234 @endif libgui
26236 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26237 maybe-mostlyclean-libgui:
26238 @if libgui
26239 maybe-mostlyclean-libgui: mostlyclean-libgui
26241 mostlyclean-libgui:
26242 @: $(MAKE); $(unstage)
26243 @[ -f ./libgui/Makefile ] || exit 0; \
26244 r=`${PWD_COMMAND}`; export r; \
26245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26246 $(HOST_EXPORTS) \
26247 for flag in $(EXTRA_HOST_FLAGS) ; do \
26248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26249 done; \
26250 echo "Doing mostlyclean in libgui"; \
26251 (cd $(HOST_SUBDIR)/libgui && \
26252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26254 "RANLIB=$${RANLIB}" \
26255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26256 mostlyclean) \
26257 || exit 1
26259 @endif libgui
26261 .PHONY: maybe-clean-libgui clean-libgui
26262 maybe-clean-libgui:
26263 @if libgui
26264 maybe-clean-libgui: clean-libgui
26266 clean-libgui:
26267 @: $(MAKE); $(unstage)
26268 @[ -f ./libgui/Makefile ] || exit 0; \
26269 r=`${PWD_COMMAND}`; export r; \
26270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26271 $(HOST_EXPORTS) \
26272 for flag in $(EXTRA_HOST_FLAGS) ; do \
26273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26274 done; \
26275 echo "Doing clean in libgui"; \
26276 (cd $(HOST_SUBDIR)/libgui && \
26277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26279 "RANLIB=$${RANLIB}" \
26280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26281 clean) \
26282 || exit 1
26284 @endif libgui
26286 .PHONY: maybe-distclean-libgui distclean-libgui
26287 maybe-distclean-libgui:
26288 @if libgui
26289 maybe-distclean-libgui: distclean-libgui
26291 distclean-libgui:
26292 @: $(MAKE); $(unstage)
26293 @[ -f ./libgui/Makefile ] || exit 0; \
26294 r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26296 $(HOST_EXPORTS) \
26297 for flag in $(EXTRA_HOST_FLAGS) ; do \
26298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26299 done; \
26300 echo "Doing distclean in libgui"; \
26301 (cd $(HOST_SUBDIR)/libgui && \
26302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26304 "RANLIB=$${RANLIB}" \
26305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26306 distclean) \
26307 || exit 1
26309 @endif libgui
26311 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26312 maybe-maintainer-clean-libgui:
26313 @if libgui
26314 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26316 maintainer-clean-libgui:
26317 @: $(MAKE); $(unstage)
26318 @[ -f ./libgui/Makefile ] || exit 0; \
26319 r=`${PWD_COMMAND}`; export r; \
26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 $(HOST_EXPORTS) \
26322 for flag in $(EXTRA_HOST_FLAGS) ; do \
26323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26324 done; \
26325 echo "Doing maintainer-clean in libgui"; \
26326 (cd $(HOST_SUBDIR)/libgui && \
26327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26329 "RANLIB=$${RANLIB}" \
26330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26331 maintainer-clean) \
26332 || exit 1
26334 @endif libgui
26338 .PHONY: configure-libiberty maybe-configure-libiberty
26339 maybe-configure-libiberty:
26340 @if gcc-bootstrap
26341 configure-libiberty: stage_current
26342 @endif gcc-bootstrap
26343 @if libiberty
26344 maybe-configure-libiberty: configure-libiberty
26345 configure-libiberty:
26346 @r=`${PWD_COMMAND}`; export r; \
26347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26348 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26350 $(HOST_EXPORTS) \
26351 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26352 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26353 case $(srcdir) in \
26354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26355 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26357 esac; \
26358 module_srcdir=libiberty; \
26359 $(SHELL) \
26360 $$s/$$module_srcdir/configure \
26361 --srcdir=$${topdir}/$$module_srcdir \
26362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26363 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26364 || exit 1
26365 @endif libiberty
26369 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26370 maybe-configure-stage1-libiberty:
26371 @if libiberty-bootstrap
26372 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26373 configure-stage1-libiberty:
26374 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26375 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26376 @r=`${PWD_COMMAND}`; export r; \
26377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26378 TFLAGS="$(STAGE1_TFLAGS)"; \
26379 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26380 $(HOST_EXPORTS) \
26381 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26382 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26383 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26384 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26386 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26387 case $(srcdir) in \
26388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26389 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26391 esac; \
26392 module_srcdir=libiberty; \
26393 $(SHELL) $$s/$$module_srcdir/configure \
26394 --srcdir=$${topdir}/$$module_srcdir \
26395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26396 --target=${target_alias} \
26398 $(STAGE1_CONFIGURE_FLAGS) \
26399 @extra_host_libiberty_configure_flags@
26400 @endif libiberty-bootstrap
26402 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26403 maybe-configure-stage2-libiberty:
26404 @if libiberty-bootstrap
26405 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26406 configure-stage2-libiberty:
26407 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26409 @r=`${PWD_COMMAND}`; export r; \
26410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26411 TFLAGS="$(STAGE2_TFLAGS)"; \
26412 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26413 $(HOST_EXPORTS) \
26414 $(POSTSTAGE1_HOST_EXPORTS) \
26415 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26416 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26417 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26418 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26420 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26421 case $(srcdir) in \
26422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26423 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26425 esac; \
26426 module_srcdir=libiberty; \
26427 $(SHELL) $$s/$$module_srcdir/configure \
26428 --srcdir=$${topdir}/$$module_srcdir \
26429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26430 --target=${target_alias} \
26431 --with-build-libsubdir=$(HOST_SUBDIR) \
26432 $(STAGE2_CONFIGURE_FLAGS) \
26433 @extra_host_libiberty_configure_flags@
26434 @endif libiberty-bootstrap
26436 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26437 maybe-configure-stage3-libiberty:
26438 @if libiberty-bootstrap
26439 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26440 configure-stage3-libiberty:
26441 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26443 @r=`${PWD_COMMAND}`; export r; \
26444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26445 TFLAGS="$(STAGE3_TFLAGS)"; \
26446 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26447 $(HOST_EXPORTS) \
26448 $(POSTSTAGE1_HOST_EXPORTS) \
26449 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26450 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26451 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26452 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26454 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26455 case $(srcdir) in \
26456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26457 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26459 esac; \
26460 module_srcdir=libiberty; \
26461 $(SHELL) $$s/$$module_srcdir/configure \
26462 --srcdir=$${topdir}/$$module_srcdir \
26463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26464 --target=${target_alias} \
26465 --with-build-libsubdir=$(HOST_SUBDIR) \
26466 $(STAGE3_CONFIGURE_FLAGS) \
26467 @extra_host_libiberty_configure_flags@
26468 @endif libiberty-bootstrap
26470 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26471 maybe-configure-stage4-libiberty:
26472 @if libiberty-bootstrap
26473 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26474 configure-stage4-libiberty:
26475 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26477 @r=`${PWD_COMMAND}`; export r; \
26478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26479 TFLAGS="$(STAGE4_TFLAGS)"; \
26480 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26481 $(HOST_EXPORTS) \
26482 $(POSTSTAGE1_HOST_EXPORTS) \
26483 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26484 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26485 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26486 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26488 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26489 case $(srcdir) in \
26490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26491 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26493 esac; \
26494 module_srcdir=libiberty; \
26495 $(SHELL) $$s/$$module_srcdir/configure \
26496 --srcdir=$${topdir}/$$module_srcdir \
26497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26498 --target=${target_alias} \
26499 --with-build-libsubdir=$(HOST_SUBDIR) \
26500 $(STAGE4_CONFIGURE_FLAGS) \
26501 @extra_host_libiberty_configure_flags@
26502 @endif libiberty-bootstrap
26504 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26505 maybe-configure-stageprofile-libiberty:
26506 @if libiberty-bootstrap
26507 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26508 configure-stageprofile-libiberty:
26509 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26511 @r=`${PWD_COMMAND}`; export r; \
26512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26513 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26514 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26515 $(HOST_EXPORTS) \
26516 $(POSTSTAGE1_HOST_EXPORTS) \
26517 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26518 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26519 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26520 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26522 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26523 case $(srcdir) in \
26524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26525 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26527 esac; \
26528 module_srcdir=libiberty; \
26529 $(SHELL) $$s/$$module_srcdir/configure \
26530 --srcdir=$${topdir}/$$module_srcdir \
26531 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26532 --target=${target_alias} \
26533 --with-build-libsubdir=$(HOST_SUBDIR) \
26534 $(STAGEprofile_CONFIGURE_FLAGS) \
26535 @extra_host_libiberty_configure_flags@
26536 @endif libiberty-bootstrap
26538 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26539 maybe-configure-stagetrain-libiberty:
26540 @if libiberty-bootstrap
26541 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26542 configure-stagetrain-libiberty:
26543 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26544 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26545 @r=`${PWD_COMMAND}`; export r; \
26546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26547 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26548 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26549 $(HOST_EXPORTS) \
26550 $(POSTSTAGE1_HOST_EXPORTS) \
26551 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26552 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26553 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26554 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26556 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26557 case $(srcdir) in \
26558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26559 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26561 esac; \
26562 module_srcdir=libiberty; \
26563 $(SHELL) $$s/$$module_srcdir/configure \
26564 --srcdir=$${topdir}/$$module_srcdir \
26565 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26566 --target=${target_alias} \
26567 --with-build-libsubdir=$(HOST_SUBDIR) \
26568 $(STAGEtrain_CONFIGURE_FLAGS) \
26569 @extra_host_libiberty_configure_flags@
26570 @endif libiberty-bootstrap
26572 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26573 maybe-configure-stagefeedback-libiberty:
26574 @if libiberty-bootstrap
26575 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26576 configure-stagefeedback-libiberty:
26577 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26579 @r=`${PWD_COMMAND}`; export r; \
26580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26581 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26582 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26583 $(HOST_EXPORTS) \
26584 $(POSTSTAGE1_HOST_EXPORTS) \
26585 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26586 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26587 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26588 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26590 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26591 case $(srcdir) in \
26592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26593 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26595 esac; \
26596 module_srcdir=libiberty; \
26597 $(SHELL) $$s/$$module_srcdir/configure \
26598 --srcdir=$${topdir}/$$module_srcdir \
26599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26600 --target=${target_alias} \
26601 --with-build-libsubdir=$(HOST_SUBDIR) \
26602 $(STAGEfeedback_CONFIGURE_FLAGS) \
26603 @extra_host_libiberty_configure_flags@
26604 @endif libiberty-bootstrap
26606 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26607 maybe-configure-stageautoprofile-libiberty:
26608 @if libiberty-bootstrap
26609 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26610 configure-stageautoprofile-libiberty:
26611 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26613 @r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26616 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26617 $(HOST_EXPORTS) \
26618 $(POSTSTAGE1_HOST_EXPORTS) \
26619 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26620 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26621 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26622 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26624 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26625 case $(srcdir) in \
26626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26627 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26629 esac; \
26630 module_srcdir=libiberty; \
26631 $(SHELL) $$s/$$module_srcdir/configure \
26632 --srcdir=$${topdir}/$$module_srcdir \
26633 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26634 --target=${target_alias} \
26635 --with-build-libsubdir=$(HOST_SUBDIR) \
26636 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26637 @extra_host_libiberty_configure_flags@
26638 @endif libiberty-bootstrap
26640 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26641 maybe-configure-stageautofeedback-libiberty:
26642 @if libiberty-bootstrap
26643 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26644 configure-stageautofeedback-libiberty:
26645 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26647 @r=`${PWD_COMMAND}`; export r; \
26648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26650 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26651 $(HOST_EXPORTS) \
26652 $(POSTSTAGE1_HOST_EXPORTS) \
26653 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26654 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26655 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26656 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26658 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26659 case $(srcdir) in \
26660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26661 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26663 esac; \
26664 module_srcdir=libiberty; \
26665 $(SHELL) $$s/$$module_srcdir/configure \
26666 --srcdir=$${topdir}/$$module_srcdir \
26667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26668 --target=${target_alias} \
26669 --with-build-libsubdir=$(HOST_SUBDIR) \
26670 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26671 @extra_host_libiberty_configure_flags@
26672 @endif libiberty-bootstrap
26678 .PHONY: all-libiberty maybe-all-libiberty
26679 maybe-all-libiberty:
26680 @if gcc-bootstrap
26681 all-libiberty: stage_current
26682 @endif gcc-bootstrap
26683 @if libiberty
26684 TARGET-libiberty=all
26685 maybe-all-libiberty: all-libiberty
26686 all-libiberty: configure-libiberty
26687 @r=`${PWD_COMMAND}`; export r; \
26688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26689 $(HOST_EXPORTS) \
26690 (cd $(HOST_SUBDIR)/libiberty && \
26691 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26692 $(TARGET-libiberty))
26693 @endif libiberty
26697 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26698 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26699 maybe-all-stage1-libiberty:
26700 maybe-clean-stage1-libiberty:
26701 @if libiberty-bootstrap
26702 maybe-all-stage1-libiberty: all-stage1-libiberty
26703 all-stage1: all-stage1-libiberty
26704 TARGET-stage1-libiberty = $(TARGET-libiberty)
26705 all-stage1-libiberty: configure-stage1-libiberty
26706 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26707 @r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26709 TFLAGS="$(STAGE1_TFLAGS)"; \
26710 $(HOST_EXPORTS) \
26711 cd $(HOST_SUBDIR)/libiberty && \
26713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26714 CFLAGS="$(STAGE1_CFLAGS)" \
26715 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26716 LIBCFLAGS="$(LIBCFLAGS)" \
26717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26720 $(EXTRA_HOST_FLAGS) \
26721 $(STAGE1_FLAGS_TO_PASS) \
26722 TFLAGS="$(STAGE1_TFLAGS)" \
26723 $(TARGET-stage1-libiberty)
26725 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26726 clean-stage1: clean-stage1-libiberty
26727 clean-stage1-libiberty:
26728 @if [ $(current_stage) = stage1 ]; then \
26729 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26730 else \
26731 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26732 $(MAKE) stage1-start; \
26733 fi; \
26734 cd $(HOST_SUBDIR)/libiberty && \
26735 $(MAKE) $(EXTRA_HOST_FLAGS) \
26736 $(STAGE1_FLAGS_TO_PASS) clean
26737 @endif libiberty-bootstrap
26740 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26741 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26742 maybe-all-stage2-libiberty:
26743 maybe-clean-stage2-libiberty:
26744 @if libiberty-bootstrap
26745 maybe-all-stage2-libiberty: all-stage2-libiberty
26746 all-stage2: all-stage2-libiberty
26747 TARGET-stage2-libiberty = $(TARGET-libiberty)
26748 all-stage2-libiberty: configure-stage2-libiberty
26749 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26750 @r=`${PWD_COMMAND}`; export r; \
26751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26752 TFLAGS="$(STAGE2_TFLAGS)"; \
26753 $(HOST_EXPORTS) \
26754 $(POSTSTAGE1_HOST_EXPORTS) \
26755 cd $(HOST_SUBDIR)/libiberty && \
26757 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26758 CFLAGS="$(STAGE2_CFLAGS)" \
26759 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26760 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26764 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26765 TFLAGS="$(STAGE2_TFLAGS)" \
26766 $(TARGET-stage2-libiberty)
26768 maybe-clean-stage2-libiberty: clean-stage2-libiberty
26769 clean-stage2: clean-stage2-libiberty
26770 clean-stage2-libiberty:
26771 @if [ $(current_stage) = stage2 ]; then \
26772 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26773 else \
26774 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
26775 $(MAKE) stage2-start; \
26776 fi; \
26777 cd $(HOST_SUBDIR)/libiberty && \
26778 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26779 @endif libiberty-bootstrap
26782 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
26783 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
26784 maybe-all-stage3-libiberty:
26785 maybe-clean-stage3-libiberty:
26786 @if libiberty-bootstrap
26787 maybe-all-stage3-libiberty: all-stage3-libiberty
26788 all-stage3: all-stage3-libiberty
26789 TARGET-stage3-libiberty = $(TARGET-libiberty)
26790 all-stage3-libiberty: configure-stage3-libiberty
26791 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26792 @r=`${PWD_COMMAND}`; export r; \
26793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26794 TFLAGS="$(STAGE3_TFLAGS)"; \
26795 $(HOST_EXPORTS) \
26796 $(POSTSTAGE1_HOST_EXPORTS) \
26797 cd $(HOST_SUBDIR)/libiberty && \
26799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26800 CFLAGS="$(STAGE3_CFLAGS)" \
26801 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26802 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26806 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26807 TFLAGS="$(STAGE3_TFLAGS)" \
26808 $(TARGET-stage3-libiberty)
26810 maybe-clean-stage3-libiberty: clean-stage3-libiberty
26811 clean-stage3: clean-stage3-libiberty
26812 clean-stage3-libiberty:
26813 @if [ $(current_stage) = stage3 ]; then \
26814 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26815 else \
26816 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
26817 $(MAKE) stage3-start; \
26818 fi; \
26819 cd $(HOST_SUBDIR)/libiberty && \
26820 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26821 @endif libiberty-bootstrap
26824 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
26825 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
26826 maybe-all-stage4-libiberty:
26827 maybe-clean-stage4-libiberty:
26828 @if libiberty-bootstrap
26829 maybe-all-stage4-libiberty: all-stage4-libiberty
26830 all-stage4: all-stage4-libiberty
26831 TARGET-stage4-libiberty = $(TARGET-libiberty)
26832 all-stage4-libiberty: configure-stage4-libiberty
26833 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26834 @r=`${PWD_COMMAND}`; export r; \
26835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26836 TFLAGS="$(STAGE4_TFLAGS)"; \
26837 $(HOST_EXPORTS) \
26838 $(POSTSTAGE1_HOST_EXPORTS) \
26839 cd $(HOST_SUBDIR)/libiberty && \
26841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26842 CFLAGS="$(STAGE4_CFLAGS)" \
26843 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26844 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26848 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26849 TFLAGS="$(STAGE4_TFLAGS)" \
26850 $(TARGET-stage4-libiberty)
26852 maybe-clean-stage4-libiberty: clean-stage4-libiberty
26853 clean-stage4: clean-stage4-libiberty
26854 clean-stage4-libiberty:
26855 @if [ $(current_stage) = stage4 ]; then \
26856 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26857 else \
26858 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
26859 $(MAKE) stage4-start; \
26860 fi; \
26861 cd $(HOST_SUBDIR)/libiberty && \
26862 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26863 @endif libiberty-bootstrap
26866 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
26867 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
26868 maybe-all-stageprofile-libiberty:
26869 maybe-clean-stageprofile-libiberty:
26870 @if libiberty-bootstrap
26871 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
26872 all-stageprofile: all-stageprofile-libiberty
26873 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
26874 all-stageprofile-libiberty: configure-stageprofile-libiberty
26875 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26876 @r=`${PWD_COMMAND}`; export r; \
26877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26878 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26879 $(HOST_EXPORTS) \
26880 $(POSTSTAGE1_HOST_EXPORTS) \
26881 cd $(HOST_SUBDIR)/libiberty && \
26883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26884 CFLAGS="$(STAGEprofile_CFLAGS)" \
26885 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26886 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26890 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26891 TFLAGS="$(STAGEprofile_TFLAGS)" \
26892 $(TARGET-stageprofile-libiberty)
26894 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
26895 clean-stageprofile: clean-stageprofile-libiberty
26896 clean-stageprofile-libiberty:
26897 @if [ $(current_stage) = stageprofile ]; then \
26898 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26899 else \
26900 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
26901 $(MAKE) stageprofile-start; \
26902 fi; \
26903 cd $(HOST_SUBDIR)/libiberty && \
26904 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26905 @endif libiberty-bootstrap
26908 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
26909 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
26910 maybe-all-stagetrain-libiberty:
26911 maybe-clean-stagetrain-libiberty:
26912 @if libiberty-bootstrap
26913 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
26914 all-stagetrain: all-stagetrain-libiberty
26915 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
26916 all-stagetrain-libiberty: configure-stagetrain-libiberty
26917 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26918 @r=`${PWD_COMMAND}`; export r; \
26919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26920 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26921 $(HOST_EXPORTS) \
26922 $(POSTSTAGE1_HOST_EXPORTS) \
26923 cd $(HOST_SUBDIR)/libiberty && \
26925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26926 CFLAGS="$(STAGEtrain_CFLAGS)" \
26927 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26928 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26932 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26933 TFLAGS="$(STAGEtrain_TFLAGS)" \
26934 $(TARGET-stagetrain-libiberty)
26936 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
26937 clean-stagetrain: clean-stagetrain-libiberty
26938 clean-stagetrain-libiberty:
26939 @if [ $(current_stage) = stagetrain ]; then \
26940 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26941 else \
26942 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
26943 $(MAKE) stagetrain-start; \
26944 fi; \
26945 cd $(HOST_SUBDIR)/libiberty && \
26946 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26947 @endif libiberty-bootstrap
26950 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
26951 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
26952 maybe-all-stagefeedback-libiberty:
26953 maybe-clean-stagefeedback-libiberty:
26954 @if libiberty-bootstrap
26955 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
26956 all-stagefeedback: all-stagefeedback-libiberty
26957 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
26958 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
26959 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26960 @r=`${PWD_COMMAND}`; export r; \
26961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26962 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26963 $(HOST_EXPORTS) \
26964 $(POSTSTAGE1_HOST_EXPORTS) \
26965 cd $(HOST_SUBDIR)/libiberty && \
26967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26968 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26969 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26970 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26971 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26972 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26973 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26974 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26975 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26976 $(TARGET-stagefeedback-libiberty)
26978 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
26979 clean-stagefeedback: clean-stagefeedback-libiberty
26980 clean-stagefeedback-libiberty:
26981 @if [ $(current_stage) = stagefeedback ]; then \
26982 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26983 else \
26984 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
26985 $(MAKE) stagefeedback-start; \
26986 fi; \
26987 cd $(HOST_SUBDIR)/libiberty && \
26988 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26989 @endif libiberty-bootstrap
26992 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
26993 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
26994 maybe-all-stageautoprofile-libiberty:
26995 maybe-clean-stageautoprofile-libiberty:
26996 @if libiberty-bootstrap
26997 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
26998 all-stageautoprofile: all-stageautoprofile-libiberty
26999 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27000 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27001 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27002 @r=`${PWD_COMMAND}`; export r; \
27003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27004 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27005 $(HOST_EXPORTS) \
27006 $(POSTSTAGE1_HOST_EXPORTS) \
27007 cd $(HOST_SUBDIR)/libiberty && \
27008 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27009 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27010 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27011 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27012 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27017 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27018 $(TARGET-stageautoprofile-libiberty)
27020 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27021 clean-stageautoprofile: clean-stageautoprofile-libiberty
27022 clean-stageautoprofile-libiberty:
27023 @if [ $(current_stage) = stageautoprofile ]; then \
27024 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27025 else \
27026 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27027 $(MAKE) stageautoprofile-start; \
27028 fi; \
27029 cd $(HOST_SUBDIR)/libiberty && \
27030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27031 @endif libiberty-bootstrap
27034 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27035 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27036 maybe-all-stageautofeedback-libiberty:
27037 maybe-clean-stageautofeedback-libiberty:
27038 @if libiberty-bootstrap
27039 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27040 all-stageautofeedback: all-stageautofeedback-libiberty
27041 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27042 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27043 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27044 @r=`${PWD_COMMAND}`; export r; \
27045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27046 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27047 $(HOST_EXPORTS) \
27048 $(POSTSTAGE1_HOST_EXPORTS) \
27049 cd $(HOST_SUBDIR)/libiberty && \
27051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27052 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27053 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27054 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27059 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27060 $(TARGET-stageautofeedback-libiberty)
27062 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27063 clean-stageautofeedback: clean-stageautofeedback-libiberty
27064 clean-stageautofeedback-libiberty:
27065 @if [ $(current_stage) = stageautofeedback ]; then \
27066 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27067 else \
27068 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27069 $(MAKE) stageautofeedback-start; \
27070 fi; \
27071 cd $(HOST_SUBDIR)/libiberty && \
27072 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27073 @endif libiberty-bootstrap
27079 .PHONY: check-libiberty maybe-check-libiberty
27080 maybe-check-libiberty:
27081 @if libiberty
27082 maybe-check-libiberty: check-libiberty
27084 check-libiberty:
27085 @: $(MAKE); $(unstage)
27086 @r=`${PWD_COMMAND}`; export r; \
27087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27088 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27089 (cd $(HOST_SUBDIR)/libiberty && \
27090 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27092 @endif libiberty
27094 .PHONY: install-libiberty maybe-install-libiberty
27095 maybe-install-libiberty:
27096 @if libiberty
27097 maybe-install-libiberty: install-libiberty
27099 install-libiberty: installdirs
27100 @: $(MAKE); $(unstage)
27101 @r=`${PWD_COMMAND}`; export r; \
27102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27103 $(HOST_EXPORTS) \
27104 (cd $(HOST_SUBDIR)/libiberty && \
27105 $(MAKE) $(FLAGS_TO_PASS) install)
27107 @endif libiberty
27109 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27110 maybe-install-strip-libiberty:
27111 @if libiberty
27112 maybe-install-strip-libiberty: install-strip-libiberty
27114 install-strip-libiberty: installdirs
27115 @: $(MAKE); $(unstage)
27116 @r=`${PWD_COMMAND}`; export r; \
27117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27118 $(HOST_EXPORTS) \
27119 (cd $(HOST_SUBDIR)/libiberty && \
27120 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27122 @endif libiberty
27124 # Other targets (info, dvi, pdf, etc.)
27126 .PHONY: maybe-info-libiberty info-libiberty
27127 maybe-info-libiberty:
27128 @if libiberty
27129 maybe-info-libiberty: info-libiberty
27131 info-libiberty: \
27132 configure-libiberty
27133 @[ -f ./libiberty/Makefile ] || exit 0; \
27134 r=`${PWD_COMMAND}`; export r; \
27135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27136 $(HOST_EXPORTS) \
27137 for flag in $(EXTRA_HOST_FLAGS) ; do \
27138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27139 done; \
27140 echo "Doing info in libiberty"; \
27141 (cd $(HOST_SUBDIR)/libiberty && \
27142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27144 "RANLIB=$${RANLIB}" \
27145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27146 info) \
27147 || exit 1
27149 @endif libiberty
27151 .PHONY: maybe-dvi-libiberty dvi-libiberty
27152 maybe-dvi-libiberty:
27153 @if libiberty
27154 maybe-dvi-libiberty: dvi-libiberty
27156 dvi-libiberty: \
27157 configure-libiberty
27158 @[ -f ./libiberty/Makefile ] || exit 0; \
27159 r=`${PWD_COMMAND}`; export r; \
27160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27161 $(HOST_EXPORTS) \
27162 for flag in $(EXTRA_HOST_FLAGS) ; do \
27163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27164 done; \
27165 echo "Doing dvi in libiberty"; \
27166 (cd $(HOST_SUBDIR)/libiberty && \
27167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27169 "RANLIB=$${RANLIB}" \
27170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27171 dvi) \
27172 || exit 1
27174 @endif libiberty
27176 .PHONY: maybe-pdf-libiberty pdf-libiberty
27177 maybe-pdf-libiberty:
27178 @if libiberty
27179 maybe-pdf-libiberty: pdf-libiberty
27181 pdf-libiberty: \
27182 configure-libiberty
27183 @[ -f ./libiberty/Makefile ] || exit 0; \
27184 r=`${PWD_COMMAND}`; export r; \
27185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27186 $(HOST_EXPORTS) \
27187 for flag in $(EXTRA_HOST_FLAGS) ; do \
27188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27189 done; \
27190 echo "Doing pdf in libiberty"; \
27191 (cd $(HOST_SUBDIR)/libiberty && \
27192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27194 "RANLIB=$${RANLIB}" \
27195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27196 pdf) \
27197 || exit 1
27199 @endif libiberty
27201 .PHONY: maybe-html-libiberty html-libiberty
27202 maybe-html-libiberty:
27203 @if libiberty
27204 maybe-html-libiberty: html-libiberty
27206 html-libiberty: \
27207 configure-libiberty
27208 @[ -f ./libiberty/Makefile ] || exit 0; \
27209 r=`${PWD_COMMAND}`; export r; \
27210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27211 $(HOST_EXPORTS) \
27212 for flag in $(EXTRA_HOST_FLAGS) ; do \
27213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27214 done; \
27215 echo "Doing html in libiberty"; \
27216 (cd $(HOST_SUBDIR)/libiberty && \
27217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27219 "RANLIB=$${RANLIB}" \
27220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27221 html) \
27222 || exit 1
27224 @endif libiberty
27226 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27227 maybe-TAGS-libiberty:
27228 @if libiberty
27229 maybe-TAGS-libiberty: TAGS-libiberty
27231 TAGS-libiberty: \
27232 configure-libiberty
27233 @[ -f ./libiberty/Makefile ] || exit 0; \
27234 r=`${PWD_COMMAND}`; export r; \
27235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27236 $(HOST_EXPORTS) \
27237 for flag in $(EXTRA_HOST_FLAGS) ; do \
27238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27239 done; \
27240 echo "Doing TAGS in libiberty"; \
27241 (cd $(HOST_SUBDIR)/libiberty && \
27242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27244 "RANLIB=$${RANLIB}" \
27245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27246 TAGS) \
27247 || exit 1
27249 @endif libiberty
27251 .PHONY: maybe-install-info-libiberty install-info-libiberty
27252 maybe-install-info-libiberty:
27253 @if libiberty
27254 maybe-install-info-libiberty: install-info-libiberty
27256 install-info-libiberty: \
27257 configure-libiberty \
27258 info-libiberty
27259 @[ -f ./libiberty/Makefile ] || exit 0; \
27260 r=`${PWD_COMMAND}`; export r; \
27261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27262 $(HOST_EXPORTS) \
27263 for flag in $(EXTRA_HOST_FLAGS) ; do \
27264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27265 done; \
27266 echo "Doing install-info in libiberty"; \
27267 (cd $(HOST_SUBDIR)/libiberty && \
27268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27270 "RANLIB=$${RANLIB}" \
27271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27272 install-info) \
27273 || exit 1
27275 @endif libiberty
27277 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27278 maybe-install-pdf-libiberty:
27279 @if libiberty
27280 maybe-install-pdf-libiberty: install-pdf-libiberty
27282 install-pdf-libiberty: \
27283 configure-libiberty \
27284 pdf-libiberty
27285 @[ -f ./libiberty/Makefile ] || exit 0; \
27286 r=`${PWD_COMMAND}`; export r; \
27287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27288 $(HOST_EXPORTS) \
27289 for flag in $(EXTRA_HOST_FLAGS) ; do \
27290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27291 done; \
27292 echo "Doing install-pdf in libiberty"; \
27293 (cd $(HOST_SUBDIR)/libiberty && \
27294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27296 "RANLIB=$${RANLIB}" \
27297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27298 install-pdf) \
27299 || exit 1
27301 @endif libiberty
27303 .PHONY: maybe-install-html-libiberty install-html-libiberty
27304 maybe-install-html-libiberty:
27305 @if libiberty
27306 maybe-install-html-libiberty: install-html-libiberty
27308 install-html-libiberty: \
27309 configure-libiberty \
27310 html-libiberty
27311 @[ -f ./libiberty/Makefile ] || exit 0; \
27312 r=`${PWD_COMMAND}`; export r; \
27313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27314 $(HOST_EXPORTS) \
27315 for flag in $(EXTRA_HOST_FLAGS) ; do \
27316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27317 done; \
27318 echo "Doing install-html in libiberty"; \
27319 (cd $(HOST_SUBDIR)/libiberty && \
27320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27322 "RANLIB=$${RANLIB}" \
27323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27324 install-html) \
27325 || exit 1
27327 @endif libiberty
27329 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27330 maybe-installcheck-libiberty:
27331 @if libiberty
27332 maybe-installcheck-libiberty: installcheck-libiberty
27334 installcheck-libiberty: \
27335 configure-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 installcheck 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 installcheck) \
27350 || exit 1
27352 @endif libiberty
27354 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27355 maybe-mostlyclean-libiberty:
27356 @if libiberty
27357 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27359 mostlyclean-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 mostlyclean 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 mostlyclean) \
27374 || exit 1
27376 @endif libiberty
27378 .PHONY: maybe-clean-libiberty clean-libiberty
27379 maybe-clean-libiberty:
27380 @if libiberty
27381 maybe-clean-libiberty: clean-libiberty
27383 clean-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 clean 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 clean) \
27398 || exit 1
27400 @endif libiberty
27402 .PHONY: maybe-distclean-libiberty distclean-libiberty
27403 maybe-distclean-libiberty:
27404 @if libiberty
27405 maybe-distclean-libiberty: distclean-libiberty
27407 distclean-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 distclean 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 distclean) \
27422 || exit 1
27424 @endif libiberty
27426 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27427 maybe-maintainer-clean-libiberty:
27428 @if libiberty
27429 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27431 maintainer-clean-libiberty:
27432 @[ -f ./libiberty/Makefile ] || exit 0; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(HOST_EXPORTS) \
27436 for flag in $(EXTRA_HOST_FLAGS) ; do \
27437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27438 done; \
27439 echo "Doing maintainer-clean in libiberty"; \
27440 (cd $(HOST_SUBDIR)/libiberty && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27445 maintainer-clean) \
27446 || exit 1
27448 @endif libiberty
27452 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27453 maybe-configure-libiberty-linker-plugin:
27454 @if gcc-bootstrap
27455 configure-libiberty-linker-plugin: stage_current
27456 @endif gcc-bootstrap
27457 @if libiberty-linker-plugin
27458 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27459 configure-libiberty-linker-plugin:
27460 @r=`${PWD_COMMAND}`; export r; \
27461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27462 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27464 $(HOST_EXPORTS) \
27465 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27466 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27467 case $(srcdir) in \
27468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27469 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27471 esac; \
27472 module_srcdir=libiberty; \
27473 $(SHELL) \
27474 $$s/$$module_srcdir/configure \
27475 --srcdir=$${topdir}/$$module_srcdir \
27476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27477 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27478 || exit 1
27479 @endif libiberty-linker-plugin
27483 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27484 maybe-configure-stage1-libiberty-linker-plugin:
27485 @if libiberty-linker-plugin-bootstrap
27486 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27487 configure-stage1-libiberty-linker-plugin:
27488 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27490 @r=`${PWD_COMMAND}`; export r; \
27491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27492 TFLAGS="$(STAGE1_TFLAGS)"; \
27493 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27494 $(HOST_EXPORTS) \
27495 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27496 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27497 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27498 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27500 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27501 case $(srcdir) in \
27502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27503 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27505 esac; \
27506 module_srcdir=libiberty; \
27507 $(SHELL) $$s/$$module_srcdir/configure \
27508 --srcdir=$${topdir}/$$module_srcdir \
27509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27510 --target=${target_alias} \
27512 $(STAGE1_CONFIGURE_FLAGS) \
27513 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27514 @endif libiberty-linker-plugin-bootstrap
27516 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27517 maybe-configure-stage2-libiberty-linker-plugin:
27518 @if libiberty-linker-plugin-bootstrap
27519 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27520 configure-stage2-libiberty-linker-plugin:
27521 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27523 @r=`${PWD_COMMAND}`; export r; \
27524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27525 TFLAGS="$(STAGE2_TFLAGS)"; \
27526 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27527 $(HOST_EXPORTS) \
27528 $(POSTSTAGE1_HOST_EXPORTS) \
27529 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27530 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27531 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27532 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27534 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27535 case $(srcdir) in \
27536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27537 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27539 esac; \
27540 module_srcdir=libiberty; \
27541 $(SHELL) $$s/$$module_srcdir/configure \
27542 --srcdir=$${topdir}/$$module_srcdir \
27543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27544 --target=${target_alias} \
27545 --with-build-libsubdir=$(HOST_SUBDIR) \
27546 $(STAGE2_CONFIGURE_FLAGS) \
27547 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27548 @endif libiberty-linker-plugin-bootstrap
27550 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27551 maybe-configure-stage3-libiberty-linker-plugin:
27552 @if libiberty-linker-plugin-bootstrap
27553 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27554 configure-stage3-libiberty-linker-plugin:
27555 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27557 @r=`${PWD_COMMAND}`; export r; \
27558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27559 TFLAGS="$(STAGE3_TFLAGS)"; \
27560 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27561 $(HOST_EXPORTS) \
27562 $(POSTSTAGE1_HOST_EXPORTS) \
27563 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27564 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27565 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27566 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27568 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27569 case $(srcdir) in \
27570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27571 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27573 esac; \
27574 module_srcdir=libiberty; \
27575 $(SHELL) $$s/$$module_srcdir/configure \
27576 --srcdir=$${topdir}/$$module_srcdir \
27577 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27578 --target=${target_alias} \
27579 --with-build-libsubdir=$(HOST_SUBDIR) \
27580 $(STAGE3_CONFIGURE_FLAGS) \
27581 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27582 @endif libiberty-linker-plugin-bootstrap
27584 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27585 maybe-configure-stage4-libiberty-linker-plugin:
27586 @if libiberty-linker-plugin-bootstrap
27587 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27588 configure-stage4-libiberty-linker-plugin:
27589 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27591 @r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 TFLAGS="$(STAGE4_TFLAGS)"; \
27594 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27595 $(HOST_EXPORTS) \
27596 $(POSTSTAGE1_HOST_EXPORTS) \
27597 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27598 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27599 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27600 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27602 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27603 case $(srcdir) in \
27604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27605 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27607 esac; \
27608 module_srcdir=libiberty; \
27609 $(SHELL) $$s/$$module_srcdir/configure \
27610 --srcdir=$${topdir}/$$module_srcdir \
27611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27612 --target=${target_alias} \
27613 --with-build-libsubdir=$(HOST_SUBDIR) \
27614 $(STAGE4_CONFIGURE_FLAGS) \
27615 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27616 @endif libiberty-linker-plugin-bootstrap
27618 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27619 maybe-configure-stageprofile-libiberty-linker-plugin:
27620 @if libiberty-linker-plugin-bootstrap
27621 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27622 configure-stageprofile-libiberty-linker-plugin:
27623 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27625 @r=`${PWD_COMMAND}`; export r; \
27626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27627 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27628 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27629 $(HOST_EXPORTS) \
27630 $(POSTSTAGE1_HOST_EXPORTS) \
27631 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27632 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27633 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27634 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27636 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27637 case $(srcdir) in \
27638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27639 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27641 esac; \
27642 module_srcdir=libiberty; \
27643 $(SHELL) $$s/$$module_srcdir/configure \
27644 --srcdir=$${topdir}/$$module_srcdir \
27645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27646 --target=${target_alias} \
27647 --with-build-libsubdir=$(HOST_SUBDIR) \
27648 $(STAGEprofile_CONFIGURE_FLAGS) \
27649 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27650 @endif libiberty-linker-plugin-bootstrap
27652 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27653 maybe-configure-stagetrain-libiberty-linker-plugin:
27654 @if libiberty-linker-plugin-bootstrap
27655 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27656 configure-stagetrain-libiberty-linker-plugin:
27657 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27659 @r=`${PWD_COMMAND}`; export r; \
27660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27661 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27662 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27663 $(HOST_EXPORTS) \
27664 $(POSTSTAGE1_HOST_EXPORTS) \
27665 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27666 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27667 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27668 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27670 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27671 case $(srcdir) in \
27672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27673 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27675 esac; \
27676 module_srcdir=libiberty; \
27677 $(SHELL) $$s/$$module_srcdir/configure \
27678 --srcdir=$${topdir}/$$module_srcdir \
27679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27680 --target=${target_alias} \
27681 --with-build-libsubdir=$(HOST_SUBDIR) \
27682 $(STAGEtrain_CONFIGURE_FLAGS) \
27683 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27684 @endif libiberty-linker-plugin-bootstrap
27686 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27687 maybe-configure-stagefeedback-libiberty-linker-plugin:
27688 @if libiberty-linker-plugin-bootstrap
27689 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27690 configure-stagefeedback-libiberty-linker-plugin:
27691 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27693 @r=`${PWD_COMMAND}`; export r; \
27694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27695 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27696 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27697 $(HOST_EXPORTS) \
27698 $(POSTSTAGE1_HOST_EXPORTS) \
27699 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27700 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27701 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27702 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27704 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27705 case $(srcdir) in \
27706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27707 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27709 esac; \
27710 module_srcdir=libiberty; \
27711 $(SHELL) $$s/$$module_srcdir/configure \
27712 --srcdir=$${topdir}/$$module_srcdir \
27713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27714 --target=${target_alias} \
27715 --with-build-libsubdir=$(HOST_SUBDIR) \
27716 $(STAGEfeedback_CONFIGURE_FLAGS) \
27717 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27718 @endif libiberty-linker-plugin-bootstrap
27720 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27721 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27722 @if libiberty-linker-plugin-bootstrap
27723 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27724 configure-stageautoprofile-libiberty-linker-plugin:
27725 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27727 @r=`${PWD_COMMAND}`; export r; \
27728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27729 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27730 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27731 $(HOST_EXPORTS) \
27732 $(POSTSTAGE1_HOST_EXPORTS) \
27733 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27734 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27735 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27736 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27738 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27739 case $(srcdir) in \
27740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27741 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27743 esac; \
27744 module_srcdir=libiberty; \
27745 $(SHELL) $$s/$$module_srcdir/configure \
27746 --srcdir=$${topdir}/$$module_srcdir \
27747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27748 --target=${target_alias} \
27749 --with-build-libsubdir=$(HOST_SUBDIR) \
27750 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27751 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27752 @endif libiberty-linker-plugin-bootstrap
27754 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27755 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27756 @if libiberty-linker-plugin-bootstrap
27757 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27758 configure-stageautofeedback-libiberty-linker-plugin:
27759 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27761 @r=`${PWD_COMMAND}`; export r; \
27762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27763 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27764 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27765 $(HOST_EXPORTS) \
27766 $(POSTSTAGE1_HOST_EXPORTS) \
27767 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27768 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27769 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27770 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27772 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27773 case $(srcdir) in \
27774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27775 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27777 esac; \
27778 module_srcdir=libiberty; \
27779 $(SHELL) $$s/$$module_srcdir/configure \
27780 --srcdir=$${topdir}/$$module_srcdir \
27781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27782 --target=${target_alias} \
27783 --with-build-libsubdir=$(HOST_SUBDIR) \
27784 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27785 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27786 @endif libiberty-linker-plugin-bootstrap
27792 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
27793 maybe-all-libiberty-linker-plugin:
27794 @if gcc-bootstrap
27795 all-libiberty-linker-plugin: stage_current
27796 @endif gcc-bootstrap
27797 @if libiberty-linker-plugin
27798 TARGET-libiberty-linker-plugin=all
27799 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
27800 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
27801 @r=`${PWD_COMMAND}`; export r; \
27802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27803 $(HOST_EXPORTS) \
27804 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27805 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27806 $(TARGET-libiberty-linker-plugin))
27807 @endif libiberty-linker-plugin
27811 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
27812 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
27813 maybe-all-stage1-libiberty-linker-plugin:
27814 maybe-clean-stage1-libiberty-linker-plugin:
27815 @if libiberty-linker-plugin-bootstrap
27816 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
27817 all-stage1: all-stage1-libiberty-linker-plugin
27818 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27819 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27820 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27821 @r=`${PWD_COMMAND}`; export r; \
27822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27823 TFLAGS="$(STAGE1_TFLAGS)"; \
27824 $(HOST_EXPORTS) \
27825 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27827 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27828 CFLAGS="$(STAGE1_CFLAGS)" \
27829 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27830 LIBCFLAGS="$(LIBCFLAGS)" \
27831 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27832 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27833 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27834 $(EXTRA_HOST_FLAGS) \
27835 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27836 TFLAGS="$(STAGE1_TFLAGS)" \
27837 $(TARGET-stage1-libiberty-linker-plugin)
27839 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
27840 clean-stage1: clean-stage1-libiberty-linker-plugin
27841 clean-stage1-libiberty-linker-plugin:
27842 @if [ $(current_stage) = stage1 ]; then \
27843 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27844 else \
27845 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
27846 $(MAKE) stage1-start; \
27847 fi; \
27848 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27849 $(MAKE) $(EXTRA_HOST_FLAGS) \
27850 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27851 @endif libiberty-linker-plugin-bootstrap
27854 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
27855 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
27856 maybe-all-stage2-libiberty-linker-plugin:
27857 maybe-clean-stage2-libiberty-linker-plugin:
27858 @if libiberty-linker-plugin-bootstrap
27859 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
27860 all-stage2: all-stage2-libiberty-linker-plugin
27861 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27862 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27863 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27864 @r=`${PWD_COMMAND}`; export r; \
27865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27866 TFLAGS="$(STAGE2_TFLAGS)"; \
27867 $(HOST_EXPORTS) \
27868 $(POSTSTAGE1_HOST_EXPORTS) \
27869 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27872 CFLAGS="$(STAGE2_CFLAGS)" \
27873 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27874 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27878 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27879 TFLAGS="$(STAGE2_TFLAGS)" \
27880 $(TARGET-stage2-libiberty-linker-plugin)
27882 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
27883 clean-stage2: clean-stage2-libiberty-linker-plugin
27884 clean-stage2-libiberty-linker-plugin:
27885 @if [ $(current_stage) = stage2 ]; then \
27886 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27887 else \
27888 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
27889 $(MAKE) stage2-start; \
27890 fi; \
27891 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27892 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27893 @endif libiberty-linker-plugin-bootstrap
27896 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
27897 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
27898 maybe-all-stage3-libiberty-linker-plugin:
27899 maybe-clean-stage3-libiberty-linker-plugin:
27900 @if libiberty-linker-plugin-bootstrap
27901 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
27902 all-stage3: all-stage3-libiberty-linker-plugin
27903 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27904 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27905 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27906 @r=`${PWD_COMMAND}`; export r; \
27907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27908 TFLAGS="$(STAGE3_TFLAGS)"; \
27909 $(HOST_EXPORTS) \
27910 $(POSTSTAGE1_HOST_EXPORTS) \
27911 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27913 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27914 CFLAGS="$(STAGE3_CFLAGS)" \
27915 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27916 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27917 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27918 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27919 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27920 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27921 TFLAGS="$(STAGE3_TFLAGS)" \
27922 $(TARGET-stage3-libiberty-linker-plugin)
27924 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
27925 clean-stage3: clean-stage3-libiberty-linker-plugin
27926 clean-stage3-libiberty-linker-plugin:
27927 @if [ $(current_stage) = stage3 ]; then \
27928 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27929 else \
27930 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
27931 $(MAKE) stage3-start; \
27932 fi; \
27933 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27934 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27935 @endif libiberty-linker-plugin-bootstrap
27938 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
27939 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
27940 maybe-all-stage4-libiberty-linker-plugin:
27941 maybe-clean-stage4-libiberty-linker-plugin:
27942 @if libiberty-linker-plugin-bootstrap
27943 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
27944 all-stage4: all-stage4-libiberty-linker-plugin
27945 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27946 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27947 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27948 @r=`${PWD_COMMAND}`; export r; \
27949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27950 TFLAGS="$(STAGE4_TFLAGS)"; \
27951 $(HOST_EXPORTS) \
27952 $(POSTSTAGE1_HOST_EXPORTS) \
27953 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27956 CFLAGS="$(STAGE4_CFLAGS)" \
27957 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27958 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27963 TFLAGS="$(STAGE4_TFLAGS)" \
27964 $(TARGET-stage4-libiberty-linker-plugin)
27966 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
27967 clean-stage4: clean-stage4-libiberty-linker-plugin
27968 clean-stage4-libiberty-linker-plugin:
27969 @if [ $(current_stage) = stage4 ]; then \
27970 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27971 else \
27972 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
27973 $(MAKE) stage4-start; \
27974 fi; \
27975 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27977 @endif libiberty-linker-plugin-bootstrap
27980 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
27981 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
27982 maybe-all-stageprofile-libiberty-linker-plugin:
27983 maybe-clean-stageprofile-libiberty-linker-plugin:
27984 @if libiberty-linker-plugin-bootstrap
27985 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
27986 all-stageprofile: all-stageprofile-libiberty-linker-plugin
27987 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27988 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27990 @r=`${PWD_COMMAND}`; export r; \
27991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27993 $(HOST_EXPORTS) \
27994 $(POSTSTAGE1_HOST_EXPORTS) \
27995 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27998 CFLAGS="$(STAGEprofile_CFLAGS)" \
27999 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28000 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28001 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28002 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28003 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28004 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28005 TFLAGS="$(STAGEprofile_TFLAGS)" \
28006 $(TARGET-stageprofile-libiberty-linker-plugin)
28008 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28009 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28010 clean-stageprofile-libiberty-linker-plugin:
28011 @if [ $(current_stage) = stageprofile ]; then \
28012 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28013 else \
28014 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28015 $(MAKE) stageprofile-start; \
28016 fi; \
28017 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28018 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28019 @endif libiberty-linker-plugin-bootstrap
28022 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28023 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28024 maybe-all-stagetrain-libiberty-linker-plugin:
28025 maybe-clean-stagetrain-libiberty-linker-plugin:
28026 @if libiberty-linker-plugin-bootstrap
28027 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28028 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28029 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28030 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28031 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28032 @r=`${PWD_COMMAND}`; export r; \
28033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28034 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28035 $(HOST_EXPORTS) \
28036 $(POSTSTAGE1_HOST_EXPORTS) \
28037 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28040 CFLAGS="$(STAGEtrain_CFLAGS)" \
28041 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28042 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28047 TFLAGS="$(STAGEtrain_TFLAGS)" \
28048 $(TARGET-stagetrain-libiberty-linker-plugin)
28050 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28051 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28052 clean-stagetrain-libiberty-linker-plugin:
28053 @if [ $(current_stage) = stagetrain ]; then \
28054 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28055 else \
28056 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28057 $(MAKE) stagetrain-start; \
28058 fi; \
28059 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28060 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28061 @endif libiberty-linker-plugin-bootstrap
28064 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28065 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28066 maybe-all-stagefeedback-libiberty-linker-plugin:
28067 maybe-clean-stagefeedback-libiberty-linker-plugin:
28068 @if libiberty-linker-plugin-bootstrap
28069 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28070 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28071 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28072 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28073 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28074 @r=`${PWD_COMMAND}`; export r; \
28075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28076 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28077 $(HOST_EXPORTS) \
28078 $(POSTSTAGE1_HOST_EXPORTS) \
28079 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28081 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28082 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28083 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28084 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28085 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28086 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28087 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28088 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28089 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28090 $(TARGET-stagefeedback-libiberty-linker-plugin)
28092 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28093 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28094 clean-stagefeedback-libiberty-linker-plugin:
28095 @if [ $(current_stage) = stagefeedback ]; then \
28096 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28097 else \
28098 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28099 $(MAKE) stagefeedback-start; \
28100 fi; \
28101 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28102 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28103 @endif libiberty-linker-plugin-bootstrap
28106 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28107 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28108 maybe-all-stageautoprofile-libiberty-linker-plugin:
28109 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28110 @if libiberty-linker-plugin-bootstrap
28111 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28112 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28113 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28114 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28115 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28116 @r=`${PWD_COMMAND}`; export r; \
28117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28118 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28119 $(HOST_EXPORTS) \
28120 $(POSTSTAGE1_HOST_EXPORTS) \
28121 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28122 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28123 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28124 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28125 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28126 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28127 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28128 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28129 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28130 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28131 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28132 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28134 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28135 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28136 clean-stageautoprofile-libiberty-linker-plugin:
28137 @if [ $(current_stage) = stageautoprofile ]; then \
28138 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28139 else \
28140 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28141 $(MAKE) stageautoprofile-start; \
28142 fi; \
28143 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28144 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28145 @endif libiberty-linker-plugin-bootstrap
28148 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28149 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28150 maybe-all-stageautofeedback-libiberty-linker-plugin:
28151 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28152 @if libiberty-linker-plugin-bootstrap
28153 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28154 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28155 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28156 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28157 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28158 @r=`${PWD_COMMAND}`; export r; \
28159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28160 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28161 $(HOST_EXPORTS) \
28162 $(POSTSTAGE1_HOST_EXPORTS) \
28163 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28165 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28166 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28167 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28168 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28169 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28170 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28171 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28172 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28173 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28174 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28176 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28177 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28178 clean-stageautofeedback-libiberty-linker-plugin:
28179 @if [ $(current_stage) = stageautofeedback ]; then \
28180 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28181 else \
28182 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28183 $(MAKE) stageautofeedback-start; \
28184 fi; \
28185 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28186 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28187 @endif libiberty-linker-plugin-bootstrap
28193 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28194 maybe-check-libiberty-linker-plugin:
28195 @if libiberty-linker-plugin
28196 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28198 check-libiberty-linker-plugin:
28199 @: $(MAKE); $(unstage)
28200 @r=`${PWD_COMMAND}`; export r; \
28201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28202 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28203 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28204 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28206 @endif libiberty-linker-plugin
28208 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28209 maybe-install-libiberty-linker-plugin:
28210 @if libiberty-linker-plugin
28211 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28213 install-libiberty-linker-plugin: installdirs
28214 @: $(MAKE); $(unstage)
28215 @r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 $(HOST_EXPORTS) \
28218 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28219 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28221 @endif libiberty-linker-plugin
28223 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28224 maybe-install-strip-libiberty-linker-plugin:
28225 @if libiberty-linker-plugin
28226 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28228 install-strip-libiberty-linker-plugin: installdirs
28229 @: $(MAKE); $(unstage)
28230 @r=`${PWD_COMMAND}`; export r; \
28231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 $(HOST_EXPORTS) \
28233 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28234 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28236 @endif libiberty-linker-plugin
28238 # Other targets (info, dvi, pdf, etc.)
28240 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28241 maybe-info-libiberty-linker-plugin:
28242 @if libiberty-linker-plugin
28243 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28245 info-libiberty-linker-plugin: \
28246 configure-libiberty-linker-plugin
28247 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28248 r=`${PWD_COMMAND}`; export r; \
28249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28250 $(HOST_EXPORTS) \
28251 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28253 done; \
28254 echo "Doing info in libiberty-linker-plugin"; \
28255 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28258 "RANLIB=$${RANLIB}" \
28259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28260 info) \
28261 || exit 1
28263 @endif libiberty-linker-plugin
28265 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28266 maybe-dvi-libiberty-linker-plugin:
28267 @if libiberty-linker-plugin
28268 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28270 dvi-libiberty-linker-plugin: \
28271 configure-libiberty-linker-plugin
28272 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28273 r=`${PWD_COMMAND}`; export r; \
28274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28275 $(HOST_EXPORTS) \
28276 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28278 done; \
28279 echo "Doing dvi in libiberty-linker-plugin"; \
28280 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28283 "RANLIB=$${RANLIB}" \
28284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28285 dvi) \
28286 || exit 1
28288 @endif libiberty-linker-plugin
28290 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28291 maybe-pdf-libiberty-linker-plugin:
28292 @if libiberty-linker-plugin
28293 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28295 pdf-libiberty-linker-plugin: \
28296 configure-libiberty-linker-plugin
28297 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28298 r=`${PWD_COMMAND}`; export r; \
28299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28300 $(HOST_EXPORTS) \
28301 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28303 done; \
28304 echo "Doing pdf in libiberty-linker-plugin"; \
28305 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28308 "RANLIB=$${RANLIB}" \
28309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28310 pdf) \
28311 || exit 1
28313 @endif libiberty-linker-plugin
28315 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28316 maybe-html-libiberty-linker-plugin:
28317 @if libiberty-linker-plugin
28318 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28320 html-libiberty-linker-plugin: \
28321 configure-libiberty-linker-plugin
28322 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28323 r=`${PWD_COMMAND}`; export r; \
28324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28325 $(HOST_EXPORTS) \
28326 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28328 done; \
28329 echo "Doing html in libiberty-linker-plugin"; \
28330 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28333 "RANLIB=$${RANLIB}" \
28334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28335 html) \
28336 || exit 1
28338 @endif libiberty-linker-plugin
28340 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28341 maybe-TAGS-libiberty-linker-plugin:
28342 @if libiberty-linker-plugin
28343 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28345 TAGS-libiberty-linker-plugin: \
28346 configure-libiberty-linker-plugin
28347 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28348 r=`${PWD_COMMAND}`; export r; \
28349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28350 $(HOST_EXPORTS) \
28351 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28353 done; \
28354 echo "Doing TAGS in libiberty-linker-plugin"; \
28355 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28358 "RANLIB=$${RANLIB}" \
28359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28360 TAGS) \
28361 || exit 1
28363 @endif libiberty-linker-plugin
28365 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28366 maybe-install-info-libiberty-linker-plugin:
28367 @if libiberty-linker-plugin
28368 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28370 install-info-libiberty-linker-plugin: \
28371 configure-libiberty-linker-plugin \
28372 info-libiberty-linker-plugin
28373 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28374 r=`${PWD_COMMAND}`; export r; \
28375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28376 $(HOST_EXPORTS) \
28377 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28379 done; \
28380 echo "Doing install-info in libiberty-linker-plugin"; \
28381 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28384 "RANLIB=$${RANLIB}" \
28385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28386 install-info) \
28387 || exit 1
28389 @endif libiberty-linker-plugin
28391 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28392 maybe-install-pdf-libiberty-linker-plugin:
28393 @if libiberty-linker-plugin
28394 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28396 install-pdf-libiberty-linker-plugin: \
28397 configure-libiberty-linker-plugin \
28398 pdf-libiberty-linker-plugin
28399 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28400 r=`${PWD_COMMAND}`; export r; \
28401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28402 $(HOST_EXPORTS) \
28403 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28405 done; \
28406 echo "Doing install-pdf in libiberty-linker-plugin"; \
28407 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28410 "RANLIB=$${RANLIB}" \
28411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28412 install-pdf) \
28413 || exit 1
28415 @endif libiberty-linker-plugin
28417 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28418 maybe-install-html-libiberty-linker-plugin:
28419 @if libiberty-linker-plugin
28420 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28422 install-html-libiberty-linker-plugin: \
28423 configure-libiberty-linker-plugin \
28424 html-libiberty-linker-plugin
28425 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28426 r=`${PWD_COMMAND}`; export r; \
28427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28428 $(HOST_EXPORTS) \
28429 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28431 done; \
28432 echo "Doing install-html in libiberty-linker-plugin"; \
28433 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28436 "RANLIB=$${RANLIB}" \
28437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28438 install-html) \
28439 || exit 1
28441 @endif libiberty-linker-plugin
28443 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28444 maybe-installcheck-libiberty-linker-plugin:
28445 @if libiberty-linker-plugin
28446 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28448 installcheck-libiberty-linker-plugin: \
28449 configure-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 installcheck 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 installcheck) \
28464 || exit 1
28466 @endif libiberty-linker-plugin
28468 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28469 maybe-mostlyclean-libiberty-linker-plugin:
28470 @if libiberty-linker-plugin
28471 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28473 mostlyclean-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 mostlyclean 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 mostlyclean) \
28488 || exit 1
28490 @endif libiberty-linker-plugin
28492 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28493 maybe-clean-libiberty-linker-plugin:
28494 @if libiberty-linker-plugin
28495 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28497 clean-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 clean 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 clean) \
28512 || exit 1
28514 @endif libiberty-linker-plugin
28516 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28517 maybe-distclean-libiberty-linker-plugin:
28518 @if libiberty-linker-plugin
28519 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28521 distclean-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 distclean 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 distclean) \
28536 || exit 1
28538 @endif libiberty-linker-plugin
28540 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28541 maybe-maintainer-clean-libiberty-linker-plugin:
28542 @if libiberty-linker-plugin
28543 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28545 maintainer-clean-libiberty-linker-plugin:
28546 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28547 r=`${PWD_COMMAND}`; export r; \
28548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28549 $(HOST_EXPORTS) \
28550 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28552 done; \
28553 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28554 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28557 "RANLIB=$${RANLIB}" \
28558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28559 maintainer-clean) \
28560 || exit 1
28562 @endif libiberty-linker-plugin
28566 .PHONY: configure-libiconv maybe-configure-libiconv
28567 maybe-configure-libiconv:
28568 @if gcc-bootstrap
28569 configure-libiconv: stage_current
28570 @endif gcc-bootstrap
28571 @if libiconv
28572 maybe-configure-libiconv: configure-libiconv
28573 configure-libiconv:
28574 @r=`${PWD_COMMAND}`; export r; \
28575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28576 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28578 $(HOST_EXPORTS) \
28579 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28580 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28581 case $(srcdir) in \
28582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28583 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28585 esac; \
28586 module_srcdir=libiconv; \
28587 $(SHELL) \
28588 $$s/$$module_srcdir/configure \
28589 --srcdir=$${topdir}/$$module_srcdir \
28590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28591 --target=${target_alias} --disable-shared \
28592 || exit 1
28593 @endif libiconv
28597 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28598 maybe-configure-stage1-libiconv:
28599 @if libiconv-bootstrap
28600 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28601 configure-stage1-libiconv:
28602 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28603 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28604 @r=`${PWD_COMMAND}`; export r; \
28605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28606 TFLAGS="$(STAGE1_TFLAGS)"; \
28607 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28608 $(HOST_EXPORTS) \
28609 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28610 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28611 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28612 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28614 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28615 case $(srcdir) in \
28616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28617 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28619 esac; \
28620 module_srcdir=libiconv; \
28621 $(SHELL) $$s/$$module_srcdir/configure \
28622 --srcdir=$${topdir}/$$module_srcdir \
28623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28624 --target=${target_alias} \
28626 $(STAGE1_CONFIGURE_FLAGS) \
28627 --disable-shared
28628 @endif libiconv-bootstrap
28630 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28631 maybe-configure-stage2-libiconv:
28632 @if libiconv-bootstrap
28633 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28634 configure-stage2-libiconv:
28635 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28636 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28637 @r=`${PWD_COMMAND}`; export r; \
28638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28639 TFLAGS="$(STAGE2_TFLAGS)"; \
28640 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28641 $(HOST_EXPORTS) \
28642 $(POSTSTAGE1_HOST_EXPORTS) \
28643 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28644 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28645 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28646 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28648 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28649 case $(srcdir) in \
28650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28651 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28653 esac; \
28654 module_srcdir=libiconv; \
28655 $(SHELL) $$s/$$module_srcdir/configure \
28656 --srcdir=$${topdir}/$$module_srcdir \
28657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28658 --target=${target_alias} \
28659 --with-build-libsubdir=$(HOST_SUBDIR) \
28660 $(STAGE2_CONFIGURE_FLAGS) \
28661 --disable-shared
28662 @endif libiconv-bootstrap
28664 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28665 maybe-configure-stage3-libiconv:
28666 @if libiconv-bootstrap
28667 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28668 configure-stage3-libiconv:
28669 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28671 @r=`${PWD_COMMAND}`; export r; \
28672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28673 TFLAGS="$(STAGE3_TFLAGS)"; \
28674 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28675 $(HOST_EXPORTS) \
28676 $(POSTSTAGE1_HOST_EXPORTS) \
28677 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28678 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28679 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28680 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28682 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28683 case $(srcdir) in \
28684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28685 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28687 esac; \
28688 module_srcdir=libiconv; \
28689 $(SHELL) $$s/$$module_srcdir/configure \
28690 --srcdir=$${topdir}/$$module_srcdir \
28691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28692 --target=${target_alias} \
28693 --with-build-libsubdir=$(HOST_SUBDIR) \
28694 $(STAGE3_CONFIGURE_FLAGS) \
28695 --disable-shared
28696 @endif libiconv-bootstrap
28698 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28699 maybe-configure-stage4-libiconv:
28700 @if libiconv-bootstrap
28701 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28702 configure-stage4-libiconv:
28703 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28705 @r=`${PWD_COMMAND}`; export r; \
28706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28707 TFLAGS="$(STAGE4_TFLAGS)"; \
28708 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28709 $(HOST_EXPORTS) \
28710 $(POSTSTAGE1_HOST_EXPORTS) \
28711 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28712 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28713 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28714 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28716 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28717 case $(srcdir) in \
28718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28719 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28721 esac; \
28722 module_srcdir=libiconv; \
28723 $(SHELL) $$s/$$module_srcdir/configure \
28724 --srcdir=$${topdir}/$$module_srcdir \
28725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28726 --target=${target_alias} \
28727 --with-build-libsubdir=$(HOST_SUBDIR) \
28728 $(STAGE4_CONFIGURE_FLAGS) \
28729 --disable-shared
28730 @endif libiconv-bootstrap
28732 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28733 maybe-configure-stageprofile-libiconv:
28734 @if libiconv-bootstrap
28735 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28736 configure-stageprofile-libiconv:
28737 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28738 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28739 @r=`${PWD_COMMAND}`; export r; \
28740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28741 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28742 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28743 $(HOST_EXPORTS) \
28744 $(POSTSTAGE1_HOST_EXPORTS) \
28745 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28746 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28747 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28748 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28750 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28751 case $(srcdir) in \
28752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28753 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28755 esac; \
28756 module_srcdir=libiconv; \
28757 $(SHELL) $$s/$$module_srcdir/configure \
28758 --srcdir=$${topdir}/$$module_srcdir \
28759 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28760 --target=${target_alias} \
28761 --with-build-libsubdir=$(HOST_SUBDIR) \
28762 $(STAGEprofile_CONFIGURE_FLAGS) \
28763 --disable-shared
28764 @endif libiconv-bootstrap
28766 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
28767 maybe-configure-stagetrain-libiconv:
28768 @if libiconv-bootstrap
28769 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
28770 configure-stagetrain-libiconv:
28771 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28772 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28773 @r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28776 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28777 $(HOST_EXPORTS) \
28778 $(POSTSTAGE1_HOST_EXPORTS) \
28779 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
28780 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
28781 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
28782 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
28783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28784 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28785 case $(srcdir) in \
28786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28787 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28789 esac; \
28790 module_srcdir=libiconv; \
28791 $(SHELL) $$s/$$module_srcdir/configure \
28792 --srcdir=$${topdir}/$$module_srcdir \
28793 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28794 --target=${target_alias} \
28795 --with-build-libsubdir=$(HOST_SUBDIR) \
28796 $(STAGEtrain_CONFIGURE_FLAGS) \
28797 --disable-shared
28798 @endif libiconv-bootstrap
28800 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
28801 maybe-configure-stagefeedback-libiconv:
28802 @if libiconv-bootstrap
28803 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
28804 configure-stagefeedback-libiconv:
28805 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28807 @r=`${PWD_COMMAND}`; export r; \
28808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28809 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28810 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28811 $(HOST_EXPORTS) \
28812 $(POSTSTAGE1_HOST_EXPORTS) \
28813 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28814 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28815 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28816 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
28817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28818 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28819 case $(srcdir) in \
28820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28821 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28823 esac; \
28824 module_srcdir=libiconv; \
28825 $(SHELL) $$s/$$module_srcdir/configure \
28826 --srcdir=$${topdir}/$$module_srcdir \
28827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28828 --target=${target_alias} \
28829 --with-build-libsubdir=$(HOST_SUBDIR) \
28830 $(STAGEfeedback_CONFIGURE_FLAGS) \
28831 --disable-shared
28832 @endif libiconv-bootstrap
28834 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
28835 maybe-configure-stageautoprofile-libiconv:
28836 @if libiconv-bootstrap
28837 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
28838 configure-stageautoprofile-libiconv:
28839 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28841 @r=`${PWD_COMMAND}`; export r; \
28842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28843 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28844 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28845 $(HOST_EXPORTS) \
28846 $(POSTSTAGE1_HOST_EXPORTS) \
28847 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
28848 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
28849 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28850 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
28851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28852 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28853 case $(srcdir) in \
28854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28855 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28857 esac; \
28858 module_srcdir=libiconv; \
28859 $(SHELL) $$s/$$module_srcdir/configure \
28860 --srcdir=$${topdir}/$$module_srcdir \
28861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28862 --target=${target_alias} \
28863 --with-build-libsubdir=$(HOST_SUBDIR) \
28864 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28865 --disable-shared
28866 @endif libiconv-bootstrap
28868 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
28869 maybe-configure-stageautofeedback-libiconv:
28870 @if libiconv-bootstrap
28871 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
28872 configure-stageautofeedback-libiconv:
28873 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28875 @r=`${PWD_COMMAND}`; export r; \
28876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28877 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28878 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28879 $(HOST_EXPORTS) \
28880 $(POSTSTAGE1_HOST_EXPORTS) \
28881 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28882 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28883 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28884 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
28885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28886 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28887 case $(srcdir) in \
28888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28889 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28891 esac; \
28892 module_srcdir=libiconv; \
28893 $(SHELL) $$s/$$module_srcdir/configure \
28894 --srcdir=$${topdir}/$$module_srcdir \
28895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28896 --target=${target_alias} \
28897 --with-build-libsubdir=$(HOST_SUBDIR) \
28898 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28899 --disable-shared
28900 @endif libiconv-bootstrap
28906 .PHONY: all-libiconv maybe-all-libiconv
28907 maybe-all-libiconv:
28908 @if gcc-bootstrap
28909 all-libiconv: stage_current
28910 @endif gcc-bootstrap
28911 @if libiconv
28912 TARGET-libiconv=all
28913 maybe-all-libiconv: all-libiconv
28914 all-libiconv: configure-libiconv
28915 @r=`${PWD_COMMAND}`; export r; \
28916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28917 $(HOST_EXPORTS) \
28918 (cd $(HOST_SUBDIR)/libiconv && \
28919 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28920 $(TARGET-libiconv))
28921 @endif libiconv
28925 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
28926 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
28927 maybe-all-stage1-libiconv:
28928 maybe-clean-stage1-libiconv:
28929 @if libiconv-bootstrap
28930 maybe-all-stage1-libiconv: all-stage1-libiconv
28931 all-stage1: all-stage1-libiconv
28932 TARGET-stage1-libiconv = $(TARGET-libiconv)
28933 all-stage1-libiconv: configure-stage1-libiconv
28934 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28935 @r=`${PWD_COMMAND}`; export r; \
28936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28937 TFLAGS="$(STAGE1_TFLAGS)"; \
28938 $(HOST_EXPORTS) \
28939 cd $(HOST_SUBDIR)/libiconv && \
28941 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28942 CFLAGS="$(STAGE1_CFLAGS)" \
28943 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28944 LIBCFLAGS="$(LIBCFLAGS)" \
28945 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28946 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28947 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28948 $(EXTRA_HOST_FLAGS) \
28949 $(STAGE1_FLAGS_TO_PASS) \
28950 TFLAGS="$(STAGE1_TFLAGS)" \
28951 $(TARGET-stage1-libiconv)
28953 maybe-clean-stage1-libiconv: clean-stage1-libiconv
28954 clean-stage1: clean-stage1-libiconv
28955 clean-stage1-libiconv:
28956 @if [ $(current_stage) = stage1 ]; then \
28957 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
28958 else \
28959 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
28960 $(MAKE) stage1-start; \
28961 fi; \
28962 cd $(HOST_SUBDIR)/libiconv && \
28963 $(MAKE) $(EXTRA_HOST_FLAGS) \
28964 $(STAGE1_FLAGS_TO_PASS) clean
28965 @endif libiconv-bootstrap
28968 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
28969 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
28970 maybe-all-stage2-libiconv:
28971 maybe-clean-stage2-libiconv:
28972 @if libiconv-bootstrap
28973 maybe-all-stage2-libiconv: all-stage2-libiconv
28974 all-stage2: all-stage2-libiconv
28975 TARGET-stage2-libiconv = $(TARGET-libiconv)
28976 all-stage2-libiconv: configure-stage2-libiconv
28977 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28978 @r=`${PWD_COMMAND}`; export r; \
28979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28980 TFLAGS="$(STAGE2_TFLAGS)"; \
28981 $(HOST_EXPORTS) \
28982 $(POSTSTAGE1_HOST_EXPORTS) \
28983 cd $(HOST_SUBDIR)/libiconv && \
28985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28986 CFLAGS="$(STAGE2_CFLAGS)" \
28987 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28988 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28992 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28993 TFLAGS="$(STAGE2_TFLAGS)" \
28994 $(TARGET-stage2-libiconv)
28996 maybe-clean-stage2-libiconv: clean-stage2-libiconv
28997 clean-stage2: clean-stage2-libiconv
28998 clean-stage2-libiconv:
28999 @if [ $(current_stage) = stage2 ]; then \
29000 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29001 else \
29002 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29003 $(MAKE) stage2-start; \
29004 fi; \
29005 cd $(HOST_SUBDIR)/libiconv && \
29006 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29007 @endif libiconv-bootstrap
29010 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29011 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29012 maybe-all-stage3-libiconv:
29013 maybe-clean-stage3-libiconv:
29014 @if libiconv-bootstrap
29015 maybe-all-stage3-libiconv: all-stage3-libiconv
29016 all-stage3: all-stage3-libiconv
29017 TARGET-stage3-libiconv = $(TARGET-libiconv)
29018 all-stage3-libiconv: configure-stage3-libiconv
29019 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29020 @r=`${PWD_COMMAND}`; export r; \
29021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29022 TFLAGS="$(STAGE3_TFLAGS)"; \
29023 $(HOST_EXPORTS) \
29024 $(POSTSTAGE1_HOST_EXPORTS) \
29025 cd $(HOST_SUBDIR)/libiconv && \
29027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29028 CFLAGS="$(STAGE3_CFLAGS)" \
29029 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29030 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29034 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29035 TFLAGS="$(STAGE3_TFLAGS)" \
29036 $(TARGET-stage3-libiconv)
29038 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29039 clean-stage3: clean-stage3-libiconv
29040 clean-stage3-libiconv:
29041 @if [ $(current_stage) = stage3 ]; then \
29042 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29043 else \
29044 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29045 $(MAKE) stage3-start; \
29046 fi; \
29047 cd $(HOST_SUBDIR)/libiconv && \
29048 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29049 @endif libiconv-bootstrap
29052 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29053 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29054 maybe-all-stage4-libiconv:
29055 maybe-clean-stage4-libiconv:
29056 @if libiconv-bootstrap
29057 maybe-all-stage4-libiconv: all-stage4-libiconv
29058 all-stage4: all-stage4-libiconv
29059 TARGET-stage4-libiconv = $(TARGET-libiconv)
29060 all-stage4-libiconv: configure-stage4-libiconv
29061 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29062 @r=`${PWD_COMMAND}`; export r; \
29063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29064 TFLAGS="$(STAGE4_TFLAGS)"; \
29065 $(HOST_EXPORTS) \
29066 $(POSTSTAGE1_HOST_EXPORTS) \
29067 cd $(HOST_SUBDIR)/libiconv && \
29069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29070 CFLAGS="$(STAGE4_CFLAGS)" \
29071 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29072 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29077 TFLAGS="$(STAGE4_TFLAGS)" \
29078 $(TARGET-stage4-libiconv)
29080 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29081 clean-stage4: clean-stage4-libiconv
29082 clean-stage4-libiconv:
29083 @if [ $(current_stage) = stage4 ]; then \
29084 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29085 else \
29086 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29087 $(MAKE) stage4-start; \
29088 fi; \
29089 cd $(HOST_SUBDIR)/libiconv && \
29090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29091 @endif libiconv-bootstrap
29094 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29095 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29096 maybe-all-stageprofile-libiconv:
29097 maybe-clean-stageprofile-libiconv:
29098 @if libiconv-bootstrap
29099 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29100 all-stageprofile: all-stageprofile-libiconv
29101 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29102 all-stageprofile-libiconv: configure-stageprofile-libiconv
29103 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29104 @r=`${PWD_COMMAND}`; export r; \
29105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29106 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29107 $(HOST_EXPORTS) \
29108 $(POSTSTAGE1_HOST_EXPORTS) \
29109 cd $(HOST_SUBDIR)/libiconv && \
29111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29112 CFLAGS="$(STAGEprofile_CFLAGS)" \
29113 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29114 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29118 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29119 TFLAGS="$(STAGEprofile_TFLAGS)" \
29120 $(TARGET-stageprofile-libiconv)
29122 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29123 clean-stageprofile: clean-stageprofile-libiconv
29124 clean-stageprofile-libiconv:
29125 @if [ $(current_stage) = stageprofile ]; then \
29126 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29127 else \
29128 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29129 $(MAKE) stageprofile-start; \
29130 fi; \
29131 cd $(HOST_SUBDIR)/libiconv && \
29132 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29133 @endif libiconv-bootstrap
29136 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29137 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29138 maybe-all-stagetrain-libiconv:
29139 maybe-clean-stagetrain-libiconv:
29140 @if libiconv-bootstrap
29141 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29142 all-stagetrain: all-stagetrain-libiconv
29143 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29144 all-stagetrain-libiconv: configure-stagetrain-libiconv
29145 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29146 @r=`${PWD_COMMAND}`; export r; \
29147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29148 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29149 $(HOST_EXPORTS) \
29150 $(POSTSTAGE1_HOST_EXPORTS) \
29151 cd $(HOST_SUBDIR)/libiconv && \
29153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29154 CFLAGS="$(STAGEtrain_CFLAGS)" \
29155 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29156 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29160 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29161 TFLAGS="$(STAGEtrain_TFLAGS)" \
29162 $(TARGET-stagetrain-libiconv)
29164 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29165 clean-stagetrain: clean-stagetrain-libiconv
29166 clean-stagetrain-libiconv:
29167 @if [ $(current_stage) = stagetrain ]; then \
29168 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29169 else \
29170 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29171 $(MAKE) stagetrain-start; \
29172 fi; \
29173 cd $(HOST_SUBDIR)/libiconv && \
29174 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29175 @endif libiconv-bootstrap
29178 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29179 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29180 maybe-all-stagefeedback-libiconv:
29181 maybe-clean-stagefeedback-libiconv:
29182 @if libiconv-bootstrap
29183 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29184 all-stagefeedback: all-stagefeedback-libiconv
29185 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29186 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29187 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29188 @r=`${PWD_COMMAND}`; export r; \
29189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29190 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29191 $(HOST_EXPORTS) \
29192 $(POSTSTAGE1_HOST_EXPORTS) \
29193 cd $(HOST_SUBDIR)/libiconv && \
29195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29196 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29197 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29198 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29203 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29204 $(TARGET-stagefeedback-libiconv)
29206 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29207 clean-stagefeedback: clean-stagefeedback-libiconv
29208 clean-stagefeedback-libiconv:
29209 @if [ $(current_stage) = stagefeedback ]; then \
29210 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29211 else \
29212 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29213 $(MAKE) stagefeedback-start; \
29214 fi; \
29215 cd $(HOST_SUBDIR)/libiconv && \
29216 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29217 @endif libiconv-bootstrap
29220 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29221 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29222 maybe-all-stageautoprofile-libiconv:
29223 maybe-clean-stageautoprofile-libiconv:
29224 @if libiconv-bootstrap
29225 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29226 all-stageautoprofile: all-stageautoprofile-libiconv
29227 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29228 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29229 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29230 @r=`${PWD_COMMAND}`; export r; \
29231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29232 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29233 $(HOST_EXPORTS) \
29234 $(POSTSTAGE1_HOST_EXPORTS) \
29235 cd $(HOST_SUBDIR)/libiconv && \
29236 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29238 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29239 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29240 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29245 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29246 $(TARGET-stageautoprofile-libiconv)
29248 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29249 clean-stageautoprofile: clean-stageautoprofile-libiconv
29250 clean-stageautoprofile-libiconv:
29251 @if [ $(current_stage) = stageautoprofile ]; then \
29252 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29253 else \
29254 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29255 $(MAKE) stageautoprofile-start; \
29256 fi; \
29257 cd $(HOST_SUBDIR)/libiconv && \
29258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29259 @endif libiconv-bootstrap
29262 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29263 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29264 maybe-all-stageautofeedback-libiconv:
29265 maybe-clean-stageautofeedback-libiconv:
29266 @if libiconv-bootstrap
29267 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29268 all-stageautofeedback: all-stageautofeedback-libiconv
29269 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29270 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29271 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29272 @r=`${PWD_COMMAND}`; export r; \
29273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29274 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29275 $(HOST_EXPORTS) \
29276 $(POSTSTAGE1_HOST_EXPORTS) \
29277 cd $(HOST_SUBDIR)/libiconv && \
29279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29280 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29281 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29282 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29286 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29287 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29288 $(TARGET-stageautofeedback-libiconv)
29290 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29291 clean-stageautofeedback: clean-stageautofeedback-libiconv
29292 clean-stageautofeedback-libiconv:
29293 @if [ $(current_stage) = stageautofeedback ]; then \
29294 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29295 else \
29296 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29297 $(MAKE) stageautofeedback-start; \
29298 fi; \
29299 cd $(HOST_SUBDIR)/libiconv && \
29300 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29301 @endif libiconv-bootstrap
29307 .PHONY: check-libiconv maybe-check-libiconv
29308 maybe-check-libiconv:
29309 @if libiconv
29310 maybe-check-libiconv: check-libiconv
29312 check-libiconv:
29313 @: $(MAKE); $(unstage)
29314 @r=`${PWD_COMMAND}`; export r; \
29315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29316 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29317 (cd $(HOST_SUBDIR)/libiconv && \
29318 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29320 @endif libiconv
29322 .PHONY: install-libiconv maybe-install-libiconv
29323 maybe-install-libiconv:
29324 @if libiconv
29325 maybe-install-libiconv: install-libiconv
29327 install-libiconv:
29329 @endif libiconv
29331 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29332 maybe-install-strip-libiconv:
29333 @if libiconv
29334 maybe-install-strip-libiconv: install-strip-libiconv
29336 install-strip-libiconv:
29338 @endif libiconv
29340 # Other targets (info, dvi, pdf, etc.)
29342 .PHONY: maybe-info-libiconv info-libiconv
29343 maybe-info-libiconv:
29344 @if libiconv
29345 maybe-info-libiconv: info-libiconv
29347 # libiconv doesn't support info.
29348 info-libiconv:
29350 @endif libiconv
29352 .PHONY: maybe-dvi-libiconv dvi-libiconv
29353 maybe-dvi-libiconv:
29354 @if libiconv
29355 maybe-dvi-libiconv: dvi-libiconv
29357 dvi-libiconv: \
29358 configure-libiconv
29359 @[ -f ./libiconv/Makefile ] || exit 0; \
29360 r=`${PWD_COMMAND}`; export r; \
29361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29362 $(HOST_EXPORTS) \
29363 for flag in $(EXTRA_HOST_FLAGS) ; do \
29364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29365 done; \
29366 echo "Doing dvi in libiconv"; \
29367 (cd $(HOST_SUBDIR)/libiconv && \
29368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29370 "RANLIB=$${RANLIB}" \
29371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29372 dvi) \
29373 || exit 1
29375 @endif libiconv
29377 .PHONY: maybe-pdf-libiconv pdf-libiconv
29378 maybe-pdf-libiconv:
29379 @if libiconv
29380 maybe-pdf-libiconv: pdf-libiconv
29382 # libiconv doesn't support pdf.
29383 pdf-libiconv:
29385 @endif libiconv
29387 .PHONY: maybe-html-libiconv html-libiconv
29388 maybe-html-libiconv:
29389 @if libiconv
29390 maybe-html-libiconv: html-libiconv
29392 # libiconv doesn't support html.
29393 html-libiconv:
29395 @endif libiconv
29397 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29398 maybe-TAGS-libiconv:
29399 @if libiconv
29400 maybe-TAGS-libiconv: TAGS-libiconv
29402 TAGS-libiconv: \
29403 configure-libiconv
29404 @[ -f ./libiconv/Makefile ] || exit 0; \
29405 r=`${PWD_COMMAND}`; export r; \
29406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29407 $(HOST_EXPORTS) \
29408 for flag in $(EXTRA_HOST_FLAGS) ; do \
29409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29410 done; \
29411 echo "Doing TAGS in libiconv"; \
29412 (cd $(HOST_SUBDIR)/libiconv && \
29413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29415 "RANLIB=$${RANLIB}" \
29416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29417 TAGS) \
29418 || exit 1
29420 @endif libiconv
29422 .PHONY: maybe-install-info-libiconv install-info-libiconv
29423 maybe-install-info-libiconv:
29424 @if libiconv
29425 maybe-install-info-libiconv: install-info-libiconv
29427 # libiconv doesn't support install-info.
29428 install-info-libiconv:
29430 @endif libiconv
29432 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29433 maybe-install-pdf-libiconv:
29434 @if libiconv
29435 maybe-install-pdf-libiconv: install-pdf-libiconv
29437 # libiconv doesn't support install-pdf.
29438 install-pdf-libiconv:
29440 @endif libiconv
29442 .PHONY: maybe-install-html-libiconv install-html-libiconv
29443 maybe-install-html-libiconv:
29444 @if libiconv
29445 maybe-install-html-libiconv: install-html-libiconv
29447 # libiconv doesn't support install-html.
29448 install-html-libiconv:
29450 @endif libiconv
29452 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29453 maybe-installcheck-libiconv:
29454 @if libiconv
29455 maybe-installcheck-libiconv: installcheck-libiconv
29457 installcheck-libiconv: \
29458 configure-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 installcheck 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 installcheck) \
29473 || exit 1
29475 @endif libiconv
29477 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29478 maybe-mostlyclean-libiconv:
29479 @if libiconv
29480 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29482 mostlyclean-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 mostlyclean 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 mostlyclean) \
29497 || exit 1
29499 @endif libiconv
29501 .PHONY: maybe-clean-libiconv clean-libiconv
29502 maybe-clean-libiconv:
29503 @if libiconv
29504 maybe-clean-libiconv: clean-libiconv
29506 clean-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 clean 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 clean) \
29521 || exit 1
29523 @endif libiconv
29525 .PHONY: maybe-distclean-libiconv distclean-libiconv
29526 maybe-distclean-libiconv:
29527 @if libiconv
29528 maybe-distclean-libiconv: distclean-libiconv
29530 distclean-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 distclean 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 distclean) \
29545 || exit 1
29547 @endif libiconv
29549 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29550 maybe-maintainer-clean-libiconv:
29551 @if libiconv
29552 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29554 maintainer-clean-libiconv:
29555 @[ -f ./libiconv/Makefile ] || exit 0; \
29556 r=`${PWD_COMMAND}`; export r; \
29557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29558 $(HOST_EXPORTS) \
29559 for flag in $(EXTRA_HOST_FLAGS) ; do \
29560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29561 done; \
29562 echo "Doing maintainer-clean in libiconv"; \
29563 (cd $(HOST_SUBDIR)/libiconv && \
29564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29566 "RANLIB=$${RANLIB}" \
29567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29568 maintainer-clean) \
29569 || exit 1
29571 @endif libiconv
29575 .PHONY: configure-m4 maybe-configure-m4
29576 maybe-configure-m4:
29577 @if gcc-bootstrap
29578 configure-m4: stage_current
29579 @endif gcc-bootstrap
29580 @if m4
29581 maybe-configure-m4: configure-m4
29582 configure-m4:
29583 @: $(MAKE); $(unstage)
29584 @r=`${PWD_COMMAND}`; export r; \
29585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29586 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29588 $(HOST_EXPORTS) \
29589 echo Configuring in $(HOST_SUBDIR)/m4; \
29590 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29591 case $(srcdir) in \
29592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29593 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29595 esac; \
29596 module_srcdir=m4; \
29597 $(SHELL) \
29598 $$s/$$module_srcdir/configure \
29599 --srcdir=$${topdir}/$$module_srcdir \
29600 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29601 --target=${target_alias} \
29602 || exit 1
29603 @endif m4
29609 .PHONY: all-m4 maybe-all-m4
29610 maybe-all-m4:
29611 @if gcc-bootstrap
29612 all-m4: stage_current
29613 @endif gcc-bootstrap
29614 @if m4
29615 TARGET-m4=all
29616 maybe-all-m4: all-m4
29617 all-m4: configure-m4
29618 @: $(MAKE); $(unstage)
29619 @r=`${PWD_COMMAND}`; export r; \
29620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29621 $(HOST_EXPORTS) \
29622 (cd $(HOST_SUBDIR)/m4 && \
29623 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29624 $(TARGET-m4))
29625 @endif m4
29630 .PHONY: check-m4 maybe-check-m4
29631 maybe-check-m4:
29632 @if m4
29633 maybe-check-m4: check-m4
29635 check-m4:
29636 @: $(MAKE); $(unstage)
29637 @r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 (cd $(HOST_SUBDIR)/m4 && \
29641 $(MAKE) $(FLAGS_TO_PASS) check)
29643 @endif m4
29645 .PHONY: install-m4 maybe-install-m4
29646 maybe-install-m4:
29647 @if m4
29648 maybe-install-m4: install-m4
29650 install-m4: installdirs
29651 @: $(MAKE); $(unstage)
29652 @r=`${PWD_COMMAND}`; export r; \
29653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29654 $(HOST_EXPORTS) \
29655 (cd $(HOST_SUBDIR)/m4 && \
29656 $(MAKE) $(FLAGS_TO_PASS) install)
29658 @endif m4
29660 .PHONY: install-strip-m4 maybe-install-strip-m4
29661 maybe-install-strip-m4:
29662 @if m4
29663 maybe-install-strip-m4: install-strip-m4
29665 install-strip-m4: installdirs
29666 @: $(MAKE); $(unstage)
29667 @r=`${PWD_COMMAND}`; export r; \
29668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29669 $(HOST_EXPORTS) \
29670 (cd $(HOST_SUBDIR)/m4 && \
29671 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29673 @endif m4
29675 # Other targets (info, dvi, pdf, etc.)
29677 .PHONY: maybe-info-m4 info-m4
29678 maybe-info-m4:
29679 @if m4
29680 maybe-info-m4: info-m4
29682 info-m4: \
29683 configure-m4
29684 @: $(MAKE); $(unstage)
29685 @[ -f ./m4/Makefile ] || exit 0; \
29686 r=`${PWD_COMMAND}`; export r; \
29687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29688 $(HOST_EXPORTS) \
29689 for flag in $(EXTRA_HOST_FLAGS) ; do \
29690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29691 done; \
29692 echo "Doing info in m4"; \
29693 (cd $(HOST_SUBDIR)/m4 && \
29694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29696 "RANLIB=$${RANLIB}" \
29697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29698 info) \
29699 || exit 1
29701 @endif m4
29703 .PHONY: maybe-dvi-m4 dvi-m4
29704 maybe-dvi-m4:
29705 @if m4
29706 maybe-dvi-m4: dvi-m4
29708 dvi-m4: \
29709 configure-m4
29710 @: $(MAKE); $(unstage)
29711 @[ -f ./m4/Makefile ] || exit 0; \
29712 r=`${PWD_COMMAND}`; export r; \
29713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29714 $(HOST_EXPORTS) \
29715 for flag in $(EXTRA_HOST_FLAGS) ; do \
29716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29717 done; \
29718 echo "Doing dvi in m4"; \
29719 (cd $(HOST_SUBDIR)/m4 && \
29720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29722 "RANLIB=$${RANLIB}" \
29723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29724 dvi) \
29725 || exit 1
29727 @endif m4
29729 .PHONY: maybe-pdf-m4 pdf-m4
29730 maybe-pdf-m4:
29731 @if m4
29732 maybe-pdf-m4: pdf-m4
29734 pdf-m4: \
29735 configure-m4
29736 @: $(MAKE); $(unstage)
29737 @[ -f ./m4/Makefile ] || exit 0; \
29738 r=`${PWD_COMMAND}`; export r; \
29739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29740 $(HOST_EXPORTS) \
29741 for flag in $(EXTRA_HOST_FLAGS) ; do \
29742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29743 done; \
29744 echo "Doing pdf in m4"; \
29745 (cd $(HOST_SUBDIR)/m4 && \
29746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29748 "RANLIB=$${RANLIB}" \
29749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29750 pdf) \
29751 || exit 1
29753 @endif m4
29755 .PHONY: maybe-html-m4 html-m4
29756 maybe-html-m4:
29757 @if m4
29758 maybe-html-m4: html-m4
29760 html-m4: \
29761 configure-m4
29762 @: $(MAKE); $(unstage)
29763 @[ -f ./m4/Makefile ] || exit 0; \
29764 r=`${PWD_COMMAND}`; export r; \
29765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29766 $(HOST_EXPORTS) \
29767 for flag in $(EXTRA_HOST_FLAGS) ; do \
29768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29769 done; \
29770 echo "Doing html in m4"; \
29771 (cd $(HOST_SUBDIR)/m4 && \
29772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29774 "RANLIB=$${RANLIB}" \
29775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29776 html) \
29777 || exit 1
29779 @endif m4
29781 .PHONY: maybe-TAGS-m4 TAGS-m4
29782 maybe-TAGS-m4:
29783 @if m4
29784 maybe-TAGS-m4: TAGS-m4
29786 TAGS-m4: \
29787 configure-m4
29788 @: $(MAKE); $(unstage)
29789 @[ -f ./m4/Makefile ] || exit 0; \
29790 r=`${PWD_COMMAND}`; export r; \
29791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29792 $(HOST_EXPORTS) \
29793 for flag in $(EXTRA_HOST_FLAGS) ; do \
29794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29795 done; \
29796 echo "Doing TAGS in m4"; \
29797 (cd $(HOST_SUBDIR)/m4 && \
29798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29800 "RANLIB=$${RANLIB}" \
29801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29802 TAGS) \
29803 || exit 1
29805 @endif m4
29807 .PHONY: maybe-install-info-m4 install-info-m4
29808 maybe-install-info-m4:
29809 @if m4
29810 maybe-install-info-m4: install-info-m4
29812 install-info-m4: \
29813 configure-m4 \
29814 info-m4
29815 @: $(MAKE); $(unstage)
29816 @[ -f ./m4/Makefile ] || exit 0; \
29817 r=`${PWD_COMMAND}`; export r; \
29818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29819 $(HOST_EXPORTS) \
29820 for flag in $(EXTRA_HOST_FLAGS) ; do \
29821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29822 done; \
29823 echo "Doing install-info in m4"; \
29824 (cd $(HOST_SUBDIR)/m4 && \
29825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29827 "RANLIB=$${RANLIB}" \
29828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29829 install-info) \
29830 || exit 1
29832 @endif m4
29834 .PHONY: maybe-install-pdf-m4 install-pdf-m4
29835 maybe-install-pdf-m4:
29836 @if m4
29837 maybe-install-pdf-m4: install-pdf-m4
29839 install-pdf-m4: \
29840 configure-m4 \
29841 pdf-m4
29842 @: $(MAKE); $(unstage)
29843 @[ -f ./m4/Makefile ] || exit 0; \
29844 r=`${PWD_COMMAND}`; export r; \
29845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29846 $(HOST_EXPORTS) \
29847 for flag in $(EXTRA_HOST_FLAGS) ; do \
29848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29849 done; \
29850 echo "Doing install-pdf in m4"; \
29851 (cd $(HOST_SUBDIR)/m4 && \
29852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29854 "RANLIB=$${RANLIB}" \
29855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29856 install-pdf) \
29857 || exit 1
29859 @endif m4
29861 .PHONY: maybe-install-html-m4 install-html-m4
29862 maybe-install-html-m4:
29863 @if m4
29864 maybe-install-html-m4: install-html-m4
29866 install-html-m4: \
29867 configure-m4 \
29868 html-m4
29869 @: $(MAKE); $(unstage)
29870 @[ -f ./m4/Makefile ] || exit 0; \
29871 r=`${PWD_COMMAND}`; export r; \
29872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29873 $(HOST_EXPORTS) \
29874 for flag in $(EXTRA_HOST_FLAGS) ; do \
29875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29876 done; \
29877 echo "Doing install-html in m4"; \
29878 (cd $(HOST_SUBDIR)/m4 && \
29879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29881 "RANLIB=$${RANLIB}" \
29882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29883 install-html) \
29884 || exit 1
29886 @endif m4
29888 .PHONY: maybe-installcheck-m4 installcheck-m4
29889 maybe-installcheck-m4:
29890 @if m4
29891 maybe-installcheck-m4: installcheck-m4
29893 installcheck-m4: \
29894 configure-m4
29895 @: $(MAKE); $(unstage)
29896 @[ -f ./m4/Makefile ] || exit 0; \
29897 r=`${PWD_COMMAND}`; export r; \
29898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29899 $(HOST_EXPORTS) \
29900 for flag in $(EXTRA_HOST_FLAGS) ; do \
29901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29902 done; \
29903 echo "Doing installcheck in m4"; \
29904 (cd $(HOST_SUBDIR)/m4 && \
29905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29907 "RANLIB=$${RANLIB}" \
29908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29909 installcheck) \
29910 || exit 1
29912 @endif m4
29914 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
29915 maybe-mostlyclean-m4:
29916 @if m4
29917 maybe-mostlyclean-m4: mostlyclean-m4
29919 mostlyclean-m4:
29920 @: $(MAKE); $(unstage)
29921 @[ -f ./m4/Makefile ] || exit 0; \
29922 r=`${PWD_COMMAND}`; export r; \
29923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29924 $(HOST_EXPORTS) \
29925 for flag in $(EXTRA_HOST_FLAGS) ; do \
29926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29927 done; \
29928 echo "Doing mostlyclean in m4"; \
29929 (cd $(HOST_SUBDIR)/m4 && \
29930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29932 "RANLIB=$${RANLIB}" \
29933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29934 mostlyclean) \
29935 || exit 1
29937 @endif m4
29939 .PHONY: maybe-clean-m4 clean-m4
29940 maybe-clean-m4:
29941 @if m4
29942 maybe-clean-m4: clean-m4
29944 clean-m4:
29945 @: $(MAKE); $(unstage)
29946 @[ -f ./m4/Makefile ] || exit 0; \
29947 r=`${PWD_COMMAND}`; export r; \
29948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29949 $(HOST_EXPORTS) \
29950 for flag in $(EXTRA_HOST_FLAGS) ; do \
29951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29952 done; \
29953 echo "Doing clean in m4"; \
29954 (cd $(HOST_SUBDIR)/m4 && \
29955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29957 "RANLIB=$${RANLIB}" \
29958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29959 clean) \
29960 || exit 1
29962 @endif m4
29964 .PHONY: maybe-distclean-m4 distclean-m4
29965 maybe-distclean-m4:
29966 @if m4
29967 maybe-distclean-m4: distclean-m4
29969 distclean-m4:
29970 @: $(MAKE); $(unstage)
29971 @[ -f ./m4/Makefile ] || exit 0; \
29972 r=`${PWD_COMMAND}`; export r; \
29973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29974 $(HOST_EXPORTS) \
29975 for flag in $(EXTRA_HOST_FLAGS) ; do \
29976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29977 done; \
29978 echo "Doing distclean in m4"; \
29979 (cd $(HOST_SUBDIR)/m4 && \
29980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29982 "RANLIB=$${RANLIB}" \
29983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29984 distclean) \
29985 || exit 1
29987 @endif m4
29989 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
29990 maybe-maintainer-clean-m4:
29991 @if m4
29992 maybe-maintainer-clean-m4: maintainer-clean-m4
29994 maintainer-clean-m4:
29995 @: $(MAKE); $(unstage)
29996 @[ -f ./m4/Makefile ] || exit 0; \
29997 r=`${PWD_COMMAND}`; export r; \
29998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29999 $(HOST_EXPORTS) \
30000 for flag in $(EXTRA_HOST_FLAGS) ; do \
30001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30002 done; \
30003 echo "Doing maintainer-clean in m4"; \
30004 (cd $(HOST_SUBDIR)/m4 && \
30005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30007 "RANLIB=$${RANLIB}" \
30008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30009 maintainer-clean) \
30010 || exit 1
30012 @endif m4
30016 .PHONY: configure-readline maybe-configure-readline
30017 maybe-configure-readline:
30018 @if gcc-bootstrap
30019 configure-readline: stage_current
30020 @endif gcc-bootstrap
30021 @if readline
30022 maybe-configure-readline: configure-readline
30023 configure-readline:
30024 @: $(MAKE); $(unstage)
30025 @r=`${PWD_COMMAND}`; export r; \
30026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30027 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30029 $(HOST_EXPORTS) \
30030 echo Configuring in $(HOST_SUBDIR)/readline; \
30031 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30032 case $(srcdir) in \
30033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30034 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30036 esac; \
30037 module_srcdir=readline; \
30038 $(SHELL) \
30039 $$s/$$module_srcdir/configure \
30040 --srcdir=$${topdir}/$$module_srcdir \
30041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30042 --target=${target_alias} \
30043 || exit 1
30044 @endif readline
30050 .PHONY: all-readline maybe-all-readline
30051 maybe-all-readline:
30052 @if gcc-bootstrap
30053 all-readline: stage_current
30054 @endif gcc-bootstrap
30055 @if readline
30056 TARGET-readline=all
30057 maybe-all-readline: all-readline
30058 all-readline: configure-readline
30059 @: $(MAKE); $(unstage)
30060 @r=`${PWD_COMMAND}`; export r; \
30061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30062 $(HOST_EXPORTS) \
30063 (cd $(HOST_SUBDIR)/readline && \
30064 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30065 $(TARGET-readline))
30066 @endif readline
30071 .PHONY: check-readline maybe-check-readline
30072 maybe-check-readline:
30073 @if readline
30074 maybe-check-readline: check-readline
30076 check-readline:
30077 @: $(MAKE); $(unstage)
30078 @r=`${PWD_COMMAND}`; export r; \
30079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30080 $(HOST_EXPORTS) \
30081 (cd $(HOST_SUBDIR)/readline && \
30082 $(MAKE) $(FLAGS_TO_PASS) check)
30084 @endif readline
30086 .PHONY: install-readline maybe-install-readline
30087 maybe-install-readline:
30088 @if readline
30089 maybe-install-readline: install-readline
30091 install-readline: installdirs
30092 @: $(MAKE); $(unstage)
30093 @r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(HOST_EXPORTS) \
30096 (cd $(HOST_SUBDIR)/readline && \
30097 $(MAKE) $(FLAGS_TO_PASS) install)
30099 @endif readline
30101 .PHONY: install-strip-readline maybe-install-strip-readline
30102 maybe-install-strip-readline:
30103 @if readline
30104 maybe-install-strip-readline: install-strip-readline
30106 install-strip-readline: installdirs
30107 @: $(MAKE); $(unstage)
30108 @r=`${PWD_COMMAND}`; export r; \
30109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30110 $(HOST_EXPORTS) \
30111 (cd $(HOST_SUBDIR)/readline && \
30112 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30114 @endif readline
30116 # Other targets (info, dvi, pdf, etc.)
30118 .PHONY: maybe-info-readline info-readline
30119 maybe-info-readline:
30120 @if readline
30121 maybe-info-readline: info-readline
30123 info-readline: \
30124 configure-readline
30125 @: $(MAKE); $(unstage)
30126 @[ -f ./readline/Makefile ] || exit 0; \
30127 r=`${PWD_COMMAND}`; export r; \
30128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30129 $(HOST_EXPORTS) \
30130 for flag in $(EXTRA_HOST_FLAGS) ; do \
30131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30132 done; \
30133 echo "Doing info in readline"; \
30134 (cd $(HOST_SUBDIR)/readline && \
30135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30137 "RANLIB=$${RANLIB}" \
30138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30139 info) \
30140 || exit 1
30142 @endif readline
30144 .PHONY: maybe-dvi-readline dvi-readline
30145 maybe-dvi-readline:
30146 @if readline
30147 maybe-dvi-readline: dvi-readline
30149 dvi-readline: \
30150 configure-readline
30151 @: $(MAKE); $(unstage)
30152 @[ -f ./readline/Makefile ] || exit 0; \
30153 r=`${PWD_COMMAND}`; export r; \
30154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30155 $(HOST_EXPORTS) \
30156 for flag in $(EXTRA_HOST_FLAGS) ; do \
30157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30158 done; \
30159 echo "Doing dvi in readline"; \
30160 (cd $(HOST_SUBDIR)/readline && \
30161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30163 "RANLIB=$${RANLIB}" \
30164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30165 dvi) \
30166 || exit 1
30168 @endif readline
30170 .PHONY: maybe-pdf-readline pdf-readline
30171 maybe-pdf-readline:
30172 @if readline
30173 maybe-pdf-readline: pdf-readline
30175 pdf-readline: \
30176 configure-readline
30177 @: $(MAKE); $(unstage)
30178 @[ -f ./readline/Makefile ] || exit 0; \
30179 r=`${PWD_COMMAND}`; export r; \
30180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30181 $(HOST_EXPORTS) \
30182 for flag in $(EXTRA_HOST_FLAGS) ; do \
30183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30184 done; \
30185 echo "Doing pdf in readline"; \
30186 (cd $(HOST_SUBDIR)/readline && \
30187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30189 "RANLIB=$${RANLIB}" \
30190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30191 pdf) \
30192 || exit 1
30194 @endif readline
30196 .PHONY: maybe-html-readline html-readline
30197 maybe-html-readline:
30198 @if readline
30199 maybe-html-readline: html-readline
30201 html-readline: \
30202 configure-readline
30203 @: $(MAKE); $(unstage)
30204 @[ -f ./readline/Makefile ] || exit 0; \
30205 r=`${PWD_COMMAND}`; export r; \
30206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30207 $(HOST_EXPORTS) \
30208 for flag in $(EXTRA_HOST_FLAGS) ; do \
30209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30210 done; \
30211 echo "Doing html in readline"; \
30212 (cd $(HOST_SUBDIR)/readline && \
30213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30215 "RANLIB=$${RANLIB}" \
30216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30217 html) \
30218 || exit 1
30220 @endif readline
30222 .PHONY: maybe-TAGS-readline TAGS-readline
30223 maybe-TAGS-readline:
30224 @if readline
30225 maybe-TAGS-readline: TAGS-readline
30227 TAGS-readline: \
30228 configure-readline
30229 @: $(MAKE); $(unstage)
30230 @[ -f ./readline/Makefile ] || exit 0; \
30231 r=`${PWD_COMMAND}`; export r; \
30232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30233 $(HOST_EXPORTS) \
30234 for flag in $(EXTRA_HOST_FLAGS) ; do \
30235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30236 done; \
30237 echo "Doing TAGS in readline"; \
30238 (cd $(HOST_SUBDIR)/readline && \
30239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30241 "RANLIB=$${RANLIB}" \
30242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30243 TAGS) \
30244 || exit 1
30246 @endif readline
30248 .PHONY: maybe-install-info-readline install-info-readline
30249 maybe-install-info-readline:
30250 @if readline
30251 maybe-install-info-readline: install-info-readline
30253 install-info-readline: \
30254 configure-readline \
30255 info-readline
30256 @: $(MAKE); $(unstage)
30257 @[ -f ./readline/Makefile ] || exit 0; \
30258 r=`${PWD_COMMAND}`; export r; \
30259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30260 $(HOST_EXPORTS) \
30261 for flag in $(EXTRA_HOST_FLAGS) ; do \
30262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30263 done; \
30264 echo "Doing install-info in readline"; \
30265 (cd $(HOST_SUBDIR)/readline && \
30266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30268 "RANLIB=$${RANLIB}" \
30269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30270 install-info) \
30271 || exit 1
30273 @endif readline
30275 .PHONY: maybe-install-pdf-readline install-pdf-readline
30276 maybe-install-pdf-readline:
30277 @if readline
30278 maybe-install-pdf-readline: install-pdf-readline
30280 install-pdf-readline: \
30281 configure-readline \
30282 pdf-readline
30283 @: $(MAKE); $(unstage)
30284 @[ -f ./readline/Makefile ] || exit 0; \
30285 r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30287 $(HOST_EXPORTS) \
30288 for flag in $(EXTRA_HOST_FLAGS) ; do \
30289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30290 done; \
30291 echo "Doing install-pdf in readline"; \
30292 (cd $(HOST_SUBDIR)/readline && \
30293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30295 "RANLIB=$${RANLIB}" \
30296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30297 install-pdf) \
30298 || exit 1
30300 @endif readline
30302 .PHONY: maybe-install-html-readline install-html-readline
30303 maybe-install-html-readline:
30304 @if readline
30305 maybe-install-html-readline: install-html-readline
30307 install-html-readline: \
30308 configure-readline \
30309 html-readline
30310 @: $(MAKE); $(unstage)
30311 @[ -f ./readline/Makefile ] || exit 0; \
30312 r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30314 $(HOST_EXPORTS) \
30315 for flag in $(EXTRA_HOST_FLAGS) ; do \
30316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30317 done; \
30318 echo "Doing install-html in readline"; \
30319 (cd $(HOST_SUBDIR)/readline && \
30320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30322 "RANLIB=$${RANLIB}" \
30323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30324 install-html) \
30325 || exit 1
30327 @endif readline
30329 .PHONY: maybe-installcheck-readline installcheck-readline
30330 maybe-installcheck-readline:
30331 @if readline
30332 maybe-installcheck-readline: installcheck-readline
30334 installcheck-readline: \
30335 configure-readline
30336 @: $(MAKE); $(unstage)
30337 @[ -f ./readline/Makefile ] || exit 0; \
30338 r=`${PWD_COMMAND}`; export r; \
30339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30340 $(HOST_EXPORTS) \
30341 for flag in $(EXTRA_HOST_FLAGS) ; do \
30342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30343 done; \
30344 echo "Doing installcheck in readline"; \
30345 (cd $(HOST_SUBDIR)/readline && \
30346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30348 "RANLIB=$${RANLIB}" \
30349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30350 installcheck) \
30351 || exit 1
30353 @endif readline
30355 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30356 maybe-mostlyclean-readline:
30357 @if readline
30358 maybe-mostlyclean-readline: mostlyclean-readline
30360 mostlyclean-readline:
30361 @: $(MAKE); $(unstage)
30362 @[ -f ./readline/Makefile ] || exit 0; \
30363 r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(HOST_EXPORTS) \
30366 for flag in $(EXTRA_HOST_FLAGS) ; do \
30367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30368 done; \
30369 echo "Doing mostlyclean in readline"; \
30370 (cd $(HOST_SUBDIR)/readline && \
30371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30373 "RANLIB=$${RANLIB}" \
30374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30375 mostlyclean) \
30376 || exit 1
30378 @endif readline
30380 .PHONY: maybe-clean-readline clean-readline
30381 maybe-clean-readline:
30382 @if readline
30383 maybe-clean-readline: clean-readline
30385 clean-readline:
30386 @: $(MAKE); $(unstage)
30387 @[ -f ./readline/Makefile ] || exit 0; \
30388 r=`${PWD_COMMAND}`; export r; \
30389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30390 $(HOST_EXPORTS) \
30391 for flag in $(EXTRA_HOST_FLAGS) ; do \
30392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30393 done; \
30394 echo "Doing clean in readline"; \
30395 (cd $(HOST_SUBDIR)/readline && \
30396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30398 "RANLIB=$${RANLIB}" \
30399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30400 clean) \
30401 || exit 1
30403 @endif readline
30405 .PHONY: maybe-distclean-readline distclean-readline
30406 maybe-distclean-readline:
30407 @if readline
30408 maybe-distclean-readline: distclean-readline
30410 distclean-readline:
30411 @: $(MAKE); $(unstage)
30412 @[ -f ./readline/Makefile ] || exit 0; \
30413 r=`${PWD_COMMAND}`; export r; \
30414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30415 $(HOST_EXPORTS) \
30416 for flag in $(EXTRA_HOST_FLAGS) ; do \
30417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30418 done; \
30419 echo "Doing distclean in readline"; \
30420 (cd $(HOST_SUBDIR)/readline && \
30421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30423 "RANLIB=$${RANLIB}" \
30424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30425 distclean) \
30426 || exit 1
30428 @endif readline
30430 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30431 maybe-maintainer-clean-readline:
30432 @if readline
30433 maybe-maintainer-clean-readline: maintainer-clean-readline
30435 maintainer-clean-readline:
30436 @: $(MAKE); $(unstage)
30437 @[ -f ./readline/Makefile ] || exit 0; \
30438 r=`${PWD_COMMAND}`; export r; \
30439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30440 $(HOST_EXPORTS) \
30441 for flag in $(EXTRA_HOST_FLAGS) ; do \
30442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30443 done; \
30444 echo "Doing maintainer-clean in readline"; \
30445 (cd $(HOST_SUBDIR)/readline && \
30446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30448 "RANLIB=$${RANLIB}" \
30449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30450 maintainer-clean) \
30451 || exit 1
30453 @endif readline
30457 .PHONY: configure-sid maybe-configure-sid
30458 maybe-configure-sid:
30459 @if gcc-bootstrap
30460 configure-sid: stage_current
30461 @endif gcc-bootstrap
30462 @if sid
30463 maybe-configure-sid: configure-sid
30464 configure-sid:
30465 @: $(MAKE); $(unstage)
30466 @r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30470 $(HOST_EXPORTS) \
30471 echo Configuring in $(HOST_SUBDIR)/sid; \
30472 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30473 case $(srcdir) in \
30474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30475 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30477 esac; \
30478 module_srcdir=sid; \
30479 $(SHELL) \
30480 $$s/$$module_srcdir/configure \
30481 --srcdir=$${topdir}/$$module_srcdir \
30482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30483 --target=${target_alias} \
30484 || exit 1
30485 @endif sid
30491 .PHONY: all-sid maybe-all-sid
30492 maybe-all-sid:
30493 @if gcc-bootstrap
30494 all-sid: stage_current
30495 @endif gcc-bootstrap
30496 @if sid
30497 TARGET-sid=all
30498 maybe-all-sid: all-sid
30499 all-sid: configure-sid
30500 @: $(MAKE); $(unstage)
30501 @r=`${PWD_COMMAND}`; export r; \
30502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30503 $(HOST_EXPORTS) \
30504 (cd $(HOST_SUBDIR)/sid && \
30505 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30506 $(TARGET-sid))
30507 @endif sid
30512 .PHONY: check-sid maybe-check-sid
30513 maybe-check-sid:
30514 @if sid
30515 maybe-check-sid: check-sid
30517 check-sid:
30518 @: $(MAKE); $(unstage)
30519 @r=`${PWD_COMMAND}`; export r; \
30520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30521 $(HOST_EXPORTS) \
30522 (cd $(HOST_SUBDIR)/sid && \
30523 $(MAKE) $(FLAGS_TO_PASS) check)
30525 @endif sid
30527 .PHONY: install-sid maybe-install-sid
30528 maybe-install-sid:
30529 @if sid
30530 maybe-install-sid: install-sid
30532 install-sid: installdirs
30533 @: $(MAKE); $(unstage)
30534 @r=`${PWD_COMMAND}`; export r; \
30535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30536 $(HOST_EXPORTS) \
30537 (cd $(HOST_SUBDIR)/sid && \
30538 $(MAKE) $(FLAGS_TO_PASS) install)
30540 @endif sid
30542 .PHONY: install-strip-sid maybe-install-strip-sid
30543 maybe-install-strip-sid:
30544 @if sid
30545 maybe-install-strip-sid: install-strip-sid
30547 install-strip-sid: installdirs
30548 @: $(MAKE); $(unstage)
30549 @r=`${PWD_COMMAND}`; export r; \
30550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30551 $(HOST_EXPORTS) \
30552 (cd $(HOST_SUBDIR)/sid && \
30553 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30555 @endif sid
30557 # Other targets (info, dvi, pdf, etc.)
30559 .PHONY: maybe-info-sid info-sid
30560 maybe-info-sid:
30561 @if sid
30562 maybe-info-sid: info-sid
30564 info-sid: \
30565 configure-sid
30566 @: $(MAKE); $(unstage)
30567 @[ -f ./sid/Makefile ] || exit 0; \
30568 r=`${PWD_COMMAND}`; export r; \
30569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30570 $(HOST_EXPORTS) \
30571 for flag in $(EXTRA_HOST_FLAGS) ; do \
30572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30573 done; \
30574 echo "Doing info in sid"; \
30575 (cd $(HOST_SUBDIR)/sid && \
30576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30578 "RANLIB=$${RANLIB}" \
30579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30580 info) \
30581 || exit 1
30583 @endif sid
30585 .PHONY: maybe-dvi-sid dvi-sid
30586 maybe-dvi-sid:
30587 @if sid
30588 maybe-dvi-sid: dvi-sid
30590 dvi-sid: \
30591 configure-sid
30592 @: $(MAKE); $(unstage)
30593 @[ -f ./sid/Makefile ] || exit 0; \
30594 r=`${PWD_COMMAND}`; export r; \
30595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30596 $(HOST_EXPORTS) \
30597 for flag in $(EXTRA_HOST_FLAGS) ; do \
30598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30599 done; \
30600 echo "Doing dvi in sid"; \
30601 (cd $(HOST_SUBDIR)/sid && \
30602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30604 "RANLIB=$${RANLIB}" \
30605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30606 dvi) \
30607 || exit 1
30609 @endif sid
30611 .PHONY: maybe-pdf-sid pdf-sid
30612 maybe-pdf-sid:
30613 @if sid
30614 maybe-pdf-sid: pdf-sid
30616 pdf-sid: \
30617 configure-sid
30618 @: $(MAKE); $(unstage)
30619 @[ -f ./sid/Makefile ] || exit 0; \
30620 r=`${PWD_COMMAND}`; export r; \
30621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30622 $(HOST_EXPORTS) \
30623 for flag in $(EXTRA_HOST_FLAGS) ; do \
30624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30625 done; \
30626 echo "Doing pdf in sid"; \
30627 (cd $(HOST_SUBDIR)/sid && \
30628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30630 "RANLIB=$${RANLIB}" \
30631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30632 pdf) \
30633 || exit 1
30635 @endif sid
30637 .PHONY: maybe-html-sid html-sid
30638 maybe-html-sid:
30639 @if sid
30640 maybe-html-sid: html-sid
30642 html-sid: \
30643 configure-sid
30644 @: $(MAKE); $(unstage)
30645 @[ -f ./sid/Makefile ] || exit 0; \
30646 r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(HOST_EXPORTS) \
30649 for flag in $(EXTRA_HOST_FLAGS) ; do \
30650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30651 done; \
30652 echo "Doing html in sid"; \
30653 (cd $(HOST_SUBDIR)/sid && \
30654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30656 "RANLIB=$${RANLIB}" \
30657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30658 html) \
30659 || exit 1
30661 @endif sid
30663 .PHONY: maybe-TAGS-sid TAGS-sid
30664 maybe-TAGS-sid:
30665 @if sid
30666 maybe-TAGS-sid: TAGS-sid
30668 TAGS-sid: \
30669 configure-sid
30670 @: $(MAKE); $(unstage)
30671 @[ -f ./sid/Makefile ] || exit 0; \
30672 r=`${PWD_COMMAND}`; export r; \
30673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30674 $(HOST_EXPORTS) \
30675 for flag in $(EXTRA_HOST_FLAGS) ; do \
30676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30677 done; \
30678 echo "Doing TAGS in sid"; \
30679 (cd $(HOST_SUBDIR)/sid && \
30680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30682 "RANLIB=$${RANLIB}" \
30683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30684 TAGS) \
30685 || exit 1
30687 @endif sid
30689 .PHONY: maybe-install-info-sid install-info-sid
30690 maybe-install-info-sid:
30691 @if sid
30692 maybe-install-info-sid: install-info-sid
30694 install-info-sid: \
30695 configure-sid \
30696 info-sid
30697 @: $(MAKE); $(unstage)
30698 @[ -f ./sid/Makefile ] || exit 0; \
30699 r=`${PWD_COMMAND}`; export r; \
30700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30701 $(HOST_EXPORTS) \
30702 for flag in $(EXTRA_HOST_FLAGS) ; do \
30703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30704 done; \
30705 echo "Doing install-info in sid"; \
30706 (cd $(HOST_SUBDIR)/sid && \
30707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30709 "RANLIB=$${RANLIB}" \
30710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30711 install-info) \
30712 || exit 1
30714 @endif sid
30716 .PHONY: maybe-install-pdf-sid install-pdf-sid
30717 maybe-install-pdf-sid:
30718 @if sid
30719 maybe-install-pdf-sid: install-pdf-sid
30721 install-pdf-sid: \
30722 configure-sid \
30723 pdf-sid
30724 @: $(MAKE); $(unstage)
30725 @[ -f ./sid/Makefile ] || exit 0; \
30726 r=`${PWD_COMMAND}`; export r; \
30727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30728 $(HOST_EXPORTS) \
30729 for flag in $(EXTRA_HOST_FLAGS) ; do \
30730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30731 done; \
30732 echo "Doing install-pdf in sid"; \
30733 (cd $(HOST_SUBDIR)/sid && \
30734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30736 "RANLIB=$${RANLIB}" \
30737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30738 install-pdf) \
30739 || exit 1
30741 @endif sid
30743 .PHONY: maybe-install-html-sid install-html-sid
30744 maybe-install-html-sid:
30745 @if sid
30746 maybe-install-html-sid: install-html-sid
30748 install-html-sid: \
30749 configure-sid \
30750 html-sid
30751 @: $(MAKE); $(unstage)
30752 @[ -f ./sid/Makefile ] || exit 0; \
30753 r=`${PWD_COMMAND}`; export r; \
30754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30755 $(HOST_EXPORTS) \
30756 for flag in $(EXTRA_HOST_FLAGS) ; do \
30757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30758 done; \
30759 echo "Doing install-html in sid"; \
30760 (cd $(HOST_SUBDIR)/sid && \
30761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30763 "RANLIB=$${RANLIB}" \
30764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30765 install-html) \
30766 || exit 1
30768 @endif sid
30770 .PHONY: maybe-installcheck-sid installcheck-sid
30771 maybe-installcheck-sid:
30772 @if sid
30773 maybe-installcheck-sid: installcheck-sid
30775 installcheck-sid: \
30776 configure-sid
30777 @: $(MAKE); $(unstage)
30778 @[ -f ./sid/Makefile ] || exit 0; \
30779 r=`${PWD_COMMAND}`; export r; \
30780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30781 $(HOST_EXPORTS) \
30782 for flag in $(EXTRA_HOST_FLAGS) ; do \
30783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30784 done; \
30785 echo "Doing installcheck in sid"; \
30786 (cd $(HOST_SUBDIR)/sid && \
30787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30789 "RANLIB=$${RANLIB}" \
30790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30791 installcheck) \
30792 || exit 1
30794 @endif sid
30796 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
30797 maybe-mostlyclean-sid:
30798 @if sid
30799 maybe-mostlyclean-sid: mostlyclean-sid
30801 mostlyclean-sid:
30802 @: $(MAKE); $(unstage)
30803 @[ -f ./sid/Makefile ] || exit 0; \
30804 r=`${PWD_COMMAND}`; export r; \
30805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30806 $(HOST_EXPORTS) \
30807 for flag in $(EXTRA_HOST_FLAGS) ; do \
30808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30809 done; \
30810 echo "Doing mostlyclean in sid"; \
30811 (cd $(HOST_SUBDIR)/sid && \
30812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30814 "RANLIB=$${RANLIB}" \
30815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30816 mostlyclean) \
30817 || exit 1
30819 @endif sid
30821 .PHONY: maybe-clean-sid clean-sid
30822 maybe-clean-sid:
30823 @if sid
30824 maybe-clean-sid: clean-sid
30826 clean-sid:
30827 @: $(MAKE); $(unstage)
30828 @[ -f ./sid/Makefile ] || exit 0; \
30829 r=`${PWD_COMMAND}`; export r; \
30830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30831 $(HOST_EXPORTS) \
30832 for flag in $(EXTRA_HOST_FLAGS) ; do \
30833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30834 done; \
30835 echo "Doing clean in sid"; \
30836 (cd $(HOST_SUBDIR)/sid && \
30837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30839 "RANLIB=$${RANLIB}" \
30840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30841 clean) \
30842 || exit 1
30844 @endif sid
30846 .PHONY: maybe-distclean-sid distclean-sid
30847 maybe-distclean-sid:
30848 @if sid
30849 maybe-distclean-sid: distclean-sid
30851 distclean-sid:
30852 @: $(MAKE); $(unstage)
30853 @[ -f ./sid/Makefile ] || exit 0; \
30854 r=`${PWD_COMMAND}`; export r; \
30855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30856 $(HOST_EXPORTS) \
30857 for flag in $(EXTRA_HOST_FLAGS) ; do \
30858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30859 done; \
30860 echo "Doing distclean in sid"; \
30861 (cd $(HOST_SUBDIR)/sid && \
30862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30864 "RANLIB=$${RANLIB}" \
30865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30866 distclean) \
30867 || exit 1
30869 @endif sid
30871 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
30872 maybe-maintainer-clean-sid:
30873 @if sid
30874 maybe-maintainer-clean-sid: maintainer-clean-sid
30876 maintainer-clean-sid:
30877 @: $(MAKE); $(unstage)
30878 @[ -f ./sid/Makefile ] || exit 0; \
30879 r=`${PWD_COMMAND}`; export r; \
30880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30881 $(HOST_EXPORTS) \
30882 for flag in $(EXTRA_HOST_FLAGS) ; do \
30883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30884 done; \
30885 echo "Doing maintainer-clean in sid"; \
30886 (cd $(HOST_SUBDIR)/sid && \
30887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30889 "RANLIB=$${RANLIB}" \
30890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30891 maintainer-clean) \
30892 || exit 1
30894 @endif sid
30898 .PHONY: configure-sim maybe-configure-sim
30899 maybe-configure-sim:
30900 @if gcc-bootstrap
30901 configure-sim: stage_current
30902 @endif gcc-bootstrap
30903 @if sim
30904 maybe-configure-sim: configure-sim
30905 configure-sim:
30906 @: $(MAKE); $(unstage)
30907 @r=`${PWD_COMMAND}`; export r; \
30908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30909 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
30910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
30911 $(HOST_EXPORTS) \
30912 echo Configuring in $(HOST_SUBDIR)/sim; \
30913 cd "$(HOST_SUBDIR)/sim" || exit 1; \
30914 case $(srcdir) in \
30915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30916 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
30917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30918 esac; \
30919 module_srcdir=sim; \
30920 $(SHELL) \
30921 $$s/$$module_srcdir/configure \
30922 --srcdir=$${topdir}/$$module_srcdir \
30923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30924 --target=${target_alias} \
30925 || exit 1
30926 @endif sim
30932 .PHONY: all-sim maybe-all-sim
30933 maybe-all-sim:
30934 @if gcc-bootstrap
30935 all-sim: stage_current
30936 @endif gcc-bootstrap
30937 @if sim
30938 TARGET-sim=all
30939 maybe-all-sim: all-sim
30940 all-sim: configure-sim
30941 @: $(MAKE); $(unstage)
30942 @r=`${PWD_COMMAND}`; export r; \
30943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30944 $(HOST_EXPORTS) \
30945 (cd $(HOST_SUBDIR)/sim && \
30946 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30947 $(TARGET-sim))
30948 @endif sim
30953 .PHONY: check-sim maybe-check-sim
30954 maybe-check-sim:
30955 @if sim
30956 maybe-check-sim: check-sim
30958 check-sim:
30959 @: $(MAKE); $(unstage)
30960 @r=`${PWD_COMMAND}`; export r; \
30961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30962 $(HOST_EXPORTS) \
30963 (cd $(HOST_SUBDIR)/sim && \
30964 $(MAKE) $(FLAGS_TO_PASS) check)
30966 @endif sim
30968 .PHONY: install-sim maybe-install-sim
30969 maybe-install-sim:
30970 @if sim
30971 maybe-install-sim: install-sim
30973 install-sim: installdirs
30974 @: $(MAKE); $(unstage)
30975 @r=`${PWD_COMMAND}`; export r; \
30976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30977 $(HOST_EXPORTS) \
30978 (cd $(HOST_SUBDIR)/sim && \
30979 $(MAKE) $(FLAGS_TO_PASS) install)
30981 @endif sim
30983 .PHONY: install-strip-sim maybe-install-strip-sim
30984 maybe-install-strip-sim:
30985 @if sim
30986 maybe-install-strip-sim: install-strip-sim
30988 install-strip-sim: installdirs
30989 @: $(MAKE); $(unstage)
30990 @r=`${PWD_COMMAND}`; export r; \
30991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30992 $(HOST_EXPORTS) \
30993 (cd $(HOST_SUBDIR)/sim && \
30994 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30996 @endif sim
30998 # Other targets (info, dvi, pdf, etc.)
31000 .PHONY: maybe-info-sim info-sim
31001 maybe-info-sim:
31002 @if sim
31003 maybe-info-sim: info-sim
31005 info-sim: \
31006 configure-sim
31007 @: $(MAKE); $(unstage)
31008 @[ -f ./sim/Makefile ] || exit 0; \
31009 r=`${PWD_COMMAND}`; export r; \
31010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31011 $(HOST_EXPORTS) \
31012 for flag in $(EXTRA_HOST_FLAGS) ; do \
31013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31014 done; \
31015 echo "Doing info in sim"; \
31016 (cd $(HOST_SUBDIR)/sim && \
31017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31019 "RANLIB=$${RANLIB}" \
31020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31021 info) \
31022 || exit 1
31024 @endif sim
31026 .PHONY: maybe-dvi-sim dvi-sim
31027 maybe-dvi-sim:
31028 @if sim
31029 maybe-dvi-sim: dvi-sim
31031 dvi-sim: \
31032 configure-sim
31033 @: $(MAKE); $(unstage)
31034 @[ -f ./sim/Makefile ] || exit 0; \
31035 r=`${PWD_COMMAND}`; export r; \
31036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31037 $(HOST_EXPORTS) \
31038 for flag in $(EXTRA_HOST_FLAGS) ; do \
31039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31040 done; \
31041 echo "Doing dvi in sim"; \
31042 (cd $(HOST_SUBDIR)/sim && \
31043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31045 "RANLIB=$${RANLIB}" \
31046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31047 dvi) \
31048 || exit 1
31050 @endif sim
31052 .PHONY: maybe-pdf-sim pdf-sim
31053 maybe-pdf-sim:
31054 @if sim
31055 maybe-pdf-sim: pdf-sim
31057 pdf-sim: \
31058 configure-sim
31059 @: $(MAKE); $(unstage)
31060 @[ -f ./sim/Makefile ] || exit 0; \
31061 r=`${PWD_COMMAND}`; export r; \
31062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31063 $(HOST_EXPORTS) \
31064 for flag in $(EXTRA_HOST_FLAGS) ; do \
31065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31066 done; \
31067 echo "Doing pdf in sim"; \
31068 (cd $(HOST_SUBDIR)/sim && \
31069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31071 "RANLIB=$${RANLIB}" \
31072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31073 pdf) \
31074 || exit 1
31076 @endif sim
31078 .PHONY: maybe-html-sim html-sim
31079 maybe-html-sim:
31080 @if sim
31081 maybe-html-sim: html-sim
31083 html-sim: \
31084 configure-sim
31085 @: $(MAKE); $(unstage)
31086 @[ -f ./sim/Makefile ] || exit 0; \
31087 r=`${PWD_COMMAND}`; export r; \
31088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31089 $(HOST_EXPORTS) \
31090 for flag in $(EXTRA_HOST_FLAGS) ; do \
31091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31092 done; \
31093 echo "Doing html in sim"; \
31094 (cd $(HOST_SUBDIR)/sim && \
31095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31097 "RANLIB=$${RANLIB}" \
31098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31099 html) \
31100 || exit 1
31102 @endif sim
31104 .PHONY: maybe-TAGS-sim TAGS-sim
31105 maybe-TAGS-sim:
31106 @if sim
31107 maybe-TAGS-sim: TAGS-sim
31109 TAGS-sim: \
31110 configure-sim
31111 @: $(MAKE); $(unstage)
31112 @[ -f ./sim/Makefile ] || exit 0; \
31113 r=`${PWD_COMMAND}`; export r; \
31114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31115 $(HOST_EXPORTS) \
31116 for flag in $(EXTRA_HOST_FLAGS) ; do \
31117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31118 done; \
31119 echo "Doing TAGS in sim"; \
31120 (cd $(HOST_SUBDIR)/sim && \
31121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31123 "RANLIB=$${RANLIB}" \
31124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31125 TAGS) \
31126 || exit 1
31128 @endif sim
31130 .PHONY: maybe-install-info-sim install-info-sim
31131 maybe-install-info-sim:
31132 @if sim
31133 maybe-install-info-sim: install-info-sim
31135 install-info-sim: \
31136 configure-sim \
31137 info-sim
31138 @: $(MAKE); $(unstage)
31139 @[ -f ./sim/Makefile ] || exit 0; \
31140 r=`${PWD_COMMAND}`; export r; \
31141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31142 $(HOST_EXPORTS) \
31143 for flag in $(EXTRA_HOST_FLAGS) ; do \
31144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31145 done; \
31146 echo "Doing install-info in sim"; \
31147 (cd $(HOST_SUBDIR)/sim && \
31148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31150 "RANLIB=$${RANLIB}" \
31151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31152 install-info) \
31153 || exit 1
31155 @endif sim
31157 .PHONY: maybe-install-pdf-sim install-pdf-sim
31158 maybe-install-pdf-sim:
31159 @if sim
31160 maybe-install-pdf-sim: install-pdf-sim
31162 install-pdf-sim: \
31163 configure-sim \
31164 pdf-sim
31165 @: $(MAKE); $(unstage)
31166 @[ -f ./sim/Makefile ] || exit 0; \
31167 r=`${PWD_COMMAND}`; export r; \
31168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31169 $(HOST_EXPORTS) \
31170 for flag in $(EXTRA_HOST_FLAGS) ; do \
31171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31172 done; \
31173 echo "Doing install-pdf in sim"; \
31174 (cd $(HOST_SUBDIR)/sim && \
31175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31177 "RANLIB=$${RANLIB}" \
31178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31179 install-pdf) \
31180 || exit 1
31182 @endif sim
31184 .PHONY: maybe-install-html-sim install-html-sim
31185 maybe-install-html-sim:
31186 @if sim
31187 maybe-install-html-sim: install-html-sim
31189 install-html-sim: \
31190 configure-sim \
31191 html-sim
31192 @: $(MAKE); $(unstage)
31193 @[ -f ./sim/Makefile ] || exit 0; \
31194 r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 $(HOST_EXPORTS) \
31197 for flag in $(EXTRA_HOST_FLAGS) ; do \
31198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31199 done; \
31200 echo "Doing install-html in sim"; \
31201 (cd $(HOST_SUBDIR)/sim && \
31202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31204 "RANLIB=$${RANLIB}" \
31205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31206 install-html) \
31207 || exit 1
31209 @endif sim
31211 .PHONY: maybe-installcheck-sim installcheck-sim
31212 maybe-installcheck-sim:
31213 @if sim
31214 maybe-installcheck-sim: installcheck-sim
31216 installcheck-sim: \
31217 configure-sim
31218 @: $(MAKE); $(unstage)
31219 @[ -f ./sim/Makefile ] || exit 0; \
31220 r=`${PWD_COMMAND}`; export r; \
31221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31222 $(HOST_EXPORTS) \
31223 for flag in $(EXTRA_HOST_FLAGS) ; do \
31224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31225 done; \
31226 echo "Doing installcheck in sim"; \
31227 (cd $(HOST_SUBDIR)/sim && \
31228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31230 "RANLIB=$${RANLIB}" \
31231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31232 installcheck) \
31233 || exit 1
31235 @endif sim
31237 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31238 maybe-mostlyclean-sim:
31239 @if sim
31240 maybe-mostlyclean-sim: mostlyclean-sim
31242 mostlyclean-sim:
31243 @: $(MAKE); $(unstage)
31244 @[ -f ./sim/Makefile ] || exit 0; \
31245 r=`${PWD_COMMAND}`; export r; \
31246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31247 $(HOST_EXPORTS) \
31248 for flag in $(EXTRA_HOST_FLAGS) ; do \
31249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31250 done; \
31251 echo "Doing mostlyclean in sim"; \
31252 (cd $(HOST_SUBDIR)/sim && \
31253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31255 "RANLIB=$${RANLIB}" \
31256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31257 mostlyclean) \
31258 || exit 1
31260 @endif sim
31262 .PHONY: maybe-clean-sim clean-sim
31263 maybe-clean-sim:
31264 @if sim
31265 maybe-clean-sim: clean-sim
31267 clean-sim:
31268 @: $(MAKE); $(unstage)
31269 @[ -f ./sim/Makefile ] || exit 0; \
31270 r=`${PWD_COMMAND}`; export r; \
31271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31272 $(HOST_EXPORTS) \
31273 for flag in $(EXTRA_HOST_FLAGS) ; do \
31274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31275 done; \
31276 echo "Doing clean in sim"; \
31277 (cd $(HOST_SUBDIR)/sim && \
31278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31280 "RANLIB=$${RANLIB}" \
31281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31282 clean) \
31283 || exit 1
31285 @endif sim
31287 .PHONY: maybe-distclean-sim distclean-sim
31288 maybe-distclean-sim:
31289 @if sim
31290 maybe-distclean-sim: distclean-sim
31292 distclean-sim:
31293 @: $(MAKE); $(unstage)
31294 @[ -f ./sim/Makefile ] || exit 0; \
31295 r=`${PWD_COMMAND}`; export r; \
31296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31297 $(HOST_EXPORTS) \
31298 for flag in $(EXTRA_HOST_FLAGS) ; do \
31299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31300 done; \
31301 echo "Doing distclean in sim"; \
31302 (cd $(HOST_SUBDIR)/sim && \
31303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31305 "RANLIB=$${RANLIB}" \
31306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31307 distclean) \
31308 || exit 1
31310 @endif sim
31312 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31313 maybe-maintainer-clean-sim:
31314 @if sim
31315 maybe-maintainer-clean-sim: maintainer-clean-sim
31317 maintainer-clean-sim:
31318 @: $(MAKE); $(unstage)
31319 @[ -f ./sim/Makefile ] || exit 0; \
31320 r=`${PWD_COMMAND}`; export r; \
31321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31322 $(HOST_EXPORTS) \
31323 for flag in $(EXTRA_HOST_FLAGS) ; do \
31324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31325 done; \
31326 echo "Doing maintainer-clean in sim"; \
31327 (cd $(HOST_SUBDIR)/sim && \
31328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31330 "RANLIB=$${RANLIB}" \
31331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31332 maintainer-clean) \
31333 || exit 1
31335 @endif sim
31339 .PHONY: configure-texinfo maybe-configure-texinfo
31340 maybe-configure-texinfo:
31341 @if gcc-bootstrap
31342 configure-texinfo: stage_current
31343 @endif gcc-bootstrap
31344 @if texinfo
31345 maybe-configure-texinfo: configure-texinfo
31346 configure-texinfo:
31347 @: $(MAKE); $(unstage)
31348 @r=`${PWD_COMMAND}`; export r; \
31349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31350 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31352 $(HOST_EXPORTS) \
31353 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31354 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31355 case $(srcdir) in \
31356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31357 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31359 esac; \
31360 module_srcdir=texinfo; \
31361 $(SHELL) \
31362 $$s/$$module_srcdir/configure \
31363 --srcdir=$${topdir}/$$module_srcdir \
31364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31365 --target=${target_alias} \
31366 || exit 1
31367 @endif texinfo
31373 .PHONY: all-texinfo maybe-all-texinfo
31374 maybe-all-texinfo:
31375 @if gcc-bootstrap
31376 all-texinfo: stage_current
31377 @endif gcc-bootstrap
31378 @if texinfo
31379 TARGET-texinfo=all
31380 maybe-all-texinfo: all-texinfo
31381 all-texinfo: configure-texinfo
31382 @: $(MAKE); $(unstage)
31383 @r=`${PWD_COMMAND}`; export r; \
31384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31385 $(HOST_EXPORTS) \
31386 (cd $(HOST_SUBDIR)/texinfo && \
31387 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31388 $(TARGET-texinfo))
31389 @endif texinfo
31394 .PHONY: check-texinfo maybe-check-texinfo
31395 maybe-check-texinfo:
31396 @if texinfo
31397 maybe-check-texinfo: check-texinfo
31399 check-texinfo:
31400 @: $(MAKE); $(unstage)
31401 @r=`${PWD_COMMAND}`; export r; \
31402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31403 $(HOST_EXPORTS) \
31404 (cd $(HOST_SUBDIR)/texinfo && \
31405 $(MAKE) $(FLAGS_TO_PASS) check)
31407 @endif texinfo
31409 .PHONY: install-texinfo maybe-install-texinfo
31410 maybe-install-texinfo:
31411 @if texinfo
31412 maybe-install-texinfo: install-texinfo
31414 install-texinfo:
31416 @endif texinfo
31418 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31419 maybe-install-strip-texinfo:
31420 @if texinfo
31421 maybe-install-strip-texinfo: install-strip-texinfo
31423 install-strip-texinfo:
31425 @endif texinfo
31427 # Other targets (info, dvi, pdf, etc.)
31429 .PHONY: maybe-info-texinfo info-texinfo
31430 maybe-info-texinfo:
31431 @if texinfo
31432 maybe-info-texinfo: info-texinfo
31434 info-texinfo: \
31435 configure-texinfo
31436 @: $(MAKE); $(unstage)
31437 @[ -f ./texinfo/Makefile ] || exit 0; \
31438 r=`${PWD_COMMAND}`; export r; \
31439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31440 $(HOST_EXPORTS) \
31441 for flag in $(EXTRA_HOST_FLAGS) ; do \
31442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31443 done; \
31444 echo "Doing info in texinfo"; \
31445 (cd $(HOST_SUBDIR)/texinfo && \
31446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31448 "RANLIB=$${RANLIB}" \
31449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31450 info) \
31451 || exit 1
31453 @endif texinfo
31455 .PHONY: maybe-dvi-texinfo dvi-texinfo
31456 maybe-dvi-texinfo:
31457 @if texinfo
31458 maybe-dvi-texinfo: dvi-texinfo
31460 dvi-texinfo: \
31461 configure-texinfo
31462 @: $(MAKE); $(unstage)
31463 @[ -f ./texinfo/Makefile ] || exit 0; \
31464 r=`${PWD_COMMAND}`; export r; \
31465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31466 $(HOST_EXPORTS) \
31467 for flag in $(EXTRA_HOST_FLAGS) ; do \
31468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31469 done; \
31470 echo "Doing dvi in texinfo"; \
31471 (cd $(HOST_SUBDIR)/texinfo && \
31472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31474 "RANLIB=$${RANLIB}" \
31475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31476 dvi) \
31477 || exit 1
31479 @endif texinfo
31481 .PHONY: maybe-pdf-texinfo pdf-texinfo
31482 maybe-pdf-texinfo:
31483 @if texinfo
31484 maybe-pdf-texinfo: pdf-texinfo
31486 pdf-texinfo: \
31487 configure-texinfo
31488 @: $(MAKE); $(unstage)
31489 @[ -f ./texinfo/Makefile ] || exit 0; \
31490 r=`${PWD_COMMAND}`; export r; \
31491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31492 $(HOST_EXPORTS) \
31493 for flag in $(EXTRA_HOST_FLAGS) ; do \
31494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31495 done; \
31496 echo "Doing pdf in texinfo"; \
31497 (cd $(HOST_SUBDIR)/texinfo && \
31498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31500 "RANLIB=$${RANLIB}" \
31501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31502 pdf) \
31503 || exit 1
31505 @endif texinfo
31507 .PHONY: maybe-html-texinfo html-texinfo
31508 maybe-html-texinfo:
31509 @if texinfo
31510 maybe-html-texinfo: html-texinfo
31512 html-texinfo: \
31513 configure-texinfo
31514 @: $(MAKE); $(unstage)
31515 @[ -f ./texinfo/Makefile ] || exit 0; \
31516 r=`${PWD_COMMAND}`; export r; \
31517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31518 $(HOST_EXPORTS) \
31519 for flag in $(EXTRA_HOST_FLAGS) ; do \
31520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31521 done; \
31522 echo "Doing html in texinfo"; \
31523 (cd $(HOST_SUBDIR)/texinfo && \
31524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31526 "RANLIB=$${RANLIB}" \
31527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31528 html) \
31529 || exit 1
31531 @endif texinfo
31533 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31534 maybe-TAGS-texinfo:
31535 @if texinfo
31536 maybe-TAGS-texinfo: TAGS-texinfo
31538 TAGS-texinfo: \
31539 configure-texinfo
31540 @: $(MAKE); $(unstage)
31541 @[ -f ./texinfo/Makefile ] || exit 0; \
31542 r=`${PWD_COMMAND}`; export r; \
31543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31544 $(HOST_EXPORTS) \
31545 for flag in $(EXTRA_HOST_FLAGS) ; do \
31546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31547 done; \
31548 echo "Doing TAGS in texinfo"; \
31549 (cd $(HOST_SUBDIR)/texinfo && \
31550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31552 "RANLIB=$${RANLIB}" \
31553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31554 TAGS) \
31555 || exit 1
31557 @endif texinfo
31559 .PHONY: maybe-install-info-texinfo install-info-texinfo
31560 maybe-install-info-texinfo:
31561 @if texinfo
31562 maybe-install-info-texinfo: install-info-texinfo
31564 install-info-texinfo: \
31565 configure-texinfo \
31566 info-texinfo
31567 @: $(MAKE); $(unstage)
31568 @[ -f ./texinfo/Makefile ] || exit 0; \
31569 r=`${PWD_COMMAND}`; export r; \
31570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31571 $(HOST_EXPORTS) \
31572 for flag in $(EXTRA_HOST_FLAGS) ; do \
31573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31574 done; \
31575 echo "Doing install-info in texinfo"; \
31576 (cd $(HOST_SUBDIR)/texinfo && \
31577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31579 "RANLIB=$${RANLIB}" \
31580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31581 install-info) \
31582 || exit 1
31584 @endif texinfo
31586 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31587 maybe-install-pdf-texinfo:
31588 @if texinfo
31589 maybe-install-pdf-texinfo: install-pdf-texinfo
31591 install-pdf-texinfo: \
31592 configure-texinfo \
31593 pdf-texinfo
31594 @: $(MAKE); $(unstage)
31595 @[ -f ./texinfo/Makefile ] || exit 0; \
31596 r=`${PWD_COMMAND}`; export r; \
31597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31598 $(HOST_EXPORTS) \
31599 for flag in $(EXTRA_HOST_FLAGS) ; do \
31600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31601 done; \
31602 echo "Doing install-pdf in texinfo"; \
31603 (cd $(HOST_SUBDIR)/texinfo && \
31604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31606 "RANLIB=$${RANLIB}" \
31607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31608 install-pdf) \
31609 || exit 1
31611 @endif texinfo
31613 .PHONY: maybe-install-html-texinfo install-html-texinfo
31614 maybe-install-html-texinfo:
31615 @if texinfo
31616 maybe-install-html-texinfo: install-html-texinfo
31618 install-html-texinfo: \
31619 configure-texinfo \
31620 html-texinfo
31621 @: $(MAKE); $(unstage)
31622 @[ -f ./texinfo/Makefile ] || exit 0; \
31623 r=`${PWD_COMMAND}`; export r; \
31624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31625 $(HOST_EXPORTS) \
31626 for flag in $(EXTRA_HOST_FLAGS) ; do \
31627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31628 done; \
31629 echo "Doing install-html in texinfo"; \
31630 (cd $(HOST_SUBDIR)/texinfo && \
31631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31633 "RANLIB=$${RANLIB}" \
31634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31635 install-html) \
31636 || exit 1
31638 @endif texinfo
31640 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31641 maybe-installcheck-texinfo:
31642 @if texinfo
31643 maybe-installcheck-texinfo: installcheck-texinfo
31645 installcheck-texinfo: \
31646 configure-texinfo
31647 @: $(MAKE); $(unstage)
31648 @[ -f ./texinfo/Makefile ] || exit 0; \
31649 r=`${PWD_COMMAND}`; export r; \
31650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31651 $(HOST_EXPORTS) \
31652 for flag in $(EXTRA_HOST_FLAGS) ; do \
31653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31654 done; \
31655 echo "Doing installcheck in texinfo"; \
31656 (cd $(HOST_SUBDIR)/texinfo && \
31657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31659 "RANLIB=$${RANLIB}" \
31660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31661 installcheck) \
31662 || exit 1
31664 @endif texinfo
31666 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31667 maybe-mostlyclean-texinfo:
31668 @if texinfo
31669 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31671 mostlyclean-texinfo:
31672 @: $(MAKE); $(unstage)
31673 @[ -f ./texinfo/Makefile ] || exit 0; \
31674 r=`${PWD_COMMAND}`; export r; \
31675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31676 $(HOST_EXPORTS) \
31677 for flag in $(EXTRA_HOST_FLAGS) ; do \
31678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31679 done; \
31680 echo "Doing mostlyclean in texinfo"; \
31681 (cd $(HOST_SUBDIR)/texinfo && \
31682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31684 "RANLIB=$${RANLIB}" \
31685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31686 mostlyclean) \
31687 || exit 1
31689 @endif texinfo
31691 .PHONY: maybe-clean-texinfo clean-texinfo
31692 maybe-clean-texinfo:
31693 @if texinfo
31694 maybe-clean-texinfo: clean-texinfo
31696 clean-texinfo:
31697 @: $(MAKE); $(unstage)
31698 @[ -f ./texinfo/Makefile ] || exit 0; \
31699 r=`${PWD_COMMAND}`; export r; \
31700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31701 $(HOST_EXPORTS) \
31702 for flag in $(EXTRA_HOST_FLAGS) ; do \
31703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31704 done; \
31705 echo "Doing clean in texinfo"; \
31706 (cd $(HOST_SUBDIR)/texinfo && \
31707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31709 "RANLIB=$${RANLIB}" \
31710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31711 clean) \
31712 || exit 1
31714 @endif texinfo
31716 .PHONY: maybe-distclean-texinfo distclean-texinfo
31717 maybe-distclean-texinfo:
31718 @if texinfo
31719 maybe-distclean-texinfo: distclean-texinfo
31721 distclean-texinfo:
31722 @: $(MAKE); $(unstage)
31723 @[ -f ./texinfo/Makefile ] || exit 0; \
31724 r=`${PWD_COMMAND}`; export r; \
31725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31726 $(HOST_EXPORTS) \
31727 for flag in $(EXTRA_HOST_FLAGS) ; do \
31728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31729 done; \
31730 echo "Doing distclean in texinfo"; \
31731 (cd $(HOST_SUBDIR)/texinfo && \
31732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31734 "RANLIB=$${RANLIB}" \
31735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31736 distclean) \
31737 || exit 1
31739 @endif texinfo
31741 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
31742 maybe-maintainer-clean-texinfo:
31743 @if texinfo
31744 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
31746 maintainer-clean-texinfo:
31747 @: $(MAKE); $(unstage)
31748 @[ -f ./texinfo/Makefile ] || exit 0; \
31749 r=`${PWD_COMMAND}`; export r; \
31750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31751 $(HOST_EXPORTS) \
31752 for flag in $(EXTRA_HOST_FLAGS) ; do \
31753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31754 done; \
31755 echo "Doing maintainer-clean in texinfo"; \
31756 (cd $(HOST_SUBDIR)/texinfo && \
31757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31759 "RANLIB=$${RANLIB}" \
31760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31761 maintainer-clean) \
31762 || exit 1
31764 @endif texinfo
31768 .PHONY: configure-zlib maybe-configure-zlib
31769 maybe-configure-zlib:
31770 @if gcc-bootstrap
31771 configure-zlib: stage_current
31772 @endif gcc-bootstrap
31773 @if zlib
31774 maybe-configure-zlib: configure-zlib
31775 configure-zlib:
31776 @r=`${PWD_COMMAND}`; export r; \
31777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31778 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31780 $(HOST_EXPORTS) \
31781 echo Configuring in $(HOST_SUBDIR)/zlib; \
31782 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
31783 case $(srcdir) in \
31784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31785 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31787 esac; \
31788 module_srcdir=zlib; \
31789 $(SHELL) \
31790 $$s/$$module_srcdir/configure \
31791 --srcdir=$${topdir}/$$module_srcdir \
31792 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31793 --target=${target_alias} @extra_host_zlib_configure_flags@ \
31794 || exit 1
31795 @endif zlib
31799 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31800 maybe-configure-stage1-zlib:
31801 @if zlib-bootstrap
31802 maybe-configure-stage1-zlib: configure-stage1-zlib
31803 configure-stage1-zlib:
31804 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31805 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31806 @r=`${PWD_COMMAND}`; export r; \
31807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31808 TFLAGS="$(STAGE1_TFLAGS)"; \
31809 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31810 $(HOST_EXPORTS) \
31811 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31812 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31813 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31814 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
31815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31816 cd $(HOST_SUBDIR)/zlib || exit 1; \
31817 case $(srcdir) in \
31818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31819 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31821 esac; \
31822 module_srcdir=zlib; \
31823 $(SHELL) $$s/$$module_srcdir/configure \
31824 --srcdir=$${topdir}/$$module_srcdir \
31825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31826 --target=${target_alias} \
31828 $(STAGE1_CONFIGURE_FLAGS) \
31829 @extra_host_zlib_configure_flags@
31830 @endif zlib-bootstrap
31832 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31833 maybe-configure-stage2-zlib:
31834 @if zlib-bootstrap
31835 maybe-configure-stage2-zlib: configure-stage2-zlib
31836 configure-stage2-zlib:
31837 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31838 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31839 @r=`${PWD_COMMAND}`; export r; \
31840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31841 TFLAGS="$(STAGE2_TFLAGS)"; \
31842 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31843 $(HOST_EXPORTS) \
31844 $(POSTSTAGE1_HOST_EXPORTS) \
31845 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31846 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31847 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31848 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
31849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31850 cd $(HOST_SUBDIR)/zlib || exit 1; \
31851 case $(srcdir) in \
31852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31853 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31855 esac; \
31856 module_srcdir=zlib; \
31857 $(SHELL) $$s/$$module_srcdir/configure \
31858 --srcdir=$${topdir}/$$module_srcdir \
31859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31860 --target=${target_alias} \
31861 --with-build-libsubdir=$(HOST_SUBDIR) \
31862 $(STAGE2_CONFIGURE_FLAGS) \
31863 @extra_host_zlib_configure_flags@
31864 @endif zlib-bootstrap
31866 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31867 maybe-configure-stage3-zlib:
31868 @if zlib-bootstrap
31869 maybe-configure-stage3-zlib: configure-stage3-zlib
31870 configure-stage3-zlib:
31871 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31872 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31873 @r=`${PWD_COMMAND}`; export r; \
31874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31875 TFLAGS="$(STAGE3_TFLAGS)"; \
31876 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31877 $(HOST_EXPORTS) \
31878 $(POSTSTAGE1_HOST_EXPORTS) \
31879 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31880 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31881 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31882 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
31883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31884 cd $(HOST_SUBDIR)/zlib || exit 1; \
31885 case $(srcdir) in \
31886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31887 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31889 esac; \
31890 module_srcdir=zlib; \
31891 $(SHELL) $$s/$$module_srcdir/configure \
31892 --srcdir=$${topdir}/$$module_srcdir \
31893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31894 --target=${target_alias} \
31895 --with-build-libsubdir=$(HOST_SUBDIR) \
31896 $(STAGE3_CONFIGURE_FLAGS) \
31897 @extra_host_zlib_configure_flags@
31898 @endif zlib-bootstrap
31900 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31901 maybe-configure-stage4-zlib:
31902 @if zlib-bootstrap
31903 maybe-configure-stage4-zlib: configure-stage4-zlib
31904 configure-stage4-zlib:
31905 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31907 @r=`${PWD_COMMAND}`; export r; \
31908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31909 TFLAGS="$(STAGE4_TFLAGS)"; \
31910 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31911 $(HOST_EXPORTS) \
31912 $(POSTSTAGE1_HOST_EXPORTS) \
31913 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31914 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31915 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31916 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
31917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31918 cd $(HOST_SUBDIR)/zlib || exit 1; \
31919 case $(srcdir) in \
31920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31921 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31923 esac; \
31924 module_srcdir=zlib; \
31925 $(SHELL) $$s/$$module_srcdir/configure \
31926 --srcdir=$${topdir}/$$module_srcdir \
31927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31928 --target=${target_alias} \
31929 --with-build-libsubdir=$(HOST_SUBDIR) \
31930 $(STAGE4_CONFIGURE_FLAGS) \
31931 @extra_host_zlib_configure_flags@
31932 @endif zlib-bootstrap
31934 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31935 maybe-configure-stageprofile-zlib:
31936 @if zlib-bootstrap
31937 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31938 configure-stageprofile-zlib:
31939 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31941 @r=`${PWD_COMMAND}`; export r; \
31942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31943 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31944 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31945 $(HOST_EXPORTS) \
31946 $(POSTSTAGE1_HOST_EXPORTS) \
31947 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31948 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31949 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31950 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
31951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31952 cd $(HOST_SUBDIR)/zlib || exit 1; \
31953 case $(srcdir) in \
31954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31955 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31957 esac; \
31958 module_srcdir=zlib; \
31959 $(SHELL) $$s/$$module_srcdir/configure \
31960 --srcdir=$${topdir}/$$module_srcdir \
31961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31962 --target=${target_alias} \
31963 --with-build-libsubdir=$(HOST_SUBDIR) \
31964 $(STAGEprofile_CONFIGURE_FLAGS) \
31965 @extra_host_zlib_configure_flags@
31966 @endif zlib-bootstrap
31968 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
31969 maybe-configure-stagetrain-zlib:
31970 @if zlib-bootstrap
31971 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
31972 configure-stagetrain-zlib:
31973 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
31974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31975 @r=`${PWD_COMMAND}`; export r; \
31976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31977 TFLAGS="$(STAGEtrain_TFLAGS)"; \
31978 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31979 $(HOST_EXPORTS) \
31980 $(POSTSTAGE1_HOST_EXPORTS) \
31981 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
31982 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
31983 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
31984 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
31985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31986 cd $(HOST_SUBDIR)/zlib || exit 1; \
31987 case $(srcdir) in \
31988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31989 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31991 esac; \
31992 module_srcdir=zlib; \
31993 $(SHELL) $$s/$$module_srcdir/configure \
31994 --srcdir=$${topdir}/$$module_srcdir \
31995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31996 --target=${target_alias} \
31997 --with-build-libsubdir=$(HOST_SUBDIR) \
31998 $(STAGEtrain_CONFIGURE_FLAGS) \
31999 @extra_host_zlib_configure_flags@
32000 @endif zlib-bootstrap
32002 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32003 maybe-configure-stagefeedback-zlib:
32004 @if zlib-bootstrap
32005 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32006 configure-stagefeedback-zlib:
32007 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32009 @r=`${PWD_COMMAND}`; export r; \
32010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32011 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32012 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32013 $(HOST_EXPORTS) \
32014 $(POSTSTAGE1_HOST_EXPORTS) \
32015 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32016 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32017 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32018 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32020 cd $(HOST_SUBDIR)/zlib || exit 1; \
32021 case $(srcdir) in \
32022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32023 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32025 esac; \
32026 module_srcdir=zlib; \
32027 $(SHELL) $$s/$$module_srcdir/configure \
32028 --srcdir=$${topdir}/$$module_srcdir \
32029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32030 --target=${target_alias} \
32031 --with-build-libsubdir=$(HOST_SUBDIR) \
32032 $(STAGEfeedback_CONFIGURE_FLAGS) \
32033 @extra_host_zlib_configure_flags@
32034 @endif zlib-bootstrap
32036 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32037 maybe-configure-stageautoprofile-zlib:
32038 @if zlib-bootstrap
32039 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32040 configure-stageautoprofile-zlib:
32041 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32043 @r=`${PWD_COMMAND}`; export r; \
32044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32045 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32046 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32047 $(HOST_EXPORTS) \
32048 $(POSTSTAGE1_HOST_EXPORTS) \
32049 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32050 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32051 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32052 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32054 cd $(HOST_SUBDIR)/zlib || exit 1; \
32055 case $(srcdir) in \
32056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32057 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32059 esac; \
32060 module_srcdir=zlib; \
32061 $(SHELL) $$s/$$module_srcdir/configure \
32062 --srcdir=$${topdir}/$$module_srcdir \
32063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32064 --target=${target_alias} \
32065 --with-build-libsubdir=$(HOST_SUBDIR) \
32066 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32067 @extra_host_zlib_configure_flags@
32068 @endif zlib-bootstrap
32070 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32071 maybe-configure-stageautofeedback-zlib:
32072 @if zlib-bootstrap
32073 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32074 configure-stageautofeedback-zlib:
32075 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32076 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32077 @r=`${PWD_COMMAND}`; export r; \
32078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32079 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32080 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32081 $(HOST_EXPORTS) \
32082 $(POSTSTAGE1_HOST_EXPORTS) \
32083 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32084 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32085 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32086 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32088 cd $(HOST_SUBDIR)/zlib || exit 1; \
32089 case $(srcdir) in \
32090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32091 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32093 esac; \
32094 module_srcdir=zlib; \
32095 $(SHELL) $$s/$$module_srcdir/configure \
32096 --srcdir=$${topdir}/$$module_srcdir \
32097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32098 --target=${target_alias} \
32099 --with-build-libsubdir=$(HOST_SUBDIR) \
32100 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32101 @extra_host_zlib_configure_flags@
32102 @endif zlib-bootstrap
32108 .PHONY: all-zlib maybe-all-zlib
32109 maybe-all-zlib:
32110 @if gcc-bootstrap
32111 all-zlib: stage_current
32112 @endif gcc-bootstrap
32113 @if zlib
32114 TARGET-zlib=all
32115 maybe-all-zlib: all-zlib
32116 all-zlib: configure-zlib
32117 @r=`${PWD_COMMAND}`; export r; \
32118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32119 $(HOST_EXPORTS) \
32120 (cd $(HOST_SUBDIR)/zlib && \
32121 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32122 $(TARGET-zlib))
32123 @endif zlib
32127 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32128 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32129 maybe-all-stage1-zlib:
32130 maybe-clean-stage1-zlib:
32131 @if zlib-bootstrap
32132 maybe-all-stage1-zlib: all-stage1-zlib
32133 all-stage1: all-stage1-zlib
32134 TARGET-stage1-zlib = $(TARGET-zlib)
32135 all-stage1-zlib: configure-stage1-zlib
32136 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32137 @r=`${PWD_COMMAND}`; export r; \
32138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32139 TFLAGS="$(STAGE1_TFLAGS)"; \
32140 $(HOST_EXPORTS) \
32141 cd $(HOST_SUBDIR)/zlib && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32144 CFLAGS="$(STAGE1_CFLAGS)" \
32145 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32146 LIBCFLAGS="$(LIBCFLAGS)" \
32147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32150 $(EXTRA_HOST_FLAGS) \
32151 $(STAGE1_FLAGS_TO_PASS) \
32152 TFLAGS="$(STAGE1_TFLAGS)" \
32153 $(TARGET-stage1-zlib)
32155 maybe-clean-stage1-zlib: clean-stage1-zlib
32156 clean-stage1: clean-stage1-zlib
32157 clean-stage1-zlib:
32158 @if [ $(current_stage) = stage1 ]; then \
32159 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32160 else \
32161 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32162 $(MAKE) stage1-start; \
32163 fi; \
32164 cd $(HOST_SUBDIR)/zlib && \
32165 $(MAKE) $(EXTRA_HOST_FLAGS) \
32166 $(STAGE1_FLAGS_TO_PASS) clean
32167 @endif zlib-bootstrap
32170 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32171 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32172 maybe-all-stage2-zlib:
32173 maybe-clean-stage2-zlib:
32174 @if zlib-bootstrap
32175 maybe-all-stage2-zlib: all-stage2-zlib
32176 all-stage2: all-stage2-zlib
32177 TARGET-stage2-zlib = $(TARGET-zlib)
32178 all-stage2-zlib: configure-stage2-zlib
32179 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32180 @r=`${PWD_COMMAND}`; export r; \
32181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32182 TFLAGS="$(STAGE2_TFLAGS)"; \
32183 $(HOST_EXPORTS) \
32184 $(POSTSTAGE1_HOST_EXPORTS) \
32185 cd $(HOST_SUBDIR)/zlib && \
32187 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32188 CFLAGS="$(STAGE2_CFLAGS)" \
32189 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32190 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32191 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32192 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32193 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32194 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32195 TFLAGS="$(STAGE2_TFLAGS)" \
32196 $(TARGET-stage2-zlib)
32198 maybe-clean-stage2-zlib: clean-stage2-zlib
32199 clean-stage2: clean-stage2-zlib
32200 clean-stage2-zlib:
32201 @if [ $(current_stage) = stage2 ]; then \
32202 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32203 else \
32204 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32205 $(MAKE) stage2-start; \
32206 fi; \
32207 cd $(HOST_SUBDIR)/zlib && \
32208 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32209 @endif zlib-bootstrap
32212 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32213 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32214 maybe-all-stage3-zlib:
32215 maybe-clean-stage3-zlib:
32216 @if zlib-bootstrap
32217 maybe-all-stage3-zlib: all-stage3-zlib
32218 all-stage3: all-stage3-zlib
32219 TARGET-stage3-zlib = $(TARGET-zlib)
32220 all-stage3-zlib: configure-stage3-zlib
32221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32222 @r=`${PWD_COMMAND}`; export r; \
32223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32224 TFLAGS="$(STAGE3_TFLAGS)"; \
32225 $(HOST_EXPORTS) \
32226 $(POSTSTAGE1_HOST_EXPORTS) \
32227 cd $(HOST_SUBDIR)/zlib && \
32229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32230 CFLAGS="$(STAGE3_CFLAGS)" \
32231 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32232 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32236 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32237 TFLAGS="$(STAGE3_TFLAGS)" \
32238 $(TARGET-stage3-zlib)
32240 maybe-clean-stage3-zlib: clean-stage3-zlib
32241 clean-stage3: clean-stage3-zlib
32242 clean-stage3-zlib:
32243 @if [ $(current_stage) = stage3 ]; then \
32244 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32245 else \
32246 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32247 $(MAKE) stage3-start; \
32248 fi; \
32249 cd $(HOST_SUBDIR)/zlib && \
32250 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32251 @endif zlib-bootstrap
32254 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32255 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32256 maybe-all-stage4-zlib:
32257 maybe-clean-stage4-zlib:
32258 @if zlib-bootstrap
32259 maybe-all-stage4-zlib: all-stage4-zlib
32260 all-stage4: all-stage4-zlib
32261 TARGET-stage4-zlib = $(TARGET-zlib)
32262 all-stage4-zlib: configure-stage4-zlib
32263 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32264 @r=`${PWD_COMMAND}`; export r; \
32265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32266 TFLAGS="$(STAGE4_TFLAGS)"; \
32267 $(HOST_EXPORTS) \
32268 $(POSTSTAGE1_HOST_EXPORTS) \
32269 cd $(HOST_SUBDIR)/zlib && \
32271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32272 CFLAGS="$(STAGE4_CFLAGS)" \
32273 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32274 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32279 TFLAGS="$(STAGE4_TFLAGS)" \
32280 $(TARGET-stage4-zlib)
32282 maybe-clean-stage4-zlib: clean-stage4-zlib
32283 clean-stage4: clean-stage4-zlib
32284 clean-stage4-zlib:
32285 @if [ $(current_stage) = stage4 ]; then \
32286 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32287 else \
32288 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32289 $(MAKE) stage4-start; \
32290 fi; \
32291 cd $(HOST_SUBDIR)/zlib && \
32292 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32293 @endif zlib-bootstrap
32296 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32297 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32298 maybe-all-stageprofile-zlib:
32299 maybe-clean-stageprofile-zlib:
32300 @if zlib-bootstrap
32301 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32302 all-stageprofile: all-stageprofile-zlib
32303 TARGET-stageprofile-zlib = $(TARGET-zlib)
32304 all-stageprofile-zlib: configure-stageprofile-zlib
32305 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32306 @r=`${PWD_COMMAND}`; export r; \
32307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32308 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32309 $(HOST_EXPORTS) \
32310 $(POSTSTAGE1_HOST_EXPORTS) \
32311 cd $(HOST_SUBDIR)/zlib && \
32313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32314 CFLAGS="$(STAGEprofile_CFLAGS)" \
32315 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32316 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32321 TFLAGS="$(STAGEprofile_TFLAGS)" \
32322 $(TARGET-stageprofile-zlib)
32324 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32325 clean-stageprofile: clean-stageprofile-zlib
32326 clean-stageprofile-zlib:
32327 @if [ $(current_stage) = stageprofile ]; then \
32328 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32329 else \
32330 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32331 $(MAKE) stageprofile-start; \
32332 fi; \
32333 cd $(HOST_SUBDIR)/zlib && \
32334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32335 @endif zlib-bootstrap
32338 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32339 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32340 maybe-all-stagetrain-zlib:
32341 maybe-clean-stagetrain-zlib:
32342 @if zlib-bootstrap
32343 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32344 all-stagetrain: all-stagetrain-zlib
32345 TARGET-stagetrain-zlib = $(TARGET-zlib)
32346 all-stagetrain-zlib: configure-stagetrain-zlib
32347 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32348 @r=`${PWD_COMMAND}`; export r; \
32349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32350 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32351 $(HOST_EXPORTS) \
32352 $(POSTSTAGE1_HOST_EXPORTS) \
32353 cd $(HOST_SUBDIR)/zlib && \
32355 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32356 CFLAGS="$(STAGEtrain_CFLAGS)" \
32357 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32358 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32359 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32360 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32361 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32362 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32363 TFLAGS="$(STAGEtrain_TFLAGS)" \
32364 $(TARGET-stagetrain-zlib)
32366 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32367 clean-stagetrain: clean-stagetrain-zlib
32368 clean-stagetrain-zlib:
32369 @if [ $(current_stage) = stagetrain ]; then \
32370 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32371 else \
32372 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32373 $(MAKE) stagetrain-start; \
32374 fi; \
32375 cd $(HOST_SUBDIR)/zlib && \
32376 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32377 @endif zlib-bootstrap
32380 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32381 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32382 maybe-all-stagefeedback-zlib:
32383 maybe-clean-stagefeedback-zlib:
32384 @if zlib-bootstrap
32385 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32386 all-stagefeedback: all-stagefeedback-zlib
32387 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32388 all-stagefeedback-zlib: configure-stagefeedback-zlib
32389 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32390 @r=`${PWD_COMMAND}`; export r; \
32391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32392 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32393 $(HOST_EXPORTS) \
32394 $(POSTSTAGE1_HOST_EXPORTS) \
32395 cd $(HOST_SUBDIR)/zlib && \
32397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32398 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32399 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32400 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32401 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32402 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32403 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32404 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32405 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32406 $(TARGET-stagefeedback-zlib)
32408 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32409 clean-stagefeedback: clean-stagefeedback-zlib
32410 clean-stagefeedback-zlib:
32411 @if [ $(current_stage) = stagefeedback ]; then \
32412 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32413 else \
32414 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32415 $(MAKE) stagefeedback-start; \
32416 fi; \
32417 cd $(HOST_SUBDIR)/zlib && \
32418 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32419 @endif zlib-bootstrap
32422 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32423 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32424 maybe-all-stageautoprofile-zlib:
32425 maybe-clean-stageautoprofile-zlib:
32426 @if zlib-bootstrap
32427 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32428 all-stageautoprofile: all-stageautoprofile-zlib
32429 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32430 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32431 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32432 @r=`${PWD_COMMAND}`; export r; \
32433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32434 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32435 $(HOST_EXPORTS) \
32436 $(POSTSTAGE1_HOST_EXPORTS) \
32437 cd $(HOST_SUBDIR)/zlib && \
32438 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32440 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32441 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32442 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32447 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32448 $(TARGET-stageautoprofile-zlib)
32450 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32451 clean-stageautoprofile: clean-stageautoprofile-zlib
32452 clean-stageautoprofile-zlib:
32453 @if [ $(current_stage) = stageautoprofile ]; then \
32454 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32455 else \
32456 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32457 $(MAKE) stageautoprofile-start; \
32458 fi; \
32459 cd $(HOST_SUBDIR)/zlib && \
32460 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32461 @endif zlib-bootstrap
32464 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32465 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32466 maybe-all-stageautofeedback-zlib:
32467 maybe-clean-stageautofeedback-zlib:
32468 @if zlib-bootstrap
32469 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32470 all-stageautofeedback: all-stageautofeedback-zlib
32471 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32472 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32473 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32474 @r=`${PWD_COMMAND}`; export r; \
32475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32476 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32477 $(HOST_EXPORTS) \
32478 $(POSTSTAGE1_HOST_EXPORTS) \
32479 cd $(HOST_SUBDIR)/zlib && \
32481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32482 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32483 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32484 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32488 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32489 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32490 $(TARGET-stageautofeedback-zlib)
32492 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32493 clean-stageautofeedback: clean-stageautofeedback-zlib
32494 clean-stageautofeedback-zlib:
32495 @if [ $(current_stage) = stageautofeedback ]; then \
32496 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32497 else \
32498 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32499 $(MAKE) stageautofeedback-start; \
32500 fi; \
32501 cd $(HOST_SUBDIR)/zlib && \
32502 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32503 @endif zlib-bootstrap
32509 .PHONY: check-zlib maybe-check-zlib
32510 maybe-check-zlib:
32511 @if zlib
32512 maybe-check-zlib: check-zlib
32514 check-zlib:
32516 @endif zlib
32518 .PHONY: install-zlib maybe-install-zlib
32519 maybe-install-zlib:
32520 @if zlib
32521 maybe-install-zlib: install-zlib
32523 install-zlib:
32525 @endif zlib
32527 .PHONY: install-strip-zlib maybe-install-strip-zlib
32528 maybe-install-strip-zlib:
32529 @if zlib
32530 maybe-install-strip-zlib: install-strip-zlib
32532 install-strip-zlib:
32534 @endif zlib
32536 # Other targets (info, dvi, pdf, etc.)
32538 .PHONY: maybe-info-zlib info-zlib
32539 maybe-info-zlib:
32540 @if zlib
32541 maybe-info-zlib: info-zlib
32543 info-zlib: \
32544 configure-zlib
32545 @[ -f ./zlib/Makefile ] || exit 0; \
32546 r=`${PWD_COMMAND}`; export r; \
32547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32548 $(HOST_EXPORTS) \
32549 for flag in $(EXTRA_HOST_FLAGS) ; do \
32550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32551 done; \
32552 echo "Doing info in zlib"; \
32553 (cd $(HOST_SUBDIR)/zlib && \
32554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32556 "RANLIB=$${RANLIB}" \
32557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32558 info) \
32559 || exit 1
32561 @endif zlib
32563 .PHONY: maybe-dvi-zlib dvi-zlib
32564 maybe-dvi-zlib:
32565 @if zlib
32566 maybe-dvi-zlib: dvi-zlib
32568 dvi-zlib: \
32569 configure-zlib
32570 @[ -f ./zlib/Makefile ] || exit 0; \
32571 r=`${PWD_COMMAND}`; export r; \
32572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32573 $(HOST_EXPORTS) \
32574 for flag in $(EXTRA_HOST_FLAGS) ; do \
32575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32576 done; \
32577 echo "Doing dvi in zlib"; \
32578 (cd $(HOST_SUBDIR)/zlib && \
32579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32581 "RANLIB=$${RANLIB}" \
32582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32583 dvi) \
32584 || exit 1
32586 @endif zlib
32588 .PHONY: maybe-pdf-zlib pdf-zlib
32589 maybe-pdf-zlib:
32590 @if zlib
32591 maybe-pdf-zlib: pdf-zlib
32593 pdf-zlib: \
32594 configure-zlib
32595 @[ -f ./zlib/Makefile ] || exit 0; \
32596 r=`${PWD_COMMAND}`; export r; \
32597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32598 $(HOST_EXPORTS) \
32599 for flag in $(EXTRA_HOST_FLAGS) ; do \
32600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32601 done; \
32602 echo "Doing pdf in zlib"; \
32603 (cd $(HOST_SUBDIR)/zlib && \
32604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32606 "RANLIB=$${RANLIB}" \
32607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32608 pdf) \
32609 || exit 1
32611 @endif zlib
32613 .PHONY: maybe-html-zlib html-zlib
32614 maybe-html-zlib:
32615 @if zlib
32616 maybe-html-zlib: html-zlib
32618 html-zlib: \
32619 configure-zlib
32620 @[ -f ./zlib/Makefile ] || exit 0; \
32621 r=`${PWD_COMMAND}`; export r; \
32622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32623 $(HOST_EXPORTS) \
32624 for flag in $(EXTRA_HOST_FLAGS) ; do \
32625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32626 done; \
32627 echo "Doing html in zlib"; \
32628 (cd $(HOST_SUBDIR)/zlib && \
32629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32631 "RANLIB=$${RANLIB}" \
32632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32633 html) \
32634 || exit 1
32636 @endif zlib
32638 .PHONY: maybe-TAGS-zlib TAGS-zlib
32639 maybe-TAGS-zlib:
32640 @if zlib
32641 maybe-TAGS-zlib: TAGS-zlib
32643 TAGS-zlib: \
32644 configure-zlib
32645 @[ -f ./zlib/Makefile ] || exit 0; \
32646 r=`${PWD_COMMAND}`; export r; \
32647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32648 $(HOST_EXPORTS) \
32649 for flag in $(EXTRA_HOST_FLAGS) ; do \
32650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32651 done; \
32652 echo "Doing TAGS in zlib"; \
32653 (cd $(HOST_SUBDIR)/zlib && \
32654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32656 "RANLIB=$${RANLIB}" \
32657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32658 TAGS) \
32659 || exit 1
32661 @endif zlib
32663 .PHONY: maybe-install-info-zlib install-info-zlib
32664 maybe-install-info-zlib:
32665 @if zlib
32666 maybe-install-info-zlib: install-info-zlib
32668 install-info-zlib: \
32669 configure-zlib \
32670 info-zlib
32671 @[ -f ./zlib/Makefile ] || exit 0; \
32672 r=`${PWD_COMMAND}`; export r; \
32673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32674 $(HOST_EXPORTS) \
32675 for flag in $(EXTRA_HOST_FLAGS) ; do \
32676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32677 done; \
32678 echo "Doing install-info in zlib"; \
32679 (cd $(HOST_SUBDIR)/zlib && \
32680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32682 "RANLIB=$${RANLIB}" \
32683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32684 install-info) \
32685 || exit 1
32687 @endif zlib
32689 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32690 maybe-install-pdf-zlib:
32691 @if zlib
32692 maybe-install-pdf-zlib: install-pdf-zlib
32694 install-pdf-zlib: \
32695 configure-zlib \
32696 pdf-zlib
32697 @[ -f ./zlib/Makefile ] || exit 0; \
32698 r=`${PWD_COMMAND}`; export r; \
32699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32700 $(HOST_EXPORTS) \
32701 for flag in $(EXTRA_HOST_FLAGS) ; do \
32702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32703 done; \
32704 echo "Doing install-pdf in zlib"; \
32705 (cd $(HOST_SUBDIR)/zlib && \
32706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32708 "RANLIB=$${RANLIB}" \
32709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32710 install-pdf) \
32711 || exit 1
32713 @endif zlib
32715 .PHONY: maybe-install-html-zlib install-html-zlib
32716 maybe-install-html-zlib:
32717 @if zlib
32718 maybe-install-html-zlib: install-html-zlib
32720 install-html-zlib: \
32721 configure-zlib \
32722 html-zlib
32723 @[ -f ./zlib/Makefile ] || exit 0; \
32724 r=`${PWD_COMMAND}`; export r; \
32725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32726 $(HOST_EXPORTS) \
32727 for flag in $(EXTRA_HOST_FLAGS) ; do \
32728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32729 done; \
32730 echo "Doing install-html in zlib"; \
32731 (cd $(HOST_SUBDIR)/zlib && \
32732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32734 "RANLIB=$${RANLIB}" \
32735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32736 install-html) \
32737 || exit 1
32739 @endif zlib
32741 .PHONY: maybe-installcheck-zlib installcheck-zlib
32742 maybe-installcheck-zlib:
32743 @if zlib
32744 maybe-installcheck-zlib: installcheck-zlib
32746 installcheck-zlib: \
32747 configure-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 installcheck 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 installcheck) \
32762 || exit 1
32764 @endif zlib
32766 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
32767 maybe-mostlyclean-zlib:
32768 @if zlib
32769 maybe-mostlyclean-zlib: mostlyclean-zlib
32771 mostlyclean-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 mostlyclean 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 mostlyclean) \
32786 || exit 1
32788 @endif zlib
32790 .PHONY: maybe-clean-zlib clean-zlib
32791 maybe-clean-zlib:
32792 @if zlib
32793 maybe-clean-zlib: clean-zlib
32795 clean-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 clean 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 clean) \
32810 || exit 1
32812 @endif zlib
32814 .PHONY: maybe-distclean-zlib distclean-zlib
32815 maybe-distclean-zlib:
32816 @if zlib
32817 maybe-distclean-zlib: distclean-zlib
32819 distclean-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 distclean 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 distclean) \
32834 || exit 1
32836 @endif zlib
32838 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
32839 maybe-maintainer-clean-zlib:
32840 @if zlib
32841 maybe-maintainer-clean-zlib: maintainer-clean-zlib
32843 maintainer-clean-zlib:
32844 @[ -f ./zlib/Makefile ] || exit 0; \
32845 r=`${PWD_COMMAND}`; export r; \
32846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32847 $(HOST_EXPORTS) \
32848 for flag in $(EXTRA_HOST_FLAGS) ; do \
32849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32850 done; \
32851 echo "Doing maintainer-clean in zlib"; \
32852 (cd $(HOST_SUBDIR)/zlib && \
32853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32855 "RANLIB=$${RANLIB}" \
32856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32857 maintainer-clean) \
32858 || exit 1
32860 @endif zlib
32864 .PHONY: configure-gdb maybe-configure-gdb
32865 maybe-configure-gdb:
32866 @if gcc-bootstrap
32867 configure-gdb: stage_current
32868 @endif gcc-bootstrap
32869 @if gdb
32870 maybe-configure-gdb: configure-gdb
32871 configure-gdb:
32872 @: $(MAKE); $(unstage)
32873 @r=`${PWD_COMMAND}`; export r; \
32874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32875 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
32876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
32877 $(HOST_EXPORTS) \
32878 echo Configuring in $(HOST_SUBDIR)/gdb; \
32879 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
32880 case $(srcdir) in \
32881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32882 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
32883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32884 esac; \
32885 module_srcdir=gdb; \
32886 $(SHELL) \
32887 $$s/$$module_srcdir/configure \
32888 --srcdir=$${topdir}/$$module_srcdir \
32889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32890 --target=${target_alias} \
32891 || exit 1
32892 @endif gdb
32898 .PHONY: all-gdb maybe-all-gdb
32899 maybe-all-gdb:
32900 @if gcc-bootstrap
32901 all-gdb: stage_current
32902 @endif gcc-bootstrap
32903 @if gdb
32904 TARGET-gdb=all
32905 maybe-all-gdb: all-gdb
32906 all-gdb: configure-gdb
32907 @: $(MAKE); $(unstage)
32908 @r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 $(HOST_EXPORTS) \
32911 (cd $(HOST_SUBDIR)/gdb && \
32912 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32913 $(TARGET-gdb))
32914 @endif gdb
32919 .PHONY: check-gdb maybe-check-gdb
32920 maybe-check-gdb:
32921 @if gdb
32922 maybe-check-gdb: check-gdb
32924 check-gdb:
32925 @: $(MAKE); $(unstage)
32926 @r=`${PWD_COMMAND}`; export r; \
32927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32928 $(HOST_EXPORTS) \
32929 (cd $(HOST_SUBDIR)/gdb && \
32930 $(MAKE) $(FLAGS_TO_PASS) check)
32932 @endif gdb
32934 .PHONY: install-gdb maybe-install-gdb
32935 maybe-install-gdb:
32936 @if gdb
32937 maybe-install-gdb: install-gdb
32939 install-gdb: installdirs
32940 @: $(MAKE); $(unstage)
32941 @r=`${PWD_COMMAND}`; export r; \
32942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32943 $(HOST_EXPORTS) \
32944 (cd $(HOST_SUBDIR)/gdb && \
32945 $(MAKE) $(FLAGS_TO_PASS) install)
32947 @endif gdb
32949 .PHONY: install-strip-gdb maybe-install-strip-gdb
32950 maybe-install-strip-gdb:
32951 @if gdb
32952 maybe-install-strip-gdb: install-strip-gdb
32954 install-strip-gdb: installdirs
32955 @: $(MAKE); $(unstage)
32956 @r=`${PWD_COMMAND}`; export r; \
32957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32958 $(HOST_EXPORTS) \
32959 (cd $(HOST_SUBDIR)/gdb && \
32960 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32962 @endif gdb
32964 # Other targets (info, dvi, pdf, etc.)
32966 .PHONY: maybe-info-gdb info-gdb
32967 maybe-info-gdb:
32968 @if gdb
32969 maybe-info-gdb: info-gdb
32971 info-gdb: \
32972 configure-gdb
32973 @: $(MAKE); $(unstage)
32974 @[ -f ./gdb/Makefile ] || exit 0; \
32975 r=`${PWD_COMMAND}`; export r; \
32976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32977 $(HOST_EXPORTS) \
32978 for flag in $(EXTRA_HOST_FLAGS) ; do \
32979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32980 done; \
32981 echo "Doing info in gdb"; \
32982 (cd $(HOST_SUBDIR)/gdb && \
32983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32985 "RANLIB=$${RANLIB}" \
32986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32987 info) \
32988 || exit 1
32990 @endif gdb
32992 .PHONY: maybe-dvi-gdb dvi-gdb
32993 maybe-dvi-gdb:
32994 @if gdb
32995 maybe-dvi-gdb: dvi-gdb
32997 dvi-gdb: \
32998 configure-gdb
32999 @: $(MAKE); $(unstage)
33000 @[ -f ./gdb/Makefile ] || exit 0; \
33001 r=`${PWD_COMMAND}`; export r; \
33002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33003 $(HOST_EXPORTS) \
33004 for flag in $(EXTRA_HOST_FLAGS) ; do \
33005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33006 done; \
33007 echo "Doing dvi in gdb"; \
33008 (cd $(HOST_SUBDIR)/gdb && \
33009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33011 "RANLIB=$${RANLIB}" \
33012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33013 dvi) \
33014 || exit 1
33016 @endif gdb
33018 .PHONY: maybe-pdf-gdb pdf-gdb
33019 maybe-pdf-gdb:
33020 @if gdb
33021 maybe-pdf-gdb: pdf-gdb
33023 pdf-gdb: \
33024 configure-gdb
33025 @: $(MAKE); $(unstage)
33026 @[ -f ./gdb/Makefile ] || exit 0; \
33027 r=`${PWD_COMMAND}`; export r; \
33028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33029 $(HOST_EXPORTS) \
33030 for flag in $(EXTRA_HOST_FLAGS) ; do \
33031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33032 done; \
33033 echo "Doing pdf in gdb"; \
33034 (cd $(HOST_SUBDIR)/gdb && \
33035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33037 "RANLIB=$${RANLIB}" \
33038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33039 pdf) \
33040 || exit 1
33042 @endif gdb
33044 .PHONY: maybe-html-gdb html-gdb
33045 maybe-html-gdb:
33046 @if gdb
33047 maybe-html-gdb: html-gdb
33049 html-gdb: \
33050 configure-gdb
33051 @: $(MAKE); $(unstage)
33052 @[ -f ./gdb/Makefile ] || exit 0; \
33053 r=`${PWD_COMMAND}`; export r; \
33054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33055 $(HOST_EXPORTS) \
33056 for flag in $(EXTRA_HOST_FLAGS) ; do \
33057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33058 done; \
33059 echo "Doing html in gdb"; \
33060 (cd $(HOST_SUBDIR)/gdb && \
33061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33063 "RANLIB=$${RANLIB}" \
33064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33065 html) \
33066 || exit 1
33068 @endif gdb
33070 .PHONY: maybe-TAGS-gdb TAGS-gdb
33071 maybe-TAGS-gdb:
33072 @if gdb
33073 maybe-TAGS-gdb: TAGS-gdb
33075 TAGS-gdb: \
33076 configure-gdb
33077 @: $(MAKE); $(unstage)
33078 @[ -f ./gdb/Makefile ] || exit 0; \
33079 r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 $(HOST_EXPORTS) \
33082 for flag in $(EXTRA_HOST_FLAGS) ; do \
33083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33084 done; \
33085 echo "Doing TAGS in gdb"; \
33086 (cd $(HOST_SUBDIR)/gdb && \
33087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33089 "RANLIB=$${RANLIB}" \
33090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33091 TAGS) \
33092 || exit 1
33094 @endif gdb
33096 .PHONY: maybe-install-info-gdb install-info-gdb
33097 maybe-install-info-gdb:
33098 @if gdb
33099 maybe-install-info-gdb: install-info-gdb
33101 install-info-gdb: \
33102 configure-gdb \
33103 info-gdb
33104 @: $(MAKE); $(unstage)
33105 @[ -f ./gdb/Makefile ] || exit 0; \
33106 r=`${PWD_COMMAND}`; export r; \
33107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33108 $(HOST_EXPORTS) \
33109 for flag in $(EXTRA_HOST_FLAGS) ; do \
33110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33111 done; \
33112 echo "Doing install-info in gdb"; \
33113 (cd $(HOST_SUBDIR)/gdb && \
33114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33116 "RANLIB=$${RANLIB}" \
33117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33118 install-info) \
33119 || exit 1
33121 @endif gdb
33123 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33124 maybe-install-pdf-gdb:
33125 @if gdb
33126 maybe-install-pdf-gdb: install-pdf-gdb
33128 install-pdf-gdb: \
33129 configure-gdb \
33130 pdf-gdb
33131 @: $(MAKE); $(unstage)
33132 @[ -f ./gdb/Makefile ] || exit 0; \
33133 r=`${PWD_COMMAND}`; export r; \
33134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33135 $(HOST_EXPORTS) \
33136 for flag in $(EXTRA_HOST_FLAGS) ; do \
33137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33138 done; \
33139 echo "Doing install-pdf in gdb"; \
33140 (cd $(HOST_SUBDIR)/gdb && \
33141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33143 "RANLIB=$${RANLIB}" \
33144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33145 install-pdf) \
33146 || exit 1
33148 @endif gdb
33150 .PHONY: maybe-install-html-gdb install-html-gdb
33151 maybe-install-html-gdb:
33152 @if gdb
33153 maybe-install-html-gdb: install-html-gdb
33155 install-html-gdb: \
33156 configure-gdb \
33157 html-gdb
33158 @: $(MAKE); $(unstage)
33159 @[ -f ./gdb/Makefile ] || exit 0; \
33160 r=`${PWD_COMMAND}`; export r; \
33161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33162 $(HOST_EXPORTS) \
33163 for flag in $(EXTRA_HOST_FLAGS) ; do \
33164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33165 done; \
33166 echo "Doing install-html in gdb"; \
33167 (cd $(HOST_SUBDIR)/gdb && \
33168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33170 "RANLIB=$${RANLIB}" \
33171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33172 install-html) \
33173 || exit 1
33175 @endif gdb
33177 .PHONY: maybe-installcheck-gdb installcheck-gdb
33178 maybe-installcheck-gdb:
33179 @if gdb
33180 maybe-installcheck-gdb: installcheck-gdb
33182 installcheck-gdb: \
33183 configure-gdb
33184 @: $(MAKE); $(unstage)
33185 @[ -f ./gdb/Makefile ] || exit 0; \
33186 r=`${PWD_COMMAND}`; export r; \
33187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33188 $(HOST_EXPORTS) \
33189 for flag in $(EXTRA_HOST_FLAGS) ; do \
33190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33191 done; \
33192 echo "Doing installcheck in gdb"; \
33193 (cd $(HOST_SUBDIR)/gdb && \
33194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33196 "RANLIB=$${RANLIB}" \
33197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33198 installcheck) \
33199 || exit 1
33201 @endif gdb
33203 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33204 maybe-mostlyclean-gdb:
33205 @if gdb
33206 maybe-mostlyclean-gdb: mostlyclean-gdb
33208 mostlyclean-gdb:
33209 @: $(MAKE); $(unstage)
33210 @[ -f ./gdb/Makefile ] || exit 0; \
33211 r=`${PWD_COMMAND}`; export r; \
33212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33213 $(HOST_EXPORTS) \
33214 for flag in $(EXTRA_HOST_FLAGS) ; do \
33215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33216 done; \
33217 echo "Doing mostlyclean in gdb"; \
33218 (cd $(HOST_SUBDIR)/gdb && \
33219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33221 "RANLIB=$${RANLIB}" \
33222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33223 mostlyclean) \
33224 || exit 1
33226 @endif gdb
33228 .PHONY: maybe-clean-gdb clean-gdb
33229 maybe-clean-gdb:
33230 @if gdb
33231 maybe-clean-gdb: clean-gdb
33233 clean-gdb:
33234 @: $(MAKE); $(unstage)
33235 @[ -f ./gdb/Makefile ] || exit 0; \
33236 r=`${PWD_COMMAND}`; export r; \
33237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33238 $(HOST_EXPORTS) \
33239 for flag in $(EXTRA_HOST_FLAGS) ; do \
33240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33241 done; \
33242 echo "Doing clean in gdb"; \
33243 (cd $(HOST_SUBDIR)/gdb && \
33244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33246 "RANLIB=$${RANLIB}" \
33247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33248 clean) \
33249 || exit 1
33251 @endif gdb
33253 .PHONY: maybe-distclean-gdb distclean-gdb
33254 maybe-distclean-gdb:
33255 @if gdb
33256 maybe-distclean-gdb: distclean-gdb
33258 distclean-gdb:
33259 @: $(MAKE); $(unstage)
33260 @[ -f ./gdb/Makefile ] || exit 0; \
33261 r=`${PWD_COMMAND}`; export r; \
33262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33263 $(HOST_EXPORTS) \
33264 for flag in $(EXTRA_HOST_FLAGS) ; do \
33265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33266 done; \
33267 echo "Doing distclean in gdb"; \
33268 (cd $(HOST_SUBDIR)/gdb && \
33269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33271 "RANLIB=$${RANLIB}" \
33272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33273 distclean) \
33274 || exit 1
33276 @endif gdb
33278 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33279 maybe-maintainer-clean-gdb:
33280 @if gdb
33281 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33283 maintainer-clean-gdb:
33284 @: $(MAKE); $(unstage)
33285 @[ -f ./gdb/Makefile ] || exit 0; \
33286 r=`${PWD_COMMAND}`; export r; \
33287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33288 $(HOST_EXPORTS) \
33289 for flag in $(EXTRA_HOST_FLAGS) ; do \
33290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33291 done; \
33292 echo "Doing maintainer-clean in gdb"; \
33293 (cd $(HOST_SUBDIR)/gdb && \
33294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33296 "RANLIB=$${RANLIB}" \
33297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33298 maintainer-clean) \
33299 || exit 1
33301 @endif gdb
33305 .PHONY: configure-expect maybe-configure-expect
33306 maybe-configure-expect:
33307 @if gcc-bootstrap
33308 configure-expect: stage_current
33309 @endif gcc-bootstrap
33310 @if expect
33311 maybe-configure-expect: configure-expect
33312 configure-expect:
33313 @: $(MAKE); $(unstage)
33314 @r=`${PWD_COMMAND}`; export r; \
33315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33316 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
33317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
33318 $(HOST_EXPORTS) \
33319 echo Configuring in $(HOST_SUBDIR)/expect; \
33320 cd "$(HOST_SUBDIR)/expect" || exit 1; \
33321 case $(srcdir) in \
33322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33323 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
33324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33325 esac; \
33326 module_srcdir=expect; \
33327 $(SHELL) \
33328 $$s/$$module_srcdir/configure \
33329 --srcdir=$${topdir}/$$module_srcdir \
33330 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33331 --target=${target_alias} \
33332 || exit 1
33333 @endif expect
33339 .PHONY: all-expect maybe-all-expect
33340 maybe-all-expect:
33341 @if gcc-bootstrap
33342 all-expect: stage_current
33343 @endif gcc-bootstrap
33344 @if expect
33345 TARGET-expect=all
33346 maybe-all-expect: all-expect
33347 all-expect: configure-expect
33348 @: $(MAKE); $(unstage)
33349 @r=`${PWD_COMMAND}`; export r; \
33350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33351 $(HOST_EXPORTS) \
33352 (cd $(HOST_SUBDIR)/expect && \
33353 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33354 $(TARGET-expect))
33355 @endif expect
33360 .PHONY: check-expect maybe-check-expect
33361 maybe-check-expect:
33362 @if expect
33363 maybe-check-expect: check-expect
33365 check-expect:
33366 @: $(MAKE); $(unstage)
33367 @r=`${PWD_COMMAND}`; export r; \
33368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33369 $(HOST_EXPORTS) \
33370 (cd $(HOST_SUBDIR)/expect && \
33371 $(MAKE) $(FLAGS_TO_PASS) check)
33373 @endif expect
33375 .PHONY: install-expect maybe-install-expect
33376 maybe-install-expect:
33377 @if expect
33378 maybe-install-expect: install-expect
33380 install-expect: installdirs
33381 @: $(MAKE); $(unstage)
33382 @r=`${PWD_COMMAND}`; export r; \
33383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33384 $(HOST_EXPORTS) \
33385 (cd $(HOST_SUBDIR)/expect && \
33386 $(MAKE) $(FLAGS_TO_PASS) install)
33388 @endif expect
33390 .PHONY: install-strip-expect maybe-install-strip-expect
33391 maybe-install-strip-expect:
33392 @if expect
33393 maybe-install-strip-expect: install-strip-expect
33395 install-strip-expect: installdirs
33396 @: $(MAKE); $(unstage)
33397 @r=`${PWD_COMMAND}`; export r; \
33398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33399 $(HOST_EXPORTS) \
33400 (cd $(HOST_SUBDIR)/expect && \
33401 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33403 @endif expect
33405 # Other targets (info, dvi, pdf, etc.)
33407 .PHONY: maybe-info-expect info-expect
33408 maybe-info-expect:
33409 @if expect
33410 maybe-info-expect: info-expect
33412 info-expect: \
33413 configure-expect
33414 @: $(MAKE); $(unstage)
33415 @[ -f ./expect/Makefile ] || exit 0; \
33416 r=`${PWD_COMMAND}`; export r; \
33417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33418 $(HOST_EXPORTS) \
33419 for flag in $(EXTRA_HOST_FLAGS) ; do \
33420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33421 done; \
33422 echo "Doing info in expect"; \
33423 (cd $(HOST_SUBDIR)/expect && \
33424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33426 "RANLIB=$${RANLIB}" \
33427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33428 info) \
33429 || exit 1
33431 @endif expect
33433 .PHONY: maybe-dvi-expect dvi-expect
33434 maybe-dvi-expect:
33435 @if expect
33436 maybe-dvi-expect: dvi-expect
33438 dvi-expect: \
33439 configure-expect
33440 @: $(MAKE); $(unstage)
33441 @[ -f ./expect/Makefile ] || exit 0; \
33442 r=`${PWD_COMMAND}`; export r; \
33443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33444 $(HOST_EXPORTS) \
33445 for flag in $(EXTRA_HOST_FLAGS) ; do \
33446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33447 done; \
33448 echo "Doing dvi in expect"; \
33449 (cd $(HOST_SUBDIR)/expect && \
33450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33452 "RANLIB=$${RANLIB}" \
33453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33454 dvi) \
33455 || exit 1
33457 @endif expect
33459 .PHONY: maybe-pdf-expect pdf-expect
33460 maybe-pdf-expect:
33461 @if expect
33462 maybe-pdf-expect: pdf-expect
33464 pdf-expect: \
33465 configure-expect
33466 @: $(MAKE); $(unstage)
33467 @[ -f ./expect/Makefile ] || exit 0; \
33468 r=`${PWD_COMMAND}`; export r; \
33469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33470 $(HOST_EXPORTS) \
33471 for flag in $(EXTRA_HOST_FLAGS) ; do \
33472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33473 done; \
33474 echo "Doing pdf in expect"; \
33475 (cd $(HOST_SUBDIR)/expect && \
33476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33478 "RANLIB=$${RANLIB}" \
33479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33480 pdf) \
33481 || exit 1
33483 @endif expect
33485 .PHONY: maybe-html-expect html-expect
33486 maybe-html-expect:
33487 @if expect
33488 maybe-html-expect: html-expect
33490 html-expect: \
33491 configure-expect
33492 @: $(MAKE); $(unstage)
33493 @[ -f ./expect/Makefile ] || exit 0; \
33494 r=`${PWD_COMMAND}`; export r; \
33495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33496 $(HOST_EXPORTS) \
33497 for flag in $(EXTRA_HOST_FLAGS) ; do \
33498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33499 done; \
33500 echo "Doing html in expect"; \
33501 (cd $(HOST_SUBDIR)/expect && \
33502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33504 "RANLIB=$${RANLIB}" \
33505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33506 html) \
33507 || exit 1
33509 @endif expect
33511 .PHONY: maybe-TAGS-expect TAGS-expect
33512 maybe-TAGS-expect:
33513 @if expect
33514 maybe-TAGS-expect: TAGS-expect
33516 TAGS-expect: \
33517 configure-expect
33518 @: $(MAKE); $(unstage)
33519 @[ -f ./expect/Makefile ] || exit 0; \
33520 r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(HOST_EXPORTS) \
33523 for flag in $(EXTRA_HOST_FLAGS) ; do \
33524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33525 done; \
33526 echo "Doing TAGS in expect"; \
33527 (cd $(HOST_SUBDIR)/expect && \
33528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33530 "RANLIB=$${RANLIB}" \
33531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33532 TAGS) \
33533 || exit 1
33535 @endif expect
33537 .PHONY: maybe-install-info-expect install-info-expect
33538 maybe-install-info-expect:
33539 @if expect
33540 maybe-install-info-expect: install-info-expect
33542 install-info-expect: \
33543 configure-expect \
33544 info-expect
33545 @: $(MAKE); $(unstage)
33546 @[ -f ./expect/Makefile ] || exit 0; \
33547 r=`${PWD_COMMAND}`; export r; \
33548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33549 $(HOST_EXPORTS) \
33550 for flag in $(EXTRA_HOST_FLAGS) ; do \
33551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33552 done; \
33553 echo "Doing install-info in expect"; \
33554 (cd $(HOST_SUBDIR)/expect && \
33555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33557 "RANLIB=$${RANLIB}" \
33558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33559 install-info) \
33560 || exit 1
33562 @endif expect
33564 .PHONY: maybe-install-pdf-expect install-pdf-expect
33565 maybe-install-pdf-expect:
33566 @if expect
33567 maybe-install-pdf-expect: install-pdf-expect
33569 install-pdf-expect: \
33570 configure-expect \
33571 pdf-expect
33572 @: $(MAKE); $(unstage)
33573 @[ -f ./expect/Makefile ] || exit 0; \
33574 r=`${PWD_COMMAND}`; export r; \
33575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33576 $(HOST_EXPORTS) \
33577 for flag in $(EXTRA_HOST_FLAGS) ; do \
33578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33579 done; \
33580 echo "Doing install-pdf in expect"; \
33581 (cd $(HOST_SUBDIR)/expect && \
33582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33584 "RANLIB=$${RANLIB}" \
33585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33586 install-pdf) \
33587 || exit 1
33589 @endif expect
33591 .PHONY: maybe-install-html-expect install-html-expect
33592 maybe-install-html-expect:
33593 @if expect
33594 maybe-install-html-expect: install-html-expect
33596 install-html-expect: \
33597 configure-expect \
33598 html-expect
33599 @: $(MAKE); $(unstage)
33600 @[ -f ./expect/Makefile ] || exit 0; \
33601 r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 $(HOST_EXPORTS) \
33604 for flag in $(EXTRA_HOST_FLAGS) ; do \
33605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33606 done; \
33607 echo "Doing install-html in expect"; \
33608 (cd $(HOST_SUBDIR)/expect && \
33609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33611 "RANLIB=$${RANLIB}" \
33612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33613 install-html) \
33614 || exit 1
33616 @endif expect
33618 .PHONY: maybe-installcheck-expect installcheck-expect
33619 maybe-installcheck-expect:
33620 @if expect
33621 maybe-installcheck-expect: installcheck-expect
33623 installcheck-expect: \
33624 configure-expect
33625 @: $(MAKE); $(unstage)
33626 @[ -f ./expect/Makefile ] || exit 0; \
33627 r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 $(HOST_EXPORTS) \
33630 for flag in $(EXTRA_HOST_FLAGS) ; do \
33631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33632 done; \
33633 echo "Doing installcheck in expect"; \
33634 (cd $(HOST_SUBDIR)/expect && \
33635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33637 "RANLIB=$${RANLIB}" \
33638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33639 installcheck) \
33640 || exit 1
33642 @endif expect
33644 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33645 maybe-mostlyclean-expect:
33646 @if expect
33647 maybe-mostlyclean-expect: mostlyclean-expect
33649 mostlyclean-expect:
33650 @: $(MAKE); $(unstage)
33651 @[ -f ./expect/Makefile ] || exit 0; \
33652 r=`${PWD_COMMAND}`; export r; \
33653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33654 $(HOST_EXPORTS) \
33655 for flag in $(EXTRA_HOST_FLAGS) ; do \
33656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33657 done; \
33658 echo "Doing mostlyclean in expect"; \
33659 (cd $(HOST_SUBDIR)/expect && \
33660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33662 "RANLIB=$${RANLIB}" \
33663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33664 mostlyclean) \
33665 || exit 1
33667 @endif expect
33669 .PHONY: maybe-clean-expect clean-expect
33670 maybe-clean-expect:
33671 @if expect
33672 maybe-clean-expect: clean-expect
33674 clean-expect:
33675 @: $(MAKE); $(unstage)
33676 @[ -f ./expect/Makefile ] || exit 0; \
33677 r=`${PWD_COMMAND}`; export r; \
33678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33679 $(HOST_EXPORTS) \
33680 for flag in $(EXTRA_HOST_FLAGS) ; do \
33681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33682 done; \
33683 echo "Doing clean in expect"; \
33684 (cd $(HOST_SUBDIR)/expect && \
33685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33687 "RANLIB=$${RANLIB}" \
33688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33689 clean) \
33690 || exit 1
33692 @endif expect
33694 .PHONY: maybe-distclean-expect distclean-expect
33695 maybe-distclean-expect:
33696 @if expect
33697 maybe-distclean-expect: distclean-expect
33699 distclean-expect:
33700 @: $(MAKE); $(unstage)
33701 @[ -f ./expect/Makefile ] || exit 0; \
33702 r=`${PWD_COMMAND}`; export r; \
33703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33704 $(HOST_EXPORTS) \
33705 for flag in $(EXTRA_HOST_FLAGS) ; do \
33706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33707 done; \
33708 echo "Doing distclean in expect"; \
33709 (cd $(HOST_SUBDIR)/expect && \
33710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33712 "RANLIB=$${RANLIB}" \
33713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33714 distclean) \
33715 || exit 1
33717 @endif expect
33719 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33720 maybe-maintainer-clean-expect:
33721 @if expect
33722 maybe-maintainer-clean-expect: maintainer-clean-expect
33724 maintainer-clean-expect:
33725 @: $(MAKE); $(unstage)
33726 @[ -f ./expect/Makefile ] || exit 0; \
33727 r=`${PWD_COMMAND}`; export r; \
33728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33729 $(HOST_EXPORTS) \
33730 for flag in $(EXTRA_HOST_FLAGS) ; do \
33731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33732 done; \
33733 echo "Doing maintainer-clean in expect"; \
33734 (cd $(HOST_SUBDIR)/expect && \
33735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33737 "RANLIB=$${RANLIB}" \
33738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33739 maintainer-clean) \
33740 || exit 1
33742 @endif expect
33746 .PHONY: configure-guile maybe-configure-guile
33747 maybe-configure-guile:
33748 @if gcc-bootstrap
33749 configure-guile: stage_current
33750 @endif gcc-bootstrap
33751 @if guile
33752 maybe-configure-guile: configure-guile
33753 configure-guile:
33754 @: $(MAKE); $(unstage)
33755 @r=`${PWD_COMMAND}`; export r; \
33756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33757 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
33758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
33759 $(HOST_EXPORTS) \
33760 echo Configuring in $(HOST_SUBDIR)/guile; \
33761 cd "$(HOST_SUBDIR)/guile" || exit 1; \
33762 case $(srcdir) in \
33763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33764 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
33765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33766 esac; \
33767 module_srcdir=guile; \
33768 $(SHELL) \
33769 $$s/$$module_srcdir/configure \
33770 --srcdir=$${topdir}/$$module_srcdir \
33771 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33772 --target=${target_alias} \
33773 || exit 1
33774 @endif guile
33780 .PHONY: all-guile maybe-all-guile
33781 maybe-all-guile:
33782 @if gcc-bootstrap
33783 all-guile: stage_current
33784 @endif gcc-bootstrap
33785 @if guile
33786 TARGET-guile=all
33787 maybe-all-guile: all-guile
33788 all-guile: configure-guile
33789 @: $(MAKE); $(unstage)
33790 @r=`${PWD_COMMAND}`; export r; \
33791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33792 $(HOST_EXPORTS) \
33793 (cd $(HOST_SUBDIR)/guile && \
33794 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33795 $(TARGET-guile))
33796 @endif guile
33801 .PHONY: check-guile maybe-check-guile
33802 maybe-check-guile:
33803 @if guile
33804 maybe-check-guile: check-guile
33806 check-guile:
33807 @: $(MAKE); $(unstage)
33808 @r=`${PWD_COMMAND}`; export r; \
33809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33810 $(HOST_EXPORTS) \
33811 (cd $(HOST_SUBDIR)/guile && \
33812 $(MAKE) $(FLAGS_TO_PASS) check)
33814 @endif guile
33816 .PHONY: install-guile maybe-install-guile
33817 maybe-install-guile:
33818 @if guile
33819 maybe-install-guile: install-guile
33821 install-guile: installdirs
33822 @: $(MAKE); $(unstage)
33823 @r=`${PWD_COMMAND}`; export r; \
33824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33825 $(HOST_EXPORTS) \
33826 (cd $(HOST_SUBDIR)/guile && \
33827 $(MAKE) $(FLAGS_TO_PASS) install)
33829 @endif guile
33831 .PHONY: install-strip-guile maybe-install-strip-guile
33832 maybe-install-strip-guile:
33833 @if guile
33834 maybe-install-strip-guile: install-strip-guile
33836 install-strip-guile: installdirs
33837 @: $(MAKE); $(unstage)
33838 @r=`${PWD_COMMAND}`; export r; \
33839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33840 $(HOST_EXPORTS) \
33841 (cd $(HOST_SUBDIR)/guile && \
33842 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33844 @endif guile
33846 # Other targets (info, dvi, pdf, etc.)
33848 .PHONY: maybe-info-guile info-guile
33849 maybe-info-guile:
33850 @if guile
33851 maybe-info-guile: info-guile
33853 info-guile: \
33854 configure-guile
33855 @: $(MAKE); $(unstage)
33856 @[ -f ./guile/Makefile ] || exit 0; \
33857 r=`${PWD_COMMAND}`; export r; \
33858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33859 $(HOST_EXPORTS) \
33860 for flag in $(EXTRA_HOST_FLAGS) ; do \
33861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33862 done; \
33863 echo "Doing info in guile"; \
33864 (cd $(HOST_SUBDIR)/guile && \
33865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33867 "RANLIB=$${RANLIB}" \
33868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33869 info) \
33870 || exit 1
33872 @endif guile
33874 .PHONY: maybe-dvi-guile dvi-guile
33875 maybe-dvi-guile:
33876 @if guile
33877 maybe-dvi-guile: dvi-guile
33879 dvi-guile: \
33880 configure-guile
33881 @: $(MAKE); $(unstage)
33882 @[ -f ./guile/Makefile ] || exit 0; \
33883 r=`${PWD_COMMAND}`; export r; \
33884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33885 $(HOST_EXPORTS) \
33886 for flag in $(EXTRA_HOST_FLAGS) ; do \
33887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33888 done; \
33889 echo "Doing dvi in guile"; \
33890 (cd $(HOST_SUBDIR)/guile && \
33891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33893 "RANLIB=$${RANLIB}" \
33894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33895 dvi) \
33896 || exit 1
33898 @endif guile
33900 .PHONY: maybe-pdf-guile pdf-guile
33901 maybe-pdf-guile:
33902 @if guile
33903 maybe-pdf-guile: pdf-guile
33905 pdf-guile: \
33906 configure-guile
33907 @: $(MAKE); $(unstage)
33908 @[ -f ./guile/Makefile ] || exit 0; \
33909 r=`${PWD_COMMAND}`; export r; \
33910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33911 $(HOST_EXPORTS) \
33912 for flag in $(EXTRA_HOST_FLAGS) ; do \
33913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33914 done; \
33915 echo "Doing pdf in guile"; \
33916 (cd $(HOST_SUBDIR)/guile && \
33917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33919 "RANLIB=$${RANLIB}" \
33920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33921 pdf) \
33922 || exit 1
33924 @endif guile
33926 .PHONY: maybe-html-guile html-guile
33927 maybe-html-guile:
33928 @if guile
33929 maybe-html-guile: html-guile
33931 html-guile: \
33932 configure-guile
33933 @: $(MAKE); $(unstage)
33934 @[ -f ./guile/Makefile ] || exit 0; \
33935 r=`${PWD_COMMAND}`; export r; \
33936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33937 $(HOST_EXPORTS) \
33938 for flag in $(EXTRA_HOST_FLAGS) ; do \
33939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33940 done; \
33941 echo "Doing html in guile"; \
33942 (cd $(HOST_SUBDIR)/guile && \
33943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33945 "RANLIB=$${RANLIB}" \
33946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33947 html) \
33948 || exit 1
33950 @endif guile
33952 .PHONY: maybe-TAGS-guile TAGS-guile
33953 maybe-TAGS-guile:
33954 @if guile
33955 maybe-TAGS-guile: TAGS-guile
33957 TAGS-guile: \
33958 configure-guile
33959 @: $(MAKE); $(unstage)
33960 @[ -f ./guile/Makefile ] || exit 0; \
33961 r=`${PWD_COMMAND}`; export r; \
33962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33963 $(HOST_EXPORTS) \
33964 for flag in $(EXTRA_HOST_FLAGS) ; do \
33965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33966 done; \
33967 echo "Doing TAGS in guile"; \
33968 (cd $(HOST_SUBDIR)/guile && \
33969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33971 "RANLIB=$${RANLIB}" \
33972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33973 TAGS) \
33974 || exit 1
33976 @endif guile
33978 .PHONY: maybe-install-info-guile install-info-guile
33979 maybe-install-info-guile:
33980 @if guile
33981 maybe-install-info-guile: install-info-guile
33983 install-info-guile: \
33984 configure-guile \
33985 info-guile
33986 @: $(MAKE); $(unstage)
33987 @[ -f ./guile/Makefile ] || exit 0; \
33988 r=`${PWD_COMMAND}`; export r; \
33989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33990 $(HOST_EXPORTS) \
33991 for flag in $(EXTRA_HOST_FLAGS) ; do \
33992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33993 done; \
33994 echo "Doing install-info in guile"; \
33995 (cd $(HOST_SUBDIR)/guile && \
33996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33998 "RANLIB=$${RANLIB}" \
33999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34000 install-info) \
34001 || exit 1
34003 @endif guile
34005 .PHONY: maybe-install-pdf-guile install-pdf-guile
34006 maybe-install-pdf-guile:
34007 @if guile
34008 maybe-install-pdf-guile: install-pdf-guile
34010 install-pdf-guile: \
34011 configure-guile \
34012 pdf-guile
34013 @: $(MAKE); $(unstage)
34014 @[ -f ./guile/Makefile ] || exit 0; \
34015 r=`${PWD_COMMAND}`; export r; \
34016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34017 $(HOST_EXPORTS) \
34018 for flag in $(EXTRA_HOST_FLAGS) ; do \
34019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34020 done; \
34021 echo "Doing install-pdf in guile"; \
34022 (cd $(HOST_SUBDIR)/guile && \
34023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34025 "RANLIB=$${RANLIB}" \
34026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34027 install-pdf) \
34028 || exit 1
34030 @endif guile
34032 .PHONY: maybe-install-html-guile install-html-guile
34033 maybe-install-html-guile:
34034 @if guile
34035 maybe-install-html-guile: install-html-guile
34037 install-html-guile: \
34038 configure-guile \
34039 html-guile
34040 @: $(MAKE); $(unstage)
34041 @[ -f ./guile/Makefile ] || exit 0; \
34042 r=`${PWD_COMMAND}`; export r; \
34043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34044 $(HOST_EXPORTS) \
34045 for flag in $(EXTRA_HOST_FLAGS) ; do \
34046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34047 done; \
34048 echo "Doing install-html in guile"; \
34049 (cd $(HOST_SUBDIR)/guile && \
34050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34052 "RANLIB=$${RANLIB}" \
34053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34054 install-html) \
34055 || exit 1
34057 @endif guile
34059 .PHONY: maybe-installcheck-guile installcheck-guile
34060 maybe-installcheck-guile:
34061 @if guile
34062 maybe-installcheck-guile: installcheck-guile
34064 installcheck-guile: \
34065 configure-guile
34066 @: $(MAKE); $(unstage)
34067 @[ -f ./guile/Makefile ] || exit 0; \
34068 r=`${PWD_COMMAND}`; export r; \
34069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34070 $(HOST_EXPORTS) \
34071 for flag in $(EXTRA_HOST_FLAGS) ; do \
34072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34073 done; \
34074 echo "Doing installcheck in guile"; \
34075 (cd $(HOST_SUBDIR)/guile && \
34076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34078 "RANLIB=$${RANLIB}" \
34079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34080 installcheck) \
34081 || exit 1
34083 @endif guile
34085 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34086 maybe-mostlyclean-guile:
34087 @if guile
34088 maybe-mostlyclean-guile: mostlyclean-guile
34090 mostlyclean-guile:
34091 @: $(MAKE); $(unstage)
34092 @[ -f ./guile/Makefile ] || exit 0; \
34093 r=`${PWD_COMMAND}`; export r; \
34094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34095 $(HOST_EXPORTS) \
34096 for flag in $(EXTRA_HOST_FLAGS) ; do \
34097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34098 done; \
34099 echo "Doing mostlyclean in guile"; \
34100 (cd $(HOST_SUBDIR)/guile && \
34101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34103 "RANLIB=$${RANLIB}" \
34104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34105 mostlyclean) \
34106 || exit 1
34108 @endif guile
34110 .PHONY: maybe-clean-guile clean-guile
34111 maybe-clean-guile:
34112 @if guile
34113 maybe-clean-guile: clean-guile
34115 clean-guile:
34116 @: $(MAKE); $(unstage)
34117 @[ -f ./guile/Makefile ] || exit 0; \
34118 r=`${PWD_COMMAND}`; export r; \
34119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34120 $(HOST_EXPORTS) \
34121 for flag in $(EXTRA_HOST_FLAGS) ; do \
34122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34123 done; \
34124 echo "Doing clean in guile"; \
34125 (cd $(HOST_SUBDIR)/guile && \
34126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34128 "RANLIB=$${RANLIB}" \
34129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34130 clean) \
34131 || exit 1
34133 @endif guile
34135 .PHONY: maybe-distclean-guile distclean-guile
34136 maybe-distclean-guile:
34137 @if guile
34138 maybe-distclean-guile: distclean-guile
34140 distclean-guile:
34141 @: $(MAKE); $(unstage)
34142 @[ -f ./guile/Makefile ] || exit 0; \
34143 r=`${PWD_COMMAND}`; export r; \
34144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34145 $(HOST_EXPORTS) \
34146 for flag in $(EXTRA_HOST_FLAGS) ; do \
34147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34148 done; \
34149 echo "Doing distclean in guile"; \
34150 (cd $(HOST_SUBDIR)/guile && \
34151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34153 "RANLIB=$${RANLIB}" \
34154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34155 distclean) \
34156 || exit 1
34158 @endif guile
34160 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34161 maybe-maintainer-clean-guile:
34162 @if guile
34163 maybe-maintainer-clean-guile: maintainer-clean-guile
34165 maintainer-clean-guile:
34166 @: $(MAKE); $(unstage)
34167 @[ -f ./guile/Makefile ] || exit 0; \
34168 r=`${PWD_COMMAND}`; export r; \
34169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34170 $(HOST_EXPORTS) \
34171 for flag in $(EXTRA_HOST_FLAGS) ; do \
34172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34173 done; \
34174 echo "Doing maintainer-clean in guile"; \
34175 (cd $(HOST_SUBDIR)/guile && \
34176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34178 "RANLIB=$${RANLIB}" \
34179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34180 maintainer-clean) \
34181 || exit 1
34183 @endif guile
34187 .PHONY: configure-tk maybe-configure-tk
34188 maybe-configure-tk:
34189 @if gcc-bootstrap
34190 configure-tk: stage_current
34191 @endif gcc-bootstrap
34192 @if tk
34193 maybe-configure-tk: configure-tk
34194 configure-tk:
34195 @: $(MAKE); $(unstage)
34196 @r=`${PWD_COMMAND}`; export r; \
34197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34198 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34200 $(HOST_EXPORTS) \
34201 echo Configuring in $(HOST_SUBDIR)/tk; \
34202 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34203 case $(srcdir) in \
34204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34205 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34207 esac; \
34208 module_srcdir=tk; \
34209 $(SHELL) \
34210 $$s/$$module_srcdir/configure \
34211 --srcdir=$${topdir}/$$module_srcdir \
34212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34213 --target=${target_alias} \
34214 || exit 1
34215 @endif tk
34221 .PHONY: all-tk maybe-all-tk
34222 maybe-all-tk:
34223 @if gcc-bootstrap
34224 all-tk: stage_current
34225 @endif gcc-bootstrap
34226 @if tk
34227 TARGET-tk=all
34228 maybe-all-tk: all-tk
34229 all-tk: configure-tk
34230 @: $(MAKE); $(unstage)
34231 @r=`${PWD_COMMAND}`; export r; \
34232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34233 $(HOST_EXPORTS) \
34234 (cd $(HOST_SUBDIR)/tk && \
34235 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34236 $(TARGET-tk))
34237 @endif tk
34242 .PHONY: check-tk maybe-check-tk
34243 maybe-check-tk:
34244 @if tk
34245 maybe-check-tk: check-tk
34247 check-tk:
34248 @: $(MAKE); $(unstage)
34249 @r=`${PWD_COMMAND}`; export r; \
34250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34251 $(HOST_EXPORTS) \
34252 (cd $(HOST_SUBDIR)/tk && \
34253 $(MAKE) $(FLAGS_TO_PASS) check)
34255 @endif tk
34257 .PHONY: install-tk maybe-install-tk
34258 maybe-install-tk:
34259 @if tk
34260 maybe-install-tk: install-tk
34262 install-tk: installdirs
34263 @: $(MAKE); $(unstage)
34264 @r=`${PWD_COMMAND}`; export r; \
34265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34266 $(HOST_EXPORTS) \
34267 (cd $(HOST_SUBDIR)/tk && \
34268 $(MAKE) $(FLAGS_TO_PASS) install)
34270 @endif tk
34272 .PHONY: install-strip-tk maybe-install-strip-tk
34273 maybe-install-strip-tk:
34274 @if tk
34275 maybe-install-strip-tk: install-strip-tk
34277 install-strip-tk: installdirs
34278 @: $(MAKE); $(unstage)
34279 @r=`${PWD_COMMAND}`; export r; \
34280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34281 $(HOST_EXPORTS) \
34282 (cd $(HOST_SUBDIR)/tk && \
34283 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34285 @endif tk
34287 # Other targets (info, dvi, pdf, etc.)
34289 .PHONY: maybe-info-tk info-tk
34290 maybe-info-tk:
34291 @if tk
34292 maybe-info-tk: info-tk
34294 info-tk: \
34295 configure-tk
34296 @: $(MAKE); $(unstage)
34297 @[ -f ./tk/Makefile ] || exit 0; \
34298 r=`${PWD_COMMAND}`; export r; \
34299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34300 $(HOST_EXPORTS) \
34301 for flag in $(EXTRA_HOST_FLAGS) ; do \
34302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34303 done; \
34304 echo "Doing info in tk"; \
34305 (cd $(HOST_SUBDIR)/tk && \
34306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34308 "RANLIB=$${RANLIB}" \
34309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34310 info) \
34311 || exit 1
34313 @endif tk
34315 .PHONY: maybe-dvi-tk dvi-tk
34316 maybe-dvi-tk:
34317 @if tk
34318 maybe-dvi-tk: dvi-tk
34320 dvi-tk: \
34321 configure-tk
34322 @: $(MAKE); $(unstage)
34323 @[ -f ./tk/Makefile ] || exit 0; \
34324 r=`${PWD_COMMAND}`; export r; \
34325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34326 $(HOST_EXPORTS) \
34327 for flag in $(EXTRA_HOST_FLAGS) ; do \
34328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34329 done; \
34330 echo "Doing dvi in tk"; \
34331 (cd $(HOST_SUBDIR)/tk && \
34332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34334 "RANLIB=$${RANLIB}" \
34335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34336 dvi) \
34337 || exit 1
34339 @endif tk
34341 .PHONY: maybe-pdf-tk pdf-tk
34342 maybe-pdf-tk:
34343 @if tk
34344 maybe-pdf-tk: pdf-tk
34346 pdf-tk: \
34347 configure-tk
34348 @: $(MAKE); $(unstage)
34349 @[ -f ./tk/Makefile ] || exit 0; \
34350 r=`${PWD_COMMAND}`; export r; \
34351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34352 $(HOST_EXPORTS) \
34353 for flag in $(EXTRA_HOST_FLAGS) ; do \
34354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34355 done; \
34356 echo "Doing pdf in tk"; \
34357 (cd $(HOST_SUBDIR)/tk && \
34358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34360 "RANLIB=$${RANLIB}" \
34361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34362 pdf) \
34363 || exit 1
34365 @endif tk
34367 .PHONY: maybe-html-tk html-tk
34368 maybe-html-tk:
34369 @if tk
34370 maybe-html-tk: html-tk
34372 html-tk: \
34373 configure-tk
34374 @: $(MAKE); $(unstage)
34375 @[ -f ./tk/Makefile ] || exit 0; \
34376 r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 $(HOST_EXPORTS) \
34379 for flag in $(EXTRA_HOST_FLAGS) ; do \
34380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34381 done; \
34382 echo "Doing html in tk"; \
34383 (cd $(HOST_SUBDIR)/tk && \
34384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34386 "RANLIB=$${RANLIB}" \
34387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34388 html) \
34389 || exit 1
34391 @endif tk
34393 .PHONY: maybe-TAGS-tk TAGS-tk
34394 maybe-TAGS-tk:
34395 @if tk
34396 maybe-TAGS-tk: TAGS-tk
34398 TAGS-tk: \
34399 configure-tk
34400 @: $(MAKE); $(unstage)
34401 @[ -f ./tk/Makefile ] || exit 0; \
34402 r=`${PWD_COMMAND}`; export r; \
34403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34404 $(HOST_EXPORTS) \
34405 for flag in $(EXTRA_HOST_FLAGS) ; do \
34406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34407 done; \
34408 echo "Doing TAGS in tk"; \
34409 (cd $(HOST_SUBDIR)/tk && \
34410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34412 "RANLIB=$${RANLIB}" \
34413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34414 TAGS) \
34415 || exit 1
34417 @endif tk
34419 .PHONY: maybe-install-info-tk install-info-tk
34420 maybe-install-info-tk:
34421 @if tk
34422 maybe-install-info-tk: install-info-tk
34424 install-info-tk: \
34425 configure-tk \
34426 info-tk
34427 @: $(MAKE); $(unstage)
34428 @[ -f ./tk/Makefile ] || exit 0; \
34429 r=`${PWD_COMMAND}`; export r; \
34430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34431 $(HOST_EXPORTS) \
34432 for flag in $(EXTRA_HOST_FLAGS) ; do \
34433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34434 done; \
34435 echo "Doing install-info in tk"; \
34436 (cd $(HOST_SUBDIR)/tk && \
34437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34439 "RANLIB=$${RANLIB}" \
34440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34441 install-info) \
34442 || exit 1
34444 @endif tk
34446 .PHONY: maybe-install-pdf-tk install-pdf-tk
34447 maybe-install-pdf-tk:
34448 @if tk
34449 maybe-install-pdf-tk: install-pdf-tk
34451 install-pdf-tk: \
34452 configure-tk \
34453 pdf-tk
34454 @: $(MAKE); $(unstage)
34455 @[ -f ./tk/Makefile ] || exit 0; \
34456 r=`${PWD_COMMAND}`; export r; \
34457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34458 $(HOST_EXPORTS) \
34459 for flag in $(EXTRA_HOST_FLAGS) ; do \
34460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34461 done; \
34462 echo "Doing install-pdf in tk"; \
34463 (cd $(HOST_SUBDIR)/tk && \
34464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34466 "RANLIB=$${RANLIB}" \
34467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34468 install-pdf) \
34469 || exit 1
34471 @endif tk
34473 .PHONY: maybe-install-html-tk install-html-tk
34474 maybe-install-html-tk:
34475 @if tk
34476 maybe-install-html-tk: install-html-tk
34478 install-html-tk: \
34479 configure-tk \
34480 html-tk
34481 @: $(MAKE); $(unstage)
34482 @[ -f ./tk/Makefile ] || exit 0; \
34483 r=`${PWD_COMMAND}`; export r; \
34484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34485 $(HOST_EXPORTS) \
34486 for flag in $(EXTRA_HOST_FLAGS) ; do \
34487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34488 done; \
34489 echo "Doing install-html in tk"; \
34490 (cd $(HOST_SUBDIR)/tk && \
34491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34493 "RANLIB=$${RANLIB}" \
34494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34495 install-html) \
34496 || exit 1
34498 @endif tk
34500 .PHONY: maybe-installcheck-tk installcheck-tk
34501 maybe-installcheck-tk:
34502 @if tk
34503 maybe-installcheck-tk: installcheck-tk
34505 installcheck-tk: \
34506 configure-tk
34507 @: $(MAKE); $(unstage)
34508 @[ -f ./tk/Makefile ] || exit 0; \
34509 r=`${PWD_COMMAND}`; export r; \
34510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34511 $(HOST_EXPORTS) \
34512 for flag in $(EXTRA_HOST_FLAGS) ; do \
34513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34514 done; \
34515 echo "Doing installcheck in tk"; \
34516 (cd $(HOST_SUBDIR)/tk && \
34517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34519 "RANLIB=$${RANLIB}" \
34520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34521 installcheck) \
34522 || exit 1
34524 @endif tk
34526 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34527 maybe-mostlyclean-tk:
34528 @if tk
34529 maybe-mostlyclean-tk: mostlyclean-tk
34531 mostlyclean-tk:
34532 @: $(MAKE); $(unstage)
34533 @[ -f ./tk/Makefile ] || exit 0; \
34534 r=`${PWD_COMMAND}`; export r; \
34535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34536 $(HOST_EXPORTS) \
34537 for flag in $(EXTRA_HOST_FLAGS) ; do \
34538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34539 done; \
34540 echo "Doing mostlyclean in tk"; \
34541 (cd $(HOST_SUBDIR)/tk && \
34542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34544 "RANLIB=$${RANLIB}" \
34545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34546 mostlyclean) \
34547 || exit 1
34549 @endif tk
34551 .PHONY: maybe-clean-tk clean-tk
34552 maybe-clean-tk:
34553 @if tk
34554 maybe-clean-tk: clean-tk
34556 clean-tk:
34557 @: $(MAKE); $(unstage)
34558 @[ -f ./tk/Makefile ] || exit 0; \
34559 r=`${PWD_COMMAND}`; export r; \
34560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34561 $(HOST_EXPORTS) \
34562 for flag in $(EXTRA_HOST_FLAGS) ; do \
34563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34564 done; \
34565 echo "Doing clean in tk"; \
34566 (cd $(HOST_SUBDIR)/tk && \
34567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34569 "RANLIB=$${RANLIB}" \
34570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34571 clean) \
34572 || exit 1
34574 @endif tk
34576 .PHONY: maybe-distclean-tk distclean-tk
34577 maybe-distclean-tk:
34578 @if tk
34579 maybe-distclean-tk: distclean-tk
34581 distclean-tk:
34582 @: $(MAKE); $(unstage)
34583 @[ -f ./tk/Makefile ] || exit 0; \
34584 r=`${PWD_COMMAND}`; export r; \
34585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34586 $(HOST_EXPORTS) \
34587 for flag in $(EXTRA_HOST_FLAGS) ; do \
34588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34589 done; \
34590 echo "Doing distclean in tk"; \
34591 (cd $(HOST_SUBDIR)/tk && \
34592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34594 "RANLIB=$${RANLIB}" \
34595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34596 distclean) \
34597 || exit 1
34599 @endif tk
34601 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34602 maybe-maintainer-clean-tk:
34603 @if tk
34604 maybe-maintainer-clean-tk: maintainer-clean-tk
34606 maintainer-clean-tk:
34607 @: $(MAKE); $(unstage)
34608 @[ -f ./tk/Makefile ] || exit 0; \
34609 r=`${PWD_COMMAND}`; export r; \
34610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34611 $(HOST_EXPORTS) \
34612 for flag in $(EXTRA_HOST_FLAGS) ; do \
34613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34614 done; \
34615 echo "Doing maintainer-clean in tk"; \
34616 (cd $(HOST_SUBDIR)/tk && \
34617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34619 "RANLIB=$${RANLIB}" \
34620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34621 maintainer-clean) \
34622 || exit 1
34624 @endif tk
34628 .PHONY: configure-libtermcap maybe-configure-libtermcap
34629 maybe-configure-libtermcap:
34630 @if gcc-bootstrap
34631 configure-libtermcap: stage_current
34632 @endif gcc-bootstrap
34633 @if libtermcap
34634 maybe-configure-libtermcap: configure-libtermcap
34635 configure-libtermcap:
34636 @: $(MAKE); $(unstage)
34637 @r=`${PWD_COMMAND}`; export r; \
34638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34639 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
34641 $(HOST_EXPORTS) \
34642 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34643 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34644 case $(srcdir) in \
34645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34646 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34648 esac; \
34649 module_srcdir=libtermcap; \
34650 $(SHELL) \
34651 $$s/$$module_srcdir/configure \
34652 --srcdir=$${topdir}/$$module_srcdir \
34653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34654 --target=${target_alias} \
34655 || exit 1
34656 @endif libtermcap
34662 .PHONY: all-libtermcap maybe-all-libtermcap
34663 maybe-all-libtermcap:
34664 @if gcc-bootstrap
34665 all-libtermcap: stage_current
34666 @endif gcc-bootstrap
34667 @if libtermcap
34668 TARGET-libtermcap=all
34669 maybe-all-libtermcap: all-libtermcap
34670 all-libtermcap: configure-libtermcap
34671 @: $(MAKE); $(unstage)
34672 @r=`${PWD_COMMAND}`; export r; \
34673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34674 $(HOST_EXPORTS) \
34675 (cd $(HOST_SUBDIR)/libtermcap && \
34676 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34677 $(TARGET-libtermcap))
34678 @endif libtermcap
34683 .PHONY: check-libtermcap maybe-check-libtermcap
34684 maybe-check-libtermcap:
34685 @if libtermcap
34686 maybe-check-libtermcap: check-libtermcap
34688 check-libtermcap:
34690 @endif libtermcap
34692 .PHONY: install-libtermcap maybe-install-libtermcap
34693 maybe-install-libtermcap:
34694 @if libtermcap
34695 maybe-install-libtermcap: install-libtermcap
34697 install-libtermcap: installdirs
34698 @: $(MAKE); $(unstage)
34699 @r=`${PWD_COMMAND}`; export r; \
34700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34701 $(HOST_EXPORTS) \
34702 (cd $(HOST_SUBDIR)/libtermcap && \
34703 $(MAKE) $(FLAGS_TO_PASS) install)
34705 @endif libtermcap
34707 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
34708 maybe-install-strip-libtermcap:
34709 @if libtermcap
34710 maybe-install-strip-libtermcap: install-strip-libtermcap
34712 install-strip-libtermcap: installdirs
34713 @: $(MAKE); $(unstage)
34714 @r=`${PWD_COMMAND}`; export r; \
34715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34716 $(HOST_EXPORTS) \
34717 (cd $(HOST_SUBDIR)/libtermcap && \
34718 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34720 @endif libtermcap
34722 # Other targets (info, dvi, pdf, etc.)
34724 .PHONY: maybe-info-libtermcap info-libtermcap
34725 maybe-info-libtermcap:
34726 @if libtermcap
34727 maybe-info-libtermcap: info-libtermcap
34729 info-libtermcap: \
34730 configure-libtermcap
34731 @: $(MAKE); $(unstage)
34732 @[ -f ./libtermcap/Makefile ] || exit 0; \
34733 r=`${PWD_COMMAND}`; export r; \
34734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34735 $(HOST_EXPORTS) \
34736 for flag in $(EXTRA_HOST_FLAGS) ; do \
34737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34738 done; \
34739 echo "Doing info in libtermcap"; \
34740 (cd $(HOST_SUBDIR)/libtermcap && \
34741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34743 "RANLIB=$${RANLIB}" \
34744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34745 info) \
34746 || exit 1
34748 @endif libtermcap
34750 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34751 maybe-dvi-libtermcap:
34752 @if libtermcap
34753 maybe-dvi-libtermcap: dvi-libtermcap
34755 dvi-libtermcap: \
34756 configure-libtermcap
34757 @: $(MAKE); $(unstage)
34758 @[ -f ./libtermcap/Makefile ] || exit 0; \
34759 r=`${PWD_COMMAND}`; export r; \
34760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34761 $(HOST_EXPORTS) \
34762 for flag in $(EXTRA_HOST_FLAGS) ; do \
34763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34764 done; \
34765 echo "Doing dvi in libtermcap"; \
34766 (cd $(HOST_SUBDIR)/libtermcap && \
34767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34769 "RANLIB=$${RANLIB}" \
34770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34771 dvi) \
34772 || exit 1
34774 @endif libtermcap
34776 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
34777 maybe-pdf-libtermcap:
34778 @if libtermcap
34779 maybe-pdf-libtermcap: pdf-libtermcap
34781 pdf-libtermcap: \
34782 configure-libtermcap
34783 @: $(MAKE); $(unstage)
34784 @[ -f ./libtermcap/Makefile ] || exit 0; \
34785 r=`${PWD_COMMAND}`; export r; \
34786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34787 $(HOST_EXPORTS) \
34788 for flag in $(EXTRA_HOST_FLAGS) ; do \
34789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34790 done; \
34791 echo "Doing pdf in libtermcap"; \
34792 (cd $(HOST_SUBDIR)/libtermcap && \
34793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34795 "RANLIB=$${RANLIB}" \
34796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34797 pdf) \
34798 || exit 1
34800 @endif libtermcap
34802 .PHONY: maybe-html-libtermcap html-libtermcap
34803 maybe-html-libtermcap:
34804 @if libtermcap
34805 maybe-html-libtermcap: html-libtermcap
34807 html-libtermcap: \
34808 configure-libtermcap
34809 @: $(MAKE); $(unstage)
34810 @[ -f ./libtermcap/Makefile ] || exit 0; \
34811 r=`${PWD_COMMAND}`; export r; \
34812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34813 $(HOST_EXPORTS) \
34814 for flag in $(EXTRA_HOST_FLAGS) ; do \
34815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34816 done; \
34817 echo "Doing html in libtermcap"; \
34818 (cd $(HOST_SUBDIR)/libtermcap && \
34819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34821 "RANLIB=$${RANLIB}" \
34822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34823 html) \
34824 || exit 1
34826 @endif libtermcap
34828 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
34829 maybe-TAGS-libtermcap:
34830 @if libtermcap
34831 maybe-TAGS-libtermcap: TAGS-libtermcap
34833 TAGS-libtermcap: \
34834 configure-libtermcap
34835 @: $(MAKE); $(unstage)
34836 @[ -f ./libtermcap/Makefile ] || exit 0; \
34837 r=`${PWD_COMMAND}`; export r; \
34838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34839 $(HOST_EXPORTS) \
34840 for flag in $(EXTRA_HOST_FLAGS) ; do \
34841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34842 done; \
34843 echo "Doing TAGS in libtermcap"; \
34844 (cd $(HOST_SUBDIR)/libtermcap && \
34845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34847 "RANLIB=$${RANLIB}" \
34848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34849 TAGS) \
34850 || exit 1
34852 @endif libtermcap
34854 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
34855 maybe-install-info-libtermcap:
34856 @if libtermcap
34857 maybe-install-info-libtermcap: install-info-libtermcap
34859 install-info-libtermcap: \
34860 configure-libtermcap \
34861 info-libtermcap
34862 @: $(MAKE); $(unstage)
34863 @[ -f ./libtermcap/Makefile ] || exit 0; \
34864 r=`${PWD_COMMAND}`; export r; \
34865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34866 $(HOST_EXPORTS) \
34867 for flag in $(EXTRA_HOST_FLAGS) ; do \
34868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34869 done; \
34870 echo "Doing install-info in libtermcap"; \
34871 (cd $(HOST_SUBDIR)/libtermcap && \
34872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34874 "RANLIB=$${RANLIB}" \
34875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34876 install-info) \
34877 || exit 1
34879 @endif libtermcap
34881 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
34882 maybe-install-pdf-libtermcap:
34883 @if libtermcap
34884 maybe-install-pdf-libtermcap: install-pdf-libtermcap
34886 install-pdf-libtermcap: \
34887 configure-libtermcap \
34888 pdf-libtermcap
34889 @: $(MAKE); $(unstage)
34890 @[ -f ./libtermcap/Makefile ] || exit 0; \
34891 r=`${PWD_COMMAND}`; export r; \
34892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34893 $(HOST_EXPORTS) \
34894 for flag in $(EXTRA_HOST_FLAGS) ; do \
34895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34896 done; \
34897 echo "Doing install-pdf in libtermcap"; \
34898 (cd $(HOST_SUBDIR)/libtermcap && \
34899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34901 "RANLIB=$${RANLIB}" \
34902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34903 install-pdf) \
34904 || exit 1
34906 @endif libtermcap
34908 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
34909 maybe-install-html-libtermcap:
34910 @if libtermcap
34911 maybe-install-html-libtermcap: install-html-libtermcap
34913 install-html-libtermcap: \
34914 configure-libtermcap \
34915 html-libtermcap
34916 @: $(MAKE); $(unstage)
34917 @[ -f ./libtermcap/Makefile ] || exit 0; \
34918 r=`${PWD_COMMAND}`; export r; \
34919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34920 $(HOST_EXPORTS) \
34921 for flag in $(EXTRA_HOST_FLAGS) ; do \
34922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34923 done; \
34924 echo "Doing install-html in libtermcap"; \
34925 (cd $(HOST_SUBDIR)/libtermcap && \
34926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34928 "RANLIB=$${RANLIB}" \
34929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34930 install-html) \
34931 || exit 1
34933 @endif libtermcap
34935 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
34936 maybe-installcheck-libtermcap:
34937 @if libtermcap
34938 maybe-installcheck-libtermcap: installcheck-libtermcap
34940 installcheck-libtermcap: \
34941 configure-libtermcap
34942 @: $(MAKE); $(unstage)
34943 @[ -f ./libtermcap/Makefile ] || exit 0; \
34944 r=`${PWD_COMMAND}`; export r; \
34945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34946 $(HOST_EXPORTS) \
34947 for flag in $(EXTRA_HOST_FLAGS) ; do \
34948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34949 done; \
34950 echo "Doing installcheck in libtermcap"; \
34951 (cd $(HOST_SUBDIR)/libtermcap && \
34952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34954 "RANLIB=$${RANLIB}" \
34955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34956 installcheck) \
34957 || exit 1
34959 @endif libtermcap
34961 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
34962 maybe-mostlyclean-libtermcap:
34963 @if libtermcap
34964 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
34966 # libtermcap doesn't support mostlyclean.
34967 mostlyclean-libtermcap:
34969 @endif libtermcap
34971 .PHONY: maybe-clean-libtermcap clean-libtermcap
34972 maybe-clean-libtermcap:
34973 @if libtermcap
34974 maybe-clean-libtermcap: clean-libtermcap
34976 # libtermcap doesn't support clean.
34977 clean-libtermcap:
34979 @endif libtermcap
34981 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
34982 maybe-distclean-libtermcap:
34983 @if libtermcap
34984 maybe-distclean-libtermcap: distclean-libtermcap
34986 # libtermcap doesn't support distclean.
34987 distclean-libtermcap:
34989 @endif libtermcap
34991 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
34992 maybe-maintainer-clean-libtermcap:
34993 @if libtermcap
34994 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
34996 # libtermcap doesn't support maintainer-clean.
34997 maintainer-clean-libtermcap:
34999 @endif libtermcap
35003 .PHONY: configure-utils maybe-configure-utils
35004 maybe-configure-utils:
35005 @if gcc-bootstrap
35006 configure-utils: stage_current
35007 @endif gcc-bootstrap
35008 @if utils
35009 maybe-configure-utils: configure-utils
35010 configure-utils:
35011 @: $(MAKE); $(unstage)
35012 @r=`${PWD_COMMAND}`; export r; \
35013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35014 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
35015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
35016 $(HOST_EXPORTS) \
35017 echo Configuring in $(HOST_SUBDIR)/utils; \
35018 cd "$(HOST_SUBDIR)/utils" || exit 1; \
35019 case $(srcdir) in \
35020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35021 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
35022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35023 esac; \
35024 module_srcdir=utils; \
35025 $(SHELL) \
35026 $$s/$$module_srcdir/configure \
35027 --srcdir=$${topdir}/$$module_srcdir \
35028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35029 --target=${target_alias} \
35030 || exit 1
35031 @endif utils
35037 .PHONY: all-utils maybe-all-utils
35038 maybe-all-utils:
35039 @if gcc-bootstrap
35040 all-utils: stage_current
35041 @endif gcc-bootstrap
35042 @if utils
35043 TARGET-utils=all
35044 maybe-all-utils: all-utils
35045 all-utils: configure-utils
35046 @: $(MAKE); $(unstage)
35047 @r=`${PWD_COMMAND}`; export r; \
35048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35049 $(HOST_EXPORTS) \
35050 (cd $(HOST_SUBDIR)/utils && \
35051 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35052 $(TARGET-utils))
35053 @endif utils
35058 .PHONY: check-utils maybe-check-utils
35059 maybe-check-utils:
35060 @if utils
35061 maybe-check-utils: check-utils
35063 check-utils:
35065 @endif utils
35067 .PHONY: install-utils maybe-install-utils
35068 maybe-install-utils:
35069 @if utils
35070 maybe-install-utils: install-utils
35072 install-utils: installdirs
35073 @: $(MAKE); $(unstage)
35074 @r=`${PWD_COMMAND}`; export r; \
35075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35076 $(HOST_EXPORTS) \
35077 (cd $(HOST_SUBDIR)/utils && \
35078 $(MAKE) $(FLAGS_TO_PASS) install)
35080 @endif utils
35082 .PHONY: install-strip-utils maybe-install-strip-utils
35083 maybe-install-strip-utils:
35084 @if utils
35085 maybe-install-strip-utils: install-strip-utils
35087 install-strip-utils: installdirs
35088 @: $(MAKE); $(unstage)
35089 @r=`${PWD_COMMAND}`; export r; \
35090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35091 $(HOST_EXPORTS) \
35092 (cd $(HOST_SUBDIR)/utils && \
35093 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35095 @endif utils
35097 # Other targets (info, dvi, pdf, etc.)
35099 .PHONY: maybe-info-utils info-utils
35100 maybe-info-utils:
35101 @if utils
35102 maybe-info-utils: info-utils
35104 info-utils: \
35105 configure-utils
35106 @: $(MAKE); $(unstage)
35107 @[ -f ./utils/Makefile ] || exit 0; \
35108 r=`${PWD_COMMAND}`; export r; \
35109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35110 $(HOST_EXPORTS) \
35111 for flag in $(EXTRA_HOST_FLAGS) ; do \
35112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35113 done; \
35114 echo "Doing info in utils"; \
35115 (cd $(HOST_SUBDIR)/utils && \
35116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35118 "RANLIB=$${RANLIB}" \
35119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35120 info) \
35121 || exit 1
35123 @endif utils
35125 .PHONY: maybe-dvi-utils dvi-utils
35126 maybe-dvi-utils:
35127 @if utils
35128 maybe-dvi-utils: dvi-utils
35130 dvi-utils: \
35131 configure-utils
35132 @: $(MAKE); $(unstage)
35133 @[ -f ./utils/Makefile ] || exit 0; \
35134 r=`${PWD_COMMAND}`; export r; \
35135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35136 $(HOST_EXPORTS) \
35137 for flag in $(EXTRA_HOST_FLAGS) ; do \
35138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35139 done; \
35140 echo "Doing dvi in utils"; \
35141 (cd $(HOST_SUBDIR)/utils && \
35142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35144 "RANLIB=$${RANLIB}" \
35145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35146 dvi) \
35147 || exit 1
35149 @endif utils
35151 .PHONY: maybe-pdf-utils pdf-utils
35152 maybe-pdf-utils:
35153 @if utils
35154 maybe-pdf-utils: pdf-utils
35156 pdf-utils: \
35157 configure-utils
35158 @: $(MAKE); $(unstage)
35159 @[ -f ./utils/Makefile ] || exit 0; \
35160 r=`${PWD_COMMAND}`; export r; \
35161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35162 $(HOST_EXPORTS) \
35163 for flag in $(EXTRA_HOST_FLAGS) ; do \
35164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35165 done; \
35166 echo "Doing pdf in utils"; \
35167 (cd $(HOST_SUBDIR)/utils && \
35168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35170 "RANLIB=$${RANLIB}" \
35171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35172 pdf) \
35173 || exit 1
35175 @endif utils
35177 .PHONY: maybe-html-utils html-utils
35178 maybe-html-utils:
35179 @if utils
35180 maybe-html-utils: html-utils
35182 html-utils: \
35183 configure-utils
35184 @: $(MAKE); $(unstage)
35185 @[ -f ./utils/Makefile ] || exit 0; \
35186 r=`${PWD_COMMAND}`; export r; \
35187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35188 $(HOST_EXPORTS) \
35189 for flag in $(EXTRA_HOST_FLAGS) ; do \
35190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35191 done; \
35192 echo "Doing html in utils"; \
35193 (cd $(HOST_SUBDIR)/utils && \
35194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35196 "RANLIB=$${RANLIB}" \
35197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35198 html) \
35199 || exit 1
35201 @endif utils
35203 .PHONY: maybe-TAGS-utils TAGS-utils
35204 maybe-TAGS-utils:
35205 @if utils
35206 maybe-TAGS-utils: TAGS-utils
35208 TAGS-utils: \
35209 configure-utils
35210 @: $(MAKE); $(unstage)
35211 @[ -f ./utils/Makefile ] || exit 0; \
35212 r=`${PWD_COMMAND}`; export r; \
35213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35214 $(HOST_EXPORTS) \
35215 for flag in $(EXTRA_HOST_FLAGS) ; do \
35216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35217 done; \
35218 echo "Doing TAGS in utils"; \
35219 (cd $(HOST_SUBDIR)/utils && \
35220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35222 "RANLIB=$${RANLIB}" \
35223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35224 TAGS) \
35225 || exit 1
35227 @endif utils
35229 .PHONY: maybe-install-info-utils install-info-utils
35230 maybe-install-info-utils:
35231 @if utils
35232 maybe-install-info-utils: install-info-utils
35234 install-info-utils: \
35235 configure-utils \
35236 info-utils
35237 @: $(MAKE); $(unstage)
35238 @[ -f ./utils/Makefile ] || exit 0; \
35239 r=`${PWD_COMMAND}`; export r; \
35240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35241 $(HOST_EXPORTS) \
35242 for flag in $(EXTRA_HOST_FLAGS) ; do \
35243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35244 done; \
35245 echo "Doing install-info in utils"; \
35246 (cd $(HOST_SUBDIR)/utils && \
35247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35249 "RANLIB=$${RANLIB}" \
35250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35251 install-info) \
35252 || exit 1
35254 @endif utils
35256 .PHONY: maybe-install-pdf-utils install-pdf-utils
35257 maybe-install-pdf-utils:
35258 @if utils
35259 maybe-install-pdf-utils: install-pdf-utils
35261 install-pdf-utils: \
35262 configure-utils \
35263 pdf-utils
35264 @: $(MAKE); $(unstage)
35265 @[ -f ./utils/Makefile ] || exit 0; \
35266 r=`${PWD_COMMAND}`; export r; \
35267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35268 $(HOST_EXPORTS) \
35269 for flag in $(EXTRA_HOST_FLAGS) ; do \
35270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35271 done; \
35272 echo "Doing install-pdf in utils"; \
35273 (cd $(HOST_SUBDIR)/utils && \
35274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35276 "RANLIB=$${RANLIB}" \
35277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35278 install-pdf) \
35279 || exit 1
35281 @endif utils
35283 .PHONY: maybe-install-html-utils install-html-utils
35284 maybe-install-html-utils:
35285 @if utils
35286 maybe-install-html-utils: install-html-utils
35288 install-html-utils: \
35289 configure-utils \
35290 html-utils
35291 @: $(MAKE); $(unstage)
35292 @[ -f ./utils/Makefile ] || exit 0; \
35293 r=`${PWD_COMMAND}`; export r; \
35294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35295 $(HOST_EXPORTS) \
35296 for flag in $(EXTRA_HOST_FLAGS) ; do \
35297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35298 done; \
35299 echo "Doing install-html in utils"; \
35300 (cd $(HOST_SUBDIR)/utils && \
35301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35303 "RANLIB=$${RANLIB}" \
35304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35305 install-html) \
35306 || exit 1
35308 @endif utils
35310 .PHONY: maybe-installcheck-utils installcheck-utils
35311 maybe-installcheck-utils:
35312 @if utils
35313 maybe-installcheck-utils: installcheck-utils
35315 installcheck-utils: \
35316 configure-utils
35317 @: $(MAKE); $(unstage)
35318 @[ -f ./utils/Makefile ] || exit 0; \
35319 r=`${PWD_COMMAND}`; export r; \
35320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35321 $(HOST_EXPORTS) \
35322 for flag in $(EXTRA_HOST_FLAGS) ; do \
35323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35324 done; \
35325 echo "Doing installcheck in utils"; \
35326 (cd $(HOST_SUBDIR)/utils && \
35327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35329 "RANLIB=$${RANLIB}" \
35330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35331 installcheck) \
35332 || exit 1
35334 @endif utils
35336 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
35337 maybe-mostlyclean-utils:
35338 @if utils
35339 maybe-mostlyclean-utils: mostlyclean-utils
35341 mostlyclean-utils:
35342 @: $(MAKE); $(unstage)
35343 @[ -f ./utils/Makefile ] || exit 0; \
35344 r=`${PWD_COMMAND}`; export r; \
35345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35346 $(HOST_EXPORTS) \
35347 for flag in $(EXTRA_HOST_FLAGS) ; do \
35348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35349 done; \
35350 echo "Doing mostlyclean in utils"; \
35351 (cd $(HOST_SUBDIR)/utils && \
35352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35354 "RANLIB=$${RANLIB}" \
35355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35356 mostlyclean) \
35357 || exit 1
35359 @endif utils
35361 .PHONY: maybe-clean-utils clean-utils
35362 maybe-clean-utils:
35363 @if utils
35364 maybe-clean-utils: clean-utils
35366 clean-utils:
35367 @: $(MAKE); $(unstage)
35368 @[ -f ./utils/Makefile ] || exit 0; \
35369 r=`${PWD_COMMAND}`; export r; \
35370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35371 $(HOST_EXPORTS) \
35372 for flag in $(EXTRA_HOST_FLAGS) ; do \
35373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35374 done; \
35375 echo "Doing clean in utils"; \
35376 (cd $(HOST_SUBDIR)/utils && \
35377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35379 "RANLIB=$${RANLIB}" \
35380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35381 clean) \
35382 || exit 1
35384 @endif utils
35386 .PHONY: maybe-distclean-utils distclean-utils
35387 maybe-distclean-utils:
35388 @if utils
35389 maybe-distclean-utils: distclean-utils
35391 distclean-utils:
35392 @: $(MAKE); $(unstage)
35393 @[ -f ./utils/Makefile ] || exit 0; \
35394 r=`${PWD_COMMAND}`; export r; \
35395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35396 $(HOST_EXPORTS) \
35397 for flag in $(EXTRA_HOST_FLAGS) ; do \
35398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35399 done; \
35400 echo "Doing distclean in utils"; \
35401 (cd $(HOST_SUBDIR)/utils && \
35402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35404 "RANLIB=$${RANLIB}" \
35405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35406 distclean) \
35407 || exit 1
35409 @endif utils
35411 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
35412 maybe-maintainer-clean-utils:
35413 @if utils
35414 maybe-maintainer-clean-utils: maintainer-clean-utils
35416 maintainer-clean-utils:
35417 @: $(MAKE); $(unstage)
35418 @[ -f ./utils/Makefile ] || exit 0; \
35419 r=`${PWD_COMMAND}`; export r; \
35420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35421 $(HOST_EXPORTS) \
35422 for flag in $(EXTRA_HOST_FLAGS) ; do \
35423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35424 done; \
35425 echo "Doing maintainer-clean in utils"; \
35426 (cd $(HOST_SUBDIR)/utils && \
35427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35429 "RANLIB=$${RANLIB}" \
35430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35431 maintainer-clean) \
35432 || exit 1
35434 @endif utils
35438 .PHONY: configure-gnattools maybe-configure-gnattools
35439 maybe-configure-gnattools:
35440 @if gcc-bootstrap
35441 configure-gnattools: stage_current
35442 @endif gcc-bootstrap
35443 @if gnattools
35444 maybe-configure-gnattools: configure-gnattools
35445 configure-gnattools:
35446 @: $(MAKE); $(unstage)
35447 @r=`${PWD_COMMAND}`; export r; \
35448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35449 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
35450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
35451 $(HOST_EXPORTS) \
35452 echo Configuring in $(HOST_SUBDIR)/gnattools; \
35453 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
35454 case $(srcdir) in \
35455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35456 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
35457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35458 esac; \
35459 module_srcdir=gnattools; \
35460 $(SHELL) \
35461 $$s/$$module_srcdir/configure \
35462 --srcdir=$${topdir}/$$module_srcdir \
35463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35464 --target=${target_alias} \
35465 || exit 1
35466 @endif gnattools
35472 .PHONY: all-gnattools maybe-all-gnattools
35473 maybe-all-gnattools:
35474 @if gcc-bootstrap
35475 all-gnattools: stage_current
35476 @endif gcc-bootstrap
35477 @if gnattools
35478 TARGET-gnattools=all
35479 maybe-all-gnattools: all-gnattools
35480 all-gnattools: configure-gnattools
35481 @: $(MAKE); $(unstage)
35482 @r=`${PWD_COMMAND}`; export r; \
35483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35484 $(HOST_EXPORTS) \
35485 (cd $(HOST_SUBDIR)/gnattools && \
35486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35487 $(TARGET-gnattools))
35488 @endif gnattools
35493 .PHONY: check-gnattools maybe-check-gnattools
35494 maybe-check-gnattools:
35495 @if gnattools
35496 maybe-check-gnattools: check-gnattools
35498 check-gnattools:
35499 @: $(MAKE); $(unstage)
35500 @r=`${PWD_COMMAND}`; export r; \
35501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35502 $(HOST_EXPORTS) \
35503 (cd $(HOST_SUBDIR)/gnattools && \
35504 $(MAKE) $(FLAGS_TO_PASS) check)
35506 @endif gnattools
35508 .PHONY: install-gnattools maybe-install-gnattools
35509 maybe-install-gnattools:
35510 @if gnattools
35511 maybe-install-gnattools: install-gnattools
35513 install-gnattools: installdirs
35514 @: $(MAKE); $(unstage)
35515 @r=`${PWD_COMMAND}`; export r; \
35516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35517 $(HOST_EXPORTS) \
35518 (cd $(HOST_SUBDIR)/gnattools && \
35519 $(MAKE) $(FLAGS_TO_PASS) install)
35521 @endif gnattools
35523 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
35524 maybe-install-strip-gnattools:
35525 @if gnattools
35526 maybe-install-strip-gnattools: install-strip-gnattools
35528 install-strip-gnattools: installdirs
35529 @: $(MAKE); $(unstage)
35530 @r=`${PWD_COMMAND}`; export r; \
35531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35532 $(HOST_EXPORTS) \
35533 (cd $(HOST_SUBDIR)/gnattools && \
35534 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35536 @endif gnattools
35538 # Other targets (info, dvi, pdf, etc.)
35540 .PHONY: maybe-info-gnattools info-gnattools
35541 maybe-info-gnattools:
35542 @if gnattools
35543 maybe-info-gnattools: info-gnattools
35545 info-gnattools: \
35546 configure-gnattools
35547 @: $(MAKE); $(unstage)
35548 @[ -f ./gnattools/Makefile ] || exit 0; \
35549 r=`${PWD_COMMAND}`; export r; \
35550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35551 $(HOST_EXPORTS) \
35552 for flag in $(EXTRA_HOST_FLAGS) ; do \
35553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35554 done; \
35555 echo "Doing info in gnattools"; \
35556 (cd $(HOST_SUBDIR)/gnattools && \
35557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35559 "RANLIB=$${RANLIB}" \
35560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35561 info) \
35562 || exit 1
35564 @endif gnattools
35566 .PHONY: maybe-dvi-gnattools dvi-gnattools
35567 maybe-dvi-gnattools:
35568 @if gnattools
35569 maybe-dvi-gnattools: dvi-gnattools
35571 dvi-gnattools: \
35572 configure-gnattools
35573 @: $(MAKE); $(unstage)
35574 @[ -f ./gnattools/Makefile ] || exit 0; \
35575 r=`${PWD_COMMAND}`; export r; \
35576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35577 $(HOST_EXPORTS) \
35578 for flag in $(EXTRA_HOST_FLAGS) ; do \
35579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35580 done; \
35581 echo "Doing dvi in gnattools"; \
35582 (cd $(HOST_SUBDIR)/gnattools && \
35583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35585 "RANLIB=$${RANLIB}" \
35586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35587 dvi) \
35588 || exit 1
35590 @endif gnattools
35592 .PHONY: maybe-pdf-gnattools pdf-gnattools
35593 maybe-pdf-gnattools:
35594 @if gnattools
35595 maybe-pdf-gnattools: pdf-gnattools
35597 pdf-gnattools: \
35598 configure-gnattools
35599 @: $(MAKE); $(unstage)
35600 @[ -f ./gnattools/Makefile ] || exit 0; \
35601 r=`${PWD_COMMAND}`; export r; \
35602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35603 $(HOST_EXPORTS) \
35604 for flag in $(EXTRA_HOST_FLAGS) ; do \
35605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35606 done; \
35607 echo "Doing pdf in gnattools"; \
35608 (cd $(HOST_SUBDIR)/gnattools && \
35609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35611 "RANLIB=$${RANLIB}" \
35612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35613 pdf) \
35614 || exit 1
35616 @endif gnattools
35618 .PHONY: maybe-html-gnattools html-gnattools
35619 maybe-html-gnattools:
35620 @if gnattools
35621 maybe-html-gnattools: html-gnattools
35623 html-gnattools: \
35624 configure-gnattools
35625 @: $(MAKE); $(unstage)
35626 @[ -f ./gnattools/Makefile ] || exit 0; \
35627 r=`${PWD_COMMAND}`; export r; \
35628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35629 $(HOST_EXPORTS) \
35630 for flag in $(EXTRA_HOST_FLAGS) ; do \
35631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35632 done; \
35633 echo "Doing html in gnattools"; \
35634 (cd $(HOST_SUBDIR)/gnattools && \
35635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35637 "RANLIB=$${RANLIB}" \
35638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35639 html) \
35640 || exit 1
35642 @endif gnattools
35644 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35645 maybe-TAGS-gnattools:
35646 @if gnattools
35647 maybe-TAGS-gnattools: TAGS-gnattools
35649 TAGS-gnattools: \
35650 configure-gnattools
35651 @: $(MAKE); $(unstage)
35652 @[ -f ./gnattools/Makefile ] || exit 0; \
35653 r=`${PWD_COMMAND}`; export r; \
35654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35655 $(HOST_EXPORTS) \
35656 for flag in $(EXTRA_HOST_FLAGS) ; do \
35657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35658 done; \
35659 echo "Doing TAGS in gnattools"; \
35660 (cd $(HOST_SUBDIR)/gnattools && \
35661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35663 "RANLIB=$${RANLIB}" \
35664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35665 TAGS) \
35666 || exit 1
35668 @endif gnattools
35670 .PHONY: maybe-install-info-gnattools install-info-gnattools
35671 maybe-install-info-gnattools:
35672 @if gnattools
35673 maybe-install-info-gnattools: install-info-gnattools
35675 install-info-gnattools: \
35676 configure-gnattools \
35677 info-gnattools
35678 @: $(MAKE); $(unstage)
35679 @[ -f ./gnattools/Makefile ] || exit 0; \
35680 r=`${PWD_COMMAND}`; export r; \
35681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35682 $(HOST_EXPORTS) \
35683 for flag in $(EXTRA_HOST_FLAGS) ; do \
35684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35685 done; \
35686 echo "Doing install-info in gnattools"; \
35687 (cd $(HOST_SUBDIR)/gnattools && \
35688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35690 "RANLIB=$${RANLIB}" \
35691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35692 install-info) \
35693 || exit 1
35695 @endif gnattools
35697 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
35698 maybe-install-pdf-gnattools:
35699 @if gnattools
35700 maybe-install-pdf-gnattools: install-pdf-gnattools
35702 install-pdf-gnattools: \
35703 configure-gnattools \
35704 pdf-gnattools
35705 @: $(MAKE); $(unstage)
35706 @[ -f ./gnattools/Makefile ] || exit 0; \
35707 r=`${PWD_COMMAND}`; export r; \
35708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35709 $(HOST_EXPORTS) \
35710 for flag in $(EXTRA_HOST_FLAGS) ; do \
35711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35712 done; \
35713 echo "Doing install-pdf in gnattools"; \
35714 (cd $(HOST_SUBDIR)/gnattools && \
35715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35717 "RANLIB=$${RANLIB}" \
35718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35719 install-pdf) \
35720 || exit 1
35722 @endif gnattools
35724 .PHONY: maybe-install-html-gnattools install-html-gnattools
35725 maybe-install-html-gnattools:
35726 @if gnattools
35727 maybe-install-html-gnattools: install-html-gnattools
35729 install-html-gnattools: \
35730 configure-gnattools \
35731 html-gnattools
35732 @: $(MAKE); $(unstage)
35733 @[ -f ./gnattools/Makefile ] || exit 0; \
35734 r=`${PWD_COMMAND}`; export r; \
35735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35736 $(HOST_EXPORTS) \
35737 for flag in $(EXTRA_HOST_FLAGS) ; do \
35738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35739 done; \
35740 echo "Doing install-html in gnattools"; \
35741 (cd $(HOST_SUBDIR)/gnattools && \
35742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35744 "RANLIB=$${RANLIB}" \
35745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35746 install-html) \
35747 || exit 1
35749 @endif gnattools
35751 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
35752 maybe-installcheck-gnattools:
35753 @if gnattools
35754 maybe-installcheck-gnattools: installcheck-gnattools
35756 installcheck-gnattools: \
35757 configure-gnattools
35758 @: $(MAKE); $(unstage)
35759 @[ -f ./gnattools/Makefile ] || exit 0; \
35760 r=`${PWD_COMMAND}`; export r; \
35761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35762 $(HOST_EXPORTS) \
35763 for flag in $(EXTRA_HOST_FLAGS) ; do \
35764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35765 done; \
35766 echo "Doing installcheck in gnattools"; \
35767 (cd $(HOST_SUBDIR)/gnattools && \
35768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35770 "RANLIB=$${RANLIB}" \
35771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35772 installcheck) \
35773 || exit 1
35775 @endif gnattools
35777 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
35778 maybe-mostlyclean-gnattools:
35779 @if gnattools
35780 maybe-mostlyclean-gnattools: mostlyclean-gnattools
35782 mostlyclean-gnattools:
35783 @: $(MAKE); $(unstage)
35784 @[ -f ./gnattools/Makefile ] || exit 0; \
35785 r=`${PWD_COMMAND}`; export r; \
35786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35787 $(HOST_EXPORTS) \
35788 for flag in $(EXTRA_HOST_FLAGS) ; do \
35789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35790 done; \
35791 echo "Doing mostlyclean in gnattools"; \
35792 (cd $(HOST_SUBDIR)/gnattools && \
35793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35795 "RANLIB=$${RANLIB}" \
35796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35797 mostlyclean) \
35798 || exit 1
35800 @endif gnattools
35802 .PHONY: maybe-clean-gnattools clean-gnattools
35803 maybe-clean-gnattools:
35804 @if gnattools
35805 maybe-clean-gnattools: clean-gnattools
35807 clean-gnattools:
35808 @: $(MAKE); $(unstage)
35809 @[ -f ./gnattools/Makefile ] || exit 0; \
35810 r=`${PWD_COMMAND}`; export r; \
35811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35812 $(HOST_EXPORTS) \
35813 for flag in $(EXTRA_HOST_FLAGS) ; do \
35814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35815 done; \
35816 echo "Doing clean in gnattools"; \
35817 (cd $(HOST_SUBDIR)/gnattools && \
35818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35820 "RANLIB=$${RANLIB}" \
35821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35822 clean) \
35823 || exit 1
35825 @endif gnattools
35827 .PHONY: maybe-distclean-gnattools distclean-gnattools
35828 maybe-distclean-gnattools:
35829 @if gnattools
35830 maybe-distclean-gnattools: distclean-gnattools
35832 distclean-gnattools:
35833 @: $(MAKE); $(unstage)
35834 @[ -f ./gnattools/Makefile ] || exit 0; \
35835 r=`${PWD_COMMAND}`; export r; \
35836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35837 $(HOST_EXPORTS) \
35838 for flag in $(EXTRA_HOST_FLAGS) ; do \
35839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35840 done; \
35841 echo "Doing distclean in gnattools"; \
35842 (cd $(HOST_SUBDIR)/gnattools && \
35843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35845 "RANLIB=$${RANLIB}" \
35846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35847 distclean) \
35848 || exit 1
35850 @endif gnattools
35852 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
35853 maybe-maintainer-clean-gnattools:
35854 @if gnattools
35855 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
35857 maintainer-clean-gnattools:
35858 @: $(MAKE); $(unstage)
35859 @[ -f ./gnattools/Makefile ] || exit 0; \
35860 r=`${PWD_COMMAND}`; export r; \
35861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35862 $(HOST_EXPORTS) \
35863 for flag in $(EXTRA_HOST_FLAGS) ; do \
35864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35865 done; \
35866 echo "Doing maintainer-clean in gnattools"; \
35867 (cd $(HOST_SUBDIR)/gnattools && \
35868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35870 "RANLIB=$${RANLIB}" \
35871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35872 maintainer-clean) \
35873 || exit 1
35875 @endif gnattools
35879 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
35880 maybe-configure-lto-plugin:
35881 @if gcc-bootstrap
35882 configure-lto-plugin: stage_current
35883 @endif gcc-bootstrap
35884 @if lto-plugin
35885 maybe-configure-lto-plugin: configure-lto-plugin
35886 configure-lto-plugin:
35887 @r=`${PWD_COMMAND}`; export r; \
35888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35889 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35891 $(HOST_EXPORTS) \
35892 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
35893 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
35894 case $(srcdir) in \
35895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35896 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35898 esac; \
35899 module_srcdir=lto-plugin; \
35900 $(SHELL) \
35901 $$s/$$module_srcdir/configure \
35902 --srcdir=$${topdir}/$$module_srcdir \
35903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35904 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
35905 || exit 1
35906 @endif lto-plugin
35910 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
35911 maybe-configure-stage1-lto-plugin:
35912 @if lto-plugin-bootstrap
35913 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
35914 configure-stage1-lto-plugin:
35915 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35917 @r=`${PWD_COMMAND}`; export r; \
35918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35919 TFLAGS="$(STAGE1_TFLAGS)"; \
35920 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35921 $(HOST_EXPORTS) \
35922 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
35923 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
35924 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
35925 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
35926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35927 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35928 case $(srcdir) in \
35929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35930 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35932 esac; \
35933 module_srcdir=lto-plugin; \
35934 $(SHELL) $$s/$$module_srcdir/configure \
35935 --srcdir=$${topdir}/$$module_srcdir \
35936 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35937 --target=${target_alias} \
35939 $(STAGE1_CONFIGURE_FLAGS) \
35940 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35941 @endif lto-plugin-bootstrap
35943 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
35944 maybe-configure-stage2-lto-plugin:
35945 @if lto-plugin-bootstrap
35946 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
35947 configure-stage2-lto-plugin:
35948 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35949 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35950 @r=`${PWD_COMMAND}`; export r; \
35951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35952 TFLAGS="$(STAGE2_TFLAGS)"; \
35953 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35954 $(HOST_EXPORTS) \
35955 $(POSTSTAGE1_HOST_EXPORTS) \
35956 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
35957 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
35958 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
35959 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
35960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35961 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35962 case $(srcdir) in \
35963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35964 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35966 esac; \
35967 module_srcdir=lto-plugin; \
35968 $(SHELL) $$s/$$module_srcdir/configure \
35969 --srcdir=$${topdir}/$$module_srcdir \
35970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35971 --target=${target_alias} \
35972 --with-build-libsubdir=$(HOST_SUBDIR) \
35973 $(STAGE2_CONFIGURE_FLAGS) \
35974 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35975 @endif lto-plugin-bootstrap
35977 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
35978 maybe-configure-stage3-lto-plugin:
35979 @if lto-plugin-bootstrap
35980 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
35981 configure-stage3-lto-plugin:
35982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35984 @r=`${PWD_COMMAND}`; export r; \
35985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35986 TFLAGS="$(STAGE3_TFLAGS)"; \
35987 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35988 $(HOST_EXPORTS) \
35989 $(POSTSTAGE1_HOST_EXPORTS) \
35990 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
35991 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
35992 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
35993 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
35994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35995 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35996 case $(srcdir) in \
35997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35998 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36000 esac; \
36001 module_srcdir=lto-plugin; \
36002 $(SHELL) $$s/$$module_srcdir/configure \
36003 --srcdir=$${topdir}/$$module_srcdir \
36004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36005 --target=${target_alias} \
36006 --with-build-libsubdir=$(HOST_SUBDIR) \
36007 $(STAGE3_CONFIGURE_FLAGS) \
36008 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36009 @endif lto-plugin-bootstrap
36011 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
36012 maybe-configure-stage4-lto-plugin:
36013 @if lto-plugin-bootstrap
36014 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
36015 configure-stage4-lto-plugin:
36016 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36018 @r=`${PWD_COMMAND}`; export r; \
36019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36020 TFLAGS="$(STAGE4_TFLAGS)"; \
36021 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36022 $(HOST_EXPORTS) \
36023 $(POSTSTAGE1_HOST_EXPORTS) \
36024 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36025 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36026 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36027 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36029 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36030 case $(srcdir) in \
36031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36032 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36034 esac; \
36035 module_srcdir=lto-plugin; \
36036 $(SHELL) $$s/$$module_srcdir/configure \
36037 --srcdir=$${topdir}/$$module_srcdir \
36038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36039 --target=${target_alias} \
36040 --with-build-libsubdir=$(HOST_SUBDIR) \
36041 $(STAGE4_CONFIGURE_FLAGS) \
36042 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36043 @endif lto-plugin-bootstrap
36045 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36046 maybe-configure-stageprofile-lto-plugin:
36047 @if lto-plugin-bootstrap
36048 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36049 configure-stageprofile-lto-plugin:
36050 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36052 @r=`${PWD_COMMAND}`; export r; \
36053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36054 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36055 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36056 $(HOST_EXPORTS) \
36057 $(POSTSTAGE1_HOST_EXPORTS) \
36058 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36059 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36060 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36061 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36063 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36064 case $(srcdir) in \
36065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36066 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36068 esac; \
36069 module_srcdir=lto-plugin; \
36070 $(SHELL) $$s/$$module_srcdir/configure \
36071 --srcdir=$${topdir}/$$module_srcdir \
36072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36073 --target=${target_alias} \
36074 --with-build-libsubdir=$(HOST_SUBDIR) \
36075 $(STAGEprofile_CONFIGURE_FLAGS) \
36076 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36077 @endif lto-plugin-bootstrap
36079 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36080 maybe-configure-stagetrain-lto-plugin:
36081 @if lto-plugin-bootstrap
36082 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36083 configure-stagetrain-lto-plugin:
36084 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36086 @r=`${PWD_COMMAND}`; export r; \
36087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36088 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36089 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36090 $(HOST_EXPORTS) \
36091 $(POSTSTAGE1_HOST_EXPORTS) \
36092 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36093 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36094 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36095 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36097 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36098 case $(srcdir) in \
36099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36100 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36102 esac; \
36103 module_srcdir=lto-plugin; \
36104 $(SHELL) $$s/$$module_srcdir/configure \
36105 --srcdir=$${topdir}/$$module_srcdir \
36106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36107 --target=${target_alias} \
36108 --with-build-libsubdir=$(HOST_SUBDIR) \
36109 $(STAGEtrain_CONFIGURE_FLAGS) \
36110 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36111 @endif lto-plugin-bootstrap
36113 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36114 maybe-configure-stagefeedback-lto-plugin:
36115 @if lto-plugin-bootstrap
36116 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36117 configure-stagefeedback-lto-plugin:
36118 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36119 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36120 @r=`${PWD_COMMAND}`; export r; \
36121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36122 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36123 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36124 $(HOST_EXPORTS) \
36125 $(POSTSTAGE1_HOST_EXPORTS) \
36126 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36127 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36128 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36129 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36131 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36132 case $(srcdir) in \
36133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36134 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36136 esac; \
36137 module_srcdir=lto-plugin; \
36138 $(SHELL) $$s/$$module_srcdir/configure \
36139 --srcdir=$${topdir}/$$module_srcdir \
36140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36141 --target=${target_alias} \
36142 --with-build-libsubdir=$(HOST_SUBDIR) \
36143 $(STAGEfeedback_CONFIGURE_FLAGS) \
36144 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36145 @endif lto-plugin-bootstrap
36147 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36148 maybe-configure-stageautoprofile-lto-plugin:
36149 @if lto-plugin-bootstrap
36150 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36151 configure-stageautoprofile-lto-plugin:
36152 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36154 @r=`${PWD_COMMAND}`; export r; \
36155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36156 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36157 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36158 $(HOST_EXPORTS) \
36159 $(POSTSTAGE1_HOST_EXPORTS) \
36160 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36161 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36162 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36163 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36165 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36166 case $(srcdir) in \
36167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36168 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36170 esac; \
36171 module_srcdir=lto-plugin; \
36172 $(SHELL) $$s/$$module_srcdir/configure \
36173 --srcdir=$${topdir}/$$module_srcdir \
36174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36175 --target=${target_alias} \
36176 --with-build-libsubdir=$(HOST_SUBDIR) \
36177 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36178 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36179 @endif lto-plugin-bootstrap
36181 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36182 maybe-configure-stageautofeedback-lto-plugin:
36183 @if lto-plugin-bootstrap
36184 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36185 configure-stageautofeedback-lto-plugin:
36186 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36188 @r=`${PWD_COMMAND}`; export r; \
36189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36190 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36191 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36192 $(HOST_EXPORTS) \
36193 $(POSTSTAGE1_HOST_EXPORTS) \
36194 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36195 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36196 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36197 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36199 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36200 case $(srcdir) in \
36201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36202 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36204 esac; \
36205 module_srcdir=lto-plugin; \
36206 $(SHELL) $$s/$$module_srcdir/configure \
36207 --srcdir=$${topdir}/$$module_srcdir \
36208 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36209 --target=${target_alias} \
36210 --with-build-libsubdir=$(HOST_SUBDIR) \
36211 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36212 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36213 @endif lto-plugin-bootstrap
36219 .PHONY: all-lto-plugin maybe-all-lto-plugin
36220 maybe-all-lto-plugin:
36221 @if gcc-bootstrap
36222 all-lto-plugin: stage_current
36223 @endif gcc-bootstrap
36224 @if lto-plugin
36225 TARGET-lto-plugin=all
36226 maybe-all-lto-plugin: all-lto-plugin
36227 all-lto-plugin: configure-lto-plugin
36228 @r=`${PWD_COMMAND}`; export r; \
36229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36230 $(HOST_EXPORTS) \
36231 (cd $(HOST_SUBDIR)/lto-plugin && \
36232 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36233 $(TARGET-lto-plugin))
36234 @endif lto-plugin
36238 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36239 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36240 maybe-all-stage1-lto-plugin:
36241 maybe-clean-stage1-lto-plugin:
36242 @if lto-plugin-bootstrap
36243 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36244 all-stage1: all-stage1-lto-plugin
36245 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36246 all-stage1-lto-plugin: configure-stage1-lto-plugin
36247 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36248 @r=`${PWD_COMMAND}`; export r; \
36249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36250 TFLAGS="$(STAGE1_TFLAGS)"; \
36251 $(HOST_EXPORTS) \
36252 cd $(HOST_SUBDIR)/lto-plugin && \
36254 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36255 CFLAGS="$(STAGE1_CFLAGS)" \
36256 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36257 LIBCFLAGS="$(LIBCFLAGS)" \
36258 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36259 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36260 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36261 $(EXTRA_HOST_FLAGS) \
36262 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36263 TFLAGS="$(STAGE1_TFLAGS)" \
36264 $(TARGET-stage1-lto-plugin)
36266 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36267 clean-stage1: clean-stage1-lto-plugin
36268 clean-stage1-lto-plugin:
36269 @if [ $(current_stage) = stage1 ]; then \
36270 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36271 else \
36272 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36273 $(MAKE) stage1-start; \
36274 fi; \
36275 cd $(HOST_SUBDIR)/lto-plugin && \
36276 $(MAKE) $(EXTRA_HOST_FLAGS) \
36277 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36278 @endif lto-plugin-bootstrap
36281 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36282 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36283 maybe-all-stage2-lto-plugin:
36284 maybe-clean-stage2-lto-plugin:
36285 @if lto-plugin-bootstrap
36286 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36287 all-stage2: all-stage2-lto-plugin
36288 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36289 all-stage2-lto-plugin: configure-stage2-lto-plugin
36290 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36291 @r=`${PWD_COMMAND}`; export r; \
36292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36293 TFLAGS="$(STAGE2_TFLAGS)"; \
36294 $(HOST_EXPORTS) \
36295 $(POSTSTAGE1_HOST_EXPORTS) \
36296 cd $(HOST_SUBDIR)/lto-plugin && \
36298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36299 CFLAGS="$(STAGE2_CFLAGS)" \
36300 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
36301 LIBCFLAGS="$(STAGE2_CFLAGS)" \
36302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36306 TFLAGS="$(STAGE2_TFLAGS)" \
36307 $(TARGET-stage2-lto-plugin)
36309 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
36310 clean-stage2: clean-stage2-lto-plugin
36311 clean-stage2-lto-plugin:
36312 @if [ $(current_stage) = stage2 ]; then \
36313 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36314 else \
36315 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
36316 $(MAKE) stage2-start; \
36317 fi; \
36318 cd $(HOST_SUBDIR)/lto-plugin && \
36319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36320 @endif lto-plugin-bootstrap
36323 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
36324 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
36325 maybe-all-stage3-lto-plugin:
36326 maybe-clean-stage3-lto-plugin:
36327 @if lto-plugin-bootstrap
36328 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
36329 all-stage3: all-stage3-lto-plugin
36330 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
36331 all-stage3-lto-plugin: configure-stage3-lto-plugin
36332 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36333 @r=`${PWD_COMMAND}`; export r; \
36334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36335 TFLAGS="$(STAGE3_TFLAGS)"; \
36336 $(HOST_EXPORTS) \
36337 $(POSTSTAGE1_HOST_EXPORTS) \
36338 cd $(HOST_SUBDIR)/lto-plugin && \
36340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36341 CFLAGS="$(STAGE3_CFLAGS)" \
36342 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
36343 LIBCFLAGS="$(STAGE3_CFLAGS)" \
36344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36347 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36348 TFLAGS="$(STAGE3_TFLAGS)" \
36349 $(TARGET-stage3-lto-plugin)
36351 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
36352 clean-stage3: clean-stage3-lto-plugin
36353 clean-stage3-lto-plugin:
36354 @if [ $(current_stage) = stage3 ]; then \
36355 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36356 else \
36357 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
36358 $(MAKE) stage3-start; \
36359 fi; \
36360 cd $(HOST_SUBDIR)/lto-plugin && \
36361 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36362 @endif lto-plugin-bootstrap
36365 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
36366 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
36367 maybe-all-stage4-lto-plugin:
36368 maybe-clean-stage4-lto-plugin:
36369 @if lto-plugin-bootstrap
36370 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
36371 all-stage4: all-stage4-lto-plugin
36372 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
36373 all-stage4-lto-plugin: configure-stage4-lto-plugin
36374 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36375 @r=`${PWD_COMMAND}`; export r; \
36376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36377 TFLAGS="$(STAGE4_TFLAGS)"; \
36378 $(HOST_EXPORTS) \
36379 $(POSTSTAGE1_HOST_EXPORTS) \
36380 cd $(HOST_SUBDIR)/lto-plugin && \
36382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36383 CFLAGS="$(STAGE4_CFLAGS)" \
36384 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
36385 LIBCFLAGS="$(STAGE4_CFLAGS)" \
36386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36390 TFLAGS="$(STAGE4_TFLAGS)" \
36391 $(TARGET-stage4-lto-plugin)
36393 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
36394 clean-stage4: clean-stage4-lto-plugin
36395 clean-stage4-lto-plugin:
36396 @if [ $(current_stage) = stage4 ]; then \
36397 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36398 else \
36399 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
36400 $(MAKE) stage4-start; \
36401 fi; \
36402 cd $(HOST_SUBDIR)/lto-plugin && \
36403 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36404 @endif lto-plugin-bootstrap
36407 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
36408 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
36409 maybe-all-stageprofile-lto-plugin:
36410 maybe-clean-stageprofile-lto-plugin:
36411 @if lto-plugin-bootstrap
36412 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
36413 all-stageprofile: all-stageprofile-lto-plugin
36414 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
36415 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36416 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36417 @r=`${PWD_COMMAND}`; export r; \
36418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36419 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36420 $(HOST_EXPORTS) \
36421 $(POSTSTAGE1_HOST_EXPORTS) \
36422 cd $(HOST_SUBDIR)/lto-plugin && \
36424 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36425 CFLAGS="$(STAGEprofile_CFLAGS)" \
36426 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
36427 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
36428 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36429 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36430 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36431 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36432 TFLAGS="$(STAGEprofile_TFLAGS)" \
36433 $(TARGET-stageprofile-lto-plugin)
36435 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
36436 clean-stageprofile: clean-stageprofile-lto-plugin
36437 clean-stageprofile-lto-plugin:
36438 @if [ $(current_stage) = stageprofile ]; then \
36439 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36440 else \
36441 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
36442 $(MAKE) stageprofile-start; \
36443 fi; \
36444 cd $(HOST_SUBDIR)/lto-plugin && \
36445 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36446 @endif lto-plugin-bootstrap
36449 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
36450 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
36451 maybe-all-stagetrain-lto-plugin:
36452 maybe-clean-stagetrain-lto-plugin:
36453 @if lto-plugin-bootstrap
36454 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
36455 all-stagetrain: all-stagetrain-lto-plugin
36456 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
36457 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36458 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36459 @r=`${PWD_COMMAND}`; export r; \
36460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36461 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36462 $(HOST_EXPORTS) \
36463 $(POSTSTAGE1_HOST_EXPORTS) \
36464 cd $(HOST_SUBDIR)/lto-plugin && \
36466 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36467 CFLAGS="$(STAGEtrain_CFLAGS)" \
36468 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
36469 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
36470 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36471 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36472 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36473 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36474 TFLAGS="$(STAGEtrain_TFLAGS)" \
36475 $(TARGET-stagetrain-lto-plugin)
36477 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
36478 clean-stagetrain: clean-stagetrain-lto-plugin
36479 clean-stagetrain-lto-plugin:
36480 @if [ $(current_stage) = stagetrain ]; then \
36481 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36482 else \
36483 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
36484 $(MAKE) stagetrain-start; \
36485 fi; \
36486 cd $(HOST_SUBDIR)/lto-plugin && \
36487 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36488 @endif lto-plugin-bootstrap
36491 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
36492 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
36493 maybe-all-stagefeedback-lto-plugin:
36494 maybe-clean-stagefeedback-lto-plugin:
36495 @if lto-plugin-bootstrap
36496 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
36497 all-stagefeedback: all-stagefeedback-lto-plugin
36498 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
36499 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36500 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36501 @r=`${PWD_COMMAND}`; export r; \
36502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36503 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36504 $(HOST_EXPORTS) \
36505 $(POSTSTAGE1_HOST_EXPORTS) \
36506 cd $(HOST_SUBDIR)/lto-plugin && \
36508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36509 CFLAGS="$(STAGEfeedback_CFLAGS)" \
36510 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
36511 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
36512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36516 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36517 $(TARGET-stagefeedback-lto-plugin)
36519 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
36520 clean-stagefeedback: clean-stagefeedback-lto-plugin
36521 clean-stagefeedback-lto-plugin:
36522 @if [ $(current_stage) = stagefeedback ]; then \
36523 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36524 else \
36525 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
36526 $(MAKE) stagefeedback-start; \
36527 fi; \
36528 cd $(HOST_SUBDIR)/lto-plugin && \
36529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36530 @endif lto-plugin-bootstrap
36533 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
36534 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
36535 maybe-all-stageautoprofile-lto-plugin:
36536 maybe-clean-stageautoprofile-lto-plugin:
36537 @if lto-plugin-bootstrap
36538 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
36539 all-stageautoprofile: all-stageautoprofile-lto-plugin
36540 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
36541 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36542 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36543 @r=`${PWD_COMMAND}`; export r; \
36544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36545 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36546 $(HOST_EXPORTS) \
36547 $(POSTSTAGE1_HOST_EXPORTS) \
36548 cd $(HOST_SUBDIR)/lto-plugin && \
36549 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36551 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
36552 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
36553 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
36554 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36555 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36556 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36557 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36558 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36559 $(TARGET-stageautoprofile-lto-plugin)
36561 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
36562 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
36563 clean-stageautoprofile-lto-plugin:
36564 @if [ $(current_stage) = stageautoprofile ]; then \
36565 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36566 else \
36567 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
36568 $(MAKE) stageautoprofile-start; \
36569 fi; \
36570 cd $(HOST_SUBDIR)/lto-plugin && \
36571 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36572 @endif lto-plugin-bootstrap
36575 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
36576 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
36577 maybe-all-stageautofeedback-lto-plugin:
36578 maybe-clean-stageautofeedback-lto-plugin:
36579 @if lto-plugin-bootstrap
36580 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
36581 all-stageautofeedback: all-stageautofeedback-lto-plugin
36582 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
36583 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36584 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36585 @r=`${PWD_COMMAND}`; export r; \
36586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36587 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36588 $(HOST_EXPORTS) \
36589 $(POSTSTAGE1_HOST_EXPORTS) \
36590 cd $(HOST_SUBDIR)/lto-plugin && \
36592 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36593 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
36594 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
36595 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
36596 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36597 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36598 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36599 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36600 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36601 $(TARGET-stageautofeedback-lto-plugin)
36603 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
36604 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
36605 clean-stageautofeedback-lto-plugin:
36606 @if [ $(current_stage) = stageautofeedback ]; then \
36607 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36608 else \
36609 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
36610 $(MAKE) stageautofeedback-start; \
36611 fi; \
36612 cd $(HOST_SUBDIR)/lto-plugin && \
36613 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36614 @endif lto-plugin-bootstrap
36620 .PHONY: check-lto-plugin maybe-check-lto-plugin
36621 maybe-check-lto-plugin:
36622 @if lto-plugin
36623 maybe-check-lto-plugin: check-lto-plugin
36625 check-lto-plugin:
36626 @: $(MAKE); $(unstage)
36627 @r=`${PWD_COMMAND}`; export r; \
36628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36629 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
36630 (cd $(HOST_SUBDIR)/lto-plugin && \
36631 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
36633 @endif lto-plugin
36635 .PHONY: install-lto-plugin maybe-install-lto-plugin
36636 maybe-install-lto-plugin:
36637 @if lto-plugin
36638 maybe-install-lto-plugin: install-lto-plugin
36640 install-lto-plugin: installdirs
36641 @: $(MAKE); $(unstage)
36642 @r=`${PWD_COMMAND}`; export r; \
36643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36644 $(HOST_EXPORTS) \
36645 (cd $(HOST_SUBDIR)/lto-plugin && \
36646 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
36648 @endif lto-plugin
36650 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
36651 maybe-install-strip-lto-plugin:
36652 @if lto-plugin
36653 maybe-install-strip-lto-plugin: install-strip-lto-plugin
36655 install-strip-lto-plugin: installdirs
36656 @: $(MAKE); $(unstage)
36657 @r=`${PWD_COMMAND}`; export r; \
36658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36659 $(HOST_EXPORTS) \
36660 (cd $(HOST_SUBDIR)/lto-plugin && \
36661 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
36663 @endif lto-plugin
36665 # Other targets (info, dvi, pdf, etc.)
36667 .PHONY: maybe-info-lto-plugin info-lto-plugin
36668 maybe-info-lto-plugin:
36669 @if lto-plugin
36670 maybe-info-lto-plugin: info-lto-plugin
36672 info-lto-plugin: \
36673 configure-lto-plugin
36674 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36675 r=`${PWD_COMMAND}`; export r; \
36676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36677 $(HOST_EXPORTS) \
36678 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36680 done; \
36681 echo "Doing info in lto-plugin"; \
36682 (cd $(HOST_SUBDIR)/lto-plugin && \
36683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36685 "RANLIB=$${RANLIB}" \
36686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36687 info) \
36688 || exit 1
36690 @endif lto-plugin
36692 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
36693 maybe-dvi-lto-plugin:
36694 @if lto-plugin
36695 maybe-dvi-lto-plugin: dvi-lto-plugin
36697 dvi-lto-plugin: \
36698 configure-lto-plugin
36699 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36700 r=`${PWD_COMMAND}`; export r; \
36701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36702 $(HOST_EXPORTS) \
36703 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36705 done; \
36706 echo "Doing dvi in lto-plugin"; \
36707 (cd $(HOST_SUBDIR)/lto-plugin && \
36708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36710 "RANLIB=$${RANLIB}" \
36711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36712 dvi) \
36713 || exit 1
36715 @endif lto-plugin
36717 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
36718 maybe-pdf-lto-plugin:
36719 @if lto-plugin
36720 maybe-pdf-lto-plugin: pdf-lto-plugin
36722 pdf-lto-plugin: \
36723 configure-lto-plugin
36724 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36725 r=`${PWD_COMMAND}`; export r; \
36726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36727 $(HOST_EXPORTS) \
36728 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36730 done; \
36731 echo "Doing pdf in lto-plugin"; \
36732 (cd $(HOST_SUBDIR)/lto-plugin && \
36733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36735 "RANLIB=$${RANLIB}" \
36736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36737 pdf) \
36738 || exit 1
36740 @endif lto-plugin
36742 .PHONY: maybe-html-lto-plugin html-lto-plugin
36743 maybe-html-lto-plugin:
36744 @if lto-plugin
36745 maybe-html-lto-plugin: html-lto-plugin
36747 html-lto-plugin: \
36748 configure-lto-plugin
36749 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36750 r=`${PWD_COMMAND}`; export r; \
36751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36752 $(HOST_EXPORTS) \
36753 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36755 done; \
36756 echo "Doing html in lto-plugin"; \
36757 (cd $(HOST_SUBDIR)/lto-plugin && \
36758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36760 "RANLIB=$${RANLIB}" \
36761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36762 html) \
36763 || exit 1
36765 @endif lto-plugin
36767 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
36768 maybe-TAGS-lto-plugin:
36769 @if lto-plugin
36770 maybe-TAGS-lto-plugin: TAGS-lto-plugin
36772 TAGS-lto-plugin: \
36773 configure-lto-plugin
36774 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36775 r=`${PWD_COMMAND}`; export r; \
36776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36777 $(HOST_EXPORTS) \
36778 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36780 done; \
36781 echo "Doing TAGS in lto-plugin"; \
36782 (cd $(HOST_SUBDIR)/lto-plugin && \
36783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36785 "RANLIB=$${RANLIB}" \
36786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36787 TAGS) \
36788 || exit 1
36790 @endif lto-plugin
36792 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
36793 maybe-install-info-lto-plugin:
36794 @if lto-plugin
36795 maybe-install-info-lto-plugin: install-info-lto-plugin
36797 install-info-lto-plugin: \
36798 configure-lto-plugin \
36799 info-lto-plugin
36800 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36801 r=`${PWD_COMMAND}`; export r; \
36802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36803 $(HOST_EXPORTS) \
36804 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36806 done; \
36807 echo "Doing install-info in lto-plugin"; \
36808 (cd $(HOST_SUBDIR)/lto-plugin && \
36809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36811 "RANLIB=$${RANLIB}" \
36812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36813 install-info) \
36814 || exit 1
36816 @endif lto-plugin
36818 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
36819 maybe-install-pdf-lto-plugin:
36820 @if lto-plugin
36821 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
36823 install-pdf-lto-plugin: \
36824 configure-lto-plugin \
36825 pdf-lto-plugin
36826 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36827 r=`${PWD_COMMAND}`; export r; \
36828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36829 $(HOST_EXPORTS) \
36830 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36832 done; \
36833 echo "Doing install-pdf in lto-plugin"; \
36834 (cd $(HOST_SUBDIR)/lto-plugin && \
36835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36837 "RANLIB=$${RANLIB}" \
36838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36839 install-pdf) \
36840 || exit 1
36842 @endif lto-plugin
36844 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
36845 maybe-install-html-lto-plugin:
36846 @if lto-plugin
36847 maybe-install-html-lto-plugin: install-html-lto-plugin
36849 install-html-lto-plugin: \
36850 configure-lto-plugin \
36851 html-lto-plugin
36852 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36853 r=`${PWD_COMMAND}`; export r; \
36854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36855 $(HOST_EXPORTS) \
36856 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36858 done; \
36859 echo "Doing install-html in lto-plugin"; \
36860 (cd $(HOST_SUBDIR)/lto-plugin && \
36861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36863 "RANLIB=$${RANLIB}" \
36864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36865 install-html) \
36866 || exit 1
36868 @endif lto-plugin
36870 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
36871 maybe-installcheck-lto-plugin:
36872 @if lto-plugin
36873 maybe-installcheck-lto-plugin: installcheck-lto-plugin
36875 installcheck-lto-plugin: \
36876 configure-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 installcheck 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 installcheck) \
36891 || exit 1
36893 @endif lto-plugin
36895 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
36896 maybe-mostlyclean-lto-plugin:
36897 @if lto-plugin
36898 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
36900 mostlyclean-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 mostlyclean 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 mostlyclean) \
36915 || exit 1
36917 @endif lto-plugin
36919 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
36920 maybe-clean-lto-plugin:
36921 @if lto-plugin
36922 maybe-clean-lto-plugin: clean-lto-plugin
36924 clean-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 clean 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 clean) \
36939 || exit 1
36941 @endif lto-plugin
36943 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
36944 maybe-distclean-lto-plugin:
36945 @if lto-plugin
36946 maybe-distclean-lto-plugin: distclean-lto-plugin
36948 distclean-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 distclean 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 distclean) \
36963 || exit 1
36965 @endif lto-plugin
36967 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
36968 maybe-maintainer-clean-lto-plugin:
36969 @if lto-plugin
36970 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
36972 maintainer-clean-lto-plugin:
36973 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36974 r=`${PWD_COMMAND}`; export r; \
36975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36976 $(HOST_EXPORTS) \
36977 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36979 done; \
36980 echo "Doing maintainer-clean in lto-plugin"; \
36981 (cd $(HOST_SUBDIR)/lto-plugin && \
36982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36984 "RANLIB=$${RANLIB}" \
36985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36986 maintainer-clean) \
36987 || exit 1
36989 @endif lto-plugin
36993 .PHONY: configure-libcc1 maybe-configure-libcc1
36994 maybe-configure-libcc1:
36995 @if gcc-bootstrap
36996 configure-libcc1: stage_current
36997 @endif gcc-bootstrap
36998 @if libcc1
36999 maybe-configure-libcc1: configure-libcc1
37000 configure-libcc1:
37001 @: $(MAKE); $(unstage)
37002 @r=`${PWD_COMMAND}`; export r; \
37003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37004 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
37005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
37006 $(HOST_EXPORTS) \
37007 echo Configuring in $(HOST_SUBDIR)/libcc1; \
37008 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
37009 case $(srcdir) in \
37010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37011 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
37012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37013 esac; \
37014 module_srcdir=libcc1; \
37015 $(SHELL) \
37016 $$s/$$module_srcdir/configure \
37017 --srcdir=$${topdir}/$$module_srcdir \
37018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37019 --target=${target_alias} --enable-shared \
37020 || exit 1
37021 @endif libcc1
37027 .PHONY: all-libcc1 maybe-all-libcc1
37028 maybe-all-libcc1:
37029 @if gcc-bootstrap
37030 all-libcc1: stage_current
37031 @endif gcc-bootstrap
37032 @if libcc1
37033 TARGET-libcc1=all
37034 maybe-all-libcc1: all-libcc1
37035 all-libcc1: configure-libcc1
37036 @: $(MAKE); $(unstage)
37037 @r=`${PWD_COMMAND}`; export r; \
37038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37039 $(HOST_EXPORTS) \
37040 (cd $(HOST_SUBDIR)/libcc1 && \
37041 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37042 $(TARGET-libcc1))
37043 @endif libcc1
37048 .PHONY: check-libcc1 maybe-check-libcc1
37049 maybe-check-libcc1:
37050 @if libcc1
37051 maybe-check-libcc1: check-libcc1
37053 check-libcc1:
37054 @: $(MAKE); $(unstage)
37055 @r=`${PWD_COMMAND}`; export r; \
37056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37057 $(HOST_EXPORTS) \
37058 (cd $(HOST_SUBDIR)/libcc1 && \
37059 $(MAKE) $(FLAGS_TO_PASS) check)
37061 @endif libcc1
37063 .PHONY: install-libcc1 maybe-install-libcc1
37064 maybe-install-libcc1:
37065 @if libcc1
37066 maybe-install-libcc1: install-libcc1
37068 install-libcc1: installdirs
37069 @: $(MAKE); $(unstage)
37070 @r=`${PWD_COMMAND}`; export r; \
37071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37072 $(HOST_EXPORTS) \
37073 (cd $(HOST_SUBDIR)/libcc1 && \
37074 $(MAKE) $(FLAGS_TO_PASS) install)
37076 @endif libcc1
37078 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37079 maybe-install-strip-libcc1:
37080 @if libcc1
37081 maybe-install-strip-libcc1: install-strip-libcc1
37083 install-strip-libcc1: installdirs
37084 @: $(MAKE); $(unstage)
37085 @r=`${PWD_COMMAND}`; export r; \
37086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37087 $(HOST_EXPORTS) \
37088 (cd $(HOST_SUBDIR)/libcc1 && \
37089 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37091 @endif libcc1
37093 # Other targets (info, dvi, pdf, etc.)
37095 .PHONY: maybe-info-libcc1 info-libcc1
37096 maybe-info-libcc1:
37097 @if libcc1
37098 maybe-info-libcc1: info-libcc1
37100 info-libcc1: \
37101 configure-libcc1
37102 @: $(MAKE); $(unstage)
37103 @[ -f ./libcc1/Makefile ] || exit 0; \
37104 r=`${PWD_COMMAND}`; export r; \
37105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37106 $(HOST_EXPORTS) \
37107 for flag in $(EXTRA_HOST_FLAGS) ; do \
37108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37109 done; \
37110 echo "Doing info in libcc1"; \
37111 (cd $(HOST_SUBDIR)/libcc1 && \
37112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37114 "RANLIB=$${RANLIB}" \
37115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37116 info) \
37117 || exit 1
37119 @endif libcc1
37121 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37122 maybe-dvi-libcc1:
37123 @if libcc1
37124 maybe-dvi-libcc1: dvi-libcc1
37126 dvi-libcc1: \
37127 configure-libcc1
37128 @: $(MAKE); $(unstage)
37129 @[ -f ./libcc1/Makefile ] || exit 0; \
37130 r=`${PWD_COMMAND}`; export r; \
37131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37132 $(HOST_EXPORTS) \
37133 for flag in $(EXTRA_HOST_FLAGS) ; do \
37134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37135 done; \
37136 echo "Doing dvi in libcc1"; \
37137 (cd $(HOST_SUBDIR)/libcc1 && \
37138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37140 "RANLIB=$${RANLIB}" \
37141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37142 dvi) \
37143 || exit 1
37145 @endif libcc1
37147 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37148 maybe-pdf-libcc1:
37149 @if libcc1
37150 maybe-pdf-libcc1: pdf-libcc1
37152 pdf-libcc1: \
37153 configure-libcc1
37154 @: $(MAKE); $(unstage)
37155 @[ -f ./libcc1/Makefile ] || exit 0; \
37156 r=`${PWD_COMMAND}`; export r; \
37157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37158 $(HOST_EXPORTS) \
37159 for flag in $(EXTRA_HOST_FLAGS) ; do \
37160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37161 done; \
37162 echo "Doing pdf in libcc1"; \
37163 (cd $(HOST_SUBDIR)/libcc1 && \
37164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37166 "RANLIB=$${RANLIB}" \
37167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37168 pdf) \
37169 || exit 1
37171 @endif libcc1
37173 .PHONY: maybe-html-libcc1 html-libcc1
37174 maybe-html-libcc1:
37175 @if libcc1
37176 maybe-html-libcc1: html-libcc1
37178 html-libcc1: \
37179 configure-libcc1
37180 @: $(MAKE); $(unstage)
37181 @[ -f ./libcc1/Makefile ] || exit 0; \
37182 r=`${PWD_COMMAND}`; export r; \
37183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37184 $(HOST_EXPORTS) \
37185 for flag in $(EXTRA_HOST_FLAGS) ; do \
37186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37187 done; \
37188 echo "Doing html in libcc1"; \
37189 (cd $(HOST_SUBDIR)/libcc1 && \
37190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37192 "RANLIB=$${RANLIB}" \
37193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37194 html) \
37195 || exit 1
37197 @endif libcc1
37199 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37200 maybe-TAGS-libcc1:
37201 @if libcc1
37202 maybe-TAGS-libcc1: TAGS-libcc1
37204 TAGS-libcc1: \
37205 configure-libcc1
37206 @: $(MAKE); $(unstage)
37207 @[ -f ./libcc1/Makefile ] || exit 0; \
37208 r=`${PWD_COMMAND}`; export r; \
37209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37210 $(HOST_EXPORTS) \
37211 for flag in $(EXTRA_HOST_FLAGS) ; do \
37212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37213 done; \
37214 echo "Doing TAGS in libcc1"; \
37215 (cd $(HOST_SUBDIR)/libcc1 && \
37216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37218 "RANLIB=$${RANLIB}" \
37219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37220 TAGS) \
37221 || exit 1
37223 @endif libcc1
37225 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37226 maybe-install-info-libcc1:
37227 @if libcc1
37228 maybe-install-info-libcc1: install-info-libcc1
37230 install-info-libcc1: \
37231 configure-libcc1 \
37232 info-libcc1
37233 @: $(MAKE); $(unstage)
37234 @[ -f ./libcc1/Makefile ] || exit 0; \
37235 r=`${PWD_COMMAND}`; export r; \
37236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37237 $(HOST_EXPORTS) \
37238 for flag in $(EXTRA_HOST_FLAGS) ; do \
37239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37240 done; \
37241 echo "Doing install-info in libcc1"; \
37242 (cd $(HOST_SUBDIR)/libcc1 && \
37243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37245 "RANLIB=$${RANLIB}" \
37246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37247 install-info) \
37248 || exit 1
37250 @endif libcc1
37252 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37253 maybe-install-pdf-libcc1:
37254 @if libcc1
37255 maybe-install-pdf-libcc1: install-pdf-libcc1
37257 install-pdf-libcc1: \
37258 configure-libcc1 \
37259 pdf-libcc1
37260 @: $(MAKE); $(unstage)
37261 @[ -f ./libcc1/Makefile ] || exit 0; \
37262 r=`${PWD_COMMAND}`; export r; \
37263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37264 $(HOST_EXPORTS) \
37265 for flag in $(EXTRA_HOST_FLAGS) ; do \
37266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37267 done; \
37268 echo "Doing install-pdf in libcc1"; \
37269 (cd $(HOST_SUBDIR)/libcc1 && \
37270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37272 "RANLIB=$${RANLIB}" \
37273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37274 install-pdf) \
37275 || exit 1
37277 @endif libcc1
37279 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37280 maybe-install-html-libcc1:
37281 @if libcc1
37282 maybe-install-html-libcc1: install-html-libcc1
37284 install-html-libcc1: \
37285 configure-libcc1 \
37286 html-libcc1
37287 @: $(MAKE); $(unstage)
37288 @[ -f ./libcc1/Makefile ] || exit 0; \
37289 r=`${PWD_COMMAND}`; export r; \
37290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37291 $(HOST_EXPORTS) \
37292 for flag in $(EXTRA_HOST_FLAGS) ; do \
37293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37294 done; \
37295 echo "Doing install-html in libcc1"; \
37296 (cd $(HOST_SUBDIR)/libcc1 && \
37297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37299 "RANLIB=$${RANLIB}" \
37300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37301 install-html) \
37302 || exit 1
37304 @endif libcc1
37306 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
37307 maybe-installcheck-libcc1:
37308 @if libcc1
37309 maybe-installcheck-libcc1: installcheck-libcc1
37311 installcheck-libcc1: \
37312 configure-libcc1
37313 @: $(MAKE); $(unstage)
37314 @[ -f ./libcc1/Makefile ] || exit 0; \
37315 r=`${PWD_COMMAND}`; export r; \
37316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37317 $(HOST_EXPORTS) \
37318 for flag in $(EXTRA_HOST_FLAGS) ; do \
37319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37320 done; \
37321 echo "Doing installcheck in libcc1"; \
37322 (cd $(HOST_SUBDIR)/libcc1 && \
37323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37325 "RANLIB=$${RANLIB}" \
37326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37327 installcheck) \
37328 || exit 1
37330 @endif libcc1
37332 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
37333 maybe-mostlyclean-libcc1:
37334 @if libcc1
37335 maybe-mostlyclean-libcc1: mostlyclean-libcc1
37337 mostlyclean-libcc1:
37338 @: $(MAKE); $(unstage)
37339 @[ -f ./libcc1/Makefile ] || exit 0; \
37340 r=`${PWD_COMMAND}`; export r; \
37341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37342 $(HOST_EXPORTS) \
37343 for flag in $(EXTRA_HOST_FLAGS) ; do \
37344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37345 done; \
37346 echo "Doing mostlyclean in libcc1"; \
37347 (cd $(HOST_SUBDIR)/libcc1 && \
37348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37350 "RANLIB=$${RANLIB}" \
37351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37352 mostlyclean) \
37353 || exit 1
37355 @endif libcc1
37357 .PHONY: maybe-clean-libcc1 clean-libcc1
37358 maybe-clean-libcc1:
37359 @if libcc1
37360 maybe-clean-libcc1: clean-libcc1
37362 clean-libcc1:
37363 @: $(MAKE); $(unstage)
37364 @[ -f ./libcc1/Makefile ] || exit 0; \
37365 r=`${PWD_COMMAND}`; export r; \
37366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37367 $(HOST_EXPORTS) \
37368 for flag in $(EXTRA_HOST_FLAGS) ; do \
37369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37370 done; \
37371 echo "Doing clean in libcc1"; \
37372 (cd $(HOST_SUBDIR)/libcc1 && \
37373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37375 "RANLIB=$${RANLIB}" \
37376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37377 clean) \
37378 || exit 1
37380 @endif libcc1
37382 .PHONY: maybe-distclean-libcc1 distclean-libcc1
37383 maybe-distclean-libcc1:
37384 @if libcc1
37385 maybe-distclean-libcc1: distclean-libcc1
37387 distclean-libcc1:
37388 @: $(MAKE); $(unstage)
37389 @[ -f ./libcc1/Makefile ] || exit 0; \
37390 r=`${PWD_COMMAND}`; export r; \
37391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37392 $(HOST_EXPORTS) \
37393 for flag in $(EXTRA_HOST_FLAGS) ; do \
37394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37395 done; \
37396 echo "Doing distclean in libcc1"; \
37397 (cd $(HOST_SUBDIR)/libcc1 && \
37398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37400 "RANLIB=$${RANLIB}" \
37401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37402 distclean) \
37403 || exit 1
37405 @endif libcc1
37407 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
37408 maybe-maintainer-clean-libcc1:
37409 @if libcc1
37410 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
37412 maintainer-clean-libcc1:
37413 @: $(MAKE); $(unstage)
37414 @[ -f ./libcc1/Makefile ] || exit 0; \
37415 r=`${PWD_COMMAND}`; export r; \
37416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37417 $(HOST_EXPORTS) \
37418 for flag in $(EXTRA_HOST_FLAGS) ; do \
37419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37420 done; \
37421 echo "Doing maintainer-clean in libcc1"; \
37422 (cd $(HOST_SUBDIR)/libcc1 && \
37423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37425 "RANLIB=$${RANLIB}" \
37426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37427 maintainer-clean) \
37428 || exit 1
37430 @endif libcc1
37434 .PHONY: configure-gotools maybe-configure-gotools
37435 maybe-configure-gotools:
37436 @if gcc-bootstrap
37437 configure-gotools: stage_current
37438 @endif gcc-bootstrap
37439 @if gotools
37440 maybe-configure-gotools: configure-gotools
37441 configure-gotools:
37442 @: $(MAKE); $(unstage)
37443 @r=`${PWD_COMMAND}`; export r; \
37444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37445 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
37446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
37447 $(HOST_EXPORTS) \
37448 echo Configuring in $(HOST_SUBDIR)/gotools; \
37449 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
37450 case $(srcdir) in \
37451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37452 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
37453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37454 esac; \
37455 module_srcdir=gotools; \
37456 $(SHELL) \
37457 $$s/$$module_srcdir/configure \
37458 --srcdir=$${topdir}/$$module_srcdir \
37459 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37460 --target=${target_alias} \
37461 || exit 1
37462 @endif gotools
37468 .PHONY: all-gotools maybe-all-gotools
37469 maybe-all-gotools:
37470 @if gcc-bootstrap
37471 all-gotools: stage_current
37472 @endif gcc-bootstrap
37473 @if gotools
37474 TARGET-gotools=all
37475 maybe-all-gotools: all-gotools
37476 all-gotools: configure-gotools
37477 @: $(MAKE); $(unstage)
37478 @r=`${PWD_COMMAND}`; export r; \
37479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37480 $(HOST_EXPORTS) \
37481 (cd $(HOST_SUBDIR)/gotools && \
37482 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37483 $(TARGET-gotools))
37484 @endif gotools
37489 .PHONY: check-gotools maybe-check-gotools
37490 maybe-check-gotools:
37491 @if gotools
37492 maybe-check-gotools: check-gotools
37494 check-gotools:
37495 @: $(MAKE); $(unstage)
37496 @r=`${PWD_COMMAND}`; export r; \
37497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37498 $(HOST_EXPORTS) \
37499 (cd $(HOST_SUBDIR)/gotools && \
37500 $(MAKE) $(FLAGS_TO_PASS) check)
37502 @endif gotools
37504 .PHONY: install-gotools maybe-install-gotools
37505 maybe-install-gotools:
37506 @if gotools
37507 maybe-install-gotools: install-gotools
37509 install-gotools: installdirs
37510 @: $(MAKE); $(unstage)
37511 @r=`${PWD_COMMAND}`; export r; \
37512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37513 $(HOST_EXPORTS) \
37514 (cd $(HOST_SUBDIR)/gotools && \
37515 $(MAKE) $(FLAGS_TO_PASS) install)
37517 @endif gotools
37519 .PHONY: install-strip-gotools maybe-install-strip-gotools
37520 maybe-install-strip-gotools:
37521 @if gotools
37522 maybe-install-strip-gotools: install-strip-gotools
37524 install-strip-gotools: installdirs
37525 @: $(MAKE); $(unstage)
37526 @r=`${PWD_COMMAND}`; export r; \
37527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37528 $(HOST_EXPORTS) \
37529 (cd $(HOST_SUBDIR)/gotools && \
37530 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37532 @endif gotools
37534 # Other targets (info, dvi, pdf, etc.)
37536 .PHONY: maybe-info-gotools info-gotools
37537 maybe-info-gotools:
37538 @if gotools
37539 maybe-info-gotools: info-gotools
37541 info-gotools: \
37542 configure-gotools
37543 @: $(MAKE); $(unstage)
37544 @[ -f ./gotools/Makefile ] || exit 0; \
37545 r=`${PWD_COMMAND}`; export r; \
37546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37547 $(HOST_EXPORTS) \
37548 for flag in $(EXTRA_HOST_FLAGS) ; do \
37549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37550 done; \
37551 echo "Doing info in gotools"; \
37552 (cd $(HOST_SUBDIR)/gotools && \
37553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37555 "RANLIB=$${RANLIB}" \
37556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37557 info) \
37558 || exit 1
37560 @endif gotools
37562 .PHONY: maybe-dvi-gotools dvi-gotools
37563 maybe-dvi-gotools:
37564 @if gotools
37565 maybe-dvi-gotools: dvi-gotools
37567 dvi-gotools: \
37568 configure-gotools
37569 @: $(MAKE); $(unstage)
37570 @[ -f ./gotools/Makefile ] || exit 0; \
37571 r=`${PWD_COMMAND}`; export r; \
37572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37573 $(HOST_EXPORTS) \
37574 for flag in $(EXTRA_HOST_FLAGS) ; do \
37575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37576 done; \
37577 echo "Doing dvi in gotools"; \
37578 (cd $(HOST_SUBDIR)/gotools && \
37579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37581 "RANLIB=$${RANLIB}" \
37582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37583 dvi) \
37584 || exit 1
37586 @endif gotools
37588 .PHONY: maybe-pdf-gotools pdf-gotools
37589 maybe-pdf-gotools:
37590 @if gotools
37591 maybe-pdf-gotools: pdf-gotools
37593 pdf-gotools: \
37594 configure-gotools
37595 @: $(MAKE); $(unstage)
37596 @[ -f ./gotools/Makefile ] || exit 0; \
37597 r=`${PWD_COMMAND}`; export r; \
37598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37599 $(HOST_EXPORTS) \
37600 for flag in $(EXTRA_HOST_FLAGS) ; do \
37601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37602 done; \
37603 echo "Doing pdf in gotools"; \
37604 (cd $(HOST_SUBDIR)/gotools && \
37605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37607 "RANLIB=$${RANLIB}" \
37608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37609 pdf) \
37610 || exit 1
37612 @endif gotools
37614 .PHONY: maybe-html-gotools html-gotools
37615 maybe-html-gotools:
37616 @if gotools
37617 maybe-html-gotools: html-gotools
37619 html-gotools: \
37620 configure-gotools
37621 @: $(MAKE); $(unstage)
37622 @[ -f ./gotools/Makefile ] || exit 0; \
37623 r=`${PWD_COMMAND}`; export r; \
37624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37625 $(HOST_EXPORTS) \
37626 for flag in $(EXTRA_HOST_FLAGS) ; do \
37627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37628 done; \
37629 echo "Doing html in gotools"; \
37630 (cd $(HOST_SUBDIR)/gotools && \
37631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37633 "RANLIB=$${RANLIB}" \
37634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37635 html) \
37636 || exit 1
37638 @endif gotools
37640 .PHONY: maybe-TAGS-gotools TAGS-gotools
37641 maybe-TAGS-gotools:
37642 @if gotools
37643 maybe-TAGS-gotools: TAGS-gotools
37645 TAGS-gotools: \
37646 configure-gotools
37647 @: $(MAKE); $(unstage)
37648 @[ -f ./gotools/Makefile ] || exit 0; \
37649 r=`${PWD_COMMAND}`; export r; \
37650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37651 $(HOST_EXPORTS) \
37652 for flag in $(EXTRA_HOST_FLAGS) ; do \
37653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37654 done; \
37655 echo "Doing TAGS in gotools"; \
37656 (cd $(HOST_SUBDIR)/gotools && \
37657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37659 "RANLIB=$${RANLIB}" \
37660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37661 TAGS) \
37662 || exit 1
37664 @endif gotools
37666 .PHONY: maybe-install-info-gotools install-info-gotools
37667 maybe-install-info-gotools:
37668 @if gotools
37669 maybe-install-info-gotools: install-info-gotools
37671 install-info-gotools: \
37672 configure-gotools \
37673 info-gotools
37674 @: $(MAKE); $(unstage)
37675 @[ -f ./gotools/Makefile ] || exit 0; \
37676 r=`${PWD_COMMAND}`; export r; \
37677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37678 $(HOST_EXPORTS) \
37679 for flag in $(EXTRA_HOST_FLAGS) ; do \
37680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37681 done; \
37682 echo "Doing install-info in gotools"; \
37683 (cd $(HOST_SUBDIR)/gotools && \
37684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37686 "RANLIB=$${RANLIB}" \
37687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37688 install-info) \
37689 || exit 1
37691 @endif gotools
37693 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
37694 maybe-install-pdf-gotools:
37695 @if gotools
37696 maybe-install-pdf-gotools: install-pdf-gotools
37698 install-pdf-gotools: \
37699 configure-gotools \
37700 pdf-gotools
37701 @: $(MAKE); $(unstage)
37702 @[ -f ./gotools/Makefile ] || exit 0; \
37703 r=`${PWD_COMMAND}`; export r; \
37704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37705 $(HOST_EXPORTS) \
37706 for flag in $(EXTRA_HOST_FLAGS) ; do \
37707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37708 done; \
37709 echo "Doing install-pdf in gotools"; \
37710 (cd $(HOST_SUBDIR)/gotools && \
37711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37713 "RANLIB=$${RANLIB}" \
37714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37715 install-pdf) \
37716 || exit 1
37718 @endif gotools
37720 .PHONY: maybe-install-html-gotools install-html-gotools
37721 maybe-install-html-gotools:
37722 @if gotools
37723 maybe-install-html-gotools: install-html-gotools
37725 install-html-gotools: \
37726 configure-gotools \
37727 html-gotools
37728 @: $(MAKE); $(unstage)
37729 @[ -f ./gotools/Makefile ] || exit 0; \
37730 r=`${PWD_COMMAND}`; export r; \
37731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37732 $(HOST_EXPORTS) \
37733 for flag in $(EXTRA_HOST_FLAGS) ; do \
37734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37735 done; \
37736 echo "Doing install-html in gotools"; \
37737 (cd $(HOST_SUBDIR)/gotools && \
37738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37740 "RANLIB=$${RANLIB}" \
37741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37742 install-html) \
37743 || exit 1
37745 @endif gotools
37747 .PHONY: maybe-installcheck-gotools installcheck-gotools
37748 maybe-installcheck-gotools:
37749 @if gotools
37750 maybe-installcheck-gotools: installcheck-gotools
37752 installcheck-gotools: \
37753 configure-gotools
37754 @: $(MAKE); $(unstage)
37755 @[ -f ./gotools/Makefile ] || exit 0; \
37756 r=`${PWD_COMMAND}`; export r; \
37757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37758 $(HOST_EXPORTS) \
37759 for flag in $(EXTRA_HOST_FLAGS) ; do \
37760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37761 done; \
37762 echo "Doing installcheck in gotools"; \
37763 (cd $(HOST_SUBDIR)/gotools && \
37764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37766 "RANLIB=$${RANLIB}" \
37767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37768 installcheck) \
37769 || exit 1
37771 @endif gotools
37773 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
37774 maybe-mostlyclean-gotools:
37775 @if gotools
37776 maybe-mostlyclean-gotools: mostlyclean-gotools
37778 mostlyclean-gotools:
37779 @: $(MAKE); $(unstage)
37780 @[ -f ./gotools/Makefile ] || exit 0; \
37781 r=`${PWD_COMMAND}`; export r; \
37782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37783 $(HOST_EXPORTS) \
37784 for flag in $(EXTRA_HOST_FLAGS) ; do \
37785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37786 done; \
37787 echo "Doing mostlyclean in gotools"; \
37788 (cd $(HOST_SUBDIR)/gotools && \
37789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37791 "RANLIB=$${RANLIB}" \
37792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37793 mostlyclean) \
37794 || exit 1
37796 @endif gotools
37798 .PHONY: maybe-clean-gotools clean-gotools
37799 maybe-clean-gotools:
37800 @if gotools
37801 maybe-clean-gotools: clean-gotools
37803 clean-gotools:
37804 @: $(MAKE); $(unstage)
37805 @[ -f ./gotools/Makefile ] || exit 0; \
37806 r=`${PWD_COMMAND}`; export r; \
37807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37808 $(HOST_EXPORTS) \
37809 for flag in $(EXTRA_HOST_FLAGS) ; do \
37810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37811 done; \
37812 echo "Doing clean in gotools"; \
37813 (cd $(HOST_SUBDIR)/gotools && \
37814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37816 "RANLIB=$${RANLIB}" \
37817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37818 clean) \
37819 || exit 1
37821 @endif gotools
37823 .PHONY: maybe-distclean-gotools distclean-gotools
37824 maybe-distclean-gotools:
37825 @if gotools
37826 maybe-distclean-gotools: distclean-gotools
37828 distclean-gotools:
37829 @: $(MAKE); $(unstage)
37830 @[ -f ./gotools/Makefile ] || exit 0; \
37831 r=`${PWD_COMMAND}`; export r; \
37832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37833 $(HOST_EXPORTS) \
37834 for flag in $(EXTRA_HOST_FLAGS) ; do \
37835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37836 done; \
37837 echo "Doing distclean in gotools"; \
37838 (cd $(HOST_SUBDIR)/gotools && \
37839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37841 "RANLIB=$${RANLIB}" \
37842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37843 distclean) \
37844 || exit 1
37846 @endif gotools
37848 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
37849 maybe-maintainer-clean-gotools:
37850 @if gotools
37851 maybe-maintainer-clean-gotools: maintainer-clean-gotools
37853 maintainer-clean-gotools:
37854 @: $(MAKE); $(unstage)
37855 @[ -f ./gotools/Makefile ] || exit 0; \
37856 r=`${PWD_COMMAND}`; export r; \
37857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37858 $(HOST_EXPORTS) \
37859 for flag in $(EXTRA_HOST_FLAGS) ; do \
37860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37861 done; \
37862 echo "Doing maintainer-clean in gotools"; \
37863 (cd $(HOST_SUBDIR)/gotools && \
37864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37866 "RANLIB=$${RANLIB}" \
37867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37868 maintainer-clean) \
37869 || exit 1
37871 @endif gotools
37875 # ---------------------------------------
37876 # Modules which run on the target machine
37877 # ---------------------------------------
37882 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
37883 maybe-configure-target-libstdc++-v3:
37884 @if gcc-bootstrap
37885 configure-target-libstdc++-v3: stage_current
37886 @endif gcc-bootstrap
37887 @if target-libstdc++-v3
37888 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
37889 configure-target-libstdc++-v3:
37890 @r=`${PWD_COMMAND}`; export r; \
37891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37892 echo "Checking multilib configuration for libstdc++-v3..."; \
37893 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37894 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37895 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37896 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37897 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37898 else \
37899 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37900 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37901 fi; \
37902 else \
37903 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37904 fi; \
37905 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37907 $(RAW_CXX_TARGET_EXPORTS) \
37908 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
37909 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
37910 case $(srcdir) in \
37911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37912 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37914 esac; \
37915 module_srcdir=libstdc++-v3; \
37916 rm -f no-such-file || : ; \
37917 CONFIG_SITE=no-such-file $(SHELL) \
37918 $$s/$$module_srcdir/configure \
37919 --srcdir=$${topdir}/$$module_srcdir \
37920 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37921 --target=${target_alias} \
37922 || exit 1
37923 @endif target-libstdc++-v3
37927 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
37928 maybe-configure-stage1-target-libstdc++-v3:
37929 @if target-libstdc++-v3-bootstrap
37930 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
37931 configure-stage1-target-libstdc++-v3:
37932 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37933 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37934 @r=`${PWD_COMMAND}`; export r; \
37935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37936 TFLAGS="$(STAGE1_TFLAGS)"; \
37937 echo "Checking multilib configuration for libstdc++-v3..."; \
37938 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37939 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37940 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37941 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37942 else \
37943 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37944 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37945 fi; \
37946 else \
37947 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37948 fi; \
37949 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37950 $(RAW_CXX_TARGET_EXPORTS) \
37951 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37952 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37953 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37954 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
37955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37956 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
37957 case $(srcdir) in \
37958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37959 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37961 esac; \
37962 module_srcdir=libstdc++-v3; \
37963 $(SHELL) $$s/$$module_srcdir/configure \
37964 --srcdir=$${topdir}/$$module_srcdir \
37965 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37966 --target=${target_alias} \
37968 $(STAGE1_CONFIGURE_FLAGS)
37969 @endif target-libstdc++-v3-bootstrap
37971 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
37972 maybe-configure-stage2-target-libstdc++-v3:
37973 @if target-libstdc++-v3-bootstrap
37974 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
37975 configure-stage2-target-libstdc++-v3:
37976 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37977 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37978 @r=`${PWD_COMMAND}`; export r; \
37979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37980 TFLAGS="$(STAGE2_TFLAGS)"; \
37981 echo "Checking multilib configuration for libstdc++-v3..."; \
37982 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37983 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37984 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37985 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37986 else \
37987 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37988 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37989 fi; \
37990 else \
37991 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37992 fi; \
37993 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37994 $(RAW_CXX_TARGET_EXPORTS) \
37996 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37997 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37998 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37999 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
38000 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38001 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38002 case $(srcdir) in \
38003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38004 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38006 esac; \
38007 module_srcdir=libstdc++-v3; \
38008 $(SHELL) $$s/$$module_srcdir/configure \
38009 --srcdir=$${topdir}/$$module_srcdir \
38010 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38011 --target=${target_alias} \
38012 --with-build-libsubdir=$(HOST_SUBDIR) \
38013 $(STAGE2_CONFIGURE_FLAGS)
38014 @endif target-libstdc++-v3-bootstrap
38016 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
38017 maybe-configure-stage3-target-libstdc++-v3:
38018 @if target-libstdc++-v3-bootstrap
38019 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38020 configure-stage3-target-libstdc++-v3:
38021 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38022 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38023 @r=`${PWD_COMMAND}`; export r; \
38024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38025 TFLAGS="$(STAGE3_TFLAGS)"; \
38026 echo "Checking multilib configuration for libstdc++-v3..."; \
38027 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38028 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38029 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38030 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38031 else \
38032 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38033 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38034 fi; \
38035 else \
38036 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38037 fi; \
38038 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38039 $(RAW_CXX_TARGET_EXPORTS) \
38041 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38042 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38043 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38044 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
38045 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38046 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38047 case $(srcdir) in \
38048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38049 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38051 esac; \
38052 module_srcdir=libstdc++-v3; \
38053 $(SHELL) $$s/$$module_srcdir/configure \
38054 --srcdir=$${topdir}/$$module_srcdir \
38055 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38056 --target=${target_alias} \
38057 --with-build-libsubdir=$(HOST_SUBDIR) \
38058 $(STAGE3_CONFIGURE_FLAGS)
38059 @endif target-libstdc++-v3-bootstrap
38061 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
38062 maybe-configure-stage4-target-libstdc++-v3:
38063 @if target-libstdc++-v3-bootstrap
38064 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38065 configure-stage4-target-libstdc++-v3:
38066 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38067 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38068 @r=`${PWD_COMMAND}`; export r; \
38069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38070 TFLAGS="$(STAGE4_TFLAGS)"; \
38071 echo "Checking multilib configuration for libstdc++-v3..."; \
38072 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38073 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38074 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38075 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38076 else \
38077 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38078 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38079 fi; \
38080 else \
38081 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38082 fi; \
38083 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38084 $(RAW_CXX_TARGET_EXPORTS) \
38086 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38087 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38088 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38089 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
38090 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38091 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38092 case $(srcdir) in \
38093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38094 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38096 esac; \
38097 module_srcdir=libstdc++-v3; \
38098 $(SHELL) $$s/$$module_srcdir/configure \
38099 --srcdir=$${topdir}/$$module_srcdir \
38100 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38101 --target=${target_alias} \
38102 --with-build-libsubdir=$(HOST_SUBDIR) \
38103 $(STAGE4_CONFIGURE_FLAGS)
38104 @endif target-libstdc++-v3-bootstrap
38106 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
38107 maybe-configure-stageprofile-target-libstdc++-v3:
38108 @if target-libstdc++-v3-bootstrap
38109 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38110 configure-stageprofile-target-libstdc++-v3:
38111 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38112 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38113 @r=`${PWD_COMMAND}`; export r; \
38114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38115 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38116 echo "Checking multilib configuration for libstdc++-v3..."; \
38117 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38118 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38119 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38120 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38121 else \
38122 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38123 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38124 fi; \
38125 else \
38126 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38127 fi; \
38128 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38129 $(RAW_CXX_TARGET_EXPORTS) \
38131 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38132 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38133 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38134 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
38135 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38136 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38137 case $(srcdir) in \
38138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38139 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38141 esac; \
38142 module_srcdir=libstdc++-v3; \
38143 $(SHELL) $$s/$$module_srcdir/configure \
38144 --srcdir=$${topdir}/$$module_srcdir \
38145 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38146 --target=${target_alias} \
38147 --with-build-libsubdir=$(HOST_SUBDIR) \
38148 $(STAGEprofile_CONFIGURE_FLAGS)
38149 @endif target-libstdc++-v3-bootstrap
38151 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
38152 maybe-configure-stagetrain-target-libstdc++-v3:
38153 @if target-libstdc++-v3-bootstrap
38154 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38155 configure-stagetrain-target-libstdc++-v3:
38156 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38157 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38158 @r=`${PWD_COMMAND}`; export r; \
38159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38160 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38161 echo "Checking multilib configuration for libstdc++-v3..."; \
38162 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38163 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38164 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38165 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38166 else \
38167 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38168 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38169 fi; \
38170 else \
38171 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38172 fi; \
38173 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38174 $(RAW_CXX_TARGET_EXPORTS) \
38176 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38177 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38178 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38179 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
38180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38181 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38182 case $(srcdir) in \
38183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38184 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38186 esac; \
38187 module_srcdir=libstdc++-v3; \
38188 $(SHELL) $$s/$$module_srcdir/configure \
38189 --srcdir=$${topdir}/$$module_srcdir \
38190 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38191 --target=${target_alias} \
38192 --with-build-libsubdir=$(HOST_SUBDIR) \
38193 $(STAGEtrain_CONFIGURE_FLAGS)
38194 @endif target-libstdc++-v3-bootstrap
38196 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
38197 maybe-configure-stagefeedback-target-libstdc++-v3:
38198 @if target-libstdc++-v3-bootstrap
38199 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38200 configure-stagefeedback-target-libstdc++-v3:
38201 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38202 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38203 @r=`${PWD_COMMAND}`; export r; \
38204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38205 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38206 echo "Checking multilib configuration for libstdc++-v3..."; \
38207 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38208 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38209 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38210 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38211 else \
38212 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38213 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38214 fi; \
38215 else \
38216 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38217 fi; \
38218 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38219 $(RAW_CXX_TARGET_EXPORTS) \
38221 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38222 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38223 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38224 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38225 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38226 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38227 case $(srcdir) in \
38228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38229 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38231 esac; \
38232 module_srcdir=libstdc++-v3; \
38233 $(SHELL) $$s/$$module_srcdir/configure \
38234 --srcdir=$${topdir}/$$module_srcdir \
38235 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38236 --target=${target_alias} \
38237 --with-build-libsubdir=$(HOST_SUBDIR) \
38238 $(STAGEfeedback_CONFIGURE_FLAGS)
38239 @endif target-libstdc++-v3-bootstrap
38241 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
38242 maybe-configure-stageautoprofile-target-libstdc++-v3:
38243 @if target-libstdc++-v3-bootstrap
38244 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38245 configure-stageautoprofile-target-libstdc++-v3:
38246 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38247 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38248 @r=`${PWD_COMMAND}`; export r; \
38249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38250 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38251 echo "Checking multilib configuration for libstdc++-v3..."; \
38252 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38253 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38254 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38255 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38256 else \
38257 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38258 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38259 fi; \
38260 else \
38261 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38262 fi; \
38263 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38264 $(RAW_CXX_TARGET_EXPORTS) \
38266 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38267 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38268 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38269 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
38270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38271 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38272 case $(srcdir) in \
38273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38274 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38276 esac; \
38277 module_srcdir=libstdc++-v3; \
38278 $(SHELL) $$s/$$module_srcdir/configure \
38279 --srcdir=$${topdir}/$$module_srcdir \
38280 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38281 --target=${target_alias} \
38282 --with-build-libsubdir=$(HOST_SUBDIR) \
38283 $(STAGEautoprofile_CONFIGURE_FLAGS)
38284 @endif target-libstdc++-v3-bootstrap
38286 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
38287 maybe-configure-stageautofeedback-target-libstdc++-v3:
38288 @if target-libstdc++-v3-bootstrap
38289 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38290 configure-stageautofeedback-target-libstdc++-v3:
38291 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38292 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38293 @r=`${PWD_COMMAND}`; export r; \
38294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38295 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38296 echo "Checking multilib configuration for libstdc++-v3..."; \
38297 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38298 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38299 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38300 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38301 else \
38302 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38303 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38304 fi; \
38305 else \
38306 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38307 fi; \
38308 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38309 $(RAW_CXX_TARGET_EXPORTS) \
38311 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38312 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38313 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38314 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38316 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38317 case $(srcdir) in \
38318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38319 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38321 esac; \
38322 module_srcdir=libstdc++-v3; \
38323 $(SHELL) $$s/$$module_srcdir/configure \
38324 --srcdir=$${topdir}/$$module_srcdir \
38325 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38326 --target=${target_alias} \
38327 --with-build-libsubdir=$(HOST_SUBDIR) \
38328 $(STAGEautofeedback_CONFIGURE_FLAGS)
38329 @endif target-libstdc++-v3-bootstrap
38335 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
38336 maybe-all-target-libstdc++-v3:
38337 @if gcc-bootstrap
38338 all-target-libstdc++-v3: stage_current
38339 @endif gcc-bootstrap
38340 @if target-libstdc++-v3
38341 TARGET-target-libstdc++-v3=all
38342 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
38343 all-target-libstdc++-v3: configure-target-libstdc++-v3
38344 @r=`${PWD_COMMAND}`; export r; \
38345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38346 $(RAW_CXX_TARGET_EXPORTS) \
38347 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38348 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38349 $(TARGET-target-libstdc++-v3))
38350 @endif target-libstdc++-v3
38354 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
38355 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
38356 maybe-all-stage1-target-libstdc++-v3:
38357 maybe-clean-stage1-target-libstdc++-v3:
38358 @if target-libstdc++-v3-bootstrap
38359 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
38360 all-stage1: all-stage1-target-libstdc++-v3
38361 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38362 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
38363 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38364 @r=`${PWD_COMMAND}`; export r; \
38365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38366 TFLAGS="$(STAGE1_TFLAGS)"; \
38367 $(RAW_CXX_TARGET_EXPORTS) \
38368 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38371 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38372 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38373 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38374 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38375 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38376 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38377 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38379 TFLAGS="$(STAGE1_TFLAGS)" \
38380 $(TARGET-stage1-target-libstdc++-v3)
38382 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
38383 clean-stage1: clean-stage1-target-libstdc++-v3
38384 clean-stage1-target-libstdc++-v3:
38385 @if [ $(current_stage) = stage1 ]; then \
38386 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38387 else \
38388 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
38389 $(MAKE) stage1-start; \
38390 fi; \
38391 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38392 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38393 clean
38394 @endif target-libstdc++-v3-bootstrap
38397 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
38398 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
38399 maybe-all-stage2-target-libstdc++-v3:
38400 maybe-clean-stage2-target-libstdc++-v3:
38401 @if target-libstdc++-v3-bootstrap
38402 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
38403 all-stage2: all-stage2-target-libstdc++-v3
38404 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38405 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
38406 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38407 @r=`${PWD_COMMAND}`; export r; \
38408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38409 TFLAGS="$(STAGE2_TFLAGS)"; \
38410 $(RAW_CXX_TARGET_EXPORTS) \
38412 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38415 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38416 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38417 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38421 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38422 TFLAGS="$(STAGE2_TFLAGS)" \
38423 $(TARGET-stage2-target-libstdc++-v3)
38425 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
38426 clean-stage2: clean-stage2-target-libstdc++-v3
38427 clean-stage2-target-libstdc++-v3:
38428 @if [ $(current_stage) = stage2 ]; then \
38429 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38430 else \
38431 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
38432 $(MAKE) stage2-start; \
38433 fi; \
38434 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38435 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38436 @endif target-libstdc++-v3-bootstrap
38439 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
38440 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
38441 maybe-all-stage3-target-libstdc++-v3:
38442 maybe-clean-stage3-target-libstdc++-v3:
38443 @if target-libstdc++-v3-bootstrap
38444 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
38445 all-stage3: all-stage3-target-libstdc++-v3
38446 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38447 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38448 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38449 @r=`${PWD_COMMAND}`; export r; \
38450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38451 TFLAGS="$(STAGE3_TFLAGS)"; \
38452 $(RAW_CXX_TARGET_EXPORTS) \
38454 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38457 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38458 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38459 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38463 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38464 TFLAGS="$(STAGE3_TFLAGS)" \
38465 $(TARGET-stage3-target-libstdc++-v3)
38467 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
38468 clean-stage3: clean-stage3-target-libstdc++-v3
38469 clean-stage3-target-libstdc++-v3:
38470 @if [ $(current_stage) = stage3 ]; then \
38471 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38472 else \
38473 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
38474 $(MAKE) stage3-start; \
38475 fi; \
38476 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38477 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38478 @endif target-libstdc++-v3-bootstrap
38481 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
38482 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
38483 maybe-all-stage4-target-libstdc++-v3:
38484 maybe-clean-stage4-target-libstdc++-v3:
38485 @if target-libstdc++-v3-bootstrap
38486 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
38487 all-stage4: all-stage4-target-libstdc++-v3
38488 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38489 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38490 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38491 @r=`${PWD_COMMAND}`; export r; \
38492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38493 TFLAGS="$(STAGE4_TFLAGS)"; \
38494 $(RAW_CXX_TARGET_EXPORTS) \
38496 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38499 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38500 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38501 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38505 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38506 TFLAGS="$(STAGE4_TFLAGS)" \
38507 $(TARGET-stage4-target-libstdc++-v3)
38509 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
38510 clean-stage4: clean-stage4-target-libstdc++-v3
38511 clean-stage4-target-libstdc++-v3:
38512 @if [ $(current_stage) = stage4 ]; then \
38513 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38514 else \
38515 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
38516 $(MAKE) stage4-start; \
38517 fi; \
38518 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38519 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38520 @endif target-libstdc++-v3-bootstrap
38523 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
38524 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
38525 maybe-all-stageprofile-target-libstdc++-v3:
38526 maybe-clean-stageprofile-target-libstdc++-v3:
38527 @if target-libstdc++-v3-bootstrap
38528 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
38529 all-stageprofile: all-stageprofile-target-libstdc++-v3
38530 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38531 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38532 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38533 @r=`${PWD_COMMAND}`; export r; \
38534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38535 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38536 $(RAW_CXX_TARGET_EXPORTS) \
38538 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38541 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38542 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38543 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38547 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38548 TFLAGS="$(STAGEprofile_TFLAGS)" \
38549 $(TARGET-stageprofile-target-libstdc++-v3)
38551 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
38552 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
38553 clean-stageprofile-target-libstdc++-v3:
38554 @if [ $(current_stage) = stageprofile ]; then \
38555 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38556 else \
38557 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
38558 $(MAKE) stageprofile-start; \
38559 fi; \
38560 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38561 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38562 @endif target-libstdc++-v3-bootstrap
38565 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
38566 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
38567 maybe-all-stagetrain-target-libstdc++-v3:
38568 maybe-clean-stagetrain-target-libstdc++-v3:
38569 @if target-libstdc++-v3-bootstrap
38570 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
38571 all-stagetrain: all-stagetrain-target-libstdc++-v3
38572 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38573 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38574 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38575 @r=`${PWD_COMMAND}`; export r; \
38576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38577 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38578 $(RAW_CXX_TARGET_EXPORTS) \
38580 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38583 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38584 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38585 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38589 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38590 TFLAGS="$(STAGEtrain_TFLAGS)" \
38591 $(TARGET-stagetrain-target-libstdc++-v3)
38593 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
38594 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
38595 clean-stagetrain-target-libstdc++-v3:
38596 @if [ $(current_stage) = stagetrain ]; then \
38597 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38598 else \
38599 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
38600 $(MAKE) stagetrain-start; \
38601 fi; \
38602 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38603 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38604 @endif target-libstdc++-v3-bootstrap
38607 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
38608 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
38609 maybe-all-stagefeedback-target-libstdc++-v3:
38610 maybe-clean-stagefeedback-target-libstdc++-v3:
38611 @if target-libstdc++-v3-bootstrap
38612 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
38613 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
38614 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38615 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38616 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38617 @r=`${PWD_COMMAND}`; export r; \
38618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38619 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38620 $(RAW_CXX_TARGET_EXPORTS) \
38622 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38625 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38626 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38627 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38631 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38632 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38633 $(TARGET-stagefeedback-target-libstdc++-v3)
38635 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
38636 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
38637 clean-stagefeedback-target-libstdc++-v3:
38638 @if [ $(current_stage) = stagefeedback ]; then \
38639 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38640 else \
38641 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
38642 $(MAKE) stagefeedback-start; \
38643 fi; \
38644 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38645 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38646 @endif target-libstdc++-v3-bootstrap
38649 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
38650 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
38651 maybe-all-stageautoprofile-target-libstdc++-v3:
38652 maybe-clean-stageautoprofile-target-libstdc++-v3:
38653 @if target-libstdc++-v3-bootstrap
38654 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
38655 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
38656 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38657 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38658 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38659 @r=`${PWD_COMMAND}`; export r; \
38660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38661 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38662 $(RAW_CXX_TARGET_EXPORTS) \
38664 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38665 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38667 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38668 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38669 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38673 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38674 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38675 $(TARGET-stageautoprofile-target-libstdc++-v3)
38677 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
38678 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
38679 clean-stageautoprofile-target-libstdc++-v3:
38680 @if [ $(current_stage) = stageautoprofile ]; then \
38681 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38682 else \
38683 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
38684 $(MAKE) stageautoprofile-start; \
38685 fi; \
38686 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38687 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38688 @endif target-libstdc++-v3-bootstrap
38691 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
38692 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
38693 maybe-all-stageautofeedback-target-libstdc++-v3:
38694 maybe-clean-stageautofeedback-target-libstdc++-v3:
38695 @if target-libstdc++-v3-bootstrap
38696 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
38697 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
38698 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38699 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38700 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38701 @r=`${PWD_COMMAND}`; export r; \
38702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38703 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38704 $(RAW_CXX_TARGET_EXPORTS) \
38706 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38708 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38709 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38710 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38711 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38712 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38715 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38716 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38717 $(TARGET-stageautofeedback-target-libstdc++-v3)
38719 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
38720 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
38721 clean-stageautofeedback-target-libstdc++-v3:
38722 @if [ $(current_stage) = stageautofeedback ]; then \
38723 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38724 else \
38725 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
38726 $(MAKE) stageautofeedback-start; \
38727 fi; \
38728 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38729 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38730 @endif target-libstdc++-v3-bootstrap
38737 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
38738 maybe-check-target-libstdc++-v3:
38739 @if target-libstdc++-v3
38740 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
38742 check-target-libstdc++-v3:
38743 @: $(MAKE); $(unstage)
38744 @r=`${PWD_COMMAND}`; export r; \
38745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38746 $(RAW_CXX_TARGET_EXPORTS) \
38747 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38748 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38750 @endif target-libstdc++-v3
38752 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
38753 maybe-install-target-libstdc++-v3:
38754 @if target-libstdc++-v3
38755 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
38757 install-target-libstdc++-v3: installdirs
38758 @: $(MAKE); $(unstage)
38759 @r=`${PWD_COMMAND}`; export r; \
38760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38761 $(RAW_CXX_TARGET_EXPORTS) \
38762 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38763 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38765 @endif target-libstdc++-v3
38767 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
38768 maybe-install-strip-target-libstdc++-v3:
38769 @if target-libstdc++-v3
38770 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
38772 install-strip-target-libstdc++-v3: installdirs
38773 @: $(MAKE); $(unstage)
38774 @r=`${PWD_COMMAND}`; export r; \
38775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38776 $(RAW_CXX_TARGET_EXPORTS) \
38777 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38778 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38780 @endif target-libstdc++-v3
38782 # Other targets (info, dvi, pdf, etc.)
38784 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
38785 maybe-info-target-libstdc++-v3:
38786 @if target-libstdc++-v3
38787 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
38789 info-target-libstdc++-v3: \
38790 configure-target-libstdc++-v3
38791 @: $(MAKE); $(unstage)
38792 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38793 r=`${PWD_COMMAND}`; export r; \
38794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38795 $(RAW_CXX_TARGET_EXPORTS) \
38796 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38797 for flag in $(EXTRA_TARGET_FLAGS); do \
38798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38799 done; \
38800 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38803 "RANLIB=$${RANLIB}" \
38804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38805 info) \
38806 || exit 1
38808 @endif target-libstdc++-v3
38810 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
38811 maybe-dvi-target-libstdc++-v3:
38812 @if target-libstdc++-v3
38813 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
38815 dvi-target-libstdc++-v3: \
38816 configure-target-libstdc++-v3
38817 @: $(MAKE); $(unstage)
38818 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38819 r=`${PWD_COMMAND}`; export r; \
38820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38821 $(RAW_CXX_TARGET_EXPORTS) \
38822 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
38823 for flag in $(EXTRA_TARGET_FLAGS); do \
38824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38825 done; \
38826 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38829 "RANLIB=$${RANLIB}" \
38830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38831 dvi) \
38832 || exit 1
38834 @endif target-libstdc++-v3
38836 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
38837 maybe-pdf-target-libstdc++-v3:
38838 @if target-libstdc++-v3
38839 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
38841 pdf-target-libstdc++-v3: \
38842 configure-target-libstdc++-v3
38843 @: $(MAKE); $(unstage)
38844 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38845 r=`${PWD_COMMAND}`; export r; \
38846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38847 $(RAW_CXX_TARGET_EXPORTS) \
38848 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38849 for flag in $(EXTRA_TARGET_FLAGS); do \
38850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38851 done; \
38852 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38855 "RANLIB=$${RANLIB}" \
38856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38857 pdf) \
38858 || exit 1
38860 @endif target-libstdc++-v3
38862 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
38863 maybe-html-target-libstdc++-v3:
38864 @if target-libstdc++-v3
38865 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
38867 html-target-libstdc++-v3: \
38868 configure-target-libstdc++-v3
38869 @: $(MAKE); $(unstage)
38870 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38871 r=`${PWD_COMMAND}`; export r; \
38872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38873 $(RAW_CXX_TARGET_EXPORTS) \
38874 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38875 for flag in $(EXTRA_TARGET_FLAGS); do \
38876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38877 done; \
38878 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38881 "RANLIB=$${RANLIB}" \
38882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38883 html) \
38884 || exit 1
38886 @endif target-libstdc++-v3
38888 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
38889 maybe-TAGS-target-libstdc++-v3:
38890 @if target-libstdc++-v3
38891 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
38893 TAGS-target-libstdc++-v3: \
38894 configure-target-libstdc++-v3
38895 @: $(MAKE); $(unstage)
38896 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38897 r=`${PWD_COMMAND}`; export r; \
38898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38899 $(RAW_CXX_TARGET_EXPORTS) \
38900 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
38901 for flag in $(EXTRA_TARGET_FLAGS); do \
38902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38903 done; \
38904 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38907 "RANLIB=$${RANLIB}" \
38908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38909 TAGS) \
38910 || exit 1
38912 @endif target-libstdc++-v3
38914 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
38915 maybe-install-info-target-libstdc++-v3:
38916 @if target-libstdc++-v3
38917 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
38919 install-info-target-libstdc++-v3: \
38920 configure-target-libstdc++-v3 \
38921 info-target-libstdc++-v3
38922 @: $(MAKE); $(unstage)
38923 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38924 r=`${PWD_COMMAND}`; export r; \
38925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38926 $(RAW_CXX_TARGET_EXPORTS) \
38927 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38928 for flag in $(EXTRA_TARGET_FLAGS); do \
38929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38930 done; \
38931 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38934 "RANLIB=$${RANLIB}" \
38935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38936 install-info) \
38937 || exit 1
38939 @endif target-libstdc++-v3
38941 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
38942 maybe-install-pdf-target-libstdc++-v3:
38943 @if target-libstdc++-v3
38944 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
38946 install-pdf-target-libstdc++-v3: \
38947 configure-target-libstdc++-v3 \
38948 pdf-target-libstdc++-v3
38949 @: $(MAKE); $(unstage)
38950 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38951 r=`${PWD_COMMAND}`; export r; \
38952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38953 $(RAW_CXX_TARGET_EXPORTS) \
38954 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38955 for flag in $(EXTRA_TARGET_FLAGS); do \
38956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38957 done; \
38958 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38961 "RANLIB=$${RANLIB}" \
38962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38963 install-pdf) \
38964 || exit 1
38966 @endif target-libstdc++-v3
38968 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
38969 maybe-install-html-target-libstdc++-v3:
38970 @if target-libstdc++-v3
38971 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
38973 install-html-target-libstdc++-v3: \
38974 configure-target-libstdc++-v3 \
38975 html-target-libstdc++-v3
38976 @: $(MAKE); $(unstage)
38977 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38978 r=`${PWD_COMMAND}`; export r; \
38979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38980 $(RAW_CXX_TARGET_EXPORTS) \
38981 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38982 for flag in $(EXTRA_TARGET_FLAGS); do \
38983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38984 done; \
38985 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38988 "RANLIB=$${RANLIB}" \
38989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38990 install-html) \
38991 || exit 1
38993 @endif target-libstdc++-v3
38995 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
38996 maybe-installcheck-target-libstdc++-v3:
38997 @if target-libstdc++-v3
38998 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
39000 installcheck-target-libstdc++-v3: \
39001 configure-target-libstdc++-v3
39002 @: $(MAKE); $(unstage)
39003 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39004 r=`${PWD_COMMAND}`; export r; \
39005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39006 $(RAW_CXX_TARGET_EXPORTS) \
39007 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
39008 for flag in $(EXTRA_TARGET_FLAGS); do \
39009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39010 done; \
39011 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39014 "RANLIB=$${RANLIB}" \
39015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39016 installcheck) \
39017 || exit 1
39019 @endif target-libstdc++-v3
39021 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
39022 maybe-mostlyclean-target-libstdc++-v3:
39023 @if target-libstdc++-v3
39024 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
39026 mostlyclean-target-libstdc++-v3:
39027 @: $(MAKE); $(unstage)
39028 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39029 r=`${PWD_COMMAND}`; export r; \
39030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39031 $(RAW_CXX_TARGET_EXPORTS) \
39032 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39033 for flag in $(EXTRA_TARGET_FLAGS); do \
39034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39035 done; \
39036 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39039 "RANLIB=$${RANLIB}" \
39040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39041 mostlyclean) \
39042 || exit 1
39044 @endif target-libstdc++-v3
39046 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
39047 maybe-clean-target-libstdc++-v3:
39048 @if target-libstdc++-v3
39049 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
39051 clean-target-libstdc++-v3:
39052 @: $(MAKE); $(unstage)
39053 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39054 r=`${PWD_COMMAND}`; export r; \
39055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39056 $(RAW_CXX_TARGET_EXPORTS) \
39057 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39058 for flag in $(EXTRA_TARGET_FLAGS); do \
39059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39060 done; \
39061 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39064 "RANLIB=$${RANLIB}" \
39065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39066 clean) \
39067 || exit 1
39069 @endif target-libstdc++-v3
39071 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
39072 maybe-distclean-target-libstdc++-v3:
39073 @if target-libstdc++-v3
39074 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
39076 distclean-target-libstdc++-v3:
39077 @: $(MAKE); $(unstage)
39078 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39079 r=`${PWD_COMMAND}`; export r; \
39080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39081 $(RAW_CXX_TARGET_EXPORTS) \
39082 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39083 for flag in $(EXTRA_TARGET_FLAGS); do \
39084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39085 done; \
39086 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39089 "RANLIB=$${RANLIB}" \
39090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39091 distclean) \
39092 || exit 1
39094 @endif target-libstdc++-v3
39096 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
39097 maybe-maintainer-clean-target-libstdc++-v3:
39098 @if target-libstdc++-v3
39099 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
39101 maintainer-clean-target-libstdc++-v3:
39102 @: $(MAKE); $(unstage)
39103 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39104 r=`${PWD_COMMAND}`; export r; \
39105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39106 $(RAW_CXX_TARGET_EXPORTS) \
39107 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39108 for flag in $(EXTRA_TARGET_FLAGS); do \
39109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39110 done; \
39111 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39114 "RANLIB=$${RANLIB}" \
39115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39116 maintainer-clean) \
39117 || exit 1
39119 @endif target-libstdc++-v3
39125 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
39126 maybe-configure-target-libsanitizer:
39127 @if gcc-bootstrap
39128 configure-target-libsanitizer: stage_current
39129 @endif gcc-bootstrap
39130 @if target-libsanitizer
39131 maybe-configure-target-libsanitizer: configure-target-libsanitizer
39132 configure-target-libsanitizer:
39133 @r=`${PWD_COMMAND}`; export r; \
39134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39135 echo "Checking multilib configuration for libsanitizer..."; \
39136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39137 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39138 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39139 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39140 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39141 else \
39142 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39143 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39144 fi; \
39145 else \
39146 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39147 fi; \
39148 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39150 $(RAW_CXX_TARGET_EXPORTS) \
39151 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
39152 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
39153 case $(srcdir) in \
39154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39155 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39157 esac; \
39158 module_srcdir=libsanitizer; \
39159 rm -f no-such-file || : ; \
39160 CONFIG_SITE=no-such-file $(SHELL) \
39161 $$s/$$module_srcdir/configure \
39162 --srcdir=$${topdir}/$$module_srcdir \
39163 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39164 --target=${target_alias} \
39165 || exit 1
39166 @endif target-libsanitizer
39170 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
39171 maybe-configure-stage1-target-libsanitizer:
39172 @if target-libsanitizer-bootstrap
39173 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39174 configure-stage1-target-libsanitizer:
39175 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39176 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39177 @r=`${PWD_COMMAND}`; export r; \
39178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39179 TFLAGS="$(STAGE1_TFLAGS)"; \
39180 echo "Checking multilib configuration for libsanitizer..."; \
39181 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39182 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39183 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39184 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39185 else \
39186 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39187 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39188 fi; \
39189 else \
39190 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39191 fi; \
39192 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39193 $(RAW_CXX_TARGET_EXPORTS) \
39194 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39195 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39196 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39197 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
39198 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39199 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39200 case $(srcdir) in \
39201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39202 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39204 esac; \
39205 module_srcdir=libsanitizer; \
39206 $(SHELL) $$s/$$module_srcdir/configure \
39207 --srcdir=$${topdir}/$$module_srcdir \
39208 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39209 --target=${target_alias} \
39211 $(STAGE1_CONFIGURE_FLAGS)
39212 @endif target-libsanitizer-bootstrap
39214 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
39215 maybe-configure-stage2-target-libsanitizer:
39216 @if target-libsanitizer-bootstrap
39217 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39218 configure-stage2-target-libsanitizer:
39219 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39220 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39221 @r=`${PWD_COMMAND}`; export r; \
39222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39223 TFLAGS="$(STAGE2_TFLAGS)"; \
39224 echo "Checking multilib configuration for libsanitizer..."; \
39225 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39226 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39227 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39228 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39229 else \
39230 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39231 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39232 fi; \
39233 else \
39234 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39235 fi; \
39236 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39237 $(RAW_CXX_TARGET_EXPORTS) \
39239 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39240 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39241 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39242 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
39243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39244 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39245 case $(srcdir) in \
39246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39247 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39249 esac; \
39250 module_srcdir=libsanitizer; \
39251 $(SHELL) $$s/$$module_srcdir/configure \
39252 --srcdir=$${topdir}/$$module_srcdir \
39253 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39254 --target=${target_alias} \
39255 --with-build-libsubdir=$(HOST_SUBDIR) \
39256 $(STAGE2_CONFIGURE_FLAGS)
39257 @endif target-libsanitizer-bootstrap
39259 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
39260 maybe-configure-stage3-target-libsanitizer:
39261 @if target-libsanitizer-bootstrap
39262 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39263 configure-stage3-target-libsanitizer:
39264 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39265 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39266 @r=`${PWD_COMMAND}`; export r; \
39267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39268 TFLAGS="$(STAGE3_TFLAGS)"; \
39269 echo "Checking multilib configuration for libsanitizer..."; \
39270 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39271 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39272 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39273 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39274 else \
39275 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39276 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39277 fi; \
39278 else \
39279 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39280 fi; \
39281 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39282 $(RAW_CXX_TARGET_EXPORTS) \
39284 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39285 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39286 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39287 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
39288 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39289 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39290 case $(srcdir) in \
39291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39292 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39294 esac; \
39295 module_srcdir=libsanitizer; \
39296 $(SHELL) $$s/$$module_srcdir/configure \
39297 --srcdir=$${topdir}/$$module_srcdir \
39298 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39299 --target=${target_alias} \
39300 --with-build-libsubdir=$(HOST_SUBDIR) \
39301 $(STAGE3_CONFIGURE_FLAGS)
39302 @endif target-libsanitizer-bootstrap
39304 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
39305 maybe-configure-stage4-target-libsanitizer:
39306 @if target-libsanitizer-bootstrap
39307 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39308 configure-stage4-target-libsanitizer:
39309 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39310 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39311 @r=`${PWD_COMMAND}`; export r; \
39312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39313 TFLAGS="$(STAGE4_TFLAGS)"; \
39314 echo "Checking multilib configuration for libsanitizer..."; \
39315 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39316 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39317 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39318 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39319 else \
39320 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39321 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39322 fi; \
39323 else \
39324 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39325 fi; \
39326 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39327 $(RAW_CXX_TARGET_EXPORTS) \
39329 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39330 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39331 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39332 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
39333 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39334 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39335 case $(srcdir) in \
39336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39337 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39339 esac; \
39340 module_srcdir=libsanitizer; \
39341 $(SHELL) $$s/$$module_srcdir/configure \
39342 --srcdir=$${topdir}/$$module_srcdir \
39343 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39344 --target=${target_alias} \
39345 --with-build-libsubdir=$(HOST_SUBDIR) \
39346 $(STAGE4_CONFIGURE_FLAGS)
39347 @endif target-libsanitizer-bootstrap
39349 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
39350 maybe-configure-stageprofile-target-libsanitizer:
39351 @if target-libsanitizer-bootstrap
39352 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39353 configure-stageprofile-target-libsanitizer:
39354 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39355 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39356 @r=`${PWD_COMMAND}`; export r; \
39357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39358 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39359 echo "Checking multilib configuration for libsanitizer..."; \
39360 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39361 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39362 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39363 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39364 else \
39365 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39366 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39367 fi; \
39368 else \
39369 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39370 fi; \
39371 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39372 $(RAW_CXX_TARGET_EXPORTS) \
39374 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39375 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39376 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39377 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
39378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39379 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39380 case $(srcdir) in \
39381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39382 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39384 esac; \
39385 module_srcdir=libsanitizer; \
39386 $(SHELL) $$s/$$module_srcdir/configure \
39387 --srcdir=$${topdir}/$$module_srcdir \
39388 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39389 --target=${target_alias} \
39390 --with-build-libsubdir=$(HOST_SUBDIR) \
39391 $(STAGEprofile_CONFIGURE_FLAGS)
39392 @endif target-libsanitizer-bootstrap
39394 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
39395 maybe-configure-stagetrain-target-libsanitizer:
39396 @if target-libsanitizer-bootstrap
39397 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39398 configure-stagetrain-target-libsanitizer:
39399 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39400 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39401 @r=`${PWD_COMMAND}`; export r; \
39402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39403 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39404 echo "Checking multilib configuration for libsanitizer..."; \
39405 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39406 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39407 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39408 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39409 else \
39410 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39411 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39412 fi; \
39413 else \
39414 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39415 fi; \
39416 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39417 $(RAW_CXX_TARGET_EXPORTS) \
39419 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39420 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39421 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39422 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
39423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39424 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39425 case $(srcdir) in \
39426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39427 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39429 esac; \
39430 module_srcdir=libsanitizer; \
39431 $(SHELL) $$s/$$module_srcdir/configure \
39432 --srcdir=$${topdir}/$$module_srcdir \
39433 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39434 --target=${target_alias} \
39435 --with-build-libsubdir=$(HOST_SUBDIR) \
39436 $(STAGEtrain_CONFIGURE_FLAGS)
39437 @endif target-libsanitizer-bootstrap
39439 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
39440 maybe-configure-stagefeedback-target-libsanitizer:
39441 @if target-libsanitizer-bootstrap
39442 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39443 configure-stagefeedback-target-libsanitizer:
39444 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39445 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39446 @r=`${PWD_COMMAND}`; export r; \
39447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39448 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39449 echo "Checking multilib configuration for libsanitizer..."; \
39450 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39451 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39452 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39453 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39454 else \
39455 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39456 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39457 fi; \
39458 else \
39459 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39460 fi; \
39461 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39462 $(RAW_CXX_TARGET_EXPORTS) \
39464 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39465 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39466 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39467 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
39468 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39469 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39470 case $(srcdir) in \
39471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39472 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39474 esac; \
39475 module_srcdir=libsanitizer; \
39476 $(SHELL) $$s/$$module_srcdir/configure \
39477 --srcdir=$${topdir}/$$module_srcdir \
39478 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39479 --target=${target_alias} \
39480 --with-build-libsubdir=$(HOST_SUBDIR) \
39481 $(STAGEfeedback_CONFIGURE_FLAGS)
39482 @endif target-libsanitizer-bootstrap
39484 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
39485 maybe-configure-stageautoprofile-target-libsanitizer:
39486 @if target-libsanitizer-bootstrap
39487 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39488 configure-stageautoprofile-target-libsanitizer:
39489 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39490 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39491 @r=`${PWD_COMMAND}`; export r; \
39492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39493 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39494 echo "Checking multilib configuration for libsanitizer..."; \
39495 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39496 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39497 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39498 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39499 else \
39500 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39501 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39502 fi; \
39503 else \
39504 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39505 fi; \
39506 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39507 $(RAW_CXX_TARGET_EXPORTS) \
39509 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39510 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39511 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39512 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
39513 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39514 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39515 case $(srcdir) in \
39516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39517 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39519 esac; \
39520 module_srcdir=libsanitizer; \
39521 $(SHELL) $$s/$$module_srcdir/configure \
39522 --srcdir=$${topdir}/$$module_srcdir \
39523 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39524 --target=${target_alias} \
39525 --with-build-libsubdir=$(HOST_SUBDIR) \
39526 $(STAGEautoprofile_CONFIGURE_FLAGS)
39527 @endif target-libsanitizer-bootstrap
39529 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
39530 maybe-configure-stageautofeedback-target-libsanitizer:
39531 @if target-libsanitizer-bootstrap
39532 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39533 configure-stageautofeedback-target-libsanitizer:
39534 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39535 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39536 @r=`${PWD_COMMAND}`; export r; \
39537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39538 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39539 echo "Checking multilib configuration for libsanitizer..."; \
39540 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39541 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39542 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39543 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39544 else \
39545 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39546 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39547 fi; \
39548 else \
39549 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39550 fi; \
39551 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39552 $(RAW_CXX_TARGET_EXPORTS) \
39554 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39555 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39556 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39557 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
39558 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39559 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39560 case $(srcdir) in \
39561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39562 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39564 esac; \
39565 module_srcdir=libsanitizer; \
39566 $(SHELL) $$s/$$module_srcdir/configure \
39567 --srcdir=$${topdir}/$$module_srcdir \
39568 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39569 --target=${target_alias} \
39570 --with-build-libsubdir=$(HOST_SUBDIR) \
39571 $(STAGEautofeedback_CONFIGURE_FLAGS)
39572 @endif target-libsanitizer-bootstrap
39578 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
39579 maybe-all-target-libsanitizer:
39580 @if gcc-bootstrap
39581 all-target-libsanitizer: stage_current
39582 @endif gcc-bootstrap
39583 @if target-libsanitizer
39584 TARGET-target-libsanitizer=all
39585 maybe-all-target-libsanitizer: all-target-libsanitizer
39586 all-target-libsanitizer: configure-target-libsanitizer
39587 @r=`${PWD_COMMAND}`; export r; \
39588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39589 $(RAW_CXX_TARGET_EXPORTS) \
39590 (cd $(TARGET_SUBDIR)/libsanitizer && \
39591 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39592 $(TARGET-target-libsanitizer))
39593 @endif target-libsanitizer
39597 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
39598 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
39599 maybe-all-stage1-target-libsanitizer:
39600 maybe-clean-stage1-target-libsanitizer:
39601 @if target-libsanitizer-bootstrap
39602 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
39603 all-stage1: all-stage1-target-libsanitizer
39604 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
39605 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39606 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39607 @r=`${PWD_COMMAND}`; export r; \
39608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39609 TFLAGS="$(STAGE1_TFLAGS)"; \
39610 $(RAW_CXX_TARGET_EXPORTS) \
39611 cd $(TARGET_SUBDIR)/libsanitizer && \
39613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39614 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39615 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39616 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39620 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39622 TFLAGS="$(STAGE1_TFLAGS)" \
39623 $(TARGET-stage1-target-libsanitizer)
39625 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
39626 clean-stage1: clean-stage1-target-libsanitizer
39627 clean-stage1-target-libsanitizer:
39628 @if [ $(current_stage) = stage1 ]; then \
39629 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39630 else \
39631 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
39632 $(MAKE) stage1-start; \
39633 fi; \
39634 cd $(TARGET_SUBDIR)/libsanitizer && \
39635 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39636 clean
39637 @endif target-libsanitizer-bootstrap
39640 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
39641 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
39642 maybe-all-stage2-target-libsanitizer:
39643 maybe-clean-stage2-target-libsanitizer:
39644 @if target-libsanitizer-bootstrap
39645 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
39646 all-stage2: all-stage2-target-libsanitizer
39647 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
39648 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39649 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39650 @r=`${PWD_COMMAND}`; export r; \
39651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39652 TFLAGS="$(STAGE2_TFLAGS)"; \
39653 $(RAW_CXX_TARGET_EXPORTS) \
39655 cd $(TARGET_SUBDIR)/libsanitizer && \
39657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39658 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39659 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39660 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39661 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39662 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39663 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39664 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39665 TFLAGS="$(STAGE2_TFLAGS)" \
39666 $(TARGET-stage2-target-libsanitizer)
39668 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
39669 clean-stage2: clean-stage2-target-libsanitizer
39670 clean-stage2-target-libsanitizer:
39671 @if [ $(current_stage) = stage2 ]; then \
39672 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39673 else \
39674 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
39675 $(MAKE) stage2-start; \
39676 fi; \
39677 cd $(TARGET_SUBDIR)/libsanitizer && \
39678 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39679 @endif target-libsanitizer-bootstrap
39682 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
39683 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
39684 maybe-all-stage3-target-libsanitizer:
39685 maybe-clean-stage3-target-libsanitizer:
39686 @if target-libsanitizer-bootstrap
39687 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
39688 all-stage3: all-stage3-target-libsanitizer
39689 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
39690 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39691 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39692 @r=`${PWD_COMMAND}`; export r; \
39693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39694 TFLAGS="$(STAGE3_TFLAGS)"; \
39695 $(RAW_CXX_TARGET_EXPORTS) \
39697 cd $(TARGET_SUBDIR)/libsanitizer && \
39699 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39700 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39701 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39702 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39703 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39704 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39705 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39706 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39707 TFLAGS="$(STAGE3_TFLAGS)" \
39708 $(TARGET-stage3-target-libsanitizer)
39710 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
39711 clean-stage3: clean-stage3-target-libsanitizer
39712 clean-stage3-target-libsanitizer:
39713 @if [ $(current_stage) = stage3 ]; then \
39714 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39715 else \
39716 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
39717 $(MAKE) stage3-start; \
39718 fi; \
39719 cd $(TARGET_SUBDIR)/libsanitizer && \
39720 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39721 @endif target-libsanitizer-bootstrap
39724 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
39725 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
39726 maybe-all-stage4-target-libsanitizer:
39727 maybe-clean-stage4-target-libsanitizer:
39728 @if target-libsanitizer-bootstrap
39729 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
39730 all-stage4: all-stage4-target-libsanitizer
39731 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
39732 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39733 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39734 @r=`${PWD_COMMAND}`; export r; \
39735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39736 TFLAGS="$(STAGE4_TFLAGS)"; \
39737 $(RAW_CXX_TARGET_EXPORTS) \
39739 cd $(TARGET_SUBDIR)/libsanitizer && \
39741 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39742 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39743 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39744 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39745 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39746 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39747 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39748 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39749 TFLAGS="$(STAGE4_TFLAGS)" \
39750 $(TARGET-stage4-target-libsanitizer)
39752 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
39753 clean-stage4: clean-stage4-target-libsanitizer
39754 clean-stage4-target-libsanitizer:
39755 @if [ $(current_stage) = stage4 ]; then \
39756 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39757 else \
39758 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
39759 $(MAKE) stage4-start; \
39760 fi; \
39761 cd $(TARGET_SUBDIR)/libsanitizer && \
39762 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39763 @endif target-libsanitizer-bootstrap
39766 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
39767 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
39768 maybe-all-stageprofile-target-libsanitizer:
39769 maybe-clean-stageprofile-target-libsanitizer:
39770 @if target-libsanitizer-bootstrap
39771 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
39772 all-stageprofile: all-stageprofile-target-libsanitizer
39773 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39774 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39775 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39776 @r=`${PWD_COMMAND}`; export r; \
39777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39778 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39779 $(RAW_CXX_TARGET_EXPORTS) \
39781 cd $(TARGET_SUBDIR)/libsanitizer && \
39783 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39784 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39785 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39786 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39787 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39788 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39789 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39790 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39791 TFLAGS="$(STAGEprofile_TFLAGS)" \
39792 $(TARGET-stageprofile-target-libsanitizer)
39794 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
39795 clean-stageprofile: clean-stageprofile-target-libsanitizer
39796 clean-stageprofile-target-libsanitizer:
39797 @if [ $(current_stage) = stageprofile ]; then \
39798 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39799 else \
39800 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
39801 $(MAKE) stageprofile-start; \
39802 fi; \
39803 cd $(TARGET_SUBDIR)/libsanitizer && \
39804 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39805 @endif target-libsanitizer-bootstrap
39808 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
39809 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
39810 maybe-all-stagetrain-target-libsanitizer:
39811 maybe-clean-stagetrain-target-libsanitizer:
39812 @if target-libsanitizer-bootstrap
39813 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
39814 all-stagetrain: all-stagetrain-target-libsanitizer
39815 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
39816 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39817 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39818 @r=`${PWD_COMMAND}`; export r; \
39819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39820 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39821 $(RAW_CXX_TARGET_EXPORTS) \
39823 cd $(TARGET_SUBDIR)/libsanitizer && \
39825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39826 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39827 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39828 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39832 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39833 TFLAGS="$(STAGEtrain_TFLAGS)" \
39834 $(TARGET-stagetrain-target-libsanitizer)
39836 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
39837 clean-stagetrain: clean-stagetrain-target-libsanitizer
39838 clean-stagetrain-target-libsanitizer:
39839 @if [ $(current_stage) = stagetrain ]; then \
39840 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39841 else \
39842 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
39843 $(MAKE) stagetrain-start; \
39844 fi; \
39845 cd $(TARGET_SUBDIR)/libsanitizer && \
39846 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39847 @endif target-libsanitizer-bootstrap
39850 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
39851 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
39852 maybe-all-stagefeedback-target-libsanitizer:
39853 maybe-clean-stagefeedback-target-libsanitizer:
39854 @if target-libsanitizer-bootstrap
39855 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
39856 all-stagefeedback: all-stagefeedback-target-libsanitizer
39857 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39858 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39859 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39860 @r=`${PWD_COMMAND}`; export r; \
39861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39862 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39863 $(RAW_CXX_TARGET_EXPORTS) \
39865 cd $(TARGET_SUBDIR)/libsanitizer && \
39867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39868 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39869 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39870 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39874 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39875 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39876 $(TARGET-stagefeedback-target-libsanitizer)
39878 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
39879 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
39880 clean-stagefeedback-target-libsanitizer:
39881 @if [ $(current_stage) = stagefeedback ]; then \
39882 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39883 else \
39884 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
39885 $(MAKE) stagefeedback-start; \
39886 fi; \
39887 cd $(TARGET_SUBDIR)/libsanitizer && \
39888 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39889 @endif target-libsanitizer-bootstrap
39892 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
39893 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
39894 maybe-all-stageautoprofile-target-libsanitizer:
39895 maybe-clean-stageautoprofile-target-libsanitizer:
39896 @if target-libsanitizer-bootstrap
39897 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
39898 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
39899 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39900 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39901 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39902 @r=`${PWD_COMMAND}`; export r; \
39903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39904 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39905 $(RAW_CXX_TARGET_EXPORTS) \
39907 cd $(TARGET_SUBDIR)/libsanitizer && \
39908 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39910 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39911 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39912 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39916 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39917 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39918 $(TARGET-stageautoprofile-target-libsanitizer)
39920 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
39921 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
39922 clean-stageautoprofile-target-libsanitizer:
39923 @if [ $(current_stage) = stageautoprofile ]; then \
39924 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39925 else \
39926 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
39927 $(MAKE) stageautoprofile-start; \
39928 fi; \
39929 cd $(TARGET_SUBDIR)/libsanitizer && \
39930 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39931 @endif target-libsanitizer-bootstrap
39934 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
39935 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
39936 maybe-all-stageautofeedback-target-libsanitizer:
39937 maybe-clean-stageautofeedback-target-libsanitizer:
39938 @if target-libsanitizer-bootstrap
39939 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
39940 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
39941 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39942 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39943 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39944 @r=`${PWD_COMMAND}`; export r; \
39945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39946 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39947 $(RAW_CXX_TARGET_EXPORTS) \
39949 cd $(TARGET_SUBDIR)/libsanitizer && \
39951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39952 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39953 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39954 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39958 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39959 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39960 $(TARGET-stageautofeedback-target-libsanitizer)
39962 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
39963 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
39964 clean-stageautofeedback-target-libsanitizer:
39965 @if [ $(current_stage) = stageautofeedback ]; then \
39966 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39967 else \
39968 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
39969 $(MAKE) stageautofeedback-start; \
39970 fi; \
39971 cd $(TARGET_SUBDIR)/libsanitizer && \
39972 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39973 @endif target-libsanitizer-bootstrap
39980 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
39981 maybe-check-target-libsanitizer:
39982 @if target-libsanitizer
39983 maybe-check-target-libsanitizer: check-target-libsanitizer
39985 check-target-libsanitizer:
39986 @: $(MAKE); $(unstage)
39987 @r=`${PWD_COMMAND}`; export r; \
39988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39989 $(RAW_CXX_TARGET_EXPORTS) \
39990 (cd $(TARGET_SUBDIR)/libsanitizer && \
39991 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
39993 @endif target-libsanitizer
39995 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
39996 maybe-install-target-libsanitizer:
39997 @if target-libsanitizer
39998 maybe-install-target-libsanitizer: install-target-libsanitizer
40000 install-target-libsanitizer: installdirs
40001 @: $(MAKE); $(unstage)
40002 @r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(RAW_CXX_TARGET_EXPORTS) \
40005 (cd $(TARGET_SUBDIR)/libsanitizer && \
40006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40008 @endif target-libsanitizer
40010 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
40011 maybe-install-strip-target-libsanitizer:
40012 @if target-libsanitizer
40013 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
40015 install-strip-target-libsanitizer: installdirs
40016 @: $(MAKE); $(unstage)
40017 @r=`${PWD_COMMAND}`; export r; \
40018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40019 $(RAW_CXX_TARGET_EXPORTS) \
40020 (cd $(TARGET_SUBDIR)/libsanitizer && \
40021 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40023 @endif target-libsanitizer
40025 # Other targets (info, dvi, pdf, etc.)
40027 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
40028 maybe-info-target-libsanitizer:
40029 @if target-libsanitizer
40030 maybe-info-target-libsanitizer: info-target-libsanitizer
40032 info-target-libsanitizer: \
40033 configure-target-libsanitizer
40034 @: $(MAKE); $(unstage)
40035 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40036 r=`${PWD_COMMAND}`; export r; \
40037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40038 $(RAW_CXX_TARGET_EXPORTS) \
40039 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
40040 for flag in $(EXTRA_TARGET_FLAGS); do \
40041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40042 done; \
40043 (cd $(TARGET_SUBDIR)/libsanitizer && \
40044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40046 "RANLIB=$${RANLIB}" \
40047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40048 info) \
40049 || exit 1
40051 @endif target-libsanitizer
40053 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
40054 maybe-dvi-target-libsanitizer:
40055 @if target-libsanitizer
40056 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
40058 dvi-target-libsanitizer: \
40059 configure-target-libsanitizer
40060 @: $(MAKE); $(unstage)
40061 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40062 r=`${PWD_COMMAND}`; export r; \
40063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40064 $(RAW_CXX_TARGET_EXPORTS) \
40065 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
40066 for flag in $(EXTRA_TARGET_FLAGS); do \
40067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40068 done; \
40069 (cd $(TARGET_SUBDIR)/libsanitizer && \
40070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40072 "RANLIB=$${RANLIB}" \
40073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40074 dvi) \
40075 || exit 1
40077 @endif target-libsanitizer
40079 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
40080 maybe-pdf-target-libsanitizer:
40081 @if target-libsanitizer
40082 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
40084 pdf-target-libsanitizer: \
40085 configure-target-libsanitizer
40086 @: $(MAKE); $(unstage)
40087 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40088 r=`${PWD_COMMAND}`; export r; \
40089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40090 $(RAW_CXX_TARGET_EXPORTS) \
40091 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40092 for flag in $(EXTRA_TARGET_FLAGS); do \
40093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40094 done; \
40095 (cd $(TARGET_SUBDIR)/libsanitizer && \
40096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40098 "RANLIB=$${RANLIB}" \
40099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40100 pdf) \
40101 || exit 1
40103 @endif target-libsanitizer
40105 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
40106 maybe-html-target-libsanitizer:
40107 @if target-libsanitizer
40108 maybe-html-target-libsanitizer: html-target-libsanitizer
40110 html-target-libsanitizer: \
40111 configure-target-libsanitizer
40112 @: $(MAKE); $(unstage)
40113 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40114 r=`${PWD_COMMAND}`; export r; \
40115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40116 $(RAW_CXX_TARGET_EXPORTS) \
40117 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
40118 for flag in $(EXTRA_TARGET_FLAGS); do \
40119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40120 done; \
40121 (cd $(TARGET_SUBDIR)/libsanitizer && \
40122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40124 "RANLIB=$${RANLIB}" \
40125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40126 html) \
40127 || exit 1
40129 @endif target-libsanitizer
40131 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
40132 maybe-TAGS-target-libsanitizer:
40133 @if target-libsanitizer
40134 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
40136 TAGS-target-libsanitizer: \
40137 configure-target-libsanitizer
40138 @: $(MAKE); $(unstage)
40139 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40140 r=`${PWD_COMMAND}`; export r; \
40141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40142 $(RAW_CXX_TARGET_EXPORTS) \
40143 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
40144 for flag in $(EXTRA_TARGET_FLAGS); do \
40145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40146 done; \
40147 (cd $(TARGET_SUBDIR)/libsanitizer && \
40148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40150 "RANLIB=$${RANLIB}" \
40151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40152 TAGS) \
40153 || exit 1
40155 @endif target-libsanitizer
40157 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
40158 maybe-install-info-target-libsanitizer:
40159 @if target-libsanitizer
40160 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
40162 install-info-target-libsanitizer: \
40163 configure-target-libsanitizer \
40164 info-target-libsanitizer
40165 @: $(MAKE); $(unstage)
40166 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40167 r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(RAW_CXX_TARGET_EXPORTS) \
40170 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
40171 for flag in $(EXTRA_TARGET_FLAGS); do \
40172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40173 done; \
40174 (cd $(TARGET_SUBDIR)/libsanitizer && \
40175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40177 "RANLIB=$${RANLIB}" \
40178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40179 install-info) \
40180 || exit 1
40182 @endif target-libsanitizer
40184 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
40185 maybe-install-pdf-target-libsanitizer:
40186 @if target-libsanitizer
40187 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
40189 install-pdf-target-libsanitizer: \
40190 configure-target-libsanitizer \
40191 pdf-target-libsanitizer
40192 @: $(MAKE); $(unstage)
40193 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40194 r=`${PWD_COMMAND}`; export r; \
40195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40196 $(RAW_CXX_TARGET_EXPORTS) \
40197 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40198 for flag in $(EXTRA_TARGET_FLAGS); do \
40199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40200 done; \
40201 (cd $(TARGET_SUBDIR)/libsanitizer && \
40202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40204 "RANLIB=$${RANLIB}" \
40205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40206 install-pdf) \
40207 || exit 1
40209 @endif target-libsanitizer
40211 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
40212 maybe-install-html-target-libsanitizer:
40213 @if target-libsanitizer
40214 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
40216 install-html-target-libsanitizer: \
40217 configure-target-libsanitizer \
40218 html-target-libsanitizer
40219 @: $(MAKE); $(unstage)
40220 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40221 r=`${PWD_COMMAND}`; export r; \
40222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40223 $(RAW_CXX_TARGET_EXPORTS) \
40224 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
40225 for flag in $(EXTRA_TARGET_FLAGS); do \
40226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40227 done; \
40228 (cd $(TARGET_SUBDIR)/libsanitizer && \
40229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40231 "RANLIB=$${RANLIB}" \
40232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40233 install-html) \
40234 || exit 1
40236 @endif target-libsanitizer
40238 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
40239 maybe-installcheck-target-libsanitizer:
40240 @if target-libsanitizer
40241 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
40243 installcheck-target-libsanitizer: \
40244 configure-target-libsanitizer
40245 @: $(MAKE); $(unstage)
40246 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40247 r=`${PWD_COMMAND}`; export r; \
40248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40249 $(RAW_CXX_TARGET_EXPORTS) \
40250 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
40251 for flag in $(EXTRA_TARGET_FLAGS); do \
40252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40253 done; \
40254 (cd $(TARGET_SUBDIR)/libsanitizer && \
40255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40257 "RANLIB=$${RANLIB}" \
40258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40259 installcheck) \
40260 || exit 1
40262 @endif target-libsanitizer
40264 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
40265 maybe-mostlyclean-target-libsanitizer:
40266 @if target-libsanitizer
40267 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
40269 mostlyclean-target-libsanitizer:
40270 @: $(MAKE); $(unstage)
40271 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40272 r=`${PWD_COMMAND}`; export r; \
40273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40274 $(RAW_CXX_TARGET_EXPORTS) \
40275 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
40276 for flag in $(EXTRA_TARGET_FLAGS); do \
40277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40278 done; \
40279 (cd $(TARGET_SUBDIR)/libsanitizer && \
40280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40282 "RANLIB=$${RANLIB}" \
40283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40284 mostlyclean) \
40285 || exit 1
40287 @endif target-libsanitizer
40289 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
40290 maybe-clean-target-libsanitizer:
40291 @if target-libsanitizer
40292 maybe-clean-target-libsanitizer: clean-target-libsanitizer
40294 clean-target-libsanitizer:
40295 @: $(MAKE); $(unstage)
40296 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40297 r=`${PWD_COMMAND}`; export r; \
40298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40299 $(RAW_CXX_TARGET_EXPORTS) \
40300 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
40301 for flag in $(EXTRA_TARGET_FLAGS); do \
40302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40303 done; \
40304 (cd $(TARGET_SUBDIR)/libsanitizer && \
40305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40307 "RANLIB=$${RANLIB}" \
40308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40309 clean) \
40310 || exit 1
40312 @endif target-libsanitizer
40314 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
40315 maybe-distclean-target-libsanitizer:
40316 @if target-libsanitizer
40317 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
40319 distclean-target-libsanitizer:
40320 @: $(MAKE); $(unstage)
40321 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40322 r=`${PWD_COMMAND}`; export r; \
40323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40324 $(RAW_CXX_TARGET_EXPORTS) \
40325 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
40326 for flag in $(EXTRA_TARGET_FLAGS); do \
40327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40328 done; \
40329 (cd $(TARGET_SUBDIR)/libsanitizer && \
40330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40332 "RANLIB=$${RANLIB}" \
40333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40334 distclean) \
40335 || exit 1
40337 @endif target-libsanitizer
40339 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
40340 maybe-maintainer-clean-target-libsanitizer:
40341 @if target-libsanitizer
40342 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
40344 maintainer-clean-target-libsanitizer:
40345 @: $(MAKE); $(unstage)
40346 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40347 r=`${PWD_COMMAND}`; export r; \
40348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40349 $(RAW_CXX_TARGET_EXPORTS) \
40350 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
40351 for flag in $(EXTRA_TARGET_FLAGS); do \
40352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40353 done; \
40354 (cd $(TARGET_SUBDIR)/libsanitizer && \
40355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40357 "RANLIB=$${RANLIB}" \
40358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40359 maintainer-clean) \
40360 || exit 1
40362 @endif target-libsanitizer
40368 .PHONY: configure-target-libmpx maybe-configure-target-libmpx
40369 maybe-configure-target-libmpx:
40370 @if gcc-bootstrap
40371 configure-target-libmpx: stage_current
40372 @endif gcc-bootstrap
40373 @if target-libmpx
40374 maybe-configure-target-libmpx: configure-target-libmpx
40375 configure-target-libmpx:
40376 @r=`${PWD_COMMAND}`; export r; \
40377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40378 echo "Checking multilib configuration for libmpx..."; \
40379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40381 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40382 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40383 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40384 else \
40385 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40386 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40387 fi; \
40388 else \
40389 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40390 fi; \
40391 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40393 $(NORMAL_TARGET_EXPORTS) \
40394 echo Configuring in $(TARGET_SUBDIR)/libmpx; \
40395 cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
40396 case $(srcdir) in \
40397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40398 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40400 esac; \
40401 module_srcdir=libmpx; \
40402 rm -f no-such-file || : ; \
40403 CONFIG_SITE=no-such-file $(SHELL) \
40404 $$s/$$module_srcdir/configure \
40405 --srcdir=$${topdir}/$$module_srcdir \
40406 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40407 --target=${target_alias} \
40408 || exit 1
40409 @endif target-libmpx
40413 .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
40414 maybe-configure-stage1-target-libmpx:
40415 @if target-libmpx-bootstrap
40416 maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
40417 configure-stage1-target-libmpx:
40418 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40419 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40420 @r=`${PWD_COMMAND}`; export r; \
40421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40422 TFLAGS="$(STAGE1_TFLAGS)"; \
40423 echo "Checking multilib configuration for libmpx..."; \
40424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40425 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40426 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40427 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40428 else \
40429 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40430 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40431 fi; \
40432 else \
40433 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40434 fi; \
40435 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40436 $(NORMAL_TARGET_EXPORTS) \
40437 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40438 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40439 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40440 echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx; \
40441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40442 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40443 case $(srcdir) in \
40444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40445 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40447 esac; \
40448 module_srcdir=libmpx; \
40449 $(SHELL) $$s/$$module_srcdir/configure \
40450 --srcdir=$${topdir}/$$module_srcdir \
40451 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40452 --target=${target_alias} \
40454 $(STAGE1_CONFIGURE_FLAGS)
40455 @endif target-libmpx-bootstrap
40457 .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
40458 maybe-configure-stage2-target-libmpx:
40459 @if target-libmpx-bootstrap
40460 maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
40461 configure-stage2-target-libmpx:
40462 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40463 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40464 @r=`${PWD_COMMAND}`; export r; \
40465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40466 TFLAGS="$(STAGE2_TFLAGS)"; \
40467 echo "Checking multilib configuration for libmpx..."; \
40468 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40469 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40470 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40471 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40472 else \
40473 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40474 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40475 fi; \
40476 else \
40477 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40478 fi; \
40479 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40480 $(NORMAL_TARGET_EXPORTS) \
40482 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40483 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40484 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40485 echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx; \
40486 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40487 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40488 case $(srcdir) in \
40489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40490 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40492 esac; \
40493 module_srcdir=libmpx; \
40494 $(SHELL) $$s/$$module_srcdir/configure \
40495 --srcdir=$${topdir}/$$module_srcdir \
40496 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40497 --target=${target_alias} \
40498 --with-build-libsubdir=$(HOST_SUBDIR) \
40499 $(STAGE2_CONFIGURE_FLAGS)
40500 @endif target-libmpx-bootstrap
40502 .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
40503 maybe-configure-stage3-target-libmpx:
40504 @if target-libmpx-bootstrap
40505 maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
40506 configure-stage3-target-libmpx:
40507 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40508 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40509 @r=`${PWD_COMMAND}`; export r; \
40510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40511 TFLAGS="$(STAGE3_TFLAGS)"; \
40512 echo "Checking multilib configuration for libmpx..."; \
40513 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40514 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40515 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40516 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40517 else \
40518 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40519 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40520 fi; \
40521 else \
40522 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40523 fi; \
40524 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40525 $(NORMAL_TARGET_EXPORTS) \
40527 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40528 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40529 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40530 echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx; \
40531 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40532 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40533 case $(srcdir) in \
40534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40535 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40537 esac; \
40538 module_srcdir=libmpx; \
40539 $(SHELL) $$s/$$module_srcdir/configure \
40540 --srcdir=$${topdir}/$$module_srcdir \
40541 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40542 --target=${target_alias} \
40543 --with-build-libsubdir=$(HOST_SUBDIR) \
40544 $(STAGE3_CONFIGURE_FLAGS)
40545 @endif target-libmpx-bootstrap
40547 .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
40548 maybe-configure-stage4-target-libmpx:
40549 @if target-libmpx-bootstrap
40550 maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
40551 configure-stage4-target-libmpx:
40552 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40553 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40554 @r=`${PWD_COMMAND}`; export r; \
40555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40556 TFLAGS="$(STAGE4_TFLAGS)"; \
40557 echo "Checking multilib configuration for libmpx..."; \
40558 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40559 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40560 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40561 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40562 else \
40563 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40564 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40565 fi; \
40566 else \
40567 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40568 fi; \
40569 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40570 $(NORMAL_TARGET_EXPORTS) \
40572 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40573 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40574 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40575 echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx; \
40576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40577 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40578 case $(srcdir) in \
40579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40580 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40582 esac; \
40583 module_srcdir=libmpx; \
40584 $(SHELL) $$s/$$module_srcdir/configure \
40585 --srcdir=$${topdir}/$$module_srcdir \
40586 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40587 --target=${target_alias} \
40588 --with-build-libsubdir=$(HOST_SUBDIR) \
40589 $(STAGE4_CONFIGURE_FLAGS)
40590 @endif target-libmpx-bootstrap
40592 .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
40593 maybe-configure-stageprofile-target-libmpx:
40594 @if target-libmpx-bootstrap
40595 maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
40596 configure-stageprofile-target-libmpx:
40597 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40598 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40599 @r=`${PWD_COMMAND}`; export r; \
40600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40601 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40602 echo "Checking multilib configuration for libmpx..."; \
40603 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40604 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40605 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40606 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40607 else \
40608 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40609 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40610 fi; \
40611 else \
40612 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40613 fi; \
40614 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40615 $(NORMAL_TARGET_EXPORTS) \
40617 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40618 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40619 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40620 echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx; \
40621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40622 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40623 case $(srcdir) in \
40624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40625 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40627 esac; \
40628 module_srcdir=libmpx; \
40629 $(SHELL) $$s/$$module_srcdir/configure \
40630 --srcdir=$${topdir}/$$module_srcdir \
40631 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40632 --target=${target_alias} \
40633 --with-build-libsubdir=$(HOST_SUBDIR) \
40634 $(STAGEprofile_CONFIGURE_FLAGS)
40635 @endif target-libmpx-bootstrap
40637 .PHONY: configure-stagetrain-target-libmpx maybe-configure-stagetrain-target-libmpx
40638 maybe-configure-stagetrain-target-libmpx:
40639 @if target-libmpx-bootstrap
40640 maybe-configure-stagetrain-target-libmpx: configure-stagetrain-target-libmpx
40641 configure-stagetrain-target-libmpx:
40642 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40643 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40644 @r=`${PWD_COMMAND}`; export r; \
40645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40646 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40647 echo "Checking multilib configuration for libmpx..."; \
40648 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40649 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40650 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40651 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40652 else \
40653 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40654 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40655 fi; \
40656 else \
40657 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40658 fi; \
40659 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40660 $(NORMAL_TARGET_EXPORTS) \
40662 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40665 echo Configuring stage train in $(TARGET_SUBDIR)/libmpx; \
40666 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40667 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40668 case $(srcdir) in \
40669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40670 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40672 esac; \
40673 module_srcdir=libmpx; \
40674 $(SHELL) $$s/$$module_srcdir/configure \
40675 --srcdir=$${topdir}/$$module_srcdir \
40676 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40677 --target=${target_alias} \
40678 --with-build-libsubdir=$(HOST_SUBDIR) \
40679 $(STAGEtrain_CONFIGURE_FLAGS)
40680 @endif target-libmpx-bootstrap
40682 .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
40683 maybe-configure-stagefeedback-target-libmpx:
40684 @if target-libmpx-bootstrap
40685 maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
40686 configure-stagefeedback-target-libmpx:
40687 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40688 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40689 @r=`${PWD_COMMAND}`; export r; \
40690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40691 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40692 echo "Checking multilib configuration for libmpx..."; \
40693 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40694 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40695 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40696 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40697 else \
40698 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40699 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40700 fi; \
40701 else \
40702 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40703 fi; \
40704 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40705 $(NORMAL_TARGET_EXPORTS) \
40707 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40708 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40709 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40710 echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx; \
40711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40712 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40713 case $(srcdir) in \
40714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40715 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40717 esac; \
40718 module_srcdir=libmpx; \
40719 $(SHELL) $$s/$$module_srcdir/configure \
40720 --srcdir=$${topdir}/$$module_srcdir \
40721 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40722 --target=${target_alias} \
40723 --with-build-libsubdir=$(HOST_SUBDIR) \
40724 $(STAGEfeedback_CONFIGURE_FLAGS)
40725 @endif target-libmpx-bootstrap
40727 .PHONY: configure-stageautoprofile-target-libmpx maybe-configure-stageautoprofile-target-libmpx
40728 maybe-configure-stageautoprofile-target-libmpx:
40729 @if target-libmpx-bootstrap
40730 maybe-configure-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
40731 configure-stageautoprofile-target-libmpx:
40732 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40733 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40734 @r=`${PWD_COMMAND}`; export r; \
40735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40736 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40737 echo "Checking multilib configuration for libmpx..."; \
40738 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40739 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40740 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40741 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40742 else \
40743 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40744 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40745 fi; \
40746 else \
40747 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40748 fi; \
40749 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40750 $(NORMAL_TARGET_EXPORTS) \
40752 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40753 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40754 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40755 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libmpx; \
40756 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40757 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40758 case $(srcdir) in \
40759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40760 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40762 esac; \
40763 module_srcdir=libmpx; \
40764 $(SHELL) $$s/$$module_srcdir/configure \
40765 --srcdir=$${topdir}/$$module_srcdir \
40766 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40767 --target=${target_alias} \
40768 --with-build-libsubdir=$(HOST_SUBDIR) \
40769 $(STAGEautoprofile_CONFIGURE_FLAGS)
40770 @endif target-libmpx-bootstrap
40772 .PHONY: configure-stageautofeedback-target-libmpx maybe-configure-stageautofeedback-target-libmpx
40773 maybe-configure-stageautofeedback-target-libmpx:
40774 @if target-libmpx-bootstrap
40775 maybe-configure-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
40776 configure-stageautofeedback-target-libmpx:
40777 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40778 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40779 @r=`${PWD_COMMAND}`; export r; \
40780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40781 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40782 echo "Checking multilib configuration for libmpx..."; \
40783 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40784 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40785 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40786 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40787 else \
40788 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40789 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40790 fi; \
40791 else \
40792 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40793 fi; \
40794 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40795 $(NORMAL_TARGET_EXPORTS) \
40797 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40798 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40799 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40800 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libmpx; \
40801 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40802 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40803 case $(srcdir) in \
40804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40805 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40807 esac; \
40808 module_srcdir=libmpx; \
40809 $(SHELL) $$s/$$module_srcdir/configure \
40810 --srcdir=$${topdir}/$$module_srcdir \
40811 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40812 --target=${target_alias} \
40813 --with-build-libsubdir=$(HOST_SUBDIR) \
40814 $(STAGEautofeedback_CONFIGURE_FLAGS)
40815 @endif target-libmpx-bootstrap
40821 .PHONY: all-target-libmpx maybe-all-target-libmpx
40822 maybe-all-target-libmpx:
40823 @if gcc-bootstrap
40824 all-target-libmpx: stage_current
40825 @endif gcc-bootstrap
40826 @if target-libmpx
40827 TARGET-target-libmpx=all
40828 maybe-all-target-libmpx: all-target-libmpx
40829 all-target-libmpx: configure-target-libmpx
40830 @r=`${PWD_COMMAND}`; export r; \
40831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40832 $(NORMAL_TARGET_EXPORTS) \
40833 (cd $(TARGET_SUBDIR)/libmpx && \
40834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40835 $(TARGET-target-libmpx))
40836 @endif target-libmpx
40840 .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
40841 .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
40842 maybe-all-stage1-target-libmpx:
40843 maybe-clean-stage1-target-libmpx:
40844 @if target-libmpx-bootstrap
40845 maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
40846 all-stage1: all-stage1-target-libmpx
40847 TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
40848 all-stage1-target-libmpx: configure-stage1-target-libmpx
40849 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40850 @r=`${PWD_COMMAND}`; export r; \
40851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40852 TFLAGS="$(STAGE1_TFLAGS)"; \
40853 $(NORMAL_TARGET_EXPORTS) \
40854 cd $(TARGET_SUBDIR)/libmpx && \
40856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40857 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40858 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40859 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40863 $(EXTRA_TARGET_FLAGS) \
40865 TFLAGS="$(STAGE1_TFLAGS)" \
40866 $(TARGET-stage1-target-libmpx)
40868 maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
40869 clean-stage1: clean-stage1-target-libmpx
40870 clean-stage1-target-libmpx:
40871 @if [ $(current_stage) = stage1 ]; then \
40872 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
40873 else \
40874 [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
40875 $(MAKE) stage1-start; \
40876 fi; \
40877 cd $(TARGET_SUBDIR)/libmpx && \
40878 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40879 clean
40880 @endif target-libmpx-bootstrap
40883 .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
40884 .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
40885 maybe-all-stage2-target-libmpx:
40886 maybe-clean-stage2-target-libmpx:
40887 @if target-libmpx-bootstrap
40888 maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
40889 all-stage2: all-stage2-target-libmpx
40890 TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
40891 all-stage2-target-libmpx: configure-stage2-target-libmpx
40892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40893 @r=`${PWD_COMMAND}`; export r; \
40894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40895 TFLAGS="$(STAGE2_TFLAGS)"; \
40896 $(NORMAL_TARGET_EXPORTS) \
40898 cd $(TARGET_SUBDIR)/libmpx && \
40900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40901 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40902 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40903 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40907 $(EXTRA_TARGET_FLAGS) \
40908 TFLAGS="$(STAGE2_TFLAGS)" \
40909 $(TARGET-stage2-target-libmpx)
40911 maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
40912 clean-stage2: clean-stage2-target-libmpx
40913 clean-stage2-target-libmpx:
40914 @if [ $(current_stage) = stage2 ]; then \
40915 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
40916 else \
40917 [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
40918 $(MAKE) stage2-start; \
40919 fi; \
40920 cd $(TARGET_SUBDIR)/libmpx && \
40921 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40922 @endif target-libmpx-bootstrap
40925 .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
40926 .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
40927 maybe-all-stage3-target-libmpx:
40928 maybe-clean-stage3-target-libmpx:
40929 @if target-libmpx-bootstrap
40930 maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
40931 all-stage3: all-stage3-target-libmpx
40932 TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
40933 all-stage3-target-libmpx: configure-stage3-target-libmpx
40934 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40935 @r=`${PWD_COMMAND}`; export r; \
40936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40937 TFLAGS="$(STAGE3_TFLAGS)"; \
40938 $(NORMAL_TARGET_EXPORTS) \
40940 cd $(TARGET_SUBDIR)/libmpx && \
40942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40943 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40944 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40945 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40949 $(EXTRA_TARGET_FLAGS) \
40950 TFLAGS="$(STAGE3_TFLAGS)" \
40951 $(TARGET-stage3-target-libmpx)
40953 maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
40954 clean-stage3: clean-stage3-target-libmpx
40955 clean-stage3-target-libmpx:
40956 @if [ $(current_stage) = stage3 ]; then \
40957 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
40958 else \
40959 [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
40960 $(MAKE) stage3-start; \
40961 fi; \
40962 cd $(TARGET_SUBDIR)/libmpx && \
40963 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40964 @endif target-libmpx-bootstrap
40967 .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
40968 .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
40969 maybe-all-stage4-target-libmpx:
40970 maybe-clean-stage4-target-libmpx:
40971 @if target-libmpx-bootstrap
40972 maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
40973 all-stage4: all-stage4-target-libmpx
40974 TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
40975 all-stage4-target-libmpx: configure-stage4-target-libmpx
40976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40977 @r=`${PWD_COMMAND}`; export r; \
40978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40979 TFLAGS="$(STAGE4_TFLAGS)"; \
40980 $(NORMAL_TARGET_EXPORTS) \
40982 cd $(TARGET_SUBDIR)/libmpx && \
40984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40985 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40986 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40987 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40991 $(EXTRA_TARGET_FLAGS) \
40992 TFLAGS="$(STAGE4_TFLAGS)" \
40993 $(TARGET-stage4-target-libmpx)
40995 maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
40996 clean-stage4: clean-stage4-target-libmpx
40997 clean-stage4-target-libmpx:
40998 @if [ $(current_stage) = stage4 ]; then \
40999 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41000 else \
41001 [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
41002 $(MAKE) stage4-start; \
41003 fi; \
41004 cd $(TARGET_SUBDIR)/libmpx && \
41005 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41006 @endif target-libmpx-bootstrap
41009 .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
41010 .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
41011 maybe-all-stageprofile-target-libmpx:
41012 maybe-clean-stageprofile-target-libmpx:
41013 @if target-libmpx-bootstrap
41014 maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
41015 all-stageprofile: all-stageprofile-target-libmpx
41016 TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
41017 all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
41018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41019 @r=`${PWD_COMMAND}`; export r; \
41020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41022 $(NORMAL_TARGET_EXPORTS) \
41024 cd $(TARGET_SUBDIR)/libmpx && \
41026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41027 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41028 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41029 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41033 $(EXTRA_TARGET_FLAGS) \
41034 TFLAGS="$(STAGEprofile_TFLAGS)" \
41035 $(TARGET-stageprofile-target-libmpx)
41037 maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
41038 clean-stageprofile: clean-stageprofile-target-libmpx
41039 clean-stageprofile-target-libmpx:
41040 @if [ $(current_stage) = stageprofile ]; then \
41041 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41042 else \
41043 [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
41044 $(MAKE) stageprofile-start; \
41045 fi; \
41046 cd $(TARGET_SUBDIR)/libmpx && \
41047 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41048 @endif target-libmpx-bootstrap
41051 .PHONY: all-stagetrain-target-libmpx maybe-all-stagetrain-target-libmpx
41052 .PHONY: clean-stagetrain-target-libmpx maybe-clean-stagetrain-target-libmpx
41053 maybe-all-stagetrain-target-libmpx:
41054 maybe-clean-stagetrain-target-libmpx:
41055 @if target-libmpx-bootstrap
41056 maybe-all-stagetrain-target-libmpx: all-stagetrain-target-libmpx
41057 all-stagetrain: all-stagetrain-target-libmpx
41058 TARGET-stagetrain-target-libmpx = $(TARGET-target-libmpx)
41059 all-stagetrain-target-libmpx: configure-stagetrain-target-libmpx
41060 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41061 @r=`${PWD_COMMAND}`; export r; \
41062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41063 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41064 $(NORMAL_TARGET_EXPORTS) \
41066 cd $(TARGET_SUBDIR)/libmpx && \
41068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41069 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41070 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41071 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41075 $(EXTRA_TARGET_FLAGS) \
41076 TFLAGS="$(STAGEtrain_TFLAGS)" \
41077 $(TARGET-stagetrain-target-libmpx)
41079 maybe-clean-stagetrain-target-libmpx: clean-stagetrain-target-libmpx
41080 clean-stagetrain: clean-stagetrain-target-libmpx
41081 clean-stagetrain-target-libmpx:
41082 @if [ $(current_stage) = stagetrain ]; then \
41083 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41084 else \
41085 [ -f $(TARGET_SUBDIR)/stagetrain-libmpx/Makefile ] || exit 0; \
41086 $(MAKE) stagetrain-start; \
41087 fi; \
41088 cd $(TARGET_SUBDIR)/libmpx && \
41089 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41090 @endif target-libmpx-bootstrap
41093 .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
41094 .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
41095 maybe-all-stagefeedback-target-libmpx:
41096 maybe-clean-stagefeedback-target-libmpx:
41097 @if target-libmpx-bootstrap
41098 maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
41099 all-stagefeedback: all-stagefeedback-target-libmpx
41100 TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
41101 all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
41102 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41103 @r=`${PWD_COMMAND}`; export r; \
41104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41105 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41106 $(NORMAL_TARGET_EXPORTS) \
41108 cd $(TARGET_SUBDIR)/libmpx && \
41110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41111 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41112 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41113 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41117 $(EXTRA_TARGET_FLAGS) \
41118 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41119 $(TARGET-stagefeedback-target-libmpx)
41121 maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
41122 clean-stagefeedback: clean-stagefeedback-target-libmpx
41123 clean-stagefeedback-target-libmpx:
41124 @if [ $(current_stage) = stagefeedback ]; then \
41125 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41126 else \
41127 [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
41128 $(MAKE) stagefeedback-start; \
41129 fi; \
41130 cd $(TARGET_SUBDIR)/libmpx && \
41131 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41132 @endif target-libmpx-bootstrap
41135 .PHONY: all-stageautoprofile-target-libmpx maybe-all-stageautoprofile-target-libmpx
41136 .PHONY: clean-stageautoprofile-target-libmpx maybe-clean-stageautoprofile-target-libmpx
41137 maybe-all-stageautoprofile-target-libmpx:
41138 maybe-clean-stageautoprofile-target-libmpx:
41139 @if target-libmpx-bootstrap
41140 maybe-all-stageautoprofile-target-libmpx: all-stageautoprofile-target-libmpx
41141 all-stageautoprofile: all-stageautoprofile-target-libmpx
41142 TARGET-stageautoprofile-target-libmpx = $(TARGET-target-libmpx)
41143 all-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
41144 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41145 @r=`${PWD_COMMAND}`; export r; \
41146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41147 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41148 $(NORMAL_TARGET_EXPORTS) \
41150 cd $(TARGET_SUBDIR)/libmpx && \
41151 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41153 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41154 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41155 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41159 $(EXTRA_TARGET_FLAGS) \
41160 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41161 $(TARGET-stageautoprofile-target-libmpx)
41163 maybe-clean-stageautoprofile-target-libmpx: clean-stageautoprofile-target-libmpx
41164 clean-stageautoprofile: clean-stageautoprofile-target-libmpx
41165 clean-stageautoprofile-target-libmpx:
41166 @if [ $(current_stage) = stageautoprofile ]; then \
41167 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41168 else \
41169 [ -f $(TARGET_SUBDIR)/stageautoprofile-libmpx/Makefile ] || exit 0; \
41170 $(MAKE) stageautoprofile-start; \
41171 fi; \
41172 cd $(TARGET_SUBDIR)/libmpx && \
41173 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41174 @endif target-libmpx-bootstrap
41177 .PHONY: all-stageautofeedback-target-libmpx maybe-all-stageautofeedback-target-libmpx
41178 .PHONY: clean-stageautofeedback-target-libmpx maybe-clean-stageautofeedback-target-libmpx
41179 maybe-all-stageautofeedback-target-libmpx:
41180 maybe-clean-stageautofeedback-target-libmpx:
41181 @if target-libmpx-bootstrap
41182 maybe-all-stageautofeedback-target-libmpx: all-stageautofeedback-target-libmpx
41183 all-stageautofeedback: all-stageautofeedback-target-libmpx
41184 TARGET-stageautofeedback-target-libmpx = $(TARGET-target-libmpx)
41185 all-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
41186 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41187 @r=`${PWD_COMMAND}`; export r; \
41188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41189 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41190 $(NORMAL_TARGET_EXPORTS) \
41192 cd $(TARGET_SUBDIR)/libmpx && \
41194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41195 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41196 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41197 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41201 $(EXTRA_TARGET_FLAGS) \
41202 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41203 $(TARGET-stageautofeedback-target-libmpx)
41205 maybe-clean-stageautofeedback-target-libmpx: clean-stageautofeedback-target-libmpx
41206 clean-stageautofeedback: clean-stageautofeedback-target-libmpx
41207 clean-stageautofeedback-target-libmpx:
41208 @if [ $(current_stage) = stageautofeedback ]; then \
41209 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41210 else \
41211 [ -f $(TARGET_SUBDIR)/stageautofeedback-libmpx/Makefile ] || exit 0; \
41212 $(MAKE) stageautofeedback-start; \
41213 fi; \
41214 cd $(TARGET_SUBDIR)/libmpx && \
41215 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41216 @endif target-libmpx-bootstrap
41223 .PHONY: check-target-libmpx maybe-check-target-libmpx
41224 maybe-check-target-libmpx:
41225 @if target-libmpx
41226 maybe-check-target-libmpx: check-target-libmpx
41228 check-target-libmpx:
41229 @: $(MAKE); $(unstage)
41230 @r=`${PWD_COMMAND}`; export r; \
41231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41232 $(NORMAL_TARGET_EXPORTS) \
41233 (cd $(TARGET_SUBDIR)/libmpx && \
41234 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41236 @endif target-libmpx
41238 .PHONY: install-target-libmpx maybe-install-target-libmpx
41239 maybe-install-target-libmpx:
41240 @if target-libmpx
41241 maybe-install-target-libmpx: install-target-libmpx
41243 install-target-libmpx: installdirs
41244 @: $(MAKE); $(unstage)
41245 @r=`${PWD_COMMAND}`; export r; \
41246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41247 $(NORMAL_TARGET_EXPORTS) \
41248 (cd $(TARGET_SUBDIR)/libmpx && \
41249 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41251 @endif target-libmpx
41253 .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
41254 maybe-install-strip-target-libmpx:
41255 @if target-libmpx
41256 maybe-install-strip-target-libmpx: install-strip-target-libmpx
41258 install-strip-target-libmpx: installdirs
41259 @: $(MAKE); $(unstage)
41260 @r=`${PWD_COMMAND}`; export r; \
41261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41262 $(NORMAL_TARGET_EXPORTS) \
41263 (cd $(TARGET_SUBDIR)/libmpx && \
41264 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41266 @endif target-libmpx
41268 # Other targets (info, dvi, pdf, etc.)
41270 .PHONY: maybe-info-target-libmpx info-target-libmpx
41271 maybe-info-target-libmpx:
41272 @if target-libmpx
41273 maybe-info-target-libmpx: info-target-libmpx
41275 info-target-libmpx: \
41276 configure-target-libmpx
41277 @: $(MAKE); $(unstage)
41278 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41279 r=`${PWD_COMMAND}`; export r; \
41280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41281 $(NORMAL_TARGET_EXPORTS) \
41282 echo "Doing info in $(TARGET_SUBDIR)/libmpx"; \
41283 for flag in $(EXTRA_TARGET_FLAGS); do \
41284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41285 done; \
41286 (cd $(TARGET_SUBDIR)/libmpx && \
41287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41289 "RANLIB=$${RANLIB}" \
41290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41291 info) \
41292 || exit 1
41294 @endif target-libmpx
41296 .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
41297 maybe-dvi-target-libmpx:
41298 @if target-libmpx
41299 maybe-dvi-target-libmpx: dvi-target-libmpx
41301 dvi-target-libmpx: \
41302 configure-target-libmpx
41303 @: $(MAKE); $(unstage)
41304 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41305 r=`${PWD_COMMAND}`; export r; \
41306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41307 $(NORMAL_TARGET_EXPORTS) \
41308 echo "Doing dvi in $(TARGET_SUBDIR)/libmpx"; \
41309 for flag in $(EXTRA_TARGET_FLAGS); do \
41310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41311 done; \
41312 (cd $(TARGET_SUBDIR)/libmpx && \
41313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41315 "RANLIB=$${RANLIB}" \
41316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41317 dvi) \
41318 || exit 1
41320 @endif target-libmpx
41322 .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
41323 maybe-pdf-target-libmpx:
41324 @if target-libmpx
41325 maybe-pdf-target-libmpx: pdf-target-libmpx
41327 pdf-target-libmpx: \
41328 configure-target-libmpx
41329 @: $(MAKE); $(unstage)
41330 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41331 r=`${PWD_COMMAND}`; export r; \
41332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41333 $(NORMAL_TARGET_EXPORTS) \
41334 echo "Doing pdf in $(TARGET_SUBDIR)/libmpx"; \
41335 for flag in $(EXTRA_TARGET_FLAGS); do \
41336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41337 done; \
41338 (cd $(TARGET_SUBDIR)/libmpx && \
41339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41341 "RANLIB=$${RANLIB}" \
41342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41343 pdf) \
41344 || exit 1
41346 @endif target-libmpx
41348 .PHONY: maybe-html-target-libmpx html-target-libmpx
41349 maybe-html-target-libmpx:
41350 @if target-libmpx
41351 maybe-html-target-libmpx: html-target-libmpx
41353 html-target-libmpx: \
41354 configure-target-libmpx
41355 @: $(MAKE); $(unstage)
41356 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41357 r=`${PWD_COMMAND}`; export r; \
41358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41359 $(NORMAL_TARGET_EXPORTS) \
41360 echo "Doing html in $(TARGET_SUBDIR)/libmpx"; \
41361 for flag in $(EXTRA_TARGET_FLAGS); do \
41362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41363 done; \
41364 (cd $(TARGET_SUBDIR)/libmpx && \
41365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41367 "RANLIB=$${RANLIB}" \
41368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41369 html) \
41370 || exit 1
41372 @endif target-libmpx
41374 .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
41375 maybe-TAGS-target-libmpx:
41376 @if target-libmpx
41377 maybe-TAGS-target-libmpx: TAGS-target-libmpx
41379 TAGS-target-libmpx: \
41380 configure-target-libmpx
41381 @: $(MAKE); $(unstage)
41382 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41383 r=`${PWD_COMMAND}`; export r; \
41384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41385 $(NORMAL_TARGET_EXPORTS) \
41386 echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx"; \
41387 for flag in $(EXTRA_TARGET_FLAGS); do \
41388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41389 done; \
41390 (cd $(TARGET_SUBDIR)/libmpx && \
41391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41393 "RANLIB=$${RANLIB}" \
41394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41395 TAGS) \
41396 || exit 1
41398 @endif target-libmpx
41400 .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
41401 maybe-install-info-target-libmpx:
41402 @if target-libmpx
41403 maybe-install-info-target-libmpx: install-info-target-libmpx
41405 install-info-target-libmpx: \
41406 configure-target-libmpx \
41407 info-target-libmpx
41408 @: $(MAKE); $(unstage)
41409 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41410 r=`${PWD_COMMAND}`; export r; \
41411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41412 $(NORMAL_TARGET_EXPORTS) \
41413 echo "Doing install-info in $(TARGET_SUBDIR)/libmpx"; \
41414 for flag in $(EXTRA_TARGET_FLAGS); do \
41415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41416 done; \
41417 (cd $(TARGET_SUBDIR)/libmpx && \
41418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41420 "RANLIB=$${RANLIB}" \
41421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41422 install-info) \
41423 || exit 1
41425 @endif target-libmpx
41427 .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
41428 maybe-install-pdf-target-libmpx:
41429 @if target-libmpx
41430 maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
41432 install-pdf-target-libmpx: \
41433 configure-target-libmpx \
41434 pdf-target-libmpx
41435 @: $(MAKE); $(unstage)
41436 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41437 r=`${PWD_COMMAND}`; export r; \
41438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41439 $(NORMAL_TARGET_EXPORTS) \
41440 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx"; \
41441 for flag in $(EXTRA_TARGET_FLAGS); do \
41442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41443 done; \
41444 (cd $(TARGET_SUBDIR)/libmpx && \
41445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41447 "RANLIB=$${RANLIB}" \
41448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41449 install-pdf) \
41450 || exit 1
41452 @endif target-libmpx
41454 .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
41455 maybe-install-html-target-libmpx:
41456 @if target-libmpx
41457 maybe-install-html-target-libmpx: install-html-target-libmpx
41459 install-html-target-libmpx: \
41460 configure-target-libmpx \
41461 html-target-libmpx
41462 @: $(MAKE); $(unstage)
41463 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41464 r=`${PWD_COMMAND}`; export r; \
41465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41466 $(NORMAL_TARGET_EXPORTS) \
41467 echo "Doing install-html in $(TARGET_SUBDIR)/libmpx"; \
41468 for flag in $(EXTRA_TARGET_FLAGS); do \
41469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41470 done; \
41471 (cd $(TARGET_SUBDIR)/libmpx && \
41472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41474 "RANLIB=$${RANLIB}" \
41475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41476 install-html) \
41477 || exit 1
41479 @endif target-libmpx
41481 .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
41482 maybe-installcheck-target-libmpx:
41483 @if target-libmpx
41484 maybe-installcheck-target-libmpx: installcheck-target-libmpx
41486 installcheck-target-libmpx: \
41487 configure-target-libmpx
41488 @: $(MAKE); $(unstage)
41489 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41490 r=`${PWD_COMMAND}`; export r; \
41491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41492 $(NORMAL_TARGET_EXPORTS) \
41493 echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx"; \
41494 for flag in $(EXTRA_TARGET_FLAGS); do \
41495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41496 done; \
41497 (cd $(TARGET_SUBDIR)/libmpx && \
41498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41500 "RANLIB=$${RANLIB}" \
41501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41502 installcheck) \
41503 || exit 1
41505 @endif target-libmpx
41507 .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
41508 maybe-mostlyclean-target-libmpx:
41509 @if target-libmpx
41510 maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
41512 mostlyclean-target-libmpx:
41513 @: $(MAKE); $(unstage)
41514 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41515 r=`${PWD_COMMAND}`; export r; \
41516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41517 $(NORMAL_TARGET_EXPORTS) \
41518 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx"; \
41519 for flag in $(EXTRA_TARGET_FLAGS); do \
41520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41521 done; \
41522 (cd $(TARGET_SUBDIR)/libmpx && \
41523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41525 "RANLIB=$${RANLIB}" \
41526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41527 mostlyclean) \
41528 || exit 1
41530 @endif target-libmpx
41532 .PHONY: maybe-clean-target-libmpx clean-target-libmpx
41533 maybe-clean-target-libmpx:
41534 @if target-libmpx
41535 maybe-clean-target-libmpx: clean-target-libmpx
41537 clean-target-libmpx:
41538 @: $(MAKE); $(unstage)
41539 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41540 r=`${PWD_COMMAND}`; export r; \
41541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41542 $(NORMAL_TARGET_EXPORTS) \
41543 echo "Doing clean in $(TARGET_SUBDIR)/libmpx"; \
41544 for flag in $(EXTRA_TARGET_FLAGS); do \
41545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41546 done; \
41547 (cd $(TARGET_SUBDIR)/libmpx && \
41548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41550 "RANLIB=$${RANLIB}" \
41551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41552 clean) \
41553 || exit 1
41555 @endif target-libmpx
41557 .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
41558 maybe-distclean-target-libmpx:
41559 @if target-libmpx
41560 maybe-distclean-target-libmpx: distclean-target-libmpx
41562 distclean-target-libmpx:
41563 @: $(MAKE); $(unstage)
41564 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41565 r=`${PWD_COMMAND}`; export r; \
41566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41567 $(NORMAL_TARGET_EXPORTS) \
41568 echo "Doing distclean in $(TARGET_SUBDIR)/libmpx"; \
41569 for flag in $(EXTRA_TARGET_FLAGS); do \
41570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41571 done; \
41572 (cd $(TARGET_SUBDIR)/libmpx && \
41573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41575 "RANLIB=$${RANLIB}" \
41576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41577 distclean) \
41578 || exit 1
41580 @endif target-libmpx
41582 .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
41583 maybe-maintainer-clean-target-libmpx:
41584 @if target-libmpx
41585 maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
41587 maintainer-clean-target-libmpx:
41588 @: $(MAKE); $(unstage)
41589 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41590 r=`${PWD_COMMAND}`; export r; \
41591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41592 $(NORMAL_TARGET_EXPORTS) \
41593 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx"; \
41594 for flag in $(EXTRA_TARGET_FLAGS); do \
41595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41596 done; \
41597 (cd $(TARGET_SUBDIR)/libmpx && \
41598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41600 "RANLIB=$${RANLIB}" \
41601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41602 maintainer-clean) \
41603 || exit 1
41605 @endif target-libmpx
41611 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
41612 maybe-configure-target-libvtv:
41613 @if gcc-bootstrap
41614 configure-target-libvtv: stage_current
41615 @endif gcc-bootstrap
41616 @if target-libvtv
41617 maybe-configure-target-libvtv: configure-target-libvtv
41618 configure-target-libvtv:
41619 @r=`${PWD_COMMAND}`; export r; \
41620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41621 echo "Checking multilib configuration for libvtv..."; \
41622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41623 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41624 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41625 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41626 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41627 else \
41628 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41629 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41630 fi; \
41631 else \
41632 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41633 fi; \
41634 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41635 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41636 $(RAW_CXX_TARGET_EXPORTS) \
41637 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
41638 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
41639 case $(srcdir) in \
41640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41641 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41643 esac; \
41644 module_srcdir=libvtv; \
41645 rm -f no-such-file || : ; \
41646 CONFIG_SITE=no-such-file $(SHELL) \
41647 $$s/$$module_srcdir/configure \
41648 --srcdir=$${topdir}/$$module_srcdir \
41649 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41650 --target=${target_alias} \
41651 || exit 1
41652 @endif target-libvtv
41656 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
41657 maybe-configure-stage1-target-libvtv:
41658 @if target-libvtv-bootstrap
41659 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
41660 configure-stage1-target-libvtv:
41661 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41662 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41663 @r=`${PWD_COMMAND}`; export r; \
41664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41665 TFLAGS="$(STAGE1_TFLAGS)"; \
41666 echo "Checking multilib configuration for libvtv..."; \
41667 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41668 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41669 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41670 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41671 else \
41672 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41673 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41674 fi; \
41675 else \
41676 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41677 fi; \
41678 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41679 $(RAW_CXX_TARGET_EXPORTS) \
41680 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41681 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41682 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41683 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
41684 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41685 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41686 case $(srcdir) in \
41687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41688 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41690 esac; \
41691 module_srcdir=libvtv; \
41692 $(SHELL) $$s/$$module_srcdir/configure \
41693 --srcdir=$${topdir}/$$module_srcdir \
41694 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41695 --target=${target_alias} \
41697 $(STAGE1_CONFIGURE_FLAGS)
41698 @endif target-libvtv-bootstrap
41700 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
41701 maybe-configure-stage2-target-libvtv:
41702 @if target-libvtv-bootstrap
41703 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
41704 configure-stage2-target-libvtv:
41705 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41706 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41707 @r=`${PWD_COMMAND}`; export r; \
41708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41709 TFLAGS="$(STAGE2_TFLAGS)"; \
41710 echo "Checking multilib configuration for libvtv..."; \
41711 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41712 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41713 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41714 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41715 else \
41716 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41717 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41718 fi; \
41719 else \
41720 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41721 fi; \
41722 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41723 $(RAW_CXX_TARGET_EXPORTS) \
41725 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41726 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41727 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41728 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
41729 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41730 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41731 case $(srcdir) in \
41732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41733 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41735 esac; \
41736 module_srcdir=libvtv; \
41737 $(SHELL) $$s/$$module_srcdir/configure \
41738 --srcdir=$${topdir}/$$module_srcdir \
41739 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41740 --target=${target_alias} \
41741 --with-build-libsubdir=$(HOST_SUBDIR) \
41742 $(STAGE2_CONFIGURE_FLAGS)
41743 @endif target-libvtv-bootstrap
41745 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
41746 maybe-configure-stage3-target-libvtv:
41747 @if target-libvtv-bootstrap
41748 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
41749 configure-stage3-target-libvtv:
41750 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41751 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41752 @r=`${PWD_COMMAND}`; export r; \
41753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41754 TFLAGS="$(STAGE3_TFLAGS)"; \
41755 echo "Checking multilib configuration for libvtv..."; \
41756 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41757 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41758 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41759 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41760 else \
41761 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41762 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41763 fi; \
41764 else \
41765 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41766 fi; \
41767 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41768 $(RAW_CXX_TARGET_EXPORTS) \
41770 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41771 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41772 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41773 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
41774 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41775 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41776 case $(srcdir) in \
41777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41778 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41780 esac; \
41781 module_srcdir=libvtv; \
41782 $(SHELL) $$s/$$module_srcdir/configure \
41783 --srcdir=$${topdir}/$$module_srcdir \
41784 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41785 --target=${target_alias} \
41786 --with-build-libsubdir=$(HOST_SUBDIR) \
41787 $(STAGE3_CONFIGURE_FLAGS)
41788 @endif target-libvtv-bootstrap
41790 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
41791 maybe-configure-stage4-target-libvtv:
41792 @if target-libvtv-bootstrap
41793 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
41794 configure-stage4-target-libvtv:
41795 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41796 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41797 @r=`${PWD_COMMAND}`; export r; \
41798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41799 TFLAGS="$(STAGE4_TFLAGS)"; \
41800 echo "Checking multilib configuration for libvtv..."; \
41801 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41802 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41803 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41804 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41805 else \
41806 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41807 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41808 fi; \
41809 else \
41810 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41811 fi; \
41812 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41813 $(RAW_CXX_TARGET_EXPORTS) \
41815 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41816 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41817 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41818 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
41819 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41820 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41821 case $(srcdir) in \
41822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41823 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41825 esac; \
41826 module_srcdir=libvtv; \
41827 $(SHELL) $$s/$$module_srcdir/configure \
41828 --srcdir=$${topdir}/$$module_srcdir \
41829 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41830 --target=${target_alias} \
41831 --with-build-libsubdir=$(HOST_SUBDIR) \
41832 $(STAGE4_CONFIGURE_FLAGS)
41833 @endif target-libvtv-bootstrap
41835 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
41836 maybe-configure-stageprofile-target-libvtv:
41837 @if target-libvtv-bootstrap
41838 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
41839 configure-stageprofile-target-libvtv:
41840 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41841 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41842 @r=`${PWD_COMMAND}`; export r; \
41843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41844 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41845 echo "Checking multilib configuration for libvtv..."; \
41846 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41847 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41848 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41849 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41850 else \
41851 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41852 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41853 fi; \
41854 else \
41855 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41856 fi; \
41857 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41858 $(RAW_CXX_TARGET_EXPORTS) \
41860 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41861 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41862 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41863 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
41864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41865 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41866 case $(srcdir) in \
41867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41868 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41870 esac; \
41871 module_srcdir=libvtv; \
41872 $(SHELL) $$s/$$module_srcdir/configure \
41873 --srcdir=$${topdir}/$$module_srcdir \
41874 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41875 --target=${target_alias} \
41876 --with-build-libsubdir=$(HOST_SUBDIR) \
41877 $(STAGEprofile_CONFIGURE_FLAGS)
41878 @endif target-libvtv-bootstrap
41880 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
41881 maybe-configure-stagetrain-target-libvtv:
41882 @if target-libvtv-bootstrap
41883 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
41884 configure-stagetrain-target-libvtv:
41885 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41886 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41887 @r=`${PWD_COMMAND}`; export r; \
41888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41889 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41890 echo "Checking multilib configuration for libvtv..."; \
41891 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41892 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41893 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41894 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41895 else \
41896 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41897 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41898 fi; \
41899 else \
41900 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41901 fi; \
41902 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41903 $(RAW_CXX_TARGET_EXPORTS) \
41905 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41906 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41907 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41908 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
41909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41910 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41911 case $(srcdir) in \
41912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41913 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41915 esac; \
41916 module_srcdir=libvtv; \
41917 $(SHELL) $$s/$$module_srcdir/configure \
41918 --srcdir=$${topdir}/$$module_srcdir \
41919 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41920 --target=${target_alias} \
41921 --with-build-libsubdir=$(HOST_SUBDIR) \
41922 $(STAGEtrain_CONFIGURE_FLAGS)
41923 @endif target-libvtv-bootstrap
41925 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
41926 maybe-configure-stagefeedback-target-libvtv:
41927 @if target-libvtv-bootstrap
41928 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
41929 configure-stagefeedback-target-libvtv:
41930 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41931 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41932 @r=`${PWD_COMMAND}`; export r; \
41933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41934 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41935 echo "Checking multilib configuration for libvtv..."; \
41936 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41937 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41938 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41939 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41940 else \
41941 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41942 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41943 fi; \
41944 else \
41945 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41946 fi; \
41947 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41948 $(RAW_CXX_TARGET_EXPORTS) \
41950 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41951 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41952 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41953 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
41954 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41955 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41956 case $(srcdir) in \
41957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41958 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41960 esac; \
41961 module_srcdir=libvtv; \
41962 $(SHELL) $$s/$$module_srcdir/configure \
41963 --srcdir=$${topdir}/$$module_srcdir \
41964 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41965 --target=${target_alias} \
41966 --with-build-libsubdir=$(HOST_SUBDIR) \
41967 $(STAGEfeedback_CONFIGURE_FLAGS)
41968 @endif target-libvtv-bootstrap
41970 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
41971 maybe-configure-stageautoprofile-target-libvtv:
41972 @if target-libvtv-bootstrap
41973 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
41974 configure-stageautoprofile-target-libvtv:
41975 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41976 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41977 @r=`${PWD_COMMAND}`; export r; \
41978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41979 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41980 echo "Checking multilib configuration for libvtv..."; \
41981 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41982 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41983 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41984 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41985 else \
41986 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41987 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41988 fi; \
41989 else \
41990 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41991 fi; \
41992 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41993 $(RAW_CXX_TARGET_EXPORTS) \
41995 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41996 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41997 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41998 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
41999 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42000 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42001 case $(srcdir) in \
42002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42003 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42005 esac; \
42006 module_srcdir=libvtv; \
42007 $(SHELL) $$s/$$module_srcdir/configure \
42008 --srcdir=$${topdir}/$$module_srcdir \
42009 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42010 --target=${target_alias} \
42011 --with-build-libsubdir=$(HOST_SUBDIR) \
42012 $(STAGEautoprofile_CONFIGURE_FLAGS)
42013 @endif target-libvtv-bootstrap
42015 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
42016 maybe-configure-stageautofeedback-target-libvtv:
42017 @if target-libvtv-bootstrap
42018 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42019 configure-stageautofeedback-target-libvtv:
42020 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42021 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42022 @r=`${PWD_COMMAND}`; export r; \
42023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42024 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42025 echo "Checking multilib configuration for libvtv..."; \
42026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42027 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42028 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42029 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42030 else \
42031 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42032 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42033 fi; \
42034 else \
42035 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42036 fi; \
42037 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42038 $(RAW_CXX_TARGET_EXPORTS) \
42040 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42041 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42042 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42043 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
42044 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42045 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42046 case $(srcdir) in \
42047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42048 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42050 esac; \
42051 module_srcdir=libvtv; \
42052 $(SHELL) $$s/$$module_srcdir/configure \
42053 --srcdir=$${topdir}/$$module_srcdir \
42054 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42055 --target=${target_alias} \
42056 --with-build-libsubdir=$(HOST_SUBDIR) \
42057 $(STAGEautofeedback_CONFIGURE_FLAGS)
42058 @endif target-libvtv-bootstrap
42064 .PHONY: all-target-libvtv maybe-all-target-libvtv
42065 maybe-all-target-libvtv:
42066 @if gcc-bootstrap
42067 all-target-libvtv: stage_current
42068 @endif gcc-bootstrap
42069 @if target-libvtv
42070 TARGET-target-libvtv=all
42071 maybe-all-target-libvtv: all-target-libvtv
42072 all-target-libvtv: configure-target-libvtv
42073 @r=`${PWD_COMMAND}`; export r; \
42074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42075 $(RAW_CXX_TARGET_EXPORTS) \
42076 (cd $(TARGET_SUBDIR)/libvtv && \
42077 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42078 $(TARGET-target-libvtv))
42079 @endif target-libvtv
42083 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
42084 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
42085 maybe-all-stage1-target-libvtv:
42086 maybe-clean-stage1-target-libvtv:
42087 @if target-libvtv-bootstrap
42088 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
42089 all-stage1: all-stage1-target-libvtv
42090 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
42091 all-stage1-target-libvtv: configure-stage1-target-libvtv
42092 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42093 @r=`${PWD_COMMAND}`; export r; \
42094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42095 TFLAGS="$(STAGE1_TFLAGS)"; \
42096 $(RAW_CXX_TARGET_EXPORTS) \
42097 cd $(TARGET_SUBDIR)/libvtv && \
42099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42100 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42101 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42102 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42106 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42108 TFLAGS="$(STAGE1_TFLAGS)" \
42109 $(TARGET-stage1-target-libvtv)
42111 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
42112 clean-stage1: clean-stage1-target-libvtv
42113 clean-stage1-target-libvtv:
42114 @if [ $(current_stage) = stage1 ]; then \
42115 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42116 else \
42117 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
42118 $(MAKE) stage1-start; \
42119 fi; \
42120 cd $(TARGET_SUBDIR)/libvtv && \
42121 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42122 clean
42123 @endif target-libvtv-bootstrap
42126 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
42127 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
42128 maybe-all-stage2-target-libvtv:
42129 maybe-clean-stage2-target-libvtv:
42130 @if target-libvtv-bootstrap
42131 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
42132 all-stage2: all-stage2-target-libvtv
42133 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
42134 all-stage2-target-libvtv: configure-stage2-target-libvtv
42135 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42136 @r=`${PWD_COMMAND}`; export r; \
42137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42138 TFLAGS="$(STAGE2_TFLAGS)"; \
42139 $(RAW_CXX_TARGET_EXPORTS) \
42141 cd $(TARGET_SUBDIR)/libvtv && \
42143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42144 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42150 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42151 TFLAGS="$(STAGE2_TFLAGS)" \
42152 $(TARGET-stage2-target-libvtv)
42154 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
42155 clean-stage2: clean-stage2-target-libvtv
42156 clean-stage2-target-libvtv:
42157 @if [ $(current_stage) = stage2 ]; then \
42158 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42159 else \
42160 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
42161 $(MAKE) stage2-start; \
42162 fi; \
42163 cd $(TARGET_SUBDIR)/libvtv && \
42164 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42165 @endif target-libvtv-bootstrap
42168 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
42169 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
42170 maybe-all-stage3-target-libvtv:
42171 maybe-clean-stage3-target-libvtv:
42172 @if target-libvtv-bootstrap
42173 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
42174 all-stage3: all-stage3-target-libvtv
42175 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
42176 all-stage3-target-libvtv: configure-stage3-target-libvtv
42177 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42178 @r=`${PWD_COMMAND}`; export r; \
42179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42180 TFLAGS="$(STAGE3_TFLAGS)"; \
42181 $(RAW_CXX_TARGET_EXPORTS) \
42183 cd $(TARGET_SUBDIR)/libvtv && \
42185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42186 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42187 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42188 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42192 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42193 TFLAGS="$(STAGE3_TFLAGS)" \
42194 $(TARGET-stage3-target-libvtv)
42196 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
42197 clean-stage3: clean-stage3-target-libvtv
42198 clean-stage3-target-libvtv:
42199 @if [ $(current_stage) = stage3 ]; then \
42200 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42201 else \
42202 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
42203 $(MAKE) stage3-start; \
42204 fi; \
42205 cd $(TARGET_SUBDIR)/libvtv && \
42206 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42207 @endif target-libvtv-bootstrap
42210 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
42211 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
42212 maybe-all-stage4-target-libvtv:
42213 maybe-clean-stage4-target-libvtv:
42214 @if target-libvtv-bootstrap
42215 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
42216 all-stage4: all-stage4-target-libvtv
42217 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
42218 all-stage4-target-libvtv: configure-stage4-target-libvtv
42219 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42220 @r=`${PWD_COMMAND}`; export r; \
42221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42222 TFLAGS="$(STAGE4_TFLAGS)"; \
42223 $(RAW_CXX_TARGET_EXPORTS) \
42225 cd $(TARGET_SUBDIR)/libvtv && \
42227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42228 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42231 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42232 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42233 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42234 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42235 TFLAGS="$(STAGE4_TFLAGS)" \
42236 $(TARGET-stage4-target-libvtv)
42238 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
42239 clean-stage4: clean-stage4-target-libvtv
42240 clean-stage4-target-libvtv:
42241 @if [ $(current_stage) = stage4 ]; then \
42242 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42243 else \
42244 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
42245 $(MAKE) stage4-start; \
42246 fi; \
42247 cd $(TARGET_SUBDIR)/libvtv && \
42248 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42249 @endif target-libvtv-bootstrap
42252 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
42253 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
42254 maybe-all-stageprofile-target-libvtv:
42255 maybe-clean-stageprofile-target-libvtv:
42256 @if target-libvtv-bootstrap
42257 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
42258 all-stageprofile: all-stageprofile-target-libvtv
42259 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
42260 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
42261 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42262 @r=`${PWD_COMMAND}`; export r; \
42263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42264 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42265 $(RAW_CXX_TARGET_EXPORTS) \
42267 cd $(TARGET_SUBDIR)/libvtv && \
42269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42270 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42271 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42272 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42276 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42277 TFLAGS="$(STAGEprofile_TFLAGS)" \
42278 $(TARGET-stageprofile-target-libvtv)
42280 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
42281 clean-stageprofile: clean-stageprofile-target-libvtv
42282 clean-stageprofile-target-libvtv:
42283 @if [ $(current_stage) = stageprofile ]; then \
42284 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42285 else \
42286 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
42287 $(MAKE) stageprofile-start; \
42288 fi; \
42289 cd $(TARGET_SUBDIR)/libvtv && \
42290 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42291 @endif target-libvtv-bootstrap
42294 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
42295 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
42296 maybe-all-stagetrain-target-libvtv:
42297 maybe-clean-stagetrain-target-libvtv:
42298 @if target-libvtv-bootstrap
42299 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
42300 all-stagetrain: all-stagetrain-target-libvtv
42301 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
42302 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
42303 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42304 @r=`${PWD_COMMAND}`; export r; \
42305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42306 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42307 $(RAW_CXX_TARGET_EXPORTS) \
42309 cd $(TARGET_SUBDIR)/libvtv && \
42311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42312 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42313 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42314 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42318 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42319 TFLAGS="$(STAGEtrain_TFLAGS)" \
42320 $(TARGET-stagetrain-target-libvtv)
42322 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
42323 clean-stagetrain: clean-stagetrain-target-libvtv
42324 clean-stagetrain-target-libvtv:
42325 @if [ $(current_stage) = stagetrain ]; then \
42326 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42327 else \
42328 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
42329 $(MAKE) stagetrain-start; \
42330 fi; \
42331 cd $(TARGET_SUBDIR)/libvtv && \
42332 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42333 @endif target-libvtv-bootstrap
42336 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
42337 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
42338 maybe-all-stagefeedback-target-libvtv:
42339 maybe-clean-stagefeedback-target-libvtv:
42340 @if target-libvtv-bootstrap
42341 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
42342 all-stagefeedback: all-stagefeedback-target-libvtv
42343 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
42344 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42345 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42346 @r=`${PWD_COMMAND}`; export r; \
42347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42348 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42349 $(RAW_CXX_TARGET_EXPORTS) \
42351 cd $(TARGET_SUBDIR)/libvtv && \
42353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42354 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42355 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42356 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42360 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42361 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42362 $(TARGET-stagefeedback-target-libvtv)
42364 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
42365 clean-stagefeedback: clean-stagefeedback-target-libvtv
42366 clean-stagefeedback-target-libvtv:
42367 @if [ $(current_stage) = stagefeedback ]; then \
42368 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42369 else \
42370 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
42371 $(MAKE) stagefeedback-start; \
42372 fi; \
42373 cd $(TARGET_SUBDIR)/libvtv && \
42374 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42375 @endif target-libvtv-bootstrap
42378 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
42379 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
42380 maybe-all-stageautoprofile-target-libvtv:
42381 maybe-clean-stageautoprofile-target-libvtv:
42382 @if target-libvtv-bootstrap
42383 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
42384 all-stageautoprofile: all-stageautoprofile-target-libvtv
42385 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
42386 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42387 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42388 @r=`${PWD_COMMAND}`; export r; \
42389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42390 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42391 $(RAW_CXX_TARGET_EXPORTS) \
42393 cd $(TARGET_SUBDIR)/libvtv && \
42394 $$s/gcc/config/i386/$(AUTO_PROFILE) \
42395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42396 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42397 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42398 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42402 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42403 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
42404 $(TARGET-stageautoprofile-target-libvtv)
42406 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
42407 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
42408 clean-stageautoprofile-target-libvtv:
42409 @if [ $(current_stage) = stageautoprofile ]; then \
42410 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42411 else \
42412 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
42413 $(MAKE) stageautoprofile-start; \
42414 fi; \
42415 cd $(TARGET_SUBDIR)/libvtv && \
42416 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42417 @endif target-libvtv-bootstrap
42420 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
42421 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
42422 maybe-all-stageautofeedback-target-libvtv:
42423 maybe-clean-stageautofeedback-target-libvtv:
42424 @if target-libvtv-bootstrap
42425 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
42426 all-stageautofeedback: all-stageautofeedback-target-libvtv
42427 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
42428 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42429 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42430 @r=`${PWD_COMMAND}`; export r; \
42431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42432 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42433 $(RAW_CXX_TARGET_EXPORTS) \
42435 cd $(TARGET_SUBDIR)/libvtv && \
42437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42438 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42444 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42445 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
42446 $(TARGET-stageautofeedback-target-libvtv)
42448 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
42449 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
42450 clean-stageautofeedback-target-libvtv:
42451 @if [ $(current_stage) = stageautofeedback ]; then \
42452 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42453 else \
42454 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
42455 $(MAKE) stageautofeedback-start; \
42456 fi; \
42457 cd $(TARGET_SUBDIR)/libvtv && \
42458 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42459 @endif target-libvtv-bootstrap
42466 .PHONY: check-target-libvtv maybe-check-target-libvtv
42467 maybe-check-target-libvtv:
42468 @if target-libvtv
42469 maybe-check-target-libvtv: check-target-libvtv
42471 check-target-libvtv:
42472 @: $(MAKE); $(unstage)
42473 @r=`${PWD_COMMAND}`; export r; \
42474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42475 $(RAW_CXX_TARGET_EXPORTS) \
42476 (cd $(TARGET_SUBDIR)/libvtv && \
42477 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
42479 @endif target-libvtv
42481 .PHONY: install-target-libvtv maybe-install-target-libvtv
42482 maybe-install-target-libvtv:
42483 @if target-libvtv
42484 maybe-install-target-libvtv: install-target-libvtv
42486 install-target-libvtv: installdirs
42487 @: $(MAKE); $(unstage)
42488 @r=`${PWD_COMMAND}`; export r; \
42489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42490 $(RAW_CXX_TARGET_EXPORTS) \
42491 (cd $(TARGET_SUBDIR)/libvtv && \
42492 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42494 @endif target-libvtv
42496 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
42497 maybe-install-strip-target-libvtv:
42498 @if target-libvtv
42499 maybe-install-strip-target-libvtv: install-strip-target-libvtv
42501 install-strip-target-libvtv: installdirs
42502 @: $(MAKE); $(unstage)
42503 @r=`${PWD_COMMAND}`; export r; \
42504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42505 $(RAW_CXX_TARGET_EXPORTS) \
42506 (cd $(TARGET_SUBDIR)/libvtv && \
42507 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42509 @endif target-libvtv
42511 # Other targets (info, dvi, pdf, etc.)
42513 .PHONY: maybe-info-target-libvtv info-target-libvtv
42514 maybe-info-target-libvtv:
42515 @if target-libvtv
42516 maybe-info-target-libvtv: info-target-libvtv
42518 info-target-libvtv: \
42519 configure-target-libvtv
42520 @: $(MAKE); $(unstage)
42521 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42522 r=`${PWD_COMMAND}`; export r; \
42523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42524 $(RAW_CXX_TARGET_EXPORTS) \
42525 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
42526 for flag in $(EXTRA_TARGET_FLAGS); do \
42527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42528 done; \
42529 (cd $(TARGET_SUBDIR)/libvtv && \
42530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42532 "RANLIB=$${RANLIB}" \
42533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42534 info) \
42535 || exit 1
42537 @endif target-libvtv
42539 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
42540 maybe-dvi-target-libvtv:
42541 @if target-libvtv
42542 maybe-dvi-target-libvtv: dvi-target-libvtv
42544 dvi-target-libvtv: \
42545 configure-target-libvtv
42546 @: $(MAKE); $(unstage)
42547 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42548 r=`${PWD_COMMAND}`; export r; \
42549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42550 $(RAW_CXX_TARGET_EXPORTS) \
42551 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
42552 for flag in $(EXTRA_TARGET_FLAGS); do \
42553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42554 done; \
42555 (cd $(TARGET_SUBDIR)/libvtv && \
42556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42558 "RANLIB=$${RANLIB}" \
42559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42560 dvi) \
42561 || exit 1
42563 @endif target-libvtv
42565 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
42566 maybe-pdf-target-libvtv:
42567 @if target-libvtv
42568 maybe-pdf-target-libvtv: pdf-target-libvtv
42570 pdf-target-libvtv: \
42571 configure-target-libvtv
42572 @: $(MAKE); $(unstage)
42573 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42574 r=`${PWD_COMMAND}`; export r; \
42575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42576 $(RAW_CXX_TARGET_EXPORTS) \
42577 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
42578 for flag in $(EXTRA_TARGET_FLAGS); do \
42579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42580 done; \
42581 (cd $(TARGET_SUBDIR)/libvtv && \
42582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42584 "RANLIB=$${RANLIB}" \
42585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42586 pdf) \
42587 || exit 1
42589 @endif target-libvtv
42591 .PHONY: maybe-html-target-libvtv html-target-libvtv
42592 maybe-html-target-libvtv:
42593 @if target-libvtv
42594 maybe-html-target-libvtv: html-target-libvtv
42596 html-target-libvtv: \
42597 configure-target-libvtv
42598 @: $(MAKE); $(unstage)
42599 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42600 r=`${PWD_COMMAND}`; export r; \
42601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42602 $(RAW_CXX_TARGET_EXPORTS) \
42603 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
42604 for flag in $(EXTRA_TARGET_FLAGS); do \
42605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42606 done; \
42607 (cd $(TARGET_SUBDIR)/libvtv && \
42608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42610 "RANLIB=$${RANLIB}" \
42611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42612 html) \
42613 || exit 1
42615 @endif target-libvtv
42617 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
42618 maybe-TAGS-target-libvtv:
42619 @if target-libvtv
42620 maybe-TAGS-target-libvtv: TAGS-target-libvtv
42622 TAGS-target-libvtv: \
42623 configure-target-libvtv
42624 @: $(MAKE); $(unstage)
42625 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42626 r=`${PWD_COMMAND}`; export r; \
42627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42628 $(RAW_CXX_TARGET_EXPORTS) \
42629 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
42630 for flag in $(EXTRA_TARGET_FLAGS); do \
42631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42632 done; \
42633 (cd $(TARGET_SUBDIR)/libvtv && \
42634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42636 "RANLIB=$${RANLIB}" \
42637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42638 TAGS) \
42639 || exit 1
42641 @endif target-libvtv
42643 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
42644 maybe-install-info-target-libvtv:
42645 @if target-libvtv
42646 maybe-install-info-target-libvtv: install-info-target-libvtv
42648 install-info-target-libvtv: \
42649 configure-target-libvtv \
42650 info-target-libvtv
42651 @: $(MAKE); $(unstage)
42652 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42653 r=`${PWD_COMMAND}`; export r; \
42654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42655 $(RAW_CXX_TARGET_EXPORTS) \
42656 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
42657 for flag in $(EXTRA_TARGET_FLAGS); do \
42658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42659 done; \
42660 (cd $(TARGET_SUBDIR)/libvtv && \
42661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42663 "RANLIB=$${RANLIB}" \
42664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42665 install-info) \
42666 || exit 1
42668 @endif target-libvtv
42670 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
42671 maybe-install-pdf-target-libvtv:
42672 @if target-libvtv
42673 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
42675 install-pdf-target-libvtv: \
42676 configure-target-libvtv \
42677 pdf-target-libvtv
42678 @: $(MAKE); $(unstage)
42679 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42680 r=`${PWD_COMMAND}`; export r; \
42681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42682 $(RAW_CXX_TARGET_EXPORTS) \
42683 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
42684 for flag in $(EXTRA_TARGET_FLAGS); do \
42685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42686 done; \
42687 (cd $(TARGET_SUBDIR)/libvtv && \
42688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42690 "RANLIB=$${RANLIB}" \
42691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42692 install-pdf) \
42693 || exit 1
42695 @endif target-libvtv
42697 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
42698 maybe-install-html-target-libvtv:
42699 @if target-libvtv
42700 maybe-install-html-target-libvtv: install-html-target-libvtv
42702 install-html-target-libvtv: \
42703 configure-target-libvtv \
42704 html-target-libvtv
42705 @: $(MAKE); $(unstage)
42706 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42707 r=`${PWD_COMMAND}`; export r; \
42708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42709 $(RAW_CXX_TARGET_EXPORTS) \
42710 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
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)/libvtv && \
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 install-html) \
42720 || exit 1
42722 @endif target-libvtv
42724 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
42725 maybe-installcheck-target-libvtv:
42726 @if target-libvtv
42727 maybe-installcheck-target-libvtv: installcheck-target-libvtv
42729 installcheck-target-libvtv: \
42730 configure-target-libvtv
42731 @: $(MAKE); $(unstage)
42732 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42733 r=`${PWD_COMMAND}`; export r; \
42734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42735 $(RAW_CXX_TARGET_EXPORTS) \
42736 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
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)/libvtv && \
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 installcheck) \
42746 || exit 1
42748 @endif target-libvtv
42750 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
42751 maybe-mostlyclean-target-libvtv:
42752 @if target-libvtv
42753 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
42755 mostlyclean-target-libvtv:
42756 @: $(MAKE); $(unstage)
42757 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42758 r=`${PWD_COMMAND}`; export r; \
42759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42760 $(RAW_CXX_TARGET_EXPORTS) \
42761 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
42762 for flag in $(EXTRA_TARGET_FLAGS); do \
42763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42764 done; \
42765 (cd $(TARGET_SUBDIR)/libvtv && \
42766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42768 "RANLIB=$${RANLIB}" \
42769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42770 mostlyclean) \
42771 || exit 1
42773 @endif target-libvtv
42775 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
42776 maybe-clean-target-libvtv:
42777 @if target-libvtv
42778 maybe-clean-target-libvtv: clean-target-libvtv
42780 clean-target-libvtv:
42781 @: $(MAKE); $(unstage)
42782 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42783 r=`${PWD_COMMAND}`; export r; \
42784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42785 $(RAW_CXX_TARGET_EXPORTS) \
42786 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
42787 for flag in $(EXTRA_TARGET_FLAGS); do \
42788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42789 done; \
42790 (cd $(TARGET_SUBDIR)/libvtv && \
42791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42793 "RANLIB=$${RANLIB}" \
42794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42795 clean) \
42796 || exit 1
42798 @endif target-libvtv
42800 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
42801 maybe-distclean-target-libvtv:
42802 @if target-libvtv
42803 maybe-distclean-target-libvtv: distclean-target-libvtv
42805 distclean-target-libvtv:
42806 @: $(MAKE); $(unstage)
42807 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42808 r=`${PWD_COMMAND}`; export r; \
42809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42810 $(RAW_CXX_TARGET_EXPORTS) \
42811 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
42812 for flag in $(EXTRA_TARGET_FLAGS); do \
42813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42814 done; \
42815 (cd $(TARGET_SUBDIR)/libvtv && \
42816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42818 "RANLIB=$${RANLIB}" \
42819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42820 distclean) \
42821 || exit 1
42823 @endif target-libvtv
42825 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
42826 maybe-maintainer-clean-target-libvtv:
42827 @if target-libvtv
42828 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
42830 maintainer-clean-target-libvtv:
42831 @: $(MAKE); $(unstage)
42832 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42833 r=`${PWD_COMMAND}`; export r; \
42834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42835 $(RAW_CXX_TARGET_EXPORTS) \
42836 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
42837 for flag in $(EXTRA_TARGET_FLAGS); do \
42838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42839 done; \
42840 (cd $(TARGET_SUBDIR)/libvtv && \
42841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42843 "RANLIB=$${RANLIB}" \
42844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42845 maintainer-clean) \
42846 || exit 1
42848 @endif target-libvtv
42854 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
42855 maybe-configure-target-liboffloadmic:
42856 @if gcc-bootstrap
42857 configure-target-liboffloadmic: stage_current
42858 @endif gcc-bootstrap
42859 @if target-liboffloadmic
42860 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
42861 configure-target-liboffloadmic:
42862 @: $(MAKE); $(unstage)
42863 @r=`${PWD_COMMAND}`; export r; \
42864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42865 echo "Checking multilib configuration for liboffloadmic..."; \
42866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
42867 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
42868 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
42869 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
42870 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
42871 else \
42872 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
42873 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
42874 fi; \
42875 else \
42876 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
42877 fi; \
42878 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
42879 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
42880 $(NORMAL_TARGET_EXPORTS) \
42881 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
42882 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
42883 case $(srcdir) in \
42884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42885 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
42886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42887 esac; \
42888 module_srcdir=liboffloadmic; \
42889 rm -f no-such-file || : ; \
42890 CONFIG_SITE=no-such-file $(SHELL) \
42891 $$s/$$module_srcdir/configure \
42892 --srcdir=$${topdir}/$$module_srcdir \
42893 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42894 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
42895 || exit 1
42896 @endif target-liboffloadmic
42902 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
42903 maybe-all-target-liboffloadmic:
42904 @if gcc-bootstrap
42905 all-target-liboffloadmic: stage_current
42906 @endif gcc-bootstrap
42907 @if target-liboffloadmic
42908 TARGET-target-liboffloadmic=all
42909 maybe-all-target-liboffloadmic: all-target-liboffloadmic
42910 all-target-liboffloadmic: configure-target-liboffloadmic
42911 @: $(MAKE); $(unstage)
42912 @r=`${PWD_COMMAND}`; export r; \
42913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42914 $(NORMAL_TARGET_EXPORTS) \
42915 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42916 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42917 $(TARGET-target-liboffloadmic))
42918 @endif target-liboffloadmic
42924 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
42925 maybe-check-target-liboffloadmic:
42926 @if target-liboffloadmic
42927 maybe-check-target-liboffloadmic: check-target-liboffloadmic
42929 check-target-liboffloadmic:
42930 @: $(MAKE); $(unstage)
42931 @r=`${PWD_COMMAND}`; export r; \
42932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42933 $(NORMAL_TARGET_EXPORTS) \
42934 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42935 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42937 @endif target-liboffloadmic
42939 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
42940 maybe-install-target-liboffloadmic:
42941 @if target-liboffloadmic
42942 maybe-install-target-liboffloadmic: install-target-liboffloadmic
42944 install-target-liboffloadmic: installdirs
42945 @: $(MAKE); $(unstage)
42946 @r=`${PWD_COMMAND}`; export r; \
42947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42948 $(NORMAL_TARGET_EXPORTS) \
42949 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42950 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42952 @endif target-liboffloadmic
42954 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
42955 maybe-install-strip-target-liboffloadmic:
42956 @if target-liboffloadmic
42957 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
42959 install-strip-target-liboffloadmic: installdirs
42960 @: $(MAKE); $(unstage)
42961 @r=`${PWD_COMMAND}`; export r; \
42962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42963 $(NORMAL_TARGET_EXPORTS) \
42964 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42965 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42967 @endif target-liboffloadmic
42969 # Other targets (info, dvi, pdf, etc.)
42971 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
42972 maybe-info-target-liboffloadmic:
42973 @if target-liboffloadmic
42974 maybe-info-target-liboffloadmic: info-target-liboffloadmic
42976 info-target-liboffloadmic: \
42977 configure-target-liboffloadmic
42978 @: $(MAKE); $(unstage)
42979 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42980 r=`${PWD_COMMAND}`; export r; \
42981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42982 $(NORMAL_TARGET_EXPORTS) \
42983 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
42984 for flag in $(EXTRA_TARGET_FLAGS); do \
42985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42986 done; \
42987 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42990 "RANLIB=$${RANLIB}" \
42991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42992 info) \
42993 || exit 1
42995 @endif target-liboffloadmic
42997 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
42998 maybe-dvi-target-liboffloadmic:
42999 @if target-liboffloadmic
43000 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
43002 dvi-target-liboffloadmic: \
43003 configure-target-liboffloadmic
43004 @: $(MAKE); $(unstage)
43005 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43006 r=`${PWD_COMMAND}`; export r; \
43007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43008 $(NORMAL_TARGET_EXPORTS) \
43009 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
43010 for flag in $(EXTRA_TARGET_FLAGS); do \
43011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43012 done; \
43013 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43016 "RANLIB=$${RANLIB}" \
43017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43018 dvi) \
43019 || exit 1
43021 @endif target-liboffloadmic
43023 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
43024 maybe-pdf-target-liboffloadmic:
43025 @if target-liboffloadmic
43026 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
43028 pdf-target-liboffloadmic: \
43029 configure-target-liboffloadmic
43030 @: $(MAKE); $(unstage)
43031 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43032 r=`${PWD_COMMAND}`; export r; \
43033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43034 $(NORMAL_TARGET_EXPORTS) \
43035 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43036 for flag in $(EXTRA_TARGET_FLAGS); do \
43037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43038 done; \
43039 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43042 "RANLIB=$${RANLIB}" \
43043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43044 pdf) \
43045 || exit 1
43047 @endif target-liboffloadmic
43049 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
43050 maybe-html-target-liboffloadmic:
43051 @if target-liboffloadmic
43052 maybe-html-target-liboffloadmic: html-target-liboffloadmic
43054 html-target-liboffloadmic: \
43055 configure-target-liboffloadmic
43056 @: $(MAKE); $(unstage)
43057 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43058 r=`${PWD_COMMAND}`; export r; \
43059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43060 $(NORMAL_TARGET_EXPORTS) \
43061 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
43062 for flag in $(EXTRA_TARGET_FLAGS); do \
43063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43064 done; \
43065 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43068 "RANLIB=$${RANLIB}" \
43069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43070 html) \
43071 || exit 1
43073 @endif target-liboffloadmic
43075 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
43076 maybe-TAGS-target-liboffloadmic:
43077 @if target-liboffloadmic
43078 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
43080 TAGS-target-liboffloadmic: \
43081 configure-target-liboffloadmic
43082 @: $(MAKE); $(unstage)
43083 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43084 r=`${PWD_COMMAND}`; export r; \
43085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43086 $(NORMAL_TARGET_EXPORTS) \
43087 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
43088 for flag in $(EXTRA_TARGET_FLAGS); do \
43089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43090 done; \
43091 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43094 "RANLIB=$${RANLIB}" \
43095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43096 TAGS) \
43097 || exit 1
43099 @endif target-liboffloadmic
43101 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
43102 maybe-install-info-target-liboffloadmic:
43103 @if target-liboffloadmic
43104 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
43106 install-info-target-liboffloadmic: \
43107 configure-target-liboffloadmic \
43108 info-target-liboffloadmic
43109 @: $(MAKE); $(unstage)
43110 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43111 r=`${PWD_COMMAND}`; export r; \
43112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43113 $(NORMAL_TARGET_EXPORTS) \
43114 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
43115 for flag in $(EXTRA_TARGET_FLAGS); do \
43116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43117 done; \
43118 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43121 "RANLIB=$${RANLIB}" \
43122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43123 install-info) \
43124 || exit 1
43126 @endif target-liboffloadmic
43128 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
43129 maybe-install-pdf-target-liboffloadmic:
43130 @if target-liboffloadmic
43131 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
43133 install-pdf-target-liboffloadmic: \
43134 configure-target-liboffloadmic \
43135 pdf-target-liboffloadmic
43136 @: $(MAKE); $(unstage)
43137 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43138 r=`${PWD_COMMAND}`; export r; \
43139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43140 $(NORMAL_TARGET_EXPORTS) \
43141 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43142 for flag in $(EXTRA_TARGET_FLAGS); do \
43143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43144 done; \
43145 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43148 "RANLIB=$${RANLIB}" \
43149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43150 install-pdf) \
43151 || exit 1
43153 @endif target-liboffloadmic
43155 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
43156 maybe-install-html-target-liboffloadmic:
43157 @if target-liboffloadmic
43158 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
43160 install-html-target-liboffloadmic: \
43161 configure-target-liboffloadmic \
43162 html-target-liboffloadmic
43163 @: $(MAKE); $(unstage)
43164 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43165 r=`${PWD_COMMAND}`; export r; \
43166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43167 $(NORMAL_TARGET_EXPORTS) \
43168 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
43169 for flag in $(EXTRA_TARGET_FLAGS); do \
43170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43171 done; \
43172 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43175 "RANLIB=$${RANLIB}" \
43176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43177 install-html) \
43178 || exit 1
43180 @endif target-liboffloadmic
43182 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
43183 maybe-installcheck-target-liboffloadmic:
43184 @if target-liboffloadmic
43185 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
43187 installcheck-target-liboffloadmic: \
43188 configure-target-liboffloadmic
43189 @: $(MAKE); $(unstage)
43190 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43191 r=`${PWD_COMMAND}`; export r; \
43192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43193 $(NORMAL_TARGET_EXPORTS) \
43194 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
43195 for flag in $(EXTRA_TARGET_FLAGS); do \
43196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43197 done; \
43198 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43201 "RANLIB=$${RANLIB}" \
43202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43203 installcheck) \
43204 || exit 1
43206 @endif target-liboffloadmic
43208 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
43209 maybe-mostlyclean-target-liboffloadmic:
43210 @if target-liboffloadmic
43211 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
43213 mostlyclean-target-liboffloadmic:
43214 @: $(MAKE); $(unstage)
43215 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43216 r=`${PWD_COMMAND}`; export r; \
43217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43218 $(NORMAL_TARGET_EXPORTS) \
43219 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43220 for flag in $(EXTRA_TARGET_FLAGS); do \
43221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43222 done; \
43223 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43226 "RANLIB=$${RANLIB}" \
43227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43228 mostlyclean) \
43229 || exit 1
43231 @endif target-liboffloadmic
43233 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
43234 maybe-clean-target-liboffloadmic:
43235 @if target-liboffloadmic
43236 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
43238 clean-target-liboffloadmic:
43239 @: $(MAKE); $(unstage)
43240 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43241 r=`${PWD_COMMAND}`; export r; \
43242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43243 $(NORMAL_TARGET_EXPORTS) \
43244 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43245 for flag in $(EXTRA_TARGET_FLAGS); do \
43246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43247 done; \
43248 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43251 "RANLIB=$${RANLIB}" \
43252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43253 clean) \
43254 || exit 1
43256 @endif target-liboffloadmic
43258 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
43259 maybe-distclean-target-liboffloadmic:
43260 @if target-liboffloadmic
43261 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
43263 distclean-target-liboffloadmic:
43264 @: $(MAKE); $(unstage)
43265 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43266 r=`${PWD_COMMAND}`; export r; \
43267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43268 $(NORMAL_TARGET_EXPORTS) \
43269 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43270 for flag in $(EXTRA_TARGET_FLAGS); do \
43271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43272 done; \
43273 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43276 "RANLIB=$${RANLIB}" \
43277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43278 distclean) \
43279 || exit 1
43281 @endif target-liboffloadmic
43283 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
43284 maybe-maintainer-clean-target-liboffloadmic:
43285 @if target-liboffloadmic
43286 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
43288 maintainer-clean-target-liboffloadmic:
43289 @: $(MAKE); $(unstage)
43290 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43291 r=`${PWD_COMMAND}`; export r; \
43292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43293 $(NORMAL_TARGET_EXPORTS) \
43294 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43295 for flag in $(EXTRA_TARGET_FLAGS); do \
43296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43297 done; \
43298 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43301 "RANLIB=$${RANLIB}" \
43302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43303 maintainer-clean) \
43304 || exit 1
43306 @endif target-liboffloadmic
43312 .PHONY: configure-target-libssp maybe-configure-target-libssp
43313 maybe-configure-target-libssp:
43314 @if gcc-bootstrap
43315 configure-target-libssp: stage_current
43316 @endif gcc-bootstrap
43317 @if target-libssp
43318 maybe-configure-target-libssp: configure-target-libssp
43319 configure-target-libssp:
43320 @: $(MAKE); $(unstage)
43321 @r=`${PWD_COMMAND}`; export r; \
43322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43323 echo "Checking multilib configuration for libssp..."; \
43324 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43325 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
43326 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
43327 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
43328 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
43329 else \
43330 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
43331 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43332 fi; \
43333 else \
43334 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43335 fi; \
43336 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
43337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43338 $(NORMAL_TARGET_EXPORTS) \
43339 echo Configuring in $(TARGET_SUBDIR)/libssp; \
43340 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
43341 case $(srcdir) in \
43342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43343 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
43344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43345 esac; \
43346 module_srcdir=libssp; \
43347 rm -f no-such-file || : ; \
43348 CONFIG_SITE=no-such-file $(SHELL) \
43349 $$s/$$module_srcdir/configure \
43350 --srcdir=$${topdir}/$$module_srcdir \
43351 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43352 --target=${target_alias} \
43353 || exit 1
43354 @endif target-libssp
43360 .PHONY: all-target-libssp maybe-all-target-libssp
43361 maybe-all-target-libssp:
43362 @if gcc-bootstrap
43363 all-target-libssp: stage_current
43364 @endif gcc-bootstrap
43365 @if target-libssp
43366 TARGET-target-libssp=all
43367 maybe-all-target-libssp: all-target-libssp
43368 all-target-libssp: configure-target-libssp
43369 @: $(MAKE); $(unstage)
43370 @r=`${PWD_COMMAND}`; export r; \
43371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43372 $(NORMAL_TARGET_EXPORTS) \
43373 (cd $(TARGET_SUBDIR)/libssp && \
43374 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43375 $(TARGET-target-libssp))
43376 @endif target-libssp
43382 .PHONY: check-target-libssp maybe-check-target-libssp
43383 maybe-check-target-libssp:
43384 @if target-libssp
43385 maybe-check-target-libssp: check-target-libssp
43387 check-target-libssp:
43388 @: $(MAKE); $(unstage)
43389 @r=`${PWD_COMMAND}`; export r; \
43390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43391 $(NORMAL_TARGET_EXPORTS) \
43392 (cd $(TARGET_SUBDIR)/libssp && \
43393 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43395 @endif target-libssp
43397 .PHONY: install-target-libssp maybe-install-target-libssp
43398 maybe-install-target-libssp:
43399 @if target-libssp
43400 maybe-install-target-libssp: install-target-libssp
43402 install-target-libssp: installdirs
43403 @: $(MAKE); $(unstage)
43404 @r=`${PWD_COMMAND}`; export r; \
43405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43406 $(NORMAL_TARGET_EXPORTS) \
43407 (cd $(TARGET_SUBDIR)/libssp && \
43408 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43410 @endif target-libssp
43412 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
43413 maybe-install-strip-target-libssp:
43414 @if target-libssp
43415 maybe-install-strip-target-libssp: install-strip-target-libssp
43417 install-strip-target-libssp: installdirs
43418 @: $(MAKE); $(unstage)
43419 @r=`${PWD_COMMAND}`; export r; \
43420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43421 $(NORMAL_TARGET_EXPORTS) \
43422 (cd $(TARGET_SUBDIR)/libssp && \
43423 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43425 @endif target-libssp
43427 # Other targets (info, dvi, pdf, etc.)
43429 .PHONY: maybe-info-target-libssp info-target-libssp
43430 maybe-info-target-libssp:
43431 @if target-libssp
43432 maybe-info-target-libssp: info-target-libssp
43434 info-target-libssp: \
43435 configure-target-libssp
43436 @: $(MAKE); $(unstage)
43437 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43438 r=`${PWD_COMMAND}`; export r; \
43439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43440 $(NORMAL_TARGET_EXPORTS) \
43441 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
43442 for flag in $(EXTRA_TARGET_FLAGS); do \
43443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43444 done; \
43445 (cd $(TARGET_SUBDIR)/libssp && \
43446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43448 "RANLIB=$${RANLIB}" \
43449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43450 info) \
43451 || exit 1
43453 @endif target-libssp
43455 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
43456 maybe-dvi-target-libssp:
43457 @if target-libssp
43458 maybe-dvi-target-libssp: dvi-target-libssp
43460 dvi-target-libssp: \
43461 configure-target-libssp
43462 @: $(MAKE); $(unstage)
43463 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43464 r=`${PWD_COMMAND}`; export r; \
43465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43466 $(NORMAL_TARGET_EXPORTS) \
43467 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
43468 for flag in $(EXTRA_TARGET_FLAGS); do \
43469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43470 done; \
43471 (cd $(TARGET_SUBDIR)/libssp && \
43472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43474 "RANLIB=$${RANLIB}" \
43475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43476 dvi) \
43477 || exit 1
43479 @endif target-libssp
43481 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
43482 maybe-pdf-target-libssp:
43483 @if target-libssp
43484 maybe-pdf-target-libssp: pdf-target-libssp
43486 pdf-target-libssp: \
43487 configure-target-libssp
43488 @: $(MAKE); $(unstage)
43489 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43490 r=`${PWD_COMMAND}`; export r; \
43491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43492 $(NORMAL_TARGET_EXPORTS) \
43493 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
43494 for flag in $(EXTRA_TARGET_FLAGS); do \
43495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43496 done; \
43497 (cd $(TARGET_SUBDIR)/libssp && \
43498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43500 "RANLIB=$${RANLIB}" \
43501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43502 pdf) \
43503 || exit 1
43505 @endif target-libssp
43507 .PHONY: maybe-html-target-libssp html-target-libssp
43508 maybe-html-target-libssp:
43509 @if target-libssp
43510 maybe-html-target-libssp: html-target-libssp
43512 html-target-libssp: \
43513 configure-target-libssp
43514 @: $(MAKE); $(unstage)
43515 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43516 r=`${PWD_COMMAND}`; export r; \
43517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43518 $(NORMAL_TARGET_EXPORTS) \
43519 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
43520 for flag in $(EXTRA_TARGET_FLAGS); do \
43521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43522 done; \
43523 (cd $(TARGET_SUBDIR)/libssp && \
43524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43526 "RANLIB=$${RANLIB}" \
43527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43528 html) \
43529 || exit 1
43531 @endif target-libssp
43533 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
43534 maybe-TAGS-target-libssp:
43535 @if target-libssp
43536 maybe-TAGS-target-libssp: TAGS-target-libssp
43538 TAGS-target-libssp: \
43539 configure-target-libssp
43540 @: $(MAKE); $(unstage)
43541 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43542 r=`${PWD_COMMAND}`; export r; \
43543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43544 $(NORMAL_TARGET_EXPORTS) \
43545 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
43546 for flag in $(EXTRA_TARGET_FLAGS); do \
43547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43548 done; \
43549 (cd $(TARGET_SUBDIR)/libssp && \
43550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43552 "RANLIB=$${RANLIB}" \
43553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43554 TAGS) \
43555 || exit 1
43557 @endif target-libssp
43559 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
43560 maybe-install-info-target-libssp:
43561 @if target-libssp
43562 maybe-install-info-target-libssp: install-info-target-libssp
43564 install-info-target-libssp: \
43565 configure-target-libssp \
43566 info-target-libssp
43567 @: $(MAKE); $(unstage)
43568 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43569 r=`${PWD_COMMAND}`; export r; \
43570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43571 $(NORMAL_TARGET_EXPORTS) \
43572 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
43573 for flag in $(EXTRA_TARGET_FLAGS); do \
43574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43575 done; \
43576 (cd $(TARGET_SUBDIR)/libssp && \
43577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43579 "RANLIB=$${RANLIB}" \
43580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43581 install-info) \
43582 || exit 1
43584 @endif target-libssp
43586 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
43587 maybe-install-pdf-target-libssp:
43588 @if target-libssp
43589 maybe-install-pdf-target-libssp: install-pdf-target-libssp
43591 install-pdf-target-libssp: \
43592 configure-target-libssp \
43593 pdf-target-libssp
43594 @: $(MAKE); $(unstage)
43595 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43596 r=`${PWD_COMMAND}`; export r; \
43597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43598 $(NORMAL_TARGET_EXPORTS) \
43599 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
43600 for flag in $(EXTRA_TARGET_FLAGS); do \
43601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43602 done; \
43603 (cd $(TARGET_SUBDIR)/libssp && \
43604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43606 "RANLIB=$${RANLIB}" \
43607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43608 install-pdf) \
43609 || exit 1
43611 @endif target-libssp
43613 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
43614 maybe-install-html-target-libssp:
43615 @if target-libssp
43616 maybe-install-html-target-libssp: install-html-target-libssp
43618 install-html-target-libssp: \
43619 configure-target-libssp \
43620 html-target-libssp
43621 @: $(MAKE); $(unstage)
43622 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43623 r=`${PWD_COMMAND}`; export r; \
43624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43625 $(NORMAL_TARGET_EXPORTS) \
43626 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
43627 for flag in $(EXTRA_TARGET_FLAGS); do \
43628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43629 done; \
43630 (cd $(TARGET_SUBDIR)/libssp && \
43631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43633 "RANLIB=$${RANLIB}" \
43634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43635 install-html) \
43636 || exit 1
43638 @endif target-libssp
43640 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
43641 maybe-installcheck-target-libssp:
43642 @if target-libssp
43643 maybe-installcheck-target-libssp: installcheck-target-libssp
43645 installcheck-target-libssp: \
43646 configure-target-libssp
43647 @: $(MAKE); $(unstage)
43648 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43649 r=`${PWD_COMMAND}`; export r; \
43650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43651 $(NORMAL_TARGET_EXPORTS) \
43652 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
43653 for flag in $(EXTRA_TARGET_FLAGS); do \
43654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43655 done; \
43656 (cd $(TARGET_SUBDIR)/libssp && \
43657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43659 "RANLIB=$${RANLIB}" \
43660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43661 installcheck) \
43662 || exit 1
43664 @endif target-libssp
43666 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
43667 maybe-mostlyclean-target-libssp:
43668 @if target-libssp
43669 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
43671 mostlyclean-target-libssp:
43672 @: $(MAKE); $(unstage)
43673 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43674 r=`${PWD_COMMAND}`; export r; \
43675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43676 $(NORMAL_TARGET_EXPORTS) \
43677 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
43678 for flag in $(EXTRA_TARGET_FLAGS); do \
43679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43680 done; \
43681 (cd $(TARGET_SUBDIR)/libssp && \
43682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43684 "RANLIB=$${RANLIB}" \
43685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43686 mostlyclean) \
43687 || exit 1
43689 @endif target-libssp
43691 .PHONY: maybe-clean-target-libssp clean-target-libssp
43692 maybe-clean-target-libssp:
43693 @if target-libssp
43694 maybe-clean-target-libssp: clean-target-libssp
43696 clean-target-libssp:
43697 @: $(MAKE); $(unstage)
43698 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43699 r=`${PWD_COMMAND}`; export r; \
43700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43701 $(NORMAL_TARGET_EXPORTS) \
43702 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
43703 for flag in $(EXTRA_TARGET_FLAGS); do \
43704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43705 done; \
43706 (cd $(TARGET_SUBDIR)/libssp && \
43707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43709 "RANLIB=$${RANLIB}" \
43710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43711 clean) \
43712 || exit 1
43714 @endif target-libssp
43716 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
43717 maybe-distclean-target-libssp:
43718 @if target-libssp
43719 maybe-distclean-target-libssp: distclean-target-libssp
43721 distclean-target-libssp:
43722 @: $(MAKE); $(unstage)
43723 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43724 r=`${PWD_COMMAND}`; export r; \
43725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43726 $(NORMAL_TARGET_EXPORTS) \
43727 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
43728 for flag in $(EXTRA_TARGET_FLAGS); do \
43729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43730 done; \
43731 (cd $(TARGET_SUBDIR)/libssp && \
43732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43734 "RANLIB=$${RANLIB}" \
43735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43736 distclean) \
43737 || exit 1
43739 @endif target-libssp
43741 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
43742 maybe-maintainer-clean-target-libssp:
43743 @if target-libssp
43744 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
43746 maintainer-clean-target-libssp:
43747 @: $(MAKE); $(unstage)
43748 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43749 r=`${PWD_COMMAND}`; export r; \
43750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43751 $(NORMAL_TARGET_EXPORTS) \
43752 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
43753 for flag in $(EXTRA_TARGET_FLAGS); do \
43754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43755 done; \
43756 (cd $(TARGET_SUBDIR)/libssp && \
43757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43759 "RANLIB=$${RANLIB}" \
43760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43761 maintainer-clean) \
43762 || exit 1
43764 @endif target-libssp
43770 .PHONY: configure-target-newlib maybe-configure-target-newlib
43771 maybe-configure-target-newlib:
43772 @if gcc-bootstrap
43773 configure-target-newlib: stage_current
43774 @endif gcc-bootstrap
43775 @if target-newlib
43776 maybe-configure-target-newlib: configure-target-newlib
43777 configure-target-newlib:
43778 @: $(MAKE); $(unstage)
43779 @r=`${PWD_COMMAND}`; export r; \
43780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43781 echo "Checking multilib configuration for newlib..."; \
43782 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
43783 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
43784 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
43785 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
43786 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
43787 else \
43788 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
43789 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
43790 fi; \
43791 else \
43792 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
43793 fi; \
43794 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
43795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
43796 $(NORMAL_TARGET_EXPORTS) \
43797 echo Configuring in $(TARGET_SUBDIR)/newlib; \
43798 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
43799 case $(srcdir) in \
43800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43801 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
43802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43803 esac; \
43804 module_srcdir=newlib; \
43805 rm -f no-such-file || : ; \
43806 CONFIG_SITE=no-such-file $(SHELL) \
43807 $$s/$$module_srcdir/configure \
43808 --srcdir=$${topdir}/$$module_srcdir \
43809 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43810 --target=${target_alias} \
43811 || exit 1
43812 @endif target-newlib
43818 .PHONY: all-target-newlib maybe-all-target-newlib
43819 maybe-all-target-newlib:
43820 @if gcc-bootstrap
43821 all-target-newlib: stage_current
43822 @endif gcc-bootstrap
43823 @if target-newlib
43824 TARGET-target-newlib=all
43825 maybe-all-target-newlib: all-target-newlib
43826 all-target-newlib: configure-target-newlib
43827 @: $(MAKE); $(unstage)
43828 @r=`${PWD_COMMAND}`; export r; \
43829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43830 $(NORMAL_TARGET_EXPORTS) \
43831 (cd $(TARGET_SUBDIR)/newlib && \
43832 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43833 $(TARGET-target-newlib))
43834 @endif target-newlib
43840 .PHONY: check-target-newlib maybe-check-target-newlib
43841 maybe-check-target-newlib:
43842 @if target-newlib
43843 maybe-check-target-newlib: check-target-newlib
43845 check-target-newlib:
43846 @: $(MAKE); $(unstage)
43847 @r=`${PWD_COMMAND}`; export r; \
43848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43849 $(NORMAL_TARGET_EXPORTS) \
43850 (cd $(TARGET_SUBDIR)/newlib && \
43851 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43853 @endif target-newlib
43855 .PHONY: install-target-newlib maybe-install-target-newlib
43856 maybe-install-target-newlib:
43857 @if target-newlib
43858 maybe-install-target-newlib: install-target-newlib
43860 install-target-newlib: installdirs
43861 @: $(MAKE); $(unstage)
43862 @r=`${PWD_COMMAND}`; export r; \
43863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43864 $(NORMAL_TARGET_EXPORTS) \
43865 (cd $(TARGET_SUBDIR)/newlib && \
43866 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43868 @endif target-newlib
43870 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
43871 maybe-install-strip-target-newlib:
43872 @if target-newlib
43873 maybe-install-strip-target-newlib: install-strip-target-newlib
43875 install-strip-target-newlib: installdirs
43876 @: $(MAKE); $(unstage)
43877 @r=`${PWD_COMMAND}`; export r; \
43878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43879 $(NORMAL_TARGET_EXPORTS) \
43880 (cd $(TARGET_SUBDIR)/newlib && \
43881 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43883 @endif target-newlib
43885 # Other targets (info, dvi, pdf, etc.)
43887 .PHONY: maybe-info-target-newlib info-target-newlib
43888 maybe-info-target-newlib:
43889 @if target-newlib
43890 maybe-info-target-newlib: info-target-newlib
43892 info-target-newlib: \
43893 configure-target-newlib
43894 @: $(MAKE); $(unstage)
43895 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
43896 r=`${PWD_COMMAND}`; export r; \
43897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43898 $(NORMAL_TARGET_EXPORTS) \
43899 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
43900 for flag in $(EXTRA_TARGET_FLAGS); do \
43901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43902 done; \
43903 (cd $(TARGET_SUBDIR)/newlib && \
43904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43906 "RANLIB=$${RANLIB}" \
43907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43908 info) \
43909 || exit 1
43911 @endif target-newlib
43913 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
43914 maybe-dvi-target-newlib:
43915 @if target-newlib
43916 maybe-dvi-target-newlib: dvi-target-newlib
43918 dvi-target-newlib: \
43919 configure-target-newlib
43920 @: $(MAKE); $(unstage)
43921 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
43922 r=`${PWD_COMMAND}`; export r; \
43923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43924 $(NORMAL_TARGET_EXPORTS) \
43925 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
43926 for flag in $(EXTRA_TARGET_FLAGS); do \
43927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43928 done; \
43929 (cd $(TARGET_SUBDIR)/newlib && \
43930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43932 "RANLIB=$${RANLIB}" \
43933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43934 dvi) \
43935 || exit 1
43937 @endif target-newlib
43939 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
43940 maybe-pdf-target-newlib:
43941 @if target-newlib
43942 maybe-pdf-target-newlib: pdf-target-newlib
43944 pdf-target-newlib: \
43945 configure-target-newlib
43946 @: $(MAKE); $(unstage)
43947 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
43948 r=`${PWD_COMMAND}`; export r; \
43949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43950 $(NORMAL_TARGET_EXPORTS) \
43951 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
43952 for flag in $(EXTRA_TARGET_FLAGS); do \
43953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43954 done; \
43955 (cd $(TARGET_SUBDIR)/newlib && \
43956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43958 "RANLIB=$${RANLIB}" \
43959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43960 pdf) \
43961 || exit 1
43963 @endif target-newlib
43965 .PHONY: maybe-html-target-newlib html-target-newlib
43966 maybe-html-target-newlib:
43967 @if target-newlib
43968 maybe-html-target-newlib: html-target-newlib
43970 html-target-newlib: \
43971 configure-target-newlib
43972 @: $(MAKE); $(unstage)
43973 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
43974 r=`${PWD_COMMAND}`; export r; \
43975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43976 $(NORMAL_TARGET_EXPORTS) \
43977 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
43978 for flag in $(EXTRA_TARGET_FLAGS); do \
43979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43980 done; \
43981 (cd $(TARGET_SUBDIR)/newlib && \
43982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43984 "RANLIB=$${RANLIB}" \
43985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43986 html) \
43987 || exit 1
43989 @endif target-newlib
43991 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
43992 maybe-TAGS-target-newlib:
43993 @if target-newlib
43994 maybe-TAGS-target-newlib: TAGS-target-newlib
43996 TAGS-target-newlib: \
43997 configure-target-newlib
43998 @: $(MAKE); $(unstage)
43999 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44000 r=`${PWD_COMMAND}`; export r; \
44001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44002 $(NORMAL_TARGET_EXPORTS) \
44003 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
44004 for flag in $(EXTRA_TARGET_FLAGS); do \
44005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44006 done; \
44007 (cd $(TARGET_SUBDIR)/newlib && \
44008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44010 "RANLIB=$${RANLIB}" \
44011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44012 TAGS) \
44013 || exit 1
44015 @endif target-newlib
44017 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
44018 maybe-install-info-target-newlib:
44019 @if target-newlib
44020 maybe-install-info-target-newlib: install-info-target-newlib
44022 install-info-target-newlib: \
44023 configure-target-newlib \
44024 info-target-newlib
44025 @: $(MAKE); $(unstage)
44026 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44027 r=`${PWD_COMMAND}`; export r; \
44028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44029 $(NORMAL_TARGET_EXPORTS) \
44030 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
44031 for flag in $(EXTRA_TARGET_FLAGS); do \
44032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44033 done; \
44034 (cd $(TARGET_SUBDIR)/newlib && \
44035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44037 "RANLIB=$${RANLIB}" \
44038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44039 install-info) \
44040 || exit 1
44042 @endif target-newlib
44044 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
44045 maybe-install-pdf-target-newlib:
44046 @if target-newlib
44047 maybe-install-pdf-target-newlib: install-pdf-target-newlib
44049 install-pdf-target-newlib: \
44050 configure-target-newlib \
44051 pdf-target-newlib
44052 @: $(MAKE); $(unstage)
44053 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44054 r=`${PWD_COMMAND}`; export r; \
44055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44056 $(NORMAL_TARGET_EXPORTS) \
44057 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
44058 for flag in $(EXTRA_TARGET_FLAGS); do \
44059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44060 done; \
44061 (cd $(TARGET_SUBDIR)/newlib && \
44062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44064 "RANLIB=$${RANLIB}" \
44065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44066 install-pdf) \
44067 || exit 1
44069 @endif target-newlib
44071 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
44072 maybe-install-html-target-newlib:
44073 @if target-newlib
44074 maybe-install-html-target-newlib: install-html-target-newlib
44076 install-html-target-newlib: \
44077 configure-target-newlib \
44078 html-target-newlib
44079 @: $(MAKE); $(unstage)
44080 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44081 r=`${PWD_COMMAND}`; export r; \
44082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44083 $(NORMAL_TARGET_EXPORTS) \
44084 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
44085 for flag in $(EXTRA_TARGET_FLAGS); do \
44086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44087 done; \
44088 (cd $(TARGET_SUBDIR)/newlib && \
44089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44091 "RANLIB=$${RANLIB}" \
44092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44093 install-html) \
44094 || exit 1
44096 @endif target-newlib
44098 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
44099 maybe-installcheck-target-newlib:
44100 @if target-newlib
44101 maybe-installcheck-target-newlib: installcheck-target-newlib
44103 installcheck-target-newlib: \
44104 configure-target-newlib
44105 @: $(MAKE); $(unstage)
44106 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44107 r=`${PWD_COMMAND}`; export r; \
44108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44109 $(NORMAL_TARGET_EXPORTS) \
44110 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
44111 for flag in $(EXTRA_TARGET_FLAGS); do \
44112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44113 done; \
44114 (cd $(TARGET_SUBDIR)/newlib && \
44115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44117 "RANLIB=$${RANLIB}" \
44118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44119 installcheck) \
44120 || exit 1
44122 @endif target-newlib
44124 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
44125 maybe-mostlyclean-target-newlib:
44126 @if target-newlib
44127 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
44129 mostlyclean-target-newlib:
44130 @: $(MAKE); $(unstage)
44131 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44132 r=`${PWD_COMMAND}`; export r; \
44133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44134 $(NORMAL_TARGET_EXPORTS) \
44135 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
44136 for flag in $(EXTRA_TARGET_FLAGS); do \
44137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44138 done; \
44139 (cd $(TARGET_SUBDIR)/newlib && \
44140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44142 "RANLIB=$${RANLIB}" \
44143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44144 mostlyclean) \
44145 || exit 1
44147 @endif target-newlib
44149 .PHONY: maybe-clean-target-newlib clean-target-newlib
44150 maybe-clean-target-newlib:
44151 @if target-newlib
44152 maybe-clean-target-newlib: clean-target-newlib
44154 clean-target-newlib:
44155 @: $(MAKE); $(unstage)
44156 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44157 r=`${PWD_COMMAND}`; export r; \
44158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44159 $(NORMAL_TARGET_EXPORTS) \
44160 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
44161 for flag in $(EXTRA_TARGET_FLAGS); do \
44162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44163 done; \
44164 (cd $(TARGET_SUBDIR)/newlib && \
44165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44167 "RANLIB=$${RANLIB}" \
44168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44169 clean) \
44170 || exit 1
44172 @endif target-newlib
44174 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
44175 maybe-distclean-target-newlib:
44176 @if target-newlib
44177 maybe-distclean-target-newlib: distclean-target-newlib
44179 distclean-target-newlib:
44180 @: $(MAKE); $(unstage)
44181 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44182 r=`${PWD_COMMAND}`; export r; \
44183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44184 $(NORMAL_TARGET_EXPORTS) \
44185 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
44186 for flag in $(EXTRA_TARGET_FLAGS); do \
44187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44188 done; \
44189 (cd $(TARGET_SUBDIR)/newlib && \
44190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44192 "RANLIB=$${RANLIB}" \
44193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44194 distclean) \
44195 || exit 1
44197 @endif target-newlib
44199 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
44200 maybe-maintainer-clean-target-newlib:
44201 @if target-newlib
44202 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
44204 maintainer-clean-target-newlib:
44205 @: $(MAKE); $(unstage)
44206 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44207 r=`${PWD_COMMAND}`; export r; \
44208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44209 $(NORMAL_TARGET_EXPORTS) \
44210 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
44211 for flag in $(EXTRA_TARGET_FLAGS); do \
44212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44213 done; \
44214 (cd $(TARGET_SUBDIR)/newlib && \
44215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44217 "RANLIB=$${RANLIB}" \
44218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44219 maintainer-clean) \
44220 || exit 1
44222 @endif target-newlib
44228 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
44229 maybe-configure-target-libgcc:
44230 @if gcc-bootstrap
44231 configure-target-libgcc: stage_current
44232 @endif gcc-bootstrap
44233 @if target-libgcc
44234 maybe-configure-target-libgcc: configure-target-libgcc
44235 configure-target-libgcc:
44236 @r=`${PWD_COMMAND}`; export r; \
44237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44238 echo "Checking multilib configuration for libgcc..."; \
44239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44240 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44241 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44242 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44243 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44244 else \
44245 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44246 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44247 fi; \
44248 else \
44249 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44250 fi; \
44251 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44253 $(NORMAL_TARGET_EXPORTS) \
44254 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
44255 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
44256 case $(srcdir) in \
44257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44258 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44260 esac; \
44261 module_srcdir=libgcc; \
44262 rm -f no-such-file || : ; \
44263 CONFIG_SITE=no-such-file $(SHELL) \
44264 $$s/$$module_srcdir/configure \
44265 --srcdir=$${topdir}/$$module_srcdir \
44266 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44267 --target=${target_alias} \
44268 || exit 1
44269 @endif target-libgcc
44273 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
44274 maybe-configure-stage1-target-libgcc:
44275 @if target-libgcc-bootstrap
44276 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
44277 configure-stage1-target-libgcc:
44278 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44279 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44280 @r=`${PWD_COMMAND}`; export r; \
44281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44282 TFLAGS="$(STAGE1_TFLAGS)"; \
44283 echo "Checking multilib configuration for libgcc..."; \
44284 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44285 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44286 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44287 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44288 else \
44289 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44290 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44291 fi; \
44292 else \
44293 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44294 fi; \
44295 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44296 $(NORMAL_TARGET_EXPORTS) \
44297 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44299 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44300 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
44301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44302 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44303 case $(srcdir) in \
44304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44305 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44307 esac; \
44308 module_srcdir=libgcc; \
44309 $(SHELL) $$s/$$module_srcdir/configure \
44310 --srcdir=$${topdir}/$$module_srcdir \
44311 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44312 --target=${target_alias} \
44314 $(STAGE1_CONFIGURE_FLAGS)
44315 @endif target-libgcc-bootstrap
44317 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
44318 maybe-configure-stage2-target-libgcc:
44319 @if target-libgcc-bootstrap
44320 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
44321 configure-stage2-target-libgcc:
44322 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44323 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44324 @r=`${PWD_COMMAND}`; export r; \
44325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44326 TFLAGS="$(STAGE2_TFLAGS)"; \
44327 echo "Checking multilib configuration for libgcc..."; \
44328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44329 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44330 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44331 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44332 else \
44333 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44334 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44335 fi; \
44336 else \
44337 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44338 fi; \
44339 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44340 $(NORMAL_TARGET_EXPORTS) \
44342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44345 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
44346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44347 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44348 case $(srcdir) in \
44349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44350 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44352 esac; \
44353 module_srcdir=libgcc; \
44354 $(SHELL) $$s/$$module_srcdir/configure \
44355 --srcdir=$${topdir}/$$module_srcdir \
44356 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44357 --target=${target_alias} \
44358 --with-build-libsubdir=$(HOST_SUBDIR) \
44359 $(STAGE2_CONFIGURE_FLAGS)
44360 @endif target-libgcc-bootstrap
44362 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
44363 maybe-configure-stage3-target-libgcc:
44364 @if target-libgcc-bootstrap
44365 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
44366 configure-stage3-target-libgcc:
44367 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44368 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44369 @r=`${PWD_COMMAND}`; export r; \
44370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44371 TFLAGS="$(STAGE3_TFLAGS)"; \
44372 echo "Checking multilib configuration for libgcc..."; \
44373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44374 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44375 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44376 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44377 else \
44378 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44379 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44380 fi; \
44381 else \
44382 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44383 fi; \
44384 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44385 $(NORMAL_TARGET_EXPORTS) \
44387 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44390 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
44391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44392 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44393 case $(srcdir) in \
44394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44395 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44397 esac; \
44398 module_srcdir=libgcc; \
44399 $(SHELL) $$s/$$module_srcdir/configure \
44400 --srcdir=$${topdir}/$$module_srcdir \
44401 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44402 --target=${target_alias} \
44403 --with-build-libsubdir=$(HOST_SUBDIR) \
44404 $(STAGE3_CONFIGURE_FLAGS)
44405 @endif target-libgcc-bootstrap
44407 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
44408 maybe-configure-stage4-target-libgcc:
44409 @if target-libgcc-bootstrap
44410 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
44411 configure-stage4-target-libgcc:
44412 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44413 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44414 @r=`${PWD_COMMAND}`; export r; \
44415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44416 TFLAGS="$(STAGE4_TFLAGS)"; \
44417 echo "Checking multilib configuration for libgcc..."; \
44418 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44419 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44420 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44421 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44422 else \
44423 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44424 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44425 fi; \
44426 else \
44427 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44428 fi; \
44429 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44430 $(NORMAL_TARGET_EXPORTS) \
44432 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44433 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44434 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44435 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
44436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44437 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44438 case $(srcdir) in \
44439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44440 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44442 esac; \
44443 module_srcdir=libgcc; \
44444 $(SHELL) $$s/$$module_srcdir/configure \
44445 --srcdir=$${topdir}/$$module_srcdir \
44446 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44447 --target=${target_alias} \
44448 --with-build-libsubdir=$(HOST_SUBDIR) \
44449 $(STAGE4_CONFIGURE_FLAGS)
44450 @endif target-libgcc-bootstrap
44452 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
44453 maybe-configure-stageprofile-target-libgcc:
44454 @if target-libgcc-bootstrap
44455 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44456 configure-stageprofile-target-libgcc:
44457 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44458 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44459 @r=`${PWD_COMMAND}`; export r; \
44460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44461 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44462 echo "Checking multilib configuration for libgcc..."; \
44463 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44464 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44465 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44466 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44467 else \
44468 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44469 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44470 fi; \
44471 else \
44472 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44473 fi; \
44474 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44475 $(NORMAL_TARGET_EXPORTS) \
44477 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44478 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44479 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44480 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
44481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44482 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44483 case $(srcdir) in \
44484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44485 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44487 esac; \
44488 module_srcdir=libgcc; \
44489 $(SHELL) $$s/$$module_srcdir/configure \
44490 --srcdir=$${topdir}/$$module_srcdir \
44491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44492 --target=${target_alias} \
44493 --with-build-libsubdir=$(HOST_SUBDIR) \
44494 $(STAGEprofile_CONFIGURE_FLAGS)
44495 @endif target-libgcc-bootstrap
44497 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
44498 maybe-configure-stagetrain-target-libgcc:
44499 @if target-libgcc-bootstrap
44500 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
44501 configure-stagetrain-target-libgcc:
44502 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44503 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44504 @r=`${PWD_COMMAND}`; export r; \
44505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44506 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44507 echo "Checking multilib configuration for libgcc..."; \
44508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44509 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44510 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44511 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44512 else \
44513 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44514 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44515 fi; \
44516 else \
44517 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44518 fi; \
44519 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44520 $(NORMAL_TARGET_EXPORTS) \
44522 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44523 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44524 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44525 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
44526 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44527 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44528 case $(srcdir) in \
44529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44530 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44532 esac; \
44533 module_srcdir=libgcc; \
44534 $(SHELL) $$s/$$module_srcdir/configure \
44535 --srcdir=$${topdir}/$$module_srcdir \
44536 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44537 --target=${target_alias} \
44538 --with-build-libsubdir=$(HOST_SUBDIR) \
44539 $(STAGEtrain_CONFIGURE_FLAGS)
44540 @endif target-libgcc-bootstrap
44542 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
44543 maybe-configure-stagefeedback-target-libgcc:
44544 @if target-libgcc-bootstrap
44545 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
44546 configure-stagefeedback-target-libgcc:
44547 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44548 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44549 @r=`${PWD_COMMAND}`; export r; \
44550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44551 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44552 echo "Checking multilib configuration for libgcc..."; \
44553 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44554 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44555 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44556 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44557 else \
44558 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44559 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44560 fi; \
44561 else \
44562 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44563 fi; \
44564 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44565 $(NORMAL_TARGET_EXPORTS) \
44567 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44568 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44569 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44570 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
44571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44572 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44573 case $(srcdir) in \
44574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44575 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44577 esac; \
44578 module_srcdir=libgcc; \
44579 $(SHELL) $$s/$$module_srcdir/configure \
44580 --srcdir=$${topdir}/$$module_srcdir \
44581 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44582 --target=${target_alias} \
44583 --with-build-libsubdir=$(HOST_SUBDIR) \
44584 $(STAGEfeedback_CONFIGURE_FLAGS)
44585 @endif target-libgcc-bootstrap
44587 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
44588 maybe-configure-stageautoprofile-target-libgcc:
44589 @if target-libgcc-bootstrap
44590 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
44591 configure-stageautoprofile-target-libgcc:
44592 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
44593 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44594 @r=`${PWD_COMMAND}`; export r; \
44595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44596 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
44597 echo "Checking multilib configuration for libgcc..."; \
44598 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44599 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44600 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44601 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44602 else \
44603 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44604 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44605 fi; \
44606 else \
44607 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44608 fi; \
44609 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44610 $(NORMAL_TARGET_EXPORTS) \
44612 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44613 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44614 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44615 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
44616 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44617 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44618 case $(srcdir) in \
44619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44620 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44622 esac; \
44623 module_srcdir=libgcc; \
44624 $(SHELL) $$s/$$module_srcdir/configure \
44625 --srcdir=$${topdir}/$$module_srcdir \
44626 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44627 --target=${target_alias} \
44628 --with-build-libsubdir=$(HOST_SUBDIR) \
44629 $(STAGEautoprofile_CONFIGURE_FLAGS)
44630 @endif target-libgcc-bootstrap
44632 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
44633 maybe-configure-stageautofeedback-target-libgcc:
44634 @if target-libgcc-bootstrap
44635 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
44636 configure-stageautofeedback-target-libgcc:
44637 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
44638 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44639 @r=`${PWD_COMMAND}`; export r; \
44640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44641 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
44642 echo "Checking multilib configuration for libgcc..."; \
44643 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44644 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44645 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44646 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44647 else \
44648 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44649 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44650 fi; \
44651 else \
44652 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44653 fi; \
44654 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44655 $(NORMAL_TARGET_EXPORTS) \
44657 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44658 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44659 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44660 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
44661 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44662 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44663 case $(srcdir) in \
44664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44665 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44667 esac; \
44668 module_srcdir=libgcc; \
44669 $(SHELL) $$s/$$module_srcdir/configure \
44670 --srcdir=$${topdir}/$$module_srcdir \
44671 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44672 --target=${target_alias} \
44673 --with-build-libsubdir=$(HOST_SUBDIR) \
44674 $(STAGEautofeedback_CONFIGURE_FLAGS)
44675 @endif target-libgcc-bootstrap
44681 .PHONY: all-target-libgcc maybe-all-target-libgcc
44682 maybe-all-target-libgcc:
44683 @if gcc-bootstrap
44684 all-target-libgcc: stage_current
44685 @endif gcc-bootstrap
44686 @if target-libgcc
44687 TARGET-target-libgcc=all
44688 maybe-all-target-libgcc: all-target-libgcc
44689 all-target-libgcc: configure-target-libgcc
44690 @r=`${PWD_COMMAND}`; export r; \
44691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44692 $(NORMAL_TARGET_EXPORTS) \
44693 (cd $(TARGET_SUBDIR)/libgcc && \
44694 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44695 $(TARGET-target-libgcc))
44696 @endif target-libgcc
44700 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
44701 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
44702 maybe-all-stage1-target-libgcc:
44703 maybe-clean-stage1-target-libgcc:
44704 @if target-libgcc-bootstrap
44705 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
44706 all-stage1: all-stage1-target-libgcc
44707 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
44708 all-stage1-target-libgcc: configure-stage1-target-libgcc
44709 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44710 @r=`${PWD_COMMAND}`; export r; \
44711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44712 TFLAGS="$(STAGE1_TFLAGS)"; \
44713 $(NORMAL_TARGET_EXPORTS) \
44714 cd $(TARGET_SUBDIR)/libgcc && \
44716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44717 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44718 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44719 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44723 $(EXTRA_TARGET_FLAGS) \
44725 TFLAGS="$(STAGE1_TFLAGS)" \
44726 $(TARGET-stage1-target-libgcc)
44728 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
44729 clean-stage1: clean-stage1-target-libgcc
44730 clean-stage1-target-libgcc:
44731 @if [ $(current_stage) = stage1 ]; then \
44732 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44733 else \
44734 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
44735 $(MAKE) stage1-start; \
44736 fi; \
44737 cd $(TARGET_SUBDIR)/libgcc && \
44738 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44739 clean
44740 @endif target-libgcc-bootstrap
44743 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
44744 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
44745 maybe-all-stage2-target-libgcc:
44746 maybe-clean-stage2-target-libgcc:
44747 @if target-libgcc-bootstrap
44748 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
44749 all-stage2: all-stage2-target-libgcc
44750 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
44751 all-stage2-target-libgcc: configure-stage2-target-libgcc
44752 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44753 @r=`${PWD_COMMAND}`; export r; \
44754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44755 TFLAGS="$(STAGE2_TFLAGS)"; \
44756 $(NORMAL_TARGET_EXPORTS) \
44758 cd $(TARGET_SUBDIR)/libgcc && \
44760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44761 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44762 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44763 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44764 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44765 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44766 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44767 $(EXTRA_TARGET_FLAGS) \
44768 TFLAGS="$(STAGE2_TFLAGS)" \
44769 $(TARGET-stage2-target-libgcc)
44771 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
44772 clean-stage2: clean-stage2-target-libgcc
44773 clean-stage2-target-libgcc:
44774 @if [ $(current_stage) = stage2 ]; then \
44775 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44776 else \
44777 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
44778 $(MAKE) stage2-start; \
44779 fi; \
44780 cd $(TARGET_SUBDIR)/libgcc && \
44781 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44782 @endif target-libgcc-bootstrap
44785 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
44786 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
44787 maybe-all-stage3-target-libgcc:
44788 maybe-clean-stage3-target-libgcc:
44789 @if target-libgcc-bootstrap
44790 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
44791 all-stage3: all-stage3-target-libgcc
44792 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
44793 all-stage3-target-libgcc: configure-stage3-target-libgcc
44794 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44795 @r=`${PWD_COMMAND}`; export r; \
44796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44797 TFLAGS="$(STAGE3_TFLAGS)"; \
44798 $(NORMAL_TARGET_EXPORTS) \
44800 cd $(TARGET_SUBDIR)/libgcc && \
44802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44803 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44804 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44805 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44809 $(EXTRA_TARGET_FLAGS) \
44810 TFLAGS="$(STAGE3_TFLAGS)" \
44811 $(TARGET-stage3-target-libgcc)
44813 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
44814 clean-stage3: clean-stage3-target-libgcc
44815 clean-stage3-target-libgcc:
44816 @if [ $(current_stage) = stage3 ]; then \
44817 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44818 else \
44819 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
44820 $(MAKE) stage3-start; \
44821 fi; \
44822 cd $(TARGET_SUBDIR)/libgcc && \
44823 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44824 @endif target-libgcc-bootstrap
44827 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
44828 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
44829 maybe-all-stage4-target-libgcc:
44830 maybe-clean-stage4-target-libgcc:
44831 @if target-libgcc-bootstrap
44832 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
44833 all-stage4: all-stage4-target-libgcc
44834 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
44835 all-stage4-target-libgcc: configure-stage4-target-libgcc
44836 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44837 @r=`${PWD_COMMAND}`; export r; \
44838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44839 TFLAGS="$(STAGE4_TFLAGS)"; \
44840 $(NORMAL_TARGET_EXPORTS) \
44842 cd $(TARGET_SUBDIR)/libgcc && \
44844 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44845 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44846 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44847 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44851 $(EXTRA_TARGET_FLAGS) \
44852 TFLAGS="$(STAGE4_TFLAGS)" \
44853 $(TARGET-stage4-target-libgcc)
44855 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
44856 clean-stage4: clean-stage4-target-libgcc
44857 clean-stage4-target-libgcc:
44858 @if [ $(current_stage) = stage4 ]; then \
44859 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44860 else \
44861 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
44862 $(MAKE) stage4-start; \
44863 fi; \
44864 cd $(TARGET_SUBDIR)/libgcc && \
44865 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44866 @endif target-libgcc-bootstrap
44869 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
44870 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
44871 maybe-all-stageprofile-target-libgcc:
44872 maybe-clean-stageprofile-target-libgcc:
44873 @if target-libgcc-bootstrap
44874 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
44875 all-stageprofile: all-stageprofile-target-libgcc
44876 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
44877 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44878 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44879 @r=`${PWD_COMMAND}`; export r; \
44880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44881 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44882 $(NORMAL_TARGET_EXPORTS) \
44884 cd $(TARGET_SUBDIR)/libgcc && \
44886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44887 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44888 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44889 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44893 $(EXTRA_TARGET_FLAGS) \
44894 TFLAGS="$(STAGEprofile_TFLAGS)" \
44895 $(TARGET-stageprofile-target-libgcc)
44897 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
44898 clean-stageprofile: clean-stageprofile-target-libgcc
44899 clean-stageprofile-target-libgcc:
44900 @if [ $(current_stage) = stageprofile ]; then \
44901 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44902 else \
44903 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
44904 $(MAKE) stageprofile-start; \
44905 fi; \
44906 cd $(TARGET_SUBDIR)/libgcc && \
44907 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44908 @endif target-libgcc-bootstrap
44911 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
44912 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
44913 maybe-all-stagetrain-target-libgcc:
44914 maybe-clean-stagetrain-target-libgcc:
44915 @if target-libgcc-bootstrap
44916 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
44917 all-stagetrain: all-stagetrain-target-libgcc
44918 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
44919 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
44920 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44921 @r=`${PWD_COMMAND}`; export r; \
44922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44923 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44924 $(NORMAL_TARGET_EXPORTS) \
44926 cd $(TARGET_SUBDIR)/libgcc && \
44928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44929 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44930 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44931 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44935 $(EXTRA_TARGET_FLAGS) \
44936 TFLAGS="$(STAGEtrain_TFLAGS)" \
44937 $(TARGET-stagetrain-target-libgcc)
44939 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
44940 clean-stagetrain: clean-stagetrain-target-libgcc
44941 clean-stagetrain-target-libgcc:
44942 @if [ $(current_stage) = stagetrain ]; then \
44943 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44944 else \
44945 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
44946 $(MAKE) stagetrain-start; \
44947 fi; \
44948 cd $(TARGET_SUBDIR)/libgcc && \
44949 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44950 @endif target-libgcc-bootstrap
44953 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
44954 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
44955 maybe-all-stagefeedback-target-libgcc:
44956 maybe-clean-stagefeedback-target-libgcc:
44957 @if target-libgcc-bootstrap
44958 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
44959 all-stagefeedback: all-stagefeedback-target-libgcc
44960 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
44961 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
44962 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44963 @r=`${PWD_COMMAND}`; export r; \
44964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44965 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44966 $(NORMAL_TARGET_EXPORTS) \
44968 cd $(TARGET_SUBDIR)/libgcc && \
44970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44971 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44972 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44973 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44977 $(EXTRA_TARGET_FLAGS) \
44978 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44979 $(TARGET-stagefeedback-target-libgcc)
44981 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
44982 clean-stagefeedback: clean-stagefeedback-target-libgcc
44983 clean-stagefeedback-target-libgcc:
44984 @if [ $(current_stage) = stagefeedback ]; then \
44985 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44986 else \
44987 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
44988 $(MAKE) stagefeedback-start; \
44989 fi; \
44990 cd $(TARGET_SUBDIR)/libgcc && \
44991 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44992 @endif target-libgcc-bootstrap
44995 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
44996 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
44997 maybe-all-stageautoprofile-target-libgcc:
44998 maybe-clean-stageautoprofile-target-libgcc:
44999 @if target-libgcc-bootstrap
45000 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
45001 all-stageautoprofile: all-stageautoprofile-target-libgcc
45002 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
45003 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45004 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45005 @r=`${PWD_COMMAND}`; export r; \
45006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45007 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45008 $(NORMAL_TARGET_EXPORTS) \
45010 cd $(TARGET_SUBDIR)/libgcc && \
45011 $$s/gcc/config/i386/$(AUTO_PROFILE) \
45012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45013 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45014 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45015 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45019 $(EXTRA_TARGET_FLAGS) \
45020 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
45021 $(TARGET-stageautoprofile-target-libgcc)
45023 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
45024 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
45025 clean-stageautoprofile-target-libgcc:
45026 @if [ $(current_stage) = stageautoprofile ]; then \
45027 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45028 else \
45029 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
45030 $(MAKE) stageautoprofile-start; \
45031 fi; \
45032 cd $(TARGET_SUBDIR)/libgcc && \
45033 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45034 @endif target-libgcc-bootstrap
45037 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
45038 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
45039 maybe-all-stageautofeedback-target-libgcc:
45040 maybe-clean-stageautofeedback-target-libgcc:
45041 @if target-libgcc-bootstrap
45042 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
45043 all-stageautofeedback: all-stageautofeedback-target-libgcc
45044 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
45045 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45046 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45047 @r=`${PWD_COMMAND}`; export r; \
45048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45049 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45050 $(NORMAL_TARGET_EXPORTS) \
45052 cd $(TARGET_SUBDIR)/libgcc && \
45054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45055 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45056 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45057 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45061 $(EXTRA_TARGET_FLAGS) \
45062 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
45063 $(TARGET-stageautofeedback-target-libgcc)
45065 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
45066 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
45067 clean-stageautofeedback-target-libgcc:
45068 @if [ $(current_stage) = stageautofeedback ]; then \
45069 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45070 else \
45071 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
45072 $(MAKE) stageautofeedback-start; \
45073 fi; \
45074 cd $(TARGET_SUBDIR)/libgcc && \
45075 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45076 @endif target-libgcc-bootstrap
45083 .PHONY: check-target-libgcc maybe-check-target-libgcc
45084 maybe-check-target-libgcc:
45085 @if target-libgcc
45086 maybe-check-target-libgcc: check-target-libgcc
45088 # Dummy target for uncheckable module.
45089 check-target-libgcc:
45091 @endif target-libgcc
45093 .PHONY: install-target-libgcc maybe-install-target-libgcc
45094 maybe-install-target-libgcc:
45095 @if target-libgcc
45096 maybe-install-target-libgcc: install-target-libgcc
45098 install-target-libgcc: installdirs
45099 @: $(MAKE); $(unstage)
45100 @r=`${PWD_COMMAND}`; export r; \
45101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45102 $(NORMAL_TARGET_EXPORTS) \
45103 (cd $(TARGET_SUBDIR)/libgcc && \
45104 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45106 @endif target-libgcc
45108 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
45109 maybe-install-strip-target-libgcc:
45110 @if target-libgcc
45111 maybe-install-strip-target-libgcc: install-strip-target-libgcc
45113 install-strip-target-libgcc: installdirs
45114 @: $(MAKE); $(unstage)
45115 @r=`${PWD_COMMAND}`; export r; \
45116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45117 $(NORMAL_TARGET_EXPORTS) \
45118 (cd $(TARGET_SUBDIR)/libgcc && \
45119 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45121 @endif target-libgcc
45123 # Other targets (info, dvi, pdf, etc.)
45125 .PHONY: maybe-info-target-libgcc info-target-libgcc
45126 maybe-info-target-libgcc:
45127 @if target-libgcc
45128 maybe-info-target-libgcc: info-target-libgcc
45130 info-target-libgcc: \
45131 configure-target-libgcc
45132 @: $(MAKE); $(unstage)
45133 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45134 r=`${PWD_COMMAND}`; export r; \
45135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45136 $(NORMAL_TARGET_EXPORTS) \
45137 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
45138 for flag in $(EXTRA_TARGET_FLAGS); do \
45139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45140 done; \
45141 (cd $(TARGET_SUBDIR)/libgcc && \
45142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45144 "RANLIB=$${RANLIB}" \
45145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45146 info) \
45147 || exit 1
45149 @endif target-libgcc
45151 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
45152 maybe-dvi-target-libgcc:
45153 @if target-libgcc
45154 maybe-dvi-target-libgcc: dvi-target-libgcc
45156 dvi-target-libgcc: \
45157 configure-target-libgcc
45158 @: $(MAKE); $(unstage)
45159 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45160 r=`${PWD_COMMAND}`; export r; \
45161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45162 $(NORMAL_TARGET_EXPORTS) \
45163 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
45164 for flag in $(EXTRA_TARGET_FLAGS); do \
45165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45166 done; \
45167 (cd $(TARGET_SUBDIR)/libgcc && \
45168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45170 "RANLIB=$${RANLIB}" \
45171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45172 dvi) \
45173 || exit 1
45175 @endif target-libgcc
45177 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
45178 maybe-pdf-target-libgcc:
45179 @if target-libgcc
45180 maybe-pdf-target-libgcc: pdf-target-libgcc
45182 pdf-target-libgcc: \
45183 configure-target-libgcc
45184 @: $(MAKE); $(unstage)
45185 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45186 r=`${PWD_COMMAND}`; export r; \
45187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45188 $(NORMAL_TARGET_EXPORTS) \
45189 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
45190 for flag in $(EXTRA_TARGET_FLAGS); do \
45191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45192 done; \
45193 (cd $(TARGET_SUBDIR)/libgcc && \
45194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45196 "RANLIB=$${RANLIB}" \
45197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45198 pdf) \
45199 || exit 1
45201 @endif target-libgcc
45203 .PHONY: maybe-html-target-libgcc html-target-libgcc
45204 maybe-html-target-libgcc:
45205 @if target-libgcc
45206 maybe-html-target-libgcc: html-target-libgcc
45208 html-target-libgcc: \
45209 configure-target-libgcc
45210 @: $(MAKE); $(unstage)
45211 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45212 r=`${PWD_COMMAND}`; export r; \
45213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45214 $(NORMAL_TARGET_EXPORTS) \
45215 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
45216 for flag in $(EXTRA_TARGET_FLAGS); do \
45217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45218 done; \
45219 (cd $(TARGET_SUBDIR)/libgcc && \
45220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45222 "RANLIB=$${RANLIB}" \
45223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45224 html) \
45225 || exit 1
45227 @endif target-libgcc
45229 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
45230 maybe-TAGS-target-libgcc:
45231 @if target-libgcc
45232 maybe-TAGS-target-libgcc: TAGS-target-libgcc
45234 TAGS-target-libgcc: \
45235 configure-target-libgcc
45236 @: $(MAKE); $(unstage)
45237 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45238 r=`${PWD_COMMAND}`; export r; \
45239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45240 $(NORMAL_TARGET_EXPORTS) \
45241 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
45242 for flag in $(EXTRA_TARGET_FLAGS); do \
45243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45244 done; \
45245 (cd $(TARGET_SUBDIR)/libgcc && \
45246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45248 "RANLIB=$${RANLIB}" \
45249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45250 TAGS) \
45251 || exit 1
45253 @endif target-libgcc
45255 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
45256 maybe-install-info-target-libgcc:
45257 @if target-libgcc
45258 maybe-install-info-target-libgcc: install-info-target-libgcc
45260 install-info-target-libgcc: \
45261 configure-target-libgcc \
45262 info-target-libgcc
45263 @: $(MAKE); $(unstage)
45264 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45265 r=`${PWD_COMMAND}`; export r; \
45266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45267 $(NORMAL_TARGET_EXPORTS) \
45268 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
45269 for flag in $(EXTRA_TARGET_FLAGS); do \
45270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45271 done; \
45272 (cd $(TARGET_SUBDIR)/libgcc && \
45273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45275 "RANLIB=$${RANLIB}" \
45276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45277 install-info) \
45278 || exit 1
45280 @endif target-libgcc
45282 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
45283 maybe-install-pdf-target-libgcc:
45284 @if target-libgcc
45285 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
45287 install-pdf-target-libgcc: \
45288 configure-target-libgcc \
45289 pdf-target-libgcc
45290 @: $(MAKE); $(unstage)
45291 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45292 r=`${PWD_COMMAND}`; export r; \
45293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45294 $(NORMAL_TARGET_EXPORTS) \
45295 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
45296 for flag in $(EXTRA_TARGET_FLAGS); do \
45297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45298 done; \
45299 (cd $(TARGET_SUBDIR)/libgcc && \
45300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45302 "RANLIB=$${RANLIB}" \
45303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45304 install-pdf) \
45305 || exit 1
45307 @endif target-libgcc
45309 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
45310 maybe-install-html-target-libgcc:
45311 @if target-libgcc
45312 maybe-install-html-target-libgcc: install-html-target-libgcc
45314 install-html-target-libgcc: \
45315 configure-target-libgcc \
45316 html-target-libgcc
45317 @: $(MAKE); $(unstage)
45318 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45319 r=`${PWD_COMMAND}`; export r; \
45320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45321 $(NORMAL_TARGET_EXPORTS) \
45322 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
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)/libgcc && \
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 install-html) \
45332 || exit 1
45334 @endif target-libgcc
45336 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
45337 maybe-installcheck-target-libgcc:
45338 @if target-libgcc
45339 maybe-installcheck-target-libgcc: installcheck-target-libgcc
45341 installcheck-target-libgcc: \
45342 configure-target-libgcc
45343 @: $(MAKE); $(unstage)
45344 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45345 r=`${PWD_COMMAND}`; export r; \
45346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45347 $(NORMAL_TARGET_EXPORTS) \
45348 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
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)/libgcc && \
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 installcheck) \
45358 || exit 1
45360 @endif target-libgcc
45362 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
45363 maybe-mostlyclean-target-libgcc:
45364 @if target-libgcc
45365 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
45367 mostlyclean-target-libgcc:
45368 @: $(MAKE); $(unstage)
45369 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45370 r=`${PWD_COMMAND}`; export r; \
45371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45372 $(NORMAL_TARGET_EXPORTS) \
45373 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
45374 for flag in $(EXTRA_TARGET_FLAGS); do \
45375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45376 done; \
45377 (cd $(TARGET_SUBDIR)/libgcc && \
45378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45380 "RANLIB=$${RANLIB}" \
45381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45382 mostlyclean) \
45383 || exit 1
45385 @endif target-libgcc
45387 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
45388 maybe-clean-target-libgcc:
45389 @if target-libgcc
45390 maybe-clean-target-libgcc: clean-target-libgcc
45392 clean-target-libgcc:
45393 @: $(MAKE); $(unstage)
45394 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45395 r=`${PWD_COMMAND}`; export r; \
45396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45397 $(NORMAL_TARGET_EXPORTS) \
45398 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
45399 for flag in $(EXTRA_TARGET_FLAGS); do \
45400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45401 done; \
45402 (cd $(TARGET_SUBDIR)/libgcc && \
45403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45405 "RANLIB=$${RANLIB}" \
45406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45407 clean) \
45408 || exit 1
45410 @endif target-libgcc
45412 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
45413 maybe-distclean-target-libgcc:
45414 @if target-libgcc
45415 maybe-distclean-target-libgcc: distclean-target-libgcc
45417 distclean-target-libgcc:
45418 @: $(MAKE); $(unstage)
45419 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45420 r=`${PWD_COMMAND}`; export r; \
45421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45422 $(NORMAL_TARGET_EXPORTS) \
45423 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
45424 for flag in $(EXTRA_TARGET_FLAGS); do \
45425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45426 done; \
45427 (cd $(TARGET_SUBDIR)/libgcc && \
45428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45430 "RANLIB=$${RANLIB}" \
45431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45432 distclean) \
45433 || exit 1
45435 @endif target-libgcc
45437 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
45438 maybe-maintainer-clean-target-libgcc:
45439 @if target-libgcc
45440 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
45442 maintainer-clean-target-libgcc:
45443 @: $(MAKE); $(unstage)
45444 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45445 r=`${PWD_COMMAND}`; export r; \
45446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45447 $(NORMAL_TARGET_EXPORTS) \
45448 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
45449 for flag in $(EXTRA_TARGET_FLAGS); do \
45450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45451 done; \
45452 (cd $(TARGET_SUBDIR)/libgcc && \
45453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45455 "RANLIB=$${RANLIB}" \
45456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45457 maintainer-clean) \
45458 || exit 1
45460 @endif target-libgcc
45466 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
45467 maybe-configure-target-libbacktrace:
45468 @if gcc-bootstrap
45469 configure-target-libbacktrace: stage_current
45470 @endif gcc-bootstrap
45471 @if target-libbacktrace
45472 maybe-configure-target-libbacktrace: configure-target-libbacktrace
45473 configure-target-libbacktrace:
45474 @: $(MAKE); $(unstage)
45475 @r=`${PWD_COMMAND}`; export r; \
45476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45477 echo "Checking multilib configuration for libbacktrace..."; \
45478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
45479 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
45480 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
45481 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
45482 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
45483 else \
45484 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
45485 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
45486 fi; \
45487 else \
45488 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
45489 fi; \
45490 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
45491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
45492 $(NORMAL_TARGET_EXPORTS) \
45493 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
45494 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
45495 case $(srcdir) in \
45496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45497 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
45498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45499 esac; \
45500 module_srcdir=libbacktrace; \
45501 rm -f no-such-file || : ; \
45502 CONFIG_SITE=no-such-file $(SHELL) \
45503 $$s/$$module_srcdir/configure \
45504 --srcdir=$${topdir}/$$module_srcdir \
45505 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45506 --target=${target_alias} \
45507 || exit 1
45508 @endif target-libbacktrace
45514 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
45515 maybe-all-target-libbacktrace:
45516 @if gcc-bootstrap
45517 all-target-libbacktrace: stage_current
45518 @endif gcc-bootstrap
45519 @if target-libbacktrace
45520 TARGET-target-libbacktrace=all
45521 maybe-all-target-libbacktrace: all-target-libbacktrace
45522 all-target-libbacktrace: configure-target-libbacktrace
45523 @: $(MAKE); $(unstage)
45524 @r=`${PWD_COMMAND}`; export r; \
45525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45526 $(NORMAL_TARGET_EXPORTS) \
45527 (cd $(TARGET_SUBDIR)/libbacktrace && \
45528 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45529 $(TARGET-target-libbacktrace))
45530 @endif target-libbacktrace
45536 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
45537 maybe-check-target-libbacktrace:
45538 @if target-libbacktrace
45539 maybe-check-target-libbacktrace: check-target-libbacktrace
45541 check-target-libbacktrace:
45542 @: $(MAKE); $(unstage)
45543 @r=`${PWD_COMMAND}`; export r; \
45544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45545 $(NORMAL_TARGET_EXPORTS) \
45546 (cd $(TARGET_SUBDIR)/libbacktrace && \
45547 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45549 @endif target-libbacktrace
45551 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
45552 maybe-install-target-libbacktrace:
45553 @if target-libbacktrace
45554 maybe-install-target-libbacktrace: install-target-libbacktrace
45556 install-target-libbacktrace: installdirs
45557 @: $(MAKE); $(unstage)
45558 @r=`${PWD_COMMAND}`; export r; \
45559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45560 $(NORMAL_TARGET_EXPORTS) \
45561 (cd $(TARGET_SUBDIR)/libbacktrace && \
45562 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45564 @endif target-libbacktrace
45566 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
45567 maybe-install-strip-target-libbacktrace:
45568 @if target-libbacktrace
45569 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
45571 install-strip-target-libbacktrace: installdirs
45572 @: $(MAKE); $(unstage)
45573 @r=`${PWD_COMMAND}`; export r; \
45574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45575 $(NORMAL_TARGET_EXPORTS) \
45576 (cd $(TARGET_SUBDIR)/libbacktrace && \
45577 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45579 @endif target-libbacktrace
45581 # Other targets (info, dvi, pdf, etc.)
45583 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
45584 maybe-info-target-libbacktrace:
45585 @if target-libbacktrace
45586 maybe-info-target-libbacktrace: info-target-libbacktrace
45588 info-target-libbacktrace: \
45589 configure-target-libbacktrace
45590 @: $(MAKE); $(unstage)
45591 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45592 r=`${PWD_COMMAND}`; export r; \
45593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45594 $(NORMAL_TARGET_EXPORTS) \
45595 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
45596 for flag in $(EXTRA_TARGET_FLAGS); do \
45597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45598 done; \
45599 (cd $(TARGET_SUBDIR)/libbacktrace && \
45600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45602 "RANLIB=$${RANLIB}" \
45603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45604 info) \
45605 || exit 1
45607 @endif target-libbacktrace
45609 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
45610 maybe-dvi-target-libbacktrace:
45611 @if target-libbacktrace
45612 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
45614 dvi-target-libbacktrace: \
45615 configure-target-libbacktrace
45616 @: $(MAKE); $(unstage)
45617 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45618 r=`${PWD_COMMAND}`; export r; \
45619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45620 $(NORMAL_TARGET_EXPORTS) \
45621 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
45622 for flag in $(EXTRA_TARGET_FLAGS); do \
45623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45624 done; \
45625 (cd $(TARGET_SUBDIR)/libbacktrace && \
45626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45628 "RANLIB=$${RANLIB}" \
45629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45630 dvi) \
45631 || exit 1
45633 @endif target-libbacktrace
45635 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
45636 maybe-pdf-target-libbacktrace:
45637 @if target-libbacktrace
45638 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
45640 pdf-target-libbacktrace: \
45641 configure-target-libbacktrace
45642 @: $(MAKE); $(unstage)
45643 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45644 r=`${PWD_COMMAND}`; export r; \
45645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45646 $(NORMAL_TARGET_EXPORTS) \
45647 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
45648 for flag in $(EXTRA_TARGET_FLAGS); do \
45649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45650 done; \
45651 (cd $(TARGET_SUBDIR)/libbacktrace && \
45652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45654 "RANLIB=$${RANLIB}" \
45655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45656 pdf) \
45657 || exit 1
45659 @endif target-libbacktrace
45661 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
45662 maybe-html-target-libbacktrace:
45663 @if target-libbacktrace
45664 maybe-html-target-libbacktrace: html-target-libbacktrace
45666 html-target-libbacktrace: \
45667 configure-target-libbacktrace
45668 @: $(MAKE); $(unstage)
45669 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45670 r=`${PWD_COMMAND}`; export r; \
45671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45672 $(NORMAL_TARGET_EXPORTS) \
45673 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
45674 for flag in $(EXTRA_TARGET_FLAGS); do \
45675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45676 done; \
45677 (cd $(TARGET_SUBDIR)/libbacktrace && \
45678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45680 "RANLIB=$${RANLIB}" \
45681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45682 html) \
45683 || exit 1
45685 @endif target-libbacktrace
45687 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
45688 maybe-TAGS-target-libbacktrace:
45689 @if target-libbacktrace
45690 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
45692 TAGS-target-libbacktrace: \
45693 configure-target-libbacktrace
45694 @: $(MAKE); $(unstage)
45695 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45696 r=`${PWD_COMMAND}`; export r; \
45697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45698 $(NORMAL_TARGET_EXPORTS) \
45699 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
45700 for flag in $(EXTRA_TARGET_FLAGS); do \
45701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45702 done; \
45703 (cd $(TARGET_SUBDIR)/libbacktrace && \
45704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45706 "RANLIB=$${RANLIB}" \
45707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45708 TAGS) \
45709 || exit 1
45711 @endif target-libbacktrace
45713 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
45714 maybe-install-info-target-libbacktrace:
45715 @if target-libbacktrace
45716 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
45718 install-info-target-libbacktrace: \
45719 configure-target-libbacktrace \
45720 info-target-libbacktrace
45721 @: $(MAKE); $(unstage)
45722 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45723 r=`${PWD_COMMAND}`; export r; \
45724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45725 $(NORMAL_TARGET_EXPORTS) \
45726 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
45727 for flag in $(EXTRA_TARGET_FLAGS); do \
45728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45729 done; \
45730 (cd $(TARGET_SUBDIR)/libbacktrace && \
45731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45733 "RANLIB=$${RANLIB}" \
45734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45735 install-info) \
45736 || exit 1
45738 @endif target-libbacktrace
45740 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
45741 maybe-install-pdf-target-libbacktrace:
45742 @if target-libbacktrace
45743 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
45745 install-pdf-target-libbacktrace: \
45746 configure-target-libbacktrace \
45747 pdf-target-libbacktrace
45748 @: $(MAKE); $(unstage)
45749 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45750 r=`${PWD_COMMAND}`; export r; \
45751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45752 $(NORMAL_TARGET_EXPORTS) \
45753 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
45754 for flag in $(EXTRA_TARGET_FLAGS); do \
45755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45756 done; \
45757 (cd $(TARGET_SUBDIR)/libbacktrace && \
45758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45760 "RANLIB=$${RANLIB}" \
45761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45762 install-pdf) \
45763 || exit 1
45765 @endif target-libbacktrace
45767 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
45768 maybe-install-html-target-libbacktrace:
45769 @if target-libbacktrace
45770 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
45772 install-html-target-libbacktrace: \
45773 configure-target-libbacktrace \
45774 html-target-libbacktrace
45775 @: $(MAKE); $(unstage)
45776 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45777 r=`${PWD_COMMAND}`; export r; \
45778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45779 $(NORMAL_TARGET_EXPORTS) \
45780 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
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)/libbacktrace && \
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 install-html) \
45790 || exit 1
45792 @endif target-libbacktrace
45794 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
45795 maybe-installcheck-target-libbacktrace:
45796 @if target-libbacktrace
45797 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
45799 installcheck-target-libbacktrace: \
45800 configure-target-libbacktrace
45801 @: $(MAKE); $(unstage)
45802 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45803 r=`${PWD_COMMAND}`; export r; \
45804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45805 $(NORMAL_TARGET_EXPORTS) \
45806 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
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)/libbacktrace && \
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 installcheck) \
45816 || exit 1
45818 @endif target-libbacktrace
45820 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
45821 maybe-mostlyclean-target-libbacktrace:
45822 @if target-libbacktrace
45823 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
45825 mostlyclean-target-libbacktrace:
45826 @: $(MAKE); $(unstage)
45827 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45828 r=`${PWD_COMMAND}`; export r; \
45829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45830 $(NORMAL_TARGET_EXPORTS) \
45831 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
45832 for flag in $(EXTRA_TARGET_FLAGS); do \
45833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45834 done; \
45835 (cd $(TARGET_SUBDIR)/libbacktrace && \
45836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45838 "RANLIB=$${RANLIB}" \
45839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45840 mostlyclean) \
45841 || exit 1
45843 @endif target-libbacktrace
45845 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
45846 maybe-clean-target-libbacktrace:
45847 @if target-libbacktrace
45848 maybe-clean-target-libbacktrace: clean-target-libbacktrace
45850 clean-target-libbacktrace:
45851 @: $(MAKE); $(unstage)
45852 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45853 r=`${PWD_COMMAND}`; export r; \
45854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45855 $(NORMAL_TARGET_EXPORTS) \
45856 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
45857 for flag in $(EXTRA_TARGET_FLAGS); do \
45858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45859 done; \
45860 (cd $(TARGET_SUBDIR)/libbacktrace && \
45861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45863 "RANLIB=$${RANLIB}" \
45864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45865 clean) \
45866 || exit 1
45868 @endif target-libbacktrace
45870 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
45871 maybe-distclean-target-libbacktrace:
45872 @if target-libbacktrace
45873 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
45875 distclean-target-libbacktrace:
45876 @: $(MAKE); $(unstage)
45877 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45878 r=`${PWD_COMMAND}`; export r; \
45879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45880 $(NORMAL_TARGET_EXPORTS) \
45881 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
45882 for flag in $(EXTRA_TARGET_FLAGS); do \
45883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45884 done; \
45885 (cd $(TARGET_SUBDIR)/libbacktrace && \
45886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45888 "RANLIB=$${RANLIB}" \
45889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45890 distclean) \
45891 || exit 1
45893 @endif target-libbacktrace
45895 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
45896 maybe-maintainer-clean-target-libbacktrace:
45897 @if target-libbacktrace
45898 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
45900 maintainer-clean-target-libbacktrace:
45901 @: $(MAKE); $(unstage)
45902 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
45903 r=`${PWD_COMMAND}`; export r; \
45904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45905 $(NORMAL_TARGET_EXPORTS) \
45906 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
45907 for flag in $(EXTRA_TARGET_FLAGS); do \
45908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45909 done; \
45910 (cd $(TARGET_SUBDIR)/libbacktrace && \
45911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45913 "RANLIB=$${RANLIB}" \
45914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45915 maintainer-clean) \
45916 || exit 1
45918 @endif target-libbacktrace
45924 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
45925 maybe-configure-target-libquadmath:
45926 @if gcc-bootstrap
45927 configure-target-libquadmath: stage_current
45928 @endif gcc-bootstrap
45929 @if target-libquadmath
45930 maybe-configure-target-libquadmath: configure-target-libquadmath
45931 configure-target-libquadmath:
45932 @: $(MAKE); $(unstage)
45933 @r=`${PWD_COMMAND}`; export r; \
45934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45935 echo "Checking multilib configuration for libquadmath..."; \
45936 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
45937 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
45938 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
45939 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
45940 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
45941 else \
45942 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
45943 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
45944 fi; \
45945 else \
45946 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
45947 fi; \
45948 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
45949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
45950 $(NORMAL_TARGET_EXPORTS) \
45951 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
45952 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
45953 case $(srcdir) in \
45954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45955 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
45956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45957 esac; \
45958 module_srcdir=libquadmath; \
45959 rm -f no-such-file || : ; \
45960 CONFIG_SITE=no-such-file $(SHELL) \
45961 $$s/$$module_srcdir/configure \
45962 --srcdir=$${topdir}/$$module_srcdir \
45963 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45964 --target=${target_alias} \
45965 || exit 1
45966 @endif target-libquadmath
45972 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
45973 maybe-all-target-libquadmath:
45974 @if gcc-bootstrap
45975 all-target-libquadmath: stage_current
45976 @endif gcc-bootstrap
45977 @if target-libquadmath
45978 TARGET-target-libquadmath=all
45979 maybe-all-target-libquadmath: all-target-libquadmath
45980 all-target-libquadmath: configure-target-libquadmath
45981 @: $(MAKE); $(unstage)
45982 @r=`${PWD_COMMAND}`; export r; \
45983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45984 $(NORMAL_TARGET_EXPORTS) \
45985 (cd $(TARGET_SUBDIR)/libquadmath && \
45986 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45987 $(TARGET-target-libquadmath))
45988 @endif target-libquadmath
45994 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
45995 maybe-check-target-libquadmath:
45996 @if target-libquadmath
45997 maybe-check-target-libquadmath: check-target-libquadmath
45999 check-target-libquadmath:
46000 @: $(MAKE); $(unstage)
46001 @r=`${PWD_COMMAND}`; export r; \
46002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46003 $(NORMAL_TARGET_EXPORTS) \
46004 (cd $(TARGET_SUBDIR)/libquadmath && \
46005 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46007 @endif target-libquadmath
46009 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
46010 maybe-install-target-libquadmath:
46011 @if target-libquadmath
46012 maybe-install-target-libquadmath: install-target-libquadmath
46014 install-target-libquadmath: installdirs
46015 @: $(MAKE); $(unstage)
46016 @r=`${PWD_COMMAND}`; export r; \
46017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46018 $(NORMAL_TARGET_EXPORTS) \
46019 (cd $(TARGET_SUBDIR)/libquadmath && \
46020 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46022 @endif target-libquadmath
46024 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
46025 maybe-install-strip-target-libquadmath:
46026 @if target-libquadmath
46027 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
46029 install-strip-target-libquadmath: installdirs
46030 @: $(MAKE); $(unstage)
46031 @r=`${PWD_COMMAND}`; export r; \
46032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46033 $(NORMAL_TARGET_EXPORTS) \
46034 (cd $(TARGET_SUBDIR)/libquadmath && \
46035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46037 @endif target-libquadmath
46039 # Other targets (info, dvi, pdf, etc.)
46041 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
46042 maybe-info-target-libquadmath:
46043 @if target-libquadmath
46044 maybe-info-target-libquadmath: info-target-libquadmath
46046 info-target-libquadmath: \
46047 configure-target-libquadmath
46048 @: $(MAKE); $(unstage)
46049 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46050 r=`${PWD_COMMAND}`; export r; \
46051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46052 $(NORMAL_TARGET_EXPORTS) \
46053 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
46054 for flag in $(EXTRA_TARGET_FLAGS); do \
46055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46056 done; \
46057 (cd $(TARGET_SUBDIR)/libquadmath && \
46058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46060 "RANLIB=$${RANLIB}" \
46061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46062 info) \
46063 || exit 1
46065 @endif target-libquadmath
46067 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
46068 maybe-dvi-target-libquadmath:
46069 @if target-libquadmath
46070 maybe-dvi-target-libquadmath: dvi-target-libquadmath
46072 dvi-target-libquadmath: \
46073 configure-target-libquadmath
46074 @: $(MAKE); $(unstage)
46075 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46076 r=`${PWD_COMMAND}`; export r; \
46077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46078 $(NORMAL_TARGET_EXPORTS) \
46079 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
46080 for flag in $(EXTRA_TARGET_FLAGS); do \
46081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46082 done; \
46083 (cd $(TARGET_SUBDIR)/libquadmath && \
46084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46086 "RANLIB=$${RANLIB}" \
46087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46088 dvi) \
46089 || exit 1
46091 @endif target-libquadmath
46093 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
46094 maybe-pdf-target-libquadmath:
46095 @if target-libquadmath
46096 maybe-pdf-target-libquadmath: pdf-target-libquadmath
46098 pdf-target-libquadmath: \
46099 configure-target-libquadmath
46100 @: $(MAKE); $(unstage)
46101 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46102 r=`${PWD_COMMAND}`; export r; \
46103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46104 $(NORMAL_TARGET_EXPORTS) \
46105 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
46106 for flag in $(EXTRA_TARGET_FLAGS); do \
46107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46108 done; \
46109 (cd $(TARGET_SUBDIR)/libquadmath && \
46110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46112 "RANLIB=$${RANLIB}" \
46113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46114 pdf) \
46115 || exit 1
46117 @endif target-libquadmath
46119 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
46120 maybe-html-target-libquadmath:
46121 @if target-libquadmath
46122 maybe-html-target-libquadmath: html-target-libquadmath
46124 html-target-libquadmath: \
46125 configure-target-libquadmath
46126 @: $(MAKE); $(unstage)
46127 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46128 r=`${PWD_COMMAND}`; export r; \
46129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46130 $(NORMAL_TARGET_EXPORTS) \
46131 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
46132 for flag in $(EXTRA_TARGET_FLAGS); do \
46133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46134 done; \
46135 (cd $(TARGET_SUBDIR)/libquadmath && \
46136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46138 "RANLIB=$${RANLIB}" \
46139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46140 html) \
46141 || exit 1
46143 @endif target-libquadmath
46145 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
46146 maybe-TAGS-target-libquadmath:
46147 @if target-libquadmath
46148 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
46150 TAGS-target-libquadmath: \
46151 configure-target-libquadmath
46152 @: $(MAKE); $(unstage)
46153 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46154 r=`${PWD_COMMAND}`; export r; \
46155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46156 $(NORMAL_TARGET_EXPORTS) \
46157 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
46158 for flag in $(EXTRA_TARGET_FLAGS); do \
46159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46160 done; \
46161 (cd $(TARGET_SUBDIR)/libquadmath && \
46162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46164 "RANLIB=$${RANLIB}" \
46165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46166 TAGS) \
46167 || exit 1
46169 @endif target-libquadmath
46171 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
46172 maybe-install-info-target-libquadmath:
46173 @if target-libquadmath
46174 maybe-install-info-target-libquadmath: install-info-target-libquadmath
46176 install-info-target-libquadmath: \
46177 configure-target-libquadmath \
46178 info-target-libquadmath
46179 @: $(MAKE); $(unstage)
46180 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46181 r=`${PWD_COMMAND}`; export r; \
46182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46183 $(NORMAL_TARGET_EXPORTS) \
46184 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
46185 for flag in $(EXTRA_TARGET_FLAGS); do \
46186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46187 done; \
46188 (cd $(TARGET_SUBDIR)/libquadmath && \
46189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46191 "RANLIB=$${RANLIB}" \
46192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46193 install-info) \
46194 || exit 1
46196 @endif target-libquadmath
46198 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
46199 maybe-install-pdf-target-libquadmath:
46200 @if target-libquadmath
46201 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
46203 install-pdf-target-libquadmath: \
46204 configure-target-libquadmath \
46205 pdf-target-libquadmath
46206 @: $(MAKE); $(unstage)
46207 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46208 r=`${PWD_COMMAND}`; export r; \
46209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46210 $(NORMAL_TARGET_EXPORTS) \
46211 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
46212 for flag in $(EXTRA_TARGET_FLAGS); do \
46213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46214 done; \
46215 (cd $(TARGET_SUBDIR)/libquadmath && \
46216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46218 "RANLIB=$${RANLIB}" \
46219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46220 install-pdf) \
46221 || exit 1
46223 @endif target-libquadmath
46225 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
46226 maybe-install-html-target-libquadmath:
46227 @if target-libquadmath
46228 maybe-install-html-target-libquadmath: install-html-target-libquadmath
46230 install-html-target-libquadmath: \
46231 configure-target-libquadmath \
46232 html-target-libquadmath
46233 @: $(MAKE); $(unstage)
46234 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46235 r=`${PWD_COMMAND}`; export r; \
46236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46237 $(NORMAL_TARGET_EXPORTS) \
46238 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
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)/libquadmath && \
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 install-html) \
46248 || exit 1
46250 @endif target-libquadmath
46252 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
46253 maybe-installcheck-target-libquadmath:
46254 @if target-libquadmath
46255 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
46257 installcheck-target-libquadmath: \
46258 configure-target-libquadmath
46259 @: $(MAKE); $(unstage)
46260 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46261 r=`${PWD_COMMAND}`; export r; \
46262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46263 $(NORMAL_TARGET_EXPORTS) \
46264 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
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)/libquadmath && \
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 installcheck) \
46274 || exit 1
46276 @endif target-libquadmath
46278 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
46279 maybe-mostlyclean-target-libquadmath:
46280 @if target-libquadmath
46281 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
46283 mostlyclean-target-libquadmath:
46284 @: $(MAKE); $(unstage)
46285 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46286 r=`${PWD_COMMAND}`; export r; \
46287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46288 $(NORMAL_TARGET_EXPORTS) \
46289 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
46290 for flag in $(EXTRA_TARGET_FLAGS); do \
46291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46292 done; \
46293 (cd $(TARGET_SUBDIR)/libquadmath && \
46294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46296 "RANLIB=$${RANLIB}" \
46297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46298 mostlyclean) \
46299 || exit 1
46301 @endif target-libquadmath
46303 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
46304 maybe-clean-target-libquadmath:
46305 @if target-libquadmath
46306 maybe-clean-target-libquadmath: clean-target-libquadmath
46308 clean-target-libquadmath:
46309 @: $(MAKE); $(unstage)
46310 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46311 r=`${PWD_COMMAND}`; export r; \
46312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46313 $(NORMAL_TARGET_EXPORTS) \
46314 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
46315 for flag in $(EXTRA_TARGET_FLAGS); do \
46316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46317 done; \
46318 (cd $(TARGET_SUBDIR)/libquadmath && \
46319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46321 "RANLIB=$${RANLIB}" \
46322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46323 clean) \
46324 || exit 1
46326 @endif target-libquadmath
46328 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
46329 maybe-distclean-target-libquadmath:
46330 @if target-libquadmath
46331 maybe-distclean-target-libquadmath: distclean-target-libquadmath
46333 distclean-target-libquadmath:
46334 @: $(MAKE); $(unstage)
46335 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46336 r=`${PWD_COMMAND}`; export r; \
46337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46338 $(NORMAL_TARGET_EXPORTS) \
46339 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
46340 for flag in $(EXTRA_TARGET_FLAGS); do \
46341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46342 done; \
46343 (cd $(TARGET_SUBDIR)/libquadmath && \
46344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46346 "RANLIB=$${RANLIB}" \
46347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46348 distclean) \
46349 || exit 1
46351 @endif target-libquadmath
46353 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
46354 maybe-maintainer-clean-target-libquadmath:
46355 @if target-libquadmath
46356 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
46358 maintainer-clean-target-libquadmath:
46359 @: $(MAKE); $(unstage)
46360 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46361 r=`${PWD_COMMAND}`; export r; \
46362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46363 $(NORMAL_TARGET_EXPORTS) \
46364 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
46365 for flag in $(EXTRA_TARGET_FLAGS); do \
46366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46367 done; \
46368 (cd $(TARGET_SUBDIR)/libquadmath && \
46369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46371 "RANLIB=$${RANLIB}" \
46372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46373 maintainer-clean) \
46374 || exit 1
46376 @endif target-libquadmath
46382 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
46383 maybe-configure-target-libgfortran:
46384 @if gcc-bootstrap
46385 configure-target-libgfortran: stage_current
46386 @endif gcc-bootstrap
46387 @if target-libgfortran
46388 maybe-configure-target-libgfortran: configure-target-libgfortran
46389 configure-target-libgfortran:
46390 @: $(MAKE); $(unstage)
46391 @r=`${PWD_COMMAND}`; export r; \
46392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46393 echo "Checking multilib configuration for libgfortran..."; \
46394 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46395 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
46396 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46397 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46398 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
46399 else \
46400 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
46401 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46402 fi; \
46403 else \
46404 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46405 fi; \
46406 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
46407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46408 $(NORMAL_TARGET_EXPORTS) \
46409 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
46410 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
46411 case $(srcdir) in \
46412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46413 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
46414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46415 esac; \
46416 module_srcdir=libgfortran; \
46417 rm -f no-such-file || : ; \
46418 CONFIG_SITE=no-such-file $(SHELL) \
46419 $$s/$$module_srcdir/configure \
46420 --srcdir=$${topdir}/$$module_srcdir \
46421 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46422 --target=${target_alias} \
46423 || exit 1
46424 @endif target-libgfortran
46430 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
46431 maybe-all-target-libgfortran:
46432 @if gcc-bootstrap
46433 all-target-libgfortran: stage_current
46434 @endif gcc-bootstrap
46435 @if target-libgfortran
46436 TARGET-target-libgfortran=all
46437 maybe-all-target-libgfortran: all-target-libgfortran
46438 all-target-libgfortran: configure-target-libgfortran
46439 @: $(MAKE); $(unstage)
46440 @r=`${PWD_COMMAND}`; export r; \
46441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46442 $(NORMAL_TARGET_EXPORTS) \
46443 (cd $(TARGET_SUBDIR)/libgfortran && \
46444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46445 $(TARGET-target-libgfortran))
46446 @endif target-libgfortran
46452 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
46453 maybe-check-target-libgfortran:
46454 @if target-libgfortran
46455 maybe-check-target-libgfortran: check-target-libgfortran
46457 check-target-libgfortran:
46458 @: $(MAKE); $(unstage)
46459 @r=`${PWD_COMMAND}`; export r; \
46460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46461 $(NORMAL_TARGET_EXPORTS) \
46462 (cd $(TARGET_SUBDIR)/libgfortran && \
46463 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46465 @endif target-libgfortran
46467 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
46468 maybe-install-target-libgfortran:
46469 @if target-libgfortran
46470 maybe-install-target-libgfortran: install-target-libgfortran
46472 install-target-libgfortran: installdirs
46473 @: $(MAKE); $(unstage)
46474 @r=`${PWD_COMMAND}`; export r; \
46475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46476 $(NORMAL_TARGET_EXPORTS) \
46477 (cd $(TARGET_SUBDIR)/libgfortran && \
46478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46480 @endif target-libgfortran
46482 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
46483 maybe-install-strip-target-libgfortran:
46484 @if target-libgfortran
46485 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
46487 install-strip-target-libgfortran: installdirs
46488 @: $(MAKE); $(unstage)
46489 @r=`${PWD_COMMAND}`; export r; \
46490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46491 $(NORMAL_TARGET_EXPORTS) \
46492 (cd $(TARGET_SUBDIR)/libgfortran && \
46493 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46495 @endif target-libgfortran
46497 # Other targets (info, dvi, pdf, etc.)
46499 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
46500 maybe-info-target-libgfortran:
46501 @if target-libgfortran
46502 maybe-info-target-libgfortran: info-target-libgfortran
46504 info-target-libgfortran: \
46505 configure-target-libgfortran
46506 @: $(MAKE); $(unstage)
46507 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46508 r=`${PWD_COMMAND}`; export r; \
46509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46510 $(NORMAL_TARGET_EXPORTS) \
46511 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
46512 for flag in $(EXTRA_TARGET_FLAGS); do \
46513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46514 done; \
46515 (cd $(TARGET_SUBDIR)/libgfortran && \
46516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46518 "RANLIB=$${RANLIB}" \
46519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46520 info) \
46521 || exit 1
46523 @endif target-libgfortran
46525 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
46526 maybe-dvi-target-libgfortran:
46527 @if target-libgfortran
46528 maybe-dvi-target-libgfortran: dvi-target-libgfortran
46530 dvi-target-libgfortran: \
46531 configure-target-libgfortran
46532 @: $(MAKE); $(unstage)
46533 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46534 r=`${PWD_COMMAND}`; export r; \
46535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46536 $(NORMAL_TARGET_EXPORTS) \
46537 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
46538 for flag in $(EXTRA_TARGET_FLAGS); do \
46539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46540 done; \
46541 (cd $(TARGET_SUBDIR)/libgfortran && \
46542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46544 "RANLIB=$${RANLIB}" \
46545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46546 dvi) \
46547 || exit 1
46549 @endif target-libgfortran
46551 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
46552 maybe-pdf-target-libgfortran:
46553 @if target-libgfortran
46554 maybe-pdf-target-libgfortran: pdf-target-libgfortran
46556 pdf-target-libgfortran: \
46557 configure-target-libgfortran
46558 @: $(MAKE); $(unstage)
46559 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46560 r=`${PWD_COMMAND}`; export r; \
46561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46562 $(NORMAL_TARGET_EXPORTS) \
46563 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
46564 for flag in $(EXTRA_TARGET_FLAGS); do \
46565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46566 done; \
46567 (cd $(TARGET_SUBDIR)/libgfortran && \
46568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46570 "RANLIB=$${RANLIB}" \
46571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46572 pdf) \
46573 || exit 1
46575 @endif target-libgfortran
46577 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
46578 maybe-html-target-libgfortran:
46579 @if target-libgfortran
46580 maybe-html-target-libgfortran: html-target-libgfortran
46582 html-target-libgfortran: \
46583 configure-target-libgfortran
46584 @: $(MAKE); $(unstage)
46585 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46586 r=`${PWD_COMMAND}`; export r; \
46587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46588 $(NORMAL_TARGET_EXPORTS) \
46589 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
46590 for flag in $(EXTRA_TARGET_FLAGS); do \
46591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46592 done; \
46593 (cd $(TARGET_SUBDIR)/libgfortran && \
46594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46596 "RANLIB=$${RANLIB}" \
46597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46598 html) \
46599 || exit 1
46601 @endif target-libgfortran
46603 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
46604 maybe-TAGS-target-libgfortran:
46605 @if target-libgfortran
46606 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
46608 TAGS-target-libgfortran: \
46609 configure-target-libgfortran
46610 @: $(MAKE); $(unstage)
46611 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46612 r=`${PWD_COMMAND}`; export r; \
46613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46614 $(NORMAL_TARGET_EXPORTS) \
46615 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
46616 for flag in $(EXTRA_TARGET_FLAGS); do \
46617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46618 done; \
46619 (cd $(TARGET_SUBDIR)/libgfortran && \
46620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46622 "RANLIB=$${RANLIB}" \
46623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46624 TAGS) \
46625 || exit 1
46627 @endif target-libgfortran
46629 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
46630 maybe-install-info-target-libgfortran:
46631 @if target-libgfortran
46632 maybe-install-info-target-libgfortran: install-info-target-libgfortran
46634 install-info-target-libgfortran: \
46635 configure-target-libgfortran \
46636 info-target-libgfortran
46637 @: $(MAKE); $(unstage)
46638 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46639 r=`${PWD_COMMAND}`; export r; \
46640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46641 $(NORMAL_TARGET_EXPORTS) \
46642 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
46643 for flag in $(EXTRA_TARGET_FLAGS); do \
46644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46645 done; \
46646 (cd $(TARGET_SUBDIR)/libgfortran && \
46647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46649 "RANLIB=$${RANLIB}" \
46650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46651 install-info) \
46652 || exit 1
46654 @endif target-libgfortran
46656 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
46657 maybe-install-pdf-target-libgfortran:
46658 @if target-libgfortran
46659 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
46661 install-pdf-target-libgfortran: \
46662 configure-target-libgfortran \
46663 pdf-target-libgfortran
46664 @: $(MAKE); $(unstage)
46665 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46666 r=`${PWD_COMMAND}`; export r; \
46667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46668 $(NORMAL_TARGET_EXPORTS) \
46669 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
46670 for flag in $(EXTRA_TARGET_FLAGS); do \
46671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46672 done; \
46673 (cd $(TARGET_SUBDIR)/libgfortran && \
46674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46676 "RANLIB=$${RANLIB}" \
46677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46678 install-pdf) \
46679 || exit 1
46681 @endif target-libgfortran
46683 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
46684 maybe-install-html-target-libgfortran:
46685 @if target-libgfortran
46686 maybe-install-html-target-libgfortran: install-html-target-libgfortran
46688 install-html-target-libgfortran: \
46689 configure-target-libgfortran \
46690 html-target-libgfortran
46691 @: $(MAKE); $(unstage)
46692 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46693 r=`${PWD_COMMAND}`; export r; \
46694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46695 $(NORMAL_TARGET_EXPORTS) \
46696 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
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)/libgfortran && \
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 install-html) \
46706 || exit 1
46708 @endif target-libgfortran
46710 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
46711 maybe-installcheck-target-libgfortran:
46712 @if target-libgfortran
46713 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
46715 installcheck-target-libgfortran: \
46716 configure-target-libgfortran
46717 @: $(MAKE); $(unstage)
46718 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46719 r=`${PWD_COMMAND}`; export r; \
46720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46721 $(NORMAL_TARGET_EXPORTS) \
46722 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
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)/libgfortran && \
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 installcheck) \
46732 || exit 1
46734 @endif target-libgfortran
46736 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
46737 maybe-mostlyclean-target-libgfortran:
46738 @if target-libgfortran
46739 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
46741 mostlyclean-target-libgfortran:
46742 @: $(MAKE); $(unstage)
46743 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46744 r=`${PWD_COMMAND}`; export r; \
46745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46746 $(NORMAL_TARGET_EXPORTS) \
46747 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
46748 for flag in $(EXTRA_TARGET_FLAGS); do \
46749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46750 done; \
46751 (cd $(TARGET_SUBDIR)/libgfortran && \
46752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46754 "RANLIB=$${RANLIB}" \
46755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46756 mostlyclean) \
46757 || exit 1
46759 @endif target-libgfortran
46761 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
46762 maybe-clean-target-libgfortran:
46763 @if target-libgfortran
46764 maybe-clean-target-libgfortran: clean-target-libgfortran
46766 clean-target-libgfortran:
46767 @: $(MAKE); $(unstage)
46768 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46769 r=`${PWD_COMMAND}`; export r; \
46770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46771 $(NORMAL_TARGET_EXPORTS) \
46772 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
46773 for flag in $(EXTRA_TARGET_FLAGS); do \
46774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46775 done; \
46776 (cd $(TARGET_SUBDIR)/libgfortran && \
46777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46779 "RANLIB=$${RANLIB}" \
46780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46781 clean) \
46782 || exit 1
46784 @endif target-libgfortran
46786 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
46787 maybe-distclean-target-libgfortran:
46788 @if target-libgfortran
46789 maybe-distclean-target-libgfortran: distclean-target-libgfortran
46791 distclean-target-libgfortran:
46792 @: $(MAKE); $(unstage)
46793 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46794 r=`${PWD_COMMAND}`; export r; \
46795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46796 $(NORMAL_TARGET_EXPORTS) \
46797 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
46798 for flag in $(EXTRA_TARGET_FLAGS); do \
46799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46800 done; \
46801 (cd $(TARGET_SUBDIR)/libgfortran && \
46802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46804 "RANLIB=$${RANLIB}" \
46805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46806 distclean) \
46807 || exit 1
46809 @endif target-libgfortran
46811 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
46812 maybe-maintainer-clean-target-libgfortran:
46813 @if target-libgfortran
46814 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
46816 maintainer-clean-target-libgfortran:
46817 @: $(MAKE); $(unstage)
46818 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46819 r=`${PWD_COMMAND}`; export r; \
46820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46821 $(NORMAL_TARGET_EXPORTS) \
46822 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
46823 for flag in $(EXTRA_TARGET_FLAGS); do \
46824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46825 done; \
46826 (cd $(TARGET_SUBDIR)/libgfortran && \
46827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46829 "RANLIB=$${RANLIB}" \
46830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46831 maintainer-clean) \
46832 || exit 1
46834 @endif target-libgfortran
46840 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
46841 maybe-configure-target-libobjc:
46842 @if gcc-bootstrap
46843 configure-target-libobjc: stage_current
46844 @endif gcc-bootstrap
46845 @if target-libobjc
46846 maybe-configure-target-libobjc: configure-target-libobjc
46847 configure-target-libobjc:
46848 @: $(MAKE); $(unstage)
46849 @r=`${PWD_COMMAND}`; export r; \
46850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46851 echo "Checking multilib configuration for libobjc..."; \
46852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
46853 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
46854 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
46855 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
46856 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
46857 else \
46858 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
46859 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46860 fi; \
46861 else \
46862 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
46863 fi; \
46864 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
46865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
46866 $(NORMAL_TARGET_EXPORTS) \
46867 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
46868 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
46869 case $(srcdir) in \
46870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46871 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
46872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46873 esac; \
46874 module_srcdir=libobjc; \
46875 rm -f no-such-file || : ; \
46876 CONFIG_SITE=no-such-file $(SHELL) \
46877 $$s/$$module_srcdir/configure \
46878 --srcdir=$${topdir}/$$module_srcdir \
46879 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46880 --target=${target_alias} \
46881 || exit 1
46882 @endif target-libobjc
46888 .PHONY: all-target-libobjc maybe-all-target-libobjc
46889 maybe-all-target-libobjc:
46890 @if gcc-bootstrap
46891 all-target-libobjc: stage_current
46892 @endif gcc-bootstrap
46893 @if target-libobjc
46894 TARGET-target-libobjc=all
46895 maybe-all-target-libobjc: all-target-libobjc
46896 all-target-libobjc: configure-target-libobjc
46897 @: $(MAKE); $(unstage)
46898 @r=`${PWD_COMMAND}`; export r; \
46899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46900 $(NORMAL_TARGET_EXPORTS) \
46901 (cd $(TARGET_SUBDIR)/libobjc && \
46902 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46903 $(TARGET-target-libobjc))
46904 @endif target-libobjc
46910 .PHONY: check-target-libobjc maybe-check-target-libobjc
46911 maybe-check-target-libobjc:
46912 @if target-libobjc
46913 maybe-check-target-libobjc: check-target-libobjc
46915 check-target-libobjc:
46916 @: $(MAKE); $(unstage)
46917 @r=`${PWD_COMMAND}`; export r; \
46918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46919 $(NORMAL_TARGET_EXPORTS) \
46920 (cd $(TARGET_SUBDIR)/libobjc && \
46921 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46923 @endif target-libobjc
46925 .PHONY: install-target-libobjc maybe-install-target-libobjc
46926 maybe-install-target-libobjc:
46927 @if target-libobjc
46928 maybe-install-target-libobjc: install-target-libobjc
46930 install-target-libobjc: installdirs
46931 @: $(MAKE); $(unstage)
46932 @r=`${PWD_COMMAND}`; export r; \
46933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46934 $(NORMAL_TARGET_EXPORTS) \
46935 (cd $(TARGET_SUBDIR)/libobjc && \
46936 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46938 @endif target-libobjc
46940 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
46941 maybe-install-strip-target-libobjc:
46942 @if target-libobjc
46943 maybe-install-strip-target-libobjc: install-strip-target-libobjc
46945 install-strip-target-libobjc: installdirs
46946 @: $(MAKE); $(unstage)
46947 @r=`${PWD_COMMAND}`; export r; \
46948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46949 $(NORMAL_TARGET_EXPORTS) \
46950 (cd $(TARGET_SUBDIR)/libobjc && \
46951 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46953 @endif target-libobjc
46955 # Other targets (info, dvi, pdf, etc.)
46957 .PHONY: maybe-info-target-libobjc info-target-libobjc
46958 maybe-info-target-libobjc:
46959 @if target-libobjc
46960 maybe-info-target-libobjc: info-target-libobjc
46962 info-target-libobjc: \
46963 configure-target-libobjc
46964 @: $(MAKE); $(unstage)
46965 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46966 r=`${PWD_COMMAND}`; export r; \
46967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46968 $(NORMAL_TARGET_EXPORTS) \
46969 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
46970 for flag in $(EXTRA_TARGET_FLAGS); do \
46971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46972 done; \
46973 (cd $(TARGET_SUBDIR)/libobjc && \
46974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46976 "RANLIB=$${RANLIB}" \
46977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46978 info) \
46979 || exit 1
46981 @endif target-libobjc
46983 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
46984 maybe-dvi-target-libobjc:
46985 @if target-libobjc
46986 maybe-dvi-target-libobjc: dvi-target-libobjc
46988 dvi-target-libobjc: \
46989 configure-target-libobjc
46990 @: $(MAKE); $(unstage)
46991 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46992 r=`${PWD_COMMAND}`; export r; \
46993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46994 $(NORMAL_TARGET_EXPORTS) \
46995 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
46996 for flag in $(EXTRA_TARGET_FLAGS); do \
46997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46998 done; \
46999 (cd $(TARGET_SUBDIR)/libobjc && \
47000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47002 "RANLIB=$${RANLIB}" \
47003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47004 dvi) \
47005 || exit 1
47007 @endif target-libobjc
47009 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
47010 maybe-pdf-target-libobjc:
47011 @if target-libobjc
47012 maybe-pdf-target-libobjc: pdf-target-libobjc
47014 pdf-target-libobjc: \
47015 configure-target-libobjc
47016 @: $(MAKE); $(unstage)
47017 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47018 r=`${PWD_COMMAND}`; export r; \
47019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47020 $(NORMAL_TARGET_EXPORTS) \
47021 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
47022 for flag in $(EXTRA_TARGET_FLAGS); do \
47023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47024 done; \
47025 (cd $(TARGET_SUBDIR)/libobjc && \
47026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47028 "RANLIB=$${RANLIB}" \
47029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47030 pdf) \
47031 || exit 1
47033 @endif target-libobjc
47035 .PHONY: maybe-html-target-libobjc html-target-libobjc
47036 maybe-html-target-libobjc:
47037 @if target-libobjc
47038 maybe-html-target-libobjc: html-target-libobjc
47040 html-target-libobjc: \
47041 configure-target-libobjc
47042 @: $(MAKE); $(unstage)
47043 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47044 r=`${PWD_COMMAND}`; export r; \
47045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47046 $(NORMAL_TARGET_EXPORTS) \
47047 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
47048 for flag in $(EXTRA_TARGET_FLAGS); do \
47049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47050 done; \
47051 (cd $(TARGET_SUBDIR)/libobjc && \
47052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47054 "RANLIB=$${RANLIB}" \
47055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47056 html) \
47057 || exit 1
47059 @endif target-libobjc
47061 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
47062 maybe-TAGS-target-libobjc:
47063 @if target-libobjc
47064 maybe-TAGS-target-libobjc: TAGS-target-libobjc
47066 TAGS-target-libobjc: \
47067 configure-target-libobjc
47068 @: $(MAKE); $(unstage)
47069 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47070 r=`${PWD_COMMAND}`; export r; \
47071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47072 $(NORMAL_TARGET_EXPORTS) \
47073 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
47074 for flag in $(EXTRA_TARGET_FLAGS); do \
47075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47076 done; \
47077 (cd $(TARGET_SUBDIR)/libobjc && \
47078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47080 "RANLIB=$${RANLIB}" \
47081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47082 TAGS) \
47083 || exit 1
47085 @endif target-libobjc
47087 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
47088 maybe-install-info-target-libobjc:
47089 @if target-libobjc
47090 maybe-install-info-target-libobjc: install-info-target-libobjc
47092 install-info-target-libobjc: \
47093 configure-target-libobjc \
47094 info-target-libobjc
47095 @: $(MAKE); $(unstage)
47096 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47097 r=`${PWD_COMMAND}`; export r; \
47098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47099 $(NORMAL_TARGET_EXPORTS) \
47100 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
47101 for flag in $(EXTRA_TARGET_FLAGS); do \
47102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47103 done; \
47104 (cd $(TARGET_SUBDIR)/libobjc && \
47105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47107 "RANLIB=$${RANLIB}" \
47108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47109 install-info) \
47110 || exit 1
47112 @endif target-libobjc
47114 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
47115 maybe-install-pdf-target-libobjc:
47116 @if target-libobjc
47117 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
47119 install-pdf-target-libobjc: \
47120 configure-target-libobjc \
47121 pdf-target-libobjc
47122 @: $(MAKE); $(unstage)
47123 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47124 r=`${PWD_COMMAND}`; export r; \
47125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47126 $(NORMAL_TARGET_EXPORTS) \
47127 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
47128 for flag in $(EXTRA_TARGET_FLAGS); do \
47129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47130 done; \
47131 (cd $(TARGET_SUBDIR)/libobjc && \
47132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47134 "RANLIB=$${RANLIB}" \
47135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47136 install-pdf) \
47137 || exit 1
47139 @endif target-libobjc
47141 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
47142 maybe-install-html-target-libobjc:
47143 @if target-libobjc
47144 maybe-install-html-target-libobjc: install-html-target-libobjc
47146 install-html-target-libobjc: \
47147 configure-target-libobjc \
47148 html-target-libobjc
47149 @: $(MAKE); $(unstage)
47150 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47151 r=`${PWD_COMMAND}`; export r; \
47152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47153 $(NORMAL_TARGET_EXPORTS) \
47154 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
47155 for flag in $(EXTRA_TARGET_FLAGS); do \
47156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47157 done; \
47158 (cd $(TARGET_SUBDIR)/libobjc && \
47159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47161 "RANLIB=$${RANLIB}" \
47162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47163 install-html) \
47164 || exit 1
47166 @endif target-libobjc
47168 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
47169 maybe-installcheck-target-libobjc:
47170 @if target-libobjc
47171 maybe-installcheck-target-libobjc: installcheck-target-libobjc
47173 installcheck-target-libobjc: \
47174 configure-target-libobjc
47175 @: $(MAKE); $(unstage)
47176 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47177 r=`${PWD_COMMAND}`; export r; \
47178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47179 $(NORMAL_TARGET_EXPORTS) \
47180 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
47181 for flag in $(EXTRA_TARGET_FLAGS); do \
47182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47183 done; \
47184 (cd $(TARGET_SUBDIR)/libobjc && \
47185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47187 "RANLIB=$${RANLIB}" \
47188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47189 installcheck) \
47190 || exit 1
47192 @endif target-libobjc
47194 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
47195 maybe-mostlyclean-target-libobjc:
47196 @if target-libobjc
47197 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
47199 mostlyclean-target-libobjc:
47200 @: $(MAKE); $(unstage)
47201 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47202 r=`${PWD_COMMAND}`; export r; \
47203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47204 $(NORMAL_TARGET_EXPORTS) \
47205 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
47206 for flag in $(EXTRA_TARGET_FLAGS); do \
47207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47208 done; \
47209 (cd $(TARGET_SUBDIR)/libobjc && \
47210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47212 "RANLIB=$${RANLIB}" \
47213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47214 mostlyclean) \
47215 || exit 1
47217 @endif target-libobjc
47219 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
47220 maybe-clean-target-libobjc:
47221 @if target-libobjc
47222 maybe-clean-target-libobjc: clean-target-libobjc
47224 clean-target-libobjc:
47225 @: $(MAKE); $(unstage)
47226 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47227 r=`${PWD_COMMAND}`; export r; \
47228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47229 $(NORMAL_TARGET_EXPORTS) \
47230 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
47231 for flag in $(EXTRA_TARGET_FLAGS); do \
47232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47233 done; \
47234 (cd $(TARGET_SUBDIR)/libobjc && \
47235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47237 "RANLIB=$${RANLIB}" \
47238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47239 clean) \
47240 || exit 1
47242 @endif target-libobjc
47244 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
47245 maybe-distclean-target-libobjc:
47246 @if target-libobjc
47247 maybe-distclean-target-libobjc: distclean-target-libobjc
47249 distclean-target-libobjc:
47250 @: $(MAKE); $(unstage)
47251 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47252 r=`${PWD_COMMAND}`; export r; \
47253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47254 $(NORMAL_TARGET_EXPORTS) \
47255 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
47256 for flag in $(EXTRA_TARGET_FLAGS); do \
47257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47258 done; \
47259 (cd $(TARGET_SUBDIR)/libobjc && \
47260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47262 "RANLIB=$${RANLIB}" \
47263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47264 distclean) \
47265 || exit 1
47267 @endif target-libobjc
47269 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
47270 maybe-maintainer-clean-target-libobjc:
47271 @if target-libobjc
47272 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
47274 maintainer-clean-target-libobjc:
47275 @: $(MAKE); $(unstage)
47276 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47277 r=`${PWD_COMMAND}`; export r; \
47278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47279 $(NORMAL_TARGET_EXPORTS) \
47280 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
47281 for flag in $(EXTRA_TARGET_FLAGS); do \
47282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47283 done; \
47284 (cd $(TARGET_SUBDIR)/libobjc && \
47285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47287 "RANLIB=$${RANLIB}" \
47288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47289 maintainer-clean) \
47290 || exit 1
47292 @endif target-libobjc
47298 .PHONY: configure-target-libgo maybe-configure-target-libgo
47299 maybe-configure-target-libgo:
47300 @if gcc-bootstrap
47301 configure-target-libgo: stage_current
47302 @endif gcc-bootstrap
47303 @if target-libgo
47304 maybe-configure-target-libgo: configure-target-libgo
47305 configure-target-libgo:
47306 @: $(MAKE); $(unstage)
47307 @r=`${PWD_COMMAND}`; export r; \
47308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47309 echo "Checking multilib configuration for libgo..."; \
47310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47311 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
47312 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
47313 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
47314 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
47315 else \
47316 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
47317 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47318 fi; \
47319 else \
47320 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47321 fi; \
47322 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
47323 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47324 $(NORMAL_TARGET_EXPORTS) \
47325 echo Configuring in $(TARGET_SUBDIR)/libgo; \
47326 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
47327 case $(srcdir) in \
47328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47329 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
47330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47331 esac; \
47332 module_srcdir=libgo; \
47333 rm -f no-such-file || : ; \
47334 CONFIG_SITE=no-such-file $(SHELL) \
47335 $$s/$$module_srcdir/configure \
47336 --srcdir=$${topdir}/$$module_srcdir \
47337 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47338 --target=${target_alias} \
47339 || exit 1
47340 @endif target-libgo
47346 .PHONY: all-target-libgo maybe-all-target-libgo
47347 maybe-all-target-libgo:
47348 @if gcc-bootstrap
47349 all-target-libgo: stage_current
47350 @endif gcc-bootstrap
47351 @if target-libgo
47352 TARGET-target-libgo=all
47353 maybe-all-target-libgo: all-target-libgo
47354 all-target-libgo: configure-target-libgo
47355 @: $(MAKE); $(unstage)
47356 @r=`${PWD_COMMAND}`; export r; \
47357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47358 $(NORMAL_TARGET_EXPORTS) \
47359 (cd $(TARGET_SUBDIR)/libgo && \
47360 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47361 $(TARGET-target-libgo))
47362 @endif target-libgo
47368 .PHONY: check-target-libgo maybe-check-target-libgo
47369 maybe-check-target-libgo:
47370 @if target-libgo
47371 maybe-check-target-libgo: check-target-libgo
47373 check-target-libgo:
47374 @: $(MAKE); $(unstage)
47375 @r=`${PWD_COMMAND}`; export r; \
47376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47377 $(NORMAL_TARGET_EXPORTS) \
47378 (cd $(TARGET_SUBDIR)/libgo && \
47379 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47381 @endif target-libgo
47383 .PHONY: install-target-libgo maybe-install-target-libgo
47384 maybe-install-target-libgo:
47385 @if target-libgo
47386 maybe-install-target-libgo: install-target-libgo
47388 install-target-libgo: installdirs
47389 @: $(MAKE); $(unstage)
47390 @r=`${PWD_COMMAND}`; export r; \
47391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47392 $(NORMAL_TARGET_EXPORTS) \
47393 (cd $(TARGET_SUBDIR)/libgo && \
47394 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47396 @endif target-libgo
47398 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
47399 maybe-install-strip-target-libgo:
47400 @if target-libgo
47401 maybe-install-strip-target-libgo: install-strip-target-libgo
47403 install-strip-target-libgo: installdirs
47404 @: $(MAKE); $(unstage)
47405 @r=`${PWD_COMMAND}`; export r; \
47406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47407 $(NORMAL_TARGET_EXPORTS) \
47408 (cd $(TARGET_SUBDIR)/libgo && \
47409 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47411 @endif target-libgo
47413 # Other targets (info, dvi, pdf, etc.)
47415 .PHONY: maybe-info-target-libgo info-target-libgo
47416 maybe-info-target-libgo:
47417 @if target-libgo
47418 maybe-info-target-libgo: info-target-libgo
47420 info-target-libgo: \
47421 configure-target-libgo
47422 @: $(MAKE); $(unstage)
47423 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47424 r=`${PWD_COMMAND}`; export r; \
47425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47426 $(NORMAL_TARGET_EXPORTS) \
47427 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
47428 for flag in $(EXTRA_TARGET_FLAGS); do \
47429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47430 done; \
47431 (cd $(TARGET_SUBDIR)/libgo && \
47432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47434 "RANLIB=$${RANLIB}" \
47435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47436 info) \
47437 || exit 1
47439 @endif target-libgo
47441 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
47442 maybe-dvi-target-libgo:
47443 @if target-libgo
47444 maybe-dvi-target-libgo: dvi-target-libgo
47446 dvi-target-libgo: \
47447 configure-target-libgo
47448 @: $(MAKE); $(unstage)
47449 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47450 r=`${PWD_COMMAND}`; export r; \
47451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47452 $(NORMAL_TARGET_EXPORTS) \
47453 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
47454 for flag in $(EXTRA_TARGET_FLAGS); do \
47455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47456 done; \
47457 (cd $(TARGET_SUBDIR)/libgo && \
47458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47460 "RANLIB=$${RANLIB}" \
47461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47462 dvi) \
47463 || exit 1
47465 @endif target-libgo
47467 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
47468 maybe-pdf-target-libgo:
47469 @if target-libgo
47470 maybe-pdf-target-libgo: pdf-target-libgo
47472 pdf-target-libgo: \
47473 configure-target-libgo
47474 @: $(MAKE); $(unstage)
47475 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47476 r=`${PWD_COMMAND}`; export r; \
47477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47478 $(NORMAL_TARGET_EXPORTS) \
47479 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
47480 for flag in $(EXTRA_TARGET_FLAGS); do \
47481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47482 done; \
47483 (cd $(TARGET_SUBDIR)/libgo && \
47484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47486 "RANLIB=$${RANLIB}" \
47487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47488 pdf) \
47489 || exit 1
47491 @endif target-libgo
47493 .PHONY: maybe-html-target-libgo html-target-libgo
47494 maybe-html-target-libgo:
47495 @if target-libgo
47496 maybe-html-target-libgo: html-target-libgo
47498 html-target-libgo: \
47499 configure-target-libgo
47500 @: $(MAKE); $(unstage)
47501 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47502 r=`${PWD_COMMAND}`; export r; \
47503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47504 $(NORMAL_TARGET_EXPORTS) \
47505 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
47506 for flag in $(EXTRA_TARGET_FLAGS); do \
47507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47508 done; \
47509 (cd $(TARGET_SUBDIR)/libgo && \
47510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47512 "RANLIB=$${RANLIB}" \
47513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47514 html) \
47515 || exit 1
47517 @endif target-libgo
47519 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
47520 maybe-TAGS-target-libgo:
47521 @if target-libgo
47522 maybe-TAGS-target-libgo: TAGS-target-libgo
47524 TAGS-target-libgo: \
47525 configure-target-libgo
47526 @: $(MAKE); $(unstage)
47527 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47528 r=`${PWD_COMMAND}`; export r; \
47529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47530 $(NORMAL_TARGET_EXPORTS) \
47531 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
47532 for flag in $(EXTRA_TARGET_FLAGS); do \
47533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47534 done; \
47535 (cd $(TARGET_SUBDIR)/libgo && \
47536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47538 "RANLIB=$${RANLIB}" \
47539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47540 TAGS) \
47541 || exit 1
47543 @endif target-libgo
47545 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
47546 maybe-install-info-target-libgo:
47547 @if target-libgo
47548 maybe-install-info-target-libgo: install-info-target-libgo
47550 install-info-target-libgo: \
47551 configure-target-libgo \
47552 info-target-libgo
47553 @: $(MAKE); $(unstage)
47554 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47555 r=`${PWD_COMMAND}`; export r; \
47556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47557 $(NORMAL_TARGET_EXPORTS) \
47558 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
47559 for flag in $(EXTRA_TARGET_FLAGS); do \
47560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47561 done; \
47562 (cd $(TARGET_SUBDIR)/libgo && \
47563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47565 "RANLIB=$${RANLIB}" \
47566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47567 install-info) \
47568 || exit 1
47570 @endif target-libgo
47572 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
47573 maybe-install-pdf-target-libgo:
47574 @if target-libgo
47575 maybe-install-pdf-target-libgo: install-pdf-target-libgo
47577 install-pdf-target-libgo: \
47578 configure-target-libgo \
47579 pdf-target-libgo
47580 @: $(MAKE); $(unstage)
47581 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47582 r=`${PWD_COMMAND}`; export r; \
47583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47584 $(NORMAL_TARGET_EXPORTS) \
47585 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
47586 for flag in $(EXTRA_TARGET_FLAGS); do \
47587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47588 done; \
47589 (cd $(TARGET_SUBDIR)/libgo && \
47590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47592 "RANLIB=$${RANLIB}" \
47593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47594 install-pdf) \
47595 || exit 1
47597 @endif target-libgo
47599 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
47600 maybe-install-html-target-libgo:
47601 @if target-libgo
47602 maybe-install-html-target-libgo: install-html-target-libgo
47604 install-html-target-libgo: \
47605 configure-target-libgo \
47606 html-target-libgo
47607 @: $(MAKE); $(unstage)
47608 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47609 r=`${PWD_COMMAND}`; export r; \
47610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47611 $(NORMAL_TARGET_EXPORTS) \
47612 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
47613 for flag in $(EXTRA_TARGET_FLAGS); do \
47614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47615 done; \
47616 (cd $(TARGET_SUBDIR)/libgo && \
47617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47619 "RANLIB=$${RANLIB}" \
47620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47621 install-html) \
47622 || exit 1
47624 @endif target-libgo
47626 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
47627 maybe-installcheck-target-libgo:
47628 @if target-libgo
47629 maybe-installcheck-target-libgo: installcheck-target-libgo
47631 installcheck-target-libgo: \
47632 configure-target-libgo
47633 @: $(MAKE); $(unstage)
47634 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47635 r=`${PWD_COMMAND}`; export r; \
47636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47637 $(NORMAL_TARGET_EXPORTS) \
47638 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
47639 for flag in $(EXTRA_TARGET_FLAGS); do \
47640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47641 done; \
47642 (cd $(TARGET_SUBDIR)/libgo && \
47643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47645 "RANLIB=$${RANLIB}" \
47646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47647 installcheck) \
47648 || exit 1
47650 @endif target-libgo
47652 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
47653 maybe-mostlyclean-target-libgo:
47654 @if target-libgo
47655 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
47657 mostlyclean-target-libgo:
47658 @: $(MAKE); $(unstage)
47659 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47660 r=`${PWD_COMMAND}`; export r; \
47661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47662 $(NORMAL_TARGET_EXPORTS) \
47663 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
47664 for flag in $(EXTRA_TARGET_FLAGS); do \
47665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47666 done; \
47667 (cd $(TARGET_SUBDIR)/libgo && \
47668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47670 "RANLIB=$${RANLIB}" \
47671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47672 mostlyclean) \
47673 || exit 1
47675 @endif target-libgo
47677 .PHONY: maybe-clean-target-libgo clean-target-libgo
47678 maybe-clean-target-libgo:
47679 @if target-libgo
47680 maybe-clean-target-libgo: clean-target-libgo
47682 clean-target-libgo:
47683 @: $(MAKE); $(unstage)
47684 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47685 r=`${PWD_COMMAND}`; export r; \
47686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47687 $(NORMAL_TARGET_EXPORTS) \
47688 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
47689 for flag in $(EXTRA_TARGET_FLAGS); do \
47690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47691 done; \
47692 (cd $(TARGET_SUBDIR)/libgo && \
47693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47695 "RANLIB=$${RANLIB}" \
47696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47697 clean) \
47698 || exit 1
47700 @endif target-libgo
47702 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
47703 maybe-distclean-target-libgo:
47704 @if target-libgo
47705 maybe-distclean-target-libgo: distclean-target-libgo
47707 distclean-target-libgo:
47708 @: $(MAKE); $(unstage)
47709 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47710 r=`${PWD_COMMAND}`; export r; \
47711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47712 $(NORMAL_TARGET_EXPORTS) \
47713 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
47714 for flag in $(EXTRA_TARGET_FLAGS); do \
47715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47716 done; \
47717 (cd $(TARGET_SUBDIR)/libgo && \
47718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47720 "RANLIB=$${RANLIB}" \
47721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47722 distclean) \
47723 || exit 1
47725 @endif target-libgo
47727 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
47728 maybe-maintainer-clean-target-libgo:
47729 @if target-libgo
47730 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
47732 maintainer-clean-target-libgo:
47733 @: $(MAKE); $(unstage)
47734 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47735 r=`${PWD_COMMAND}`; export r; \
47736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47737 $(NORMAL_TARGET_EXPORTS) \
47738 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
47739 for flag in $(EXTRA_TARGET_FLAGS); do \
47740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47741 done; \
47742 (cd $(TARGET_SUBDIR)/libgo && \
47743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47745 "RANLIB=$${RANLIB}" \
47746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47747 maintainer-clean) \
47748 || exit 1
47750 @endif target-libgo
47756 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
47757 maybe-configure-target-libhsail-rt:
47758 @if gcc-bootstrap
47759 configure-target-libhsail-rt: stage_current
47760 @endif gcc-bootstrap
47761 @if target-libhsail-rt
47762 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
47763 configure-target-libhsail-rt:
47764 @: $(MAKE); $(unstage)
47765 @r=`${PWD_COMMAND}`; export r; \
47766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47767 echo "Checking multilib configuration for libhsail-rt..."; \
47768 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
47769 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
47770 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
47771 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
47772 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
47773 else \
47774 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
47775 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
47776 fi; \
47777 else \
47778 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
47779 fi; \
47780 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
47781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
47782 $(NORMAL_TARGET_EXPORTS) \
47783 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
47784 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
47785 case $(srcdir) in \
47786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47787 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
47788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47789 esac; \
47790 module_srcdir=libhsail-rt; \
47791 rm -f no-such-file || : ; \
47792 CONFIG_SITE=no-such-file $(SHELL) \
47793 $$s/$$module_srcdir/configure \
47794 --srcdir=$${topdir}/$$module_srcdir \
47795 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47796 --target=${target_alias} \
47797 || exit 1
47798 @endif target-libhsail-rt
47804 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
47805 maybe-all-target-libhsail-rt:
47806 @if gcc-bootstrap
47807 all-target-libhsail-rt: stage_current
47808 @endif gcc-bootstrap
47809 @if target-libhsail-rt
47810 TARGET-target-libhsail-rt=all
47811 maybe-all-target-libhsail-rt: all-target-libhsail-rt
47812 all-target-libhsail-rt: configure-target-libhsail-rt
47813 @: $(MAKE); $(unstage)
47814 @r=`${PWD_COMMAND}`; export r; \
47815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47816 $(NORMAL_TARGET_EXPORTS) \
47817 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47818 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47819 $(TARGET-target-libhsail-rt))
47820 @endif target-libhsail-rt
47826 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
47827 maybe-check-target-libhsail-rt:
47828 @if target-libhsail-rt
47829 maybe-check-target-libhsail-rt: check-target-libhsail-rt
47831 check-target-libhsail-rt:
47832 @: $(MAKE); $(unstage)
47833 @r=`${PWD_COMMAND}`; export r; \
47834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47835 $(NORMAL_TARGET_EXPORTS) \
47836 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47837 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47839 @endif target-libhsail-rt
47841 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
47842 maybe-install-target-libhsail-rt:
47843 @if target-libhsail-rt
47844 maybe-install-target-libhsail-rt: install-target-libhsail-rt
47846 install-target-libhsail-rt: installdirs
47847 @: $(MAKE); $(unstage)
47848 @r=`${PWD_COMMAND}`; export r; \
47849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47850 $(NORMAL_TARGET_EXPORTS) \
47851 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47852 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47854 @endif target-libhsail-rt
47856 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
47857 maybe-install-strip-target-libhsail-rt:
47858 @if target-libhsail-rt
47859 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
47861 install-strip-target-libhsail-rt: installdirs
47862 @: $(MAKE); $(unstage)
47863 @r=`${PWD_COMMAND}`; export r; \
47864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47865 $(NORMAL_TARGET_EXPORTS) \
47866 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47867 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47869 @endif target-libhsail-rt
47871 # Other targets (info, dvi, pdf, etc.)
47873 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
47874 maybe-info-target-libhsail-rt:
47875 @if target-libhsail-rt
47876 maybe-info-target-libhsail-rt: info-target-libhsail-rt
47878 info-target-libhsail-rt: \
47879 configure-target-libhsail-rt
47880 @: $(MAKE); $(unstage)
47881 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
47882 r=`${PWD_COMMAND}`; export r; \
47883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47884 $(NORMAL_TARGET_EXPORTS) \
47885 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
47886 for flag in $(EXTRA_TARGET_FLAGS); do \
47887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47888 done; \
47889 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47892 "RANLIB=$${RANLIB}" \
47893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47894 info) \
47895 || exit 1
47897 @endif target-libhsail-rt
47899 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
47900 maybe-dvi-target-libhsail-rt:
47901 @if target-libhsail-rt
47902 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
47904 dvi-target-libhsail-rt: \
47905 configure-target-libhsail-rt
47906 @: $(MAKE); $(unstage)
47907 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
47908 r=`${PWD_COMMAND}`; export r; \
47909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47910 $(NORMAL_TARGET_EXPORTS) \
47911 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
47912 for flag in $(EXTRA_TARGET_FLAGS); do \
47913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47914 done; \
47915 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47918 "RANLIB=$${RANLIB}" \
47919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47920 dvi) \
47921 || exit 1
47923 @endif target-libhsail-rt
47925 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
47926 maybe-pdf-target-libhsail-rt:
47927 @if target-libhsail-rt
47928 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
47930 pdf-target-libhsail-rt: \
47931 configure-target-libhsail-rt
47932 @: $(MAKE); $(unstage)
47933 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
47934 r=`${PWD_COMMAND}`; export r; \
47935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47936 $(NORMAL_TARGET_EXPORTS) \
47937 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
47938 for flag in $(EXTRA_TARGET_FLAGS); do \
47939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47940 done; \
47941 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47944 "RANLIB=$${RANLIB}" \
47945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47946 pdf) \
47947 || exit 1
47949 @endif target-libhsail-rt
47951 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
47952 maybe-html-target-libhsail-rt:
47953 @if target-libhsail-rt
47954 maybe-html-target-libhsail-rt: html-target-libhsail-rt
47956 html-target-libhsail-rt: \
47957 configure-target-libhsail-rt
47958 @: $(MAKE); $(unstage)
47959 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
47960 r=`${PWD_COMMAND}`; export r; \
47961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47962 $(NORMAL_TARGET_EXPORTS) \
47963 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
47964 for flag in $(EXTRA_TARGET_FLAGS); do \
47965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47966 done; \
47967 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47970 "RANLIB=$${RANLIB}" \
47971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47972 html) \
47973 || exit 1
47975 @endif target-libhsail-rt
47977 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
47978 maybe-TAGS-target-libhsail-rt:
47979 @if target-libhsail-rt
47980 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
47982 TAGS-target-libhsail-rt: \
47983 configure-target-libhsail-rt
47984 @: $(MAKE); $(unstage)
47985 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
47986 r=`${PWD_COMMAND}`; export r; \
47987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47988 $(NORMAL_TARGET_EXPORTS) \
47989 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
47990 for flag in $(EXTRA_TARGET_FLAGS); do \
47991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47992 done; \
47993 (cd $(TARGET_SUBDIR)/libhsail-rt && \
47994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47996 "RANLIB=$${RANLIB}" \
47997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47998 TAGS) \
47999 || exit 1
48001 @endif target-libhsail-rt
48003 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
48004 maybe-install-info-target-libhsail-rt:
48005 @if target-libhsail-rt
48006 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
48008 install-info-target-libhsail-rt: \
48009 configure-target-libhsail-rt \
48010 info-target-libhsail-rt
48011 @: $(MAKE); $(unstage)
48012 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48013 r=`${PWD_COMMAND}`; export r; \
48014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48015 $(NORMAL_TARGET_EXPORTS) \
48016 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
48017 for flag in $(EXTRA_TARGET_FLAGS); do \
48018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48019 done; \
48020 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48023 "RANLIB=$${RANLIB}" \
48024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48025 install-info) \
48026 || exit 1
48028 @endif target-libhsail-rt
48030 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
48031 maybe-install-pdf-target-libhsail-rt:
48032 @if target-libhsail-rt
48033 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
48035 install-pdf-target-libhsail-rt: \
48036 configure-target-libhsail-rt \
48037 pdf-target-libhsail-rt
48038 @: $(MAKE); $(unstage)
48039 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48040 r=`${PWD_COMMAND}`; export r; \
48041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48042 $(NORMAL_TARGET_EXPORTS) \
48043 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48044 for flag in $(EXTRA_TARGET_FLAGS); do \
48045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48046 done; \
48047 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48050 "RANLIB=$${RANLIB}" \
48051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48052 install-pdf) \
48053 || exit 1
48055 @endif target-libhsail-rt
48057 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
48058 maybe-install-html-target-libhsail-rt:
48059 @if target-libhsail-rt
48060 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
48062 install-html-target-libhsail-rt: \
48063 configure-target-libhsail-rt \
48064 html-target-libhsail-rt
48065 @: $(MAKE); $(unstage)
48066 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48067 r=`${PWD_COMMAND}`; export r; \
48068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48069 $(NORMAL_TARGET_EXPORTS) \
48070 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
48071 for flag in $(EXTRA_TARGET_FLAGS); do \
48072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48073 done; \
48074 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48077 "RANLIB=$${RANLIB}" \
48078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48079 install-html) \
48080 || exit 1
48082 @endif target-libhsail-rt
48084 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
48085 maybe-installcheck-target-libhsail-rt:
48086 @if target-libhsail-rt
48087 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
48089 installcheck-target-libhsail-rt: \
48090 configure-target-libhsail-rt
48091 @: $(MAKE); $(unstage)
48092 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48093 r=`${PWD_COMMAND}`; export r; \
48094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48095 $(NORMAL_TARGET_EXPORTS) \
48096 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
48097 for flag in $(EXTRA_TARGET_FLAGS); do \
48098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48099 done; \
48100 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48103 "RANLIB=$${RANLIB}" \
48104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48105 installcheck) \
48106 || exit 1
48108 @endif target-libhsail-rt
48110 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
48111 maybe-mostlyclean-target-libhsail-rt:
48112 @if target-libhsail-rt
48113 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
48115 mostlyclean-target-libhsail-rt:
48116 @: $(MAKE); $(unstage)
48117 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48118 r=`${PWD_COMMAND}`; export r; \
48119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48120 $(NORMAL_TARGET_EXPORTS) \
48121 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48122 for flag in $(EXTRA_TARGET_FLAGS); do \
48123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48124 done; \
48125 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48128 "RANLIB=$${RANLIB}" \
48129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48130 mostlyclean) \
48131 || exit 1
48133 @endif target-libhsail-rt
48135 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
48136 maybe-clean-target-libhsail-rt:
48137 @if target-libhsail-rt
48138 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
48140 clean-target-libhsail-rt:
48141 @: $(MAKE); $(unstage)
48142 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48143 r=`${PWD_COMMAND}`; export r; \
48144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48145 $(NORMAL_TARGET_EXPORTS) \
48146 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48147 for flag in $(EXTRA_TARGET_FLAGS); do \
48148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48149 done; \
48150 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48153 "RANLIB=$${RANLIB}" \
48154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48155 clean) \
48156 || exit 1
48158 @endif target-libhsail-rt
48160 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
48161 maybe-distclean-target-libhsail-rt:
48162 @if target-libhsail-rt
48163 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
48165 distclean-target-libhsail-rt:
48166 @: $(MAKE); $(unstage)
48167 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48168 r=`${PWD_COMMAND}`; export r; \
48169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48170 $(NORMAL_TARGET_EXPORTS) \
48171 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48172 for flag in $(EXTRA_TARGET_FLAGS); do \
48173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48174 done; \
48175 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48178 "RANLIB=$${RANLIB}" \
48179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48180 distclean) \
48181 || exit 1
48183 @endif target-libhsail-rt
48185 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
48186 maybe-maintainer-clean-target-libhsail-rt:
48187 @if target-libhsail-rt
48188 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
48190 maintainer-clean-target-libhsail-rt:
48191 @: $(MAKE); $(unstage)
48192 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48193 r=`${PWD_COMMAND}`; export r; \
48194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48195 $(NORMAL_TARGET_EXPORTS) \
48196 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48197 for flag in $(EXTRA_TARGET_FLAGS); do \
48198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48199 done; \
48200 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48203 "RANLIB=$${RANLIB}" \
48204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48205 maintainer-clean) \
48206 || exit 1
48208 @endif target-libhsail-rt
48214 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
48215 maybe-configure-target-libtermcap:
48216 @if gcc-bootstrap
48217 configure-target-libtermcap: stage_current
48218 @endif gcc-bootstrap
48219 @if target-libtermcap
48220 maybe-configure-target-libtermcap: configure-target-libtermcap
48221 configure-target-libtermcap:
48222 @: $(MAKE); $(unstage)
48223 @r=`${PWD_COMMAND}`; export r; \
48224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48225 echo "Checking multilib configuration for libtermcap..."; \
48226 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
48227 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
48228 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48229 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48230 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
48231 else \
48232 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
48233 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48234 fi; \
48235 else \
48236 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48237 fi; \
48238 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
48239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
48240 $(NORMAL_TARGET_EXPORTS) \
48241 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
48242 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
48243 case $(srcdir) in \
48244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48245 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
48246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48247 esac; \
48248 module_srcdir=libtermcap; \
48249 rm -f no-such-file || : ; \
48250 CONFIG_SITE=no-such-file $(SHELL) \
48251 $$s/$$module_srcdir/configure \
48252 --srcdir=$${topdir}/$$module_srcdir \
48253 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48254 --target=${target_alias} \
48255 || exit 1
48256 @endif target-libtermcap
48262 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
48263 maybe-all-target-libtermcap:
48264 @if gcc-bootstrap
48265 all-target-libtermcap: stage_current
48266 @endif gcc-bootstrap
48267 @if target-libtermcap
48268 TARGET-target-libtermcap=all
48269 maybe-all-target-libtermcap: all-target-libtermcap
48270 all-target-libtermcap: configure-target-libtermcap
48271 @: $(MAKE); $(unstage)
48272 @r=`${PWD_COMMAND}`; export r; \
48273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48274 $(NORMAL_TARGET_EXPORTS) \
48275 (cd $(TARGET_SUBDIR)/libtermcap && \
48276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48277 $(TARGET-target-libtermcap))
48278 @endif target-libtermcap
48284 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
48285 maybe-check-target-libtermcap:
48286 @if target-libtermcap
48287 maybe-check-target-libtermcap: check-target-libtermcap
48289 # Dummy target for uncheckable module.
48290 check-target-libtermcap:
48292 @endif target-libtermcap
48294 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
48295 maybe-install-target-libtermcap:
48296 @if target-libtermcap
48297 maybe-install-target-libtermcap: install-target-libtermcap
48299 install-target-libtermcap: installdirs
48300 @: $(MAKE); $(unstage)
48301 @r=`${PWD_COMMAND}`; export r; \
48302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48303 $(NORMAL_TARGET_EXPORTS) \
48304 (cd $(TARGET_SUBDIR)/libtermcap && \
48305 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48307 @endif target-libtermcap
48309 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
48310 maybe-install-strip-target-libtermcap:
48311 @if target-libtermcap
48312 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
48314 install-strip-target-libtermcap: installdirs
48315 @: $(MAKE); $(unstage)
48316 @r=`${PWD_COMMAND}`; export r; \
48317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48318 $(NORMAL_TARGET_EXPORTS) \
48319 (cd $(TARGET_SUBDIR)/libtermcap && \
48320 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48322 @endif target-libtermcap
48324 # Other targets (info, dvi, pdf, etc.)
48326 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
48327 maybe-info-target-libtermcap:
48328 @if target-libtermcap
48329 maybe-info-target-libtermcap: info-target-libtermcap
48331 info-target-libtermcap: \
48332 configure-target-libtermcap
48333 @: $(MAKE); $(unstage)
48334 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48335 r=`${PWD_COMMAND}`; export r; \
48336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48337 $(NORMAL_TARGET_EXPORTS) \
48338 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
48339 for flag in $(EXTRA_TARGET_FLAGS); do \
48340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48341 done; \
48342 (cd $(TARGET_SUBDIR)/libtermcap && \
48343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48345 "RANLIB=$${RANLIB}" \
48346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48347 info) \
48348 || exit 1
48350 @endif target-libtermcap
48352 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
48353 maybe-dvi-target-libtermcap:
48354 @if target-libtermcap
48355 maybe-dvi-target-libtermcap: dvi-target-libtermcap
48357 dvi-target-libtermcap: \
48358 configure-target-libtermcap
48359 @: $(MAKE); $(unstage)
48360 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48361 r=`${PWD_COMMAND}`; export r; \
48362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48363 $(NORMAL_TARGET_EXPORTS) \
48364 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
48365 for flag in $(EXTRA_TARGET_FLAGS); do \
48366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48367 done; \
48368 (cd $(TARGET_SUBDIR)/libtermcap && \
48369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48371 "RANLIB=$${RANLIB}" \
48372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48373 dvi) \
48374 || exit 1
48376 @endif target-libtermcap
48378 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
48379 maybe-pdf-target-libtermcap:
48380 @if target-libtermcap
48381 maybe-pdf-target-libtermcap: pdf-target-libtermcap
48383 pdf-target-libtermcap: \
48384 configure-target-libtermcap
48385 @: $(MAKE); $(unstage)
48386 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48387 r=`${PWD_COMMAND}`; export r; \
48388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48389 $(NORMAL_TARGET_EXPORTS) \
48390 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
48391 for flag in $(EXTRA_TARGET_FLAGS); do \
48392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48393 done; \
48394 (cd $(TARGET_SUBDIR)/libtermcap && \
48395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48397 "RANLIB=$${RANLIB}" \
48398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48399 pdf) \
48400 || exit 1
48402 @endif target-libtermcap
48404 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
48405 maybe-html-target-libtermcap:
48406 @if target-libtermcap
48407 maybe-html-target-libtermcap: html-target-libtermcap
48409 html-target-libtermcap: \
48410 configure-target-libtermcap
48411 @: $(MAKE); $(unstage)
48412 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48413 r=`${PWD_COMMAND}`; export r; \
48414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48415 $(NORMAL_TARGET_EXPORTS) \
48416 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
48417 for flag in $(EXTRA_TARGET_FLAGS); do \
48418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48419 done; \
48420 (cd $(TARGET_SUBDIR)/libtermcap && \
48421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48423 "RANLIB=$${RANLIB}" \
48424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48425 html) \
48426 || exit 1
48428 @endif target-libtermcap
48430 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
48431 maybe-TAGS-target-libtermcap:
48432 @if target-libtermcap
48433 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
48435 TAGS-target-libtermcap: \
48436 configure-target-libtermcap
48437 @: $(MAKE); $(unstage)
48438 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48439 r=`${PWD_COMMAND}`; export r; \
48440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48441 $(NORMAL_TARGET_EXPORTS) \
48442 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
48443 for flag in $(EXTRA_TARGET_FLAGS); do \
48444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48445 done; \
48446 (cd $(TARGET_SUBDIR)/libtermcap && \
48447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48449 "RANLIB=$${RANLIB}" \
48450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48451 TAGS) \
48452 || exit 1
48454 @endif target-libtermcap
48456 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
48457 maybe-install-info-target-libtermcap:
48458 @if target-libtermcap
48459 maybe-install-info-target-libtermcap: install-info-target-libtermcap
48461 install-info-target-libtermcap: \
48462 configure-target-libtermcap \
48463 info-target-libtermcap
48464 @: $(MAKE); $(unstage)
48465 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48466 r=`${PWD_COMMAND}`; export r; \
48467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48468 $(NORMAL_TARGET_EXPORTS) \
48469 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
48470 for flag in $(EXTRA_TARGET_FLAGS); do \
48471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48472 done; \
48473 (cd $(TARGET_SUBDIR)/libtermcap && \
48474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48476 "RANLIB=$${RANLIB}" \
48477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48478 install-info) \
48479 || exit 1
48481 @endif target-libtermcap
48483 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
48484 maybe-install-pdf-target-libtermcap:
48485 @if target-libtermcap
48486 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
48488 install-pdf-target-libtermcap: \
48489 configure-target-libtermcap \
48490 pdf-target-libtermcap
48491 @: $(MAKE); $(unstage)
48492 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48493 r=`${PWD_COMMAND}`; export r; \
48494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48495 $(NORMAL_TARGET_EXPORTS) \
48496 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
48497 for flag in $(EXTRA_TARGET_FLAGS); do \
48498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48499 done; \
48500 (cd $(TARGET_SUBDIR)/libtermcap && \
48501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48503 "RANLIB=$${RANLIB}" \
48504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48505 install-pdf) \
48506 || exit 1
48508 @endif target-libtermcap
48510 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
48511 maybe-install-html-target-libtermcap:
48512 @if target-libtermcap
48513 maybe-install-html-target-libtermcap: install-html-target-libtermcap
48515 install-html-target-libtermcap: \
48516 configure-target-libtermcap \
48517 html-target-libtermcap
48518 @: $(MAKE); $(unstage)
48519 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48520 r=`${PWD_COMMAND}`; export r; \
48521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48522 $(NORMAL_TARGET_EXPORTS) \
48523 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
48524 for flag in $(EXTRA_TARGET_FLAGS); do \
48525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48526 done; \
48527 (cd $(TARGET_SUBDIR)/libtermcap && \
48528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48530 "RANLIB=$${RANLIB}" \
48531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48532 install-html) \
48533 || exit 1
48535 @endif target-libtermcap
48537 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
48538 maybe-installcheck-target-libtermcap:
48539 @if target-libtermcap
48540 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
48542 installcheck-target-libtermcap: \
48543 configure-target-libtermcap
48544 @: $(MAKE); $(unstage)
48545 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48546 r=`${PWD_COMMAND}`; export r; \
48547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48548 $(NORMAL_TARGET_EXPORTS) \
48549 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
48550 for flag in $(EXTRA_TARGET_FLAGS); do \
48551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48552 done; \
48553 (cd $(TARGET_SUBDIR)/libtermcap && \
48554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48556 "RANLIB=$${RANLIB}" \
48557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48558 installcheck) \
48559 || exit 1
48561 @endif target-libtermcap
48563 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
48564 maybe-mostlyclean-target-libtermcap:
48565 @if target-libtermcap
48566 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
48568 # libtermcap doesn't support mostlyclean.
48569 mostlyclean-target-libtermcap:
48571 @endif target-libtermcap
48573 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
48574 maybe-clean-target-libtermcap:
48575 @if target-libtermcap
48576 maybe-clean-target-libtermcap: clean-target-libtermcap
48578 # libtermcap doesn't support clean.
48579 clean-target-libtermcap:
48581 @endif target-libtermcap
48583 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
48584 maybe-distclean-target-libtermcap:
48585 @if target-libtermcap
48586 maybe-distclean-target-libtermcap: distclean-target-libtermcap
48588 # libtermcap doesn't support distclean.
48589 distclean-target-libtermcap:
48591 @endif target-libtermcap
48593 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
48594 maybe-maintainer-clean-target-libtermcap:
48595 @if target-libtermcap
48596 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
48598 # libtermcap doesn't support maintainer-clean.
48599 maintainer-clean-target-libtermcap:
48601 @endif target-libtermcap
48607 .PHONY: configure-target-winsup maybe-configure-target-winsup
48608 maybe-configure-target-winsup:
48609 @if gcc-bootstrap
48610 configure-target-winsup: stage_current
48611 @endif gcc-bootstrap
48612 @if target-winsup
48613 maybe-configure-target-winsup: configure-target-winsup
48614 configure-target-winsup:
48615 @: $(MAKE); $(unstage)
48616 @r=`${PWD_COMMAND}`; export r; \
48617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48618 echo "Checking multilib configuration for winsup..."; \
48619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
48620 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
48621 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
48622 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
48623 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
48624 else \
48625 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
48626 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
48627 fi; \
48628 else \
48629 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
48630 fi; \
48631 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
48632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
48633 $(NORMAL_TARGET_EXPORTS) \
48634 echo Configuring in $(TARGET_SUBDIR)/winsup; \
48635 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
48636 case $(srcdir) in \
48637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48638 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
48639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48640 esac; \
48641 module_srcdir=winsup; \
48642 rm -f no-such-file || : ; \
48643 CONFIG_SITE=no-such-file $(SHELL) \
48644 $$s/$$module_srcdir/configure \
48645 --srcdir=$${topdir}/$$module_srcdir \
48646 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48647 --target=${target_alias} \
48648 || exit 1
48649 @endif target-winsup
48655 .PHONY: all-target-winsup maybe-all-target-winsup
48656 maybe-all-target-winsup:
48657 @if gcc-bootstrap
48658 all-target-winsup: stage_current
48659 @endif gcc-bootstrap
48660 @if target-winsup
48661 TARGET-target-winsup=all
48662 maybe-all-target-winsup: all-target-winsup
48663 all-target-winsup: configure-target-winsup
48664 @: $(MAKE); $(unstage)
48665 @r=`${PWD_COMMAND}`; export r; \
48666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48667 $(NORMAL_TARGET_EXPORTS) \
48668 (cd $(TARGET_SUBDIR)/winsup && \
48669 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48670 $(TARGET-target-winsup))
48671 @endif target-winsup
48677 .PHONY: check-target-winsup maybe-check-target-winsup
48678 maybe-check-target-winsup:
48679 @if target-winsup
48680 maybe-check-target-winsup: check-target-winsup
48682 check-target-winsup:
48683 @: $(MAKE); $(unstage)
48684 @r=`${PWD_COMMAND}`; export r; \
48685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48686 $(NORMAL_TARGET_EXPORTS) \
48687 (cd $(TARGET_SUBDIR)/winsup && \
48688 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48690 @endif target-winsup
48692 .PHONY: install-target-winsup maybe-install-target-winsup
48693 maybe-install-target-winsup:
48694 @if target-winsup
48695 maybe-install-target-winsup: install-target-winsup
48697 install-target-winsup: installdirs
48698 @: $(MAKE); $(unstage)
48699 @r=`${PWD_COMMAND}`; export r; \
48700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48701 $(NORMAL_TARGET_EXPORTS) \
48702 (cd $(TARGET_SUBDIR)/winsup && \
48703 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48705 @endif target-winsup
48707 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
48708 maybe-install-strip-target-winsup:
48709 @if target-winsup
48710 maybe-install-strip-target-winsup: install-strip-target-winsup
48712 install-strip-target-winsup: installdirs
48713 @: $(MAKE); $(unstage)
48714 @r=`${PWD_COMMAND}`; export r; \
48715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48716 $(NORMAL_TARGET_EXPORTS) \
48717 (cd $(TARGET_SUBDIR)/winsup && \
48718 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48720 @endif target-winsup
48722 # Other targets (info, dvi, pdf, etc.)
48724 .PHONY: maybe-info-target-winsup info-target-winsup
48725 maybe-info-target-winsup:
48726 @if target-winsup
48727 maybe-info-target-winsup: info-target-winsup
48729 info-target-winsup: \
48730 configure-target-winsup
48731 @: $(MAKE); $(unstage)
48732 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48733 r=`${PWD_COMMAND}`; export r; \
48734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48735 $(NORMAL_TARGET_EXPORTS) \
48736 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
48737 for flag in $(EXTRA_TARGET_FLAGS); do \
48738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48739 done; \
48740 (cd $(TARGET_SUBDIR)/winsup && \
48741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48743 "RANLIB=$${RANLIB}" \
48744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48745 info) \
48746 || exit 1
48748 @endif target-winsup
48750 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
48751 maybe-dvi-target-winsup:
48752 @if target-winsup
48753 maybe-dvi-target-winsup: dvi-target-winsup
48755 dvi-target-winsup: \
48756 configure-target-winsup
48757 @: $(MAKE); $(unstage)
48758 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48759 r=`${PWD_COMMAND}`; export r; \
48760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48761 $(NORMAL_TARGET_EXPORTS) \
48762 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
48763 for flag in $(EXTRA_TARGET_FLAGS); do \
48764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48765 done; \
48766 (cd $(TARGET_SUBDIR)/winsup && \
48767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48769 "RANLIB=$${RANLIB}" \
48770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48771 dvi) \
48772 || exit 1
48774 @endif target-winsup
48776 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
48777 maybe-pdf-target-winsup:
48778 @if target-winsup
48779 maybe-pdf-target-winsup: pdf-target-winsup
48781 pdf-target-winsup: \
48782 configure-target-winsup
48783 @: $(MAKE); $(unstage)
48784 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48785 r=`${PWD_COMMAND}`; export r; \
48786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48787 $(NORMAL_TARGET_EXPORTS) \
48788 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
48789 for flag in $(EXTRA_TARGET_FLAGS); do \
48790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48791 done; \
48792 (cd $(TARGET_SUBDIR)/winsup && \
48793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48795 "RANLIB=$${RANLIB}" \
48796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48797 pdf) \
48798 || exit 1
48800 @endif target-winsup
48802 .PHONY: maybe-html-target-winsup html-target-winsup
48803 maybe-html-target-winsup:
48804 @if target-winsup
48805 maybe-html-target-winsup: html-target-winsup
48807 html-target-winsup: \
48808 configure-target-winsup
48809 @: $(MAKE); $(unstage)
48810 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48811 r=`${PWD_COMMAND}`; export r; \
48812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48813 $(NORMAL_TARGET_EXPORTS) \
48814 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
48815 for flag in $(EXTRA_TARGET_FLAGS); do \
48816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48817 done; \
48818 (cd $(TARGET_SUBDIR)/winsup && \
48819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48821 "RANLIB=$${RANLIB}" \
48822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48823 html) \
48824 || exit 1
48826 @endif target-winsup
48828 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
48829 maybe-TAGS-target-winsup:
48830 @if target-winsup
48831 maybe-TAGS-target-winsup: TAGS-target-winsup
48833 TAGS-target-winsup: \
48834 configure-target-winsup
48835 @: $(MAKE); $(unstage)
48836 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48837 r=`${PWD_COMMAND}`; export r; \
48838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48839 $(NORMAL_TARGET_EXPORTS) \
48840 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
48841 for flag in $(EXTRA_TARGET_FLAGS); do \
48842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48843 done; \
48844 (cd $(TARGET_SUBDIR)/winsup && \
48845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48847 "RANLIB=$${RANLIB}" \
48848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48849 TAGS) \
48850 || exit 1
48852 @endif target-winsup
48854 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
48855 maybe-install-info-target-winsup:
48856 @if target-winsup
48857 maybe-install-info-target-winsup: install-info-target-winsup
48859 install-info-target-winsup: \
48860 configure-target-winsup \
48861 info-target-winsup
48862 @: $(MAKE); $(unstage)
48863 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48864 r=`${PWD_COMMAND}`; export r; \
48865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48866 $(NORMAL_TARGET_EXPORTS) \
48867 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
48868 for flag in $(EXTRA_TARGET_FLAGS); do \
48869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48870 done; \
48871 (cd $(TARGET_SUBDIR)/winsup && \
48872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48874 "RANLIB=$${RANLIB}" \
48875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48876 install-info) \
48877 || exit 1
48879 @endif target-winsup
48881 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
48882 maybe-install-pdf-target-winsup:
48883 @if target-winsup
48884 maybe-install-pdf-target-winsup: install-pdf-target-winsup
48886 install-pdf-target-winsup: \
48887 configure-target-winsup \
48888 pdf-target-winsup
48889 @: $(MAKE); $(unstage)
48890 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48891 r=`${PWD_COMMAND}`; export r; \
48892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48893 $(NORMAL_TARGET_EXPORTS) \
48894 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
48895 for flag in $(EXTRA_TARGET_FLAGS); do \
48896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48897 done; \
48898 (cd $(TARGET_SUBDIR)/winsup && \
48899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48901 "RANLIB=$${RANLIB}" \
48902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48903 install-pdf) \
48904 || exit 1
48906 @endif target-winsup
48908 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
48909 maybe-install-html-target-winsup:
48910 @if target-winsup
48911 maybe-install-html-target-winsup: install-html-target-winsup
48913 install-html-target-winsup: \
48914 configure-target-winsup \
48915 html-target-winsup
48916 @: $(MAKE); $(unstage)
48917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48918 r=`${PWD_COMMAND}`; export r; \
48919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48920 $(NORMAL_TARGET_EXPORTS) \
48921 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
48922 for flag in $(EXTRA_TARGET_FLAGS); do \
48923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48924 done; \
48925 (cd $(TARGET_SUBDIR)/winsup && \
48926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48928 "RANLIB=$${RANLIB}" \
48929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48930 install-html) \
48931 || exit 1
48933 @endif target-winsup
48935 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
48936 maybe-installcheck-target-winsup:
48937 @if target-winsup
48938 maybe-installcheck-target-winsup: installcheck-target-winsup
48940 installcheck-target-winsup: \
48941 configure-target-winsup
48942 @: $(MAKE); $(unstage)
48943 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48944 r=`${PWD_COMMAND}`; export r; \
48945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48946 $(NORMAL_TARGET_EXPORTS) \
48947 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
48948 for flag in $(EXTRA_TARGET_FLAGS); do \
48949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48950 done; \
48951 (cd $(TARGET_SUBDIR)/winsup && \
48952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48954 "RANLIB=$${RANLIB}" \
48955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48956 installcheck) \
48957 || exit 1
48959 @endif target-winsup
48961 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
48962 maybe-mostlyclean-target-winsup:
48963 @if target-winsup
48964 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
48966 mostlyclean-target-winsup:
48967 @: $(MAKE); $(unstage)
48968 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48969 r=`${PWD_COMMAND}`; export r; \
48970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48971 $(NORMAL_TARGET_EXPORTS) \
48972 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
48973 for flag in $(EXTRA_TARGET_FLAGS); do \
48974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48975 done; \
48976 (cd $(TARGET_SUBDIR)/winsup && \
48977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48979 "RANLIB=$${RANLIB}" \
48980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48981 mostlyclean) \
48982 || exit 1
48984 @endif target-winsup
48986 .PHONY: maybe-clean-target-winsup clean-target-winsup
48987 maybe-clean-target-winsup:
48988 @if target-winsup
48989 maybe-clean-target-winsup: clean-target-winsup
48991 clean-target-winsup:
48992 @: $(MAKE); $(unstage)
48993 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48994 r=`${PWD_COMMAND}`; export r; \
48995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48996 $(NORMAL_TARGET_EXPORTS) \
48997 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
48998 for flag in $(EXTRA_TARGET_FLAGS); do \
48999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49000 done; \
49001 (cd $(TARGET_SUBDIR)/winsup && \
49002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49004 "RANLIB=$${RANLIB}" \
49005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49006 clean) \
49007 || exit 1
49009 @endif target-winsup
49011 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
49012 maybe-distclean-target-winsup:
49013 @if target-winsup
49014 maybe-distclean-target-winsup: distclean-target-winsup
49016 distclean-target-winsup:
49017 @: $(MAKE); $(unstage)
49018 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49019 r=`${PWD_COMMAND}`; export r; \
49020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49021 $(NORMAL_TARGET_EXPORTS) \
49022 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
49023 for flag in $(EXTRA_TARGET_FLAGS); do \
49024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49025 done; \
49026 (cd $(TARGET_SUBDIR)/winsup && \
49027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49029 "RANLIB=$${RANLIB}" \
49030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49031 distclean) \
49032 || exit 1
49034 @endif target-winsup
49036 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
49037 maybe-maintainer-clean-target-winsup:
49038 @if target-winsup
49039 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
49041 maintainer-clean-target-winsup:
49042 @: $(MAKE); $(unstage)
49043 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49044 r=`${PWD_COMMAND}`; export r; \
49045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49046 $(NORMAL_TARGET_EXPORTS) \
49047 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
49048 for flag in $(EXTRA_TARGET_FLAGS); do \
49049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49050 done; \
49051 (cd $(TARGET_SUBDIR)/winsup && \
49052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49054 "RANLIB=$${RANLIB}" \
49055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49056 maintainer-clean) \
49057 || exit 1
49059 @endif target-winsup
49065 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
49066 maybe-configure-target-libgloss:
49067 @if gcc-bootstrap
49068 configure-target-libgloss: stage_current
49069 @endif gcc-bootstrap
49070 @if target-libgloss
49071 maybe-configure-target-libgloss: configure-target-libgloss
49072 configure-target-libgloss:
49073 @: $(MAKE); $(unstage)
49074 @r=`${PWD_COMMAND}`; export r; \
49075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49076 echo "Checking multilib configuration for libgloss..."; \
49077 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
49078 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
49079 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49080 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49081 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
49082 else \
49083 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
49084 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49085 fi; \
49086 else \
49087 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49088 fi; \
49089 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
49090 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
49091 $(NORMAL_TARGET_EXPORTS) \
49092 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
49093 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
49094 case $(srcdir) in \
49095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49096 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
49097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49098 esac; \
49099 module_srcdir=libgloss; \
49100 rm -f no-such-file || : ; \
49101 CONFIG_SITE=no-such-file $(SHELL) \
49102 $$s/$$module_srcdir/configure \
49103 --srcdir=$${topdir}/$$module_srcdir \
49104 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49105 --target=${target_alias} \
49106 || exit 1
49107 @endif target-libgloss
49113 .PHONY: all-target-libgloss maybe-all-target-libgloss
49114 maybe-all-target-libgloss:
49115 @if gcc-bootstrap
49116 all-target-libgloss: stage_current
49117 @endif gcc-bootstrap
49118 @if target-libgloss
49119 TARGET-target-libgloss=all
49120 maybe-all-target-libgloss: all-target-libgloss
49121 all-target-libgloss: configure-target-libgloss
49122 @: $(MAKE); $(unstage)
49123 @r=`${PWD_COMMAND}`; export r; \
49124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49125 $(NORMAL_TARGET_EXPORTS) \
49126 (cd $(TARGET_SUBDIR)/libgloss && \
49127 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49128 $(TARGET-target-libgloss))
49129 @endif target-libgloss
49135 .PHONY: check-target-libgloss maybe-check-target-libgloss
49136 maybe-check-target-libgloss:
49137 @if target-libgloss
49138 maybe-check-target-libgloss: check-target-libgloss
49140 # Dummy target for uncheckable module.
49141 check-target-libgloss:
49143 @endif target-libgloss
49145 .PHONY: install-target-libgloss maybe-install-target-libgloss
49146 maybe-install-target-libgloss:
49147 @if target-libgloss
49148 maybe-install-target-libgloss: install-target-libgloss
49150 install-target-libgloss: installdirs
49151 @: $(MAKE); $(unstage)
49152 @r=`${PWD_COMMAND}`; export r; \
49153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49154 $(NORMAL_TARGET_EXPORTS) \
49155 (cd $(TARGET_SUBDIR)/libgloss && \
49156 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49158 @endif target-libgloss
49160 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
49161 maybe-install-strip-target-libgloss:
49162 @if target-libgloss
49163 maybe-install-strip-target-libgloss: install-strip-target-libgloss
49165 install-strip-target-libgloss: installdirs
49166 @: $(MAKE); $(unstage)
49167 @r=`${PWD_COMMAND}`; export r; \
49168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49169 $(NORMAL_TARGET_EXPORTS) \
49170 (cd $(TARGET_SUBDIR)/libgloss && \
49171 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49173 @endif target-libgloss
49175 # Other targets (info, dvi, pdf, etc.)
49177 .PHONY: maybe-info-target-libgloss info-target-libgloss
49178 maybe-info-target-libgloss:
49179 @if target-libgloss
49180 maybe-info-target-libgloss: info-target-libgloss
49182 info-target-libgloss: \
49183 configure-target-libgloss
49184 @: $(MAKE); $(unstage)
49185 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49186 r=`${PWD_COMMAND}`; export r; \
49187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49188 $(NORMAL_TARGET_EXPORTS) \
49189 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
49190 for flag in $(EXTRA_TARGET_FLAGS); do \
49191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49192 done; \
49193 (cd $(TARGET_SUBDIR)/libgloss && \
49194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49196 "RANLIB=$${RANLIB}" \
49197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49198 info) \
49199 || exit 1
49201 @endif target-libgloss
49203 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
49204 maybe-dvi-target-libgloss:
49205 @if target-libgloss
49206 maybe-dvi-target-libgloss: dvi-target-libgloss
49208 dvi-target-libgloss: \
49209 configure-target-libgloss
49210 @: $(MAKE); $(unstage)
49211 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49212 r=`${PWD_COMMAND}`; export r; \
49213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49214 $(NORMAL_TARGET_EXPORTS) \
49215 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
49216 for flag in $(EXTRA_TARGET_FLAGS); do \
49217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49218 done; \
49219 (cd $(TARGET_SUBDIR)/libgloss && \
49220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49222 "RANLIB=$${RANLIB}" \
49223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49224 dvi) \
49225 || exit 1
49227 @endif target-libgloss
49229 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
49230 maybe-pdf-target-libgloss:
49231 @if target-libgloss
49232 maybe-pdf-target-libgloss: pdf-target-libgloss
49234 pdf-target-libgloss: \
49235 configure-target-libgloss
49236 @: $(MAKE); $(unstage)
49237 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49238 r=`${PWD_COMMAND}`; export r; \
49239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49240 $(NORMAL_TARGET_EXPORTS) \
49241 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
49242 for flag in $(EXTRA_TARGET_FLAGS); do \
49243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49244 done; \
49245 (cd $(TARGET_SUBDIR)/libgloss && \
49246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49248 "RANLIB=$${RANLIB}" \
49249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49250 pdf) \
49251 || exit 1
49253 @endif target-libgloss
49255 .PHONY: maybe-html-target-libgloss html-target-libgloss
49256 maybe-html-target-libgloss:
49257 @if target-libgloss
49258 maybe-html-target-libgloss: html-target-libgloss
49260 html-target-libgloss: \
49261 configure-target-libgloss
49262 @: $(MAKE); $(unstage)
49263 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49264 r=`${PWD_COMMAND}`; export r; \
49265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49266 $(NORMAL_TARGET_EXPORTS) \
49267 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
49268 for flag in $(EXTRA_TARGET_FLAGS); do \
49269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49270 done; \
49271 (cd $(TARGET_SUBDIR)/libgloss && \
49272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49274 "RANLIB=$${RANLIB}" \
49275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49276 html) \
49277 || exit 1
49279 @endif target-libgloss
49281 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
49282 maybe-TAGS-target-libgloss:
49283 @if target-libgloss
49284 maybe-TAGS-target-libgloss: TAGS-target-libgloss
49286 TAGS-target-libgloss: \
49287 configure-target-libgloss
49288 @: $(MAKE); $(unstage)
49289 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49290 r=`${PWD_COMMAND}`; export r; \
49291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49292 $(NORMAL_TARGET_EXPORTS) \
49293 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
49294 for flag in $(EXTRA_TARGET_FLAGS); do \
49295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49296 done; \
49297 (cd $(TARGET_SUBDIR)/libgloss && \
49298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49300 "RANLIB=$${RANLIB}" \
49301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49302 TAGS) \
49303 || exit 1
49305 @endif target-libgloss
49307 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
49308 maybe-install-info-target-libgloss:
49309 @if target-libgloss
49310 maybe-install-info-target-libgloss: install-info-target-libgloss
49312 install-info-target-libgloss: \
49313 configure-target-libgloss \
49314 info-target-libgloss
49315 @: $(MAKE); $(unstage)
49316 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49317 r=`${PWD_COMMAND}`; export r; \
49318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49319 $(NORMAL_TARGET_EXPORTS) \
49320 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
49321 for flag in $(EXTRA_TARGET_FLAGS); do \
49322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49323 done; \
49324 (cd $(TARGET_SUBDIR)/libgloss && \
49325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49327 "RANLIB=$${RANLIB}" \
49328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49329 install-info) \
49330 || exit 1
49332 @endif target-libgloss
49334 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
49335 maybe-install-pdf-target-libgloss:
49336 @if target-libgloss
49337 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
49339 install-pdf-target-libgloss: \
49340 configure-target-libgloss \
49341 pdf-target-libgloss
49342 @: $(MAKE); $(unstage)
49343 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49344 r=`${PWD_COMMAND}`; export r; \
49345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49346 $(NORMAL_TARGET_EXPORTS) \
49347 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
49348 for flag in $(EXTRA_TARGET_FLAGS); do \
49349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49350 done; \
49351 (cd $(TARGET_SUBDIR)/libgloss && \
49352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49354 "RANLIB=$${RANLIB}" \
49355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49356 install-pdf) \
49357 || exit 1
49359 @endif target-libgloss
49361 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
49362 maybe-install-html-target-libgloss:
49363 @if target-libgloss
49364 maybe-install-html-target-libgloss: install-html-target-libgloss
49366 install-html-target-libgloss: \
49367 configure-target-libgloss \
49368 html-target-libgloss
49369 @: $(MAKE); $(unstage)
49370 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49371 r=`${PWD_COMMAND}`; export r; \
49372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49373 $(NORMAL_TARGET_EXPORTS) \
49374 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
49375 for flag in $(EXTRA_TARGET_FLAGS); do \
49376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49377 done; \
49378 (cd $(TARGET_SUBDIR)/libgloss && \
49379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49381 "RANLIB=$${RANLIB}" \
49382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49383 install-html) \
49384 || exit 1
49386 @endif target-libgloss
49388 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
49389 maybe-installcheck-target-libgloss:
49390 @if target-libgloss
49391 maybe-installcheck-target-libgloss: installcheck-target-libgloss
49393 installcheck-target-libgloss: \
49394 configure-target-libgloss
49395 @: $(MAKE); $(unstage)
49396 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49397 r=`${PWD_COMMAND}`; export r; \
49398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49399 $(NORMAL_TARGET_EXPORTS) \
49400 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
49401 for flag in $(EXTRA_TARGET_FLAGS); do \
49402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49403 done; \
49404 (cd $(TARGET_SUBDIR)/libgloss && \
49405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49407 "RANLIB=$${RANLIB}" \
49408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49409 installcheck) \
49410 || exit 1
49412 @endif target-libgloss
49414 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
49415 maybe-mostlyclean-target-libgloss:
49416 @if target-libgloss
49417 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
49419 mostlyclean-target-libgloss:
49420 @: $(MAKE); $(unstage)
49421 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49422 r=`${PWD_COMMAND}`; export r; \
49423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49424 $(NORMAL_TARGET_EXPORTS) \
49425 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
49426 for flag in $(EXTRA_TARGET_FLAGS); do \
49427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49428 done; \
49429 (cd $(TARGET_SUBDIR)/libgloss && \
49430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49432 "RANLIB=$${RANLIB}" \
49433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49434 mostlyclean) \
49435 || exit 1
49437 @endif target-libgloss
49439 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
49440 maybe-clean-target-libgloss:
49441 @if target-libgloss
49442 maybe-clean-target-libgloss: clean-target-libgloss
49444 clean-target-libgloss:
49445 @: $(MAKE); $(unstage)
49446 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49447 r=`${PWD_COMMAND}`; export r; \
49448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49449 $(NORMAL_TARGET_EXPORTS) \
49450 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
49451 for flag in $(EXTRA_TARGET_FLAGS); do \
49452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49453 done; \
49454 (cd $(TARGET_SUBDIR)/libgloss && \
49455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49457 "RANLIB=$${RANLIB}" \
49458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49459 clean) \
49460 || exit 1
49462 @endif target-libgloss
49464 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
49465 maybe-distclean-target-libgloss:
49466 @if target-libgloss
49467 maybe-distclean-target-libgloss: distclean-target-libgloss
49469 distclean-target-libgloss:
49470 @: $(MAKE); $(unstage)
49471 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49472 r=`${PWD_COMMAND}`; export r; \
49473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49474 $(NORMAL_TARGET_EXPORTS) \
49475 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
49476 for flag in $(EXTRA_TARGET_FLAGS); do \
49477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49478 done; \
49479 (cd $(TARGET_SUBDIR)/libgloss && \
49480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49482 "RANLIB=$${RANLIB}" \
49483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49484 distclean) \
49485 || exit 1
49487 @endif target-libgloss
49489 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
49490 maybe-maintainer-clean-target-libgloss:
49491 @if target-libgloss
49492 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
49494 maintainer-clean-target-libgloss:
49495 @: $(MAKE); $(unstage)
49496 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49497 r=`${PWD_COMMAND}`; export r; \
49498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49499 $(NORMAL_TARGET_EXPORTS) \
49500 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
49501 for flag in $(EXTRA_TARGET_FLAGS); do \
49502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49503 done; \
49504 (cd $(TARGET_SUBDIR)/libgloss && \
49505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49507 "RANLIB=$${RANLIB}" \
49508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49509 maintainer-clean) \
49510 || exit 1
49512 @endif target-libgloss
49518 .PHONY: configure-target-libffi maybe-configure-target-libffi
49519 maybe-configure-target-libffi:
49520 @if gcc-bootstrap
49521 configure-target-libffi: stage_current
49522 @endif gcc-bootstrap
49523 @if target-libffi
49524 maybe-configure-target-libffi: configure-target-libffi
49525 configure-target-libffi:
49526 @: $(MAKE); $(unstage)
49527 @r=`${PWD_COMMAND}`; export r; \
49528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49529 echo "Checking multilib configuration for libffi..."; \
49530 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
49531 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
49532 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
49533 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
49534 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
49535 else \
49536 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
49537 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
49538 fi; \
49539 else \
49540 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
49541 fi; \
49542 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
49543 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
49544 $(NORMAL_TARGET_EXPORTS) \
49545 echo Configuring in $(TARGET_SUBDIR)/libffi; \
49546 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
49547 case $(srcdir) in \
49548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49549 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
49550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49551 esac; \
49552 module_srcdir=libffi; \
49553 rm -f no-such-file || : ; \
49554 CONFIG_SITE=no-such-file $(SHELL) \
49555 $$s/$$module_srcdir/configure \
49556 --srcdir=$${topdir}/$$module_srcdir \
49557 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49558 --target=${target_alias} \
49559 || exit 1
49560 @endif target-libffi
49566 .PHONY: all-target-libffi maybe-all-target-libffi
49567 maybe-all-target-libffi:
49568 @if gcc-bootstrap
49569 all-target-libffi: stage_current
49570 @endif gcc-bootstrap
49571 @if target-libffi
49572 TARGET-target-libffi=all
49573 maybe-all-target-libffi: all-target-libffi
49574 all-target-libffi: configure-target-libffi
49575 @: $(MAKE); $(unstage)
49576 @r=`${PWD_COMMAND}`; export r; \
49577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49578 $(NORMAL_TARGET_EXPORTS) \
49579 (cd $(TARGET_SUBDIR)/libffi && \
49580 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49581 $(TARGET-target-libffi))
49582 @endif target-libffi
49588 .PHONY: check-target-libffi maybe-check-target-libffi
49589 maybe-check-target-libffi:
49590 @if target-libffi
49591 maybe-check-target-libffi: check-target-libffi
49593 check-target-libffi:
49594 @: $(MAKE); $(unstage)
49595 @r=`${PWD_COMMAND}`; export r; \
49596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49597 $(NORMAL_TARGET_EXPORTS) \
49598 (cd $(TARGET_SUBDIR)/libffi && \
49599 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49601 @endif target-libffi
49603 .PHONY: install-target-libffi maybe-install-target-libffi
49604 maybe-install-target-libffi:
49605 @if target-libffi
49606 maybe-install-target-libffi: install-target-libffi
49608 # Dummy target for uninstallable.
49609 install-target-libffi:
49611 @endif target-libffi
49613 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
49614 maybe-install-strip-target-libffi:
49615 @if target-libffi
49616 maybe-install-strip-target-libffi: install-strip-target-libffi
49618 # Dummy target for uninstallable.
49619 install-strip-target-libffi:
49621 @endif target-libffi
49623 # Other targets (info, dvi, pdf, etc.)
49625 .PHONY: maybe-info-target-libffi info-target-libffi
49626 maybe-info-target-libffi:
49627 @if target-libffi
49628 maybe-info-target-libffi: info-target-libffi
49630 info-target-libffi: \
49631 configure-target-libffi
49632 @: $(MAKE); $(unstage)
49633 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49634 r=`${PWD_COMMAND}`; export r; \
49635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49636 $(NORMAL_TARGET_EXPORTS) \
49637 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
49638 for flag in $(EXTRA_TARGET_FLAGS); do \
49639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49640 done; \
49641 (cd $(TARGET_SUBDIR)/libffi && \
49642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49644 "RANLIB=$${RANLIB}" \
49645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49646 info) \
49647 || exit 1
49649 @endif target-libffi
49651 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
49652 maybe-dvi-target-libffi:
49653 @if target-libffi
49654 maybe-dvi-target-libffi: dvi-target-libffi
49656 dvi-target-libffi: \
49657 configure-target-libffi
49658 @: $(MAKE); $(unstage)
49659 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49660 r=`${PWD_COMMAND}`; export r; \
49661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49662 $(NORMAL_TARGET_EXPORTS) \
49663 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
49664 for flag in $(EXTRA_TARGET_FLAGS); do \
49665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49666 done; \
49667 (cd $(TARGET_SUBDIR)/libffi && \
49668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49670 "RANLIB=$${RANLIB}" \
49671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49672 dvi) \
49673 || exit 1
49675 @endif target-libffi
49677 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
49678 maybe-pdf-target-libffi:
49679 @if target-libffi
49680 maybe-pdf-target-libffi: pdf-target-libffi
49682 pdf-target-libffi: \
49683 configure-target-libffi
49684 @: $(MAKE); $(unstage)
49685 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49686 r=`${PWD_COMMAND}`; export r; \
49687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49688 $(NORMAL_TARGET_EXPORTS) \
49689 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
49690 for flag in $(EXTRA_TARGET_FLAGS); do \
49691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49692 done; \
49693 (cd $(TARGET_SUBDIR)/libffi && \
49694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49696 "RANLIB=$${RANLIB}" \
49697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49698 pdf) \
49699 || exit 1
49701 @endif target-libffi
49703 .PHONY: maybe-html-target-libffi html-target-libffi
49704 maybe-html-target-libffi:
49705 @if target-libffi
49706 maybe-html-target-libffi: html-target-libffi
49708 html-target-libffi: \
49709 configure-target-libffi
49710 @: $(MAKE); $(unstage)
49711 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49712 r=`${PWD_COMMAND}`; export r; \
49713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49714 $(NORMAL_TARGET_EXPORTS) \
49715 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
49716 for flag in $(EXTRA_TARGET_FLAGS); do \
49717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49718 done; \
49719 (cd $(TARGET_SUBDIR)/libffi && \
49720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49722 "RANLIB=$${RANLIB}" \
49723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49724 html) \
49725 || exit 1
49727 @endif target-libffi
49729 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
49730 maybe-TAGS-target-libffi:
49731 @if target-libffi
49732 maybe-TAGS-target-libffi: TAGS-target-libffi
49734 TAGS-target-libffi: \
49735 configure-target-libffi
49736 @: $(MAKE); $(unstage)
49737 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49738 r=`${PWD_COMMAND}`; export r; \
49739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49740 $(NORMAL_TARGET_EXPORTS) \
49741 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
49742 for flag in $(EXTRA_TARGET_FLAGS); do \
49743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49744 done; \
49745 (cd $(TARGET_SUBDIR)/libffi && \
49746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49748 "RANLIB=$${RANLIB}" \
49749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49750 TAGS) \
49751 || exit 1
49753 @endif target-libffi
49755 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
49756 maybe-install-info-target-libffi:
49757 @if target-libffi
49758 maybe-install-info-target-libffi: install-info-target-libffi
49760 install-info-target-libffi: \
49761 configure-target-libffi \
49762 info-target-libffi
49763 @: $(MAKE); $(unstage)
49764 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49765 r=`${PWD_COMMAND}`; export r; \
49766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49767 $(NORMAL_TARGET_EXPORTS) \
49768 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
49769 for flag in $(EXTRA_TARGET_FLAGS); do \
49770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49771 done; \
49772 (cd $(TARGET_SUBDIR)/libffi && \
49773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49775 "RANLIB=$${RANLIB}" \
49776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49777 install-info) \
49778 || exit 1
49780 @endif target-libffi
49782 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
49783 maybe-install-pdf-target-libffi:
49784 @if target-libffi
49785 maybe-install-pdf-target-libffi: install-pdf-target-libffi
49787 install-pdf-target-libffi: \
49788 configure-target-libffi \
49789 pdf-target-libffi
49790 @: $(MAKE); $(unstage)
49791 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49792 r=`${PWD_COMMAND}`; export r; \
49793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49794 $(NORMAL_TARGET_EXPORTS) \
49795 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
49796 for flag in $(EXTRA_TARGET_FLAGS); do \
49797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49798 done; \
49799 (cd $(TARGET_SUBDIR)/libffi && \
49800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49802 "RANLIB=$${RANLIB}" \
49803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49804 install-pdf) \
49805 || exit 1
49807 @endif target-libffi
49809 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
49810 maybe-install-html-target-libffi:
49811 @if target-libffi
49812 maybe-install-html-target-libffi: install-html-target-libffi
49814 install-html-target-libffi: \
49815 configure-target-libffi \
49816 html-target-libffi
49817 @: $(MAKE); $(unstage)
49818 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49819 r=`${PWD_COMMAND}`; export r; \
49820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49821 $(NORMAL_TARGET_EXPORTS) \
49822 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
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)/libffi && \
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 install-html) \
49832 || exit 1
49834 @endif target-libffi
49836 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
49837 maybe-installcheck-target-libffi:
49838 @if target-libffi
49839 maybe-installcheck-target-libffi: installcheck-target-libffi
49841 installcheck-target-libffi: \
49842 configure-target-libffi
49843 @: $(MAKE); $(unstage)
49844 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49845 r=`${PWD_COMMAND}`; export r; \
49846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49847 $(NORMAL_TARGET_EXPORTS) \
49848 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
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)/libffi && \
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 installcheck) \
49858 || exit 1
49860 @endif target-libffi
49862 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
49863 maybe-mostlyclean-target-libffi:
49864 @if target-libffi
49865 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
49867 mostlyclean-target-libffi:
49868 @: $(MAKE); $(unstage)
49869 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49870 r=`${PWD_COMMAND}`; export r; \
49871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49872 $(NORMAL_TARGET_EXPORTS) \
49873 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
49874 for flag in $(EXTRA_TARGET_FLAGS); do \
49875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49876 done; \
49877 (cd $(TARGET_SUBDIR)/libffi && \
49878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49880 "RANLIB=$${RANLIB}" \
49881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49882 mostlyclean) \
49883 || exit 1
49885 @endif target-libffi
49887 .PHONY: maybe-clean-target-libffi clean-target-libffi
49888 maybe-clean-target-libffi:
49889 @if target-libffi
49890 maybe-clean-target-libffi: clean-target-libffi
49892 clean-target-libffi:
49893 @: $(MAKE); $(unstage)
49894 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49895 r=`${PWD_COMMAND}`; export r; \
49896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49897 $(NORMAL_TARGET_EXPORTS) \
49898 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
49899 for flag in $(EXTRA_TARGET_FLAGS); do \
49900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49901 done; \
49902 (cd $(TARGET_SUBDIR)/libffi && \
49903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49905 "RANLIB=$${RANLIB}" \
49906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49907 clean) \
49908 || exit 1
49910 @endif target-libffi
49912 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
49913 maybe-distclean-target-libffi:
49914 @if target-libffi
49915 maybe-distclean-target-libffi: distclean-target-libffi
49917 distclean-target-libffi:
49918 @: $(MAKE); $(unstage)
49919 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49920 r=`${PWD_COMMAND}`; export r; \
49921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49922 $(NORMAL_TARGET_EXPORTS) \
49923 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
49924 for flag in $(EXTRA_TARGET_FLAGS); do \
49925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49926 done; \
49927 (cd $(TARGET_SUBDIR)/libffi && \
49928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49930 "RANLIB=$${RANLIB}" \
49931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49932 distclean) \
49933 || exit 1
49935 @endif target-libffi
49937 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
49938 maybe-maintainer-clean-target-libffi:
49939 @if target-libffi
49940 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
49942 maintainer-clean-target-libffi:
49943 @: $(MAKE); $(unstage)
49944 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49945 r=`${PWD_COMMAND}`; export r; \
49946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49947 $(NORMAL_TARGET_EXPORTS) \
49948 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
49949 for flag in $(EXTRA_TARGET_FLAGS); do \
49950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49951 done; \
49952 (cd $(TARGET_SUBDIR)/libffi && \
49953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49955 "RANLIB=$${RANLIB}" \
49956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49957 maintainer-clean) \
49958 || exit 1
49960 @endif target-libffi
49966 .PHONY: configure-target-zlib maybe-configure-target-zlib
49967 maybe-configure-target-zlib:
49968 @if gcc-bootstrap
49969 configure-target-zlib: stage_current
49970 @endif gcc-bootstrap
49971 @if target-zlib
49972 maybe-configure-target-zlib: configure-target-zlib
49973 configure-target-zlib:
49974 @: $(MAKE); $(unstage)
49975 @r=`${PWD_COMMAND}`; export r; \
49976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49977 echo "Checking multilib configuration for zlib..."; \
49978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
49979 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
49980 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
49981 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
49982 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
49983 else \
49984 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
49985 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49986 fi; \
49987 else \
49988 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49989 fi; \
49990 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
49991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
49992 $(NORMAL_TARGET_EXPORTS) \
49993 echo Configuring in $(TARGET_SUBDIR)/zlib; \
49994 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
49995 case $(srcdir) in \
49996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49997 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
49998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49999 esac; \
50000 module_srcdir=zlib; \
50001 rm -f no-such-file || : ; \
50002 CONFIG_SITE=no-such-file $(SHELL) \
50003 $$s/$$module_srcdir/configure \
50004 --srcdir=$${topdir}/$$module_srcdir \
50005 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50006 --target=${target_alias} \
50007 || exit 1
50008 @endif target-zlib
50014 .PHONY: all-target-zlib maybe-all-target-zlib
50015 maybe-all-target-zlib:
50016 @if gcc-bootstrap
50017 all-target-zlib: stage_current
50018 @endif gcc-bootstrap
50019 @if target-zlib
50020 TARGET-target-zlib=all
50021 maybe-all-target-zlib: all-target-zlib
50022 all-target-zlib: configure-target-zlib
50023 @: $(MAKE); $(unstage)
50024 @r=`${PWD_COMMAND}`; export r; \
50025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50026 $(NORMAL_TARGET_EXPORTS) \
50027 (cd $(TARGET_SUBDIR)/zlib && \
50028 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50029 $(TARGET-target-zlib))
50030 @endif target-zlib
50036 .PHONY: check-target-zlib maybe-check-target-zlib
50037 maybe-check-target-zlib:
50038 @if target-zlib
50039 maybe-check-target-zlib: check-target-zlib
50041 check-target-zlib:
50042 @: $(MAKE); $(unstage)
50043 @r=`${PWD_COMMAND}`; export r; \
50044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50045 $(NORMAL_TARGET_EXPORTS) \
50046 (cd $(TARGET_SUBDIR)/zlib && \
50047 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50049 @endif target-zlib
50051 .PHONY: install-target-zlib maybe-install-target-zlib
50052 maybe-install-target-zlib:
50053 @if target-zlib
50054 maybe-install-target-zlib: install-target-zlib
50056 install-target-zlib: installdirs
50057 @: $(MAKE); $(unstage)
50058 @r=`${PWD_COMMAND}`; export r; \
50059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50060 $(NORMAL_TARGET_EXPORTS) \
50061 (cd $(TARGET_SUBDIR)/zlib && \
50062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50064 @endif target-zlib
50066 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
50067 maybe-install-strip-target-zlib:
50068 @if target-zlib
50069 maybe-install-strip-target-zlib: install-strip-target-zlib
50071 install-strip-target-zlib: installdirs
50072 @: $(MAKE); $(unstage)
50073 @r=`${PWD_COMMAND}`; export r; \
50074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50075 $(NORMAL_TARGET_EXPORTS) \
50076 (cd $(TARGET_SUBDIR)/zlib && \
50077 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50079 @endif target-zlib
50081 # Other targets (info, dvi, pdf, etc.)
50083 .PHONY: maybe-info-target-zlib info-target-zlib
50084 maybe-info-target-zlib:
50085 @if target-zlib
50086 maybe-info-target-zlib: info-target-zlib
50088 info-target-zlib: \
50089 configure-target-zlib
50090 @: $(MAKE); $(unstage)
50091 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50092 r=`${PWD_COMMAND}`; export r; \
50093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50094 $(NORMAL_TARGET_EXPORTS) \
50095 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
50096 for flag in $(EXTRA_TARGET_FLAGS); do \
50097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50098 done; \
50099 (cd $(TARGET_SUBDIR)/zlib && \
50100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50102 "RANLIB=$${RANLIB}" \
50103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50104 info) \
50105 || exit 1
50107 @endif target-zlib
50109 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
50110 maybe-dvi-target-zlib:
50111 @if target-zlib
50112 maybe-dvi-target-zlib: dvi-target-zlib
50114 dvi-target-zlib: \
50115 configure-target-zlib
50116 @: $(MAKE); $(unstage)
50117 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50118 r=`${PWD_COMMAND}`; export r; \
50119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50120 $(NORMAL_TARGET_EXPORTS) \
50121 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
50122 for flag in $(EXTRA_TARGET_FLAGS); do \
50123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50124 done; \
50125 (cd $(TARGET_SUBDIR)/zlib && \
50126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50128 "RANLIB=$${RANLIB}" \
50129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50130 dvi) \
50131 || exit 1
50133 @endif target-zlib
50135 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
50136 maybe-pdf-target-zlib:
50137 @if target-zlib
50138 maybe-pdf-target-zlib: pdf-target-zlib
50140 pdf-target-zlib: \
50141 configure-target-zlib
50142 @: $(MAKE); $(unstage)
50143 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50144 r=`${PWD_COMMAND}`; export r; \
50145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50146 $(NORMAL_TARGET_EXPORTS) \
50147 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
50148 for flag in $(EXTRA_TARGET_FLAGS); do \
50149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50150 done; \
50151 (cd $(TARGET_SUBDIR)/zlib && \
50152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50154 "RANLIB=$${RANLIB}" \
50155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50156 pdf) \
50157 || exit 1
50159 @endif target-zlib
50161 .PHONY: maybe-html-target-zlib html-target-zlib
50162 maybe-html-target-zlib:
50163 @if target-zlib
50164 maybe-html-target-zlib: html-target-zlib
50166 html-target-zlib: \
50167 configure-target-zlib
50168 @: $(MAKE); $(unstage)
50169 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50170 r=`${PWD_COMMAND}`; export r; \
50171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50172 $(NORMAL_TARGET_EXPORTS) \
50173 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
50174 for flag in $(EXTRA_TARGET_FLAGS); do \
50175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50176 done; \
50177 (cd $(TARGET_SUBDIR)/zlib && \
50178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50180 "RANLIB=$${RANLIB}" \
50181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50182 html) \
50183 || exit 1
50185 @endif target-zlib
50187 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
50188 maybe-TAGS-target-zlib:
50189 @if target-zlib
50190 maybe-TAGS-target-zlib: TAGS-target-zlib
50192 TAGS-target-zlib: \
50193 configure-target-zlib
50194 @: $(MAKE); $(unstage)
50195 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50196 r=`${PWD_COMMAND}`; export r; \
50197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50198 $(NORMAL_TARGET_EXPORTS) \
50199 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
50200 for flag in $(EXTRA_TARGET_FLAGS); do \
50201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50202 done; \
50203 (cd $(TARGET_SUBDIR)/zlib && \
50204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50206 "RANLIB=$${RANLIB}" \
50207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50208 TAGS) \
50209 || exit 1
50211 @endif target-zlib
50213 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
50214 maybe-install-info-target-zlib:
50215 @if target-zlib
50216 maybe-install-info-target-zlib: install-info-target-zlib
50218 install-info-target-zlib: \
50219 configure-target-zlib \
50220 info-target-zlib
50221 @: $(MAKE); $(unstage)
50222 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50223 r=`${PWD_COMMAND}`; export r; \
50224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50225 $(NORMAL_TARGET_EXPORTS) \
50226 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
50227 for flag in $(EXTRA_TARGET_FLAGS); do \
50228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50229 done; \
50230 (cd $(TARGET_SUBDIR)/zlib && \
50231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50233 "RANLIB=$${RANLIB}" \
50234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50235 install-info) \
50236 || exit 1
50238 @endif target-zlib
50240 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
50241 maybe-install-pdf-target-zlib:
50242 @if target-zlib
50243 maybe-install-pdf-target-zlib: install-pdf-target-zlib
50245 install-pdf-target-zlib: \
50246 configure-target-zlib \
50247 pdf-target-zlib
50248 @: $(MAKE); $(unstage)
50249 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50250 r=`${PWD_COMMAND}`; export r; \
50251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50252 $(NORMAL_TARGET_EXPORTS) \
50253 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
50254 for flag in $(EXTRA_TARGET_FLAGS); do \
50255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50256 done; \
50257 (cd $(TARGET_SUBDIR)/zlib && \
50258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50260 "RANLIB=$${RANLIB}" \
50261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50262 install-pdf) \
50263 || exit 1
50265 @endif target-zlib
50267 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
50268 maybe-install-html-target-zlib:
50269 @if target-zlib
50270 maybe-install-html-target-zlib: install-html-target-zlib
50272 install-html-target-zlib: \
50273 configure-target-zlib \
50274 html-target-zlib
50275 @: $(MAKE); $(unstage)
50276 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50277 r=`${PWD_COMMAND}`; export r; \
50278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50279 $(NORMAL_TARGET_EXPORTS) \
50280 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
50281 for flag in $(EXTRA_TARGET_FLAGS); do \
50282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50283 done; \
50284 (cd $(TARGET_SUBDIR)/zlib && \
50285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50287 "RANLIB=$${RANLIB}" \
50288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50289 install-html) \
50290 || exit 1
50292 @endif target-zlib
50294 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
50295 maybe-installcheck-target-zlib:
50296 @if target-zlib
50297 maybe-installcheck-target-zlib: installcheck-target-zlib
50299 installcheck-target-zlib: \
50300 configure-target-zlib
50301 @: $(MAKE); $(unstage)
50302 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50303 r=`${PWD_COMMAND}`; export r; \
50304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50305 $(NORMAL_TARGET_EXPORTS) \
50306 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
50307 for flag in $(EXTRA_TARGET_FLAGS); do \
50308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50309 done; \
50310 (cd $(TARGET_SUBDIR)/zlib && \
50311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50313 "RANLIB=$${RANLIB}" \
50314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50315 installcheck) \
50316 || exit 1
50318 @endif target-zlib
50320 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
50321 maybe-mostlyclean-target-zlib:
50322 @if target-zlib
50323 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
50325 mostlyclean-target-zlib:
50326 @: $(MAKE); $(unstage)
50327 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50328 r=`${PWD_COMMAND}`; export r; \
50329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50330 $(NORMAL_TARGET_EXPORTS) \
50331 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
50332 for flag in $(EXTRA_TARGET_FLAGS); do \
50333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50334 done; \
50335 (cd $(TARGET_SUBDIR)/zlib && \
50336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50338 "RANLIB=$${RANLIB}" \
50339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50340 mostlyclean) \
50341 || exit 1
50343 @endif target-zlib
50345 .PHONY: maybe-clean-target-zlib clean-target-zlib
50346 maybe-clean-target-zlib:
50347 @if target-zlib
50348 maybe-clean-target-zlib: clean-target-zlib
50350 clean-target-zlib:
50351 @: $(MAKE); $(unstage)
50352 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50353 r=`${PWD_COMMAND}`; export r; \
50354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50355 $(NORMAL_TARGET_EXPORTS) \
50356 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
50357 for flag in $(EXTRA_TARGET_FLAGS); do \
50358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50359 done; \
50360 (cd $(TARGET_SUBDIR)/zlib && \
50361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50363 "RANLIB=$${RANLIB}" \
50364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50365 clean) \
50366 || exit 1
50368 @endif target-zlib
50370 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
50371 maybe-distclean-target-zlib:
50372 @if target-zlib
50373 maybe-distclean-target-zlib: distclean-target-zlib
50375 distclean-target-zlib:
50376 @: $(MAKE); $(unstage)
50377 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50378 r=`${PWD_COMMAND}`; export r; \
50379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50380 $(NORMAL_TARGET_EXPORTS) \
50381 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
50382 for flag in $(EXTRA_TARGET_FLAGS); do \
50383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50384 done; \
50385 (cd $(TARGET_SUBDIR)/zlib && \
50386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50388 "RANLIB=$${RANLIB}" \
50389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50390 distclean) \
50391 || exit 1
50393 @endif target-zlib
50395 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
50396 maybe-maintainer-clean-target-zlib:
50397 @if target-zlib
50398 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
50400 maintainer-clean-target-zlib:
50401 @: $(MAKE); $(unstage)
50402 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50403 r=`${PWD_COMMAND}`; export r; \
50404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50405 $(NORMAL_TARGET_EXPORTS) \
50406 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
50407 for flag in $(EXTRA_TARGET_FLAGS); do \
50408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50409 done; \
50410 (cd $(TARGET_SUBDIR)/zlib && \
50411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50413 "RANLIB=$${RANLIB}" \
50414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50415 maintainer-clean) \
50416 || exit 1
50418 @endif target-zlib
50424 .PHONY: configure-target-rda maybe-configure-target-rda
50425 maybe-configure-target-rda:
50426 @if gcc-bootstrap
50427 configure-target-rda: stage_current
50428 @endif gcc-bootstrap
50429 @if target-rda
50430 maybe-configure-target-rda: configure-target-rda
50431 configure-target-rda:
50432 @: $(MAKE); $(unstage)
50433 @r=`${PWD_COMMAND}`; export r; \
50434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50435 echo "Checking multilib configuration for rda..."; \
50436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
50437 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
50438 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
50439 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
50440 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
50441 else \
50442 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
50443 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
50444 fi; \
50445 else \
50446 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
50447 fi; \
50448 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
50449 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
50450 $(NORMAL_TARGET_EXPORTS) \
50451 echo Configuring in $(TARGET_SUBDIR)/rda; \
50452 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
50453 case $(srcdir) in \
50454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50455 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
50456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50457 esac; \
50458 module_srcdir=rda; \
50459 rm -f no-such-file || : ; \
50460 CONFIG_SITE=no-such-file $(SHELL) \
50461 $$s/$$module_srcdir/configure \
50462 --srcdir=$${topdir}/$$module_srcdir \
50463 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50464 --target=${target_alias} \
50465 || exit 1
50466 @endif target-rda
50472 .PHONY: all-target-rda maybe-all-target-rda
50473 maybe-all-target-rda:
50474 @if gcc-bootstrap
50475 all-target-rda: stage_current
50476 @endif gcc-bootstrap
50477 @if target-rda
50478 TARGET-target-rda=all
50479 maybe-all-target-rda: all-target-rda
50480 all-target-rda: configure-target-rda
50481 @: $(MAKE); $(unstage)
50482 @r=`${PWD_COMMAND}`; export r; \
50483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50484 $(NORMAL_TARGET_EXPORTS) \
50485 (cd $(TARGET_SUBDIR)/rda && \
50486 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50487 $(TARGET-target-rda))
50488 @endif target-rda
50494 .PHONY: check-target-rda maybe-check-target-rda
50495 maybe-check-target-rda:
50496 @if target-rda
50497 maybe-check-target-rda: check-target-rda
50499 check-target-rda:
50500 @: $(MAKE); $(unstage)
50501 @r=`${PWD_COMMAND}`; export r; \
50502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50503 $(NORMAL_TARGET_EXPORTS) \
50504 (cd $(TARGET_SUBDIR)/rda && \
50505 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50507 @endif target-rda
50509 .PHONY: install-target-rda maybe-install-target-rda
50510 maybe-install-target-rda:
50511 @if target-rda
50512 maybe-install-target-rda: install-target-rda
50514 install-target-rda: installdirs
50515 @: $(MAKE); $(unstage)
50516 @r=`${PWD_COMMAND}`; export r; \
50517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50518 $(NORMAL_TARGET_EXPORTS) \
50519 (cd $(TARGET_SUBDIR)/rda && \
50520 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50522 @endif target-rda
50524 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
50525 maybe-install-strip-target-rda:
50526 @if target-rda
50527 maybe-install-strip-target-rda: install-strip-target-rda
50529 install-strip-target-rda: installdirs
50530 @: $(MAKE); $(unstage)
50531 @r=`${PWD_COMMAND}`; export r; \
50532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50533 $(NORMAL_TARGET_EXPORTS) \
50534 (cd $(TARGET_SUBDIR)/rda && \
50535 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50537 @endif target-rda
50539 # Other targets (info, dvi, pdf, etc.)
50541 .PHONY: maybe-info-target-rda info-target-rda
50542 maybe-info-target-rda:
50543 @if target-rda
50544 maybe-info-target-rda: info-target-rda
50546 info-target-rda: \
50547 configure-target-rda
50548 @: $(MAKE); $(unstage)
50549 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50550 r=`${PWD_COMMAND}`; export r; \
50551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50552 $(NORMAL_TARGET_EXPORTS) \
50553 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
50554 for flag in $(EXTRA_TARGET_FLAGS); do \
50555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50556 done; \
50557 (cd $(TARGET_SUBDIR)/rda && \
50558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50560 "RANLIB=$${RANLIB}" \
50561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50562 info) \
50563 || exit 1
50565 @endif target-rda
50567 .PHONY: maybe-dvi-target-rda dvi-target-rda
50568 maybe-dvi-target-rda:
50569 @if target-rda
50570 maybe-dvi-target-rda: dvi-target-rda
50572 dvi-target-rda: \
50573 configure-target-rda
50574 @: $(MAKE); $(unstage)
50575 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50576 r=`${PWD_COMMAND}`; export r; \
50577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50578 $(NORMAL_TARGET_EXPORTS) \
50579 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
50580 for flag in $(EXTRA_TARGET_FLAGS); do \
50581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50582 done; \
50583 (cd $(TARGET_SUBDIR)/rda && \
50584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50586 "RANLIB=$${RANLIB}" \
50587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50588 dvi) \
50589 || exit 1
50591 @endif target-rda
50593 .PHONY: maybe-pdf-target-rda pdf-target-rda
50594 maybe-pdf-target-rda:
50595 @if target-rda
50596 maybe-pdf-target-rda: pdf-target-rda
50598 pdf-target-rda: \
50599 configure-target-rda
50600 @: $(MAKE); $(unstage)
50601 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50602 r=`${PWD_COMMAND}`; export r; \
50603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50604 $(NORMAL_TARGET_EXPORTS) \
50605 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
50606 for flag in $(EXTRA_TARGET_FLAGS); do \
50607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50608 done; \
50609 (cd $(TARGET_SUBDIR)/rda && \
50610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50612 "RANLIB=$${RANLIB}" \
50613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50614 pdf) \
50615 || exit 1
50617 @endif target-rda
50619 .PHONY: maybe-html-target-rda html-target-rda
50620 maybe-html-target-rda:
50621 @if target-rda
50622 maybe-html-target-rda: html-target-rda
50624 html-target-rda: \
50625 configure-target-rda
50626 @: $(MAKE); $(unstage)
50627 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50628 r=`${PWD_COMMAND}`; export r; \
50629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50630 $(NORMAL_TARGET_EXPORTS) \
50631 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
50632 for flag in $(EXTRA_TARGET_FLAGS); do \
50633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50634 done; \
50635 (cd $(TARGET_SUBDIR)/rda && \
50636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50638 "RANLIB=$${RANLIB}" \
50639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50640 html) \
50641 || exit 1
50643 @endif target-rda
50645 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
50646 maybe-TAGS-target-rda:
50647 @if target-rda
50648 maybe-TAGS-target-rda: TAGS-target-rda
50650 TAGS-target-rda: \
50651 configure-target-rda
50652 @: $(MAKE); $(unstage)
50653 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50654 r=`${PWD_COMMAND}`; export r; \
50655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50656 $(NORMAL_TARGET_EXPORTS) \
50657 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
50658 for flag in $(EXTRA_TARGET_FLAGS); do \
50659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50660 done; \
50661 (cd $(TARGET_SUBDIR)/rda && \
50662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50664 "RANLIB=$${RANLIB}" \
50665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50666 TAGS) \
50667 || exit 1
50669 @endif target-rda
50671 .PHONY: maybe-install-info-target-rda install-info-target-rda
50672 maybe-install-info-target-rda:
50673 @if target-rda
50674 maybe-install-info-target-rda: install-info-target-rda
50676 install-info-target-rda: \
50677 configure-target-rda \
50678 info-target-rda
50679 @: $(MAKE); $(unstage)
50680 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50681 r=`${PWD_COMMAND}`; export r; \
50682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50683 $(NORMAL_TARGET_EXPORTS) \
50684 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
50685 for flag in $(EXTRA_TARGET_FLAGS); do \
50686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50687 done; \
50688 (cd $(TARGET_SUBDIR)/rda && \
50689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50691 "RANLIB=$${RANLIB}" \
50692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50693 install-info) \
50694 || exit 1
50696 @endif target-rda
50698 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
50699 maybe-install-pdf-target-rda:
50700 @if target-rda
50701 maybe-install-pdf-target-rda: install-pdf-target-rda
50703 install-pdf-target-rda: \
50704 configure-target-rda \
50705 pdf-target-rda
50706 @: $(MAKE); $(unstage)
50707 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50708 r=`${PWD_COMMAND}`; export r; \
50709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50710 $(NORMAL_TARGET_EXPORTS) \
50711 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
50712 for flag in $(EXTRA_TARGET_FLAGS); do \
50713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50714 done; \
50715 (cd $(TARGET_SUBDIR)/rda && \
50716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50718 "RANLIB=$${RANLIB}" \
50719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50720 install-pdf) \
50721 || exit 1
50723 @endif target-rda
50725 .PHONY: maybe-install-html-target-rda install-html-target-rda
50726 maybe-install-html-target-rda:
50727 @if target-rda
50728 maybe-install-html-target-rda: install-html-target-rda
50730 install-html-target-rda: \
50731 configure-target-rda \
50732 html-target-rda
50733 @: $(MAKE); $(unstage)
50734 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50735 r=`${PWD_COMMAND}`; export r; \
50736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50737 $(NORMAL_TARGET_EXPORTS) \
50738 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
50739 for flag in $(EXTRA_TARGET_FLAGS); do \
50740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50741 done; \
50742 (cd $(TARGET_SUBDIR)/rda && \
50743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50745 "RANLIB=$${RANLIB}" \
50746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50747 install-html) \
50748 || exit 1
50750 @endif target-rda
50752 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
50753 maybe-installcheck-target-rda:
50754 @if target-rda
50755 maybe-installcheck-target-rda: installcheck-target-rda
50757 installcheck-target-rda: \
50758 configure-target-rda
50759 @: $(MAKE); $(unstage)
50760 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50761 r=`${PWD_COMMAND}`; export r; \
50762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50763 $(NORMAL_TARGET_EXPORTS) \
50764 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
50765 for flag in $(EXTRA_TARGET_FLAGS); do \
50766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50767 done; \
50768 (cd $(TARGET_SUBDIR)/rda && \
50769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50771 "RANLIB=$${RANLIB}" \
50772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50773 installcheck) \
50774 || exit 1
50776 @endif target-rda
50778 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
50779 maybe-mostlyclean-target-rda:
50780 @if target-rda
50781 maybe-mostlyclean-target-rda: mostlyclean-target-rda
50783 mostlyclean-target-rda:
50784 @: $(MAKE); $(unstage)
50785 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50786 r=`${PWD_COMMAND}`; export r; \
50787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50788 $(NORMAL_TARGET_EXPORTS) \
50789 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
50790 for flag in $(EXTRA_TARGET_FLAGS); do \
50791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50792 done; \
50793 (cd $(TARGET_SUBDIR)/rda && \
50794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50796 "RANLIB=$${RANLIB}" \
50797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50798 mostlyclean) \
50799 || exit 1
50801 @endif target-rda
50803 .PHONY: maybe-clean-target-rda clean-target-rda
50804 maybe-clean-target-rda:
50805 @if target-rda
50806 maybe-clean-target-rda: clean-target-rda
50808 clean-target-rda:
50809 @: $(MAKE); $(unstage)
50810 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50811 r=`${PWD_COMMAND}`; export r; \
50812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50813 $(NORMAL_TARGET_EXPORTS) \
50814 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
50815 for flag in $(EXTRA_TARGET_FLAGS); do \
50816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50817 done; \
50818 (cd $(TARGET_SUBDIR)/rda && \
50819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50821 "RANLIB=$${RANLIB}" \
50822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50823 clean) \
50824 || exit 1
50826 @endif target-rda
50828 .PHONY: maybe-distclean-target-rda distclean-target-rda
50829 maybe-distclean-target-rda:
50830 @if target-rda
50831 maybe-distclean-target-rda: distclean-target-rda
50833 distclean-target-rda:
50834 @: $(MAKE); $(unstage)
50835 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50836 r=`${PWD_COMMAND}`; export r; \
50837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50838 $(NORMAL_TARGET_EXPORTS) \
50839 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
50840 for flag in $(EXTRA_TARGET_FLAGS); do \
50841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50842 done; \
50843 (cd $(TARGET_SUBDIR)/rda && \
50844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50846 "RANLIB=$${RANLIB}" \
50847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50848 distclean) \
50849 || exit 1
50851 @endif target-rda
50853 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
50854 maybe-maintainer-clean-target-rda:
50855 @if target-rda
50856 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
50858 maintainer-clean-target-rda:
50859 @: $(MAKE); $(unstage)
50860 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50861 r=`${PWD_COMMAND}`; export r; \
50862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50863 $(NORMAL_TARGET_EXPORTS) \
50864 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
50865 for flag in $(EXTRA_TARGET_FLAGS); do \
50866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50867 done; \
50868 (cd $(TARGET_SUBDIR)/rda && \
50869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50871 "RANLIB=$${RANLIB}" \
50872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50873 maintainer-clean) \
50874 || exit 1
50876 @endif target-rda
50882 .PHONY: configure-target-libada maybe-configure-target-libada
50883 maybe-configure-target-libada:
50884 @if gcc-bootstrap
50885 configure-target-libada: stage_current
50886 @endif gcc-bootstrap
50887 @if target-libada
50888 maybe-configure-target-libada: configure-target-libada
50889 configure-target-libada:
50890 @: $(MAKE); $(unstage)
50891 @r=`${PWD_COMMAND}`; export r; \
50892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50893 echo "Checking multilib configuration for libada..."; \
50894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
50895 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
50896 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
50897 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
50898 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
50899 else \
50900 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
50901 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50902 fi; \
50903 else \
50904 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50905 fi; \
50906 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
50907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
50908 $(NORMAL_TARGET_EXPORTS) \
50909 echo Configuring in $(TARGET_SUBDIR)/libada; \
50910 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
50911 case $(srcdir) in \
50912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50913 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
50914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50915 esac; \
50916 module_srcdir=libada; \
50917 rm -f no-such-file || : ; \
50918 CONFIG_SITE=no-such-file $(SHELL) \
50919 $$s/$$module_srcdir/configure \
50920 --srcdir=$${topdir}/$$module_srcdir \
50921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50922 --target=${target_alias} \
50923 || exit 1
50924 @endif target-libada
50930 .PHONY: all-target-libada maybe-all-target-libada
50931 maybe-all-target-libada:
50932 @if gcc-bootstrap
50933 all-target-libada: stage_current
50934 @endif gcc-bootstrap
50935 @if target-libada
50936 TARGET-target-libada=all
50937 maybe-all-target-libada: all-target-libada
50938 all-target-libada: configure-target-libada
50939 @: $(MAKE); $(unstage)
50940 @r=`${PWD_COMMAND}`; export r; \
50941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50942 $(NORMAL_TARGET_EXPORTS) \
50943 (cd $(TARGET_SUBDIR)/libada && \
50944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50945 $(TARGET-target-libada))
50946 @endif target-libada
50952 .PHONY: check-target-libada maybe-check-target-libada
50953 maybe-check-target-libada:
50954 @if target-libada
50955 maybe-check-target-libada: check-target-libada
50957 check-target-libada:
50958 @: $(MAKE); $(unstage)
50959 @r=`${PWD_COMMAND}`; export r; \
50960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50961 $(NORMAL_TARGET_EXPORTS) \
50962 (cd $(TARGET_SUBDIR)/libada && \
50963 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50965 @endif target-libada
50967 .PHONY: install-target-libada maybe-install-target-libada
50968 maybe-install-target-libada:
50969 @if target-libada
50970 maybe-install-target-libada: install-target-libada
50972 install-target-libada: installdirs
50973 @: $(MAKE); $(unstage)
50974 @r=`${PWD_COMMAND}`; export r; \
50975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50976 $(NORMAL_TARGET_EXPORTS) \
50977 (cd $(TARGET_SUBDIR)/libada && \
50978 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50980 @endif target-libada
50982 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
50983 maybe-install-strip-target-libada:
50984 @if target-libada
50985 maybe-install-strip-target-libada: install-strip-target-libada
50987 install-strip-target-libada: installdirs
50988 @: $(MAKE); $(unstage)
50989 @r=`${PWD_COMMAND}`; export r; \
50990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50991 $(NORMAL_TARGET_EXPORTS) \
50992 (cd $(TARGET_SUBDIR)/libada && \
50993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50995 @endif target-libada
50997 # Other targets (info, dvi, pdf, etc.)
50999 .PHONY: maybe-info-target-libada info-target-libada
51000 maybe-info-target-libada:
51001 @if target-libada
51002 maybe-info-target-libada: info-target-libada
51004 info-target-libada: \
51005 configure-target-libada
51006 @: $(MAKE); $(unstage)
51007 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51008 r=`${PWD_COMMAND}`; export r; \
51009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51010 $(NORMAL_TARGET_EXPORTS) \
51011 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
51012 for flag in $(EXTRA_TARGET_FLAGS); do \
51013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51014 done; \
51015 (cd $(TARGET_SUBDIR)/libada && \
51016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51018 "RANLIB=$${RANLIB}" \
51019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51020 info) \
51021 || exit 1
51023 @endif target-libada
51025 .PHONY: maybe-dvi-target-libada dvi-target-libada
51026 maybe-dvi-target-libada:
51027 @if target-libada
51028 maybe-dvi-target-libada: dvi-target-libada
51030 dvi-target-libada: \
51031 configure-target-libada
51032 @: $(MAKE); $(unstage)
51033 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51034 r=`${PWD_COMMAND}`; export r; \
51035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51036 $(NORMAL_TARGET_EXPORTS) \
51037 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
51038 for flag in $(EXTRA_TARGET_FLAGS); do \
51039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51040 done; \
51041 (cd $(TARGET_SUBDIR)/libada && \
51042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51044 "RANLIB=$${RANLIB}" \
51045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51046 dvi) \
51047 || exit 1
51049 @endif target-libada
51051 .PHONY: maybe-pdf-target-libada pdf-target-libada
51052 maybe-pdf-target-libada:
51053 @if target-libada
51054 maybe-pdf-target-libada: pdf-target-libada
51056 pdf-target-libada: \
51057 configure-target-libada
51058 @: $(MAKE); $(unstage)
51059 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51060 r=`${PWD_COMMAND}`; export r; \
51061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51062 $(NORMAL_TARGET_EXPORTS) \
51063 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
51064 for flag in $(EXTRA_TARGET_FLAGS); do \
51065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51066 done; \
51067 (cd $(TARGET_SUBDIR)/libada && \
51068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51070 "RANLIB=$${RANLIB}" \
51071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51072 pdf) \
51073 || exit 1
51075 @endif target-libada
51077 .PHONY: maybe-html-target-libada html-target-libada
51078 maybe-html-target-libada:
51079 @if target-libada
51080 maybe-html-target-libada: html-target-libada
51082 html-target-libada: \
51083 configure-target-libada
51084 @: $(MAKE); $(unstage)
51085 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51086 r=`${PWD_COMMAND}`; export r; \
51087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51088 $(NORMAL_TARGET_EXPORTS) \
51089 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
51090 for flag in $(EXTRA_TARGET_FLAGS); do \
51091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51092 done; \
51093 (cd $(TARGET_SUBDIR)/libada && \
51094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51096 "RANLIB=$${RANLIB}" \
51097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51098 html) \
51099 || exit 1
51101 @endif target-libada
51103 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
51104 maybe-TAGS-target-libada:
51105 @if target-libada
51106 maybe-TAGS-target-libada: TAGS-target-libada
51108 TAGS-target-libada: \
51109 configure-target-libada
51110 @: $(MAKE); $(unstage)
51111 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51112 r=`${PWD_COMMAND}`; export r; \
51113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51114 $(NORMAL_TARGET_EXPORTS) \
51115 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
51116 for flag in $(EXTRA_TARGET_FLAGS); do \
51117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51118 done; \
51119 (cd $(TARGET_SUBDIR)/libada && \
51120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51122 "RANLIB=$${RANLIB}" \
51123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51124 TAGS) \
51125 || exit 1
51127 @endif target-libada
51129 .PHONY: maybe-install-info-target-libada install-info-target-libada
51130 maybe-install-info-target-libada:
51131 @if target-libada
51132 maybe-install-info-target-libada: install-info-target-libada
51134 install-info-target-libada: \
51135 configure-target-libada \
51136 info-target-libada
51137 @: $(MAKE); $(unstage)
51138 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51139 r=`${PWD_COMMAND}`; export r; \
51140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51141 $(NORMAL_TARGET_EXPORTS) \
51142 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
51143 for flag in $(EXTRA_TARGET_FLAGS); do \
51144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51145 done; \
51146 (cd $(TARGET_SUBDIR)/libada && \
51147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51149 "RANLIB=$${RANLIB}" \
51150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51151 install-info) \
51152 || exit 1
51154 @endif target-libada
51156 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
51157 maybe-install-pdf-target-libada:
51158 @if target-libada
51159 maybe-install-pdf-target-libada: install-pdf-target-libada
51161 install-pdf-target-libada: \
51162 configure-target-libada \
51163 pdf-target-libada
51164 @: $(MAKE); $(unstage)
51165 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51166 r=`${PWD_COMMAND}`; export r; \
51167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51168 $(NORMAL_TARGET_EXPORTS) \
51169 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
51170 for flag in $(EXTRA_TARGET_FLAGS); do \
51171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51172 done; \
51173 (cd $(TARGET_SUBDIR)/libada && \
51174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51176 "RANLIB=$${RANLIB}" \
51177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51178 install-pdf) \
51179 || exit 1
51181 @endif target-libada
51183 .PHONY: maybe-install-html-target-libada install-html-target-libada
51184 maybe-install-html-target-libada:
51185 @if target-libada
51186 maybe-install-html-target-libada: install-html-target-libada
51188 install-html-target-libada: \
51189 configure-target-libada \
51190 html-target-libada
51191 @: $(MAKE); $(unstage)
51192 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51193 r=`${PWD_COMMAND}`; export r; \
51194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51195 $(NORMAL_TARGET_EXPORTS) \
51196 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
51197 for flag in $(EXTRA_TARGET_FLAGS); do \
51198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51199 done; \
51200 (cd $(TARGET_SUBDIR)/libada && \
51201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51203 "RANLIB=$${RANLIB}" \
51204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51205 install-html) \
51206 || exit 1
51208 @endif target-libada
51210 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
51211 maybe-installcheck-target-libada:
51212 @if target-libada
51213 maybe-installcheck-target-libada: installcheck-target-libada
51215 installcheck-target-libada: \
51216 configure-target-libada
51217 @: $(MAKE); $(unstage)
51218 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51219 r=`${PWD_COMMAND}`; export r; \
51220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51221 $(NORMAL_TARGET_EXPORTS) \
51222 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
51223 for flag in $(EXTRA_TARGET_FLAGS); do \
51224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51225 done; \
51226 (cd $(TARGET_SUBDIR)/libada && \
51227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51229 "RANLIB=$${RANLIB}" \
51230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51231 installcheck) \
51232 || exit 1
51234 @endif target-libada
51236 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
51237 maybe-mostlyclean-target-libada:
51238 @if target-libada
51239 maybe-mostlyclean-target-libada: mostlyclean-target-libada
51241 mostlyclean-target-libada:
51242 @: $(MAKE); $(unstage)
51243 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51244 r=`${PWD_COMMAND}`; export r; \
51245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51246 $(NORMAL_TARGET_EXPORTS) \
51247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
51248 for flag in $(EXTRA_TARGET_FLAGS); do \
51249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51250 done; \
51251 (cd $(TARGET_SUBDIR)/libada && \
51252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51254 "RANLIB=$${RANLIB}" \
51255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51256 mostlyclean) \
51257 || exit 1
51259 @endif target-libada
51261 .PHONY: maybe-clean-target-libada clean-target-libada
51262 maybe-clean-target-libada:
51263 @if target-libada
51264 maybe-clean-target-libada: clean-target-libada
51266 clean-target-libada:
51267 @: $(MAKE); $(unstage)
51268 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51269 r=`${PWD_COMMAND}`; export r; \
51270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51271 $(NORMAL_TARGET_EXPORTS) \
51272 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
51273 for flag in $(EXTRA_TARGET_FLAGS); do \
51274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51275 done; \
51276 (cd $(TARGET_SUBDIR)/libada && \
51277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51279 "RANLIB=$${RANLIB}" \
51280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51281 clean) \
51282 || exit 1
51284 @endif target-libada
51286 .PHONY: maybe-distclean-target-libada distclean-target-libada
51287 maybe-distclean-target-libada:
51288 @if target-libada
51289 maybe-distclean-target-libada: distclean-target-libada
51291 distclean-target-libada:
51292 @: $(MAKE); $(unstage)
51293 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51294 r=`${PWD_COMMAND}`; export r; \
51295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51296 $(NORMAL_TARGET_EXPORTS) \
51297 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
51298 for flag in $(EXTRA_TARGET_FLAGS); do \
51299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51300 done; \
51301 (cd $(TARGET_SUBDIR)/libada && \
51302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51304 "RANLIB=$${RANLIB}" \
51305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51306 distclean) \
51307 || exit 1
51309 @endif target-libada
51311 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
51312 maybe-maintainer-clean-target-libada:
51313 @if target-libada
51314 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
51316 maintainer-clean-target-libada:
51317 @: $(MAKE); $(unstage)
51318 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51319 r=`${PWD_COMMAND}`; export r; \
51320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51321 $(NORMAL_TARGET_EXPORTS) \
51322 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
51323 for flag in $(EXTRA_TARGET_FLAGS); do \
51324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51325 done; \
51326 (cd $(TARGET_SUBDIR)/libada && \
51327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51329 "RANLIB=$${RANLIB}" \
51330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51331 maintainer-clean) \
51332 || exit 1
51334 @endif target-libada
51340 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
51341 maybe-configure-target-libgomp:
51342 @if gcc-bootstrap
51343 configure-target-libgomp: stage_current
51344 @endif gcc-bootstrap
51345 @if target-libgomp
51346 maybe-configure-target-libgomp: configure-target-libgomp
51347 configure-target-libgomp:
51348 @r=`${PWD_COMMAND}`; export r; \
51349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51350 echo "Checking multilib configuration for libgomp..."; \
51351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51352 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51353 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51354 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51355 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51356 else \
51357 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51358 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51359 fi; \
51360 else \
51361 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51362 fi; \
51363 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51364 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51365 $(NORMAL_TARGET_EXPORTS) \
51366 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
51367 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
51368 case $(srcdir) in \
51369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51370 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51372 esac; \
51373 module_srcdir=libgomp; \
51374 rm -f no-such-file || : ; \
51375 CONFIG_SITE=no-such-file $(SHELL) \
51376 $$s/$$module_srcdir/configure \
51377 --srcdir=$${topdir}/$$module_srcdir \
51378 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51379 --target=${target_alias} \
51380 || exit 1
51381 @endif target-libgomp
51385 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
51386 maybe-configure-stage1-target-libgomp:
51387 @if target-libgomp-bootstrap
51388 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
51389 configure-stage1-target-libgomp:
51390 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
51391 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51392 @r=`${PWD_COMMAND}`; export r; \
51393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51394 TFLAGS="$(STAGE1_TFLAGS)"; \
51395 echo "Checking multilib configuration for libgomp..."; \
51396 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51397 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51398 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51399 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51400 else \
51401 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51402 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51403 fi; \
51404 else \
51405 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51406 fi; \
51407 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51408 $(NORMAL_TARGET_EXPORTS) \
51409 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51410 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51411 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51412 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
51413 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51414 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51415 case $(srcdir) in \
51416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51417 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51419 esac; \
51420 module_srcdir=libgomp; \
51421 $(SHELL) $$s/$$module_srcdir/configure \
51422 --srcdir=$${topdir}/$$module_srcdir \
51423 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51424 --target=${target_alias} \
51426 $(STAGE1_CONFIGURE_FLAGS)
51427 @endif target-libgomp-bootstrap
51429 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
51430 maybe-configure-stage2-target-libgomp:
51431 @if target-libgomp-bootstrap
51432 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
51433 configure-stage2-target-libgomp:
51434 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
51435 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51436 @r=`${PWD_COMMAND}`; export r; \
51437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51438 TFLAGS="$(STAGE2_TFLAGS)"; \
51439 echo "Checking multilib configuration for libgomp..."; \
51440 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51441 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51442 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51443 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51444 else \
51445 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51446 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51447 fi; \
51448 else \
51449 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51450 fi; \
51451 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51452 $(NORMAL_TARGET_EXPORTS) \
51454 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51455 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51456 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51457 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
51458 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51459 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51460 case $(srcdir) in \
51461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51462 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51464 esac; \
51465 module_srcdir=libgomp; \
51466 $(SHELL) $$s/$$module_srcdir/configure \
51467 --srcdir=$${topdir}/$$module_srcdir \
51468 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51469 --target=${target_alias} \
51470 --with-build-libsubdir=$(HOST_SUBDIR) \
51471 $(STAGE2_CONFIGURE_FLAGS)
51472 @endif target-libgomp-bootstrap
51474 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
51475 maybe-configure-stage3-target-libgomp:
51476 @if target-libgomp-bootstrap
51477 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
51478 configure-stage3-target-libgomp:
51479 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
51480 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51481 @r=`${PWD_COMMAND}`; export r; \
51482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51483 TFLAGS="$(STAGE3_TFLAGS)"; \
51484 echo "Checking multilib configuration for libgomp..."; \
51485 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51486 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51487 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51488 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51489 else \
51490 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51491 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51492 fi; \
51493 else \
51494 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51495 fi; \
51496 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51497 $(NORMAL_TARGET_EXPORTS) \
51499 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51500 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51501 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51502 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
51503 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51504 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51505 case $(srcdir) in \
51506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51507 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51509 esac; \
51510 module_srcdir=libgomp; \
51511 $(SHELL) $$s/$$module_srcdir/configure \
51512 --srcdir=$${topdir}/$$module_srcdir \
51513 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51514 --target=${target_alias} \
51515 --with-build-libsubdir=$(HOST_SUBDIR) \
51516 $(STAGE3_CONFIGURE_FLAGS)
51517 @endif target-libgomp-bootstrap
51519 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
51520 maybe-configure-stage4-target-libgomp:
51521 @if target-libgomp-bootstrap
51522 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
51523 configure-stage4-target-libgomp:
51524 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
51525 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51526 @r=`${PWD_COMMAND}`; export r; \
51527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51528 TFLAGS="$(STAGE4_TFLAGS)"; \
51529 echo "Checking multilib configuration for libgomp..."; \
51530 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51531 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51532 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51533 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51534 else \
51535 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51536 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51537 fi; \
51538 else \
51539 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51540 fi; \
51541 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51542 $(NORMAL_TARGET_EXPORTS) \
51544 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51545 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51546 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51547 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
51548 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51549 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51550 case $(srcdir) in \
51551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51552 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51554 esac; \
51555 module_srcdir=libgomp; \
51556 $(SHELL) $$s/$$module_srcdir/configure \
51557 --srcdir=$${topdir}/$$module_srcdir \
51558 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51559 --target=${target_alias} \
51560 --with-build-libsubdir=$(HOST_SUBDIR) \
51561 $(STAGE4_CONFIGURE_FLAGS)
51562 @endif target-libgomp-bootstrap
51564 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
51565 maybe-configure-stageprofile-target-libgomp:
51566 @if target-libgomp-bootstrap
51567 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
51568 configure-stageprofile-target-libgomp:
51569 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
51570 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51571 @r=`${PWD_COMMAND}`; export r; \
51572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51573 TFLAGS="$(STAGEprofile_TFLAGS)"; \
51574 echo "Checking multilib configuration for libgomp..."; \
51575 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51576 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51577 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51578 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51579 else \
51580 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51581 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51582 fi; \
51583 else \
51584 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51585 fi; \
51586 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51587 $(NORMAL_TARGET_EXPORTS) \
51589 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51590 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51591 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51592 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
51593 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51594 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51595 case $(srcdir) in \
51596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51597 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51599 esac; \
51600 module_srcdir=libgomp; \
51601 $(SHELL) $$s/$$module_srcdir/configure \
51602 --srcdir=$${topdir}/$$module_srcdir \
51603 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51604 --target=${target_alias} \
51605 --with-build-libsubdir=$(HOST_SUBDIR) \
51606 $(STAGEprofile_CONFIGURE_FLAGS)
51607 @endif target-libgomp-bootstrap
51609 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
51610 maybe-configure-stagetrain-target-libgomp:
51611 @if target-libgomp-bootstrap
51612 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
51613 configure-stagetrain-target-libgomp:
51614 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
51615 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51616 @r=`${PWD_COMMAND}`; export r; \
51617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51618 TFLAGS="$(STAGEtrain_TFLAGS)"; \
51619 echo "Checking multilib configuration for libgomp..."; \
51620 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51621 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51622 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51623 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51624 else \
51625 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51626 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51627 fi; \
51628 else \
51629 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51630 fi; \
51631 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51632 $(NORMAL_TARGET_EXPORTS) \
51634 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51635 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51636 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51637 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
51638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51639 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51640 case $(srcdir) in \
51641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51642 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51644 esac; \
51645 module_srcdir=libgomp; \
51646 $(SHELL) $$s/$$module_srcdir/configure \
51647 --srcdir=$${topdir}/$$module_srcdir \
51648 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51649 --target=${target_alias} \
51650 --with-build-libsubdir=$(HOST_SUBDIR) \
51651 $(STAGEtrain_CONFIGURE_FLAGS)
51652 @endif target-libgomp-bootstrap
51654 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
51655 maybe-configure-stagefeedback-target-libgomp:
51656 @if target-libgomp-bootstrap
51657 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
51658 configure-stagefeedback-target-libgomp:
51659 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
51660 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51661 @r=`${PWD_COMMAND}`; export r; \
51662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51663 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
51664 echo "Checking multilib configuration for libgomp..."; \
51665 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51666 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51667 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51668 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51669 else \
51670 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51671 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51672 fi; \
51673 else \
51674 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51675 fi; \
51676 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51677 $(NORMAL_TARGET_EXPORTS) \
51679 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51680 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51681 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51682 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
51683 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51684 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51685 case $(srcdir) in \
51686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51687 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51689 esac; \
51690 module_srcdir=libgomp; \
51691 $(SHELL) $$s/$$module_srcdir/configure \
51692 --srcdir=$${topdir}/$$module_srcdir \
51693 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51694 --target=${target_alias} \
51695 --with-build-libsubdir=$(HOST_SUBDIR) \
51696 $(STAGEfeedback_CONFIGURE_FLAGS)
51697 @endif target-libgomp-bootstrap
51699 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
51700 maybe-configure-stageautoprofile-target-libgomp:
51701 @if target-libgomp-bootstrap
51702 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
51703 configure-stageautoprofile-target-libgomp:
51704 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
51705 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51706 @r=`${PWD_COMMAND}`; export r; \
51707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51708 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
51709 echo "Checking multilib configuration for libgomp..."; \
51710 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51711 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51712 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51713 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51714 else \
51715 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51716 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51717 fi; \
51718 else \
51719 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51720 fi; \
51721 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51722 $(NORMAL_TARGET_EXPORTS) \
51724 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51725 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51726 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51727 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
51728 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51729 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51730 case $(srcdir) in \
51731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51732 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51734 esac; \
51735 module_srcdir=libgomp; \
51736 $(SHELL) $$s/$$module_srcdir/configure \
51737 --srcdir=$${topdir}/$$module_srcdir \
51738 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51739 --target=${target_alias} \
51740 --with-build-libsubdir=$(HOST_SUBDIR) \
51741 $(STAGEautoprofile_CONFIGURE_FLAGS)
51742 @endif target-libgomp-bootstrap
51744 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
51745 maybe-configure-stageautofeedback-target-libgomp:
51746 @if target-libgomp-bootstrap
51747 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
51748 configure-stageautofeedback-target-libgomp:
51749 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
51750 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51751 @r=`${PWD_COMMAND}`; export r; \
51752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51753 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
51754 echo "Checking multilib configuration for libgomp..."; \
51755 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51756 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51757 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51758 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51759 else \
51760 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51761 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51762 fi; \
51763 else \
51764 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51765 fi; \
51766 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51767 $(NORMAL_TARGET_EXPORTS) \
51769 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51770 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51771 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51772 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
51773 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51774 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51775 case $(srcdir) in \
51776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51777 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51779 esac; \
51780 module_srcdir=libgomp; \
51781 $(SHELL) $$s/$$module_srcdir/configure \
51782 --srcdir=$${topdir}/$$module_srcdir \
51783 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51784 --target=${target_alias} \
51785 --with-build-libsubdir=$(HOST_SUBDIR) \
51786 $(STAGEautofeedback_CONFIGURE_FLAGS)
51787 @endif target-libgomp-bootstrap
51793 .PHONY: all-target-libgomp maybe-all-target-libgomp
51794 maybe-all-target-libgomp:
51795 @if gcc-bootstrap
51796 all-target-libgomp: stage_current
51797 @endif gcc-bootstrap
51798 @if target-libgomp
51799 TARGET-target-libgomp=all
51800 maybe-all-target-libgomp: all-target-libgomp
51801 all-target-libgomp: configure-target-libgomp
51802 @r=`${PWD_COMMAND}`; export r; \
51803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51804 $(NORMAL_TARGET_EXPORTS) \
51805 (cd $(TARGET_SUBDIR)/libgomp && \
51806 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51807 $(TARGET-target-libgomp))
51808 @endif target-libgomp
51812 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
51813 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
51814 maybe-all-stage1-target-libgomp:
51815 maybe-clean-stage1-target-libgomp:
51816 @if target-libgomp-bootstrap
51817 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
51818 all-stage1: all-stage1-target-libgomp
51819 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
51820 all-stage1-target-libgomp: configure-stage1-target-libgomp
51821 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
51822 @r=`${PWD_COMMAND}`; export r; \
51823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51824 TFLAGS="$(STAGE1_TFLAGS)"; \
51825 $(NORMAL_TARGET_EXPORTS) \
51826 cd $(TARGET_SUBDIR)/libgomp && \
51828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51829 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51830 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51831 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51832 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51833 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51834 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51835 $(EXTRA_TARGET_FLAGS) \
51837 TFLAGS="$(STAGE1_TFLAGS)" \
51838 $(TARGET-stage1-target-libgomp)
51840 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
51841 clean-stage1: clean-stage1-target-libgomp
51842 clean-stage1-target-libgomp:
51843 @if [ $(current_stage) = stage1 ]; then \
51844 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51845 else \
51846 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
51847 $(MAKE) stage1-start; \
51848 fi; \
51849 cd $(TARGET_SUBDIR)/libgomp && \
51850 $(MAKE) $(EXTRA_TARGET_FLAGS) \
51851 clean
51852 @endif target-libgomp-bootstrap
51855 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
51856 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
51857 maybe-all-stage2-target-libgomp:
51858 maybe-clean-stage2-target-libgomp:
51859 @if target-libgomp-bootstrap
51860 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
51861 all-stage2: all-stage2-target-libgomp
51862 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
51863 all-stage2-target-libgomp: configure-stage2-target-libgomp
51864 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
51865 @r=`${PWD_COMMAND}`; export r; \
51866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51867 TFLAGS="$(STAGE2_TFLAGS)"; \
51868 $(NORMAL_TARGET_EXPORTS) \
51870 cd $(TARGET_SUBDIR)/libgomp && \
51872 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51873 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51874 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51875 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51876 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51877 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51878 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51879 $(EXTRA_TARGET_FLAGS) \
51880 TFLAGS="$(STAGE2_TFLAGS)" \
51881 $(TARGET-stage2-target-libgomp)
51883 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
51884 clean-stage2: clean-stage2-target-libgomp
51885 clean-stage2-target-libgomp:
51886 @if [ $(current_stage) = stage2 ]; then \
51887 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51888 else \
51889 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
51890 $(MAKE) stage2-start; \
51891 fi; \
51892 cd $(TARGET_SUBDIR)/libgomp && \
51893 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51894 @endif target-libgomp-bootstrap
51897 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
51898 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
51899 maybe-all-stage3-target-libgomp:
51900 maybe-clean-stage3-target-libgomp:
51901 @if target-libgomp-bootstrap
51902 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
51903 all-stage3: all-stage3-target-libgomp
51904 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
51905 all-stage3-target-libgomp: configure-stage3-target-libgomp
51906 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
51907 @r=`${PWD_COMMAND}`; export r; \
51908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51909 TFLAGS="$(STAGE3_TFLAGS)"; \
51910 $(NORMAL_TARGET_EXPORTS) \
51912 cd $(TARGET_SUBDIR)/libgomp && \
51914 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51915 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51916 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51917 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51918 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51919 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51920 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51921 $(EXTRA_TARGET_FLAGS) \
51922 TFLAGS="$(STAGE3_TFLAGS)" \
51923 $(TARGET-stage3-target-libgomp)
51925 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
51926 clean-stage3: clean-stage3-target-libgomp
51927 clean-stage3-target-libgomp:
51928 @if [ $(current_stage) = stage3 ]; then \
51929 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51930 else \
51931 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
51932 $(MAKE) stage3-start; \
51933 fi; \
51934 cd $(TARGET_SUBDIR)/libgomp && \
51935 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51936 @endif target-libgomp-bootstrap
51939 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
51940 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
51941 maybe-all-stage4-target-libgomp:
51942 maybe-clean-stage4-target-libgomp:
51943 @if target-libgomp-bootstrap
51944 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
51945 all-stage4: all-stage4-target-libgomp
51946 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
51947 all-stage4-target-libgomp: configure-stage4-target-libgomp
51948 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
51949 @r=`${PWD_COMMAND}`; export r; \
51950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51951 TFLAGS="$(STAGE4_TFLAGS)"; \
51952 $(NORMAL_TARGET_EXPORTS) \
51954 cd $(TARGET_SUBDIR)/libgomp && \
51956 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51957 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51958 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51959 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51960 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51961 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51962 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51963 $(EXTRA_TARGET_FLAGS) \
51964 TFLAGS="$(STAGE4_TFLAGS)" \
51965 $(TARGET-stage4-target-libgomp)
51967 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
51968 clean-stage4: clean-stage4-target-libgomp
51969 clean-stage4-target-libgomp:
51970 @if [ $(current_stage) = stage4 ]; then \
51971 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51972 else \
51973 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
51974 $(MAKE) stage4-start; \
51975 fi; \
51976 cd $(TARGET_SUBDIR)/libgomp && \
51977 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51978 @endif target-libgomp-bootstrap
51981 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
51982 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
51983 maybe-all-stageprofile-target-libgomp:
51984 maybe-clean-stageprofile-target-libgomp:
51985 @if target-libgomp-bootstrap
51986 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
51987 all-stageprofile: all-stageprofile-target-libgomp
51988 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
51989 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
51990 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
51991 @r=`${PWD_COMMAND}`; export r; \
51992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51993 TFLAGS="$(STAGEprofile_TFLAGS)"; \
51994 $(NORMAL_TARGET_EXPORTS) \
51996 cd $(TARGET_SUBDIR)/libgomp && \
51998 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51999 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52000 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52001 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52002 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52003 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52004 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52005 $(EXTRA_TARGET_FLAGS) \
52006 TFLAGS="$(STAGEprofile_TFLAGS)" \
52007 $(TARGET-stageprofile-target-libgomp)
52009 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
52010 clean-stageprofile: clean-stageprofile-target-libgomp
52011 clean-stageprofile-target-libgomp:
52012 @if [ $(current_stage) = stageprofile ]; then \
52013 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52014 else \
52015 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
52016 $(MAKE) stageprofile-start; \
52017 fi; \
52018 cd $(TARGET_SUBDIR)/libgomp && \
52019 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52020 @endif target-libgomp-bootstrap
52023 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
52024 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
52025 maybe-all-stagetrain-target-libgomp:
52026 maybe-clean-stagetrain-target-libgomp:
52027 @if target-libgomp-bootstrap
52028 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
52029 all-stagetrain: all-stagetrain-target-libgomp
52030 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
52031 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
52032 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
52033 @r=`${PWD_COMMAND}`; export r; \
52034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52035 TFLAGS="$(STAGEtrain_TFLAGS)"; \
52036 $(NORMAL_TARGET_EXPORTS) \
52038 cd $(TARGET_SUBDIR)/libgomp && \
52040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52041 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52042 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52043 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52047 $(EXTRA_TARGET_FLAGS) \
52048 TFLAGS="$(STAGEtrain_TFLAGS)" \
52049 $(TARGET-stagetrain-target-libgomp)
52051 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
52052 clean-stagetrain: clean-stagetrain-target-libgomp
52053 clean-stagetrain-target-libgomp:
52054 @if [ $(current_stage) = stagetrain ]; then \
52055 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52056 else \
52057 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
52058 $(MAKE) stagetrain-start; \
52059 fi; \
52060 cd $(TARGET_SUBDIR)/libgomp && \
52061 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52062 @endif target-libgomp-bootstrap
52065 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
52066 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
52067 maybe-all-stagefeedback-target-libgomp:
52068 maybe-clean-stagefeedback-target-libgomp:
52069 @if target-libgomp-bootstrap
52070 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
52071 all-stagefeedback: all-stagefeedback-target-libgomp
52072 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
52073 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
52074 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
52075 @r=`${PWD_COMMAND}`; export r; \
52076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52077 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
52078 $(NORMAL_TARGET_EXPORTS) \
52080 cd $(TARGET_SUBDIR)/libgomp && \
52082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52083 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52085 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52089 $(EXTRA_TARGET_FLAGS) \
52090 TFLAGS="$(STAGEfeedback_TFLAGS)" \
52091 $(TARGET-stagefeedback-target-libgomp)
52093 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
52094 clean-stagefeedback: clean-stagefeedback-target-libgomp
52095 clean-stagefeedback-target-libgomp:
52096 @if [ $(current_stage) = stagefeedback ]; then \
52097 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52098 else \
52099 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
52100 $(MAKE) stagefeedback-start; \
52101 fi; \
52102 cd $(TARGET_SUBDIR)/libgomp && \
52103 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52104 @endif target-libgomp-bootstrap
52107 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
52108 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
52109 maybe-all-stageautoprofile-target-libgomp:
52110 maybe-clean-stageautoprofile-target-libgomp:
52111 @if target-libgomp-bootstrap
52112 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
52113 all-stageautoprofile: all-stageautoprofile-target-libgomp
52114 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
52115 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
52116 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
52117 @r=`${PWD_COMMAND}`; export r; \
52118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52119 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
52120 $(NORMAL_TARGET_EXPORTS) \
52122 cd $(TARGET_SUBDIR)/libgomp && \
52123 $$s/gcc/config/i386/$(AUTO_PROFILE) \
52124 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52125 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52126 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52127 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52128 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52129 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52130 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52131 $(EXTRA_TARGET_FLAGS) \
52132 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
52133 $(TARGET-stageautoprofile-target-libgomp)
52135 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
52136 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
52137 clean-stageautoprofile-target-libgomp:
52138 @if [ $(current_stage) = stageautoprofile ]; then \
52139 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52140 else \
52141 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
52142 $(MAKE) stageautoprofile-start; \
52143 fi; \
52144 cd $(TARGET_SUBDIR)/libgomp && \
52145 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52146 @endif target-libgomp-bootstrap
52149 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
52150 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
52151 maybe-all-stageautofeedback-target-libgomp:
52152 maybe-clean-stageautofeedback-target-libgomp:
52153 @if target-libgomp-bootstrap
52154 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
52155 all-stageautofeedback: all-stageautofeedback-target-libgomp
52156 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
52157 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
52158 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
52159 @r=`${PWD_COMMAND}`; export r; \
52160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52161 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
52162 $(NORMAL_TARGET_EXPORTS) \
52164 cd $(TARGET_SUBDIR)/libgomp && \
52166 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52167 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52168 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52169 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52170 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52171 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52172 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52173 $(EXTRA_TARGET_FLAGS) \
52174 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
52175 $(TARGET-stageautofeedback-target-libgomp)
52177 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
52178 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
52179 clean-stageautofeedback-target-libgomp:
52180 @if [ $(current_stage) = stageautofeedback ]; then \
52181 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52182 else \
52183 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
52184 $(MAKE) stageautofeedback-start; \
52185 fi; \
52186 cd $(TARGET_SUBDIR)/libgomp && \
52187 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52188 @endif target-libgomp-bootstrap
52195 .PHONY: check-target-libgomp maybe-check-target-libgomp
52196 maybe-check-target-libgomp:
52197 @if target-libgomp
52198 maybe-check-target-libgomp: check-target-libgomp
52200 check-target-libgomp:
52201 @: $(MAKE); $(unstage)
52202 @r=`${PWD_COMMAND}`; export r; \
52203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52204 $(NORMAL_TARGET_EXPORTS) \
52205 (cd $(TARGET_SUBDIR)/libgomp && \
52206 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52208 @endif target-libgomp
52210 .PHONY: install-target-libgomp maybe-install-target-libgomp
52211 maybe-install-target-libgomp:
52212 @if target-libgomp
52213 maybe-install-target-libgomp: install-target-libgomp
52215 install-target-libgomp: installdirs
52216 @: $(MAKE); $(unstage)
52217 @r=`${PWD_COMMAND}`; export r; \
52218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52219 $(NORMAL_TARGET_EXPORTS) \
52220 (cd $(TARGET_SUBDIR)/libgomp && \
52221 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52223 @endif target-libgomp
52225 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
52226 maybe-install-strip-target-libgomp:
52227 @if target-libgomp
52228 maybe-install-strip-target-libgomp: install-strip-target-libgomp
52230 install-strip-target-libgomp: installdirs
52231 @: $(MAKE); $(unstage)
52232 @r=`${PWD_COMMAND}`; export r; \
52233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52234 $(NORMAL_TARGET_EXPORTS) \
52235 (cd $(TARGET_SUBDIR)/libgomp && \
52236 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52238 @endif target-libgomp
52240 # Other targets (info, dvi, pdf, etc.)
52242 .PHONY: maybe-info-target-libgomp info-target-libgomp
52243 maybe-info-target-libgomp:
52244 @if target-libgomp
52245 maybe-info-target-libgomp: info-target-libgomp
52247 info-target-libgomp: \
52248 configure-target-libgomp
52249 @: $(MAKE); $(unstage)
52250 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52251 r=`${PWD_COMMAND}`; export r; \
52252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52253 $(NORMAL_TARGET_EXPORTS) \
52254 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
52255 for flag in $(EXTRA_TARGET_FLAGS); do \
52256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52257 done; \
52258 (cd $(TARGET_SUBDIR)/libgomp && \
52259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52261 "RANLIB=$${RANLIB}" \
52262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52263 info) \
52264 || exit 1
52266 @endif target-libgomp
52268 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
52269 maybe-dvi-target-libgomp:
52270 @if target-libgomp
52271 maybe-dvi-target-libgomp: dvi-target-libgomp
52273 dvi-target-libgomp: \
52274 configure-target-libgomp
52275 @: $(MAKE); $(unstage)
52276 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52277 r=`${PWD_COMMAND}`; export r; \
52278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52279 $(NORMAL_TARGET_EXPORTS) \
52280 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
52281 for flag in $(EXTRA_TARGET_FLAGS); do \
52282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52283 done; \
52284 (cd $(TARGET_SUBDIR)/libgomp && \
52285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52287 "RANLIB=$${RANLIB}" \
52288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52289 dvi) \
52290 || exit 1
52292 @endif target-libgomp
52294 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
52295 maybe-pdf-target-libgomp:
52296 @if target-libgomp
52297 maybe-pdf-target-libgomp: pdf-target-libgomp
52299 pdf-target-libgomp: \
52300 configure-target-libgomp
52301 @: $(MAKE); $(unstage)
52302 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52303 r=`${PWD_COMMAND}`; export r; \
52304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52305 $(NORMAL_TARGET_EXPORTS) \
52306 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
52307 for flag in $(EXTRA_TARGET_FLAGS); do \
52308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52309 done; \
52310 (cd $(TARGET_SUBDIR)/libgomp && \
52311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52313 "RANLIB=$${RANLIB}" \
52314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52315 pdf) \
52316 || exit 1
52318 @endif target-libgomp
52320 .PHONY: maybe-html-target-libgomp html-target-libgomp
52321 maybe-html-target-libgomp:
52322 @if target-libgomp
52323 maybe-html-target-libgomp: html-target-libgomp
52325 html-target-libgomp: \
52326 configure-target-libgomp
52327 @: $(MAKE); $(unstage)
52328 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52329 r=`${PWD_COMMAND}`; export r; \
52330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52331 $(NORMAL_TARGET_EXPORTS) \
52332 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
52333 for flag in $(EXTRA_TARGET_FLAGS); do \
52334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52335 done; \
52336 (cd $(TARGET_SUBDIR)/libgomp && \
52337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52339 "RANLIB=$${RANLIB}" \
52340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52341 html) \
52342 || exit 1
52344 @endif target-libgomp
52346 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
52347 maybe-TAGS-target-libgomp:
52348 @if target-libgomp
52349 maybe-TAGS-target-libgomp: TAGS-target-libgomp
52351 TAGS-target-libgomp: \
52352 configure-target-libgomp
52353 @: $(MAKE); $(unstage)
52354 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52355 r=`${PWD_COMMAND}`; export r; \
52356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52357 $(NORMAL_TARGET_EXPORTS) \
52358 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
52359 for flag in $(EXTRA_TARGET_FLAGS); do \
52360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52361 done; \
52362 (cd $(TARGET_SUBDIR)/libgomp && \
52363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52365 "RANLIB=$${RANLIB}" \
52366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52367 TAGS) \
52368 || exit 1
52370 @endif target-libgomp
52372 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
52373 maybe-install-info-target-libgomp:
52374 @if target-libgomp
52375 maybe-install-info-target-libgomp: install-info-target-libgomp
52377 install-info-target-libgomp: \
52378 configure-target-libgomp \
52379 info-target-libgomp
52380 @: $(MAKE); $(unstage)
52381 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52382 r=`${PWD_COMMAND}`; export r; \
52383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52384 $(NORMAL_TARGET_EXPORTS) \
52385 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
52386 for flag in $(EXTRA_TARGET_FLAGS); do \
52387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52388 done; \
52389 (cd $(TARGET_SUBDIR)/libgomp && \
52390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52392 "RANLIB=$${RANLIB}" \
52393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52394 install-info) \
52395 || exit 1
52397 @endif target-libgomp
52399 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
52400 maybe-install-pdf-target-libgomp:
52401 @if target-libgomp
52402 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
52404 install-pdf-target-libgomp: \
52405 configure-target-libgomp \
52406 pdf-target-libgomp
52407 @: $(MAKE); $(unstage)
52408 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52409 r=`${PWD_COMMAND}`; export r; \
52410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52411 $(NORMAL_TARGET_EXPORTS) \
52412 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
52413 for flag in $(EXTRA_TARGET_FLAGS); do \
52414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52415 done; \
52416 (cd $(TARGET_SUBDIR)/libgomp && \
52417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52419 "RANLIB=$${RANLIB}" \
52420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52421 install-pdf) \
52422 || exit 1
52424 @endif target-libgomp
52426 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
52427 maybe-install-html-target-libgomp:
52428 @if target-libgomp
52429 maybe-install-html-target-libgomp: install-html-target-libgomp
52431 install-html-target-libgomp: \
52432 configure-target-libgomp \
52433 html-target-libgomp
52434 @: $(MAKE); $(unstage)
52435 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52436 r=`${PWD_COMMAND}`; export r; \
52437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52438 $(NORMAL_TARGET_EXPORTS) \
52439 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
52440 for flag in $(EXTRA_TARGET_FLAGS); do \
52441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52442 done; \
52443 (cd $(TARGET_SUBDIR)/libgomp && \
52444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52446 "RANLIB=$${RANLIB}" \
52447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52448 install-html) \
52449 || exit 1
52451 @endif target-libgomp
52453 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
52454 maybe-installcheck-target-libgomp:
52455 @if target-libgomp
52456 maybe-installcheck-target-libgomp: installcheck-target-libgomp
52458 installcheck-target-libgomp: \
52459 configure-target-libgomp
52460 @: $(MAKE); $(unstage)
52461 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52462 r=`${PWD_COMMAND}`; export r; \
52463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52464 $(NORMAL_TARGET_EXPORTS) \
52465 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
52466 for flag in $(EXTRA_TARGET_FLAGS); do \
52467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52468 done; \
52469 (cd $(TARGET_SUBDIR)/libgomp && \
52470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52472 "RANLIB=$${RANLIB}" \
52473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52474 installcheck) \
52475 || exit 1
52477 @endif target-libgomp
52479 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
52480 maybe-mostlyclean-target-libgomp:
52481 @if target-libgomp
52482 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
52484 mostlyclean-target-libgomp:
52485 @: $(MAKE); $(unstage)
52486 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52487 r=`${PWD_COMMAND}`; export r; \
52488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52489 $(NORMAL_TARGET_EXPORTS) \
52490 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
52491 for flag in $(EXTRA_TARGET_FLAGS); do \
52492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52493 done; \
52494 (cd $(TARGET_SUBDIR)/libgomp && \
52495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52497 "RANLIB=$${RANLIB}" \
52498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52499 mostlyclean) \
52500 || exit 1
52502 @endif target-libgomp
52504 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
52505 maybe-clean-target-libgomp:
52506 @if target-libgomp
52507 maybe-clean-target-libgomp: clean-target-libgomp
52509 clean-target-libgomp:
52510 @: $(MAKE); $(unstage)
52511 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52512 r=`${PWD_COMMAND}`; export r; \
52513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52514 $(NORMAL_TARGET_EXPORTS) \
52515 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
52516 for flag in $(EXTRA_TARGET_FLAGS); do \
52517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52518 done; \
52519 (cd $(TARGET_SUBDIR)/libgomp && \
52520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52522 "RANLIB=$${RANLIB}" \
52523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52524 clean) \
52525 || exit 1
52527 @endif target-libgomp
52529 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
52530 maybe-distclean-target-libgomp:
52531 @if target-libgomp
52532 maybe-distclean-target-libgomp: distclean-target-libgomp
52534 distclean-target-libgomp:
52535 @: $(MAKE); $(unstage)
52536 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52537 r=`${PWD_COMMAND}`; export r; \
52538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52539 $(NORMAL_TARGET_EXPORTS) \
52540 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
52541 for flag in $(EXTRA_TARGET_FLAGS); do \
52542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52543 done; \
52544 (cd $(TARGET_SUBDIR)/libgomp && \
52545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52547 "RANLIB=$${RANLIB}" \
52548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52549 distclean) \
52550 || exit 1
52552 @endif target-libgomp
52554 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
52555 maybe-maintainer-clean-target-libgomp:
52556 @if target-libgomp
52557 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
52559 maintainer-clean-target-libgomp:
52560 @: $(MAKE); $(unstage)
52561 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52562 r=`${PWD_COMMAND}`; export r; \
52563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52564 $(NORMAL_TARGET_EXPORTS) \
52565 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
52566 for flag in $(EXTRA_TARGET_FLAGS); do \
52567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52568 done; \
52569 (cd $(TARGET_SUBDIR)/libgomp && \
52570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52572 "RANLIB=$${RANLIB}" \
52573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52574 maintainer-clean) \
52575 || exit 1
52577 @endif target-libgomp
52583 .PHONY: configure-target-libitm maybe-configure-target-libitm
52584 maybe-configure-target-libitm:
52585 @if gcc-bootstrap
52586 configure-target-libitm: stage_current
52587 @endif gcc-bootstrap
52588 @if target-libitm
52589 maybe-configure-target-libitm: configure-target-libitm
52590 configure-target-libitm:
52591 @: $(MAKE); $(unstage)
52592 @r=`${PWD_COMMAND}`; export r; \
52593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52594 echo "Checking multilib configuration for libitm..."; \
52595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
52596 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
52597 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
52598 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
52599 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
52600 else \
52601 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
52602 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
52603 fi; \
52604 else \
52605 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
52606 fi; \
52607 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
52608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
52609 $(NORMAL_TARGET_EXPORTS) \
52610 echo Configuring in $(TARGET_SUBDIR)/libitm; \
52611 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
52612 case $(srcdir) in \
52613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52614 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
52615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52616 esac; \
52617 module_srcdir=libitm; \
52618 rm -f no-such-file || : ; \
52619 CONFIG_SITE=no-such-file $(SHELL) \
52620 $$s/$$module_srcdir/configure \
52621 --srcdir=$${topdir}/$$module_srcdir \
52622 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52623 --target=${target_alias} \
52624 || exit 1
52625 @endif target-libitm
52631 .PHONY: all-target-libitm maybe-all-target-libitm
52632 maybe-all-target-libitm:
52633 @if gcc-bootstrap
52634 all-target-libitm: stage_current
52635 @endif gcc-bootstrap
52636 @if target-libitm
52637 TARGET-target-libitm=all
52638 maybe-all-target-libitm: all-target-libitm
52639 all-target-libitm: configure-target-libitm
52640 @: $(MAKE); $(unstage)
52641 @r=`${PWD_COMMAND}`; export r; \
52642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52643 $(NORMAL_TARGET_EXPORTS) \
52644 (cd $(TARGET_SUBDIR)/libitm && \
52645 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52646 $(TARGET-target-libitm))
52647 @endif target-libitm
52653 .PHONY: check-target-libitm maybe-check-target-libitm
52654 maybe-check-target-libitm:
52655 @if target-libitm
52656 maybe-check-target-libitm: check-target-libitm
52658 check-target-libitm:
52659 @: $(MAKE); $(unstage)
52660 @r=`${PWD_COMMAND}`; export r; \
52661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52662 $(NORMAL_TARGET_EXPORTS) \
52663 (cd $(TARGET_SUBDIR)/libitm && \
52664 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52666 @endif target-libitm
52668 .PHONY: install-target-libitm maybe-install-target-libitm
52669 maybe-install-target-libitm:
52670 @if target-libitm
52671 maybe-install-target-libitm: install-target-libitm
52673 install-target-libitm: installdirs
52674 @: $(MAKE); $(unstage)
52675 @r=`${PWD_COMMAND}`; export r; \
52676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52677 $(NORMAL_TARGET_EXPORTS) \
52678 (cd $(TARGET_SUBDIR)/libitm && \
52679 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52681 @endif target-libitm
52683 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
52684 maybe-install-strip-target-libitm:
52685 @if target-libitm
52686 maybe-install-strip-target-libitm: install-strip-target-libitm
52688 install-strip-target-libitm: installdirs
52689 @: $(MAKE); $(unstage)
52690 @r=`${PWD_COMMAND}`; export r; \
52691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52692 $(NORMAL_TARGET_EXPORTS) \
52693 (cd $(TARGET_SUBDIR)/libitm && \
52694 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52696 @endif target-libitm
52698 # Other targets (info, dvi, pdf, etc.)
52700 .PHONY: maybe-info-target-libitm info-target-libitm
52701 maybe-info-target-libitm:
52702 @if target-libitm
52703 maybe-info-target-libitm: info-target-libitm
52705 info-target-libitm: \
52706 configure-target-libitm
52707 @: $(MAKE); $(unstage)
52708 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52709 r=`${PWD_COMMAND}`; export r; \
52710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52711 $(NORMAL_TARGET_EXPORTS) \
52712 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
52713 for flag in $(EXTRA_TARGET_FLAGS); do \
52714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52715 done; \
52716 (cd $(TARGET_SUBDIR)/libitm && \
52717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52719 "RANLIB=$${RANLIB}" \
52720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52721 info) \
52722 || exit 1
52724 @endif target-libitm
52726 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
52727 maybe-dvi-target-libitm:
52728 @if target-libitm
52729 maybe-dvi-target-libitm: dvi-target-libitm
52731 dvi-target-libitm: \
52732 configure-target-libitm
52733 @: $(MAKE); $(unstage)
52734 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52735 r=`${PWD_COMMAND}`; export r; \
52736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52737 $(NORMAL_TARGET_EXPORTS) \
52738 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
52739 for flag in $(EXTRA_TARGET_FLAGS); do \
52740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52741 done; \
52742 (cd $(TARGET_SUBDIR)/libitm && \
52743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52745 "RANLIB=$${RANLIB}" \
52746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52747 dvi) \
52748 || exit 1
52750 @endif target-libitm
52752 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
52753 maybe-pdf-target-libitm:
52754 @if target-libitm
52755 maybe-pdf-target-libitm: pdf-target-libitm
52757 pdf-target-libitm: \
52758 configure-target-libitm
52759 @: $(MAKE); $(unstage)
52760 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52761 r=`${PWD_COMMAND}`; export r; \
52762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52763 $(NORMAL_TARGET_EXPORTS) \
52764 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
52765 for flag in $(EXTRA_TARGET_FLAGS); do \
52766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52767 done; \
52768 (cd $(TARGET_SUBDIR)/libitm && \
52769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52771 "RANLIB=$${RANLIB}" \
52772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52773 pdf) \
52774 || exit 1
52776 @endif target-libitm
52778 .PHONY: maybe-html-target-libitm html-target-libitm
52779 maybe-html-target-libitm:
52780 @if target-libitm
52781 maybe-html-target-libitm: html-target-libitm
52783 html-target-libitm: \
52784 configure-target-libitm
52785 @: $(MAKE); $(unstage)
52786 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52787 r=`${PWD_COMMAND}`; export r; \
52788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52789 $(NORMAL_TARGET_EXPORTS) \
52790 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
52791 for flag in $(EXTRA_TARGET_FLAGS); do \
52792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52793 done; \
52794 (cd $(TARGET_SUBDIR)/libitm && \
52795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52797 "RANLIB=$${RANLIB}" \
52798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52799 html) \
52800 || exit 1
52802 @endif target-libitm
52804 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
52805 maybe-TAGS-target-libitm:
52806 @if target-libitm
52807 maybe-TAGS-target-libitm: TAGS-target-libitm
52809 TAGS-target-libitm: \
52810 configure-target-libitm
52811 @: $(MAKE); $(unstage)
52812 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52813 r=`${PWD_COMMAND}`; export r; \
52814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52815 $(NORMAL_TARGET_EXPORTS) \
52816 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
52817 for flag in $(EXTRA_TARGET_FLAGS); do \
52818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52819 done; \
52820 (cd $(TARGET_SUBDIR)/libitm && \
52821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52823 "RANLIB=$${RANLIB}" \
52824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52825 TAGS) \
52826 || exit 1
52828 @endif target-libitm
52830 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
52831 maybe-install-info-target-libitm:
52832 @if target-libitm
52833 maybe-install-info-target-libitm: install-info-target-libitm
52835 install-info-target-libitm: \
52836 configure-target-libitm \
52837 info-target-libitm
52838 @: $(MAKE); $(unstage)
52839 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52840 r=`${PWD_COMMAND}`; export r; \
52841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52842 $(NORMAL_TARGET_EXPORTS) \
52843 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
52844 for flag in $(EXTRA_TARGET_FLAGS); do \
52845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52846 done; \
52847 (cd $(TARGET_SUBDIR)/libitm && \
52848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52850 "RANLIB=$${RANLIB}" \
52851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52852 install-info) \
52853 || exit 1
52855 @endif target-libitm
52857 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
52858 maybe-install-pdf-target-libitm:
52859 @if target-libitm
52860 maybe-install-pdf-target-libitm: install-pdf-target-libitm
52862 install-pdf-target-libitm: \
52863 configure-target-libitm \
52864 pdf-target-libitm
52865 @: $(MAKE); $(unstage)
52866 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52867 r=`${PWD_COMMAND}`; export r; \
52868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52869 $(NORMAL_TARGET_EXPORTS) \
52870 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
52871 for flag in $(EXTRA_TARGET_FLAGS); do \
52872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52873 done; \
52874 (cd $(TARGET_SUBDIR)/libitm && \
52875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52877 "RANLIB=$${RANLIB}" \
52878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52879 install-pdf) \
52880 || exit 1
52882 @endif target-libitm
52884 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
52885 maybe-install-html-target-libitm:
52886 @if target-libitm
52887 maybe-install-html-target-libitm: install-html-target-libitm
52889 install-html-target-libitm: \
52890 configure-target-libitm \
52891 html-target-libitm
52892 @: $(MAKE); $(unstage)
52893 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52894 r=`${PWD_COMMAND}`; export r; \
52895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52896 $(NORMAL_TARGET_EXPORTS) \
52897 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
52898 for flag in $(EXTRA_TARGET_FLAGS); do \
52899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52900 done; \
52901 (cd $(TARGET_SUBDIR)/libitm && \
52902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52904 "RANLIB=$${RANLIB}" \
52905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52906 install-html) \
52907 || exit 1
52909 @endif target-libitm
52911 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
52912 maybe-installcheck-target-libitm:
52913 @if target-libitm
52914 maybe-installcheck-target-libitm: installcheck-target-libitm
52916 installcheck-target-libitm: \
52917 configure-target-libitm
52918 @: $(MAKE); $(unstage)
52919 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52920 r=`${PWD_COMMAND}`; export r; \
52921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52922 $(NORMAL_TARGET_EXPORTS) \
52923 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
52924 for flag in $(EXTRA_TARGET_FLAGS); do \
52925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52926 done; \
52927 (cd $(TARGET_SUBDIR)/libitm && \
52928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52930 "RANLIB=$${RANLIB}" \
52931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52932 installcheck) \
52933 || exit 1
52935 @endif target-libitm
52937 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
52938 maybe-mostlyclean-target-libitm:
52939 @if target-libitm
52940 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
52942 mostlyclean-target-libitm:
52943 @: $(MAKE); $(unstage)
52944 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52945 r=`${PWD_COMMAND}`; export r; \
52946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52947 $(NORMAL_TARGET_EXPORTS) \
52948 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
52949 for flag in $(EXTRA_TARGET_FLAGS); do \
52950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52951 done; \
52952 (cd $(TARGET_SUBDIR)/libitm && \
52953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52955 "RANLIB=$${RANLIB}" \
52956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52957 mostlyclean) \
52958 || exit 1
52960 @endif target-libitm
52962 .PHONY: maybe-clean-target-libitm clean-target-libitm
52963 maybe-clean-target-libitm:
52964 @if target-libitm
52965 maybe-clean-target-libitm: clean-target-libitm
52967 clean-target-libitm:
52968 @: $(MAKE); $(unstage)
52969 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52970 r=`${PWD_COMMAND}`; export r; \
52971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52972 $(NORMAL_TARGET_EXPORTS) \
52973 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
52974 for flag in $(EXTRA_TARGET_FLAGS); do \
52975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52976 done; \
52977 (cd $(TARGET_SUBDIR)/libitm && \
52978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52980 "RANLIB=$${RANLIB}" \
52981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52982 clean) \
52983 || exit 1
52985 @endif target-libitm
52987 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
52988 maybe-distclean-target-libitm:
52989 @if target-libitm
52990 maybe-distclean-target-libitm: distclean-target-libitm
52992 distclean-target-libitm:
52993 @: $(MAKE); $(unstage)
52994 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52995 r=`${PWD_COMMAND}`; export r; \
52996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52997 $(NORMAL_TARGET_EXPORTS) \
52998 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
52999 for flag in $(EXTRA_TARGET_FLAGS); do \
53000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53001 done; \
53002 (cd $(TARGET_SUBDIR)/libitm && \
53003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53005 "RANLIB=$${RANLIB}" \
53006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53007 distclean) \
53008 || exit 1
53010 @endif target-libitm
53012 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
53013 maybe-maintainer-clean-target-libitm:
53014 @if target-libitm
53015 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
53017 maintainer-clean-target-libitm:
53018 @: $(MAKE); $(unstage)
53019 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53020 r=`${PWD_COMMAND}`; export r; \
53021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53022 $(NORMAL_TARGET_EXPORTS) \
53023 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
53024 for flag in $(EXTRA_TARGET_FLAGS); do \
53025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53026 done; \
53027 (cd $(TARGET_SUBDIR)/libitm && \
53028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53030 "RANLIB=$${RANLIB}" \
53031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53032 maintainer-clean) \
53033 || exit 1
53035 @endif target-libitm
53041 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
53042 maybe-configure-target-libatomic:
53043 @if gcc-bootstrap
53044 configure-target-libatomic: stage_current
53045 @endif gcc-bootstrap
53046 @if target-libatomic
53047 maybe-configure-target-libatomic: configure-target-libatomic
53048 configure-target-libatomic:
53049 @: $(MAKE); $(unstage)
53050 @r=`${PWD_COMMAND}`; export r; \
53051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53052 echo "Checking multilib configuration for libatomic..."; \
53053 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
53054 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
53055 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
53056 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
53057 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
53058 else \
53059 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
53060 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
53061 fi; \
53062 else \
53063 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
53064 fi; \
53065 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
53066 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
53067 $(NORMAL_TARGET_EXPORTS) \
53068 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
53069 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
53070 case $(srcdir) in \
53071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53072 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
53073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53074 esac; \
53075 module_srcdir=libatomic; \
53076 rm -f no-such-file || : ; \
53077 CONFIG_SITE=no-such-file $(SHELL) \
53078 $$s/$$module_srcdir/configure \
53079 --srcdir=$${topdir}/$$module_srcdir \
53080 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53081 --target=${target_alias} \
53082 || exit 1
53083 @endif target-libatomic
53089 .PHONY: all-target-libatomic maybe-all-target-libatomic
53090 maybe-all-target-libatomic:
53091 @if gcc-bootstrap
53092 all-target-libatomic: stage_current
53093 @endif gcc-bootstrap
53094 @if target-libatomic
53095 TARGET-target-libatomic=all
53096 maybe-all-target-libatomic: all-target-libatomic
53097 all-target-libatomic: configure-target-libatomic
53098 @: $(MAKE); $(unstage)
53099 @r=`${PWD_COMMAND}`; export r; \
53100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53101 $(NORMAL_TARGET_EXPORTS) \
53102 (cd $(TARGET_SUBDIR)/libatomic && \
53103 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53104 $(TARGET-target-libatomic))
53105 @endif target-libatomic
53111 .PHONY: check-target-libatomic maybe-check-target-libatomic
53112 maybe-check-target-libatomic:
53113 @if target-libatomic
53114 maybe-check-target-libatomic: check-target-libatomic
53116 check-target-libatomic:
53117 @: $(MAKE); $(unstage)
53118 @r=`${PWD_COMMAND}`; export r; \
53119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53120 $(NORMAL_TARGET_EXPORTS) \
53121 (cd $(TARGET_SUBDIR)/libatomic && \
53122 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53124 @endif target-libatomic
53126 .PHONY: install-target-libatomic maybe-install-target-libatomic
53127 maybe-install-target-libatomic:
53128 @if target-libatomic
53129 maybe-install-target-libatomic: install-target-libatomic
53131 install-target-libatomic: installdirs
53132 @: $(MAKE); $(unstage)
53133 @r=`${PWD_COMMAND}`; export r; \
53134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53135 $(NORMAL_TARGET_EXPORTS) \
53136 (cd $(TARGET_SUBDIR)/libatomic && \
53137 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53139 @endif target-libatomic
53141 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
53142 maybe-install-strip-target-libatomic:
53143 @if target-libatomic
53144 maybe-install-strip-target-libatomic: install-strip-target-libatomic
53146 install-strip-target-libatomic: installdirs
53147 @: $(MAKE); $(unstage)
53148 @r=`${PWD_COMMAND}`; export r; \
53149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53150 $(NORMAL_TARGET_EXPORTS) \
53151 (cd $(TARGET_SUBDIR)/libatomic && \
53152 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53154 @endif target-libatomic
53156 # Other targets (info, dvi, pdf, etc.)
53158 .PHONY: maybe-info-target-libatomic info-target-libatomic
53159 maybe-info-target-libatomic:
53160 @if target-libatomic
53161 maybe-info-target-libatomic: info-target-libatomic
53163 info-target-libatomic: \
53164 configure-target-libatomic
53165 @: $(MAKE); $(unstage)
53166 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53167 r=`${PWD_COMMAND}`; export r; \
53168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53169 $(NORMAL_TARGET_EXPORTS) \
53170 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
53171 for flag in $(EXTRA_TARGET_FLAGS); do \
53172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53173 done; \
53174 (cd $(TARGET_SUBDIR)/libatomic && \
53175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53177 "RANLIB=$${RANLIB}" \
53178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53179 info) \
53180 || exit 1
53182 @endif target-libatomic
53184 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
53185 maybe-dvi-target-libatomic:
53186 @if target-libatomic
53187 maybe-dvi-target-libatomic: dvi-target-libatomic
53189 dvi-target-libatomic: \
53190 configure-target-libatomic
53191 @: $(MAKE); $(unstage)
53192 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53193 r=`${PWD_COMMAND}`; export r; \
53194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53195 $(NORMAL_TARGET_EXPORTS) \
53196 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
53197 for flag in $(EXTRA_TARGET_FLAGS); do \
53198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53199 done; \
53200 (cd $(TARGET_SUBDIR)/libatomic && \
53201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53203 "RANLIB=$${RANLIB}" \
53204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53205 dvi) \
53206 || exit 1
53208 @endif target-libatomic
53210 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
53211 maybe-pdf-target-libatomic:
53212 @if target-libatomic
53213 maybe-pdf-target-libatomic: pdf-target-libatomic
53215 pdf-target-libatomic: \
53216 configure-target-libatomic
53217 @: $(MAKE); $(unstage)
53218 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53219 r=`${PWD_COMMAND}`; export r; \
53220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53221 $(NORMAL_TARGET_EXPORTS) \
53222 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
53223 for flag in $(EXTRA_TARGET_FLAGS); do \
53224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53225 done; \
53226 (cd $(TARGET_SUBDIR)/libatomic && \
53227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53229 "RANLIB=$${RANLIB}" \
53230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53231 pdf) \
53232 || exit 1
53234 @endif target-libatomic
53236 .PHONY: maybe-html-target-libatomic html-target-libatomic
53237 maybe-html-target-libatomic:
53238 @if target-libatomic
53239 maybe-html-target-libatomic: html-target-libatomic
53241 html-target-libatomic: \
53242 configure-target-libatomic
53243 @: $(MAKE); $(unstage)
53244 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53245 r=`${PWD_COMMAND}`; export r; \
53246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53247 $(NORMAL_TARGET_EXPORTS) \
53248 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
53249 for flag in $(EXTRA_TARGET_FLAGS); do \
53250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53251 done; \
53252 (cd $(TARGET_SUBDIR)/libatomic && \
53253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53255 "RANLIB=$${RANLIB}" \
53256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53257 html) \
53258 || exit 1
53260 @endif target-libatomic
53262 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
53263 maybe-TAGS-target-libatomic:
53264 @if target-libatomic
53265 maybe-TAGS-target-libatomic: TAGS-target-libatomic
53267 TAGS-target-libatomic: \
53268 configure-target-libatomic
53269 @: $(MAKE); $(unstage)
53270 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53271 r=`${PWD_COMMAND}`; export r; \
53272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53273 $(NORMAL_TARGET_EXPORTS) \
53274 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
53275 for flag in $(EXTRA_TARGET_FLAGS); do \
53276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53277 done; \
53278 (cd $(TARGET_SUBDIR)/libatomic && \
53279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53281 "RANLIB=$${RANLIB}" \
53282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53283 TAGS) \
53284 || exit 1
53286 @endif target-libatomic
53288 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
53289 maybe-install-info-target-libatomic:
53290 @if target-libatomic
53291 maybe-install-info-target-libatomic: install-info-target-libatomic
53293 install-info-target-libatomic: \
53294 configure-target-libatomic \
53295 info-target-libatomic
53296 @: $(MAKE); $(unstage)
53297 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53298 r=`${PWD_COMMAND}`; export r; \
53299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53300 $(NORMAL_TARGET_EXPORTS) \
53301 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
53302 for flag in $(EXTRA_TARGET_FLAGS); do \
53303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53304 done; \
53305 (cd $(TARGET_SUBDIR)/libatomic && \
53306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53308 "RANLIB=$${RANLIB}" \
53309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53310 install-info) \
53311 || exit 1
53313 @endif target-libatomic
53315 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
53316 maybe-install-pdf-target-libatomic:
53317 @if target-libatomic
53318 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
53320 install-pdf-target-libatomic: \
53321 configure-target-libatomic \
53322 pdf-target-libatomic
53323 @: $(MAKE); $(unstage)
53324 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53325 r=`${PWD_COMMAND}`; export r; \
53326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53327 $(NORMAL_TARGET_EXPORTS) \
53328 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
53329 for flag in $(EXTRA_TARGET_FLAGS); do \
53330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53331 done; \
53332 (cd $(TARGET_SUBDIR)/libatomic && \
53333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53335 "RANLIB=$${RANLIB}" \
53336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53337 install-pdf) \
53338 || exit 1
53340 @endif target-libatomic
53342 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
53343 maybe-install-html-target-libatomic:
53344 @if target-libatomic
53345 maybe-install-html-target-libatomic: install-html-target-libatomic
53347 install-html-target-libatomic: \
53348 configure-target-libatomic \
53349 html-target-libatomic
53350 @: $(MAKE); $(unstage)
53351 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53352 r=`${PWD_COMMAND}`; export r; \
53353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53354 $(NORMAL_TARGET_EXPORTS) \
53355 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
53356 for flag in $(EXTRA_TARGET_FLAGS); do \
53357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53358 done; \
53359 (cd $(TARGET_SUBDIR)/libatomic && \
53360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53362 "RANLIB=$${RANLIB}" \
53363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53364 install-html) \
53365 || exit 1
53367 @endif target-libatomic
53369 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
53370 maybe-installcheck-target-libatomic:
53371 @if target-libatomic
53372 maybe-installcheck-target-libatomic: installcheck-target-libatomic
53374 installcheck-target-libatomic: \
53375 configure-target-libatomic
53376 @: $(MAKE); $(unstage)
53377 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53378 r=`${PWD_COMMAND}`; export r; \
53379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53380 $(NORMAL_TARGET_EXPORTS) \
53381 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
53382 for flag in $(EXTRA_TARGET_FLAGS); do \
53383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53384 done; \
53385 (cd $(TARGET_SUBDIR)/libatomic && \
53386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53388 "RANLIB=$${RANLIB}" \
53389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53390 installcheck) \
53391 || exit 1
53393 @endif target-libatomic
53395 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
53396 maybe-mostlyclean-target-libatomic:
53397 @if target-libatomic
53398 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
53400 mostlyclean-target-libatomic:
53401 @: $(MAKE); $(unstage)
53402 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53403 r=`${PWD_COMMAND}`; export r; \
53404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53405 $(NORMAL_TARGET_EXPORTS) \
53406 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
53407 for flag in $(EXTRA_TARGET_FLAGS); do \
53408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53409 done; \
53410 (cd $(TARGET_SUBDIR)/libatomic && \
53411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53413 "RANLIB=$${RANLIB}" \
53414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53415 mostlyclean) \
53416 || exit 1
53418 @endif target-libatomic
53420 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
53421 maybe-clean-target-libatomic:
53422 @if target-libatomic
53423 maybe-clean-target-libatomic: clean-target-libatomic
53425 clean-target-libatomic:
53426 @: $(MAKE); $(unstage)
53427 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53428 r=`${PWD_COMMAND}`; export r; \
53429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53430 $(NORMAL_TARGET_EXPORTS) \
53431 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
53432 for flag in $(EXTRA_TARGET_FLAGS); do \
53433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53434 done; \
53435 (cd $(TARGET_SUBDIR)/libatomic && \
53436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53438 "RANLIB=$${RANLIB}" \
53439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53440 clean) \
53441 || exit 1
53443 @endif target-libatomic
53445 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
53446 maybe-distclean-target-libatomic:
53447 @if target-libatomic
53448 maybe-distclean-target-libatomic: distclean-target-libatomic
53450 distclean-target-libatomic:
53451 @: $(MAKE); $(unstage)
53452 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53453 r=`${PWD_COMMAND}`; export r; \
53454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53455 $(NORMAL_TARGET_EXPORTS) \
53456 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
53457 for flag in $(EXTRA_TARGET_FLAGS); do \
53458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53459 done; \
53460 (cd $(TARGET_SUBDIR)/libatomic && \
53461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53463 "RANLIB=$${RANLIB}" \
53464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53465 distclean) \
53466 || exit 1
53468 @endif target-libatomic
53470 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
53471 maybe-maintainer-clean-target-libatomic:
53472 @if target-libatomic
53473 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
53475 maintainer-clean-target-libatomic:
53476 @: $(MAKE); $(unstage)
53477 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53478 r=`${PWD_COMMAND}`; export r; \
53479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53480 $(NORMAL_TARGET_EXPORTS) \
53481 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
53482 for flag in $(EXTRA_TARGET_FLAGS); do \
53483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53484 done; \
53485 (cd $(TARGET_SUBDIR)/libatomic && \
53486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53488 "RANLIB=$${RANLIB}" \
53489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53490 maintainer-clean) \
53491 || exit 1
53493 @endif target-libatomic
53497 @if target-libgomp
53498 .PHONY: check-target-libgomp-c++
53499 check-target-libgomp-c++:
53500 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
53502 @endif target-libgomp
53504 @if target-libitm
53505 .PHONY: check-target-libitm-c++
53506 check-target-libitm-c++:
53507 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
53509 @endif target-libitm
53511 # ----------
53512 # GCC module
53513 # ----------
53515 @if gcc-no-bootstrap
53516 .PHONY: cross
53517 cross: all-build all-gas all-ld
53518 @r=`${PWD_COMMAND}`; export r; \
53519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53520 $(HOST_EXPORTS) \
53521 echo "Building the C and C++ compiler"; \
53522 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
53523 @r=`${PWD_COMMAND}`; export r; \
53524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53525 echo "Building runtime libraries"; \
53526 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
53527 @endif gcc-no-bootstrap
53529 @if gcc
53531 .PHONY: check-gcc-c check-c
53532 check-gcc-c:
53533 r=`${PWD_COMMAND}`; export r; \
53534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53535 $(HOST_EXPORTS) \
53536 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
53537 check-c: check-gcc-c
53539 .PHONY: check-gcc-c++ check-c++
53540 check-gcc-c++:
53541 r=`${PWD_COMMAND}`; export r; \
53542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53543 $(HOST_EXPORTS) \
53544 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
53545 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
53547 .PHONY: check-gcc-fortran check-fortran
53548 check-gcc-fortran:
53549 r=`${PWD_COMMAND}`; export r; \
53550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53551 $(HOST_EXPORTS) \
53552 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
53553 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
53555 .PHONY: check-gcc-ada check-ada
53556 check-gcc-ada:
53557 r=`${PWD_COMMAND}`; export r; \
53558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53559 $(HOST_EXPORTS) \
53560 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
53561 check-ada: check-gcc-ada check-target-libada
53563 .PHONY: check-gcc-objc check-objc
53564 check-gcc-objc:
53565 r=`${PWD_COMMAND}`; export r; \
53566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53567 $(HOST_EXPORTS) \
53568 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
53569 check-objc: check-gcc-objc check-target-libobjc
53571 .PHONY: check-gcc-obj-c++ check-obj-c++
53572 check-gcc-obj-c++:
53573 r=`${PWD_COMMAND}`; export r; \
53574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53575 $(HOST_EXPORTS) \
53576 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
53577 check-obj-c++: check-gcc-obj-c++
53579 .PHONY: check-gcc-go check-go
53580 check-gcc-go:
53581 r=`${PWD_COMMAND}`; export r; \
53582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53583 $(HOST_EXPORTS) \
53584 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
53585 check-go: check-gcc-go check-target-libgo check-gotools
53587 .PHONY: check-gcc-brig check-brig
53588 check-gcc-brig:
53589 r=`${PWD_COMMAND}`; export r; \
53590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53591 $(HOST_EXPORTS) \
53592 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
53593 check-brig: check-gcc-brig check-target-libhsail-rt
53596 # The gcc part of install-no-fixedincludes, which relies on an intimate
53597 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
53598 .PHONY: gcc-install-no-fixedincludes
53599 gcc-install-no-fixedincludes:
53600 @if [ -f ./gcc/Makefile ]; then \
53601 r=`${PWD_COMMAND}`; export r; \
53602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53603 $(HOST_EXPORTS) \
53604 (cd ./gcc \
53605 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
53606 else true; fi
53607 @endif gcc
53609 # ---------------------
53610 # GCC bootstrap support
53611 # ---------------------
53613 # We track the current stage (the one in 'gcc') in the stage_current file.
53614 # stage_last instead tracks the stage that was built last. These targets
53615 # are dummy when toplevel bootstrap is not active.
53617 # While making host and target tools, symlinks to the final stage must be
53618 # there, so $(unstage) should be run at various points. To avoid excessive
53619 # recursive invocations of make, we "inline" them using a variable. These
53620 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
53621 # to avoid warnings from the GNU Make job server.
53623 unstage = :
53624 stage = :
53625 current_stage = ""
53627 @if gcc-bootstrap
53628 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
53629 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
53630 current_stage = "`cat stage_current 2> /dev/null`"
53631 @endif gcc-bootstrap
53633 .PHONY: unstage stage
53634 unstage:
53635 @: $(MAKE); $(unstage)
53636 stage:
53637 @: $(MAKE); $(stage)
53639 # Disable commands for lean bootstrap.
53640 LEAN = false
53642 # We name the build directories for the various stages "stage1-gcc",
53643 # "stage2-gcc","stage3-gcc", etc.
53645 # Since the 'compare' process will fail (on debugging information) if any
53646 # directory names are different, we need to link the gcc directory for
53647 # the previous stage to a constant name ('prev-gcc'), and to make the name of
53648 # the build directories constant as well. For the latter, we use naked names
53649 # like 'gcc', because the scripts in that directory assume it. We use
53650 # mv on platforms where symlinks to directories do not work or are not
53651 # reliable.
53653 # 'touch' doesn't work right on some platforms.
53654 STAMP = echo timestamp >
53656 # We only want to compare .o files, so set this!
53657 objext = .o
53660 .PHONY: stage1-start stage1-end
53662 stage1-start::
53663 @: $(MAKE); $(stage); \
53664 echo stage1 > stage_current; \
53665 echo stage1 > stage_last; \
53666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53667 @if bfd
53668 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
53669 mkdir stage1-bfd; \
53670 mv stage1-bfd bfd
53671 @endif bfd
53672 @if opcodes
53673 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
53674 mkdir stage1-opcodes; \
53675 mv stage1-opcodes opcodes
53676 @endif opcodes
53677 @if binutils
53678 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
53679 mkdir stage1-binutils; \
53680 mv stage1-binutils binutils
53681 @endif binutils
53682 @if fixincludes
53683 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
53684 mkdir stage1-fixincludes; \
53685 mv stage1-fixincludes fixincludes
53686 @endif fixincludes
53687 @if gas
53688 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
53689 mkdir stage1-gas; \
53690 mv stage1-gas gas
53691 @endif gas
53692 @if gcc
53693 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
53694 mkdir stage1-gcc; \
53695 mv stage1-gcc gcc
53696 @endif gcc
53697 @if gmp
53698 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
53699 mkdir stage1-gmp; \
53700 mv stage1-gmp gmp
53701 @endif gmp
53702 @if mpfr
53703 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
53704 mkdir stage1-mpfr; \
53705 mv stage1-mpfr mpfr
53706 @endif mpfr
53707 @if mpc
53708 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
53709 mkdir stage1-mpc; \
53710 mv stage1-mpc mpc
53711 @endif mpc
53712 @if isl
53713 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
53714 mkdir stage1-isl; \
53715 mv stage1-isl isl
53716 @endif isl
53717 @if libelf
53718 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
53719 mkdir stage1-libelf; \
53720 mv stage1-libelf libelf
53721 @endif libelf
53722 @if gold
53723 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
53724 mkdir stage1-gold; \
53725 mv stage1-gold gold
53726 @endif gold
53727 @if intl
53728 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
53729 mkdir stage1-intl; \
53730 mv stage1-intl intl
53731 @endif intl
53732 @if ld
53733 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
53734 mkdir stage1-ld; \
53735 mv stage1-ld ld
53736 @endif ld
53737 @if libbacktrace
53738 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
53739 mkdir stage1-libbacktrace; \
53740 mv stage1-libbacktrace libbacktrace
53741 @endif libbacktrace
53742 @if libcpp
53743 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
53744 mkdir stage1-libcpp; \
53745 mv stage1-libcpp libcpp
53746 @endif libcpp
53747 @if libdecnumber
53748 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
53749 mkdir stage1-libdecnumber; \
53750 mv stage1-libdecnumber libdecnumber
53751 @endif libdecnumber
53752 @if libiberty
53753 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
53754 mkdir stage1-libiberty; \
53755 mv stage1-libiberty libiberty
53756 @endif libiberty
53757 @if libiberty-linker-plugin
53758 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
53759 mkdir stage1-libiberty-linker-plugin; \
53760 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
53761 @endif libiberty-linker-plugin
53762 @if libiconv
53763 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
53764 mkdir stage1-libiconv; \
53765 mv stage1-libiconv libiconv
53766 @endif libiconv
53767 @if zlib
53768 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
53769 mkdir stage1-zlib; \
53770 mv stage1-zlib zlib
53771 @endif zlib
53772 @if lto-plugin
53773 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
53774 mkdir stage1-lto-plugin; \
53775 mv stage1-lto-plugin lto-plugin
53776 @endif lto-plugin
53777 @[ -d stage1-$(TARGET_SUBDIR) ] || \
53778 mkdir stage1-$(TARGET_SUBDIR); \
53779 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
53781 stage1-end::
53782 @if bfd
53783 @if test -d $(HOST_SUBDIR)/bfd; then \
53784 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
53786 @endif bfd
53787 @if opcodes
53788 @if test -d $(HOST_SUBDIR)/opcodes; then \
53789 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
53791 @endif opcodes
53792 @if binutils
53793 @if test -d $(HOST_SUBDIR)/binutils; then \
53794 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
53796 @endif binutils
53797 @if fixincludes
53798 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53799 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
53801 @endif fixincludes
53802 @if gas
53803 @if test -d $(HOST_SUBDIR)/gas; then \
53804 cd $(HOST_SUBDIR); mv gas stage1-gas; \
53806 @endif gas
53807 @if gcc
53808 @if test -d $(HOST_SUBDIR)/gcc; then \
53809 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
53811 @endif gcc
53812 @if gmp
53813 @if test -d $(HOST_SUBDIR)/gmp; then \
53814 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
53816 @endif gmp
53817 @if mpfr
53818 @if test -d $(HOST_SUBDIR)/mpfr; then \
53819 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
53821 @endif mpfr
53822 @if mpc
53823 @if test -d $(HOST_SUBDIR)/mpc; then \
53824 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
53826 @endif mpc
53827 @if isl
53828 @if test -d $(HOST_SUBDIR)/isl; then \
53829 cd $(HOST_SUBDIR); mv isl stage1-isl; \
53831 @endif isl
53832 @if libelf
53833 @if test -d $(HOST_SUBDIR)/libelf; then \
53834 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
53836 @endif libelf
53837 @if gold
53838 @if test -d $(HOST_SUBDIR)/gold; then \
53839 cd $(HOST_SUBDIR); mv gold stage1-gold; \
53841 @endif gold
53842 @if intl
53843 @if test -d $(HOST_SUBDIR)/intl; then \
53844 cd $(HOST_SUBDIR); mv intl stage1-intl; \
53846 @endif intl
53847 @if ld
53848 @if test -d $(HOST_SUBDIR)/ld; then \
53849 cd $(HOST_SUBDIR); mv ld stage1-ld; \
53851 @endif ld
53852 @if libbacktrace
53853 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53854 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
53856 @endif libbacktrace
53857 @if libcpp
53858 @if test -d $(HOST_SUBDIR)/libcpp; then \
53859 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
53861 @endif libcpp
53862 @if libdecnumber
53863 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53864 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
53866 @endif libdecnumber
53867 @if libiberty
53868 @if test -d $(HOST_SUBDIR)/libiberty; then \
53869 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
53871 @endif libiberty
53872 @if libiberty-linker-plugin
53873 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53874 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
53876 @endif libiberty-linker-plugin
53877 @if libiconv
53878 @if test -d $(HOST_SUBDIR)/libiconv; then \
53879 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
53881 @endif libiconv
53882 @if zlib
53883 @if test -d $(HOST_SUBDIR)/zlib; then \
53884 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
53886 @endif zlib
53887 @if lto-plugin
53888 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53889 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
53891 @endif lto-plugin
53892 @if test -d $(TARGET_SUBDIR); then \
53893 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
53895 rm -f stage_current
53897 # Bubble a bug fix through all the stages up to stage 1. They are
53898 # remade, but not reconfigured. The next stage (if any) will not be
53899 # reconfigured either.
53900 .PHONY: stage1-bubble
53901 stage1-bubble::
53902 @r=`${PWD_COMMAND}`; export r; \
53903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53904 if test -f stage1-lean ; then \
53905 echo Skipping rebuild of stage1; \
53906 else \
53907 $(MAKE) stage1-start; \
53908 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
53911 .PHONY: all-stage1 clean-stage1
53912 do-clean: clean-stage1
53914 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53915 # only possibility, but now it conflicts with no-bootstrap rules
53916 @if gcc-bootstrap
53921 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53923 .PHONY: distclean-stage1
53924 distclean-stage1::
53925 @: $(MAKE); $(stage)
53926 @test "`cat stage_last`" != stage1 || rm -f stage_last
53927 rm -rf stage1-*
53930 @endif gcc-bootstrap
53933 .PHONY: stage2-start stage2-end
53935 stage2-start::
53936 @: $(MAKE); $(stage); \
53937 echo stage2 > stage_current; \
53938 echo stage2 > stage_last; \
53939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53940 @if bfd
53941 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
53942 mkdir stage2-bfd; \
53943 mv stage2-bfd bfd; \
53944 mv stage1-bfd prev-bfd || test -f stage1-lean
53945 @endif bfd
53946 @if opcodes
53947 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
53948 mkdir stage2-opcodes; \
53949 mv stage2-opcodes opcodes; \
53950 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53951 @endif opcodes
53952 @if binutils
53953 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
53954 mkdir stage2-binutils; \
53955 mv stage2-binutils binutils; \
53956 mv stage1-binutils prev-binutils || test -f stage1-lean
53957 @endif binutils
53958 @if fixincludes
53959 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
53960 mkdir stage2-fixincludes; \
53961 mv stage2-fixincludes fixincludes; \
53962 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
53963 @endif fixincludes
53964 @if gas
53965 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
53966 mkdir stage2-gas; \
53967 mv stage2-gas gas; \
53968 mv stage1-gas prev-gas || test -f stage1-lean
53969 @endif gas
53970 @if gcc
53971 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
53972 mkdir stage2-gcc; \
53973 mv stage2-gcc gcc; \
53974 mv stage1-gcc prev-gcc || test -f stage1-lean
53975 @endif gcc
53976 @if gmp
53977 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
53978 mkdir stage2-gmp; \
53979 mv stage2-gmp gmp; \
53980 mv stage1-gmp prev-gmp || test -f stage1-lean
53981 @endif gmp
53982 @if mpfr
53983 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
53984 mkdir stage2-mpfr; \
53985 mv stage2-mpfr mpfr; \
53986 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53987 @endif mpfr
53988 @if mpc
53989 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
53990 mkdir stage2-mpc; \
53991 mv stage2-mpc mpc; \
53992 mv stage1-mpc prev-mpc || test -f stage1-lean
53993 @endif mpc
53994 @if isl
53995 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
53996 mkdir stage2-isl; \
53997 mv stage2-isl isl; \
53998 mv stage1-isl prev-isl || test -f stage1-lean
53999 @endif isl
54000 @if libelf
54001 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
54002 mkdir stage2-libelf; \
54003 mv stage2-libelf libelf; \
54004 mv stage1-libelf prev-libelf || test -f stage1-lean
54005 @endif libelf
54006 @if gold
54007 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
54008 mkdir stage2-gold; \
54009 mv stage2-gold gold; \
54010 mv stage1-gold prev-gold || test -f stage1-lean
54011 @endif gold
54012 @if intl
54013 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
54014 mkdir stage2-intl; \
54015 mv stage2-intl intl; \
54016 mv stage1-intl prev-intl || test -f stage1-lean
54017 @endif intl
54018 @if ld
54019 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
54020 mkdir stage2-ld; \
54021 mv stage2-ld ld; \
54022 mv stage1-ld prev-ld || test -f stage1-lean
54023 @endif ld
54024 @if libbacktrace
54025 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
54026 mkdir stage2-libbacktrace; \
54027 mv stage2-libbacktrace libbacktrace; \
54028 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54029 @endif libbacktrace
54030 @if libcpp
54031 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
54032 mkdir stage2-libcpp; \
54033 mv stage2-libcpp libcpp; \
54034 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54035 @endif libcpp
54036 @if libdecnumber
54037 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
54038 mkdir stage2-libdecnumber; \
54039 mv stage2-libdecnumber libdecnumber; \
54040 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54041 @endif libdecnumber
54042 @if libiberty
54043 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
54044 mkdir stage2-libiberty; \
54045 mv stage2-libiberty libiberty; \
54046 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54047 @endif libiberty
54048 @if libiberty-linker-plugin
54049 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
54050 mkdir stage2-libiberty-linker-plugin; \
54051 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
54052 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54053 @endif libiberty-linker-plugin
54054 @if libiconv
54055 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
54056 mkdir stage2-libiconv; \
54057 mv stage2-libiconv libiconv; \
54058 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54059 @endif libiconv
54060 @if zlib
54061 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
54062 mkdir stage2-zlib; \
54063 mv stage2-zlib zlib; \
54064 mv stage1-zlib prev-zlib || test -f stage1-lean
54065 @endif zlib
54066 @if lto-plugin
54067 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
54068 mkdir stage2-lto-plugin; \
54069 mv stage2-lto-plugin lto-plugin; \
54070 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54071 @endif lto-plugin
54072 @[ -d stage2-$(TARGET_SUBDIR) ] || \
54073 mkdir stage2-$(TARGET_SUBDIR); \
54074 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54075 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54077 stage2-end::
54078 @if bfd
54079 @if test -d $(HOST_SUBDIR)/bfd; then \
54080 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
54081 mv prev-bfd stage1-bfd; : ; \
54083 @endif bfd
54084 @if opcodes
54085 @if test -d $(HOST_SUBDIR)/opcodes; then \
54086 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
54087 mv prev-opcodes stage1-opcodes; : ; \
54089 @endif opcodes
54090 @if binutils
54091 @if test -d $(HOST_SUBDIR)/binutils; then \
54092 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
54093 mv prev-binutils stage1-binutils; : ; \
54095 @endif binutils
54096 @if fixincludes
54097 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54098 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
54099 mv prev-fixincludes stage1-fixincludes; : ; \
54101 @endif fixincludes
54102 @if gas
54103 @if test -d $(HOST_SUBDIR)/gas; then \
54104 cd $(HOST_SUBDIR); mv gas stage2-gas; \
54105 mv prev-gas stage1-gas; : ; \
54107 @endif gas
54108 @if gcc
54109 @if test -d $(HOST_SUBDIR)/gcc; then \
54110 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
54111 mv prev-gcc stage1-gcc; : ; \
54113 @endif gcc
54114 @if gmp
54115 @if test -d $(HOST_SUBDIR)/gmp; then \
54116 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
54117 mv prev-gmp stage1-gmp; : ; \
54119 @endif gmp
54120 @if mpfr
54121 @if test -d $(HOST_SUBDIR)/mpfr; then \
54122 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
54123 mv prev-mpfr stage1-mpfr; : ; \
54125 @endif mpfr
54126 @if mpc
54127 @if test -d $(HOST_SUBDIR)/mpc; then \
54128 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
54129 mv prev-mpc stage1-mpc; : ; \
54131 @endif mpc
54132 @if isl
54133 @if test -d $(HOST_SUBDIR)/isl; then \
54134 cd $(HOST_SUBDIR); mv isl stage2-isl; \
54135 mv prev-isl stage1-isl; : ; \
54137 @endif isl
54138 @if libelf
54139 @if test -d $(HOST_SUBDIR)/libelf; then \
54140 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
54141 mv prev-libelf stage1-libelf; : ; \
54143 @endif libelf
54144 @if gold
54145 @if test -d $(HOST_SUBDIR)/gold; then \
54146 cd $(HOST_SUBDIR); mv gold stage2-gold; \
54147 mv prev-gold stage1-gold; : ; \
54149 @endif gold
54150 @if intl
54151 @if test -d $(HOST_SUBDIR)/intl; then \
54152 cd $(HOST_SUBDIR); mv intl stage2-intl; \
54153 mv prev-intl stage1-intl; : ; \
54155 @endif intl
54156 @if ld
54157 @if test -d $(HOST_SUBDIR)/ld; then \
54158 cd $(HOST_SUBDIR); mv ld stage2-ld; \
54159 mv prev-ld stage1-ld; : ; \
54161 @endif ld
54162 @if libbacktrace
54163 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54164 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
54165 mv prev-libbacktrace stage1-libbacktrace; : ; \
54167 @endif libbacktrace
54168 @if libcpp
54169 @if test -d $(HOST_SUBDIR)/libcpp; then \
54170 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
54171 mv prev-libcpp stage1-libcpp; : ; \
54173 @endif libcpp
54174 @if libdecnumber
54175 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54176 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
54177 mv prev-libdecnumber stage1-libdecnumber; : ; \
54179 @endif libdecnumber
54180 @if libiberty
54181 @if test -d $(HOST_SUBDIR)/libiberty; then \
54182 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
54183 mv prev-libiberty stage1-libiberty; : ; \
54185 @endif libiberty
54186 @if libiberty-linker-plugin
54187 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54188 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
54189 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54191 @endif libiberty-linker-plugin
54192 @if libiconv
54193 @if test -d $(HOST_SUBDIR)/libiconv; then \
54194 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
54195 mv prev-libiconv stage1-libiconv; : ; \
54197 @endif libiconv
54198 @if zlib
54199 @if test -d $(HOST_SUBDIR)/zlib; then \
54200 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
54201 mv prev-zlib stage1-zlib; : ; \
54203 @endif zlib
54204 @if lto-plugin
54205 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54206 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
54207 mv prev-lto-plugin stage1-lto-plugin; : ; \
54209 @endif lto-plugin
54210 @if test -d $(TARGET_SUBDIR); then \
54211 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
54212 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54214 rm -f stage_current
54216 # Bubble a bug fix through all the stages up to stage 2. They are
54217 # remade, but not reconfigured. The next stage (if any) will not be
54218 # reconfigured either.
54219 .PHONY: stage2-bubble
54220 stage2-bubble:: stage1-bubble
54221 @r=`${PWD_COMMAND}`; export r; \
54222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54223 if test -f stage2-lean || test -f stage1-lean ; then \
54224 echo Skipping rebuild of stage2; \
54225 else \
54226 $(MAKE) stage2-start; \
54227 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
54230 .PHONY: all-stage2 clean-stage2
54231 do-clean: clean-stage2
54233 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54234 # only possibility, but now it conflicts with no-bootstrap rules
54235 @if gcc-bootstrap
54239 .PHONY: bootstrap2 bootstrap2-lean
54240 bootstrap2:
54241 echo stage2 > stage_final
54242 @r=`${PWD_COMMAND}`; export r; \
54243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54244 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
54245 @: $(MAKE); $(unstage)
54246 @r=`${PWD_COMMAND}`; export r; \
54247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54248 TFLAGS="$(STAGE2_TFLAGS)"; \
54249 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54251 bootstrap2-lean:
54252 echo stage2 > stage_final
54253 @r=`${PWD_COMMAND}`; export r; \
54254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54255 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
54256 @: $(MAKE); $(unstage)
54257 @r=`${PWD_COMMAND}`; export r; \
54258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54259 TFLAGS="$(STAGE2_TFLAGS)"; \
54260 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54263 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54264 distclean-stage1:: distclean-stage2
54265 .PHONY: distclean-stage2
54266 distclean-stage2::
54267 @: $(MAKE); $(stage)
54268 @test "`cat stage_last`" != stage2 || rm -f stage_last
54269 rm -rf stage2-*
54272 @endif gcc-bootstrap
54275 .PHONY: stage3-start stage3-end
54277 stage3-start::
54278 @: $(MAKE); $(stage); \
54279 echo stage3 > stage_current; \
54280 echo stage3 > stage_last; \
54281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54282 @if bfd
54283 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
54284 mkdir stage3-bfd; \
54285 mv stage3-bfd bfd; \
54286 mv stage2-bfd prev-bfd || test -f stage2-lean
54287 @endif bfd
54288 @if opcodes
54289 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
54290 mkdir stage3-opcodes; \
54291 mv stage3-opcodes opcodes; \
54292 mv stage2-opcodes prev-opcodes || test -f stage2-lean
54293 @endif opcodes
54294 @if binutils
54295 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
54296 mkdir stage3-binutils; \
54297 mv stage3-binutils binutils; \
54298 mv stage2-binutils prev-binutils || test -f stage2-lean
54299 @endif binutils
54300 @if fixincludes
54301 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
54302 mkdir stage3-fixincludes; \
54303 mv stage3-fixincludes fixincludes; \
54304 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
54305 @endif fixincludes
54306 @if gas
54307 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
54308 mkdir stage3-gas; \
54309 mv stage3-gas gas; \
54310 mv stage2-gas prev-gas || test -f stage2-lean
54311 @endif gas
54312 @if gcc
54313 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
54314 mkdir stage3-gcc; \
54315 mv stage3-gcc gcc; \
54316 mv stage2-gcc prev-gcc || test -f stage2-lean
54317 @endif gcc
54318 @if gmp
54319 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
54320 mkdir stage3-gmp; \
54321 mv stage3-gmp gmp; \
54322 mv stage2-gmp prev-gmp || test -f stage2-lean
54323 @endif gmp
54324 @if mpfr
54325 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
54326 mkdir stage3-mpfr; \
54327 mv stage3-mpfr mpfr; \
54328 mv stage2-mpfr prev-mpfr || test -f stage2-lean
54329 @endif mpfr
54330 @if mpc
54331 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
54332 mkdir stage3-mpc; \
54333 mv stage3-mpc mpc; \
54334 mv stage2-mpc prev-mpc || test -f stage2-lean
54335 @endif mpc
54336 @if isl
54337 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
54338 mkdir stage3-isl; \
54339 mv stage3-isl isl; \
54340 mv stage2-isl prev-isl || test -f stage2-lean
54341 @endif isl
54342 @if libelf
54343 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
54344 mkdir stage3-libelf; \
54345 mv stage3-libelf libelf; \
54346 mv stage2-libelf prev-libelf || test -f stage2-lean
54347 @endif libelf
54348 @if gold
54349 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
54350 mkdir stage3-gold; \
54351 mv stage3-gold gold; \
54352 mv stage2-gold prev-gold || test -f stage2-lean
54353 @endif gold
54354 @if intl
54355 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
54356 mkdir stage3-intl; \
54357 mv stage3-intl intl; \
54358 mv stage2-intl prev-intl || test -f stage2-lean
54359 @endif intl
54360 @if ld
54361 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
54362 mkdir stage3-ld; \
54363 mv stage3-ld ld; \
54364 mv stage2-ld prev-ld || test -f stage2-lean
54365 @endif ld
54366 @if libbacktrace
54367 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
54368 mkdir stage3-libbacktrace; \
54369 mv stage3-libbacktrace libbacktrace; \
54370 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
54371 @endif libbacktrace
54372 @if libcpp
54373 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
54374 mkdir stage3-libcpp; \
54375 mv stage3-libcpp libcpp; \
54376 mv stage2-libcpp prev-libcpp || test -f stage2-lean
54377 @endif libcpp
54378 @if libdecnumber
54379 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
54380 mkdir stage3-libdecnumber; \
54381 mv stage3-libdecnumber libdecnumber; \
54382 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
54383 @endif libdecnumber
54384 @if libiberty
54385 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
54386 mkdir stage3-libiberty; \
54387 mv stage3-libiberty libiberty; \
54388 mv stage2-libiberty prev-libiberty || test -f stage2-lean
54389 @endif libiberty
54390 @if libiberty-linker-plugin
54391 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
54392 mkdir stage3-libiberty-linker-plugin; \
54393 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
54394 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
54395 @endif libiberty-linker-plugin
54396 @if libiconv
54397 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
54398 mkdir stage3-libiconv; \
54399 mv stage3-libiconv libiconv; \
54400 mv stage2-libiconv prev-libiconv || test -f stage2-lean
54401 @endif libiconv
54402 @if zlib
54403 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
54404 mkdir stage3-zlib; \
54405 mv stage3-zlib zlib; \
54406 mv stage2-zlib prev-zlib || test -f stage2-lean
54407 @endif zlib
54408 @if lto-plugin
54409 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
54410 mkdir stage3-lto-plugin; \
54411 mv stage3-lto-plugin lto-plugin; \
54412 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
54413 @endif lto-plugin
54414 @[ -d stage3-$(TARGET_SUBDIR) ] || \
54415 mkdir stage3-$(TARGET_SUBDIR); \
54416 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54417 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
54419 stage3-end::
54420 @if bfd
54421 @if test -d $(HOST_SUBDIR)/bfd; then \
54422 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
54423 mv prev-bfd stage2-bfd; : ; \
54425 @endif bfd
54426 @if opcodes
54427 @if test -d $(HOST_SUBDIR)/opcodes; then \
54428 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
54429 mv prev-opcodes stage2-opcodes; : ; \
54431 @endif opcodes
54432 @if binutils
54433 @if test -d $(HOST_SUBDIR)/binutils; then \
54434 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
54435 mv prev-binutils stage2-binutils; : ; \
54437 @endif binutils
54438 @if fixincludes
54439 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54440 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
54441 mv prev-fixincludes stage2-fixincludes; : ; \
54443 @endif fixincludes
54444 @if gas
54445 @if test -d $(HOST_SUBDIR)/gas; then \
54446 cd $(HOST_SUBDIR); mv gas stage3-gas; \
54447 mv prev-gas stage2-gas; : ; \
54449 @endif gas
54450 @if gcc
54451 @if test -d $(HOST_SUBDIR)/gcc; then \
54452 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
54453 mv prev-gcc stage2-gcc; : ; \
54455 @endif gcc
54456 @if gmp
54457 @if test -d $(HOST_SUBDIR)/gmp; then \
54458 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
54459 mv prev-gmp stage2-gmp; : ; \
54461 @endif gmp
54462 @if mpfr
54463 @if test -d $(HOST_SUBDIR)/mpfr; then \
54464 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
54465 mv prev-mpfr stage2-mpfr; : ; \
54467 @endif mpfr
54468 @if mpc
54469 @if test -d $(HOST_SUBDIR)/mpc; then \
54470 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
54471 mv prev-mpc stage2-mpc; : ; \
54473 @endif mpc
54474 @if isl
54475 @if test -d $(HOST_SUBDIR)/isl; then \
54476 cd $(HOST_SUBDIR); mv isl stage3-isl; \
54477 mv prev-isl stage2-isl; : ; \
54479 @endif isl
54480 @if libelf
54481 @if test -d $(HOST_SUBDIR)/libelf; then \
54482 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
54483 mv prev-libelf stage2-libelf; : ; \
54485 @endif libelf
54486 @if gold
54487 @if test -d $(HOST_SUBDIR)/gold; then \
54488 cd $(HOST_SUBDIR); mv gold stage3-gold; \
54489 mv prev-gold stage2-gold; : ; \
54491 @endif gold
54492 @if intl
54493 @if test -d $(HOST_SUBDIR)/intl; then \
54494 cd $(HOST_SUBDIR); mv intl stage3-intl; \
54495 mv prev-intl stage2-intl; : ; \
54497 @endif intl
54498 @if ld
54499 @if test -d $(HOST_SUBDIR)/ld; then \
54500 cd $(HOST_SUBDIR); mv ld stage3-ld; \
54501 mv prev-ld stage2-ld; : ; \
54503 @endif ld
54504 @if libbacktrace
54505 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54506 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
54507 mv prev-libbacktrace stage2-libbacktrace; : ; \
54509 @endif libbacktrace
54510 @if libcpp
54511 @if test -d $(HOST_SUBDIR)/libcpp; then \
54512 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
54513 mv prev-libcpp stage2-libcpp; : ; \
54515 @endif libcpp
54516 @if libdecnumber
54517 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54518 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
54519 mv prev-libdecnumber stage2-libdecnumber; : ; \
54521 @endif libdecnumber
54522 @if libiberty
54523 @if test -d $(HOST_SUBDIR)/libiberty; then \
54524 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
54525 mv prev-libiberty stage2-libiberty; : ; \
54527 @endif libiberty
54528 @if libiberty-linker-plugin
54529 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54530 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
54531 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
54533 @endif libiberty-linker-plugin
54534 @if libiconv
54535 @if test -d $(HOST_SUBDIR)/libiconv; then \
54536 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
54537 mv prev-libiconv stage2-libiconv; : ; \
54539 @endif libiconv
54540 @if zlib
54541 @if test -d $(HOST_SUBDIR)/zlib; then \
54542 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
54543 mv prev-zlib stage2-zlib; : ; \
54545 @endif zlib
54546 @if lto-plugin
54547 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54548 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
54549 mv prev-lto-plugin stage2-lto-plugin; : ; \
54551 @endif lto-plugin
54552 @if test -d $(TARGET_SUBDIR); then \
54553 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
54554 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
54556 rm -f stage_current
54558 # Bubble a bug fix through all the stages up to stage 3. They are
54559 # remade, but not reconfigured. The next stage (if any) will not be
54560 # reconfigured either.
54561 .PHONY: stage3-bubble
54562 stage3-bubble:: stage2-bubble
54563 @r=`${PWD_COMMAND}`; export r; \
54564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54565 if test -f stage3-lean || test -f stage2-lean ; then \
54566 echo Skipping rebuild of stage3; \
54567 else \
54568 $(MAKE) stage3-start; \
54569 if $(LEAN); then \
54570 rm -rf stage1-*; \
54571 $(STAMP) stage1-lean; \
54572 fi; \
54573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
54575 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
54577 .PHONY: all-stage3 clean-stage3
54578 do-clean: clean-stage3
54580 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54581 # only possibility, but now it conflicts with no-bootstrap rules
54582 @if gcc-bootstrap
54584 compare:
54585 @r=`${PWD_COMMAND}`; export r; \
54586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54587 if test -f stage2-lean; then \
54588 echo Cannot compare object files as stage 2 was deleted.; \
54589 exit 0; \
54590 fi; \
54591 : $(MAKE); $(stage); \
54592 rm -f .bad_compare; \
54593 echo Comparing stages 2 and 3; \
54594 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
54595 files=`find stage3-* -name "*$(objext)" -print | \
54596 sed -n s,^stage$$sed-,,p`; \
54597 for file in $${files}; do \
54598 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
54599 if test ! -f $$f1; then continue; fi; \
54600 $(do-compare) > /dev/null 2>&1; \
54601 if test $$? -eq 1; then \
54602 case $$file in \
54603 @compare_exclusions@) \
54604 echo warning: $$file differs ;; \
54605 *) \
54606 echo $$file differs >> .bad_compare ;; \
54607 esac; \
54608 fi; \
54609 done; \
54610 if [ -f .bad_compare ]; then \
54611 echo "Bootstrap comparison failure!"; \
54612 cat .bad_compare; \
54613 exit 1; \
54614 else \
54615 echo Comparison successful.; \
54616 fi; \
54617 $(STAMP) compare
54618 if $(LEAN); then \
54619 rm -rf stage2-*; \
54620 $(STAMP) stage2-lean; \
54625 .PHONY: bootstrap bootstrap-lean
54626 bootstrap:
54627 echo stage3 > stage_final
54628 @r=`${PWD_COMMAND}`; export r; \
54629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54630 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
54631 @: $(MAKE); $(unstage)
54632 @r=`${PWD_COMMAND}`; export r; \
54633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54634 TFLAGS="$(STAGE3_TFLAGS)"; \
54635 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54637 bootstrap-lean:
54638 echo stage3 > stage_final
54639 @r=`${PWD_COMMAND}`; export r; \
54640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54641 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
54642 @: $(MAKE); $(unstage)
54643 @r=`${PWD_COMMAND}`; export r; \
54644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54645 TFLAGS="$(STAGE3_TFLAGS)"; \
54646 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54649 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54650 distclean-stage2:: distclean-stage3
54651 .PHONY: distclean-stage3
54652 distclean-stage3::
54653 @: $(MAKE); $(stage)
54654 @test "`cat stage_last`" != stage3 || rm -f stage_last
54655 rm -rf stage3-* compare
54658 .PHONY: cleanstrap
54659 cleanstrap: do-distclean local-clean
54660 echo stage3 > stage_final
54661 @r=`${PWD_COMMAND}`; export r; \
54662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54663 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
54664 @: $(MAKE); $(unstage)
54665 @r=`${PWD_COMMAND}`; export r; \
54666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54667 TFLAGS="$(STAGE3_TFLAGS)"; \
54668 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54670 @endif gcc-bootstrap
54673 .PHONY: stage4-start stage4-end
54675 stage4-start::
54676 @: $(MAKE); $(stage); \
54677 echo stage4 > stage_current; \
54678 echo stage4 > stage_last; \
54679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54680 @if bfd
54681 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
54682 mkdir stage4-bfd; \
54683 mv stage4-bfd bfd; \
54684 mv stage3-bfd prev-bfd || test -f stage3-lean
54685 @endif bfd
54686 @if opcodes
54687 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
54688 mkdir stage4-opcodes; \
54689 mv stage4-opcodes opcodes; \
54690 mv stage3-opcodes prev-opcodes || test -f stage3-lean
54691 @endif opcodes
54692 @if binutils
54693 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
54694 mkdir stage4-binutils; \
54695 mv stage4-binutils binutils; \
54696 mv stage3-binutils prev-binutils || test -f stage3-lean
54697 @endif binutils
54698 @if fixincludes
54699 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
54700 mkdir stage4-fixincludes; \
54701 mv stage4-fixincludes fixincludes; \
54702 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
54703 @endif fixincludes
54704 @if gas
54705 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
54706 mkdir stage4-gas; \
54707 mv stage4-gas gas; \
54708 mv stage3-gas prev-gas || test -f stage3-lean
54709 @endif gas
54710 @if gcc
54711 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
54712 mkdir stage4-gcc; \
54713 mv stage4-gcc gcc; \
54714 mv stage3-gcc prev-gcc || test -f stage3-lean
54715 @endif gcc
54716 @if gmp
54717 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
54718 mkdir stage4-gmp; \
54719 mv stage4-gmp gmp; \
54720 mv stage3-gmp prev-gmp || test -f stage3-lean
54721 @endif gmp
54722 @if mpfr
54723 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
54724 mkdir stage4-mpfr; \
54725 mv stage4-mpfr mpfr; \
54726 mv stage3-mpfr prev-mpfr || test -f stage3-lean
54727 @endif mpfr
54728 @if mpc
54729 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
54730 mkdir stage4-mpc; \
54731 mv stage4-mpc mpc; \
54732 mv stage3-mpc prev-mpc || test -f stage3-lean
54733 @endif mpc
54734 @if isl
54735 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
54736 mkdir stage4-isl; \
54737 mv stage4-isl isl; \
54738 mv stage3-isl prev-isl || test -f stage3-lean
54739 @endif isl
54740 @if libelf
54741 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
54742 mkdir stage4-libelf; \
54743 mv stage4-libelf libelf; \
54744 mv stage3-libelf prev-libelf || test -f stage3-lean
54745 @endif libelf
54746 @if gold
54747 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
54748 mkdir stage4-gold; \
54749 mv stage4-gold gold; \
54750 mv stage3-gold prev-gold || test -f stage3-lean
54751 @endif gold
54752 @if intl
54753 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
54754 mkdir stage4-intl; \
54755 mv stage4-intl intl; \
54756 mv stage3-intl prev-intl || test -f stage3-lean
54757 @endif intl
54758 @if ld
54759 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
54760 mkdir stage4-ld; \
54761 mv stage4-ld ld; \
54762 mv stage3-ld prev-ld || test -f stage3-lean
54763 @endif ld
54764 @if libbacktrace
54765 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
54766 mkdir stage4-libbacktrace; \
54767 mv stage4-libbacktrace libbacktrace; \
54768 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
54769 @endif libbacktrace
54770 @if libcpp
54771 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
54772 mkdir stage4-libcpp; \
54773 mv stage4-libcpp libcpp; \
54774 mv stage3-libcpp prev-libcpp || test -f stage3-lean
54775 @endif libcpp
54776 @if libdecnumber
54777 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
54778 mkdir stage4-libdecnumber; \
54779 mv stage4-libdecnumber libdecnumber; \
54780 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
54781 @endif libdecnumber
54782 @if libiberty
54783 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
54784 mkdir stage4-libiberty; \
54785 mv stage4-libiberty libiberty; \
54786 mv stage3-libiberty prev-libiberty || test -f stage3-lean
54787 @endif libiberty
54788 @if libiberty-linker-plugin
54789 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
54790 mkdir stage4-libiberty-linker-plugin; \
54791 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
54792 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
54793 @endif libiberty-linker-plugin
54794 @if libiconv
54795 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
54796 mkdir stage4-libiconv; \
54797 mv stage4-libiconv libiconv; \
54798 mv stage3-libiconv prev-libiconv || test -f stage3-lean
54799 @endif libiconv
54800 @if zlib
54801 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
54802 mkdir stage4-zlib; \
54803 mv stage4-zlib zlib; \
54804 mv stage3-zlib prev-zlib || test -f stage3-lean
54805 @endif zlib
54806 @if lto-plugin
54807 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
54808 mkdir stage4-lto-plugin; \
54809 mv stage4-lto-plugin lto-plugin; \
54810 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
54811 @endif lto-plugin
54812 @[ -d stage4-$(TARGET_SUBDIR) ] || \
54813 mkdir stage4-$(TARGET_SUBDIR); \
54814 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54815 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
54817 stage4-end::
54818 @if bfd
54819 @if test -d $(HOST_SUBDIR)/bfd; then \
54820 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
54821 mv prev-bfd stage3-bfd; : ; \
54823 @endif bfd
54824 @if opcodes
54825 @if test -d $(HOST_SUBDIR)/opcodes; then \
54826 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
54827 mv prev-opcodes stage3-opcodes; : ; \
54829 @endif opcodes
54830 @if binutils
54831 @if test -d $(HOST_SUBDIR)/binutils; then \
54832 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
54833 mv prev-binutils stage3-binutils; : ; \
54835 @endif binutils
54836 @if fixincludes
54837 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54838 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
54839 mv prev-fixincludes stage3-fixincludes; : ; \
54841 @endif fixincludes
54842 @if gas
54843 @if test -d $(HOST_SUBDIR)/gas; then \
54844 cd $(HOST_SUBDIR); mv gas stage4-gas; \
54845 mv prev-gas stage3-gas; : ; \
54847 @endif gas
54848 @if gcc
54849 @if test -d $(HOST_SUBDIR)/gcc; then \
54850 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
54851 mv prev-gcc stage3-gcc; : ; \
54853 @endif gcc
54854 @if gmp
54855 @if test -d $(HOST_SUBDIR)/gmp; then \
54856 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
54857 mv prev-gmp stage3-gmp; : ; \
54859 @endif gmp
54860 @if mpfr
54861 @if test -d $(HOST_SUBDIR)/mpfr; then \
54862 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
54863 mv prev-mpfr stage3-mpfr; : ; \
54865 @endif mpfr
54866 @if mpc
54867 @if test -d $(HOST_SUBDIR)/mpc; then \
54868 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
54869 mv prev-mpc stage3-mpc; : ; \
54871 @endif mpc
54872 @if isl
54873 @if test -d $(HOST_SUBDIR)/isl; then \
54874 cd $(HOST_SUBDIR); mv isl stage4-isl; \
54875 mv prev-isl stage3-isl; : ; \
54877 @endif isl
54878 @if libelf
54879 @if test -d $(HOST_SUBDIR)/libelf; then \
54880 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
54881 mv prev-libelf stage3-libelf; : ; \
54883 @endif libelf
54884 @if gold
54885 @if test -d $(HOST_SUBDIR)/gold; then \
54886 cd $(HOST_SUBDIR); mv gold stage4-gold; \
54887 mv prev-gold stage3-gold; : ; \
54889 @endif gold
54890 @if intl
54891 @if test -d $(HOST_SUBDIR)/intl; then \
54892 cd $(HOST_SUBDIR); mv intl stage4-intl; \
54893 mv prev-intl stage3-intl; : ; \
54895 @endif intl
54896 @if ld
54897 @if test -d $(HOST_SUBDIR)/ld; then \
54898 cd $(HOST_SUBDIR); mv ld stage4-ld; \
54899 mv prev-ld stage3-ld; : ; \
54901 @endif ld
54902 @if libbacktrace
54903 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54904 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
54905 mv prev-libbacktrace stage3-libbacktrace; : ; \
54907 @endif libbacktrace
54908 @if libcpp
54909 @if test -d $(HOST_SUBDIR)/libcpp; then \
54910 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
54911 mv prev-libcpp stage3-libcpp; : ; \
54913 @endif libcpp
54914 @if libdecnumber
54915 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54916 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
54917 mv prev-libdecnumber stage3-libdecnumber; : ; \
54919 @endif libdecnumber
54920 @if libiberty
54921 @if test -d $(HOST_SUBDIR)/libiberty; then \
54922 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
54923 mv prev-libiberty stage3-libiberty; : ; \
54925 @endif libiberty
54926 @if libiberty-linker-plugin
54927 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54928 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
54929 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
54931 @endif libiberty-linker-plugin
54932 @if libiconv
54933 @if test -d $(HOST_SUBDIR)/libiconv; then \
54934 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
54935 mv prev-libiconv stage3-libiconv; : ; \
54937 @endif libiconv
54938 @if zlib
54939 @if test -d $(HOST_SUBDIR)/zlib; then \
54940 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
54941 mv prev-zlib stage3-zlib; : ; \
54943 @endif zlib
54944 @if lto-plugin
54945 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54946 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
54947 mv prev-lto-plugin stage3-lto-plugin; : ; \
54949 @endif lto-plugin
54950 @if test -d $(TARGET_SUBDIR); then \
54951 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
54952 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
54954 rm -f stage_current
54956 # Bubble a bug fix through all the stages up to stage 4. They are
54957 # remade, but not reconfigured. The next stage (if any) will not be
54958 # reconfigured either.
54959 .PHONY: stage4-bubble
54960 stage4-bubble:: stage3-bubble
54961 @r=`${PWD_COMMAND}`; export r; \
54962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54963 if test -f stage4-lean || test -f stage3-lean ; then \
54964 echo Skipping rebuild of stage4; \
54965 else \
54966 $(MAKE) stage4-start; \
54967 if $(LEAN); then \
54968 rm -rf stage2-*; \
54969 $(STAMP) stage2-lean; \
54970 fi; \
54971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
54973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
54975 .PHONY: all-stage4 clean-stage4
54976 do-clean: clean-stage4
54978 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54979 # only possibility, but now it conflicts with no-bootstrap rules
54980 @if gcc-bootstrap
54982 compare3:
54983 @r=`${PWD_COMMAND}`; export r; \
54984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54985 if test -f stage3-lean; then \
54986 echo Cannot compare object files as stage 3 was deleted.; \
54987 exit 0; \
54988 fi; \
54989 : $(MAKE); $(stage); \
54990 rm -f .bad_compare; \
54991 echo Comparing stages 3 and 4; \
54992 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
54993 files=`find stage4-* -name "*$(objext)" -print | \
54994 sed -n s,^stage$$sed-,,p`; \
54995 for file in $${files}; do \
54996 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
54997 if test ! -f $$f1; then continue; fi; \
54998 $(do-compare3) > /dev/null 2>&1; \
54999 if test $$? -eq 1; then \
55000 case $$file in \
55001 @compare_exclusions@) \
55002 echo warning: $$file differs ;; \
55003 *) \
55004 echo $$file differs >> .bad_compare ;; \
55005 esac; \
55006 fi; \
55007 done; \
55008 if [ -f .bad_compare ]; then \
55009 echo "Bootstrap comparison failure!"; \
55010 cat .bad_compare; \
55011 exit 1; \
55012 else \
55013 echo Comparison successful.; \
55014 fi; \
55015 $(STAMP) compare3
55016 if $(LEAN); then \
55017 rm -rf stage3-*; \
55018 $(STAMP) stage3-lean; \
55023 .PHONY: bootstrap4 bootstrap4-lean
55024 bootstrap4:
55025 echo stage4 > stage_final
55026 @r=`${PWD_COMMAND}`; export r; \
55027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55028 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
55029 @: $(MAKE); $(unstage)
55030 @r=`${PWD_COMMAND}`; export r; \
55031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55032 TFLAGS="$(STAGE4_TFLAGS)"; \
55033 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55035 bootstrap4-lean:
55036 echo stage4 > stage_final
55037 @r=`${PWD_COMMAND}`; export r; \
55038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55039 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
55040 @: $(MAKE); $(unstage)
55041 @r=`${PWD_COMMAND}`; export r; \
55042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55043 TFLAGS="$(STAGE4_TFLAGS)"; \
55044 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55047 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55048 distclean-stage3:: distclean-stage4
55049 .PHONY: distclean-stage4
55050 distclean-stage4::
55051 @: $(MAKE); $(stage)
55052 @test "`cat stage_last`" != stage4 || rm -f stage_last
55053 rm -rf stage4-* compare3
55056 @endif gcc-bootstrap
55059 .PHONY: stageprofile-start stageprofile-end
55061 stageprofile-start::
55062 @: $(MAKE); $(stage); \
55063 echo stageprofile > stage_current; \
55064 echo stageprofile > stage_last; \
55065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55066 @if bfd
55067 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
55068 mkdir stageprofile-bfd; \
55069 mv stageprofile-bfd bfd; \
55070 mv stage1-bfd prev-bfd || test -f stage1-lean
55071 @endif bfd
55072 @if opcodes
55073 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
55074 mkdir stageprofile-opcodes; \
55075 mv stageprofile-opcodes opcodes; \
55076 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55077 @endif opcodes
55078 @if binutils
55079 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
55080 mkdir stageprofile-binutils; \
55081 mv stageprofile-binutils binutils; \
55082 mv stage1-binutils prev-binutils || test -f stage1-lean
55083 @endif binutils
55084 @if fixincludes
55085 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
55086 mkdir stageprofile-fixincludes; \
55087 mv stageprofile-fixincludes fixincludes; \
55088 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55089 @endif fixincludes
55090 @if gas
55091 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
55092 mkdir stageprofile-gas; \
55093 mv stageprofile-gas gas; \
55094 mv stage1-gas prev-gas || test -f stage1-lean
55095 @endif gas
55096 @if gcc
55097 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
55098 mkdir stageprofile-gcc; \
55099 mv stageprofile-gcc gcc; \
55100 mv stage1-gcc prev-gcc || test -f stage1-lean
55101 @endif gcc
55102 @if gmp
55103 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
55104 mkdir stageprofile-gmp; \
55105 mv stageprofile-gmp gmp; \
55106 mv stage1-gmp prev-gmp || test -f stage1-lean
55107 @endif gmp
55108 @if mpfr
55109 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
55110 mkdir stageprofile-mpfr; \
55111 mv stageprofile-mpfr mpfr; \
55112 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55113 @endif mpfr
55114 @if mpc
55115 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
55116 mkdir stageprofile-mpc; \
55117 mv stageprofile-mpc mpc; \
55118 mv stage1-mpc prev-mpc || test -f stage1-lean
55119 @endif mpc
55120 @if isl
55121 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
55122 mkdir stageprofile-isl; \
55123 mv stageprofile-isl isl; \
55124 mv stage1-isl prev-isl || test -f stage1-lean
55125 @endif isl
55126 @if libelf
55127 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
55128 mkdir stageprofile-libelf; \
55129 mv stageprofile-libelf libelf; \
55130 mv stage1-libelf prev-libelf || test -f stage1-lean
55131 @endif libelf
55132 @if gold
55133 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
55134 mkdir stageprofile-gold; \
55135 mv stageprofile-gold gold; \
55136 mv stage1-gold prev-gold || test -f stage1-lean
55137 @endif gold
55138 @if intl
55139 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
55140 mkdir stageprofile-intl; \
55141 mv stageprofile-intl intl; \
55142 mv stage1-intl prev-intl || test -f stage1-lean
55143 @endif intl
55144 @if ld
55145 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
55146 mkdir stageprofile-ld; \
55147 mv stageprofile-ld ld; \
55148 mv stage1-ld prev-ld || test -f stage1-lean
55149 @endif ld
55150 @if libbacktrace
55151 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
55152 mkdir stageprofile-libbacktrace; \
55153 mv stageprofile-libbacktrace libbacktrace; \
55154 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
55155 @endif libbacktrace
55156 @if libcpp
55157 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
55158 mkdir stageprofile-libcpp; \
55159 mv stageprofile-libcpp libcpp; \
55160 mv stage1-libcpp prev-libcpp || test -f stage1-lean
55161 @endif libcpp
55162 @if libdecnumber
55163 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
55164 mkdir stageprofile-libdecnumber; \
55165 mv stageprofile-libdecnumber libdecnumber; \
55166 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
55167 @endif libdecnumber
55168 @if libiberty
55169 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
55170 mkdir stageprofile-libiberty; \
55171 mv stageprofile-libiberty libiberty; \
55172 mv stage1-libiberty prev-libiberty || test -f stage1-lean
55173 @endif libiberty
55174 @if libiberty-linker-plugin
55175 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
55176 mkdir stageprofile-libiberty-linker-plugin; \
55177 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
55178 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
55179 @endif libiberty-linker-plugin
55180 @if libiconv
55181 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
55182 mkdir stageprofile-libiconv; \
55183 mv stageprofile-libiconv libiconv; \
55184 mv stage1-libiconv prev-libiconv || test -f stage1-lean
55185 @endif libiconv
55186 @if zlib
55187 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
55188 mkdir stageprofile-zlib; \
55189 mv stageprofile-zlib zlib; \
55190 mv stage1-zlib prev-zlib || test -f stage1-lean
55191 @endif zlib
55192 @if lto-plugin
55193 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
55194 mkdir stageprofile-lto-plugin; \
55195 mv stageprofile-lto-plugin lto-plugin; \
55196 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
55197 @endif lto-plugin
55198 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
55199 mkdir stageprofile-$(TARGET_SUBDIR); \
55200 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55201 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
55203 stageprofile-end::
55204 @if bfd
55205 @if test -d $(HOST_SUBDIR)/bfd; then \
55206 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
55207 mv prev-bfd stage1-bfd; : ; \
55209 @endif bfd
55210 @if opcodes
55211 @if test -d $(HOST_SUBDIR)/opcodes; then \
55212 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
55213 mv prev-opcodes stage1-opcodes; : ; \
55215 @endif opcodes
55216 @if binutils
55217 @if test -d $(HOST_SUBDIR)/binutils; then \
55218 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
55219 mv prev-binutils stage1-binutils; : ; \
55221 @endif binutils
55222 @if fixincludes
55223 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55224 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
55225 mv prev-fixincludes stage1-fixincludes; : ; \
55227 @endif fixincludes
55228 @if gas
55229 @if test -d $(HOST_SUBDIR)/gas; then \
55230 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
55231 mv prev-gas stage1-gas; : ; \
55233 @endif gas
55234 @if gcc
55235 @if test -d $(HOST_SUBDIR)/gcc; then \
55236 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
55237 mv prev-gcc stage1-gcc; : ; \
55239 @endif gcc
55240 @if gmp
55241 @if test -d $(HOST_SUBDIR)/gmp; then \
55242 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
55243 mv prev-gmp stage1-gmp; : ; \
55245 @endif gmp
55246 @if mpfr
55247 @if test -d $(HOST_SUBDIR)/mpfr; then \
55248 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
55249 mv prev-mpfr stage1-mpfr; : ; \
55251 @endif mpfr
55252 @if mpc
55253 @if test -d $(HOST_SUBDIR)/mpc; then \
55254 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
55255 mv prev-mpc stage1-mpc; : ; \
55257 @endif mpc
55258 @if isl
55259 @if test -d $(HOST_SUBDIR)/isl; then \
55260 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
55261 mv prev-isl stage1-isl; : ; \
55263 @endif isl
55264 @if libelf
55265 @if test -d $(HOST_SUBDIR)/libelf; then \
55266 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
55267 mv prev-libelf stage1-libelf; : ; \
55269 @endif libelf
55270 @if gold
55271 @if test -d $(HOST_SUBDIR)/gold; then \
55272 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
55273 mv prev-gold stage1-gold; : ; \
55275 @endif gold
55276 @if intl
55277 @if test -d $(HOST_SUBDIR)/intl; then \
55278 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
55279 mv prev-intl stage1-intl; : ; \
55281 @endif intl
55282 @if ld
55283 @if test -d $(HOST_SUBDIR)/ld; then \
55284 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
55285 mv prev-ld stage1-ld; : ; \
55287 @endif ld
55288 @if libbacktrace
55289 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55290 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
55291 mv prev-libbacktrace stage1-libbacktrace; : ; \
55293 @endif libbacktrace
55294 @if libcpp
55295 @if test -d $(HOST_SUBDIR)/libcpp; then \
55296 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
55297 mv prev-libcpp stage1-libcpp; : ; \
55299 @endif libcpp
55300 @if libdecnumber
55301 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55302 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
55303 mv prev-libdecnumber stage1-libdecnumber; : ; \
55305 @endif libdecnumber
55306 @if libiberty
55307 @if test -d $(HOST_SUBDIR)/libiberty; then \
55308 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
55309 mv prev-libiberty stage1-libiberty; : ; \
55311 @endif libiberty
55312 @if libiberty-linker-plugin
55313 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55314 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
55315 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55317 @endif libiberty-linker-plugin
55318 @if libiconv
55319 @if test -d $(HOST_SUBDIR)/libiconv; then \
55320 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
55321 mv prev-libiconv stage1-libiconv; : ; \
55323 @endif libiconv
55324 @if zlib
55325 @if test -d $(HOST_SUBDIR)/zlib; then \
55326 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
55327 mv prev-zlib stage1-zlib; : ; \
55329 @endif zlib
55330 @if lto-plugin
55331 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55332 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
55333 mv prev-lto-plugin stage1-lto-plugin; : ; \
55335 @endif lto-plugin
55336 @if test -d $(TARGET_SUBDIR); then \
55337 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
55338 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55340 rm -f stage_current
55342 # Bubble a bug fix through all the stages up to stage profile. They are
55343 # remade, but not reconfigured. The next stage (if any) will not be
55344 # reconfigured either.
55345 .PHONY: stageprofile-bubble
55346 stageprofile-bubble:: stage1-bubble
55347 @r=`${PWD_COMMAND}`; export r; \
55348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55349 if test -f stageprofile-lean || test -f stage1-lean ; then \
55350 echo Skipping rebuild of stageprofile; \
55351 else \
55352 $(MAKE) stageprofile-start; \
55353 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
55356 .PHONY: all-stageprofile clean-stageprofile
55357 do-clean: clean-stageprofile
55359 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55360 # only possibility, but now it conflicts with no-bootstrap rules
55361 @if gcc-bootstrap
55366 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55367 distclean-stage1:: distclean-stageprofile
55368 .PHONY: distclean-stageprofile
55369 distclean-stageprofile::
55370 @: $(MAKE); $(stage)
55371 @test "`cat stage_last`" != stageprofile || rm -f stage_last
55372 rm -rf stageprofile-*
55375 @endif gcc-bootstrap
55378 .PHONY: stagetrain-start stagetrain-end
55380 stagetrain-start::
55381 @: $(MAKE); $(stage); \
55382 echo stagetrain > stage_current; \
55383 echo stagetrain > stage_last; \
55384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55385 @if bfd
55386 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
55387 mkdir stagetrain-bfd; \
55388 mv stagetrain-bfd bfd; \
55389 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
55390 @endif bfd
55391 @if opcodes
55392 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
55393 mkdir stagetrain-opcodes; \
55394 mv stagetrain-opcodes opcodes; \
55395 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
55396 @endif opcodes
55397 @if binutils
55398 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
55399 mkdir stagetrain-binutils; \
55400 mv stagetrain-binutils binutils; \
55401 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
55402 @endif binutils
55403 @if fixincludes
55404 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
55405 mkdir stagetrain-fixincludes; \
55406 mv stagetrain-fixincludes fixincludes; \
55407 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
55408 @endif fixincludes
55409 @if gas
55410 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
55411 mkdir stagetrain-gas; \
55412 mv stagetrain-gas gas; \
55413 mv stageprofile-gas prev-gas || test -f stageprofile-lean
55414 @endif gas
55415 @if gcc
55416 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
55417 mkdir stagetrain-gcc; \
55418 mv stagetrain-gcc gcc; \
55419 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
55420 @endif gcc
55421 @if gmp
55422 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
55423 mkdir stagetrain-gmp; \
55424 mv stagetrain-gmp gmp; \
55425 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
55426 @endif gmp
55427 @if mpfr
55428 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
55429 mkdir stagetrain-mpfr; \
55430 mv stagetrain-mpfr mpfr; \
55431 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
55432 @endif mpfr
55433 @if mpc
55434 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
55435 mkdir stagetrain-mpc; \
55436 mv stagetrain-mpc mpc; \
55437 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
55438 @endif mpc
55439 @if isl
55440 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
55441 mkdir stagetrain-isl; \
55442 mv stagetrain-isl isl; \
55443 mv stageprofile-isl prev-isl || test -f stageprofile-lean
55444 @endif isl
55445 @if libelf
55446 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
55447 mkdir stagetrain-libelf; \
55448 mv stagetrain-libelf libelf; \
55449 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
55450 @endif libelf
55451 @if gold
55452 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
55453 mkdir stagetrain-gold; \
55454 mv stagetrain-gold gold; \
55455 mv stageprofile-gold prev-gold || test -f stageprofile-lean
55456 @endif gold
55457 @if intl
55458 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
55459 mkdir stagetrain-intl; \
55460 mv stagetrain-intl intl; \
55461 mv stageprofile-intl prev-intl || test -f stageprofile-lean
55462 @endif intl
55463 @if ld
55464 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
55465 mkdir stagetrain-ld; \
55466 mv stagetrain-ld ld; \
55467 mv stageprofile-ld prev-ld || test -f stageprofile-lean
55468 @endif ld
55469 @if libbacktrace
55470 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
55471 mkdir stagetrain-libbacktrace; \
55472 mv stagetrain-libbacktrace libbacktrace; \
55473 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
55474 @endif libbacktrace
55475 @if libcpp
55476 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
55477 mkdir stagetrain-libcpp; \
55478 mv stagetrain-libcpp libcpp; \
55479 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
55480 @endif libcpp
55481 @if libdecnumber
55482 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
55483 mkdir stagetrain-libdecnumber; \
55484 mv stagetrain-libdecnumber libdecnumber; \
55485 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
55486 @endif libdecnumber
55487 @if libiberty
55488 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
55489 mkdir stagetrain-libiberty; \
55490 mv stagetrain-libiberty libiberty; \
55491 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
55492 @endif libiberty
55493 @if libiberty-linker-plugin
55494 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
55495 mkdir stagetrain-libiberty-linker-plugin; \
55496 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
55497 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
55498 @endif libiberty-linker-plugin
55499 @if libiconv
55500 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
55501 mkdir stagetrain-libiconv; \
55502 mv stagetrain-libiconv libiconv; \
55503 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
55504 @endif libiconv
55505 @if zlib
55506 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
55507 mkdir stagetrain-zlib; \
55508 mv stagetrain-zlib zlib; \
55509 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
55510 @endif zlib
55511 @if lto-plugin
55512 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
55513 mkdir stagetrain-lto-plugin; \
55514 mv stagetrain-lto-plugin lto-plugin; \
55515 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
55516 @endif lto-plugin
55517 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
55518 mkdir stagetrain-$(TARGET_SUBDIR); \
55519 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55520 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
55522 stagetrain-end::
55523 @if bfd
55524 @if test -d $(HOST_SUBDIR)/bfd; then \
55525 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
55526 mv prev-bfd stageprofile-bfd; : ; \
55528 @endif bfd
55529 @if opcodes
55530 @if test -d $(HOST_SUBDIR)/opcodes; then \
55531 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
55532 mv prev-opcodes stageprofile-opcodes; : ; \
55534 @endif opcodes
55535 @if binutils
55536 @if test -d $(HOST_SUBDIR)/binutils; then \
55537 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
55538 mv prev-binutils stageprofile-binutils; : ; \
55540 @endif binutils
55541 @if fixincludes
55542 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55543 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
55544 mv prev-fixincludes stageprofile-fixincludes; : ; \
55546 @endif fixincludes
55547 @if gas
55548 @if test -d $(HOST_SUBDIR)/gas; then \
55549 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
55550 mv prev-gas stageprofile-gas; : ; \
55552 @endif gas
55553 @if gcc
55554 @if test -d $(HOST_SUBDIR)/gcc; then \
55555 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
55556 mv prev-gcc stageprofile-gcc; : ; \
55558 @endif gcc
55559 @if gmp
55560 @if test -d $(HOST_SUBDIR)/gmp; then \
55561 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
55562 mv prev-gmp stageprofile-gmp; : ; \
55564 @endif gmp
55565 @if mpfr
55566 @if test -d $(HOST_SUBDIR)/mpfr; then \
55567 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
55568 mv prev-mpfr stageprofile-mpfr; : ; \
55570 @endif mpfr
55571 @if mpc
55572 @if test -d $(HOST_SUBDIR)/mpc; then \
55573 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
55574 mv prev-mpc stageprofile-mpc; : ; \
55576 @endif mpc
55577 @if isl
55578 @if test -d $(HOST_SUBDIR)/isl; then \
55579 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
55580 mv prev-isl stageprofile-isl; : ; \
55582 @endif isl
55583 @if libelf
55584 @if test -d $(HOST_SUBDIR)/libelf; then \
55585 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
55586 mv prev-libelf stageprofile-libelf; : ; \
55588 @endif libelf
55589 @if gold
55590 @if test -d $(HOST_SUBDIR)/gold; then \
55591 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
55592 mv prev-gold stageprofile-gold; : ; \
55594 @endif gold
55595 @if intl
55596 @if test -d $(HOST_SUBDIR)/intl; then \
55597 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
55598 mv prev-intl stageprofile-intl; : ; \
55600 @endif intl
55601 @if ld
55602 @if test -d $(HOST_SUBDIR)/ld; then \
55603 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
55604 mv prev-ld stageprofile-ld; : ; \
55606 @endif ld
55607 @if libbacktrace
55608 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55609 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
55610 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
55612 @endif libbacktrace
55613 @if libcpp
55614 @if test -d $(HOST_SUBDIR)/libcpp; then \
55615 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
55616 mv prev-libcpp stageprofile-libcpp; : ; \
55618 @endif libcpp
55619 @if libdecnumber
55620 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55621 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
55622 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
55624 @endif libdecnumber
55625 @if libiberty
55626 @if test -d $(HOST_SUBDIR)/libiberty; then \
55627 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
55628 mv prev-libiberty stageprofile-libiberty; : ; \
55630 @endif libiberty
55631 @if libiberty-linker-plugin
55632 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55633 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
55634 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
55636 @endif libiberty-linker-plugin
55637 @if libiconv
55638 @if test -d $(HOST_SUBDIR)/libiconv; then \
55639 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
55640 mv prev-libiconv stageprofile-libiconv; : ; \
55642 @endif libiconv
55643 @if zlib
55644 @if test -d $(HOST_SUBDIR)/zlib; then \
55645 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
55646 mv prev-zlib stageprofile-zlib; : ; \
55648 @endif zlib
55649 @if lto-plugin
55650 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55651 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
55652 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
55654 @endif lto-plugin
55655 @if test -d $(TARGET_SUBDIR); then \
55656 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
55657 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
55659 rm -f stage_current
55661 # Bubble a bug fix through all the stages up to stage train. They are
55662 # remade, but not reconfigured. The next stage (if any) will not be
55663 # reconfigured either.
55664 .PHONY: stagetrain-bubble
55665 stagetrain-bubble:: stageprofile-bubble
55666 @r=`${PWD_COMMAND}`; export r; \
55667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55668 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
55669 echo Skipping rebuild of stagetrain; \
55670 else \
55671 $(MAKE) stagetrain-start; \
55672 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
55675 .PHONY: all-stagetrain clean-stagetrain
55676 do-clean: clean-stagetrain
55678 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55679 # only possibility, but now it conflicts with no-bootstrap rules
55680 @if gcc-bootstrap
55685 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55686 distclean-stageprofile:: distclean-stagetrain
55687 .PHONY: distclean-stagetrain
55688 distclean-stagetrain::
55689 @: $(MAKE); $(stage)
55690 @test "`cat stage_last`" != stagetrain || rm -f stage_last
55691 rm -rf stagetrain-*
55694 @endif gcc-bootstrap
55697 .PHONY: stagefeedback-start stagefeedback-end
55699 stagefeedback-start::
55700 @: $(MAKE); $(stage); \
55701 echo stagefeedback > stage_current; \
55702 echo stagefeedback > stage_last; \
55703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55704 @if bfd
55705 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
55706 mkdir stagefeedback-bfd; \
55707 mv stagefeedback-bfd bfd; \
55708 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
55709 @endif bfd
55710 @if opcodes
55711 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
55712 mkdir stagefeedback-opcodes; \
55713 mv stagefeedback-opcodes opcodes; \
55714 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
55715 @endif opcodes
55716 @if binutils
55717 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
55718 mkdir stagefeedback-binutils; \
55719 mv stagefeedback-binutils binutils; \
55720 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
55721 @endif binutils
55722 @if fixincludes
55723 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
55724 mkdir stagefeedback-fixincludes; \
55725 mv stagefeedback-fixincludes fixincludes; \
55726 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
55727 @endif fixincludes
55728 @if gas
55729 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
55730 mkdir stagefeedback-gas; \
55731 mv stagefeedback-gas gas; \
55732 mv stagetrain-gas prev-gas || test -f stagetrain-lean
55733 @endif gas
55734 @if gcc
55735 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
55736 mkdir stagefeedback-gcc; \
55737 mv stagefeedback-gcc gcc; \
55738 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
55739 @endif gcc
55740 @if gmp
55741 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
55742 mkdir stagefeedback-gmp; \
55743 mv stagefeedback-gmp gmp; \
55744 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
55745 @endif gmp
55746 @if mpfr
55747 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
55748 mkdir stagefeedback-mpfr; \
55749 mv stagefeedback-mpfr mpfr; \
55750 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
55751 @endif mpfr
55752 @if mpc
55753 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
55754 mkdir stagefeedback-mpc; \
55755 mv stagefeedback-mpc mpc; \
55756 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
55757 @endif mpc
55758 @if isl
55759 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
55760 mkdir stagefeedback-isl; \
55761 mv stagefeedback-isl isl; \
55762 mv stagetrain-isl prev-isl || test -f stagetrain-lean
55763 @endif isl
55764 @if libelf
55765 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
55766 mkdir stagefeedback-libelf; \
55767 mv stagefeedback-libelf libelf; \
55768 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
55769 @endif libelf
55770 @if gold
55771 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
55772 mkdir stagefeedback-gold; \
55773 mv stagefeedback-gold gold; \
55774 mv stagetrain-gold prev-gold || test -f stagetrain-lean
55775 @endif gold
55776 @if intl
55777 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
55778 mkdir stagefeedback-intl; \
55779 mv stagefeedback-intl intl; \
55780 mv stagetrain-intl prev-intl || test -f stagetrain-lean
55781 @endif intl
55782 @if ld
55783 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
55784 mkdir stagefeedback-ld; \
55785 mv stagefeedback-ld ld; \
55786 mv stagetrain-ld prev-ld || test -f stagetrain-lean
55787 @endif ld
55788 @if libbacktrace
55789 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
55790 mkdir stagefeedback-libbacktrace; \
55791 mv stagefeedback-libbacktrace libbacktrace; \
55792 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
55793 @endif libbacktrace
55794 @if libcpp
55795 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
55796 mkdir stagefeedback-libcpp; \
55797 mv stagefeedback-libcpp libcpp; \
55798 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
55799 @endif libcpp
55800 @if libdecnumber
55801 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
55802 mkdir stagefeedback-libdecnumber; \
55803 mv stagefeedback-libdecnumber libdecnumber; \
55804 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
55805 @endif libdecnumber
55806 @if libiberty
55807 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
55808 mkdir stagefeedback-libiberty; \
55809 mv stagefeedback-libiberty libiberty; \
55810 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
55811 @endif libiberty
55812 @if libiberty-linker-plugin
55813 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
55814 mkdir stagefeedback-libiberty-linker-plugin; \
55815 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
55816 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
55817 @endif libiberty-linker-plugin
55818 @if libiconv
55819 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
55820 mkdir stagefeedback-libiconv; \
55821 mv stagefeedback-libiconv libiconv; \
55822 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
55823 @endif libiconv
55824 @if zlib
55825 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
55826 mkdir stagefeedback-zlib; \
55827 mv stagefeedback-zlib zlib; \
55828 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
55829 @endif zlib
55830 @if lto-plugin
55831 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
55832 mkdir stagefeedback-lto-plugin; \
55833 mv stagefeedback-lto-plugin lto-plugin; \
55834 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
55835 @endif lto-plugin
55836 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
55837 mkdir stagefeedback-$(TARGET_SUBDIR); \
55838 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55839 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
55841 stagefeedback-end::
55842 @if bfd
55843 @if test -d $(HOST_SUBDIR)/bfd; then \
55844 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
55845 mv prev-bfd stagetrain-bfd; : ; \
55847 @endif bfd
55848 @if opcodes
55849 @if test -d $(HOST_SUBDIR)/opcodes; then \
55850 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
55851 mv prev-opcodes stagetrain-opcodes; : ; \
55853 @endif opcodes
55854 @if binutils
55855 @if test -d $(HOST_SUBDIR)/binutils; then \
55856 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
55857 mv prev-binutils stagetrain-binutils; : ; \
55859 @endif binutils
55860 @if fixincludes
55861 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55862 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
55863 mv prev-fixincludes stagetrain-fixincludes; : ; \
55865 @endif fixincludes
55866 @if gas
55867 @if test -d $(HOST_SUBDIR)/gas; then \
55868 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
55869 mv prev-gas stagetrain-gas; : ; \
55871 @endif gas
55872 @if gcc
55873 @if test -d $(HOST_SUBDIR)/gcc; then \
55874 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
55875 mv prev-gcc stagetrain-gcc; : ; \
55877 @endif gcc
55878 @if gmp
55879 @if test -d $(HOST_SUBDIR)/gmp; then \
55880 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
55881 mv prev-gmp stagetrain-gmp; : ; \
55883 @endif gmp
55884 @if mpfr
55885 @if test -d $(HOST_SUBDIR)/mpfr; then \
55886 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
55887 mv prev-mpfr stagetrain-mpfr; : ; \
55889 @endif mpfr
55890 @if mpc
55891 @if test -d $(HOST_SUBDIR)/mpc; then \
55892 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
55893 mv prev-mpc stagetrain-mpc; : ; \
55895 @endif mpc
55896 @if isl
55897 @if test -d $(HOST_SUBDIR)/isl; then \
55898 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
55899 mv prev-isl stagetrain-isl; : ; \
55901 @endif isl
55902 @if libelf
55903 @if test -d $(HOST_SUBDIR)/libelf; then \
55904 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
55905 mv prev-libelf stagetrain-libelf; : ; \
55907 @endif libelf
55908 @if gold
55909 @if test -d $(HOST_SUBDIR)/gold; then \
55910 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
55911 mv prev-gold stagetrain-gold; : ; \
55913 @endif gold
55914 @if intl
55915 @if test -d $(HOST_SUBDIR)/intl; then \
55916 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
55917 mv prev-intl stagetrain-intl; : ; \
55919 @endif intl
55920 @if ld
55921 @if test -d $(HOST_SUBDIR)/ld; then \
55922 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
55923 mv prev-ld stagetrain-ld; : ; \
55925 @endif ld
55926 @if libbacktrace
55927 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55928 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
55929 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
55931 @endif libbacktrace
55932 @if libcpp
55933 @if test -d $(HOST_SUBDIR)/libcpp; then \
55934 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
55935 mv prev-libcpp stagetrain-libcpp; : ; \
55937 @endif libcpp
55938 @if libdecnumber
55939 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55940 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
55941 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
55943 @endif libdecnumber
55944 @if libiberty
55945 @if test -d $(HOST_SUBDIR)/libiberty; then \
55946 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
55947 mv prev-libiberty stagetrain-libiberty; : ; \
55949 @endif libiberty
55950 @if libiberty-linker-plugin
55951 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55952 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
55953 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
55955 @endif libiberty-linker-plugin
55956 @if libiconv
55957 @if test -d $(HOST_SUBDIR)/libiconv; then \
55958 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
55959 mv prev-libiconv stagetrain-libiconv; : ; \
55961 @endif libiconv
55962 @if zlib
55963 @if test -d $(HOST_SUBDIR)/zlib; then \
55964 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
55965 mv prev-zlib stagetrain-zlib; : ; \
55967 @endif zlib
55968 @if lto-plugin
55969 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55970 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
55971 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
55973 @endif lto-plugin
55974 @if test -d $(TARGET_SUBDIR); then \
55975 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
55976 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
55978 rm -f stage_current
55980 # Bubble a bug fix through all the stages up to stage feedback. They are
55981 # remade, but not reconfigured. The next stage (if any) will not be
55982 # reconfigured either.
55983 .PHONY: stagefeedback-bubble
55984 stagefeedback-bubble:: stagetrain-bubble
55985 @r=`${PWD_COMMAND}`; export r; \
55986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55987 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
55988 echo Skipping rebuild of stagefeedback; \
55989 else \
55990 $(MAKE) stagefeedback-start; \
55991 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
55994 .PHONY: all-stagefeedback clean-stagefeedback
55995 do-clean: clean-stagefeedback
55997 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55998 # only possibility, but now it conflicts with no-bootstrap rules
55999 @if gcc-bootstrap
56003 .PHONY: profiledbootstrap profiledbootstrap-lean
56004 profiledbootstrap:
56005 echo stagefeedback > stage_final
56006 @r=`${PWD_COMMAND}`; export r; \
56007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56008 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
56009 @: $(MAKE); $(unstage)
56010 @r=`${PWD_COMMAND}`; export r; \
56011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56012 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56013 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56015 profiledbootstrap-lean:
56016 echo stagefeedback > stage_final
56017 @r=`${PWD_COMMAND}`; export r; \
56018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56019 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
56020 @: $(MAKE); $(unstage)
56021 @r=`${PWD_COMMAND}`; export r; \
56022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56023 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56024 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56027 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56028 distclean-stagetrain:: distclean-stagefeedback
56029 .PHONY: distclean-stagefeedback
56030 distclean-stagefeedback::
56031 @: $(MAKE); $(stage)
56032 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
56033 rm -rf stagefeedback-*
56036 @endif gcc-bootstrap
56039 .PHONY: stageautoprofile-start stageautoprofile-end
56041 stageautoprofile-start::
56042 @: $(MAKE); $(stage); \
56043 echo stageautoprofile > stage_current; \
56044 echo stageautoprofile > stage_last; \
56045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56046 @if bfd
56047 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
56048 mkdir stageautoprofile-bfd; \
56049 mv stageautoprofile-bfd bfd; \
56050 mv stage1-bfd prev-bfd || test -f stage1-lean
56051 @endif bfd
56052 @if opcodes
56053 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
56054 mkdir stageautoprofile-opcodes; \
56055 mv stageautoprofile-opcodes opcodes; \
56056 mv stage1-opcodes prev-opcodes || test -f stage1-lean
56057 @endif opcodes
56058 @if binutils
56059 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
56060 mkdir stageautoprofile-binutils; \
56061 mv stageautoprofile-binutils binutils; \
56062 mv stage1-binutils prev-binutils || test -f stage1-lean
56063 @endif binutils
56064 @if fixincludes
56065 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
56066 mkdir stageautoprofile-fixincludes; \
56067 mv stageautoprofile-fixincludes fixincludes; \
56068 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
56069 @endif fixincludes
56070 @if gas
56071 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
56072 mkdir stageautoprofile-gas; \
56073 mv stageautoprofile-gas gas; \
56074 mv stage1-gas prev-gas || test -f stage1-lean
56075 @endif gas
56076 @if gcc
56077 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
56078 mkdir stageautoprofile-gcc; \
56079 mv stageautoprofile-gcc gcc; \
56080 mv stage1-gcc prev-gcc || test -f stage1-lean
56081 @endif gcc
56082 @if gmp
56083 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
56084 mkdir stageautoprofile-gmp; \
56085 mv stageautoprofile-gmp gmp; \
56086 mv stage1-gmp prev-gmp || test -f stage1-lean
56087 @endif gmp
56088 @if mpfr
56089 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
56090 mkdir stageautoprofile-mpfr; \
56091 mv stageautoprofile-mpfr mpfr; \
56092 mv stage1-mpfr prev-mpfr || test -f stage1-lean
56093 @endif mpfr
56094 @if mpc
56095 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
56096 mkdir stageautoprofile-mpc; \
56097 mv stageautoprofile-mpc mpc; \
56098 mv stage1-mpc prev-mpc || test -f stage1-lean
56099 @endif mpc
56100 @if isl
56101 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
56102 mkdir stageautoprofile-isl; \
56103 mv stageautoprofile-isl isl; \
56104 mv stage1-isl prev-isl || test -f stage1-lean
56105 @endif isl
56106 @if libelf
56107 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
56108 mkdir stageautoprofile-libelf; \
56109 mv stageautoprofile-libelf libelf; \
56110 mv stage1-libelf prev-libelf || test -f stage1-lean
56111 @endif libelf
56112 @if gold
56113 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
56114 mkdir stageautoprofile-gold; \
56115 mv stageautoprofile-gold gold; \
56116 mv stage1-gold prev-gold || test -f stage1-lean
56117 @endif gold
56118 @if intl
56119 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
56120 mkdir stageautoprofile-intl; \
56121 mv stageautoprofile-intl intl; \
56122 mv stage1-intl prev-intl || test -f stage1-lean
56123 @endif intl
56124 @if ld
56125 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
56126 mkdir stageautoprofile-ld; \
56127 mv stageautoprofile-ld ld; \
56128 mv stage1-ld prev-ld || test -f stage1-lean
56129 @endif ld
56130 @if libbacktrace
56131 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
56132 mkdir stageautoprofile-libbacktrace; \
56133 mv stageautoprofile-libbacktrace libbacktrace; \
56134 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
56135 @endif libbacktrace
56136 @if libcpp
56137 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
56138 mkdir stageautoprofile-libcpp; \
56139 mv stageautoprofile-libcpp libcpp; \
56140 mv stage1-libcpp prev-libcpp || test -f stage1-lean
56141 @endif libcpp
56142 @if libdecnumber
56143 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
56144 mkdir stageautoprofile-libdecnumber; \
56145 mv stageautoprofile-libdecnumber libdecnumber; \
56146 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
56147 @endif libdecnumber
56148 @if libiberty
56149 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
56150 mkdir stageautoprofile-libiberty; \
56151 mv stageautoprofile-libiberty libiberty; \
56152 mv stage1-libiberty prev-libiberty || test -f stage1-lean
56153 @endif libiberty
56154 @if libiberty-linker-plugin
56155 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
56156 mkdir stageautoprofile-libiberty-linker-plugin; \
56157 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
56158 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
56159 @endif libiberty-linker-plugin
56160 @if libiconv
56161 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
56162 mkdir stageautoprofile-libiconv; \
56163 mv stageautoprofile-libiconv libiconv; \
56164 mv stage1-libiconv prev-libiconv || test -f stage1-lean
56165 @endif libiconv
56166 @if zlib
56167 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
56168 mkdir stageautoprofile-zlib; \
56169 mv stageautoprofile-zlib zlib; \
56170 mv stage1-zlib prev-zlib || test -f stage1-lean
56171 @endif zlib
56172 @if lto-plugin
56173 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
56174 mkdir stageautoprofile-lto-plugin; \
56175 mv stageautoprofile-lto-plugin lto-plugin; \
56176 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
56177 @endif lto-plugin
56178 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
56179 mkdir stageautoprofile-$(TARGET_SUBDIR); \
56180 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56181 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
56183 stageautoprofile-end::
56184 @if bfd
56185 @if test -d $(HOST_SUBDIR)/bfd; then \
56186 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
56187 mv prev-bfd stage1-bfd; : ; \
56189 @endif bfd
56190 @if opcodes
56191 @if test -d $(HOST_SUBDIR)/opcodes; then \
56192 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
56193 mv prev-opcodes stage1-opcodes; : ; \
56195 @endif opcodes
56196 @if binutils
56197 @if test -d $(HOST_SUBDIR)/binutils; then \
56198 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
56199 mv prev-binutils stage1-binutils; : ; \
56201 @endif binutils
56202 @if fixincludes
56203 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56204 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
56205 mv prev-fixincludes stage1-fixincludes; : ; \
56207 @endif fixincludes
56208 @if gas
56209 @if test -d $(HOST_SUBDIR)/gas; then \
56210 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
56211 mv prev-gas stage1-gas; : ; \
56213 @endif gas
56214 @if gcc
56215 @if test -d $(HOST_SUBDIR)/gcc; then \
56216 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
56217 mv prev-gcc stage1-gcc; : ; \
56219 @endif gcc
56220 @if gmp
56221 @if test -d $(HOST_SUBDIR)/gmp; then \
56222 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
56223 mv prev-gmp stage1-gmp; : ; \
56225 @endif gmp
56226 @if mpfr
56227 @if test -d $(HOST_SUBDIR)/mpfr; then \
56228 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
56229 mv prev-mpfr stage1-mpfr; : ; \
56231 @endif mpfr
56232 @if mpc
56233 @if test -d $(HOST_SUBDIR)/mpc; then \
56234 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
56235 mv prev-mpc stage1-mpc; : ; \
56237 @endif mpc
56238 @if isl
56239 @if test -d $(HOST_SUBDIR)/isl; then \
56240 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
56241 mv prev-isl stage1-isl; : ; \
56243 @endif isl
56244 @if libelf
56245 @if test -d $(HOST_SUBDIR)/libelf; then \
56246 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
56247 mv prev-libelf stage1-libelf; : ; \
56249 @endif libelf
56250 @if gold
56251 @if test -d $(HOST_SUBDIR)/gold; then \
56252 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
56253 mv prev-gold stage1-gold; : ; \
56255 @endif gold
56256 @if intl
56257 @if test -d $(HOST_SUBDIR)/intl; then \
56258 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
56259 mv prev-intl stage1-intl; : ; \
56261 @endif intl
56262 @if ld
56263 @if test -d $(HOST_SUBDIR)/ld; then \
56264 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
56265 mv prev-ld stage1-ld; : ; \
56267 @endif ld
56268 @if libbacktrace
56269 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56270 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
56271 mv prev-libbacktrace stage1-libbacktrace; : ; \
56273 @endif libbacktrace
56274 @if libcpp
56275 @if test -d $(HOST_SUBDIR)/libcpp; then \
56276 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
56277 mv prev-libcpp stage1-libcpp; : ; \
56279 @endif libcpp
56280 @if libdecnumber
56281 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56282 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
56283 mv prev-libdecnumber stage1-libdecnumber; : ; \
56285 @endif libdecnumber
56286 @if libiberty
56287 @if test -d $(HOST_SUBDIR)/libiberty; then \
56288 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
56289 mv prev-libiberty stage1-libiberty; : ; \
56291 @endif libiberty
56292 @if libiberty-linker-plugin
56293 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56294 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
56295 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
56297 @endif libiberty-linker-plugin
56298 @if libiconv
56299 @if test -d $(HOST_SUBDIR)/libiconv; then \
56300 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
56301 mv prev-libiconv stage1-libiconv; : ; \
56303 @endif libiconv
56304 @if zlib
56305 @if test -d $(HOST_SUBDIR)/zlib; then \
56306 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
56307 mv prev-zlib stage1-zlib; : ; \
56309 @endif zlib
56310 @if lto-plugin
56311 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56312 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
56313 mv prev-lto-plugin stage1-lto-plugin; : ; \
56315 @endif lto-plugin
56316 @if test -d $(TARGET_SUBDIR); then \
56317 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
56318 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
56320 rm -f stage_current
56322 # Bubble a bug fix through all the stages up to stage autoprofile. They are
56323 # remade, but not reconfigured. The next stage (if any) will not be
56324 # reconfigured either.
56325 .PHONY: stageautoprofile-bubble
56326 stageautoprofile-bubble:: stage1-bubble
56327 @r=`${PWD_COMMAND}`; export r; \
56328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56329 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
56330 echo Skipping rebuild of stageautoprofile; \
56331 else \
56332 $(MAKE) stageautoprofile-start; \
56333 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
56336 .PHONY: all-stageautoprofile clean-stageautoprofile
56337 do-clean: clean-stageautoprofile
56339 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56340 # only possibility, but now it conflicts with no-bootstrap rules
56341 @if gcc-bootstrap
56346 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56347 distclean-stage1:: distclean-stageautoprofile
56348 .PHONY: distclean-stageautoprofile
56349 distclean-stageautoprofile::
56350 @: $(MAKE); $(stage)
56351 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
56352 rm -rf stageautoprofile-*
56355 @endif gcc-bootstrap
56358 .PHONY: stageautofeedback-start stageautofeedback-end
56360 stageautofeedback-start::
56361 @: $(MAKE); $(stage); \
56362 echo stageautofeedback > stage_current; \
56363 echo stageautofeedback > stage_last; \
56364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56365 @if bfd
56366 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
56367 mkdir stageautofeedback-bfd; \
56368 mv stageautofeedback-bfd bfd; \
56369 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
56370 @endif bfd
56371 @if opcodes
56372 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
56373 mkdir stageautofeedback-opcodes; \
56374 mv stageautofeedback-opcodes opcodes; \
56375 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
56376 @endif opcodes
56377 @if binutils
56378 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
56379 mkdir stageautofeedback-binutils; \
56380 mv stageautofeedback-binutils binutils; \
56381 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
56382 @endif binutils
56383 @if fixincludes
56384 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
56385 mkdir stageautofeedback-fixincludes; \
56386 mv stageautofeedback-fixincludes fixincludes; \
56387 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
56388 @endif fixincludes
56389 @if gas
56390 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
56391 mkdir stageautofeedback-gas; \
56392 mv stageautofeedback-gas gas; \
56393 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
56394 @endif gas
56395 @if gcc
56396 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
56397 mkdir stageautofeedback-gcc; \
56398 mv stageautofeedback-gcc gcc; \
56399 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
56400 @endif gcc
56401 @if gmp
56402 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
56403 mkdir stageautofeedback-gmp; \
56404 mv stageautofeedback-gmp gmp; \
56405 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
56406 @endif gmp
56407 @if mpfr
56408 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
56409 mkdir stageautofeedback-mpfr; \
56410 mv stageautofeedback-mpfr mpfr; \
56411 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
56412 @endif mpfr
56413 @if mpc
56414 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
56415 mkdir stageautofeedback-mpc; \
56416 mv stageautofeedback-mpc mpc; \
56417 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
56418 @endif mpc
56419 @if isl
56420 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
56421 mkdir stageautofeedback-isl; \
56422 mv stageautofeedback-isl isl; \
56423 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
56424 @endif isl
56425 @if libelf
56426 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
56427 mkdir stageautofeedback-libelf; \
56428 mv stageautofeedback-libelf libelf; \
56429 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
56430 @endif libelf
56431 @if gold
56432 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
56433 mkdir stageautofeedback-gold; \
56434 mv stageautofeedback-gold gold; \
56435 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
56436 @endif gold
56437 @if intl
56438 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
56439 mkdir stageautofeedback-intl; \
56440 mv stageautofeedback-intl intl; \
56441 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
56442 @endif intl
56443 @if ld
56444 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
56445 mkdir stageautofeedback-ld; \
56446 mv stageautofeedback-ld ld; \
56447 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
56448 @endif ld
56449 @if libbacktrace
56450 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
56451 mkdir stageautofeedback-libbacktrace; \
56452 mv stageautofeedback-libbacktrace libbacktrace; \
56453 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
56454 @endif libbacktrace
56455 @if libcpp
56456 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
56457 mkdir stageautofeedback-libcpp; \
56458 mv stageautofeedback-libcpp libcpp; \
56459 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
56460 @endif libcpp
56461 @if libdecnumber
56462 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
56463 mkdir stageautofeedback-libdecnumber; \
56464 mv stageautofeedback-libdecnumber libdecnumber; \
56465 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
56466 @endif libdecnumber
56467 @if libiberty
56468 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
56469 mkdir stageautofeedback-libiberty; \
56470 mv stageautofeedback-libiberty libiberty; \
56471 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
56472 @endif libiberty
56473 @if libiberty-linker-plugin
56474 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
56475 mkdir stageautofeedback-libiberty-linker-plugin; \
56476 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
56477 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
56478 @endif libiberty-linker-plugin
56479 @if libiconv
56480 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
56481 mkdir stageautofeedback-libiconv; \
56482 mv stageautofeedback-libiconv libiconv; \
56483 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
56484 @endif libiconv
56485 @if zlib
56486 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
56487 mkdir stageautofeedback-zlib; \
56488 mv stageautofeedback-zlib zlib; \
56489 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
56490 @endif zlib
56491 @if lto-plugin
56492 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
56493 mkdir stageautofeedback-lto-plugin; \
56494 mv stageautofeedback-lto-plugin lto-plugin; \
56495 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
56496 @endif lto-plugin
56497 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
56498 mkdir stageautofeedback-$(TARGET_SUBDIR); \
56499 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56500 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
56502 stageautofeedback-end::
56503 @if bfd
56504 @if test -d $(HOST_SUBDIR)/bfd; then \
56505 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
56506 mv prev-bfd stageautoprofile-bfd; : ; \
56508 @endif bfd
56509 @if opcodes
56510 @if test -d $(HOST_SUBDIR)/opcodes; then \
56511 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
56512 mv prev-opcodes stageautoprofile-opcodes; : ; \
56514 @endif opcodes
56515 @if binutils
56516 @if test -d $(HOST_SUBDIR)/binutils; then \
56517 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
56518 mv prev-binutils stageautoprofile-binutils; : ; \
56520 @endif binutils
56521 @if fixincludes
56522 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56523 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
56524 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
56526 @endif fixincludes
56527 @if gas
56528 @if test -d $(HOST_SUBDIR)/gas; then \
56529 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
56530 mv prev-gas stageautoprofile-gas; : ; \
56532 @endif gas
56533 @if gcc
56534 @if test -d $(HOST_SUBDIR)/gcc; then \
56535 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
56536 mv prev-gcc stageautoprofile-gcc; : ; \
56538 @endif gcc
56539 @if gmp
56540 @if test -d $(HOST_SUBDIR)/gmp; then \
56541 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
56542 mv prev-gmp stageautoprofile-gmp; : ; \
56544 @endif gmp
56545 @if mpfr
56546 @if test -d $(HOST_SUBDIR)/mpfr; then \
56547 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
56548 mv prev-mpfr stageautoprofile-mpfr; : ; \
56550 @endif mpfr
56551 @if mpc
56552 @if test -d $(HOST_SUBDIR)/mpc; then \
56553 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
56554 mv prev-mpc stageautoprofile-mpc; : ; \
56556 @endif mpc
56557 @if isl
56558 @if test -d $(HOST_SUBDIR)/isl; then \
56559 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
56560 mv prev-isl stageautoprofile-isl; : ; \
56562 @endif isl
56563 @if libelf
56564 @if test -d $(HOST_SUBDIR)/libelf; then \
56565 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
56566 mv prev-libelf stageautoprofile-libelf; : ; \
56568 @endif libelf
56569 @if gold
56570 @if test -d $(HOST_SUBDIR)/gold; then \
56571 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
56572 mv prev-gold stageautoprofile-gold; : ; \
56574 @endif gold
56575 @if intl
56576 @if test -d $(HOST_SUBDIR)/intl; then \
56577 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
56578 mv prev-intl stageautoprofile-intl; : ; \
56580 @endif intl
56581 @if ld
56582 @if test -d $(HOST_SUBDIR)/ld; then \
56583 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
56584 mv prev-ld stageautoprofile-ld; : ; \
56586 @endif ld
56587 @if libbacktrace
56588 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56589 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
56590 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
56592 @endif libbacktrace
56593 @if libcpp
56594 @if test -d $(HOST_SUBDIR)/libcpp; then \
56595 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
56596 mv prev-libcpp stageautoprofile-libcpp; : ; \
56598 @endif libcpp
56599 @if libdecnumber
56600 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56601 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
56602 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
56604 @endif libdecnumber
56605 @if libiberty
56606 @if test -d $(HOST_SUBDIR)/libiberty; then \
56607 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
56608 mv prev-libiberty stageautoprofile-libiberty; : ; \
56610 @endif libiberty
56611 @if libiberty-linker-plugin
56612 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56613 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
56614 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
56616 @endif libiberty-linker-plugin
56617 @if libiconv
56618 @if test -d $(HOST_SUBDIR)/libiconv; then \
56619 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
56620 mv prev-libiconv stageautoprofile-libiconv; : ; \
56622 @endif libiconv
56623 @if zlib
56624 @if test -d $(HOST_SUBDIR)/zlib; then \
56625 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
56626 mv prev-zlib stageautoprofile-zlib; : ; \
56628 @endif zlib
56629 @if lto-plugin
56630 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56631 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
56632 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
56634 @endif lto-plugin
56635 @if test -d $(TARGET_SUBDIR); then \
56636 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
56637 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
56639 rm -f stage_current
56641 # Bubble a bug fix through all the stages up to stage autofeedback. They are
56642 # remade, but not reconfigured. The next stage (if any) will not be
56643 # reconfigured either.
56644 .PHONY: stageautofeedback-bubble
56645 stageautofeedback-bubble:: stageautoprofile-bubble
56646 @r=`${PWD_COMMAND}`; export r; \
56647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56648 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
56649 echo Skipping rebuild of stageautofeedback; \
56650 else \
56651 $(MAKE) stageautofeedback-start; \
56652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
56655 .PHONY: all-stageautofeedback clean-stageautofeedback
56656 do-clean: clean-stageautofeedback
56658 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56659 # only possibility, but now it conflicts with no-bootstrap rules
56660 @if gcc-bootstrap
56664 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
56665 autoprofiledbootstrap:
56666 echo stageautofeedback > stage_final
56667 @r=`${PWD_COMMAND}`; export r; \
56668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56669 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
56670 @: $(MAKE); $(unstage)
56671 @r=`${PWD_COMMAND}`; export r; \
56672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56673 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
56674 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56676 autoprofiledbootstrap-lean:
56677 echo stageautofeedback > stage_final
56678 @r=`${PWD_COMMAND}`; export r; \
56679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56680 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
56681 @: $(MAKE); $(unstage)
56682 @r=`${PWD_COMMAND}`; export r; \
56683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56684 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
56685 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56688 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56689 distclean-stageautoprofile:: distclean-stageautofeedback
56690 .PHONY: distclean-stageautofeedback
56691 distclean-stageautofeedback::
56692 @: $(MAKE); $(stage)
56693 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
56694 rm -rf stageautofeedback-*
56697 @endif gcc-bootstrap
56701 stageprofile-end::
56702 $(MAKE) distclean-stagefeedback
56704 stagefeedback-start::
56705 @r=`${PWD_COMMAND}`; export r; \
56706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56707 for i in stageprofile-*; do \
56708 j=`echo $$i | sed s/^stageprofile-//`; \
56709 cd $$r/$$i && \
56710 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
56711 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
56712 done
56714 @if gcc-bootstrap
56715 do-distclean: distclean-stage1
56717 # Provide a GCC build when we're building target libraries. This does
56718 # not work as a dependency, just as the minimum necessary to avoid errors.
56719 stage_last:
56720 @r=`${PWD_COMMAND}`; export r; \
56721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56722 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
56724 # Same as unstage, but not phony and defaulting to stage1-start. We place
56725 # it in the dependency so that for example `make -j3 all-gcc' works.
56726 stage_current:
56727 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
56729 .PHONY: restrap
56730 restrap::
56731 @: $(MAKE); $(stage)
56732 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
56733 restrap:: all
56734 @endif gcc-bootstrap
56736 # --------------------------------------
56737 # Dependencies between different modules
56738 # --------------------------------------
56740 # Generic dependencies for target modules on host stuff, especially gcc
56741 @if gcc-bootstrap
56742 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
56743 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
56744 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
56745 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
56746 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
56747 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
56748 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
56749 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
56750 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
56751 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
56752 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
56753 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
56754 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
56755 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
56756 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
56757 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
56758 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
56759 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
56760 configure-stage1-target-libmpx: maybe-all-stage1-gcc
56761 configure-stage2-target-libmpx: maybe-all-stage2-gcc
56762 configure-stage3-target-libmpx: maybe-all-stage3-gcc
56763 configure-stage4-target-libmpx: maybe-all-stage4-gcc
56764 configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
56765 configure-stagetrain-target-libmpx: maybe-all-stagetrain-gcc
56766 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
56767 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-gcc
56768 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-gcc
56769 configure-stage1-target-libvtv: maybe-all-stage1-gcc
56770 configure-stage2-target-libvtv: maybe-all-stage2-gcc
56771 configure-stage3-target-libvtv: maybe-all-stage3-gcc
56772 configure-stage4-target-libvtv: maybe-all-stage4-gcc
56773 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
56774 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
56775 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
56776 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
56777 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
56778 configure-target-liboffloadmic: stage_last
56779 configure-target-libssp: stage_last
56780 configure-target-newlib: stage_last
56781 configure-stage1-target-libgcc: maybe-all-stage1-gcc
56782 configure-stage2-target-libgcc: maybe-all-stage2-gcc
56783 configure-stage3-target-libgcc: maybe-all-stage3-gcc
56784 configure-stage4-target-libgcc: maybe-all-stage4-gcc
56785 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
56786 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
56787 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
56788 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
56789 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
56790 configure-target-libbacktrace: stage_last
56791 configure-target-libquadmath: stage_last
56792 configure-target-libgfortran: stage_last
56793 configure-target-libobjc: stage_last
56794 configure-target-libgo: stage_last
56795 configure-target-libhsail-rt: stage_last
56796 configure-target-libtermcap: stage_last
56797 configure-target-winsup: stage_last
56798 configure-target-libgloss: stage_last
56799 configure-target-libffi: stage_last
56800 configure-target-zlib: stage_last
56801 configure-target-rda: stage_last
56802 configure-target-libada: stage_last
56803 configure-stage1-target-libgomp: maybe-all-stage1-gcc
56804 configure-stage2-target-libgomp: maybe-all-stage2-gcc
56805 configure-stage3-target-libgomp: maybe-all-stage3-gcc
56806 configure-stage4-target-libgomp: maybe-all-stage4-gcc
56807 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
56808 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
56809 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
56810 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
56811 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
56812 configure-target-libitm: stage_last
56813 configure-target-libatomic: stage_last
56814 @endif gcc-bootstrap
56816 @if gcc-no-bootstrap
56817 configure-target-libstdc++-v3: maybe-all-gcc
56818 configure-target-libsanitizer: maybe-all-gcc
56819 configure-target-libmpx: maybe-all-gcc
56820 configure-target-libvtv: maybe-all-gcc
56821 configure-target-liboffloadmic: maybe-all-gcc
56822 configure-target-libssp: maybe-all-gcc
56823 configure-target-newlib: maybe-all-gcc
56824 configure-target-libgcc: maybe-all-gcc
56825 configure-target-libbacktrace: maybe-all-gcc
56826 configure-target-libquadmath: maybe-all-gcc
56827 configure-target-libgfortran: maybe-all-gcc
56828 configure-target-libobjc: maybe-all-gcc
56829 configure-target-libgo: maybe-all-gcc
56830 configure-target-libhsail-rt: maybe-all-gcc
56831 configure-target-libtermcap: maybe-all-gcc
56832 configure-target-winsup: maybe-all-gcc
56833 configure-target-libgloss: maybe-all-gcc
56834 configure-target-libffi: maybe-all-gcc
56835 configure-target-zlib: maybe-all-gcc
56836 configure-target-rda: maybe-all-gcc
56837 configure-target-libada: maybe-all-gcc
56838 configure-target-libgomp: maybe-all-gcc
56839 configure-target-libitm: maybe-all-gcc
56840 configure-target-libatomic: maybe-all-gcc
56841 @endif gcc-no-bootstrap
56844 # There are two types of dependencies here: 'hard' dependencies, where one
56845 # module simply won't build without the other; and 'soft' dependencies, where
56846 # if the depended-on module is missing, the depending module will do without
56847 # or find a substitute somewhere (perhaps installed). Soft dependencies
56848 # are made here to depend on a 'maybe-' target. If you're not sure,
56849 # it's safer to use a soft dependency.
56856 # With all the machinery above in place, it is pretty easy to generate
56857 # dependencies. Host dependencies are a bit more complex because we have
56858 # to check for bootstrap/prebootstrap dependencies. To resolve
56859 # prebootstrap dependencies, prebootstrap modules are gathered in
56860 # a hash table.
56861 all-build-bison: maybe-all-build-texinfo
56862 all-build-flex: maybe-all-build-texinfo
56863 all-build-flex: maybe-all-build-bison
56864 all-build-flex: maybe-all-build-m4
56865 all-build-libiberty: maybe-all-build-texinfo
56866 all-build-m4: maybe-all-build-texinfo
56867 all-build-fixincludes: maybe-all-build-libiberty
56868 all-build-libcpp: maybe-all-build-libiberty
56869 configure-gcc: maybe-configure-intl
56871 configure-stage1-gcc: maybe-configure-stage1-intl
56872 configure-stage2-gcc: maybe-configure-stage2-intl
56873 configure-stage3-gcc: maybe-configure-stage3-intl
56874 configure-stage4-gcc: maybe-configure-stage4-intl
56875 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
56876 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
56877 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
56878 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
56879 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
56880 configure-gcc: maybe-all-gmp
56882 configure-stage1-gcc: maybe-all-stage1-gmp
56883 configure-stage2-gcc: maybe-all-stage2-gmp
56884 configure-stage3-gcc: maybe-all-stage3-gmp
56885 configure-stage4-gcc: maybe-all-stage4-gmp
56886 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
56887 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
56888 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
56889 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
56890 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
56891 configure-gcc: maybe-all-mpfr
56893 configure-stage1-gcc: maybe-all-stage1-mpfr
56894 configure-stage2-gcc: maybe-all-stage2-mpfr
56895 configure-stage3-gcc: maybe-all-stage3-mpfr
56896 configure-stage4-gcc: maybe-all-stage4-mpfr
56897 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
56898 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
56899 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
56900 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
56901 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
56902 configure-gcc: maybe-all-mpc
56904 configure-stage1-gcc: maybe-all-stage1-mpc
56905 configure-stage2-gcc: maybe-all-stage2-mpc
56906 configure-stage3-gcc: maybe-all-stage3-mpc
56907 configure-stage4-gcc: maybe-all-stage4-mpc
56908 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
56909 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
56910 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
56911 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
56912 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
56913 configure-gcc: maybe-all-isl
56915 configure-stage1-gcc: maybe-all-stage1-isl
56916 configure-stage2-gcc: maybe-all-stage2-isl
56917 configure-stage3-gcc: maybe-all-stage3-isl
56918 configure-stage4-gcc: maybe-all-stage4-isl
56919 configure-stageprofile-gcc: maybe-all-stageprofile-isl
56920 configure-stagetrain-gcc: maybe-all-stagetrain-isl
56921 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
56922 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
56923 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
56924 configure-gcc: maybe-all-lto-plugin
56926 configure-stage1-gcc: maybe-all-stage1-lto-plugin
56927 configure-stage2-gcc: maybe-all-stage2-lto-plugin
56928 configure-stage3-gcc: maybe-all-stage3-lto-plugin
56929 configure-stage4-gcc: maybe-all-stage4-lto-plugin
56930 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
56931 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
56932 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
56933 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
56934 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
56935 configure-gcc: maybe-all-binutils
56937 configure-stage1-gcc: maybe-all-stage1-binutils
56938 configure-stage2-gcc: maybe-all-stage2-binutils
56939 configure-stage3-gcc: maybe-all-stage3-binutils
56940 configure-stage4-gcc: maybe-all-stage4-binutils
56941 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
56942 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
56943 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
56944 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
56945 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
56946 configure-gcc: maybe-all-gas
56948 configure-stage1-gcc: maybe-all-stage1-gas
56949 configure-stage2-gcc: maybe-all-stage2-gas
56950 configure-stage3-gcc: maybe-all-stage3-gas
56951 configure-stage4-gcc: maybe-all-stage4-gas
56952 configure-stageprofile-gcc: maybe-all-stageprofile-gas
56953 configure-stagetrain-gcc: maybe-all-stagetrain-gas
56954 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
56955 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
56956 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
56957 configure-gcc: maybe-all-ld
56959 configure-stage1-gcc: maybe-all-stage1-ld
56960 configure-stage2-gcc: maybe-all-stage2-ld
56961 configure-stage3-gcc: maybe-all-stage3-ld
56962 configure-stage4-gcc: maybe-all-stage4-ld
56963 configure-stageprofile-gcc: maybe-all-stageprofile-ld
56964 configure-stagetrain-gcc: maybe-all-stagetrain-ld
56965 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
56966 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
56967 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
56968 configure-gcc: maybe-all-gold
56970 configure-stage1-gcc: maybe-all-stage1-gold
56971 configure-stage2-gcc: maybe-all-stage2-gold
56972 configure-stage3-gcc: maybe-all-stage3-gold
56973 configure-stage4-gcc: maybe-all-stage4-gold
56974 configure-stageprofile-gcc: maybe-all-stageprofile-gold
56975 configure-stagetrain-gcc: maybe-all-stagetrain-gold
56976 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
56977 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
56978 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
56979 configure-gcc: maybe-all-libelf
56981 configure-stage1-gcc: maybe-all-stage1-libelf
56982 configure-stage2-gcc: maybe-all-stage2-libelf
56983 configure-stage3-gcc: maybe-all-stage3-libelf
56984 configure-stage4-gcc: maybe-all-stage4-libelf
56985 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
56986 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
56987 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
56988 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
56989 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
56990 configure-gcc: maybe-all-libiconv
56992 configure-stage1-gcc: maybe-all-stage1-libiconv
56993 configure-stage2-gcc: maybe-all-stage2-libiconv
56994 configure-stage3-gcc: maybe-all-stage3-libiconv
56995 configure-stage4-gcc: maybe-all-stage4-libiconv
56996 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
56997 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
56998 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
56999 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
57000 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
57001 all-gcc: all-libiberty
57003 all-stage1-gcc: all-stage1-libiberty
57004 all-stage2-gcc: all-stage2-libiberty
57005 all-stage3-gcc: all-stage3-libiberty
57006 all-stage4-gcc: all-stage4-libiberty
57007 all-stageprofile-gcc: all-stageprofile-libiberty
57008 all-stagetrain-gcc: all-stagetrain-libiberty
57009 all-stagefeedback-gcc: all-stagefeedback-libiberty
57010 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
57011 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
57012 all-gcc: maybe-all-intl
57014 all-stage1-gcc: maybe-all-stage1-intl
57015 all-stage2-gcc: maybe-all-stage2-intl
57016 all-stage3-gcc: maybe-all-stage3-intl
57017 all-stage4-gcc: maybe-all-stage4-intl
57018 all-stageprofile-gcc: maybe-all-stageprofile-intl
57019 all-stagetrain-gcc: maybe-all-stagetrain-intl
57020 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
57021 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
57022 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
57023 all-gcc: maybe-all-mpfr
57025 all-stage1-gcc: maybe-all-stage1-mpfr
57026 all-stage2-gcc: maybe-all-stage2-mpfr
57027 all-stage3-gcc: maybe-all-stage3-mpfr
57028 all-stage4-gcc: maybe-all-stage4-mpfr
57029 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
57030 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
57031 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
57032 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
57033 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
57034 all-gcc: maybe-all-mpc
57036 all-stage1-gcc: maybe-all-stage1-mpc
57037 all-stage2-gcc: maybe-all-stage2-mpc
57038 all-stage3-gcc: maybe-all-stage3-mpc
57039 all-stage4-gcc: maybe-all-stage4-mpc
57040 all-stageprofile-gcc: maybe-all-stageprofile-mpc
57041 all-stagetrain-gcc: maybe-all-stagetrain-mpc
57042 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
57043 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
57044 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
57045 all-gcc: maybe-all-isl
57047 all-stage1-gcc: maybe-all-stage1-isl
57048 all-stage2-gcc: maybe-all-stage2-isl
57049 all-stage3-gcc: maybe-all-stage3-isl
57050 all-stage4-gcc: maybe-all-stage4-isl
57051 all-stageprofile-gcc: maybe-all-stageprofile-isl
57052 all-stagetrain-gcc: maybe-all-stagetrain-isl
57053 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
57054 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
57055 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
57056 all-gcc: maybe-all-build-texinfo
57058 all-stage1-gcc: maybe-all-build-texinfo
57059 all-stage2-gcc: maybe-all-build-texinfo
57060 all-stage3-gcc: maybe-all-build-texinfo
57061 all-stage4-gcc: maybe-all-build-texinfo
57062 all-stageprofile-gcc: maybe-all-build-texinfo
57063 all-stagetrain-gcc: maybe-all-build-texinfo
57064 all-stagefeedback-gcc: maybe-all-build-texinfo
57065 all-stageautoprofile-gcc: maybe-all-build-texinfo
57066 all-stageautofeedback-gcc: maybe-all-build-texinfo
57067 all-gcc: maybe-all-build-bison
57069 all-stage1-gcc: maybe-all-build-bison
57070 all-stage2-gcc: maybe-all-build-bison
57071 all-stage3-gcc: maybe-all-build-bison
57072 all-stage4-gcc: maybe-all-build-bison
57073 all-stageprofile-gcc: maybe-all-build-bison
57074 all-stagetrain-gcc: maybe-all-build-bison
57075 all-stagefeedback-gcc: maybe-all-build-bison
57076 all-stageautoprofile-gcc: maybe-all-build-bison
57077 all-stageautofeedback-gcc: maybe-all-build-bison
57078 all-gcc: maybe-all-build-flex
57080 all-stage1-gcc: maybe-all-build-flex
57081 all-stage2-gcc: maybe-all-build-flex
57082 all-stage3-gcc: maybe-all-build-flex
57083 all-stage4-gcc: maybe-all-build-flex
57084 all-stageprofile-gcc: maybe-all-build-flex
57085 all-stagetrain-gcc: maybe-all-build-flex
57086 all-stagefeedback-gcc: maybe-all-build-flex
57087 all-stageautoprofile-gcc: maybe-all-build-flex
57088 all-stageautofeedback-gcc: maybe-all-build-flex
57089 all-gcc: maybe-all-build-libiberty
57091 all-stage1-gcc: maybe-all-build-libiberty
57092 all-stage2-gcc: maybe-all-build-libiberty
57093 all-stage3-gcc: maybe-all-build-libiberty
57094 all-stage4-gcc: maybe-all-build-libiberty
57095 all-stageprofile-gcc: maybe-all-build-libiberty
57096 all-stagetrain-gcc: maybe-all-build-libiberty
57097 all-stagefeedback-gcc: maybe-all-build-libiberty
57098 all-stageautoprofile-gcc: maybe-all-build-libiberty
57099 all-stageautofeedback-gcc: maybe-all-build-libiberty
57100 all-gcc: maybe-all-build-fixincludes
57102 all-stage1-gcc: maybe-all-build-fixincludes
57103 all-stage2-gcc: maybe-all-build-fixincludes
57104 all-stage3-gcc: maybe-all-build-fixincludes
57105 all-stage4-gcc: maybe-all-build-fixincludes
57106 all-stageprofile-gcc: maybe-all-build-fixincludes
57107 all-stagetrain-gcc: maybe-all-build-fixincludes
57108 all-stagefeedback-gcc: maybe-all-build-fixincludes
57109 all-stageautoprofile-gcc: maybe-all-build-fixincludes
57110 all-stageautofeedback-gcc: maybe-all-build-fixincludes
57111 all-gcc: maybe-all-build-libcpp
57113 all-stage1-gcc: maybe-all-build-libcpp
57114 all-stage2-gcc: maybe-all-build-libcpp
57115 all-stage3-gcc: maybe-all-build-libcpp
57116 all-stage4-gcc: maybe-all-build-libcpp
57117 all-stageprofile-gcc: maybe-all-build-libcpp
57118 all-stagetrain-gcc: maybe-all-build-libcpp
57119 all-stagefeedback-gcc: maybe-all-build-libcpp
57120 all-stageautoprofile-gcc: maybe-all-build-libcpp
57121 all-stageautofeedback-gcc: maybe-all-build-libcpp
57122 all-gcc: maybe-all-zlib
57124 all-stage1-gcc: maybe-all-stage1-zlib
57125 all-stage2-gcc: maybe-all-stage2-zlib
57126 all-stage3-gcc: maybe-all-stage3-zlib
57127 all-stage4-gcc: maybe-all-stage4-zlib
57128 all-stageprofile-gcc: maybe-all-stageprofile-zlib
57129 all-stagetrain-gcc: maybe-all-stagetrain-zlib
57130 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
57131 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
57132 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
57133 all-gcc: all-libbacktrace
57135 all-stage1-gcc: all-stage1-libbacktrace
57136 all-stage2-gcc: all-stage2-libbacktrace
57137 all-stage3-gcc: all-stage3-libbacktrace
57138 all-stage4-gcc: all-stage4-libbacktrace
57139 all-stageprofile-gcc: all-stageprofile-libbacktrace
57140 all-stagetrain-gcc: all-stagetrain-libbacktrace
57141 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
57142 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
57143 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
57144 all-gcc: all-libcpp
57146 all-stage1-gcc: all-stage1-libcpp
57147 all-stage2-gcc: all-stage2-libcpp
57148 all-stage3-gcc: all-stage3-libcpp
57149 all-stage4-gcc: all-stage4-libcpp
57150 all-stageprofile-gcc: all-stageprofile-libcpp
57151 all-stagetrain-gcc: all-stagetrain-libcpp
57152 all-stagefeedback-gcc: all-stagefeedback-libcpp
57153 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
57154 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
57155 all-gcc: all-libdecnumber
57157 all-stage1-gcc: all-stage1-libdecnumber
57158 all-stage2-gcc: all-stage2-libdecnumber
57159 all-stage3-gcc: all-stage3-libdecnumber
57160 all-stage4-gcc: all-stage4-libdecnumber
57161 all-stageprofile-gcc: all-stageprofile-libdecnumber
57162 all-stagetrain-gcc: all-stagetrain-libdecnumber
57163 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
57164 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
57165 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
57166 all-gcc: maybe-all-libiberty
57168 all-stage1-gcc: maybe-all-stage1-libiberty
57169 all-stage2-gcc: maybe-all-stage2-libiberty
57170 all-stage3-gcc: maybe-all-stage3-libiberty
57171 all-stage4-gcc: maybe-all-stage4-libiberty
57172 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
57173 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
57174 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
57175 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
57176 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
57177 all-gcc: maybe-all-fixincludes
57179 all-stage1-gcc: maybe-all-stage1-fixincludes
57180 all-stage2-gcc: maybe-all-stage2-fixincludes
57181 all-stage3-gcc: maybe-all-stage3-fixincludes
57182 all-stage4-gcc: maybe-all-stage4-fixincludes
57183 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
57184 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
57185 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
57186 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
57187 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
57188 all-gcc: maybe-all-lto-plugin
57190 all-stage1-gcc: maybe-all-stage1-lto-plugin
57191 all-stage2-gcc: maybe-all-stage2-lto-plugin
57192 all-stage3-gcc: maybe-all-stage3-lto-plugin
57193 all-stage4-gcc: maybe-all-stage4-lto-plugin
57194 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
57195 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
57196 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
57197 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
57198 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
57199 all-gcc: maybe-all-libiconv
57201 all-stage1-gcc: maybe-all-stage1-libiconv
57202 all-stage2-gcc: maybe-all-stage2-libiconv
57203 all-stage3-gcc: maybe-all-stage3-libiconv
57204 all-stage4-gcc: maybe-all-stage4-libiconv
57205 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
57206 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
57207 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
57208 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
57209 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
57210 info-gcc: maybe-all-build-libiberty
57212 info-stage1-gcc: maybe-all-build-libiberty
57213 info-stage2-gcc: maybe-all-build-libiberty
57214 info-stage3-gcc: maybe-all-build-libiberty
57215 info-stage4-gcc: maybe-all-build-libiberty
57216 info-stageprofile-gcc: maybe-all-build-libiberty
57217 info-stagetrain-gcc: maybe-all-build-libiberty
57218 info-stagefeedback-gcc: maybe-all-build-libiberty
57219 info-stageautoprofile-gcc: maybe-all-build-libiberty
57220 info-stageautofeedback-gcc: maybe-all-build-libiberty
57221 dvi-gcc: maybe-all-build-libiberty
57223 dvi-stage1-gcc: maybe-all-build-libiberty
57224 dvi-stage2-gcc: maybe-all-build-libiberty
57225 dvi-stage3-gcc: maybe-all-build-libiberty
57226 dvi-stage4-gcc: maybe-all-build-libiberty
57227 dvi-stageprofile-gcc: maybe-all-build-libiberty
57228 dvi-stagetrain-gcc: maybe-all-build-libiberty
57229 dvi-stagefeedback-gcc: maybe-all-build-libiberty
57230 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
57231 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
57232 pdf-gcc: maybe-all-build-libiberty
57234 pdf-stage1-gcc: maybe-all-build-libiberty
57235 pdf-stage2-gcc: maybe-all-build-libiberty
57236 pdf-stage3-gcc: maybe-all-build-libiberty
57237 pdf-stage4-gcc: maybe-all-build-libiberty
57238 pdf-stageprofile-gcc: maybe-all-build-libiberty
57239 pdf-stagetrain-gcc: maybe-all-build-libiberty
57240 pdf-stagefeedback-gcc: maybe-all-build-libiberty
57241 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
57242 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
57243 html-gcc: maybe-all-build-libiberty
57245 html-stage1-gcc: maybe-all-build-libiberty
57246 html-stage2-gcc: maybe-all-build-libiberty
57247 html-stage3-gcc: maybe-all-build-libiberty
57248 html-stage4-gcc: maybe-all-build-libiberty
57249 html-stageprofile-gcc: maybe-all-build-libiberty
57250 html-stagetrain-gcc: maybe-all-build-libiberty
57251 html-stagefeedback-gcc: maybe-all-build-libiberty
57252 html-stageautoprofile-gcc: maybe-all-build-libiberty
57253 html-stageautofeedback-gcc: maybe-all-build-libiberty
57254 install-gcc: maybe-install-fixincludes
57255 install-gcc: maybe-install-lto-plugin
57256 install-strip-gcc: maybe-install-strip-fixincludes
57257 install-strip-gcc: maybe-install-strip-lto-plugin
57258 configure-libcpp: configure-libiberty
57260 configure-stage1-libcpp: configure-stage1-libiberty
57261 configure-stage2-libcpp: configure-stage2-libiberty
57262 configure-stage3-libcpp: configure-stage3-libiberty
57263 configure-stage4-libcpp: configure-stage4-libiberty
57264 configure-stageprofile-libcpp: configure-stageprofile-libiberty
57265 configure-stagetrain-libcpp: configure-stagetrain-libiberty
57266 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
57267 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
57268 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
57269 configure-libcpp: maybe-configure-intl
57271 configure-stage1-libcpp: maybe-configure-stage1-intl
57272 configure-stage2-libcpp: maybe-configure-stage2-intl
57273 configure-stage3-libcpp: maybe-configure-stage3-intl
57274 configure-stage4-libcpp: maybe-configure-stage4-intl
57275 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
57276 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
57277 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
57278 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
57279 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
57280 configure-libcpp: maybe-all-libiconv
57282 configure-stage1-libcpp: maybe-all-stage1-libiconv
57283 configure-stage2-libcpp: maybe-all-stage2-libiconv
57284 configure-stage3-libcpp: maybe-all-stage3-libiconv
57285 configure-stage4-libcpp: maybe-all-stage4-libiconv
57286 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
57287 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
57288 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
57289 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
57290 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
57291 all-libcpp: all-libiberty
57293 all-stage1-libcpp: all-stage1-libiberty
57294 all-stage2-libcpp: all-stage2-libiberty
57295 all-stage3-libcpp: all-stage3-libiberty
57296 all-stage4-libcpp: all-stage4-libiberty
57297 all-stageprofile-libcpp: all-stageprofile-libiberty
57298 all-stagetrain-libcpp: all-stagetrain-libiberty
57299 all-stagefeedback-libcpp: all-stagefeedback-libiberty
57300 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
57301 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
57302 all-libcpp: maybe-all-intl
57304 all-stage1-libcpp: maybe-all-stage1-intl
57305 all-stage2-libcpp: maybe-all-stage2-intl
57306 all-stage3-libcpp: maybe-all-stage3-intl
57307 all-stage4-libcpp: maybe-all-stage4-intl
57308 all-stageprofile-libcpp: maybe-all-stageprofile-intl
57309 all-stagetrain-libcpp: maybe-all-stagetrain-intl
57310 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
57311 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
57312 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
57313 all-libcpp: maybe-all-libiconv
57315 all-stage1-libcpp: maybe-all-stage1-libiconv
57316 all-stage2-libcpp: maybe-all-stage2-libiconv
57317 all-stage3-libcpp: maybe-all-stage3-libiconv
57318 all-stage4-libcpp: maybe-all-stage4-libiconv
57319 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
57320 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
57321 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
57322 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
57323 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
57324 all-fixincludes: maybe-all-libiberty
57326 all-stage1-fixincludes: maybe-all-stage1-libiberty
57327 all-stage2-fixincludes: maybe-all-stage2-libiberty
57328 all-stage3-fixincludes: maybe-all-stage3-libiberty
57329 all-stage4-fixincludes: maybe-all-stage4-libiberty
57330 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
57331 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
57332 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
57333 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
57334 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
57335 all-gnattools: maybe-all-target-libada
57336 all-gnattools: maybe-all-target-libstdc++-v3
57337 all-lto-plugin: maybe-all-libiberty
57339 all-stage1-lto-plugin: maybe-all-stage1-libiberty
57340 all-stage2-lto-plugin: maybe-all-stage2-libiberty
57341 all-stage3-lto-plugin: maybe-all-stage3-libiberty
57342 all-stage4-lto-plugin: maybe-all-stage4-libiberty
57343 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
57344 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
57345 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
57346 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
57347 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
57348 all-lto-plugin: maybe-all-libiberty-linker-plugin
57350 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
57351 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
57352 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
57353 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
57354 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
57355 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
57356 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
57357 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
57358 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
57359 configure-libcc1: maybe-configure-gcc
57360 all-libcc1: maybe-all-gcc
57361 all-gotools: maybe-all-target-libgo
57362 all-utils: maybe-all-libiberty
57363 configure-intl: maybe-all-libiconv
57365 configure-stage1-intl: maybe-all-stage1-libiconv
57366 configure-stage2-intl: maybe-all-stage2-libiconv
57367 configure-stage3-intl: maybe-all-stage3-libiconv
57368 configure-stage4-intl: maybe-all-stage4-libiconv
57369 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
57370 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
57371 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
57372 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
57373 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
57374 configure-mpfr: maybe-all-gmp
57376 configure-stage1-mpfr: maybe-all-stage1-gmp
57377 configure-stage2-mpfr: maybe-all-stage2-gmp
57378 configure-stage3-mpfr: maybe-all-stage3-gmp
57379 configure-stage4-mpfr: maybe-all-stage4-gmp
57380 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
57381 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
57382 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
57383 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
57384 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
57385 configure-mpc: maybe-all-mpfr
57387 configure-stage1-mpc: maybe-all-stage1-mpfr
57388 configure-stage2-mpc: maybe-all-stage2-mpfr
57389 configure-stage3-mpc: maybe-all-stage3-mpfr
57390 configure-stage4-mpc: maybe-all-stage4-mpfr
57391 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
57392 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
57393 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
57394 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
57395 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
57396 configure-isl: maybe-all-gmp
57398 configure-stage1-isl: maybe-all-stage1-gmp
57399 configure-stage2-isl: maybe-all-stage2-gmp
57400 configure-stage3-isl: maybe-all-stage3-gmp
57401 configure-stage4-isl: maybe-all-stage4-gmp
57402 configure-stageprofile-isl: maybe-all-stageprofile-gmp
57403 configure-stagetrain-isl: maybe-all-stagetrain-gmp
57404 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
57405 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
57406 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
57407 all-intl: maybe-all-libiconv
57409 all-stage1-intl: maybe-all-stage1-libiconv
57410 all-stage2-intl: maybe-all-stage2-libiconv
57411 all-stage3-intl: maybe-all-stage3-libiconv
57412 all-stage4-intl: maybe-all-stage4-libiconv
57413 all-stageprofile-intl: maybe-all-stageprofile-libiconv
57414 all-stagetrain-intl: maybe-all-stagetrain-libiconv
57415 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
57416 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
57417 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
57418 configure-gdb: maybe-all-intl
57419 configure-gdb: maybe-configure-sim
57420 configure-gdb: maybe-all-bfd
57421 configure-gdb: maybe-all-libiconv
57422 all-gdb: maybe-all-libiberty
57423 all-gdb: maybe-all-libiconv
57424 all-gdb: maybe-all-opcodes
57425 all-gdb: maybe-all-readline
57426 all-gdb: maybe-all-build-bison
57427 all-gdb: maybe-all-sim
57428 all-gdb: maybe-all-libdecnumber
57429 all-gdb: maybe-all-libtermcap
57430 configure-libgui: maybe-configure-tcl
57431 configure-libgui: maybe-configure-tk
57432 all-libgui: maybe-all-tcl
57433 all-libgui: maybe-all-tk
57434 all-libgui: maybe-all-itcl
57435 configure-bfd: configure-libiberty
57437 configure-stage1-bfd: configure-stage1-libiberty
57438 configure-stage2-bfd: configure-stage2-libiberty
57439 configure-stage3-bfd: configure-stage3-libiberty
57440 configure-stage4-bfd: configure-stage4-libiberty
57441 configure-stageprofile-bfd: configure-stageprofile-libiberty
57442 configure-stagetrain-bfd: configure-stagetrain-libiberty
57443 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
57444 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
57445 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
57446 configure-bfd: maybe-configure-intl
57448 configure-stage1-bfd: maybe-configure-stage1-intl
57449 configure-stage2-bfd: maybe-configure-stage2-intl
57450 configure-stage3-bfd: maybe-configure-stage3-intl
57451 configure-stage4-bfd: maybe-configure-stage4-intl
57452 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
57453 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
57454 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
57455 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
57456 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
57457 all-bfd: maybe-all-libiberty
57459 all-stage1-bfd: maybe-all-stage1-libiberty
57460 all-stage2-bfd: maybe-all-stage2-libiberty
57461 all-stage3-bfd: maybe-all-stage3-libiberty
57462 all-stage4-bfd: maybe-all-stage4-libiberty
57463 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
57464 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
57465 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
57466 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
57467 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
57468 all-bfd: maybe-all-intl
57470 all-stage1-bfd: maybe-all-stage1-intl
57471 all-stage2-bfd: maybe-all-stage2-intl
57472 all-stage3-bfd: maybe-all-stage3-intl
57473 all-stage4-bfd: maybe-all-stage4-intl
57474 all-stageprofile-bfd: maybe-all-stageprofile-intl
57475 all-stagetrain-bfd: maybe-all-stagetrain-intl
57476 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
57477 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
57478 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
57479 all-bfd: maybe-all-zlib
57481 all-stage1-bfd: maybe-all-stage1-zlib
57482 all-stage2-bfd: maybe-all-stage2-zlib
57483 all-stage3-bfd: maybe-all-stage3-zlib
57484 all-stage4-bfd: maybe-all-stage4-zlib
57485 all-stageprofile-bfd: maybe-all-stageprofile-zlib
57486 all-stagetrain-bfd: maybe-all-stagetrain-zlib
57487 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
57488 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
57489 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
57490 configure-opcodes: configure-libiberty
57492 configure-stage1-opcodes: configure-stage1-libiberty
57493 configure-stage2-opcodes: configure-stage2-libiberty
57494 configure-stage3-opcodes: configure-stage3-libiberty
57495 configure-stage4-opcodes: configure-stage4-libiberty
57496 configure-stageprofile-opcodes: configure-stageprofile-libiberty
57497 configure-stagetrain-opcodes: configure-stagetrain-libiberty
57498 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
57499 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
57500 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
57501 all-opcodes: maybe-all-libiberty
57503 all-stage1-opcodes: maybe-all-stage1-libiberty
57504 all-stage2-opcodes: maybe-all-stage2-libiberty
57505 all-stage3-opcodes: maybe-all-stage3-libiberty
57506 all-stage4-opcodes: maybe-all-stage4-libiberty
57507 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
57508 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
57509 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
57510 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
57511 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
57512 configure-binutils: maybe-configure-intl
57514 configure-stage1-binutils: maybe-configure-stage1-intl
57515 configure-stage2-binutils: maybe-configure-stage2-intl
57516 configure-stage3-binutils: maybe-configure-stage3-intl
57517 configure-stage4-binutils: maybe-configure-stage4-intl
57518 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
57519 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
57520 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
57521 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
57522 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
57523 all-binutils: maybe-all-libiberty
57525 all-stage1-binutils: maybe-all-stage1-libiberty
57526 all-stage2-binutils: maybe-all-stage2-libiberty
57527 all-stage3-binutils: maybe-all-stage3-libiberty
57528 all-stage4-binutils: maybe-all-stage4-libiberty
57529 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
57530 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
57531 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
57532 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
57533 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
57534 all-binutils: maybe-all-opcodes
57536 all-stage1-binutils: maybe-all-stage1-opcodes
57537 all-stage2-binutils: maybe-all-stage2-opcodes
57538 all-stage3-binutils: maybe-all-stage3-opcodes
57539 all-stage4-binutils: maybe-all-stage4-opcodes
57540 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
57541 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
57542 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
57543 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
57544 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
57545 all-binutils: maybe-all-bfd
57547 all-stage1-binutils: maybe-all-stage1-bfd
57548 all-stage2-binutils: maybe-all-stage2-bfd
57549 all-stage3-binutils: maybe-all-stage3-bfd
57550 all-stage4-binutils: maybe-all-stage4-bfd
57551 all-stageprofile-binutils: maybe-all-stageprofile-bfd
57552 all-stagetrain-binutils: maybe-all-stagetrain-bfd
57553 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
57554 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
57555 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
57556 all-binutils: maybe-all-build-flex
57558 all-stage1-binutils: maybe-all-build-flex
57559 all-stage2-binutils: maybe-all-build-flex
57560 all-stage3-binutils: maybe-all-build-flex
57561 all-stage4-binutils: maybe-all-build-flex
57562 all-stageprofile-binutils: maybe-all-build-flex
57563 all-stagetrain-binutils: maybe-all-build-flex
57564 all-stagefeedback-binutils: maybe-all-build-flex
57565 all-stageautoprofile-binutils: maybe-all-build-flex
57566 all-stageautofeedback-binutils: maybe-all-build-flex
57567 all-binutils: maybe-all-build-bison
57569 all-stage1-binutils: maybe-all-build-bison
57570 all-stage2-binutils: maybe-all-build-bison
57571 all-stage3-binutils: maybe-all-build-bison
57572 all-stage4-binutils: maybe-all-build-bison
57573 all-stageprofile-binutils: maybe-all-build-bison
57574 all-stagetrain-binutils: maybe-all-build-bison
57575 all-stagefeedback-binutils: maybe-all-build-bison
57576 all-stageautoprofile-binutils: maybe-all-build-bison
57577 all-stageautofeedback-binutils: maybe-all-build-bison
57578 all-binutils: maybe-all-intl
57580 all-stage1-binutils: maybe-all-stage1-intl
57581 all-stage2-binutils: maybe-all-stage2-intl
57582 all-stage3-binutils: maybe-all-stage3-intl
57583 all-stage4-binutils: maybe-all-stage4-intl
57584 all-stageprofile-binutils: maybe-all-stageprofile-intl
57585 all-stagetrain-binutils: maybe-all-stagetrain-intl
57586 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
57587 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
57588 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
57589 all-binutils: maybe-all-gas
57591 all-stage1-binutils: maybe-all-stage1-gas
57592 all-stage2-binutils: maybe-all-stage2-gas
57593 all-stage3-binutils: maybe-all-stage3-gas
57594 all-stage4-binutils: maybe-all-stage4-gas
57595 all-stageprofile-binutils: maybe-all-stageprofile-gas
57596 all-stagetrain-binutils: maybe-all-stagetrain-gas
57597 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
57598 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
57599 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
57600 install-binutils: maybe-install-opcodes
57601 install-strip-binutils: maybe-install-strip-opcodes
57602 install-opcodes: maybe-install-bfd
57603 install-strip-opcodes: maybe-install-strip-bfd
57604 configure-gas: maybe-configure-intl
57606 configure-stage1-gas: maybe-configure-stage1-intl
57607 configure-stage2-gas: maybe-configure-stage2-intl
57608 configure-stage3-gas: maybe-configure-stage3-intl
57609 configure-stage4-gas: maybe-configure-stage4-intl
57610 configure-stageprofile-gas: maybe-configure-stageprofile-intl
57611 configure-stagetrain-gas: maybe-configure-stagetrain-intl
57612 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
57613 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
57614 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
57615 all-gas: maybe-all-libiberty
57617 all-stage1-gas: maybe-all-stage1-libiberty
57618 all-stage2-gas: maybe-all-stage2-libiberty
57619 all-stage3-gas: maybe-all-stage3-libiberty
57620 all-stage4-gas: maybe-all-stage4-libiberty
57621 all-stageprofile-gas: maybe-all-stageprofile-libiberty
57622 all-stagetrain-gas: maybe-all-stagetrain-libiberty
57623 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
57624 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
57625 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
57626 all-gas: maybe-all-opcodes
57628 all-stage1-gas: maybe-all-stage1-opcodes
57629 all-stage2-gas: maybe-all-stage2-opcodes
57630 all-stage3-gas: maybe-all-stage3-opcodes
57631 all-stage4-gas: maybe-all-stage4-opcodes
57632 all-stageprofile-gas: maybe-all-stageprofile-opcodes
57633 all-stagetrain-gas: maybe-all-stagetrain-opcodes
57634 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
57635 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
57636 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
57637 all-gas: maybe-all-bfd
57639 all-stage1-gas: maybe-all-stage1-bfd
57640 all-stage2-gas: maybe-all-stage2-bfd
57641 all-stage3-gas: maybe-all-stage3-bfd
57642 all-stage4-gas: maybe-all-stage4-bfd
57643 all-stageprofile-gas: maybe-all-stageprofile-bfd
57644 all-stagetrain-gas: maybe-all-stagetrain-bfd
57645 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
57646 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
57647 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
57648 all-gas: maybe-all-intl
57650 all-stage1-gas: maybe-all-stage1-intl
57651 all-stage2-gas: maybe-all-stage2-intl
57652 all-stage3-gas: maybe-all-stage3-intl
57653 all-stage4-gas: maybe-all-stage4-intl
57654 all-stageprofile-gas: maybe-all-stageprofile-intl
57655 all-stagetrain-gas: maybe-all-stagetrain-intl
57656 all-stagefeedback-gas: maybe-all-stagefeedback-intl
57657 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
57658 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
57659 configure-gprof: maybe-configure-intl
57660 all-gprof: maybe-all-libiberty
57661 all-gprof: maybe-all-bfd
57662 all-gprof: maybe-all-opcodes
57663 all-gprof: maybe-all-intl
57664 all-gprof: maybe-all-gas
57665 configure-ld: maybe-configure-intl
57667 configure-stage1-ld: maybe-configure-stage1-intl
57668 configure-stage2-ld: maybe-configure-stage2-intl
57669 configure-stage3-ld: maybe-configure-stage3-intl
57670 configure-stage4-ld: maybe-configure-stage4-intl
57671 configure-stageprofile-ld: maybe-configure-stageprofile-intl
57672 configure-stagetrain-ld: maybe-configure-stagetrain-intl
57673 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
57674 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
57675 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
57676 all-ld: maybe-all-libiberty
57678 all-stage1-ld: maybe-all-stage1-libiberty
57679 all-stage2-ld: maybe-all-stage2-libiberty
57680 all-stage3-ld: maybe-all-stage3-libiberty
57681 all-stage4-ld: maybe-all-stage4-libiberty
57682 all-stageprofile-ld: maybe-all-stageprofile-libiberty
57683 all-stagetrain-ld: maybe-all-stagetrain-libiberty
57684 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
57685 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
57686 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
57687 all-ld: maybe-all-bfd
57689 all-stage1-ld: maybe-all-stage1-bfd
57690 all-stage2-ld: maybe-all-stage2-bfd
57691 all-stage3-ld: maybe-all-stage3-bfd
57692 all-stage4-ld: maybe-all-stage4-bfd
57693 all-stageprofile-ld: maybe-all-stageprofile-bfd
57694 all-stagetrain-ld: maybe-all-stagetrain-bfd
57695 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
57696 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
57697 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
57698 all-ld: maybe-all-opcodes
57700 all-stage1-ld: maybe-all-stage1-opcodes
57701 all-stage2-ld: maybe-all-stage2-opcodes
57702 all-stage3-ld: maybe-all-stage3-opcodes
57703 all-stage4-ld: maybe-all-stage4-opcodes
57704 all-stageprofile-ld: maybe-all-stageprofile-opcodes
57705 all-stagetrain-ld: maybe-all-stagetrain-opcodes
57706 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
57707 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
57708 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
57709 all-ld: maybe-all-build-bison
57711 all-stage1-ld: maybe-all-build-bison
57712 all-stage2-ld: maybe-all-build-bison
57713 all-stage3-ld: maybe-all-build-bison
57714 all-stage4-ld: maybe-all-build-bison
57715 all-stageprofile-ld: maybe-all-build-bison
57716 all-stagetrain-ld: maybe-all-build-bison
57717 all-stagefeedback-ld: maybe-all-build-bison
57718 all-stageautoprofile-ld: maybe-all-build-bison
57719 all-stageautofeedback-ld: maybe-all-build-bison
57720 all-ld: maybe-all-build-flex
57722 all-stage1-ld: maybe-all-build-flex
57723 all-stage2-ld: maybe-all-build-flex
57724 all-stage3-ld: maybe-all-build-flex
57725 all-stage4-ld: maybe-all-build-flex
57726 all-stageprofile-ld: maybe-all-build-flex
57727 all-stagetrain-ld: maybe-all-build-flex
57728 all-stagefeedback-ld: maybe-all-build-flex
57729 all-stageautoprofile-ld: maybe-all-build-flex
57730 all-stageautofeedback-ld: maybe-all-build-flex
57731 all-ld: maybe-all-intl
57733 all-stage1-ld: maybe-all-stage1-intl
57734 all-stage2-ld: maybe-all-stage2-intl
57735 all-stage3-ld: maybe-all-stage3-intl
57736 all-stage4-ld: maybe-all-stage4-intl
57737 all-stageprofile-ld: maybe-all-stageprofile-intl
57738 all-stagetrain-ld: maybe-all-stagetrain-intl
57739 all-stagefeedback-ld: maybe-all-stagefeedback-intl
57740 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
57741 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
57742 all-ld: maybe-all-gas
57744 all-stage1-ld: maybe-all-stage1-gas
57745 all-stage2-ld: maybe-all-stage2-gas
57746 all-stage3-ld: maybe-all-stage3-gas
57747 all-stage4-ld: maybe-all-stage4-gas
57748 all-stageprofile-ld: maybe-all-stageprofile-gas
57749 all-stagetrain-ld: maybe-all-stagetrain-gas
57750 all-stagefeedback-ld: maybe-all-stagefeedback-gas
57751 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
57752 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
57753 all-ld: maybe-all-binutils
57755 all-stage1-ld: maybe-all-stage1-binutils
57756 all-stage2-ld: maybe-all-stage2-binutils
57757 all-stage3-ld: maybe-all-stage3-binutils
57758 all-stage4-ld: maybe-all-stage4-binutils
57759 all-stageprofile-ld: maybe-all-stageprofile-binutils
57760 all-stagetrain-ld: maybe-all-stagetrain-binutils
57761 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
57762 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
57763 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
57764 install-ld: maybe-install-gold
57765 install-strip-ld: maybe-install-strip-gold
57766 configure-gold: maybe-configure-intl
57768 configure-stage1-gold: maybe-configure-stage1-intl
57769 configure-stage2-gold: maybe-configure-stage2-intl
57770 configure-stage3-gold: maybe-configure-stage3-intl
57771 configure-stage4-gold: maybe-configure-stage4-intl
57772 configure-stageprofile-gold: maybe-configure-stageprofile-intl
57773 configure-stagetrain-gold: maybe-configure-stagetrain-intl
57774 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
57775 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
57776 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
57777 all-gold: maybe-all-libiberty
57779 all-stage1-gold: maybe-all-stage1-libiberty
57780 all-stage2-gold: maybe-all-stage2-libiberty
57781 all-stage3-gold: maybe-all-stage3-libiberty
57782 all-stage4-gold: maybe-all-stage4-libiberty
57783 all-stageprofile-gold: maybe-all-stageprofile-libiberty
57784 all-stagetrain-gold: maybe-all-stagetrain-libiberty
57785 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
57786 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
57787 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
57788 all-gold: maybe-all-intl
57790 all-stage1-gold: maybe-all-stage1-intl
57791 all-stage2-gold: maybe-all-stage2-intl
57792 all-stage3-gold: maybe-all-stage3-intl
57793 all-stage4-gold: maybe-all-stage4-intl
57794 all-stageprofile-gold: maybe-all-stageprofile-intl
57795 all-stagetrain-gold: maybe-all-stagetrain-intl
57796 all-stagefeedback-gold: maybe-all-stagefeedback-intl
57797 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
57798 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
57799 all-gold: maybe-all-bfd
57801 all-stage1-gold: maybe-all-stage1-bfd
57802 all-stage2-gold: maybe-all-stage2-bfd
57803 all-stage3-gold: maybe-all-stage3-bfd
57804 all-stage4-gold: maybe-all-stage4-bfd
57805 all-stageprofile-gold: maybe-all-stageprofile-bfd
57806 all-stagetrain-gold: maybe-all-stagetrain-bfd
57807 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
57808 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
57809 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
57810 all-gold: maybe-all-build-bison
57812 all-stage1-gold: maybe-all-build-bison
57813 all-stage2-gold: maybe-all-build-bison
57814 all-stage3-gold: maybe-all-build-bison
57815 all-stage4-gold: maybe-all-build-bison
57816 all-stageprofile-gold: maybe-all-build-bison
57817 all-stagetrain-gold: maybe-all-build-bison
57818 all-stagefeedback-gold: maybe-all-build-bison
57819 all-stageautoprofile-gold: maybe-all-build-bison
57820 all-stageautofeedback-gold: maybe-all-build-bison
57821 all-gold: maybe-all-gas
57823 all-stage1-gold: maybe-all-stage1-gas
57824 all-stage2-gold: maybe-all-stage2-gas
57825 all-stage3-gold: maybe-all-stage3-gas
57826 all-stage4-gold: maybe-all-stage4-gas
57827 all-stageprofile-gold: maybe-all-stageprofile-gas
57828 all-stagetrain-gold: maybe-all-stagetrain-gas
57829 all-stagefeedback-gold: maybe-all-stagefeedback-gas
57830 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
57831 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
57832 check-gold: maybe-all-binutils
57834 check-stage1-gold: maybe-all-stage1-binutils
57835 check-stage2-gold: maybe-all-stage2-binutils
57836 check-stage3-gold: maybe-all-stage3-binutils
57837 check-stage4-gold: maybe-all-stage4-binutils
57838 check-stageprofile-gold: maybe-all-stageprofile-binutils
57839 check-stagetrain-gold: maybe-all-stagetrain-binutils
57840 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
57841 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
57842 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
57843 check-gold: maybe-all-gas
57845 check-stage1-gold: maybe-all-stage1-gas
57846 check-stage2-gold: maybe-all-stage2-gas
57847 check-stage3-gold: maybe-all-stage3-gas
57848 check-stage4-gold: maybe-all-stage4-gas
57849 check-stageprofile-gold: maybe-all-stageprofile-gas
57850 check-stagetrain-gold: maybe-all-stagetrain-gas
57851 check-stagefeedback-gold: maybe-all-stagefeedback-gas
57852 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
57853 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
57854 configure-opcodes: maybe-configure-intl
57856 configure-stage1-opcodes: maybe-configure-stage1-intl
57857 configure-stage2-opcodes: maybe-configure-stage2-intl
57858 configure-stage3-opcodes: maybe-configure-stage3-intl
57859 configure-stage4-opcodes: maybe-configure-stage4-intl
57860 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
57861 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
57862 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
57863 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
57864 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
57865 all-opcodes: maybe-all-bfd
57867 all-stage1-opcodes: maybe-all-stage1-bfd
57868 all-stage2-opcodes: maybe-all-stage2-bfd
57869 all-stage3-opcodes: maybe-all-stage3-bfd
57870 all-stage4-opcodes: maybe-all-stage4-bfd
57871 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
57872 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
57873 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
57874 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
57875 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
57876 all-opcodes: maybe-all-libiberty
57878 all-stage1-opcodes: maybe-all-stage1-libiberty
57879 all-stage2-opcodes: maybe-all-stage2-libiberty
57880 all-stage3-opcodes: maybe-all-stage3-libiberty
57881 all-stage4-opcodes: maybe-all-stage4-libiberty
57882 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
57883 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
57884 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
57885 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
57886 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
57887 all-opcodes: maybe-all-intl
57889 all-stage1-opcodes: maybe-all-stage1-intl
57890 all-stage2-opcodes: maybe-all-stage2-intl
57891 all-stage3-opcodes: maybe-all-stage3-intl
57892 all-stage4-opcodes: maybe-all-stage4-intl
57893 all-stageprofile-opcodes: maybe-all-stageprofile-intl
57894 all-stagetrain-opcodes: maybe-all-stagetrain-intl
57895 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
57896 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
57897 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
57898 all-dejagnu: maybe-all-tcl
57899 all-dejagnu: maybe-all-expect
57900 all-dejagnu: maybe-all-tk
57901 configure-expect: maybe-configure-tcl
57902 configure-expect: maybe-configure-tk
57903 all-expect: maybe-all-tcl
57904 all-expect: maybe-all-tk
57905 configure-itcl: maybe-configure-tcl
57906 configure-itcl: maybe-configure-tk
57907 all-itcl: maybe-all-tcl
57908 all-itcl: maybe-all-tk
57909 install-itcl: maybe-install-tcl
57910 install-strip-itcl: maybe-install-strip-tcl
57911 configure-tk: maybe-configure-tcl
57912 all-tk: maybe-all-tcl
57913 all-sid: maybe-all-libiberty
57914 all-sid: maybe-all-bfd
57915 all-sid: maybe-all-opcodes
57916 all-sid: maybe-all-tcl
57917 all-sid: maybe-all-tk
57918 install-sid: maybe-install-tcl
57919 install-strip-sid: maybe-install-strip-tcl
57920 install-sid: maybe-install-tk
57921 install-strip-sid: maybe-install-strip-tk
57922 configure-sim: maybe-configure-intl
57923 all-sim: maybe-all-intl
57924 all-sim: maybe-all-libiberty
57925 all-sim: maybe-all-bfd
57926 all-sim: maybe-all-opcodes
57927 all-sim: maybe-all-readline
57928 all-sim: maybe-configure-gdb
57929 all-fastjar: maybe-all-zlib
57930 all-fastjar: maybe-all-build-texinfo
57931 all-fastjar: maybe-all-libiberty
57932 all-bison: maybe-all-intl
57933 all-bison: maybe-all-build-texinfo
57934 all-flex: maybe-all-build-bison
57935 all-flex: maybe-all-intl
57936 all-flex: maybe-all-m4
57937 all-flex: maybe-all-build-texinfo
57938 all-m4: maybe-all-intl
57939 all-m4: maybe-all-build-texinfo
57940 configure-target-fastjar: maybe-configure-target-zlib
57941 all-target-fastjar: maybe-all-target-zlib
57942 configure-target-libgo: maybe-configure-target-libffi
57943 configure-target-libgo: maybe-all-target-libstdc++-v3
57944 all-target-libgo: maybe-all-target-libbacktrace
57945 all-target-libgo: maybe-all-target-libffi
57946 all-target-libgo: maybe-all-target-libatomic
57947 configure-target-libstdc++-v3: maybe-configure-target-libgomp
57949 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
57950 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
57951 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
57952 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
57953 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
57954 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
57955 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
57956 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
57957 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
57958 configure-target-liboffloadmic: maybe-configure-target-libgomp
57959 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
57961 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
57962 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
57963 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
57964 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
57965 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
57966 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
57967 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
57968 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
57969 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
57970 configure-target-libvtv: maybe-all-target-libstdc++-v3
57972 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
57973 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
57974 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
57975 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
57976 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
57977 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
57978 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
57979 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
57980 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
57981 all-target-libstdc++-v3: maybe-configure-target-libgomp
57983 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
57984 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
57985 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
57986 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
57987 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
57988 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
57989 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
57990 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
57991 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
57992 all-target-liboffloadmic: maybe-all-target-libgomp
57993 install-target-libgo: maybe-install-target-libatomic
57994 install-target-libgfortran: maybe-install-target-libquadmath
57995 install-target-libgfortran: maybe-install-target-libgcc
57996 install-target-libsanitizer: maybe-install-target-libstdc++-v3
57997 install-target-libsanitizer: maybe-install-target-libgcc
57998 install-target-libvtv: maybe-install-target-libstdc++-v3
57999 install-target-libvtv: maybe-install-target-libgcc
58000 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
58001 install-target-liboffloadmic: maybe-install-target-libgcc
58002 install-target-libitm: maybe-install-target-libgcc
58003 install-target-libobjc: maybe-install-target-libgcc
58004 install-target-libstdc++-v3: maybe-install-target-libgcc
58005 all-target-libgloss: maybe-all-target-newlib
58006 all-target-winsup: maybe-all-target-libtermcap
58007 configure-target-newlib: maybe-all-binutils
58008 configure-target-newlib: maybe-all-ld
58009 configure-target-libgfortran: maybe-all-target-libquadmath
58010 configure-target-libgfortran: maybe-all-target-libbacktrace
58013 # Dependencies for target modules on other target modules are
58014 # described by lang_env_dependencies; the defaults apply to anything
58015 # not mentioned there.
58018 @if gcc-bootstrap
58019 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
58020 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
58021 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
58022 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
58023 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
58024 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
58025 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
58026 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
58027 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
58028 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
58029 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
58030 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
58031 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
58032 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
58033 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
58034 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
58035 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
58036 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
58037 configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
58038 configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
58039 configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
58040 configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
58041 configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
58042 configure-stagetrain-target-libmpx: maybe-all-stagetrain-target-libgcc
58043 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
58044 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-target-libgcc
58045 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-target-libgcc
58046 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
58047 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
58048 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
58049 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
58050 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
58051 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
58052 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
58053 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
58054 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
58055 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
58056 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
58057 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
58058 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
58059 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
58060 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
58061 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
58062 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
58063 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
58064 @endif gcc-bootstrap
58066 @if gcc-no-bootstrap
58067 configure-target-libstdc++-v3: maybe-all-target-libgcc
58068 configure-target-libsanitizer: maybe-all-target-libgcc
58069 configure-target-libmpx: maybe-all-target-libgcc
58070 configure-target-libvtv: maybe-all-target-libgcc
58071 configure-target-liboffloadmic: maybe-all-target-libgcc
58072 configure-target-libssp: maybe-all-target-libgcc
58073 configure-target-newlib: maybe-all-target-libgcc
58074 configure-target-libbacktrace: maybe-all-target-libgcc
58075 configure-target-libquadmath: maybe-all-target-libgcc
58076 configure-target-libgfortran: maybe-all-target-libgcc
58077 configure-target-libobjc: maybe-all-target-libgcc
58078 configure-target-libgo: maybe-all-target-libgcc
58079 configure-target-libhsail-rt: maybe-all-target-libgcc
58080 configure-target-libtermcap: maybe-all-target-libgcc
58081 configure-target-winsup: maybe-all-target-libgcc
58082 configure-target-libgloss: maybe-all-target-libgcc
58083 configure-target-libffi: maybe-all-target-libgcc
58084 configure-target-zlib: maybe-all-target-libgcc
58085 configure-target-rda: maybe-all-target-libgcc
58086 configure-target-libada: maybe-all-target-libgcc
58087 configure-target-libgomp: maybe-all-target-libgcc
58088 configure-target-libitm: maybe-all-target-libgcc
58089 configure-target-libatomic: maybe-all-target-libgcc
58090 @endif gcc-no-bootstrap
58093 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
58095 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
58097 configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
58099 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
58101 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
58102 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
58104 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
58108 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
58110 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
58112 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
58114 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
58116 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
58118 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
58120 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
58122 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
58125 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
58126 configure-target-libffi: maybe-all-target-libstdc++-v3
58128 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
58130 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
58132 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
58134 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
58136 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
58137 configure-target-libitm: maybe-all-target-libstdc++-v3
58139 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
58142 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
58143 GDB_TK = @GDB_TK@
58144 INSTALL_GDB_TK = @INSTALL_GDB_TK@
58145 configure-gdb: $(CONFIGURE_GDB_TK)
58146 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
58147 install-gdb: $(INSTALL_GDB_TK)
58149 # Serialization dependencies. Host configures don't work well in parallel to
58150 # each other, due to contention over config.cache. Target configures and
58151 # build configures are similar.
58152 @serialization_dependencies@
58154 # --------------------------------
58155 # Regenerating top level configury
58156 # --------------------------------
58158 # Rebuilding Makefile.in, using autogen.
58159 AUTOGEN = autogen
58160 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
58161 cd $(srcdir) && $(AUTOGEN) Makefile.def
58163 # Rebuilding Makefile.
58164 Makefile: $(srcdir)/Makefile.in config.status
58165 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
58167 config.status: configure
58168 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
58170 # Rebuilding configure.
58171 AUTOCONF = autoconf
58172 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
58173 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
58174 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
58175 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
58176 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
58177 cd $(srcdir) && $(AUTOCONF)
58179 # ------------------------------
58180 # Special directives to GNU Make
58181 # ------------------------------
58183 # Don't pass command-line variables to submakes.
58184 .NOEXPORT:
58185 MAKEOVERRIDES=
58187 # end of Makefile.in