match.pd ((X / Y) == 0 -> X < Y): New pattern.
[official-gcc.git] / Makefile.in
blob78db0982ba2dc8522960807e948f7f71c5619bd7
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 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
533 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
535 STAGEtrain_CFLAGS = $(STAGE3_CFLAGS)
536 STAGEtrain_TFLAGS = $(STAGE3_TFLAGS)
538 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
539 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
541 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
542 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
544 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
545 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
547 do-compare = @do_compare@
548 do-compare3 = $(do-compare)
550 # -----------------------------------------------
551 # Programs producing files for the TARGET machine
552 # -----------------------------------------------
554 AR_FOR_TARGET=@AR_FOR_TARGET@
555 AS_FOR_TARGET=@AS_FOR_TARGET@
556 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
558 # If GCC_FOR_TARGET is not overriden on the command line, then this
559 # variable is passed down to the gcc Makefile, where it is used to
560 # build libgcc2.a. We define it here so that it can itself be
561 # overridden on the command line.
562 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
563 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
564 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
565 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
566 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
567 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
568 LD_FOR_TARGET=@LD_FOR_TARGET@
570 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
571 NM_FOR_TARGET=@NM_FOR_TARGET@
572 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
573 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
574 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
575 READELF_FOR_TARGET=@READELF_FOR_TARGET@
576 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
577 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
578 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
580 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
581 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
582 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
584 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
585 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
587 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
588 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
589 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
590 GOCFLAGS_FOR_TARGET = -O2 -g
592 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
593 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
594 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
596 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
598 # ------------------------------------
599 # Miscellaneous targets and flag lists
600 # ------------------------------------
602 # The first rule in the file had better be this one. Don't put any above it.
603 # This lives here to allow makefile fragments to contain dependencies.
604 all:
606 #### host and target specific makefile fragments come in here.
607 @target_makefile_frag@
608 @alphaieee_frag@
609 @ospace_frag@
610 @host_makefile_frag@
613 # This is the list of directories that may be needed in RPATH_ENVVAR
614 # so that programs built for the target machine work.
615 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libmpx)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
617 @if target-libstdc++-v3
618 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
619 @endif target-libstdc++-v3
621 @if target-libsanitizer
622 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
623 @endif target-libsanitizer
625 @if target-libmpx
626 TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
627 @endif target-libmpx
629 @if target-libvtv
630 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
631 @endif target-libvtv
633 @if target-libcilkrts
634 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
635 @endif target-libcilkrts
637 @if target-liboffloadmic
638 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
639 @endif target-liboffloadmic
641 @if target-libssp
642 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
643 @endif target-libssp
645 @if target-libgomp
646 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
647 @endif target-libgomp
649 @if target-libitm
650 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
651 @endif target-libitm
653 @if target-libatomic
654 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
655 @endif target-libatomic
659 # This is the list of directories that may be needed in RPATH_ENVVAR
660 # so that programs built for the host machine work.
661 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
663 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
664 @if gcc
665 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
666 @endif gcc
669 @if gmp
670 HOST_LIB_PATH_gmp = \
671 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
672 @endif gmp
674 @if mpfr
675 HOST_LIB_PATH_mpfr = \
676 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
677 @endif mpfr
679 @if mpc
680 HOST_LIB_PATH_mpc = \
681 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
682 @endif mpc
684 @if isl
685 HOST_LIB_PATH_isl = \
686 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
687 @endif isl
689 @if libelf
690 HOST_LIB_PATH_libelf = \
691 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
692 @endif libelf
695 CXX_FOR_TARGET_FLAG_TO_PASS = \
696 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
697 @if target-libstdc++-v3
698 # CXX_FOR_TARGET is tricky to get right for target libs that require a
699 # functional C++ compiler. When we recurse, if we expand
700 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
701 # libstdc++ include flags from the script. Instead, we get an
702 # -funconfigured-* word, so that we'll get errors if this invalid C++
703 # command line is used for anything, but also so that we can use the
704 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
705 # don't pass it on, sub-make will use the default definition, that
706 # re-expands it at the time of use, so we'll get it right when we need
707 # it. One potential exception is the expansion of CXX_FOR_TARGET
708 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
709 # really work, for C++ host programs can't depend on the current-stage
710 # C++ target library.
711 CXX_FOR_TARGET_FLAG_TO_PASS = \
712 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
713 @endif target-libstdc++-v3
715 # Flags to pass down to all sub-makes. STAGE*FLAGS,
716 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
717 # overrideable (for a bootstrap build stage1 also builds gcc.info).
718 BASE_FLAGS_TO_PASS = \
719 "DESTDIR=$(DESTDIR)" \
720 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
721 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
722 "bindir=$(bindir)" \
723 "datadir=$(datadir)" \
724 "exec_prefix=$(exec_prefix)" \
725 "includedir=$(includedir)" \
726 "datarootdir=$(datarootdir)" \
727 "docdir=$(docdir)" \
728 "infodir=$(infodir)" \
729 "pdfdir=$(pdfdir)" \
730 "htmldir=$(htmldir)" \
731 "libdir=$(libdir)" \
732 "libexecdir=$(libexecdir)" \
733 "lispdir=$(lispdir)" \
734 "localstatedir=$(localstatedir)" \
735 "mandir=$(mandir)" \
736 "oldincludedir=$(oldincludedir)" \
737 "prefix=$(prefix)" \
738 "sbindir=$(sbindir)" \
739 "sharedstatedir=$(sharedstatedir)" \
740 "sysconfdir=$(sysconfdir)" \
741 "tooldir=$(tooldir)" \
742 "build_tooldir=$(build_tooldir)" \
743 "target_alias=$(target_alias)" \
744 "AWK=$(AWK)" \
745 "BISON=$(BISON)" \
746 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
747 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
748 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
749 "EXPECT=$(EXPECT)" \
750 "FLEX=$(FLEX)" \
751 "INSTALL=$(INSTALL)" \
752 "INSTALL_DATA=$(INSTALL_DATA)" \
753 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
754 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
755 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
756 "LEX=$(LEX)" \
757 "M4=$(M4)" \
758 "MAKE=$(MAKE)" \
759 "RUNTEST=$(RUNTEST)" \
760 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
761 "SED=$(SED)" \
762 "SHELL=$(SHELL)" \
763 "YACC=$(YACC)" \
764 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
765 "ADA_CFLAGS=$(ADA_CFLAGS)" \
766 "AR_FLAGS=$(AR_FLAGS)" \
767 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
768 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
769 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
770 "CFLAGS=$(CFLAGS)" \
771 "CXXFLAGS=$(CXXFLAGS)" \
772 "LDFLAGS=$(LDFLAGS)" \
773 "LIBCFLAGS=$(LIBCFLAGS)" \
774 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
775 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
776 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
777 "GNATBIND=$(GNATBIND)" \
778 "GNATMAKE=$(GNATMAKE)" \
779 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
780 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
781 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
782 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
783 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
784 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
785 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
786 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
787 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
788 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
789 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
790 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
791 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
792 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
793 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
794 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
795 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
796 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
797 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
798 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
799 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
800 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
801 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
802 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
803 "BUILD_CONFIG=$(BUILD_CONFIG)" \
804 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
805 "LEAN=$(LEAN)" \
806 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
807 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
808 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
809 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
810 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
811 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
812 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
813 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
814 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
815 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
816 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
817 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
818 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
819 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
820 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
821 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
822 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
823 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
824 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
825 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
826 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
827 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
828 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
829 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
830 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
831 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
832 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
833 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
834 "TFLAGS=$(TFLAGS)" \
835 "CONFIG_SHELL=$(SHELL)" \
836 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
837 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
839 # We leave this in just in case, but it is not needed anymore.
840 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
842 # Flags to pass down to most sub-makes, in which we're building with
843 # the host environment.
844 EXTRA_HOST_FLAGS = \
845 'AR=$(AR)' \
846 'AS=$(AS)' \
847 'CC=$(CC)' \
848 'CXX=$(CXX)' \
849 'DLLTOOL=$(DLLTOOL)' \
850 'GFORTRAN=$(GFORTRAN)' \
851 'GOC=$(GOC)' \
852 'LD=$(LD)' \
853 'LIPO=$(LIPO)' \
854 'NM=$(NM)' \
855 'OBJDUMP=$(OBJDUMP)' \
856 'RANLIB=$(RANLIB)' \
857 'READELF=$(READELF)' \
858 'STRIP=$(STRIP)' \
859 'WINDRES=$(WINDRES)' \
860 'WINDMC=$(WINDMC)' \
861 'CREATE_GCOV=$(CREATE_GCOV)'
863 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
865 # Flags to pass to stage1 or when not bootstrapping.
867 STAGE1_FLAGS_TO_PASS = \
868 LDFLAGS="$${LDFLAGS}" \
869 HOST_LIBS="$${HOST_LIBS}"
871 # Flags to pass to stage2 and later makes.
873 POSTSTAGE1_FLAGS_TO_PASS = \
874 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
875 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
876 GNATBIND="$${GNATBIND}" \
877 LDFLAGS="$${LDFLAGS}" \
878 HOST_LIBS="$${HOST_LIBS}" \
879 $(LTO_FLAGS_TO_PASS) \
880 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
882 @if gcc-bootstrap
883 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
884 $(POSTSTAGE1_HOST_EXPORTS) \
887 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
888 @endif gcc-bootstrap
890 # Flags to pass down to makes which are built with the target environment.
891 # The double $ decreases the length of the command line; those variables
892 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
893 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
894 # so we expand them here.
895 EXTRA_TARGET_FLAGS = \
896 'AR=$$(AR_FOR_TARGET)' \
897 'AS=$(COMPILER_AS_FOR_TARGET)' \
898 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
899 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
900 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
901 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
902 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
903 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
904 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
905 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
906 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
907 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
908 'LD=$(COMPILER_LD_FOR_TARGET)' \
909 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
910 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
911 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
912 'NM=$(COMPILER_NM_FOR_TARGET)' \
913 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
914 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
915 'RANLIB=$$(RANLIB_FOR_TARGET)' \
916 'READELF=$$(READELF_FOR_TARGET)' \
917 'WINDRES=$$(WINDRES_FOR_TARGET)' \
918 'WINDMC=$$(WINDMC_FOR_TARGET)' \
919 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
920 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
921 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
922 "TFLAGS=$$TFLAGS"
924 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
926 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
927 # unfortunately needs the native compiler and the target ar and
928 # ranlib.
929 # If any variables are added here, they must be added to do-*, below.
930 # The BUILD_* variables are a special case, which are used for the gcc
931 # cross-building scheme.
932 EXTRA_GCC_FLAGS = \
933 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
934 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
935 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
937 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
939 @if gcc
940 BUILD_CONFIG = @BUILD_CONFIG@
941 ifneq ($(BUILD_CONFIG),)
942 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
943 endif
944 @endif gcc
946 .PHONY: configure-host
947 configure-host: \
948 maybe-configure-bfd \
949 maybe-configure-opcodes \
950 maybe-configure-binutils \
951 maybe-configure-bison \
952 maybe-configure-cgen \
953 maybe-configure-dejagnu \
954 maybe-configure-etc \
955 maybe-configure-fastjar \
956 maybe-configure-fixincludes \
957 maybe-configure-flex \
958 maybe-configure-gas \
959 maybe-configure-gcc \
960 maybe-configure-gmp \
961 maybe-configure-mpfr \
962 maybe-configure-mpc \
963 maybe-configure-isl \
964 maybe-configure-libelf \
965 maybe-configure-gold \
966 maybe-configure-gprof \
967 maybe-configure-intl \
968 maybe-configure-tcl \
969 maybe-configure-itcl \
970 maybe-configure-ld \
971 maybe-configure-libbacktrace \
972 maybe-configure-libcpp \
973 maybe-configure-libdecnumber \
974 maybe-configure-libgui \
975 maybe-configure-libiberty \
976 maybe-configure-libiberty-linker-plugin \
977 maybe-configure-libiconv \
978 maybe-configure-m4 \
979 maybe-configure-readline \
980 maybe-configure-sid \
981 maybe-configure-sim \
982 maybe-configure-texinfo \
983 maybe-configure-zlib \
984 maybe-configure-gdb \
985 maybe-configure-expect \
986 maybe-configure-guile \
987 maybe-configure-tk \
988 maybe-configure-libtermcap \
989 maybe-configure-utils \
990 maybe-configure-gnattools \
991 maybe-configure-lto-plugin \
992 maybe-configure-libcc1 \
993 maybe-configure-gotools
994 .PHONY: configure-target
995 configure-target: \
996 maybe-configure-target-libstdc++-v3 \
997 maybe-configure-target-libsanitizer \
998 maybe-configure-target-libmpx \
999 maybe-configure-target-libvtv \
1000 maybe-configure-target-libcilkrts \
1001 maybe-configure-target-liboffloadmic \
1002 maybe-configure-target-libssp \
1003 maybe-configure-target-newlib \
1004 maybe-configure-target-libgcc \
1005 maybe-configure-target-libbacktrace \
1006 maybe-configure-target-libquadmath \
1007 maybe-configure-target-libgfortran \
1008 maybe-configure-target-libobjc \
1009 maybe-configure-target-libgo \
1010 maybe-configure-target-libhsail-rt \
1011 maybe-configure-target-libtermcap \
1012 maybe-configure-target-winsup \
1013 maybe-configure-target-libgloss \
1014 maybe-configure-target-libffi \
1015 maybe-configure-target-zlib \
1016 maybe-configure-target-rda \
1017 maybe-configure-target-libada \
1018 maybe-configure-target-libgomp \
1019 maybe-configure-target-libitm \
1020 maybe-configure-target-libatomic
1022 # The target built for a native non-bootstrap build.
1023 .PHONY: all
1024 all:
1025 @if gcc-bootstrap
1026 [ -f stage_final ] || echo stage3 > stage_final
1027 @r=`${PWD_COMMAND}`; export r; \
1028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1029 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1030 @endif gcc-bootstrap
1031 @: $(MAKE); $(unstage)
1032 @r=`${PWD_COMMAND}`; export r; \
1033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1034 @if gcc-bootstrap
1035 if [ -f stage_last ]; then \
1036 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1037 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1038 else \
1039 @endif gcc-bootstrap
1040 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1041 @if gcc-bootstrap
1043 fi \
1044 @endif gcc-bootstrap
1045 && :
1047 .PHONY: all-build
1049 all-build: maybe-all-build-libiberty
1050 all-build: maybe-all-build-bison
1051 all-build: maybe-all-build-flex
1052 all-build: maybe-all-build-m4
1053 all-build: maybe-all-build-texinfo
1054 all-build: maybe-all-build-fixincludes
1055 all-build: maybe-all-build-libcpp
1057 .PHONY: all-host
1059 @if bfd-no-bootstrap
1060 all-host: maybe-all-bfd
1061 @endif bfd-no-bootstrap
1062 @if opcodes-no-bootstrap
1063 all-host: maybe-all-opcodes
1064 @endif opcodes-no-bootstrap
1065 @if binutils-no-bootstrap
1066 all-host: maybe-all-binutils
1067 @endif binutils-no-bootstrap
1068 all-host: maybe-all-bison
1069 all-host: maybe-all-cgen
1070 all-host: maybe-all-dejagnu
1071 all-host: maybe-all-etc
1072 all-host: maybe-all-fastjar
1073 @if fixincludes-no-bootstrap
1074 all-host: maybe-all-fixincludes
1075 @endif fixincludes-no-bootstrap
1076 all-host: maybe-all-flex
1077 @if gas-no-bootstrap
1078 all-host: maybe-all-gas
1079 @endif gas-no-bootstrap
1080 @if gcc-no-bootstrap
1081 all-host: maybe-all-gcc
1082 @endif gcc-no-bootstrap
1083 @if gmp-no-bootstrap
1084 all-host: maybe-all-gmp
1085 @endif gmp-no-bootstrap
1086 @if mpfr-no-bootstrap
1087 all-host: maybe-all-mpfr
1088 @endif mpfr-no-bootstrap
1089 @if mpc-no-bootstrap
1090 all-host: maybe-all-mpc
1091 @endif mpc-no-bootstrap
1092 @if isl-no-bootstrap
1093 all-host: maybe-all-isl
1094 @endif isl-no-bootstrap
1095 @if libelf-no-bootstrap
1096 all-host: maybe-all-libelf
1097 @endif libelf-no-bootstrap
1098 @if gold-no-bootstrap
1099 all-host: maybe-all-gold
1100 @endif gold-no-bootstrap
1101 all-host: maybe-all-gprof
1102 @if intl-no-bootstrap
1103 all-host: maybe-all-intl
1104 @endif intl-no-bootstrap
1105 all-host: maybe-all-tcl
1106 all-host: maybe-all-itcl
1107 @if ld-no-bootstrap
1108 all-host: maybe-all-ld
1109 @endif ld-no-bootstrap
1110 @if libbacktrace-no-bootstrap
1111 all-host: maybe-all-libbacktrace
1112 @endif libbacktrace-no-bootstrap
1113 @if libcpp-no-bootstrap
1114 all-host: maybe-all-libcpp
1115 @endif libcpp-no-bootstrap
1116 @if libdecnumber-no-bootstrap
1117 all-host: maybe-all-libdecnumber
1118 @endif libdecnumber-no-bootstrap
1119 all-host: maybe-all-libgui
1120 @if libiberty-no-bootstrap
1121 all-host: maybe-all-libiberty
1122 @endif libiberty-no-bootstrap
1123 @if libiberty-linker-plugin-no-bootstrap
1124 all-host: maybe-all-libiberty-linker-plugin
1125 @endif libiberty-linker-plugin-no-bootstrap
1126 @if libiconv-no-bootstrap
1127 all-host: maybe-all-libiconv
1128 @endif libiconv-no-bootstrap
1129 all-host: maybe-all-m4
1130 all-host: maybe-all-readline
1131 all-host: maybe-all-sid
1132 all-host: maybe-all-sim
1133 all-host: maybe-all-texinfo
1134 @if zlib-no-bootstrap
1135 all-host: maybe-all-zlib
1136 @endif zlib-no-bootstrap
1137 all-host: maybe-all-gdb
1138 all-host: maybe-all-expect
1139 all-host: maybe-all-guile
1140 all-host: maybe-all-tk
1141 all-host: maybe-all-libtermcap
1142 all-host: maybe-all-utils
1143 all-host: maybe-all-gnattools
1144 @if lto-plugin-no-bootstrap
1145 all-host: maybe-all-lto-plugin
1146 @endif lto-plugin-no-bootstrap
1147 all-host: maybe-all-libcc1
1148 all-host: maybe-all-gotools
1150 .PHONY: all-target
1152 @if target-libstdc++-v3-no-bootstrap
1153 all-target: maybe-all-target-libstdc++-v3
1154 @endif target-libstdc++-v3-no-bootstrap
1155 @if target-libsanitizer-no-bootstrap
1156 all-target: maybe-all-target-libsanitizer
1157 @endif target-libsanitizer-no-bootstrap
1158 @if target-libmpx-no-bootstrap
1159 all-target: maybe-all-target-libmpx
1160 @endif target-libmpx-no-bootstrap
1161 @if target-libvtv-no-bootstrap
1162 all-target: maybe-all-target-libvtv
1163 @endif target-libvtv-no-bootstrap
1164 all-target: maybe-all-target-libcilkrts
1165 all-target: maybe-all-target-liboffloadmic
1166 all-target: maybe-all-target-libssp
1167 all-target: maybe-all-target-newlib
1168 @if target-libgcc-no-bootstrap
1169 all-target: maybe-all-target-libgcc
1170 @endif target-libgcc-no-bootstrap
1171 all-target: maybe-all-target-libbacktrace
1172 all-target: maybe-all-target-libquadmath
1173 all-target: maybe-all-target-libgfortran
1174 all-target: maybe-all-target-libobjc
1175 all-target: maybe-all-target-libgo
1176 all-target: maybe-all-target-libhsail-rt
1177 all-target: maybe-all-target-libtermcap
1178 all-target: maybe-all-target-winsup
1179 all-target: maybe-all-target-libgloss
1180 all-target: maybe-all-target-libffi
1181 all-target: maybe-all-target-zlib
1182 all-target: maybe-all-target-rda
1183 all-target: maybe-all-target-libada
1184 @if target-libgomp-no-bootstrap
1185 all-target: maybe-all-target-libgomp
1186 @endif target-libgomp-no-bootstrap
1187 all-target: maybe-all-target-libitm
1188 all-target: maybe-all-target-libatomic
1190 # Do a target for all the subdirectories. A ``make do-X'' will do a
1191 # ``make X'' in all subdirectories (because, in general, there is a
1192 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1193 # but it may do additional work as well).
1195 .PHONY: do-info
1196 do-info:
1197 @: $(MAKE); $(unstage)
1198 @r=`${PWD_COMMAND}`; export r; \
1199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1200 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1201 info-target
1204 .PHONY: info-host
1206 info-host: maybe-info-bfd
1207 info-host: maybe-info-opcodes
1208 info-host: maybe-info-binutils
1209 info-host: maybe-info-bison
1210 info-host: maybe-info-cgen
1211 info-host: maybe-info-dejagnu
1212 info-host: maybe-info-etc
1213 info-host: maybe-info-fastjar
1214 info-host: maybe-info-fixincludes
1215 info-host: maybe-info-flex
1216 info-host: maybe-info-gas
1217 info-host: maybe-info-gcc
1218 info-host: maybe-info-gmp
1219 info-host: maybe-info-mpfr
1220 info-host: maybe-info-mpc
1221 info-host: maybe-info-isl
1222 info-host: maybe-info-libelf
1223 info-host: maybe-info-gold
1224 info-host: maybe-info-gprof
1225 info-host: maybe-info-intl
1226 info-host: maybe-info-tcl
1227 info-host: maybe-info-itcl
1228 info-host: maybe-info-ld
1229 info-host: maybe-info-libbacktrace
1230 info-host: maybe-info-libcpp
1231 info-host: maybe-info-libdecnumber
1232 info-host: maybe-info-libgui
1233 info-host: maybe-info-libiberty
1234 info-host: maybe-info-libiberty-linker-plugin
1235 info-host: maybe-info-libiconv
1236 info-host: maybe-info-m4
1237 info-host: maybe-info-readline
1238 info-host: maybe-info-sid
1239 info-host: maybe-info-sim
1240 info-host: maybe-info-texinfo
1241 info-host: maybe-info-zlib
1242 info-host: maybe-info-gdb
1243 info-host: maybe-info-expect
1244 info-host: maybe-info-guile
1245 info-host: maybe-info-tk
1246 info-host: maybe-info-libtermcap
1247 info-host: maybe-info-utils
1248 info-host: maybe-info-gnattools
1249 info-host: maybe-info-lto-plugin
1250 info-host: maybe-info-libcc1
1251 info-host: maybe-info-gotools
1253 .PHONY: info-target
1255 info-target: maybe-info-target-libstdc++-v3
1256 info-target: maybe-info-target-libsanitizer
1257 info-target: maybe-info-target-libmpx
1258 info-target: maybe-info-target-libvtv
1259 info-target: maybe-info-target-libcilkrts
1260 info-target: maybe-info-target-liboffloadmic
1261 info-target: maybe-info-target-libssp
1262 info-target: maybe-info-target-newlib
1263 info-target: maybe-info-target-libgcc
1264 info-target: maybe-info-target-libbacktrace
1265 info-target: maybe-info-target-libquadmath
1266 info-target: maybe-info-target-libgfortran
1267 info-target: maybe-info-target-libobjc
1268 info-target: maybe-info-target-libgo
1269 info-target: maybe-info-target-libhsail-rt
1270 info-target: maybe-info-target-libtermcap
1271 info-target: maybe-info-target-winsup
1272 info-target: maybe-info-target-libgloss
1273 info-target: maybe-info-target-libffi
1274 info-target: maybe-info-target-zlib
1275 info-target: maybe-info-target-rda
1276 info-target: maybe-info-target-libada
1277 info-target: maybe-info-target-libgomp
1278 info-target: maybe-info-target-libitm
1279 info-target: maybe-info-target-libatomic
1281 .PHONY: do-dvi
1282 do-dvi:
1283 @: $(MAKE); $(unstage)
1284 @r=`${PWD_COMMAND}`; export r; \
1285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1286 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1287 dvi-target
1290 .PHONY: dvi-host
1292 dvi-host: maybe-dvi-bfd
1293 dvi-host: maybe-dvi-opcodes
1294 dvi-host: maybe-dvi-binutils
1295 dvi-host: maybe-dvi-bison
1296 dvi-host: maybe-dvi-cgen
1297 dvi-host: maybe-dvi-dejagnu
1298 dvi-host: maybe-dvi-etc
1299 dvi-host: maybe-dvi-fastjar
1300 dvi-host: maybe-dvi-fixincludes
1301 dvi-host: maybe-dvi-flex
1302 dvi-host: maybe-dvi-gas
1303 dvi-host: maybe-dvi-gcc
1304 dvi-host: maybe-dvi-gmp
1305 dvi-host: maybe-dvi-mpfr
1306 dvi-host: maybe-dvi-mpc
1307 dvi-host: maybe-dvi-isl
1308 dvi-host: maybe-dvi-libelf
1309 dvi-host: maybe-dvi-gold
1310 dvi-host: maybe-dvi-gprof
1311 dvi-host: maybe-dvi-intl
1312 dvi-host: maybe-dvi-tcl
1313 dvi-host: maybe-dvi-itcl
1314 dvi-host: maybe-dvi-ld
1315 dvi-host: maybe-dvi-libbacktrace
1316 dvi-host: maybe-dvi-libcpp
1317 dvi-host: maybe-dvi-libdecnumber
1318 dvi-host: maybe-dvi-libgui
1319 dvi-host: maybe-dvi-libiberty
1320 dvi-host: maybe-dvi-libiberty-linker-plugin
1321 dvi-host: maybe-dvi-libiconv
1322 dvi-host: maybe-dvi-m4
1323 dvi-host: maybe-dvi-readline
1324 dvi-host: maybe-dvi-sid
1325 dvi-host: maybe-dvi-sim
1326 dvi-host: maybe-dvi-texinfo
1327 dvi-host: maybe-dvi-zlib
1328 dvi-host: maybe-dvi-gdb
1329 dvi-host: maybe-dvi-expect
1330 dvi-host: maybe-dvi-guile
1331 dvi-host: maybe-dvi-tk
1332 dvi-host: maybe-dvi-libtermcap
1333 dvi-host: maybe-dvi-utils
1334 dvi-host: maybe-dvi-gnattools
1335 dvi-host: maybe-dvi-lto-plugin
1336 dvi-host: maybe-dvi-libcc1
1337 dvi-host: maybe-dvi-gotools
1339 .PHONY: dvi-target
1341 dvi-target: maybe-dvi-target-libstdc++-v3
1342 dvi-target: maybe-dvi-target-libsanitizer
1343 dvi-target: maybe-dvi-target-libmpx
1344 dvi-target: maybe-dvi-target-libvtv
1345 dvi-target: maybe-dvi-target-libcilkrts
1346 dvi-target: maybe-dvi-target-liboffloadmic
1347 dvi-target: maybe-dvi-target-libssp
1348 dvi-target: maybe-dvi-target-newlib
1349 dvi-target: maybe-dvi-target-libgcc
1350 dvi-target: maybe-dvi-target-libbacktrace
1351 dvi-target: maybe-dvi-target-libquadmath
1352 dvi-target: maybe-dvi-target-libgfortran
1353 dvi-target: maybe-dvi-target-libobjc
1354 dvi-target: maybe-dvi-target-libgo
1355 dvi-target: maybe-dvi-target-libhsail-rt
1356 dvi-target: maybe-dvi-target-libtermcap
1357 dvi-target: maybe-dvi-target-winsup
1358 dvi-target: maybe-dvi-target-libgloss
1359 dvi-target: maybe-dvi-target-libffi
1360 dvi-target: maybe-dvi-target-zlib
1361 dvi-target: maybe-dvi-target-rda
1362 dvi-target: maybe-dvi-target-libada
1363 dvi-target: maybe-dvi-target-libgomp
1364 dvi-target: maybe-dvi-target-libitm
1365 dvi-target: maybe-dvi-target-libatomic
1367 .PHONY: do-pdf
1368 do-pdf:
1369 @: $(MAKE); $(unstage)
1370 @r=`${PWD_COMMAND}`; export r; \
1371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1372 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1373 pdf-target
1376 .PHONY: pdf-host
1378 pdf-host: maybe-pdf-bfd
1379 pdf-host: maybe-pdf-opcodes
1380 pdf-host: maybe-pdf-binutils
1381 pdf-host: maybe-pdf-bison
1382 pdf-host: maybe-pdf-cgen
1383 pdf-host: maybe-pdf-dejagnu
1384 pdf-host: maybe-pdf-etc
1385 pdf-host: maybe-pdf-fastjar
1386 pdf-host: maybe-pdf-fixincludes
1387 pdf-host: maybe-pdf-flex
1388 pdf-host: maybe-pdf-gas
1389 pdf-host: maybe-pdf-gcc
1390 pdf-host: maybe-pdf-gmp
1391 pdf-host: maybe-pdf-mpfr
1392 pdf-host: maybe-pdf-mpc
1393 pdf-host: maybe-pdf-isl
1394 pdf-host: maybe-pdf-libelf
1395 pdf-host: maybe-pdf-gold
1396 pdf-host: maybe-pdf-gprof
1397 pdf-host: maybe-pdf-intl
1398 pdf-host: maybe-pdf-tcl
1399 pdf-host: maybe-pdf-itcl
1400 pdf-host: maybe-pdf-ld
1401 pdf-host: maybe-pdf-libbacktrace
1402 pdf-host: maybe-pdf-libcpp
1403 pdf-host: maybe-pdf-libdecnumber
1404 pdf-host: maybe-pdf-libgui
1405 pdf-host: maybe-pdf-libiberty
1406 pdf-host: maybe-pdf-libiberty-linker-plugin
1407 pdf-host: maybe-pdf-libiconv
1408 pdf-host: maybe-pdf-m4
1409 pdf-host: maybe-pdf-readline
1410 pdf-host: maybe-pdf-sid
1411 pdf-host: maybe-pdf-sim
1412 pdf-host: maybe-pdf-texinfo
1413 pdf-host: maybe-pdf-zlib
1414 pdf-host: maybe-pdf-gdb
1415 pdf-host: maybe-pdf-expect
1416 pdf-host: maybe-pdf-guile
1417 pdf-host: maybe-pdf-tk
1418 pdf-host: maybe-pdf-libtermcap
1419 pdf-host: maybe-pdf-utils
1420 pdf-host: maybe-pdf-gnattools
1421 pdf-host: maybe-pdf-lto-plugin
1422 pdf-host: maybe-pdf-libcc1
1423 pdf-host: maybe-pdf-gotools
1425 .PHONY: pdf-target
1427 pdf-target: maybe-pdf-target-libstdc++-v3
1428 pdf-target: maybe-pdf-target-libsanitizer
1429 pdf-target: maybe-pdf-target-libmpx
1430 pdf-target: maybe-pdf-target-libvtv
1431 pdf-target: maybe-pdf-target-libcilkrts
1432 pdf-target: maybe-pdf-target-liboffloadmic
1433 pdf-target: maybe-pdf-target-libssp
1434 pdf-target: maybe-pdf-target-newlib
1435 pdf-target: maybe-pdf-target-libgcc
1436 pdf-target: maybe-pdf-target-libbacktrace
1437 pdf-target: maybe-pdf-target-libquadmath
1438 pdf-target: maybe-pdf-target-libgfortran
1439 pdf-target: maybe-pdf-target-libobjc
1440 pdf-target: maybe-pdf-target-libgo
1441 pdf-target: maybe-pdf-target-libhsail-rt
1442 pdf-target: maybe-pdf-target-libtermcap
1443 pdf-target: maybe-pdf-target-winsup
1444 pdf-target: maybe-pdf-target-libgloss
1445 pdf-target: maybe-pdf-target-libffi
1446 pdf-target: maybe-pdf-target-zlib
1447 pdf-target: maybe-pdf-target-rda
1448 pdf-target: maybe-pdf-target-libada
1449 pdf-target: maybe-pdf-target-libgomp
1450 pdf-target: maybe-pdf-target-libitm
1451 pdf-target: maybe-pdf-target-libatomic
1453 .PHONY: do-html
1454 do-html:
1455 @: $(MAKE); $(unstage)
1456 @r=`${PWD_COMMAND}`; export r; \
1457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1458 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1459 html-target
1462 .PHONY: html-host
1464 html-host: maybe-html-bfd
1465 html-host: maybe-html-opcodes
1466 html-host: maybe-html-binutils
1467 html-host: maybe-html-bison
1468 html-host: maybe-html-cgen
1469 html-host: maybe-html-dejagnu
1470 html-host: maybe-html-etc
1471 html-host: maybe-html-fastjar
1472 html-host: maybe-html-fixincludes
1473 html-host: maybe-html-flex
1474 html-host: maybe-html-gas
1475 html-host: maybe-html-gcc
1476 html-host: maybe-html-gmp
1477 html-host: maybe-html-mpfr
1478 html-host: maybe-html-mpc
1479 html-host: maybe-html-isl
1480 html-host: maybe-html-libelf
1481 html-host: maybe-html-gold
1482 html-host: maybe-html-gprof
1483 html-host: maybe-html-intl
1484 html-host: maybe-html-tcl
1485 html-host: maybe-html-itcl
1486 html-host: maybe-html-ld
1487 html-host: maybe-html-libbacktrace
1488 html-host: maybe-html-libcpp
1489 html-host: maybe-html-libdecnumber
1490 html-host: maybe-html-libgui
1491 html-host: maybe-html-libiberty
1492 html-host: maybe-html-libiberty-linker-plugin
1493 html-host: maybe-html-libiconv
1494 html-host: maybe-html-m4
1495 html-host: maybe-html-readline
1496 html-host: maybe-html-sid
1497 html-host: maybe-html-sim
1498 html-host: maybe-html-texinfo
1499 html-host: maybe-html-zlib
1500 html-host: maybe-html-gdb
1501 html-host: maybe-html-expect
1502 html-host: maybe-html-guile
1503 html-host: maybe-html-tk
1504 html-host: maybe-html-libtermcap
1505 html-host: maybe-html-utils
1506 html-host: maybe-html-gnattools
1507 html-host: maybe-html-lto-plugin
1508 html-host: maybe-html-libcc1
1509 html-host: maybe-html-gotools
1511 .PHONY: html-target
1513 html-target: maybe-html-target-libstdc++-v3
1514 html-target: maybe-html-target-libsanitizer
1515 html-target: maybe-html-target-libmpx
1516 html-target: maybe-html-target-libvtv
1517 html-target: maybe-html-target-libcilkrts
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-libcilkrts
1604 TAGS-target: maybe-TAGS-target-liboffloadmic
1605 TAGS-target: maybe-TAGS-target-libssp
1606 TAGS-target: maybe-TAGS-target-newlib
1607 TAGS-target: maybe-TAGS-target-libgcc
1608 TAGS-target: maybe-TAGS-target-libbacktrace
1609 TAGS-target: maybe-TAGS-target-libquadmath
1610 TAGS-target: maybe-TAGS-target-libgfortran
1611 TAGS-target: maybe-TAGS-target-libobjc
1612 TAGS-target: maybe-TAGS-target-libgo
1613 TAGS-target: maybe-TAGS-target-libhsail-rt
1614 TAGS-target: maybe-TAGS-target-libtermcap
1615 TAGS-target: maybe-TAGS-target-winsup
1616 TAGS-target: maybe-TAGS-target-libgloss
1617 TAGS-target: maybe-TAGS-target-libffi
1618 TAGS-target: maybe-TAGS-target-zlib
1619 TAGS-target: maybe-TAGS-target-rda
1620 TAGS-target: maybe-TAGS-target-libada
1621 TAGS-target: maybe-TAGS-target-libgomp
1622 TAGS-target: maybe-TAGS-target-libitm
1623 TAGS-target: maybe-TAGS-target-libatomic
1625 .PHONY: do-install-info
1626 do-install-info:
1627 @: $(MAKE); $(unstage)
1628 @r=`${PWD_COMMAND}`; export r; \
1629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1630 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1631 install-info-target
1634 .PHONY: install-info-host
1636 install-info-host: maybe-install-info-bfd
1637 install-info-host: maybe-install-info-opcodes
1638 install-info-host: maybe-install-info-binutils
1639 install-info-host: maybe-install-info-bison
1640 install-info-host: maybe-install-info-cgen
1641 install-info-host: maybe-install-info-dejagnu
1642 install-info-host: maybe-install-info-etc
1643 install-info-host: maybe-install-info-fastjar
1644 install-info-host: maybe-install-info-fixincludes
1645 install-info-host: maybe-install-info-flex
1646 install-info-host: maybe-install-info-gas
1647 install-info-host: maybe-install-info-gcc
1648 install-info-host: maybe-install-info-gmp
1649 install-info-host: maybe-install-info-mpfr
1650 install-info-host: maybe-install-info-mpc
1651 install-info-host: maybe-install-info-isl
1652 install-info-host: maybe-install-info-libelf
1653 install-info-host: maybe-install-info-gold
1654 install-info-host: maybe-install-info-gprof
1655 install-info-host: maybe-install-info-intl
1656 install-info-host: maybe-install-info-tcl
1657 install-info-host: maybe-install-info-itcl
1658 install-info-host: maybe-install-info-ld
1659 install-info-host: maybe-install-info-libbacktrace
1660 install-info-host: maybe-install-info-libcpp
1661 install-info-host: maybe-install-info-libdecnumber
1662 install-info-host: maybe-install-info-libgui
1663 install-info-host: maybe-install-info-libiberty
1664 install-info-host: maybe-install-info-libiberty-linker-plugin
1665 install-info-host: maybe-install-info-libiconv
1666 install-info-host: maybe-install-info-m4
1667 install-info-host: maybe-install-info-readline
1668 install-info-host: maybe-install-info-sid
1669 install-info-host: maybe-install-info-sim
1670 install-info-host: maybe-install-info-texinfo
1671 install-info-host: maybe-install-info-zlib
1672 install-info-host: maybe-install-info-gdb
1673 install-info-host: maybe-install-info-expect
1674 install-info-host: maybe-install-info-guile
1675 install-info-host: maybe-install-info-tk
1676 install-info-host: maybe-install-info-libtermcap
1677 install-info-host: maybe-install-info-utils
1678 install-info-host: maybe-install-info-gnattools
1679 install-info-host: maybe-install-info-lto-plugin
1680 install-info-host: maybe-install-info-libcc1
1681 install-info-host: maybe-install-info-gotools
1683 .PHONY: install-info-target
1685 install-info-target: maybe-install-info-target-libstdc++-v3
1686 install-info-target: maybe-install-info-target-libsanitizer
1687 install-info-target: maybe-install-info-target-libmpx
1688 install-info-target: maybe-install-info-target-libvtv
1689 install-info-target: maybe-install-info-target-libcilkrts
1690 install-info-target: maybe-install-info-target-liboffloadmic
1691 install-info-target: maybe-install-info-target-libssp
1692 install-info-target: maybe-install-info-target-newlib
1693 install-info-target: maybe-install-info-target-libgcc
1694 install-info-target: maybe-install-info-target-libbacktrace
1695 install-info-target: maybe-install-info-target-libquadmath
1696 install-info-target: maybe-install-info-target-libgfortran
1697 install-info-target: maybe-install-info-target-libobjc
1698 install-info-target: maybe-install-info-target-libgo
1699 install-info-target: maybe-install-info-target-libhsail-rt
1700 install-info-target: maybe-install-info-target-libtermcap
1701 install-info-target: maybe-install-info-target-winsup
1702 install-info-target: maybe-install-info-target-libgloss
1703 install-info-target: maybe-install-info-target-libffi
1704 install-info-target: maybe-install-info-target-zlib
1705 install-info-target: maybe-install-info-target-rda
1706 install-info-target: maybe-install-info-target-libada
1707 install-info-target: maybe-install-info-target-libgomp
1708 install-info-target: maybe-install-info-target-libitm
1709 install-info-target: maybe-install-info-target-libatomic
1711 .PHONY: do-install-pdf
1712 do-install-pdf:
1713 @: $(MAKE); $(unstage)
1714 @r=`${PWD_COMMAND}`; export r; \
1715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1716 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1717 install-pdf-target
1720 .PHONY: install-pdf-host
1722 install-pdf-host: maybe-install-pdf-bfd
1723 install-pdf-host: maybe-install-pdf-opcodes
1724 install-pdf-host: maybe-install-pdf-binutils
1725 install-pdf-host: maybe-install-pdf-bison
1726 install-pdf-host: maybe-install-pdf-cgen
1727 install-pdf-host: maybe-install-pdf-dejagnu
1728 install-pdf-host: maybe-install-pdf-etc
1729 install-pdf-host: maybe-install-pdf-fastjar
1730 install-pdf-host: maybe-install-pdf-fixincludes
1731 install-pdf-host: maybe-install-pdf-flex
1732 install-pdf-host: maybe-install-pdf-gas
1733 install-pdf-host: maybe-install-pdf-gcc
1734 install-pdf-host: maybe-install-pdf-gmp
1735 install-pdf-host: maybe-install-pdf-mpfr
1736 install-pdf-host: maybe-install-pdf-mpc
1737 install-pdf-host: maybe-install-pdf-isl
1738 install-pdf-host: maybe-install-pdf-libelf
1739 install-pdf-host: maybe-install-pdf-gold
1740 install-pdf-host: maybe-install-pdf-gprof
1741 install-pdf-host: maybe-install-pdf-intl
1742 install-pdf-host: maybe-install-pdf-tcl
1743 install-pdf-host: maybe-install-pdf-itcl
1744 install-pdf-host: maybe-install-pdf-ld
1745 install-pdf-host: maybe-install-pdf-libbacktrace
1746 install-pdf-host: maybe-install-pdf-libcpp
1747 install-pdf-host: maybe-install-pdf-libdecnumber
1748 install-pdf-host: maybe-install-pdf-libgui
1749 install-pdf-host: maybe-install-pdf-libiberty
1750 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1751 install-pdf-host: maybe-install-pdf-libiconv
1752 install-pdf-host: maybe-install-pdf-m4
1753 install-pdf-host: maybe-install-pdf-readline
1754 install-pdf-host: maybe-install-pdf-sid
1755 install-pdf-host: maybe-install-pdf-sim
1756 install-pdf-host: maybe-install-pdf-texinfo
1757 install-pdf-host: maybe-install-pdf-zlib
1758 install-pdf-host: maybe-install-pdf-gdb
1759 install-pdf-host: maybe-install-pdf-expect
1760 install-pdf-host: maybe-install-pdf-guile
1761 install-pdf-host: maybe-install-pdf-tk
1762 install-pdf-host: maybe-install-pdf-libtermcap
1763 install-pdf-host: maybe-install-pdf-utils
1764 install-pdf-host: maybe-install-pdf-gnattools
1765 install-pdf-host: maybe-install-pdf-lto-plugin
1766 install-pdf-host: maybe-install-pdf-libcc1
1767 install-pdf-host: maybe-install-pdf-gotools
1769 .PHONY: install-pdf-target
1771 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1772 install-pdf-target: maybe-install-pdf-target-libsanitizer
1773 install-pdf-target: maybe-install-pdf-target-libmpx
1774 install-pdf-target: maybe-install-pdf-target-libvtv
1775 install-pdf-target: maybe-install-pdf-target-libcilkrts
1776 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1777 install-pdf-target: maybe-install-pdf-target-libssp
1778 install-pdf-target: maybe-install-pdf-target-newlib
1779 install-pdf-target: maybe-install-pdf-target-libgcc
1780 install-pdf-target: maybe-install-pdf-target-libbacktrace
1781 install-pdf-target: maybe-install-pdf-target-libquadmath
1782 install-pdf-target: maybe-install-pdf-target-libgfortran
1783 install-pdf-target: maybe-install-pdf-target-libobjc
1784 install-pdf-target: maybe-install-pdf-target-libgo
1785 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1786 install-pdf-target: maybe-install-pdf-target-libtermcap
1787 install-pdf-target: maybe-install-pdf-target-winsup
1788 install-pdf-target: maybe-install-pdf-target-libgloss
1789 install-pdf-target: maybe-install-pdf-target-libffi
1790 install-pdf-target: maybe-install-pdf-target-zlib
1791 install-pdf-target: maybe-install-pdf-target-rda
1792 install-pdf-target: maybe-install-pdf-target-libada
1793 install-pdf-target: maybe-install-pdf-target-libgomp
1794 install-pdf-target: maybe-install-pdf-target-libitm
1795 install-pdf-target: maybe-install-pdf-target-libatomic
1797 .PHONY: do-install-html
1798 do-install-html:
1799 @: $(MAKE); $(unstage)
1800 @r=`${PWD_COMMAND}`; export r; \
1801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1802 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1803 install-html-target
1806 .PHONY: install-html-host
1808 install-html-host: maybe-install-html-bfd
1809 install-html-host: maybe-install-html-opcodes
1810 install-html-host: maybe-install-html-binutils
1811 install-html-host: maybe-install-html-bison
1812 install-html-host: maybe-install-html-cgen
1813 install-html-host: maybe-install-html-dejagnu
1814 install-html-host: maybe-install-html-etc
1815 install-html-host: maybe-install-html-fastjar
1816 install-html-host: maybe-install-html-fixincludes
1817 install-html-host: maybe-install-html-flex
1818 install-html-host: maybe-install-html-gas
1819 install-html-host: maybe-install-html-gcc
1820 install-html-host: maybe-install-html-gmp
1821 install-html-host: maybe-install-html-mpfr
1822 install-html-host: maybe-install-html-mpc
1823 install-html-host: maybe-install-html-isl
1824 install-html-host: maybe-install-html-libelf
1825 install-html-host: maybe-install-html-gold
1826 install-html-host: maybe-install-html-gprof
1827 install-html-host: maybe-install-html-intl
1828 install-html-host: maybe-install-html-tcl
1829 install-html-host: maybe-install-html-itcl
1830 install-html-host: maybe-install-html-ld
1831 install-html-host: maybe-install-html-libbacktrace
1832 install-html-host: maybe-install-html-libcpp
1833 install-html-host: maybe-install-html-libdecnumber
1834 install-html-host: maybe-install-html-libgui
1835 install-html-host: maybe-install-html-libiberty
1836 install-html-host: maybe-install-html-libiberty-linker-plugin
1837 install-html-host: maybe-install-html-libiconv
1838 install-html-host: maybe-install-html-m4
1839 install-html-host: maybe-install-html-readline
1840 install-html-host: maybe-install-html-sid
1841 install-html-host: maybe-install-html-sim
1842 install-html-host: maybe-install-html-texinfo
1843 install-html-host: maybe-install-html-zlib
1844 install-html-host: maybe-install-html-gdb
1845 install-html-host: maybe-install-html-expect
1846 install-html-host: maybe-install-html-guile
1847 install-html-host: maybe-install-html-tk
1848 install-html-host: maybe-install-html-libtermcap
1849 install-html-host: maybe-install-html-utils
1850 install-html-host: maybe-install-html-gnattools
1851 install-html-host: maybe-install-html-lto-plugin
1852 install-html-host: maybe-install-html-libcc1
1853 install-html-host: maybe-install-html-gotools
1855 .PHONY: install-html-target
1857 install-html-target: maybe-install-html-target-libstdc++-v3
1858 install-html-target: maybe-install-html-target-libsanitizer
1859 install-html-target: maybe-install-html-target-libmpx
1860 install-html-target: maybe-install-html-target-libvtv
1861 install-html-target: maybe-install-html-target-libcilkrts
1862 install-html-target: maybe-install-html-target-liboffloadmic
1863 install-html-target: maybe-install-html-target-libssp
1864 install-html-target: maybe-install-html-target-newlib
1865 install-html-target: maybe-install-html-target-libgcc
1866 install-html-target: maybe-install-html-target-libbacktrace
1867 install-html-target: maybe-install-html-target-libquadmath
1868 install-html-target: maybe-install-html-target-libgfortran
1869 install-html-target: maybe-install-html-target-libobjc
1870 install-html-target: maybe-install-html-target-libgo
1871 install-html-target: maybe-install-html-target-libhsail-rt
1872 install-html-target: maybe-install-html-target-libtermcap
1873 install-html-target: maybe-install-html-target-winsup
1874 install-html-target: maybe-install-html-target-libgloss
1875 install-html-target: maybe-install-html-target-libffi
1876 install-html-target: maybe-install-html-target-zlib
1877 install-html-target: maybe-install-html-target-rda
1878 install-html-target: maybe-install-html-target-libada
1879 install-html-target: maybe-install-html-target-libgomp
1880 install-html-target: maybe-install-html-target-libitm
1881 install-html-target: maybe-install-html-target-libatomic
1883 .PHONY: do-installcheck
1884 do-installcheck:
1885 @: $(MAKE); $(unstage)
1886 @r=`${PWD_COMMAND}`; export r; \
1887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1888 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1889 installcheck-target
1892 .PHONY: installcheck-host
1894 installcheck-host: maybe-installcheck-bfd
1895 installcheck-host: maybe-installcheck-opcodes
1896 installcheck-host: maybe-installcheck-binutils
1897 installcheck-host: maybe-installcheck-bison
1898 installcheck-host: maybe-installcheck-cgen
1899 installcheck-host: maybe-installcheck-dejagnu
1900 installcheck-host: maybe-installcheck-etc
1901 installcheck-host: maybe-installcheck-fastjar
1902 installcheck-host: maybe-installcheck-fixincludes
1903 installcheck-host: maybe-installcheck-flex
1904 installcheck-host: maybe-installcheck-gas
1905 installcheck-host: maybe-installcheck-gcc
1906 installcheck-host: maybe-installcheck-gmp
1907 installcheck-host: maybe-installcheck-mpfr
1908 installcheck-host: maybe-installcheck-mpc
1909 installcheck-host: maybe-installcheck-isl
1910 installcheck-host: maybe-installcheck-libelf
1911 installcheck-host: maybe-installcheck-gold
1912 installcheck-host: maybe-installcheck-gprof
1913 installcheck-host: maybe-installcheck-intl
1914 installcheck-host: maybe-installcheck-tcl
1915 installcheck-host: maybe-installcheck-itcl
1916 installcheck-host: maybe-installcheck-ld
1917 installcheck-host: maybe-installcheck-libbacktrace
1918 installcheck-host: maybe-installcheck-libcpp
1919 installcheck-host: maybe-installcheck-libdecnumber
1920 installcheck-host: maybe-installcheck-libgui
1921 installcheck-host: maybe-installcheck-libiberty
1922 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1923 installcheck-host: maybe-installcheck-libiconv
1924 installcheck-host: maybe-installcheck-m4
1925 installcheck-host: maybe-installcheck-readline
1926 installcheck-host: maybe-installcheck-sid
1927 installcheck-host: maybe-installcheck-sim
1928 installcheck-host: maybe-installcheck-texinfo
1929 installcheck-host: maybe-installcheck-zlib
1930 installcheck-host: maybe-installcheck-gdb
1931 installcheck-host: maybe-installcheck-expect
1932 installcheck-host: maybe-installcheck-guile
1933 installcheck-host: maybe-installcheck-tk
1934 installcheck-host: maybe-installcheck-libtermcap
1935 installcheck-host: maybe-installcheck-utils
1936 installcheck-host: maybe-installcheck-gnattools
1937 installcheck-host: maybe-installcheck-lto-plugin
1938 installcheck-host: maybe-installcheck-libcc1
1939 installcheck-host: maybe-installcheck-gotools
1941 .PHONY: installcheck-target
1943 installcheck-target: maybe-installcheck-target-libstdc++-v3
1944 installcheck-target: maybe-installcheck-target-libsanitizer
1945 installcheck-target: maybe-installcheck-target-libmpx
1946 installcheck-target: maybe-installcheck-target-libvtv
1947 installcheck-target: maybe-installcheck-target-libcilkrts
1948 installcheck-target: maybe-installcheck-target-liboffloadmic
1949 installcheck-target: maybe-installcheck-target-libssp
1950 installcheck-target: maybe-installcheck-target-newlib
1951 installcheck-target: maybe-installcheck-target-libgcc
1952 installcheck-target: maybe-installcheck-target-libbacktrace
1953 installcheck-target: maybe-installcheck-target-libquadmath
1954 installcheck-target: maybe-installcheck-target-libgfortran
1955 installcheck-target: maybe-installcheck-target-libobjc
1956 installcheck-target: maybe-installcheck-target-libgo
1957 installcheck-target: maybe-installcheck-target-libhsail-rt
1958 installcheck-target: maybe-installcheck-target-libtermcap
1959 installcheck-target: maybe-installcheck-target-winsup
1960 installcheck-target: maybe-installcheck-target-libgloss
1961 installcheck-target: maybe-installcheck-target-libffi
1962 installcheck-target: maybe-installcheck-target-zlib
1963 installcheck-target: maybe-installcheck-target-rda
1964 installcheck-target: maybe-installcheck-target-libada
1965 installcheck-target: maybe-installcheck-target-libgomp
1966 installcheck-target: maybe-installcheck-target-libitm
1967 installcheck-target: maybe-installcheck-target-libatomic
1969 .PHONY: do-mostlyclean
1970 do-mostlyclean:
1971 @: $(MAKE); $(unstage)
1972 @r=`${PWD_COMMAND}`; export r; \
1973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1974 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1975 mostlyclean-target
1978 .PHONY: mostlyclean-host
1980 mostlyclean-host: maybe-mostlyclean-bfd
1981 mostlyclean-host: maybe-mostlyclean-opcodes
1982 mostlyclean-host: maybe-mostlyclean-binutils
1983 mostlyclean-host: maybe-mostlyclean-bison
1984 mostlyclean-host: maybe-mostlyclean-cgen
1985 mostlyclean-host: maybe-mostlyclean-dejagnu
1986 mostlyclean-host: maybe-mostlyclean-etc
1987 mostlyclean-host: maybe-mostlyclean-fastjar
1988 mostlyclean-host: maybe-mostlyclean-fixincludes
1989 mostlyclean-host: maybe-mostlyclean-flex
1990 mostlyclean-host: maybe-mostlyclean-gas
1991 mostlyclean-host: maybe-mostlyclean-gcc
1992 mostlyclean-host: maybe-mostlyclean-gmp
1993 mostlyclean-host: maybe-mostlyclean-mpfr
1994 mostlyclean-host: maybe-mostlyclean-mpc
1995 mostlyclean-host: maybe-mostlyclean-isl
1996 mostlyclean-host: maybe-mostlyclean-libelf
1997 mostlyclean-host: maybe-mostlyclean-gold
1998 mostlyclean-host: maybe-mostlyclean-gprof
1999 mostlyclean-host: maybe-mostlyclean-intl
2000 mostlyclean-host: maybe-mostlyclean-tcl
2001 mostlyclean-host: maybe-mostlyclean-itcl
2002 mostlyclean-host: maybe-mostlyclean-ld
2003 mostlyclean-host: maybe-mostlyclean-libbacktrace
2004 mostlyclean-host: maybe-mostlyclean-libcpp
2005 mostlyclean-host: maybe-mostlyclean-libdecnumber
2006 mostlyclean-host: maybe-mostlyclean-libgui
2007 mostlyclean-host: maybe-mostlyclean-libiberty
2008 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2009 mostlyclean-host: maybe-mostlyclean-libiconv
2010 mostlyclean-host: maybe-mostlyclean-m4
2011 mostlyclean-host: maybe-mostlyclean-readline
2012 mostlyclean-host: maybe-mostlyclean-sid
2013 mostlyclean-host: maybe-mostlyclean-sim
2014 mostlyclean-host: maybe-mostlyclean-texinfo
2015 mostlyclean-host: maybe-mostlyclean-zlib
2016 mostlyclean-host: maybe-mostlyclean-gdb
2017 mostlyclean-host: maybe-mostlyclean-expect
2018 mostlyclean-host: maybe-mostlyclean-guile
2019 mostlyclean-host: maybe-mostlyclean-tk
2020 mostlyclean-host: maybe-mostlyclean-libtermcap
2021 mostlyclean-host: maybe-mostlyclean-utils
2022 mostlyclean-host: maybe-mostlyclean-gnattools
2023 mostlyclean-host: maybe-mostlyclean-lto-plugin
2024 mostlyclean-host: maybe-mostlyclean-libcc1
2025 mostlyclean-host: maybe-mostlyclean-gotools
2027 .PHONY: mostlyclean-target
2029 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2030 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2031 mostlyclean-target: maybe-mostlyclean-target-libmpx
2032 mostlyclean-target: maybe-mostlyclean-target-libvtv
2033 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
2034 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2035 mostlyclean-target: maybe-mostlyclean-target-libssp
2036 mostlyclean-target: maybe-mostlyclean-target-newlib
2037 mostlyclean-target: maybe-mostlyclean-target-libgcc
2038 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2039 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2040 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2041 mostlyclean-target: maybe-mostlyclean-target-libobjc
2042 mostlyclean-target: maybe-mostlyclean-target-libgo
2043 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2044 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2045 mostlyclean-target: maybe-mostlyclean-target-winsup
2046 mostlyclean-target: maybe-mostlyclean-target-libgloss
2047 mostlyclean-target: maybe-mostlyclean-target-libffi
2048 mostlyclean-target: maybe-mostlyclean-target-zlib
2049 mostlyclean-target: maybe-mostlyclean-target-rda
2050 mostlyclean-target: maybe-mostlyclean-target-libada
2051 mostlyclean-target: maybe-mostlyclean-target-libgomp
2052 mostlyclean-target: maybe-mostlyclean-target-libitm
2053 mostlyclean-target: maybe-mostlyclean-target-libatomic
2055 .PHONY: do-clean
2056 do-clean:
2057 @: $(MAKE); $(unstage)
2058 @r=`${PWD_COMMAND}`; export r; \
2059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2060 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2061 clean-target
2064 .PHONY: clean-host
2066 clean-host: maybe-clean-bfd
2067 clean-host: maybe-clean-opcodes
2068 clean-host: maybe-clean-binutils
2069 clean-host: maybe-clean-bison
2070 clean-host: maybe-clean-cgen
2071 clean-host: maybe-clean-dejagnu
2072 clean-host: maybe-clean-etc
2073 clean-host: maybe-clean-fastjar
2074 clean-host: maybe-clean-fixincludes
2075 clean-host: maybe-clean-flex
2076 clean-host: maybe-clean-gas
2077 clean-host: maybe-clean-gcc
2078 clean-host: maybe-clean-gmp
2079 clean-host: maybe-clean-mpfr
2080 clean-host: maybe-clean-mpc
2081 clean-host: maybe-clean-isl
2082 clean-host: maybe-clean-libelf
2083 clean-host: maybe-clean-gold
2084 clean-host: maybe-clean-gprof
2085 clean-host: maybe-clean-intl
2086 clean-host: maybe-clean-tcl
2087 clean-host: maybe-clean-itcl
2088 clean-host: maybe-clean-ld
2089 clean-host: maybe-clean-libbacktrace
2090 clean-host: maybe-clean-libcpp
2091 clean-host: maybe-clean-libdecnumber
2092 clean-host: maybe-clean-libgui
2093 clean-host: maybe-clean-libiberty
2094 clean-host: maybe-clean-libiberty-linker-plugin
2095 clean-host: maybe-clean-libiconv
2096 clean-host: maybe-clean-m4
2097 clean-host: maybe-clean-readline
2098 clean-host: maybe-clean-sid
2099 clean-host: maybe-clean-sim
2100 clean-host: maybe-clean-texinfo
2101 clean-host: maybe-clean-zlib
2102 clean-host: maybe-clean-gdb
2103 clean-host: maybe-clean-expect
2104 clean-host: maybe-clean-guile
2105 clean-host: maybe-clean-tk
2106 clean-host: maybe-clean-libtermcap
2107 clean-host: maybe-clean-utils
2108 clean-host: maybe-clean-gnattools
2109 clean-host: maybe-clean-lto-plugin
2110 clean-host: maybe-clean-libcc1
2111 clean-host: maybe-clean-gotools
2113 .PHONY: clean-target
2115 clean-target: maybe-clean-target-libstdc++-v3
2116 clean-target: maybe-clean-target-libsanitizer
2117 clean-target: maybe-clean-target-libmpx
2118 clean-target: maybe-clean-target-libvtv
2119 clean-target: maybe-clean-target-libcilkrts
2120 clean-target: maybe-clean-target-liboffloadmic
2121 clean-target: maybe-clean-target-libssp
2122 clean-target: maybe-clean-target-newlib
2123 clean-target: maybe-clean-target-libgcc
2124 clean-target: maybe-clean-target-libbacktrace
2125 clean-target: maybe-clean-target-libquadmath
2126 clean-target: maybe-clean-target-libgfortran
2127 clean-target: maybe-clean-target-libobjc
2128 clean-target: maybe-clean-target-libgo
2129 clean-target: maybe-clean-target-libhsail-rt
2130 clean-target: maybe-clean-target-libtermcap
2131 clean-target: maybe-clean-target-winsup
2132 clean-target: maybe-clean-target-libgloss
2133 clean-target: maybe-clean-target-libffi
2134 clean-target: maybe-clean-target-zlib
2135 clean-target: maybe-clean-target-rda
2136 clean-target: maybe-clean-target-libada
2137 clean-target: maybe-clean-target-libgomp
2138 clean-target: maybe-clean-target-libitm
2139 clean-target: maybe-clean-target-libatomic
2141 .PHONY: do-distclean
2142 do-distclean:
2143 @: $(MAKE); $(unstage)
2144 @r=`${PWD_COMMAND}`; export r; \
2145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2146 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2147 distclean-target
2150 .PHONY: distclean-host
2152 distclean-host: maybe-distclean-bfd
2153 distclean-host: maybe-distclean-opcodes
2154 distclean-host: maybe-distclean-binutils
2155 distclean-host: maybe-distclean-bison
2156 distclean-host: maybe-distclean-cgen
2157 distclean-host: maybe-distclean-dejagnu
2158 distclean-host: maybe-distclean-etc
2159 distclean-host: maybe-distclean-fastjar
2160 distclean-host: maybe-distclean-fixincludes
2161 distclean-host: maybe-distclean-flex
2162 distclean-host: maybe-distclean-gas
2163 distclean-host: maybe-distclean-gcc
2164 distclean-host: maybe-distclean-gmp
2165 distclean-host: maybe-distclean-mpfr
2166 distclean-host: maybe-distclean-mpc
2167 distclean-host: maybe-distclean-isl
2168 distclean-host: maybe-distclean-libelf
2169 distclean-host: maybe-distclean-gold
2170 distclean-host: maybe-distclean-gprof
2171 distclean-host: maybe-distclean-intl
2172 distclean-host: maybe-distclean-tcl
2173 distclean-host: maybe-distclean-itcl
2174 distclean-host: maybe-distclean-ld
2175 distclean-host: maybe-distclean-libbacktrace
2176 distclean-host: maybe-distclean-libcpp
2177 distclean-host: maybe-distclean-libdecnumber
2178 distclean-host: maybe-distclean-libgui
2179 distclean-host: maybe-distclean-libiberty
2180 distclean-host: maybe-distclean-libiberty-linker-plugin
2181 distclean-host: maybe-distclean-libiconv
2182 distclean-host: maybe-distclean-m4
2183 distclean-host: maybe-distclean-readline
2184 distclean-host: maybe-distclean-sid
2185 distclean-host: maybe-distclean-sim
2186 distclean-host: maybe-distclean-texinfo
2187 distclean-host: maybe-distclean-zlib
2188 distclean-host: maybe-distclean-gdb
2189 distclean-host: maybe-distclean-expect
2190 distclean-host: maybe-distclean-guile
2191 distclean-host: maybe-distclean-tk
2192 distclean-host: maybe-distclean-libtermcap
2193 distclean-host: maybe-distclean-utils
2194 distclean-host: maybe-distclean-gnattools
2195 distclean-host: maybe-distclean-lto-plugin
2196 distclean-host: maybe-distclean-libcc1
2197 distclean-host: maybe-distclean-gotools
2199 .PHONY: distclean-target
2201 distclean-target: maybe-distclean-target-libstdc++-v3
2202 distclean-target: maybe-distclean-target-libsanitizer
2203 distclean-target: maybe-distclean-target-libmpx
2204 distclean-target: maybe-distclean-target-libvtv
2205 distclean-target: maybe-distclean-target-libcilkrts
2206 distclean-target: maybe-distclean-target-liboffloadmic
2207 distclean-target: maybe-distclean-target-libssp
2208 distclean-target: maybe-distclean-target-newlib
2209 distclean-target: maybe-distclean-target-libgcc
2210 distclean-target: maybe-distclean-target-libbacktrace
2211 distclean-target: maybe-distclean-target-libquadmath
2212 distclean-target: maybe-distclean-target-libgfortran
2213 distclean-target: maybe-distclean-target-libobjc
2214 distclean-target: maybe-distclean-target-libgo
2215 distclean-target: maybe-distclean-target-libhsail-rt
2216 distclean-target: maybe-distclean-target-libtermcap
2217 distclean-target: maybe-distclean-target-winsup
2218 distclean-target: maybe-distclean-target-libgloss
2219 distclean-target: maybe-distclean-target-libffi
2220 distclean-target: maybe-distclean-target-zlib
2221 distclean-target: maybe-distclean-target-rda
2222 distclean-target: maybe-distclean-target-libada
2223 distclean-target: maybe-distclean-target-libgomp
2224 distclean-target: maybe-distclean-target-libitm
2225 distclean-target: maybe-distclean-target-libatomic
2227 .PHONY: do-maintainer-clean
2228 do-maintainer-clean:
2229 @: $(MAKE); $(unstage)
2230 @r=`${PWD_COMMAND}`; export r; \
2231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2232 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2233 maintainer-clean-target
2236 .PHONY: maintainer-clean-host
2238 maintainer-clean-host: maybe-maintainer-clean-bfd
2239 maintainer-clean-host: maybe-maintainer-clean-opcodes
2240 maintainer-clean-host: maybe-maintainer-clean-binutils
2241 maintainer-clean-host: maybe-maintainer-clean-bison
2242 maintainer-clean-host: maybe-maintainer-clean-cgen
2243 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2244 maintainer-clean-host: maybe-maintainer-clean-etc
2245 maintainer-clean-host: maybe-maintainer-clean-fastjar
2246 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2247 maintainer-clean-host: maybe-maintainer-clean-flex
2248 maintainer-clean-host: maybe-maintainer-clean-gas
2249 maintainer-clean-host: maybe-maintainer-clean-gcc
2250 maintainer-clean-host: maybe-maintainer-clean-gmp
2251 maintainer-clean-host: maybe-maintainer-clean-mpfr
2252 maintainer-clean-host: maybe-maintainer-clean-mpc
2253 maintainer-clean-host: maybe-maintainer-clean-isl
2254 maintainer-clean-host: maybe-maintainer-clean-libelf
2255 maintainer-clean-host: maybe-maintainer-clean-gold
2256 maintainer-clean-host: maybe-maintainer-clean-gprof
2257 maintainer-clean-host: maybe-maintainer-clean-intl
2258 maintainer-clean-host: maybe-maintainer-clean-tcl
2259 maintainer-clean-host: maybe-maintainer-clean-itcl
2260 maintainer-clean-host: maybe-maintainer-clean-ld
2261 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2262 maintainer-clean-host: maybe-maintainer-clean-libcpp
2263 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2264 maintainer-clean-host: maybe-maintainer-clean-libgui
2265 maintainer-clean-host: maybe-maintainer-clean-libiberty
2266 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2267 maintainer-clean-host: maybe-maintainer-clean-libiconv
2268 maintainer-clean-host: maybe-maintainer-clean-m4
2269 maintainer-clean-host: maybe-maintainer-clean-readline
2270 maintainer-clean-host: maybe-maintainer-clean-sid
2271 maintainer-clean-host: maybe-maintainer-clean-sim
2272 maintainer-clean-host: maybe-maintainer-clean-texinfo
2273 maintainer-clean-host: maybe-maintainer-clean-zlib
2274 maintainer-clean-host: maybe-maintainer-clean-gdb
2275 maintainer-clean-host: maybe-maintainer-clean-expect
2276 maintainer-clean-host: maybe-maintainer-clean-guile
2277 maintainer-clean-host: maybe-maintainer-clean-tk
2278 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2279 maintainer-clean-host: maybe-maintainer-clean-utils
2280 maintainer-clean-host: maybe-maintainer-clean-gnattools
2281 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2282 maintainer-clean-host: maybe-maintainer-clean-libcc1
2283 maintainer-clean-host: maybe-maintainer-clean-gotools
2285 .PHONY: maintainer-clean-target
2287 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2288 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2289 maintainer-clean-target: maybe-maintainer-clean-target-libmpx
2290 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2291 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2292 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2293 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2294 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2295 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2296 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2297 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2298 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2299 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2300 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2301 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2302 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2303 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2304 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2305 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2306 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2307 maintainer-clean-target: maybe-maintainer-clean-target-rda
2308 maintainer-clean-target: maybe-maintainer-clean-target-libada
2309 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2310 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2311 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2314 # Here are the targets which correspond to the do-X targets.
2316 .PHONY: info installcheck dvi pdf html
2317 .PHONY: install-info install-pdf install-html
2318 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2319 .PHONY: local-clean local-distclean local-maintainer-clean
2320 info: do-info
2321 installcheck: do-installcheck
2322 dvi: do-dvi
2323 pdf: do-pdf
2324 html: do-html
2326 # Make sure makeinfo is built before we do a `make info', if we're
2327 # in fact building texinfo.
2328 do-info: maybe-all-texinfo
2330 install-info: do-install-info dir.info
2331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2332 if [ -f dir.info ]; then \
2333 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2334 else true; fi
2336 install-pdf: do-install-pdf
2338 install-html: do-install-html
2340 local-clean:
2341 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2343 local-distclean:
2344 -rm -f Makefile config.status config.cache mh-frag mt-frag
2345 -rm -f maybedep.tmp serdep.tmp stage_final
2346 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2347 rm -rf $(TARGET_SUBDIR); \
2348 else true; fi
2349 -rm -rf $(BUILD_SUBDIR)
2350 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2351 rm -rf $(HOST_SUBDIR); \
2352 else true; fi
2353 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2354 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2355 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2356 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2357 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2358 -rmdir texinfo zlib 2>/dev/null
2359 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2361 local-maintainer-clean:
2362 @echo "This command is intended for maintainers to use;"
2363 @echo "it deletes files that may require special tools to rebuild."
2365 clean: do-clean local-clean
2366 mostlyclean: do-mostlyclean local-clean
2367 distclean: do-distclean local-clean local-distclean
2368 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2369 maintainer-clean: local-distclean
2370 realclean: maintainer-clean
2372 # Check target.
2374 .PHONY: check do-check
2375 check: do-check
2377 # Only include modules actually being configured and built.
2378 .PHONY: check-host
2379 check-host: \
2380 maybe-check-bfd \
2381 maybe-check-opcodes \
2382 maybe-check-binutils \
2383 maybe-check-bison \
2384 maybe-check-cgen \
2385 maybe-check-dejagnu \
2386 maybe-check-etc \
2387 maybe-check-fastjar \
2388 maybe-check-fixincludes \
2389 maybe-check-flex \
2390 maybe-check-gas \
2391 maybe-check-gcc \
2392 maybe-check-gmp \
2393 maybe-check-mpfr \
2394 maybe-check-mpc \
2395 maybe-check-isl \
2396 maybe-check-libelf \
2397 maybe-check-gold \
2398 maybe-check-gprof \
2399 maybe-check-intl \
2400 maybe-check-tcl \
2401 maybe-check-itcl \
2402 maybe-check-ld \
2403 maybe-check-libbacktrace \
2404 maybe-check-libcpp \
2405 maybe-check-libdecnumber \
2406 maybe-check-libgui \
2407 maybe-check-libiberty \
2408 maybe-check-libiberty-linker-plugin \
2409 maybe-check-libiconv \
2410 maybe-check-m4 \
2411 maybe-check-readline \
2412 maybe-check-sid \
2413 maybe-check-sim \
2414 maybe-check-texinfo \
2415 maybe-check-zlib \
2416 maybe-check-gdb \
2417 maybe-check-expect \
2418 maybe-check-guile \
2419 maybe-check-tk \
2420 maybe-check-libtermcap \
2421 maybe-check-utils \
2422 maybe-check-gnattools \
2423 maybe-check-lto-plugin \
2424 maybe-check-libcc1 \
2425 maybe-check-gotools
2427 .PHONY: check-target
2428 check-target: \
2429 maybe-check-target-libstdc++-v3 \
2430 maybe-check-target-libsanitizer \
2431 maybe-check-target-libmpx \
2432 maybe-check-target-libvtv \
2433 maybe-check-target-libcilkrts \
2434 maybe-check-target-liboffloadmic \
2435 maybe-check-target-libssp \
2436 maybe-check-target-newlib \
2437 maybe-check-target-libgcc \
2438 maybe-check-target-libbacktrace \
2439 maybe-check-target-libquadmath \
2440 maybe-check-target-libgfortran \
2441 maybe-check-target-libobjc \
2442 maybe-check-target-libgo \
2443 maybe-check-target-libhsail-rt \
2444 maybe-check-target-libtermcap \
2445 maybe-check-target-winsup \
2446 maybe-check-target-libgloss \
2447 maybe-check-target-libffi \
2448 maybe-check-target-zlib \
2449 maybe-check-target-rda \
2450 maybe-check-target-libada \
2451 maybe-check-target-libgomp \
2452 maybe-check-target-libitm \
2453 maybe-check-target-libatomic
2455 do-check:
2456 @: $(MAKE); $(unstage)
2457 @r=`${PWD_COMMAND}`; export r; \
2458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2459 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2461 # Automated reporting of test results.
2463 warning.log: build.log
2464 $(srcdir)/contrib/warn_summary build.log > $@
2466 mail-report.log:
2467 if test x'$(BOOT_CFLAGS)' != x''; then \
2468 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2469 fi; \
2470 $(srcdir)/contrib/test_summary -t >$@
2471 chmod +x $@
2472 echo If you really want to send e-mail, run ./$@ now
2474 mail-report-with-warnings.log: warning.log
2475 if test x'$(BOOT_CFLAGS)' != x''; then \
2476 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2477 fi; \
2478 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2479 chmod +x $@
2480 echo If you really want to send e-mail, run ./$@ now
2482 # Local Vim config
2484 $(srcdir)/.local.vimrc:
2485 $(LN_S) contrib/vimrc $@
2487 $(srcdir)/.lvimrc:
2488 $(LN_S) contrib/vimrc $@
2490 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2492 .PHONY: vimrc
2494 # clang-format config
2496 $(srcdir)/.clang-format:
2497 $(LN_S) contrib/clang-format $@
2499 clang-format: $(srcdir)/.clang-format
2501 .PHONY: clang-format
2503 # Installation targets.
2505 .PHONY: install uninstall
2506 install:
2507 @: $(MAKE); $(unstage)
2508 @r=`${PWD_COMMAND}`; export r; \
2509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2510 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2512 .PHONY: install-host-nogcc
2513 install-host-nogcc: \
2514 maybe-install-bfd \
2515 maybe-install-opcodes \
2516 maybe-install-binutils \
2517 maybe-install-bison \
2518 maybe-install-cgen \
2519 maybe-install-dejagnu \
2520 maybe-install-etc \
2521 maybe-install-fastjar \
2522 maybe-install-fixincludes \
2523 maybe-install-flex \
2524 maybe-install-gas \
2525 maybe-install-gmp \
2526 maybe-install-mpfr \
2527 maybe-install-mpc \
2528 maybe-install-isl \
2529 maybe-install-libelf \
2530 maybe-install-gold \
2531 maybe-install-gprof \
2532 maybe-install-intl \
2533 maybe-install-tcl \
2534 maybe-install-itcl \
2535 maybe-install-ld \
2536 maybe-install-libbacktrace \
2537 maybe-install-libcpp \
2538 maybe-install-libdecnumber \
2539 maybe-install-libgui \
2540 maybe-install-libiberty \
2541 maybe-install-libiberty-linker-plugin \
2542 maybe-install-libiconv \
2543 maybe-install-m4 \
2544 maybe-install-readline \
2545 maybe-install-sid \
2546 maybe-install-sim \
2547 maybe-install-texinfo \
2548 maybe-install-zlib \
2549 maybe-install-gdb \
2550 maybe-install-expect \
2551 maybe-install-guile \
2552 maybe-install-tk \
2553 maybe-install-libtermcap \
2554 maybe-install-utils \
2555 maybe-install-gnattools \
2556 maybe-install-lto-plugin \
2557 maybe-install-libcc1 \
2558 maybe-install-gotools
2560 .PHONY: install-host
2561 install-host: \
2562 maybe-install-bfd \
2563 maybe-install-opcodes \
2564 maybe-install-binutils \
2565 maybe-install-bison \
2566 maybe-install-cgen \
2567 maybe-install-dejagnu \
2568 maybe-install-etc \
2569 maybe-install-fastjar \
2570 maybe-install-fixincludes \
2571 maybe-install-flex \
2572 maybe-install-gas \
2573 maybe-install-gcc \
2574 maybe-install-gmp \
2575 maybe-install-mpfr \
2576 maybe-install-mpc \
2577 maybe-install-isl \
2578 maybe-install-libelf \
2579 maybe-install-gold \
2580 maybe-install-gprof \
2581 maybe-install-intl \
2582 maybe-install-tcl \
2583 maybe-install-itcl \
2584 maybe-install-ld \
2585 maybe-install-libbacktrace \
2586 maybe-install-libcpp \
2587 maybe-install-libdecnumber \
2588 maybe-install-libgui \
2589 maybe-install-libiberty \
2590 maybe-install-libiberty-linker-plugin \
2591 maybe-install-libiconv \
2592 maybe-install-m4 \
2593 maybe-install-readline \
2594 maybe-install-sid \
2595 maybe-install-sim \
2596 maybe-install-texinfo \
2597 maybe-install-zlib \
2598 maybe-install-gdb \
2599 maybe-install-expect \
2600 maybe-install-guile \
2601 maybe-install-tk \
2602 maybe-install-libtermcap \
2603 maybe-install-utils \
2604 maybe-install-gnattools \
2605 maybe-install-lto-plugin \
2606 maybe-install-libcc1 \
2607 maybe-install-gotools
2609 .PHONY: install-target
2610 install-target: \
2611 maybe-install-target-libstdc++-v3 \
2612 maybe-install-target-libsanitizer \
2613 maybe-install-target-libmpx \
2614 maybe-install-target-libvtv \
2615 maybe-install-target-libcilkrts \
2616 maybe-install-target-liboffloadmic \
2617 maybe-install-target-libssp \
2618 maybe-install-target-newlib \
2619 maybe-install-target-libgcc \
2620 maybe-install-target-libbacktrace \
2621 maybe-install-target-libquadmath \
2622 maybe-install-target-libgfortran \
2623 maybe-install-target-libobjc \
2624 maybe-install-target-libgo \
2625 maybe-install-target-libhsail-rt \
2626 maybe-install-target-libtermcap \
2627 maybe-install-target-winsup \
2628 maybe-install-target-libgloss \
2629 maybe-install-target-libffi \
2630 maybe-install-target-zlib \
2631 maybe-install-target-rda \
2632 maybe-install-target-libada \
2633 maybe-install-target-libgomp \
2634 maybe-install-target-libitm \
2635 maybe-install-target-libatomic
2637 uninstall:
2638 @echo "the uninstall target is not supported in this tree"
2640 .PHONY: install.all
2641 install.all: install-no-fixedincludes
2642 @if [ -f ./gcc/Makefile ]; then \
2643 r=`${PWD_COMMAND}`; export r; \
2644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2645 $(HOST_EXPORTS) \
2646 (cd ./gcc && \
2647 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2648 else \
2649 true; \
2652 # install-no-fixedincludes is used to allow the elaboration of binary packages
2653 # suitable for distribution, where we cannot include the fixed system header
2654 # files.
2655 .PHONY: install-no-fixedincludes
2656 install-no-fixedincludes: installdirs install-host-nogcc \
2657 install-target gcc-install-no-fixedincludes
2659 .PHONY: install-strip
2660 install-strip:
2661 @: $(MAKE); $(unstage)
2662 @r=`${PWD_COMMAND}`; export r; \
2663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2664 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2666 .PHONY: install-strip-host
2667 install-strip-host: \
2668 maybe-install-strip-bfd \
2669 maybe-install-strip-opcodes \
2670 maybe-install-strip-binutils \
2671 maybe-install-strip-bison \
2672 maybe-install-strip-cgen \
2673 maybe-install-strip-dejagnu \
2674 maybe-install-strip-etc \
2675 maybe-install-strip-fastjar \
2676 maybe-install-strip-fixincludes \
2677 maybe-install-strip-flex \
2678 maybe-install-strip-gas \
2679 maybe-install-strip-gcc \
2680 maybe-install-strip-gmp \
2681 maybe-install-strip-mpfr \
2682 maybe-install-strip-mpc \
2683 maybe-install-strip-isl \
2684 maybe-install-strip-libelf \
2685 maybe-install-strip-gold \
2686 maybe-install-strip-gprof \
2687 maybe-install-strip-intl \
2688 maybe-install-strip-tcl \
2689 maybe-install-strip-itcl \
2690 maybe-install-strip-ld \
2691 maybe-install-strip-libbacktrace \
2692 maybe-install-strip-libcpp \
2693 maybe-install-strip-libdecnumber \
2694 maybe-install-strip-libgui \
2695 maybe-install-strip-libiberty \
2696 maybe-install-strip-libiberty-linker-plugin \
2697 maybe-install-strip-libiconv \
2698 maybe-install-strip-m4 \
2699 maybe-install-strip-readline \
2700 maybe-install-strip-sid \
2701 maybe-install-strip-sim \
2702 maybe-install-strip-texinfo \
2703 maybe-install-strip-zlib \
2704 maybe-install-strip-gdb \
2705 maybe-install-strip-expect \
2706 maybe-install-strip-guile \
2707 maybe-install-strip-tk \
2708 maybe-install-strip-libtermcap \
2709 maybe-install-strip-utils \
2710 maybe-install-strip-gnattools \
2711 maybe-install-strip-lto-plugin \
2712 maybe-install-strip-libcc1 \
2713 maybe-install-strip-gotools
2715 .PHONY: install-strip-target
2716 install-strip-target: \
2717 maybe-install-strip-target-libstdc++-v3 \
2718 maybe-install-strip-target-libsanitizer \
2719 maybe-install-strip-target-libmpx \
2720 maybe-install-strip-target-libvtv \
2721 maybe-install-strip-target-libcilkrts \
2722 maybe-install-strip-target-liboffloadmic \
2723 maybe-install-strip-target-libssp \
2724 maybe-install-strip-target-newlib \
2725 maybe-install-strip-target-libgcc \
2726 maybe-install-strip-target-libbacktrace \
2727 maybe-install-strip-target-libquadmath \
2728 maybe-install-strip-target-libgfortran \
2729 maybe-install-strip-target-libobjc \
2730 maybe-install-strip-target-libgo \
2731 maybe-install-strip-target-libhsail-rt \
2732 maybe-install-strip-target-libtermcap \
2733 maybe-install-strip-target-winsup \
2734 maybe-install-strip-target-libgloss \
2735 maybe-install-strip-target-libffi \
2736 maybe-install-strip-target-zlib \
2737 maybe-install-strip-target-rda \
2738 maybe-install-strip-target-libada \
2739 maybe-install-strip-target-libgomp \
2740 maybe-install-strip-target-libitm \
2741 maybe-install-strip-target-libatomic
2744 ### other supporting targets
2746 MAKEDIRS= \
2747 $(DESTDIR)$(prefix) \
2748 $(DESTDIR)$(exec_prefix)
2749 .PHONY: installdirs
2750 installdirs: mkinstalldirs
2751 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2753 dir.info: do-install-info
2754 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2755 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2756 mv -f dir.info.new dir.info; \
2757 else true; \
2760 dist:
2761 @echo "Building a full distribution of this tree isn't done"
2762 @echo "via 'make dist'. Check out the etc/ subdirectory"
2764 etags tags: TAGS
2766 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2767 # ability to use several tags files at once, so there is probably no need
2768 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2769 # (if we felt like it) have this Makefile write a piece of elisp which
2770 # the user could load to tell emacs19 where all the TAGS files we just
2771 # built are.
2772 TAGS: do-TAGS
2774 # ------------------------------------
2775 # Macros for configure and all targets
2776 # ------------------------------------
2782 # --------------------------------------
2783 # Modules which run on the build machine
2784 # --------------------------------------
2787 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2788 maybe-configure-build-libiberty:
2789 @if gcc-bootstrap
2790 configure-build-libiberty: stage_current
2791 @endif gcc-bootstrap
2792 @if build-libiberty
2793 maybe-configure-build-libiberty: configure-build-libiberty
2794 configure-build-libiberty:
2795 @: $(MAKE); $(unstage)
2796 @r=`${PWD_COMMAND}`; export r; \
2797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2798 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2799 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2800 $(BUILD_EXPORTS) \
2801 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2802 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2803 case $(srcdir) in \
2804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2805 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2807 esac; \
2808 module_srcdir=libiberty; \
2809 rm -f no-such-file || : ; \
2810 CONFIG_SITE=no-such-file $(SHELL) \
2811 $$s/$$module_srcdir/configure \
2812 --srcdir=$${topdir}/$$module_srcdir \
2813 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2814 --target=${target_alias} \
2815 || exit 1
2816 @endif build-libiberty
2822 .PHONY: all-build-libiberty maybe-all-build-libiberty
2823 maybe-all-build-libiberty:
2824 @if gcc-bootstrap
2825 all-build-libiberty: stage_current
2826 @endif gcc-bootstrap
2827 @if build-libiberty
2828 TARGET-build-libiberty=all
2829 maybe-all-build-libiberty: all-build-libiberty
2830 all-build-libiberty: configure-build-libiberty
2831 @: $(MAKE); $(unstage)
2832 @r=`${PWD_COMMAND}`; export r; \
2833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2834 $(BUILD_EXPORTS) \
2835 (cd $(BUILD_SUBDIR)/libiberty && \
2836 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2837 $(TARGET-build-libiberty))
2838 @endif build-libiberty
2844 .PHONY: configure-build-bison maybe-configure-build-bison
2845 maybe-configure-build-bison:
2846 @if gcc-bootstrap
2847 configure-build-bison: stage_current
2848 @endif gcc-bootstrap
2849 @if build-bison
2850 maybe-configure-build-bison: configure-build-bison
2851 configure-build-bison:
2852 @: $(MAKE); $(unstage)
2853 @r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2856 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2857 $(BUILD_EXPORTS) \
2858 echo Configuring in $(BUILD_SUBDIR)/bison; \
2859 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2860 case $(srcdir) in \
2861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2862 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2864 esac; \
2865 module_srcdir=bison; \
2866 rm -f no-such-file || : ; \
2867 CONFIG_SITE=no-such-file $(SHELL) \
2868 $$s/$$module_srcdir/configure \
2869 --srcdir=$${topdir}/$$module_srcdir \
2870 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2871 --target=${target_alias} \
2872 || exit 1
2873 @endif build-bison
2879 .PHONY: all-build-bison maybe-all-build-bison
2880 maybe-all-build-bison:
2881 @if gcc-bootstrap
2882 all-build-bison: stage_current
2883 @endif gcc-bootstrap
2884 @if build-bison
2885 TARGET-build-bison=all
2886 maybe-all-build-bison: all-build-bison
2887 all-build-bison: configure-build-bison
2888 @: $(MAKE); $(unstage)
2889 @r=`${PWD_COMMAND}`; export r; \
2890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2891 $(BUILD_EXPORTS) \
2892 (cd $(BUILD_SUBDIR)/bison && \
2893 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2894 $(TARGET-build-bison))
2895 @endif build-bison
2901 .PHONY: configure-build-flex maybe-configure-build-flex
2902 maybe-configure-build-flex:
2903 @if gcc-bootstrap
2904 configure-build-flex: stage_current
2905 @endif gcc-bootstrap
2906 @if build-flex
2907 maybe-configure-build-flex: configure-build-flex
2908 configure-build-flex:
2909 @: $(MAKE); $(unstage)
2910 @r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2912 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2913 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2914 $(BUILD_EXPORTS) \
2915 echo Configuring in $(BUILD_SUBDIR)/flex; \
2916 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2917 case $(srcdir) in \
2918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2919 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2921 esac; \
2922 module_srcdir=flex; \
2923 rm -f no-such-file || : ; \
2924 CONFIG_SITE=no-such-file $(SHELL) \
2925 $$s/$$module_srcdir/configure \
2926 --srcdir=$${topdir}/$$module_srcdir \
2927 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2928 --target=${target_alias} \
2929 || exit 1
2930 @endif build-flex
2936 .PHONY: all-build-flex maybe-all-build-flex
2937 maybe-all-build-flex:
2938 @if gcc-bootstrap
2939 all-build-flex: stage_current
2940 @endif gcc-bootstrap
2941 @if build-flex
2942 TARGET-build-flex=all
2943 maybe-all-build-flex: all-build-flex
2944 all-build-flex: configure-build-flex
2945 @: $(MAKE); $(unstage)
2946 @r=`${PWD_COMMAND}`; export r; \
2947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2948 $(BUILD_EXPORTS) \
2949 (cd $(BUILD_SUBDIR)/flex && \
2950 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2951 $(TARGET-build-flex))
2952 @endif build-flex
2958 .PHONY: configure-build-m4 maybe-configure-build-m4
2959 maybe-configure-build-m4:
2960 @if gcc-bootstrap
2961 configure-build-m4: stage_current
2962 @endif gcc-bootstrap
2963 @if build-m4
2964 maybe-configure-build-m4: configure-build-m4
2965 configure-build-m4:
2966 @: $(MAKE); $(unstage)
2967 @r=`${PWD_COMMAND}`; export r; \
2968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2969 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2970 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2971 $(BUILD_EXPORTS) \
2972 echo Configuring in $(BUILD_SUBDIR)/m4; \
2973 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2974 case $(srcdir) in \
2975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2976 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2978 esac; \
2979 module_srcdir=m4; \
2980 rm -f no-such-file || : ; \
2981 CONFIG_SITE=no-such-file $(SHELL) \
2982 $$s/$$module_srcdir/configure \
2983 --srcdir=$${topdir}/$$module_srcdir \
2984 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2985 --target=${target_alias} \
2986 || exit 1
2987 @endif build-m4
2993 .PHONY: all-build-m4 maybe-all-build-m4
2994 maybe-all-build-m4:
2995 @if gcc-bootstrap
2996 all-build-m4: stage_current
2997 @endif gcc-bootstrap
2998 @if build-m4
2999 TARGET-build-m4=all
3000 maybe-all-build-m4: all-build-m4
3001 all-build-m4: configure-build-m4
3002 @: $(MAKE); $(unstage)
3003 @r=`${PWD_COMMAND}`; export r; \
3004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3005 $(BUILD_EXPORTS) \
3006 (cd $(BUILD_SUBDIR)/m4 && \
3007 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3008 $(TARGET-build-m4))
3009 @endif build-m4
3015 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3016 maybe-configure-build-texinfo:
3017 @if gcc-bootstrap
3018 configure-build-texinfo: stage_current
3019 @endif gcc-bootstrap
3020 @if build-texinfo
3021 maybe-configure-build-texinfo: configure-build-texinfo
3022 configure-build-texinfo:
3023 @: $(MAKE); $(unstage)
3024 @r=`${PWD_COMMAND}`; export r; \
3025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3026 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3027 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3028 $(BUILD_EXPORTS) \
3029 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3030 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3031 case $(srcdir) in \
3032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3033 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3035 esac; \
3036 module_srcdir=texinfo; \
3037 rm -f no-such-file || : ; \
3038 CONFIG_SITE=no-such-file $(SHELL) \
3039 $$s/$$module_srcdir/configure \
3040 --srcdir=$${topdir}/$$module_srcdir \
3041 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3042 --target=${target_alias} \
3043 || exit 1
3044 @endif build-texinfo
3050 .PHONY: all-build-texinfo maybe-all-build-texinfo
3051 maybe-all-build-texinfo:
3052 @if gcc-bootstrap
3053 all-build-texinfo: stage_current
3054 @endif gcc-bootstrap
3055 @if build-texinfo
3056 TARGET-build-texinfo=all
3057 maybe-all-build-texinfo: all-build-texinfo
3058 all-build-texinfo: configure-build-texinfo
3059 @: $(MAKE); $(unstage)
3060 @r=`${PWD_COMMAND}`; export r; \
3061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3062 $(BUILD_EXPORTS) \
3063 (cd $(BUILD_SUBDIR)/texinfo && \
3064 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3065 $(TARGET-build-texinfo))
3066 @endif build-texinfo
3072 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3073 maybe-configure-build-fixincludes:
3074 @if gcc-bootstrap
3075 configure-build-fixincludes: stage_current
3076 @endif gcc-bootstrap
3077 @if build-fixincludes
3078 maybe-configure-build-fixincludes: configure-build-fixincludes
3079 configure-build-fixincludes:
3080 @: $(MAKE); $(unstage)
3081 @r=`${PWD_COMMAND}`; export r; \
3082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3084 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3085 $(BUILD_EXPORTS) \
3086 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3087 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3088 case $(srcdir) in \
3089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3090 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3092 esac; \
3093 module_srcdir=fixincludes; \
3094 rm -f no-such-file || : ; \
3095 CONFIG_SITE=no-such-file $(SHELL) \
3096 $$s/$$module_srcdir/configure \
3097 --srcdir=$${topdir}/$$module_srcdir \
3098 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3099 --target=${target_alias} \
3100 || exit 1
3101 @endif build-fixincludes
3107 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3108 maybe-all-build-fixincludes:
3109 @if gcc-bootstrap
3110 all-build-fixincludes: stage_current
3111 @endif gcc-bootstrap
3112 @if build-fixincludes
3113 TARGET-build-fixincludes=all
3114 maybe-all-build-fixincludes: all-build-fixincludes
3115 all-build-fixincludes: configure-build-fixincludes
3116 @: $(MAKE); $(unstage)
3117 @r=`${PWD_COMMAND}`; export r; \
3118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3119 $(BUILD_EXPORTS) \
3120 (cd $(BUILD_SUBDIR)/fixincludes && \
3121 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3122 $(TARGET-build-fixincludes))
3123 @endif build-fixincludes
3129 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3130 maybe-configure-build-libcpp:
3131 @if gcc-bootstrap
3132 configure-build-libcpp: stage_current
3133 @endif gcc-bootstrap
3134 @if build-libcpp
3135 maybe-configure-build-libcpp: configure-build-libcpp
3136 configure-build-libcpp:
3137 @: $(MAKE); $(unstage)
3138 @r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3141 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3142 $(BUILD_EXPORTS) \
3143 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3144 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3145 case $(srcdir) in \
3146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3147 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3149 esac; \
3150 module_srcdir=libcpp; \
3151 rm -f no-such-file || : ; \
3152 CONFIG_SITE=no-such-file $(SHELL) \
3153 $$s/$$module_srcdir/configure \
3154 --srcdir=$${topdir}/$$module_srcdir \
3155 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3156 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3157 || exit 1
3158 @endif build-libcpp
3164 .PHONY: all-build-libcpp maybe-all-build-libcpp
3165 maybe-all-build-libcpp:
3166 @if gcc-bootstrap
3167 all-build-libcpp: stage_current
3168 @endif gcc-bootstrap
3169 @if build-libcpp
3170 TARGET-build-libcpp=all
3171 maybe-all-build-libcpp: all-build-libcpp
3172 all-build-libcpp: configure-build-libcpp
3173 @: $(MAKE); $(unstage)
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3176 $(BUILD_EXPORTS) \
3177 (cd $(BUILD_SUBDIR)/libcpp && \
3178 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3179 $(TARGET-build-libcpp))
3180 @endif build-libcpp
3186 # --------------------------------------
3187 # Modules which run on the host machine
3188 # --------------------------------------
3191 .PHONY: configure-bfd maybe-configure-bfd
3192 maybe-configure-bfd:
3193 @if gcc-bootstrap
3194 configure-bfd: stage_current
3195 @endif gcc-bootstrap
3196 @if bfd
3197 maybe-configure-bfd: configure-bfd
3198 configure-bfd:
3199 @r=`${PWD_COMMAND}`; export r; \
3200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3201 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3203 $(HOST_EXPORTS) \
3204 echo Configuring in $(HOST_SUBDIR)/bfd; \
3205 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3206 case $(srcdir) in \
3207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3208 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3210 esac; \
3211 module_srcdir=bfd; \
3212 $(SHELL) \
3213 $$s/$$module_srcdir/configure \
3214 --srcdir=$${topdir}/$$module_srcdir \
3215 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3216 --target=${target_alias} \
3217 || exit 1
3218 @endif bfd
3222 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3223 maybe-configure-stage1-bfd:
3224 @if bfd-bootstrap
3225 maybe-configure-stage1-bfd: configure-stage1-bfd
3226 configure-stage1-bfd:
3227 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3228 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3229 @r=`${PWD_COMMAND}`; export r; \
3230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3231 TFLAGS="$(STAGE1_TFLAGS)"; \
3232 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3233 $(HOST_EXPORTS) \
3234 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3235 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3236 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3237 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3239 cd $(HOST_SUBDIR)/bfd || exit 1; \
3240 case $(srcdir) in \
3241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3242 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3244 esac; \
3245 module_srcdir=bfd; \
3246 $(SHELL) $$s/$$module_srcdir/configure \
3247 --srcdir=$${topdir}/$$module_srcdir \
3248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3249 --target=${target_alias} \
3251 $(STAGE1_CONFIGURE_FLAGS)
3252 @endif bfd-bootstrap
3254 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3255 maybe-configure-stage2-bfd:
3256 @if bfd-bootstrap
3257 maybe-configure-stage2-bfd: configure-stage2-bfd
3258 configure-stage2-bfd:
3259 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3261 @r=`${PWD_COMMAND}`; export r; \
3262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3263 TFLAGS="$(STAGE2_TFLAGS)"; \
3264 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3265 $(HOST_EXPORTS) \
3266 $(POSTSTAGE1_HOST_EXPORTS) \
3267 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3268 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3269 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3270 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3272 cd $(HOST_SUBDIR)/bfd || exit 1; \
3273 case $(srcdir) in \
3274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3275 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3277 esac; \
3278 module_srcdir=bfd; \
3279 $(SHELL) $$s/$$module_srcdir/configure \
3280 --srcdir=$${topdir}/$$module_srcdir \
3281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3282 --target=${target_alias} \
3283 --with-build-libsubdir=$(HOST_SUBDIR) \
3284 $(STAGE2_CONFIGURE_FLAGS)
3285 @endif bfd-bootstrap
3287 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3288 maybe-configure-stage3-bfd:
3289 @if bfd-bootstrap
3290 maybe-configure-stage3-bfd: configure-stage3-bfd
3291 configure-stage3-bfd:
3292 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3294 @r=`${PWD_COMMAND}`; export r; \
3295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3296 TFLAGS="$(STAGE3_TFLAGS)"; \
3297 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3298 $(HOST_EXPORTS) \
3299 $(POSTSTAGE1_HOST_EXPORTS) \
3300 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3301 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3302 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3303 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3304 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3305 cd $(HOST_SUBDIR)/bfd || exit 1; \
3306 case $(srcdir) in \
3307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3308 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3310 esac; \
3311 module_srcdir=bfd; \
3312 $(SHELL) $$s/$$module_srcdir/configure \
3313 --srcdir=$${topdir}/$$module_srcdir \
3314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3315 --target=${target_alias} \
3316 --with-build-libsubdir=$(HOST_SUBDIR) \
3317 $(STAGE3_CONFIGURE_FLAGS)
3318 @endif bfd-bootstrap
3320 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3321 maybe-configure-stage4-bfd:
3322 @if bfd-bootstrap
3323 maybe-configure-stage4-bfd: configure-stage4-bfd
3324 configure-stage4-bfd:
3325 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3326 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3327 @r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 TFLAGS="$(STAGE4_TFLAGS)"; \
3330 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3331 $(HOST_EXPORTS) \
3332 $(POSTSTAGE1_HOST_EXPORTS) \
3333 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3334 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3335 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3336 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3338 cd $(HOST_SUBDIR)/bfd || exit 1; \
3339 case $(srcdir) in \
3340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3341 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3343 esac; \
3344 module_srcdir=bfd; \
3345 $(SHELL) $$s/$$module_srcdir/configure \
3346 --srcdir=$${topdir}/$$module_srcdir \
3347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3348 --target=${target_alias} \
3349 --with-build-libsubdir=$(HOST_SUBDIR) \
3350 $(STAGE4_CONFIGURE_FLAGS)
3351 @endif bfd-bootstrap
3353 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3354 maybe-configure-stageprofile-bfd:
3355 @if bfd-bootstrap
3356 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3357 configure-stageprofile-bfd:
3358 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3359 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3360 @r=`${PWD_COMMAND}`; export r; \
3361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3362 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3363 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3364 $(HOST_EXPORTS) \
3365 $(POSTSTAGE1_HOST_EXPORTS) \
3366 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3367 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3368 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3369 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3371 cd $(HOST_SUBDIR)/bfd || exit 1; \
3372 case $(srcdir) in \
3373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3374 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3376 esac; \
3377 module_srcdir=bfd; \
3378 $(SHELL) $$s/$$module_srcdir/configure \
3379 --srcdir=$${topdir}/$$module_srcdir \
3380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3381 --target=${target_alias} \
3382 --with-build-libsubdir=$(HOST_SUBDIR) \
3383 $(STAGEprofile_CONFIGURE_FLAGS)
3384 @endif bfd-bootstrap
3386 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3387 maybe-configure-stagetrain-bfd:
3388 @if bfd-bootstrap
3389 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3390 configure-stagetrain-bfd:
3391 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3393 @r=`${PWD_COMMAND}`; export r; \
3394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3395 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3396 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3397 $(HOST_EXPORTS) \
3398 $(POSTSTAGE1_HOST_EXPORTS) \
3399 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3400 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3401 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3402 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3404 cd $(HOST_SUBDIR)/bfd || exit 1; \
3405 case $(srcdir) in \
3406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3407 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3409 esac; \
3410 module_srcdir=bfd; \
3411 $(SHELL) $$s/$$module_srcdir/configure \
3412 --srcdir=$${topdir}/$$module_srcdir \
3413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3414 --target=${target_alias} \
3415 --with-build-libsubdir=$(HOST_SUBDIR) \
3416 $(STAGEtrain_CONFIGURE_FLAGS)
3417 @endif bfd-bootstrap
3419 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3420 maybe-configure-stagefeedback-bfd:
3421 @if bfd-bootstrap
3422 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3423 configure-stagefeedback-bfd:
3424 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3426 @r=`${PWD_COMMAND}`; export r; \
3427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3428 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3429 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3430 $(HOST_EXPORTS) \
3431 $(POSTSTAGE1_HOST_EXPORTS) \
3432 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3433 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3434 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3435 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3437 cd $(HOST_SUBDIR)/bfd || exit 1; \
3438 case $(srcdir) in \
3439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3440 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3442 esac; \
3443 module_srcdir=bfd; \
3444 $(SHELL) $$s/$$module_srcdir/configure \
3445 --srcdir=$${topdir}/$$module_srcdir \
3446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3447 --target=${target_alias} \
3448 --with-build-libsubdir=$(HOST_SUBDIR) \
3449 $(STAGEfeedback_CONFIGURE_FLAGS)
3450 @endif bfd-bootstrap
3452 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3453 maybe-configure-stageautoprofile-bfd:
3454 @if bfd-bootstrap
3455 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3456 configure-stageautoprofile-bfd:
3457 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3459 @r=`${PWD_COMMAND}`; export r; \
3460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3461 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3462 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3463 $(HOST_EXPORTS) \
3464 $(POSTSTAGE1_HOST_EXPORTS) \
3465 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3466 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3467 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3468 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3470 cd $(HOST_SUBDIR)/bfd || exit 1; \
3471 case $(srcdir) in \
3472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3473 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3475 esac; \
3476 module_srcdir=bfd; \
3477 $(SHELL) $$s/$$module_srcdir/configure \
3478 --srcdir=$${topdir}/$$module_srcdir \
3479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3480 --target=${target_alias} \
3481 --with-build-libsubdir=$(HOST_SUBDIR) \
3482 $(STAGEautoprofile_CONFIGURE_FLAGS)
3483 @endif bfd-bootstrap
3485 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3486 maybe-configure-stageautofeedback-bfd:
3487 @if bfd-bootstrap
3488 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3489 configure-stageautofeedback-bfd:
3490 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3492 @r=`${PWD_COMMAND}`; export r; \
3493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3494 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3495 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3496 $(HOST_EXPORTS) \
3497 $(POSTSTAGE1_HOST_EXPORTS) \
3498 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3499 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3500 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3501 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3503 cd $(HOST_SUBDIR)/bfd || exit 1; \
3504 case $(srcdir) in \
3505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3506 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3508 esac; \
3509 module_srcdir=bfd; \
3510 $(SHELL) $$s/$$module_srcdir/configure \
3511 --srcdir=$${topdir}/$$module_srcdir \
3512 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3513 --target=${target_alias} \
3514 --with-build-libsubdir=$(HOST_SUBDIR) \
3515 $(STAGEautofeedback_CONFIGURE_FLAGS)
3516 @endif bfd-bootstrap
3522 .PHONY: all-bfd maybe-all-bfd
3523 maybe-all-bfd:
3524 @if gcc-bootstrap
3525 all-bfd: stage_current
3526 @endif gcc-bootstrap
3527 @if bfd
3528 TARGET-bfd=all
3529 maybe-all-bfd: all-bfd
3530 all-bfd: configure-bfd
3531 @r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3533 $(HOST_EXPORTS) \
3534 (cd $(HOST_SUBDIR)/bfd && \
3535 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3536 $(TARGET-bfd))
3537 @endif bfd
3541 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3542 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3543 maybe-all-stage1-bfd:
3544 maybe-clean-stage1-bfd:
3545 @if bfd-bootstrap
3546 maybe-all-stage1-bfd: all-stage1-bfd
3547 all-stage1: all-stage1-bfd
3548 TARGET-stage1-bfd = $(TARGET-bfd)
3549 all-stage1-bfd: configure-stage1-bfd
3550 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3551 @r=`${PWD_COMMAND}`; export r; \
3552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3553 TFLAGS="$(STAGE1_TFLAGS)"; \
3554 $(HOST_EXPORTS) \
3555 cd $(HOST_SUBDIR)/bfd && \
3557 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3558 CFLAGS="$(STAGE1_CFLAGS)" \
3559 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3560 LIBCFLAGS="$(LIBCFLAGS)" \
3561 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3562 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3563 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3564 $(EXTRA_HOST_FLAGS) \
3565 $(STAGE1_FLAGS_TO_PASS) \
3566 TFLAGS="$(STAGE1_TFLAGS)" \
3567 $(TARGET-stage1-bfd)
3569 maybe-clean-stage1-bfd: clean-stage1-bfd
3570 clean-stage1: clean-stage1-bfd
3571 clean-stage1-bfd:
3572 @if [ $(current_stage) = stage1 ]; then \
3573 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3574 else \
3575 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3576 $(MAKE) stage1-start; \
3577 fi; \
3578 cd $(HOST_SUBDIR)/bfd && \
3579 $(MAKE) $(EXTRA_HOST_FLAGS) \
3580 $(STAGE1_FLAGS_TO_PASS) clean
3581 @endif bfd-bootstrap
3584 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3585 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3586 maybe-all-stage2-bfd:
3587 maybe-clean-stage2-bfd:
3588 @if bfd-bootstrap
3589 maybe-all-stage2-bfd: all-stage2-bfd
3590 all-stage2: all-stage2-bfd
3591 TARGET-stage2-bfd = $(TARGET-bfd)
3592 all-stage2-bfd: configure-stage2-bfd
3593 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3594 @r=`${PWD_COMMAND}`; export r; \
3595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3596 TFLAGS="$(STAGE2_TFLAGS)"; \
3597 $(HOST_EXPORTS) \
3598 $(POSTSTAGE1_HOST_EXPORTS) \
3599 cd $(HOST_SUBDIR)/bfd && \
3601 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3602 CFLAGS="$(STAGE2_CFLAGS)" \
3603 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3604 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3605 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3606 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3607 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3608 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3609 TFLAGS="$(STAGE2_TFLAGS)" \
3610 $(TARGET-stage2-bfd)
3612 maybe-clean-stage2-bfd: clean-stage2-bfd
3613 clean-stage2: clean-stage2-bfd
3614 clean-stage2-bfd:
3615 @if [ $(current_stage) = stage2 ]; then \
3616 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3617 else \
3618 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3619 $(MAKE) stage2-start; \
3620 fi; \
3621 cd $(HOST_SUBDIR)/bfd && \
3622 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3623 @endif bfd-bootstrap
3626 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3627 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3628 maybe-all-stage3-bfd:
3629 maybe-clean-stage3-bfd:
3630 @if bfd-bootstrap
3631 maybe-all-stage3-bfd: all-stage3-bfd
3632 all-stage3: all-stage3-bfd
3633 TARGET-stage3-bfd = $(TARGET-bfd)
3634 all-stage3-bfd: configure-stage3-bfd
3635 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3636 @r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3638 TFLAGS="$(STAGE3_TFLAGS)"; \
3639 $(HOST_EXPORTS) \
3640 $(POSTSTAGE1_HOST_EXPORTS) \
3641 cd $(HOST_SUBDIR)/bfd && \
3643 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3644 CFLAGS="$(STAGE3_CFLAGS)" \
3645 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3646 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3647 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3648 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3649 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3650 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3651 TFLAGS="$(STAGE3_TFLAGS)" \
3652 $(TARGET-stage3-bfd)
3654 maybe-clean-stage3-bfd: clean-stage3-bfd
3655 clean-stage3: clean-stage3-bfd
3656 clean-stage3-bfd:
3657 @if [ $(current_stage) = stage3 ]; then \
3658 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3659 else \
3660 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3661 $(MAKE) stage3-start; \
3662 fi; \
3663 cd $(HOST_SUBDIR)/bfd && \
3664 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3665 @endif bfd-bootstrap
3668 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3669 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3670 maybe-all-stage4-bfd:
3671 maybe-clean-stage4-bfd:
3672 @if bfd-bootstrap
3673 maybe-all-stage4-bfd: all-stage4-bfd
3674 all-stage4: all-stage4-bfd
3675 TARGET-stage4-bfd = $(TARGET-bfd)
3676 all-stage4-bfd: configure-stage4-bfd
3677 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3678 @r=`${PWD_COMMAND}`; export r; \
3679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3680 TFLAGS="$(STAGE4_TFLAGS)"; \
3681 $(HOST_EXPORTS) \
3682 $(POSTSTAGE1_HOST_EXPORTS) \
3683 cd $(HOST_SUBDIR)/bfd && \
3685 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3686 CFLAGS="$(STAGE4_CFLAGS)" \
3687 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3688 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3692 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3693 TFLAGS="$(STAGE4_TFLAGS)" \
3694 $(TARGET-stage4-bfd)
3696 maybe-clean-stage4-bfd: clean-stage4-bfd
3697 clean-stage4: clean-stage4-bfd
3698 clean-stage4-bfd:
3699 @if [ $(current_stage) = stage4 ]; then \
3700 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3701 else \
3702 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3703 $(MAKE) stage4-start; \
3704 fi; \
3705 cd $(HOST_SUBDIR)/bfd && \
3706 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3707 @endif bfd-bootstrap
3710 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3711 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3712 maybe-all-stageprofile-bfd:
3713 maybe-clean-stageprofile-bfd:
3714 @if bfd-bootstrap
3715 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3716 all-stageprofile: all-stageprofile-bfd
3717 TARGET-stageprofile-bfd = $(TARGET-bfd)
3718 all-stageprofile-bfd: configure-stageprofile-bfd
3719 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3720 @r=`${PWD_COMMAND}`; export r; \
3721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3722 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3723 $(HOST_EXPORTS) \
3724 $(POSTSTAGE1_HOST_EXPORTS) \
3725 cd $(HOST_SUBDIR)/bfd && \
3727 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3728 CFLAGS="$(STAGEprofile_CFLAGS)" \
3729 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3730 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3731 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3732 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3733 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3734 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3735 TFLAGS="$(STAGEprofile_TFLAGS)" \
3736 $(TARGET-stageprofile-bfd)
3738 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3739 clean-stageprofile: clean-stageprofile-bfd
3740 clean-stageprofile-bfd:
3741 @if [ $(current_stage) = stageprofile ]; then \
3742 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3743 else \
3744 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3745 $(MAKE) stageprofile-start; \
3746 fi; \
3747 cd $(HOST_SUBDIR)/bfd && \
3748 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3749 @endif bfd-bootstrap
3752 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3753 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3754 maybe-all-stagetrain-bfd:
3755 maybe-clean-stagetrain-bfd:
3756 @if bfd-bootstrap
3757 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3758 all-stagetrain: all-stagetrain-bfd
3759 TARGET-stagetrain-bfd = $(TARGET-bfd)
3760 all-stagetrain-bfd: configure-stagetrain-bfd
3761 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3762 @r=`${PWD_COMMAND}`; export r; \
3763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3765 $(HOST_EXPORTS) \
3766 $(POSTSTAGE1_HOST_EXPORTS) \
3767 cd $(HOST_SUBDIR)/bfd && \
3769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3770 CFLAGS="$(STAGEtrain_CFLAGS)" \
3771 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3772 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3776 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3777 TFLAGS="$(STAGEtrain_TFLAGS)" \
3778 $(TARGET-stagetrain-bfd)
3780 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3781 clean-stagetrain: clean-stagetrain-bfd
3782 clean-stagetrain-bfd:
3783 @if [ $(current_stage) = stagetrain ]; then \
3784 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3785 else \
3786 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3787 $(MAKE) stagetrain-start; \
3788 fi; \
3789 cd $(HOST_SUBDIR)/bfd && \
3790 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3791 @endif bfd-bootstrap
3794 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3795 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3796 maybe-all-stagefeedback-bfd:
3797 maybe-clean-stagefeedback-bfd:
3798 @if bfd-bootstrap
3799 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3800 all-stagefeedback: all-stagefeedback-bfd
3801 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3802 all-stagefeedback-bfd: configure-stagefeedback-bfd
3803 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3804 @r=`${PWD_COMMAND}`; export r; \
3805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3806 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3807 $(HOST_EXPORTS) \
3808 $(POSTSTAGE1_HOST_EXPORTS) \
3809 cd $(HOST_SUBDIR)/bfd && \
3811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3812 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3813 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3814 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3819 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3820 $(TARGET-stagefeedback-bfd)
3822 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3823 clean-stagefeedback: clean-stagefeedback-bfd
3824 clean-stagefeedback-bfd:
3825 @if [ $(current_stage) = stagefeedback ]; then \
3826 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3827 else \
3828 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3829 $(MAKE) stagefeedback-start; \
3830 fi; \
3831 cd $(HOST_SUBDIR)/bfd && \
3832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3833 @endif bfd-bootstrap
3836 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3837 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3838 maybe-all-stageautoprofile-bfd:
3839 maybe-clean-stageautoprofile-bfd:
3840 @if bfd-bootstrap
3841 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3842 all-stageautoprofile: all-stageautoprofile-bfd
3843 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3844 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3845 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3846 @r=`${PWD_COMMAND}`; export r; \
3847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3848 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3849 $(HOST_EXPORTS) \
3850 $(POSTSTAGE1_HOST_EXPORTS) \
3851 cd $(HOST_SUBDIR)/bfd && \
3852 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3854 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3855 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3856 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3860 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3861 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3862 $(TARGET-stageautoprofile-bfd)
3864 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3865 clean-stageautoprofile: clean-stageautoprofile-bfd
3866 clean-stageautoprofile-bfd:
3867 @if [ $(current_stage) = stageautoprofile ]; then \
3868 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3869 else \
3870 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3871 $(MAKE) stageautoprofile-start; \
3872 fi; \
3873 cd $(HOST_SUBDIR)/bfd && \
3874 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3875 @endif bfd-bootstrap
3878 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3879 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3880 maybe-all-stageautofeedback-bfd:
3881 maybe-clean-stageautofeedback-bfd:
3882 @if bfd-bootstrap
3883 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3884 all-stageautofeedback: all-stageautofeedback-bfd
3885 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3886 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3887 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3888 @r=`${PWD_COMMAND}`; export r; \
3889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3890 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3891 $(HOST_EXPORTS) \
3892 $(POSTSTAGE1_HOST_EXPORTS) \
3893 cd $(HOST_SUBDIR)/bfd && \
3895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3896 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3897 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3898 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3903 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3904 $(TARGET-stageautofeedback-bfd)
3906 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3907 clean-stageautofeedback: clean-stageautofeedback-bfd
3908 clean-stageautofeedback-bfd:
3909 @if [ $(current_stage) = stageautofeedback ]; then \
3910 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3911 else \
3912 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3913 $(MAKE) stageautofeedback-start; \
3914 fi; \
3915 cd $(HOST_SUBDIR)/bfd && \
3916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3917 @endif bfd-bootstrap
3923 .PHONY: check-bfd maybe-check-bfd
3924 maybe-check-bfd:
3925 @if bfd
3926 maybe-check-bfd: check-bfd
3928 check-bfd:
3929 @: $(MAKE); $(unstage)
3930 @r=`${PWD_COMMAND}`; export r; \
3931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3932 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3933 (cd $(HOST_SUBDIR)/bfd && \
3934 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3936 @endif bfd
3938 .PHONY: install-bfd maybe-install-bfd
3939 maybe-install-bfd:
3940 @if bfd
3941 maybe-install-bfd: install-bfd
3943 install-bfd: installdirs
3944 @: $(MAKE); $(unstage)
3945 @r=`${PWD_COMMAND}`; export r; \
3946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3947 $(HOST_EXPORTS) \
3948 (cd $(HOST_SUBDIR)/bfd && \
3949 $(MAKE) $(FLAGS_TO_PASS) install)
3951 @endif bfd
3953 .PHONY: install-strip-bfd maybe-install-strip-bfd
3954 maybe-install-strip-bfd:
3955 @if bfd
3956 maybe-install-strip-bfd: install-strip-bfd
3958 install-strip-bfd: installdirs
3959 @: $(MAKE); $(unstage)
3960 @r=`${PWD_COMMAND}`; export r; \
3961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3962 $(HOST_EXPORTS) \
3963 (cd $(HOST_SUBDIR)/bfd && \
3964 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3966 @endif bfd
3968 # Other targets (info, dvi, pdf, etc.)
3970 .PHONY: maybe-info-bfd info-bfd
3971 maybe-info-bfd:
3972 @if bfd
3973 maybe-info-bfd: info-bfd
3975 info-bfd: \
3976 configure-bfd
3977 @[ -f ./bfd/Makefile ] || exit 0; \
3978 r=`${PWD_COMMAND}`; export r; \
3979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3980 $(HOST_EXPORTS) \
3981 for flag in $(EXTRA_HOST_FLAGS) ; do \
3982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3983 done; \
3984 echo "Doing info in bfd"; \
3985 (cd $(HOST_SUBDIR)/bfd && \
3986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3988 "RANLIB=$${RANLIB}" \
3989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3990 info) \
3991 || exit 1
3993 @endif bfd
3995 .PHONY: maybe-dvi-bfd dvi-bfd
3996 maybe-dvi-bfd:
3997 @if bfd
3998 maybe-dvi-bfd: dvi-bfd
4000 dvi-bfd: \
4001 configure-bfd
4002 @[ -f ./bfd/Makefile ] || exit 0; \
4003 r=`${PWD_COMMAND}`; export r; \
4004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4005 $(HOST_EXPORTS) \
4006 for flag in $(EXTRA_HOST_FLAGS) ; do \
4007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4008 done; \
4009 echo "Doing dvi in bfd"; \
4010 (cd $(HOST_SUBDIR)/bfd && \
4011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4013 "RANLIB=$${RANLIB}" \
4014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4015 dvi) \
4016 || exit 1
4018 @endif bfd
4020 .PHONY: maybe-pdf-bfd pdf-bfd
4021 maybe-pdf-bfd:
4022 @if bfd
4023 maybe-pdf-bfd: pdf-bfd
4025 pdf-bfd: \
4026 configure-bfd
4027 @[ -f ./bfd/Makefile ] || exit 0; \
4028 r=`${PWD_COMMAND}`; export r; \
4029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4030 $(HOST_EXPORTS) \
4031 for flag in $(EXTRA_HOST_FLAGS) ; do \
4032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4033 done; \
4034 echo "Doing pdf in bfd"; \
4035 (cd $(HOST_SUBDIR)/bfd && \
4036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4038 "RANLIB=$${RANLIB}" \
4039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4040 pdf) \
4041 || exit 1
4043 @endif bfd
4045 .PHONY: maybe-html-bfd html-bfd
4046 maybe-html-bfd:
4047 @if bfd
4048 maybe-html-bfd: html-bfd
4050 html-bfd: \
4051 configure-bfd
4052 @[ -f ./bfd/Makefile ] || exit 0; \
4053 r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4055 $(HOST_EXPORTS) \
4056 for flag in $(EXTRA_HOST_FLAGS) ; do \
4057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4058 done; \
4059 echo "Doing html in bfd"; \
4060 (cd $(HOST_SUBDIR)/bfd && \
4061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4063 "RANLIB=$${RANLIB}" \
4064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4065 html) \
4066 || exit 1
4068 @endif bfd
4070 .PHONY: maybe-TAGS-bfd TAGS-bfd
4071 maybe-TAGS-bfd:
4072 @if bfd
4073 maybe-TAGS-bfd: TAGS-bfd
4075 TAGS-bfd: \
4076 configure-bfd
4077 @[ -f ./bfd/Makefile ] || exit 0; \
4078 r=`${PWD_COMMAND}`; export r; \
4079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4080 $(HOST_EXPORTS) \
4081 for flag in $(EXTRA_HOST_FLAGS) ; do \
4082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4083 done; \
4084 echo "Doing TAGS in bfd"; \
4085 (cd $(HOST_SUBDIR)/bfd && \
4086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4088 "RANLIB=$${RANLIB}" \
4089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4090 TAGS) \
4091 || exit 1
4093 @endif bfd
4095 .PHONY: maybe-install-info-bfd install-info-bfd
4096 maybe-install-info-bfd:
4097 @if bfd
4098 maybe-install-info-bfd: install-info-bfd
4100 install-info-bfd: \
4101 configure-bfd \
4102 info-bfd
4103 @[ -f ./bfd/Makefile ] || exit 0; \
4104 r=`${PWD_COMMAND}`; export r; \
4105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4106 $(HOST_EXPORTS) \
4107 for flag in $(EXTRA_HOST_FLAGS) ; do \
4108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4109 done; \
4110 echo "Doing install-info in bfd"; \
4111 (cd $(HOST_SUBDIR)/bfd && \
4112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4114 "RANLIB=$${RANLIB}" \
4115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4116 install-info) \
4117 || exit 1
4119 @endif bfd
4121 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4122 maybe-install-pdf-bfd:
4123 @if bfd
4124 maybe-install-pdf-bfd: install-pdf-bfd
4126 install-pdf-bfd: \
4127 configure-bfd \
4128 pdf-bfd
4129 @[ -f ./bfd/Makefile ] || exit 0; \
4130 r=`${PWD_COMMAND}`; export r; \
4131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4132 $(HOST_EXPORTS) \
4133 for flag in $(EXTRA_HOST_FLAGS) ; do \
4134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4135 done; \
4136 echo "Doing install-pdf in bfd"; \
4137 (cd $(HOST_SUBDIR)/bfd && \
4138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4140 "RANLIB=$${RANLIB}" \
4141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4142 install-pdf) \
4143 || exit 1
4145 @endif bfd
4147 .PHONY: maybe-install-html-bfd install-html-bfd
4148 maybe-install-html-bfd:
4149 @if bfd
4150 maybe-install-html-bfd: install-html-bfd
4152 install-html-bfd: \
4153 configure-bfd \
4154 html-bfd
4155 @[ -f ./bfd/Makefile ] || exit 0; \
4156 r=`${PWD_COMMAND}`; export r; \
4157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4158 $(HOST_EXPORTS) \
4159 for flag in $(EXTRA_HOST_FLAGS) ; do \
4160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4161 done; \
4162 echo "Doing install-html in bfd"; \
4163 (cd $(HOST_SUBDIR)/bfd && \
4164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4166 "RANLIB=$${RANLIB}" \
4167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4168 install-html) \
4169 || exit 1
4171 @endif bfd
4173 .PHONY: maybe-installcheck-bfd installcheck-bfd
4174 maybe-installcheck-bfd:
4175 @if bfd
4176 maybe-installcheck-bfd: installcheck-bfd
4178 installcheck-bfd: \
4179 configure-bfd
4180 @[ -f ./bfd/Makefile ] || exit 0; \
4181 r=`${PWD_COMMAND}`; export r; \
4182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4183 $(HOST_EXPORTS) \
4184 for flag in $(EXTRA_HOST_FLAGS) ; do \
4185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4186 done; \
4187 echo "Doing installcheck in bfd"; \
4188 (cd $(HOST_SUBDIR)/bfd && \
4189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4191 "RANLIB=$${RANLIB}" \
4192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4193 installcheck) \
4194 || exit 1
4196 @endif bfd
4198 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4199 maybe-mostlyclean-bfd:
4200 @if bfd
4201 maybe-mostlyclean-bfd: mostlyclean-bfd
4203 mostlyclean-bfd:
4204 @[ -f ./bfd/Makefile ] || exit 0; \
4205 r=`${PWD_COMMAND}`; export r; \
4206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4207 $(HOST_EXPORTS) \
4208 for flag in $(EXTRA_HOST_FLAGS) ; do \
4209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4210 done; \
4211 echo "Doing mostlyclean in bfd"; \
4212 (cd $(HOST_SUBDIR)/bfd && \
4213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4215 "RANLIB=$${RANLIB}" \
4216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4217 mostlyclean) \
4218 || exit 1
4220 @endif bfd
4222 .PHONY: maybe-clean-bfd clean-bfd
4223 maybe-clean-bfd:
4224 @if bfd
4225 maybe-clean-bfd: clean-bfd
4227 clean-bfd:
4228 @[ -f ./bfd/Makefile ] || exit 0; \
4229 r=`${PWD_COMMAND}`; export r; \
4230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4231 $(HOST_EXPORTS) \
4232 for flag in $(EXTRA_HOST_FLAGS) ; do \
4233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4234 done; \
4235 echo "Doing clean in bfd"; \
4236 (cd $(HOST_SUBDIR)/bfd && \
4237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4239 "RANLIB=$${RANLIB}" \
4240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4241 clean) \
4242 || exit 1
4244 @endif bfd
4246 .PHONY: maybe-distclean-bfd distclean-bfd
4247 maybe-distclean-bfd:
4248 @if bfd
4249 maybe-distclean-bfd: distclean-bfd
4251 distclean-bfd:
4252 @[ -f ./bfd/Makefile ] || exit 0; \
4253 r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4255 $(HOST_EXPORTS) \
4256 for flag in $(EXTRA_HOST_FLAGS) ; do \
4257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4258 done; \
4259 echo "Doing distclean in bfd"; \
4260 (cd $(HOST_SUBDIR)/bfd && \
4261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4263 "RANLIB=$${RANLIB}" \
4264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4265 distclean) \
4266 || exit 1
4268 @endif bfd
4270 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4271 maybe-maintainer-clean-bfd:
4272 @if bfd
4273 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4275 maintainer-clean-bfd:
4276 @[ -f ./bfd/Makefile ] || exit 0; \
4277 r=`${PWD_COMMAND}`; export r; \
4278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4279 $(HOST_EXPORTS) \
4280 for flag in $(EXTRA_HOST_FLAGS) ; do \
4281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4282 done; \
4283 echo "Doing maintainer-clean in bfd"; \
4284 (cd $(HOST_SUBDIR)/bfd && \
4285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4287 "RANLIB=$${RANLIB}" \
4288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4289 maintainer-clean) \
4290 || exit 1
4292 @endif bfd
4296 .PHONY: configure-opcodes maybe-configure-opcodes
4297 maybe-configure-opcodes:
4298 @if gcc-bootstrap
4299 configure-opcodes: stage_current
4300 @endif gcc-bootstrap
4301 @if opcodes
4302 maybe-configure-opcodes: configure-opcodes
4303 configure-opcodes:
4304 @r=`${PWD_COMMAND}`; export r; \
4305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4306 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4308 $(HOST_EXPORTS) \
4309 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4310 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4311 case $(srcdir) in \
4312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4313 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4315 esac; \
4316 module_srcdir=opcodes; \
4317 $(SHELL) \
4318 $$s/$$module_srcdir/configure \
4319 --srcdir=$${topdir}/$$module_srcdir \
4320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4321 --target=${target_alias} \
4322 || exit 1
4323 @endif opcodes
4327 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4328 maybe-configure-stage1-opcodes:
4329 @if opcodes-bootstrap
4330 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4331 configure-stage1-opcodes:
4332 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4334 @r=`${PWD_COMMAND}`; export r; \
4335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4336 TFLAGS="$(STAGE1_TFLAGS)"; \
4337 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4338 $(HOST_EXPORTS) \
4339 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4340 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4341 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4342 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4344 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4345 case $(srcdir) in \
4346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4347 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4349 esac; \
4350 module_srcdir=opcodes; \
4351 $(SHELL) $$s/$$module_srcdir/configure \
4352 --srcdir=$${topdir}/$$module_srcdir \
4353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4354 --target=${target_alias} \
4356 $(STAGE1_CONFIGURE_FLAGS)
4357 @endif opcodes-bootstrap
4359 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4360 maybe-configure-stage2-opcodes:
4361 @if opcodes-bootstrap
4362 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4363 configure-stage2-opcodes:
4364 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4366 @r=`${PWD_COMMAND}`; export r; \
4367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4368 TFLAGS="$(STAGE2_TFLAGS)"; \
4369 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4370 $(HOST_EXPORTS) \
4371 $(POSTSTAGE1_HOST_EXPORTS) \
4372 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4373 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4374 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4375 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4377 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4378 case $(srcdir) in \
4379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4380 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4382 esac; \
4383 module_srcdir=opcodes; \
4384 $(SHELL) $$s/$$module_srcdir/configure \
4385 --srcdir=$${topdir}/$$module_srcdir \
4386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4387 --target=${target_alias} \
4388 --with-build-libsubdir=$(HOST_SUBDIR) \
4389 $(STAGE2_CONFIGURE_FLAGS)
4390 @endif opcodes-bootstrap
4392 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4393 maybe-configure-stage3-opcodes:
4394 @if opcodes-bootstrap
4395 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4396 configure-stage3-opcodes:
4397 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4398 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4399 @r=`${PWD_COMMAND}`; export r; \
4400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4401 TFLAGS="$(STAGE3_TFLAGS)"; \
4402 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4403 $(HOST_EXPORTS) \
4404 $(POSTSTAGE1_HOST_EXPORTS) \
4405 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4406 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4407 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4408 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4410 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4411 case $(srcdir) in \
4412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4413 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4415 esac; \
4416 module_srcdir=opcodes; \
4417 $(SHELL) $$s/$$module_srcdir/configure \
4418 --srcdir=$${topdir}/$$module_srcdir \
4419 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4420 --target=${target_alias} \
4421 --with-build-libsubdir=$(HOST_SUBDIR) \
4422 $(STAGE3_CONFIGURE_FLAGS)
4423 @endif opcodes-bootstrap
4425 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4426 maybe-configure-stage4-opcodes:
4427 @if opcodes-bootstrap
4428 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4429 configure-stage4-opcodes:
4430 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4432 @r=`${PWD_COMMAND}`; export r; \
4433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4434 TFLAGS="$(STAGE4_TFLAGS)"; \
4435 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4436 $(HOST_EXPORTS) \
4437 $(POSTSTAGE1_HOST_EXPORTS) \
4438 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4439 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4440 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4441 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4443 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4444 case $(srcdir) in \
4445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4446 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4448 esac; \
4449 module_srcdir=opcodes; \
4450 $(SHELL) $$s/$$module_srcdir/configure \
4451 --srcdir=$${topdir}/$$module_srcdir \
4452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4453 --target=${target_alias} \
4454 --with-build-libsubdir=$(HOST_SUBDIR) \
4455 $(STAGE4_CONFIGURE_FLAGS)
4456 @endif opcodes-bootstrap
4458 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4459 maybe-configure-stageprofile-opcodes:
4460 @if opcodes-bootstrap
4461 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4462 configure-stageprofile-opcodes:
4463 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4464 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4465 @r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4468 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4469 $(HOST_EXPORTS) \
4470 $(POSTSTAGE1_HOST_EXPORTS) \
4471 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4472 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4473 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4474 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4476 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4477 case $(srcdir) in \
4478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4479 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4481 esac; \
4482 module_srcdir=opcodes; \
4483 $(SHELL) $$s/$$module_srcdir/configure \
4484 --srcdir=$${topdir}/$$module_srcdir \
4485 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4486 --target=${target_alias} \
4487 --with-build-libsubdir=$(HOST_SUBDIR) \
4488 $(STAGEprofile_CONFIGURE_FLAGS)
4489 @endif opcodes-bootstrap
4491 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4492 maybe-configure-stagetrain-opcodes:
4493 @if opcodes-bootstrap
4494 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4495 configure-stagetrain-opcodes:
4496 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4497 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4498 @r=`${PWD_COMMAND}`; export r; \
4499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4500 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4501 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4502 $(HOST_EXPORTS) \
4503 $(POSTSTAGE1_HOST_EXPORTS) \
4504 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4505 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4506 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4507 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4509 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4510 case $(srcdir) in \
4511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4512 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4514 esac; \
4515 module_srcdir=opcodes; \
4516 $(SHELL) $$s/$$module_srcdir/configure \
4517 --srcdir=$${topdir}/$$module_srcdir \
4518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4519 --target=${target_alias} \
4520 --with-build-libsubdir=$(HOST_SUBDIR) \
4521 $(STAGEtrain_CONFIGURE_FLAGS)
4522 @endif opcodes-bootstrap
4524 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4525 maybe-configure-stagefeedback-opcodes:
4526 @if opcodes-bootstrap
4527 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4528 configure-stagefeedback-opcodes:
4529 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4530 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4531 @r=`${PWD_COMMAND}`; export r; \
4532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4533 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4534 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4535 $(HOST_EXPORTS) \
4536 $(POSTSTAGE1_HOST_EXPORTS) \
4537 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4538 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4539 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4540 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4542 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4543 case $(srcdir) in \
4544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4545 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4547 esac; \
4548 module_srcdir=opcodes; \
4549 $(SHELL) $$s/$$module_srcdir/configure \
4550 --srcdir=$${topdir}/$$module_srcdir \
4551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4552 --target=${target_alias} \
4553 --with-build-libsubdir=$(HOST_SUBDIR) \
4554 $(STAGEfeedback_CONFIGURE_FLAGS)
4555 @endif opcodes-bootstrap
4557 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4558 maybe-configure-stageautoprofile-opcodes:
4559 @if opcodes-bootstrap
4560 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4561 configure-stageautoprofile-opcodes:
4562 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4563 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4564 @r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4566 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4567 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4568 $(HOST_EXPORTS) \
4569 $(POSTSTAGE1_HOST_EXPORTS) \
4570 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4571 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4572 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4573 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4575 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4576 case $(srcdir) in \
4577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4578 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4580 esac; \
4581 module_srcdir=opcodes; \
4582 $(SHELL) $$s/$$module_srcdir/configure \
4583 --srcdir=$${topdir}/$$module_srcdir \
4584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4585 --target=${target_alias} \
4586 --with-build-libsubdir=$(HOST_SUBDIR) \
4587 $(STAGEautoprofile_CONFIGURE_FLAGS)
4588 @endif opcodes-bootstrap
4590 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4591 maybe-configure-stageautofeedback-opcodes:
4592 @if opcodes-bootstrap
4593 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4594 configure-stageautofeedback-opcodes:
4595 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4596 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4597 @r=`${PWD_COMMAND}`; export r; \
4598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4599 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4600 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4601 $(HOST_EXPORTS) \
4602 $(POSTSTAGE1_HOST_EXPORTS) \
4603 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4604 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4605 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4606 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4608 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4609 case $(srcdir) in \
4610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4611 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4613 esac; \
4614 module_srcdir=opcodes; \
4615 $(SHELL) $$s/$$module_srcdir/configure \
4616 --srcdir=$${topdir}/$$module_srcdir \
4617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4618 --target=${target_alias} \
4619 --with-build-libsubdir=$(HOST_SUBDIR) \
4620 $(STAGEautofeedback_CONFIGURE_FLAGS)
4621 @endif opcodes-bootstrap
4627 .PHONY: all-opcodes maybe-all-opcodes
4628 maybe-all-opcodes:
4629 @if gcc-bootstrap
4630 all-opcodes: stage_current
4631 @endif gcc-bootstrap
4632 @if opcodes
4633 TARGET-opcodes=all
4634 maybe-all-opcodes: all-opcodes
4635 all-opcodes: configure-opcodes
4636 @r=`${PWD_COMMAND}`; export r; \
4637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4638 $(HOST_EXPORTS) \
4639 (cd $(HOST_SUBDIR)/opcodes && \
4640 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4641 $(TARGET-opcodes))
4642 @endif opcodes
4646 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4647 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4648 maybe-all-stage1-opcodes:
4649 maybe-clean-stage1-opcodes:
4650 @if opcodes-bootstrap
4651 maybe-all-stage1-opcodes: all-stage1-opcodes
4652 all-stage1: all-stage1-opcodes
4653 TARGET-stage1-opcodes = $(TARGET-opcodes)
4654 all-stage1-opcodes: configure-stage1-opcodes
4655 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4656 @r=`${PWD_COMMAND}`; export r; \
4657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4658 TFLAGS="$(STAGE1_TFLAGS)"; \
4659 $(HOST_EXPORTS) \
4660 cd $(HOST_SUBDIR)/opcodes && \
4662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4663 CFLAGS="$(STAGE1_CFLAGS)" \
4664 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4665 LIBCFLAGS="$(LIBCFLAGS)" \
4666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4669 $(EXTRA_HOST_FLAGS) \
4670 $(STAGE1_FLAGS_TO_PASS) \
4671 TFLAGS="$(STAGE1_TFLAGS)" \
4672 $(TARGET-stage1-opcodes)
4674 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4675 clean-stage1: clean-stage1-opcodes
4676 clean-stage1-opcodes:
4677 @if [ $(current_stage) = stage1 ]; then \
4678 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4679 else \
4680 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4681 $(MAKE) stage1-start; \
4682 fi; \
4683 cd $(HOST_SUBDIR)/opcodes && \
4684 $(MAKE) $(EXTRA_HOST_FLAGS) \
4685 $(STAGE1_FLAGS_TO_PASS) clean
4686 @endif opcodes-bootstrap
4689 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4690 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4691 maybe-all-stage2-opcodes:
4692 maybe-clean-stage2-opcodes:
4693 @if opcodes-bootstrap
4694 maybe-all-stage2-opcodes: all-stage2-opcodes
4695 all-stage2: all-stage2-opcodes
4696 TARGET-stage2-opcodes = $(TARGET-opcodes)
4697 all-stage2-opcodes: configure-stage2-opcodes
4698 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4699 @r=`${PWD_COMMAND}`; export r; \
4700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4701 TFLAGS="$(STAGE2_TFLAGS)"; \
4702 $(HOST_EXPORTS) \
4703 $(POSTSTAGE1_HOST_EXPORTS) \
4704 cd $(HOST_SUBDIR)/opcodes && \
4706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4707 CFLAGS="$(STAGE2_CFLAGS)" \
4708 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4709 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4714 TFLAGS="$(STAGE2_TFLAGS)" \
4715 $(TARGET-stage2-opcodes)
4717 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4718 clean-stage2: clean-stage2-opcodes
4719 clean-stage2-opcodes:
4720 @if [ $(current_stage) = stage2 ]; then \
4721 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4722 else \
4723 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4724 $(MAKE) stage2-start; \
4725 fi; \
4726 cd $(HOST_SUBDIR)/opcodes && \
4727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4728 @endif opcodes-bootstrap
4731 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4732 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4733 maybe-all-stage3-opcodes:
4734 maybe-clean-stage3-opcodes:
4735 @if opcodes-bootstrap
4736 maybe-all-stage3-opcodes: all-stage3-opcodes
4737 all-stage3: all-stage3-opcodes
4738 TARGET-stage3-opcodes = $(TARGET-opcodes)
4739 all-stage3-opcodes: configure-stage3-opcodes
4740 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4741 @r=`${PWD_COMMAND}`; export r; \
4742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4743 TFLAGS="$(STAGE3_TFLAGS)"; \
4744 $(HOST_EXPORTS) \
4745 $(POSTSTAGE1_HOST_EXPORTS) \
4746 cd $(HOST_SUBDIR)/opcodes && \
4748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4749 CFLAGS="$(STAGE3_CFLAGS)" \
4750 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4751 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4756 TFLAGS="$(STAGE3_TFLAGS)" \
4757 $(TARGET-stage3-opcodes)
4759 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4760 clean-stage3: clean-stage3-opcodes
4761 clean-stage3-opcodes:
4762 @if [ $(current_stage) = stage3 ]; then \
4763 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4764 else \
4765 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4766 $(MAKE) stage3-start; \
4767 fi; \
4768 cd $(HOST_SUBDIR)/opcodes && \
4769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4770 @endif opcodes-bootstrap
4773 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4774 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4775 maybe-all-stage4-opcodes:
4776 maybe-clean-stage4-opcodes:
4777 @if opcodes-bootstrap
4778 maybe-all-stage4-opcodes: all-stage4-opcodes
4779 all-stage4: all-stage4-opcodes
4780 TARGET-stage4-opcodes = $(TARGET-opcodes)
4781 all-stage4-opcodes: configure-stage4-opcodes
4782 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4783 @r=`${PWD_COMMAND}`; export r; \
4784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4785 TFLAGS="$(STAGE4_TFLAGS)"; \
4786 $(HOST_EXPORTS) \
4787 $(POSTSTAGE1_HOST_EXPORTS) \
4788 cd $(HOST_SUBDIR)/opcodes && \
4790 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4791 CFLAGS="$(STAGE4_CFLAGS)" \
4792 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4793 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4794 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4795 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4796 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4797 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4798 TFLAGS="$(STAGE4_TFLAGS)" \
4799 $(TARGET-stage4-opcodes)
4801 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4802 clean-stage4: clean-stage4-opcodes
4803 clean-stage4-opcodes:
4804 @if [ $(current_stage) = stage4 ]; then \
4805 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4806 else \
4807 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4808 $(MAKE) stage4-start; \
4809 fi; \
4810 cd $(HOST_SUBDIR)/opcodes && \
4811 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4812 @endif opcodes-bootstrap
4815 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4816 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4817 maybe-all-stageprofile-opcodes:
4818 maybe-clean-stageprofile-opcodes:
4819 @if opcodes-bootstrap
4820 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4821 all-stageprofile: all-stageprofile-opcodes
4822 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4823 all-stageprofile-opcodes: configure-stageprofile-opcodes
4824 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4825 @r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4828 $(HOST_EXPORTS) \
4829 $(POSTSTAGE1_HOST_EXPORTS) \
4830 cd $(HOST_SUBDIR)/opcodes && \
4832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4833 CFLAGS="$(STAGEprofile_CFLAGS)" \
4834 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4835 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4840 TFLAGS="$(STAGEprofile_TFLAGS)" \
4841 $(TARGET-stageprofile-opcodes)
4843 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4844 clean-stageprofile: clean-stageprofile-opcodes
4845 clean-stageprofile-opcodes:
4846 @if [ $(current_stage) = stageprofile ]; then \
4847 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4848 else \
4849 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4850 $(MAKE) stageprofile-start; \
4851 fi; \
4852 cd $(HOST_SUBDIR)/opcodes && \
4853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4854 @endif opcodes-bootstrap
4857 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4858 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4859 maybe-all-stagetrain-opcodes:
4860 maybe-clean-stagetrain-opcodes:
4861 @if opcodes-bootstrap
4862 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4863 all-stagetrain: all-stagetrain-opcodes
4864 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4865 all-stagetrain-opcodes: configure-stagetrain-opcodes
4866 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4867 @r=`${PWD_COMMAND}`; export r; \
4868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4869 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4870 $(HOST_EXPORTS) \
4871 $(POSTSTAGE1_HOST_EXPORTS) \
4872 cd $(HOST_SUBDIR)/opcodes && \
4874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4875 CFLAGS="$(STAGEtrain_CFLAGS)" \
4876 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4877 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4878 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4879 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4880 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4881 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4882 TFLAGS="$(STAGEtrain_TFLAGS)" \
4883 $(TARGET-stagetrain-opcodes)
4885 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4886 clean-stagetrain: clean-stagetrain-opcodes
4887 clean-stagetrain-opcodes:
4888 @if [ $(current_stage) = stagetrain ]; then \
4889 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4890 else \
4891 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4892 $(MAKE) stagetrain-start; \
4893 fi; \
4894 cd $(HOST_SUBDIR)/opcodes && \
4895 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4896 @endif opcodes-bootstrap
4899 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4900 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4901 maybe-all-stagefeedback-opcodes:
4902 maybe-clean-stagefeedback-opcodes:
4903 @if opcodes-bootstrap
4904 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4905 all-stagefeedback: all-stagefeedback-opcodes
4906 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4907 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4908 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4909 @r=`${PWD_COMMAND}`; export r; \
4910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4911 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4912 $(HOST_EXPORTS) \
4913 $(POSTSTAGE1_HOST_EXPORTS) \
4914 cd $(HOST_SUBDIR)/opcodes && \
4916 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4917 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4918 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4919 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4920 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4921 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4922 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4923 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4924 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4925 $(TARGET-stagefeedback-opcodes)
4927 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4928 clean-stagefeedback: clean-stagefeedback-opcodes
4929 clean-stagefeedback-opcodes:
4930 @if [ $(current_stage) = stagefeedback ]; then \
4931 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4932 else \
4933 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4934 $(MAKE) stagefeedback-start; \
4935 fi; \
4936 cd $(HOST_SUBDIR)/opcodes && \
4937 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4938 @endif opcodes-bootstrap
4941 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4942 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4943 maybe-all-stageautoprofile-opcodes:
4944 maybe-clean-stageautoprofile-opcodes:
4945 @if opcodes-bootstrap
4946 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4947 all-stageautoprofile: all-stageautoprofile-opcodes
4948 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4949 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4950 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4951 @r=`${PWD_COMMAND}`; export r; \
4952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4953 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4954 $(HOST_EXPORTS) \
4955 $(POSTSTAGE1_HOST_EXPORTS) \
4956 cd $(HOST_SUBDIR)/opcodes && \
4957 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4958 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4959 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4960 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4961 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4962 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4963 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4964 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4965 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4966 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4967 $(TARGET-stageautoprofile-opcodes)
4969 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4970 clean-stageautoprofile: clean-stageautoprofile-opcodes
4971 clean-stageautoprofile-opcodes:
4972 @if [ $(current_stage) = stageautoprofile ]; then \
4973 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4974 else \
4975 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4976 $(MAKE) stageautoprofile-start; \
4977 fi; \
4978 cd $(HOST_SUBDIR)/opcodes && \
4979 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4980 @endif opcodes-bootstrap
4983 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4984 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4985 maybe-all-stageautofeedback-opcodes:
4986 maybe-clean-stageautofeedback-opcodes:
4987 @if opcodes-bootstrap
4988 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
4989 all-stageautofeedback: all-stageautofeedback-opcodes
4990 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
4991 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4992 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4993 @r=`${PWD_COMMAND}`; export r; \
4994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4995 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4996 $(HOST_EXPORTS) \
4997 $(POSTSTAGE1_HOST_EXPORTS) \
4998 cd $(HOST_SUBDIR)/opcodes && \
5000 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5001 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5002 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5003 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5004 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5005 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5006 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5007 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5008 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5009 $(TARGET-stageautofeedback-opcodes)
5011 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5012 clean-stageautofeedback: clean-stageautofeedback-opcodes
5013 clean-stageautofeedback-opcodes:
5014 @if [ $(current_stage) = stageautofeedback ]; then \
5015 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5016 else \
5017 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5018 $(MAKE) stageautofeedback-start; \
5019 fi; \
5020 cd $(HOST_SUBDIR)/opcodes && \
5021 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5022 @endif opcodes-bootstrap
5028 .PHONY: check-opcodes maybe-check-opcodes
5029 maybe-check-opcodes:
5030 @if opcodes
5031 maybe-check-opcodes: check-opcodes
5033 check-opcodes:
5034 @: $(MAKE); $(unstage)
5035 @r=`${PWD_COMMAND}`; export r; \
5036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5037 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5038 (cd $(HOST_SUBDIR)/opcodes && \
5039 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5041 @endif opcodes
5043 .PHONY: install-opcodes maybe-install-opcodes
5044 maybe-install-opcodes:
5045 @if opcodes
5046 maybe-install-opcodes: install-opcodes
5048 install-opcodes: installdirs
5049 @: $(MAKE); $(unstage)
5050 @r=`${PWD_COMMAND}`; export r; \
5051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5052 $(HOST_EXPORTS) \
5053 (cd $(HOST_SUBDIR)/opcodes && \
5054 $(MAKE) $(FLAGS_TO_PASS) install)
5056 @endif opcodes
5058 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5059 maybe-install-strip-opcodes:
5060 @if opcodes
5061 maybe-install-strip-opcodes: install-strip-opcodes
5063 install-strip-opcodes: installdirs
5064 @: $(MAKE); $(unstage)
5065 @r=`${PWD_COMMAND}`; export r; \
5066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5067 $(HOST_EXPORTS) \
5068 (cd $(HOST_SUBDIR)/opcodes && \
5069 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5071 @endif opcodes
5073 # Other targets (info, dvi, pdf, etc.)
5075 .PHONY: maybe-info-opcodes info-opcodes
5076 maybe-info-opcodes:
5077 @if opcodes
5078 maybe-info-opcodes: info-opcodes
5080 info-opcodes: \
5081 configure-opcodes
5082 @[ -f ./opcodes/Makefile ] || exit 0; \
5083 r=`${PWD_COMMAND}`; export r; \
5084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5085 $(HOST_EXPORTS) \
5086 for flag in $(EXTRA_HOST_FLAGS) ; do \
5087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5088 done; \
5089 echo "Doing info in opcodes"; \
5090 (cd $(HOST_SUBDIR)/opcodes && \
5091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5093 "RANLIB=$${RANLIB}" \
5094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5095 info) \
5096 || exit 1
5098 @endif opcodes
5100 .PHONY: maybe-dvi-opcodes dvi-opcodes
5101 maybe-dvi-opcodes:
5102 @if opcodes
5103 maybe-dvi-opcodes: dvi-opcodes
5105 dvi-opcodes: \
5106 configure-opcodes
5107 @[ -f ./opcodes/Makefile ] || exit 0; \
5108 r=`${PWD_COMMAND}`; export r; \
5109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5110 $(HOST_EXPORTS) \
5111 for flag in $(EXTRA_HOST_FLAGS) ; do \
5112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5113 done; \
5114 echo "Doing dvi in opcodes"; \
5115 (cd $(HOST_SUBDIR)/opcodes && \
5116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5118 "RANLIB=$${RANLIB}" \
5119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5120 dvi) \
5121 || exit 1
5123 @endif opcodes
5125 .PHONY: maybe-pdf-opcodes pdf-opcodes
5126 maybe-pdf-opcodes:
5127 @if opcodes
5128 maybe-pdf-opcodes: pdf-opcodes
5130 pdf-opcodes: \
5131 configure-opcodes
5132 @[ -f ./opcodes/Makefile ] || exit 0; \
5133 r=`${PWD_COMMAND}`; export r; \
5134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5135 $(HOST_EXPORTS) \
5136 for flag in $(EXTRA_HOST_FLAGS) ; do \
5137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5138 done; \
5139 echo "Doing pdf in opcodes"; \
5140 (cd $(HOST_SUBDIR)/opcodes && \
5141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5143 "RANLIB=$${RANLIB}" \
5144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5145 pdf) \
5146 || exit 1
5148 @endif opcodes
5150 .PHONY: maybe-html-opcodes html-opcodes
5151 maybe-html-opcodes:
5152 @if opcodes
5153 maybe-html-opcodes: html-opcodes
5155 html-opcodes: \
5156 configure-opcodes
5157 @[ -f ./opcodes/Makefile ] || exit 0; \
5158 r=`${PWD_COMMAND}`; export r; \
5159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5160 $(HOST_EXPORTS) \
5161 for flag in $(EXTRA_HOST_FLAGS) ; do \
5162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5163 done; \
5164 echo "Doing html in opcodes"; \
5165 (cd $(HOST_SUBDIR)/opcodes && \
5166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5168 "RANLIB=$${RANLIB}" \
5169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5170 html) \
5171 || exit 1
5173 @endif opcodes
5175 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5176 maybe-TAGS-opcodes:
5177 @if opcodes
5178 maybe-TAGS-opcodes: TAGS-opcodes
5180 TAGS-opcodes: \
5181 configure-opcodes
5182 @[ -f ./opcodes/Makefile ] || exit 0; \
5183 r=`${PWD_COMMAND}`; export r; \
5184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5185 $(HOST_EXPORTS) \
5186 for flag in $(EXTRA_HOST_FLAGS) ; do \
5187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5188 done; \
5189 echo "Doing TAGS in opcodes"; \
5190 (cd $(HOST_SUBDIR)/opcodes && \
5191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5193 "RANLIB=$${RANLIB}" \
5194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5195 TAGS) \
5196 || exit 1
5198 @endif opcodes
5200 .PHONY: maybe-install-info-opcodes install-info-opcodes
5201 maybe-install-info-opcodes:
5202 @if opcodes
5203 maybe-install-info-opcodes: install-info-opcodes
5205 install-info-opcodes: \
5206 configure-opcodes \
5207 info-opcodes
5208 @[ -f ./opcodes/Makefile ] || exit 0; \
5209 r=`${PWD_COMMAND}`; export r; \
5210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5211 $(HOST_EXPORTS) \
5212 for flag in $(EXTRA_HOST_FLAGS) ; do \
5213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5214 done; \
5215 echo "Doing install-info in opcodes"; \
5216 (cd $(HOST_SUBDIR)/opcodes && \
5217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5219 "RANLIB=$${RANLIB}" \
5220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5221 install-info) \
5222 || exit 1
5224 @endif opcodes
5226 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5227 maybe-install-pdf-opcodes:
5228 @if opcodes
5229 maybe-install-pdf-opcodes: install-pdf-opcodes
5231 install-pdf-opcodes: \
5232 configure-opcodes \
5233 pdf-opcodes
5234 @[ -f ./opcodes/Makefile ] || exit 0; \
5235 r=`${PWD_COMMAND}`; export r; \
5236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 $(HOST_EXPORTS) \
5238 for flag in $(EXTRA_HOST_FLAGS) ; do \
5239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5240 done; \
5241 echo "Doing install-pdf in opcodes"; \
5242 (cd $(HOST_SUBDIR)/opcodes && \
5243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5245 "RANLIB=$${RANLIB}" \
5246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5247 install-pdf) \
5248 || exit 1
5250 @endif opcodes
5252 .PHONY: maybe-install-html-opcodes install-html-opcodes
5253 maybe-install-html-opcodes:
5254 @if opcodes
5255 maybe-install-html-opcodes: install-html-opcodes
5257 install-html-opcodes: \
5258 configure-opcodes \
5259 html-opcodes
5260 @[ -f ./opcodes/Makefile ] || exit 0; \
5261 r=`${PWD_COMMAND}`; export r; \
5262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5263 $(HOST_EXPORTS) \
5264 for flag in $(EXTRA_HOST_FLAGS) ; do \
5265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5266 done; \
5267 echo "Doing install-html in opcodes"; \
5268 (cd $(HOST_SUBDIR)/opcodes && \
5269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5271 "RANLIB=$${RANLIB}" \
5272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5273 install-html) \
5274 || exit 1
5276 @endif opcodes
5278 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5279 maybe-installcheck-opcodes:
5280 @if opcodes
5281 maybe-installcheck-opcodes: installcheck-opcodes
5283 installcheck-opcodes: \
5284 configure-opcodes
5285 @[ -f ./opcodes/Makefile ] || exit 0; \
5286 r=`${PWD_COMMAND}`; export r; \
5287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5288 $(HOST_EXPORTS) \
5289 for flag in $(EXTRA_HOST_FLAGS) ; do \
5290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5291 done; \
5292 echo "Doing installcheck in opcodes"; \
5293 (cd $(HOST_SUBDIR)/opcodes && \
5294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5296 "RANLIB=$${RANLIB}" \
5297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5298 installcheck) \
5299 || exit 1
5301 @endif opcodes
5303 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5304 maybe-mostlyclean-opcodes:
5305 @if opcodes
5306 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5308 mostlyclean-opcodes:
5309 @[ -f ./opcodes/Makefile ] || exit 0; \
5310 r=`${PWD_COMMAND}`; export r; \
5311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5312 $(HOST_EXPORTS) \
5313 for flag in $(EXTRA_HOST_FLAGS) ; do \
5314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5315 done; \
5316 echo "Doing mostlyclean in opcodes"; \
5317 (cd $(HOST_SUBDIR)/opcodes && \
5318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5320 "RANLIB=$${RANLIB}" \
5321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5322 mostlyclean) \
5323 || exit 1
5325 @endif opcodes
5327 .PHONY: maybe-clean-opcodes clean-opcodes
5328 maybe-clean-opcodes:
5329 @if opcodes
5330 maybe-clean-opcodes: clean-opcodes
5332 clean-opcodes:
5333 @[ -f ./opcodes/Makefile ] || exit 0; \
5334 r=`${PWD_COMMAND}`; export r; \
5335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5336 $(HOST_EXPORTS) \
5337 for flag in $(EXTRA_HOST_FLAGS) ; do \
5338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5339 done; \
5340 echo "Doing clean in opcodes"; \
5341 (cd $(HOST_SUBDIR)/opcodes && \
5342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5344 "RANLIB=$${RANLIB}" \
5345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5346 clean) \
5347 || exit 1
5349 @endif opcodes
5351 .PHONY: maybe-distclean-opcodes distclean-opcodes
5352 maybe-distclean-opcodes:
5353 @if opcodes
5354 maybe-distclean-opcodes: distclean-opcodes
5356 distclean-opcodes:
5357 @[ -f ./opcodes/Makefile ] || exit 0; \
5358 r=`${PWD_COMMAND}`; export r; \
5359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5360 $(HOST_EXPORTS) \
5361 for flag in $(EXTRA_HOST_FLAGS) ; do \
5362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5363 done; \
5364 echo "Doing distclean in opcodes"; \
5365 (cd $(HOST_SUBDIR)/opcodes && \
5366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5368 "RANLIB=$${RANLIB}" \
5369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5370 distclean) \
5371 || exit 1
5373 @endif opcodes
5375 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5376 maybe-maintainer-clean-opcodes:
5377 @if opcodes
5378 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5380 maintainer-clean-opcodes:
5381 @[ -f ./opcodes/Makefile ] || exit 0; \
5382 r=`${PWD_COMMAND}`; export r; \
5383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5384 $(HOST_EXPORTS) \
5385 for flag in $(EXTRA_HOST_FLAGS) ; do \
5386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5387 done; \
5388 echo "Doing maintainer-clean in opcodes"; \
5389 (cd $(HOST_SUBDIR)/opcodes && \
5390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5392 "RANLIB=$${RANLIB}" \
5393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5394 maintainer-clean) \
5395 || exit 1
5397 @endif opcodes
5401 .PHONY: configure-binutils maybe-configure-binutils
5402 maybe-configure-binutils:
5403 @if gcc-bootstrap
5404 configure-binutils: stage_current
5405 @endif gcc-bootstrap
5406 @if binutils
5407 maybe-configure-binutils: configure-binutils
5408 configure-binutils:
5409 @r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5411 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5413 $(HOST_EXPORTS) \
5414 echo Configuring in $(HOST_SUBDIR)/binutils; \
5415 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5416 case $(srcdir) in \
5417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5418 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5420 esac; \
5421 module_srcdir=binutils; \
5422 $(SHELL) \
5423 $$s/$$module_srcdir/configure \
5424 --srcdir=$${topdir}/$$module_srcdir \
5425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5426 --target=${target_alias} \
5427 || exit 1
5428 @endif binutils
5432 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5433 maybe-configure-stage1-binutils:
5434 @if binutils-bootstrap
5435 maybe-configure-stage1-binutils: configure-stage1-binutils
5436 configure-stage1-binutils:
5437 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5439 @r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441 TFLAGS="$(STAGE1_TFLAGS)"; \
5442 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5443 $(HOST_EXPORTS) \
5444 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5445 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5446 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5447 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5449 cd $(HOST_SUBDIR)/binutils || exit 1; \
5450 case $(srcdir) in \
5451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5452 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5454 esac; \
5455 module_srcdir=binutils; \
5456 $(SHELL) $$s/$$module_srcdir/configure \
5457 --srcdir=$${topdir}/$$module_srcdir \
5458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5459 --target=${target_alias} \
5461 $(STAGE1_CONFIGURE_FLAGS)
5462 @endif binutils-bootstrap
5464 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5465 maybe-configure-stage2-binutils:
5466 @if binutils-bootstrap
5467 maybe-configure-stage2-binutils: configure-stage2-binutils
5468 configure-stage2-binutils:
5469 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5471 @r=`${PWD_COMMAND}`; export r; \
5472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5473 TFLAGS="$(STAGE2_TFLAGS)"; \
5474 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5475 $(HOST_EXPORTS) \
5476 $(POSTSTAGE1_HOST_EXPORTS) \
5477 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5478 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5479 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5480 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5482 cd $(HOST_SUBDIR)/binutils || exit 1; \
5483 case $(srcdir) in \
5484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5485 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5487 esac; \
5488 module_srcdir=binutils; \
5489 $(SHELL) $$s/$$module_srcdir/configure \
5490 --srcdir=$${topdir}/$$module_srcdir \
5491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5492 --target=${target_alias} \
5493 --with-build-libsubdir=$(HOST_SUBDIR) \
5494 $(STAGE2_CONFIGURE_FLAGS)
5495 @endif binutils-bootstrap
5497 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5498 maybe-configure-stage3-binutils:
5499 @if binutils-bootstrap
5500 maybe-configure-stage3-binutils: configure-stage3-binutils
5501 configure-stage3-binutils:
5502 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5504 @r=`${PWD_COMMAND}`; export r; \
5505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5506 TFLAGS="$(STAGE3_TFLAGS)"; \
5507 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5508 $(HOST_EXPORTS) \
5509 $(POSTSTAGE1_HOST_EXPORTS) \
5510 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5511 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5512 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5513 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5515 cd $(HOST_SUBDIR)/binutils || exit 1; \
5516 case $(srcdir) in \
5517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5518 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5520 esac; \
5521 module_srcdir=binutils; \
5522 $(SHELL) $$s/$$module_srcdir/configure \
5523 --srcdir=$${topdir}/$$module_srcdir \
5524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5525 --target=${target_alias} \
5526 --with-build-libsubdir=$(HOST_SUBDIR) \
5527 $(STAGE3_CONFIGURE_FLAGS)
5528 @endif binutils-bootstrap
5530 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5531 maybe-configure-stage4-binutils:
5532 @if binutils-bootstrap
5533 maybe-configure-stage4-binutils: configure-stage4-binutils
5534 configure-stage4-binutils:
5535 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5537 @r=`${PWD_COMMAND}`; export r; \
5538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5539 TFLAGS="$(STAGE4_TFLAGS)"; \
5540 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5541 $(HOST_EXPORTS) \
5542 $(POSTSTAGE1_HOST_EXPORTS) \
5543 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5544 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5545 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5546 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5548 cd $(HOST_SUBDIR)/binutils || exit 1; \
5549 case $(srcdir) in \
5550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5551 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5553 esac; \
5554 module_srcdir=binutils; \
5555 $(SHELL) $$s/$$module_srcdir/configure \
5556 --srcdir=$${topdir}/$$module_srcdir \
5557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5558 --target=${target_alias} \
5559 --with-build-libsubdir=$(HOST_SUBDIR) \
5560 $(STAGE4_CONFIGURE_FLAGS)
5561 @endif binutils-bootstrap
5563 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5564 maybe-configure-stageprofile-binutils:
5565 @if binutils-bootstrap
5566 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5567 configure-stageprofile-binutils:
5568 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5570 @r=`${PWD_COMMAND}`; export r; \
5571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5572 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5573 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5574 $(HOST_EXPORTS) \
5575 $(POSTSTAGE1_HOST_EXPORTS) \
5576 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5577 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5578 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5579 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5581 cd $(HOST_SUBDIR)/binutils || exit 1; \
5582 case $(srcdir) in \
5583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5584 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5586 esac; \
5587 module_srcdir=binutils; \
5588 $(SHELL) $$s/$$module_srcdir/configure \
5589 --srcdir=$${topdir}/$$module_srcdir \
5590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5591 --target=${target_alias} \
5592 --with-build-libsubdir=$(HOST_SUBDIR) \
5593 $(STAGEprofile_CONFIGURE_FLAGS)
5594 @endif binutils-bootstrap
5596 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5597 maybe-configure-stagetrain-binutils:
5598 @if binutils-bootstrap
5599 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5600 configure-stagetrain-binutils:
5601 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5603 @r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5606 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5607 $(HOST_EXPORTS) \
5608 $(POSTSTAGE1_HOST_EXPORTS) \
5609 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5610 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5611 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5612 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5614 cd $(HOST_SUBDIR)/binutils || exit 1; \
5615 case $(srcdir) in \
5616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5617 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5619 esac; \
5620 module_srcdir=binutils; \
5621 $(SHELL) $$s/$$module_srcdir/configure \
5622 --srcdir=$${topdir}/$$module_srcdir \
5623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5624 --target=${target_alias} \
5625 --with-build-libsubdir=$(HOST_SUBDIR) \
5626 $(STAGEtrain_CONFIGURE_FLAGS)
5627 @endif binutils-bootstrap
5629 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5630 maybe-configure-stagefeedback-binutils:
5631 @if binutils-bootstrap
5632 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5633 configure-stagefeedback-binutils:
5634 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5636 @r=`${PWD_COMMAND}`; export r; \
5637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5638 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5639 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5640 $(HOST_EXPORTS) \
5641 $(POSTSTAGE1_HOST_EXPORTS) \
5642 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5643 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5644 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5645 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5647 cd $(HOST_SUBDIR)/binutils || exit 1; \
5648 case $(srcdir) in \
5649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5650 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5652 esac; \
5653 module_srcdir=binutils; \
5654 $(SHELL) $$s/$$module_srcdir/configure \
5655 --srcdir=$${topdir}/$$module_srcdir \
5656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5657 --target=${target_alias} \
5658 --with-build-libsubdir=$(HOST_SUBDIR) \
5659 $(STAGEfeedback_CONFIGURE_FLAGS)
5660 @endif binutils-bootstrap
5662 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5663 maybe-configure-stageautoprofile-binutils:
5664 @if binutils-bootstrap
5665 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5666 configure-stageautoprofile-binutils:
5667 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5669 @r=`${PWD_COMMAND}`; export r; \
5670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5671 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5672 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5673 $(HOST_EXPORTS) \
5674 $(POSTSTAGE1_HOST_EXPORTS) \
5675 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5676 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5677 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5678 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5680 cd $(HOST_SUBDIR)/binutils || exit 1; \
5681 case $(srcdir) in \
5682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5683 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5685 esac; \
5686 module_srcdir=binutils; \
5687 $(SHELL) $$s/$$module_srcdir/configure \
5688 --srcdir=$${topdir}/$$module_srcdir \
5689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5690 --target=${target_alias} \
5691 --with-build-libsubdir=$(HOST_SUBDIR) \
5692 $(STAGEautoprofile_CONFIGURE_FLAGS)
5693 @endif binutils-bootstrap
5695 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5696 maybe-configure-stageautofeedback-binutils:
5697 @if binutils-bootstrap
5698 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5699 configure-stageautofeedback-binutils:
5700 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5702 @r=`${PWD_COMMAND}`; export r; \
5703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5704 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5705 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5706 $(HOST_EXPORTS) \
5707 $(POSTSTAGE1_HOST_EXPORTS) \
5708 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5709 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5710 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5711 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5713 cd $(HOST_SUBDIR)/binutils || exit 1; \
5714 case $(srcdir) in \
5715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5716 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5718 esac; \
5719 module_srcdir=binutils; \
5720 $(SHELL) $$s/$$module_srcdir/configure \
5721 --srcdir=$${topdir}/$$module_srcdir \
5722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5723 --target=${target_alias} \
5724 --with-build-libsubdir=$(HOST_SUBDIR) \
5725 $(STAGEautofeedback_CONFIGURE_FLAGS)
5726 @endif binutils-bootstrap
5732 .PHONY: all-binutils maybe-all-binutils
5733 maybe-all-binutils:
5734 @if gcc-bootstrap
5735 all-binutils: stage_current
5736 @endif gcc-bootstrap
5737 @if binutils
5738 TARGET-binutils=all
5739 maybe-all-binutils: all-binutils
5740 all-binutils: configure-binutils
5741 @r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(HOST_EXPORTS) \
5744 (cd $(HOST_SUBDIR)/binutils && \
5745 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5746 $(TARGET-binutils))
5747 @endif binutils
5751 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5752 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5753 maybe-all-stage1-binutils:
5754 maybe-clean-stage1-binutils:
5755 @if binutils-bootstrap
5756 maybe-all-stage1-binutils: all-stage1-binutils
5757 all-stage1: all-stage1-binutils
5758 TARGET-stage1-binutils = $(TARGET-binutils)
5759 all-stage1-binutils: configure-stage1-binutils
5760 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5761 @r=`${PWD_COMMAND}`; export r; \
5762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5763 TFLAGS="$(STAGE1_TFLAGS)"; \
5764 $(HOST_EXPORTS) \
5765 cd $(HOST_SUBDIR)/binutils && \
5767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5768 CFLAGS="$(STAGE1_CFLAGS)" \
5769 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5770 LIBCFLAGS="$(LIBCFLAGS)" \
5771 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5772 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5773 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5774 $(EXTRA_HOST_FLAGS) \
5775 $(STAGE1_FLAGS_TO_PASS) \
5776 TFLAGS="$(STAGE1_TFLAGS)" \
5777 $(TARGET-stage1-binutils)
5779 maybe-clean-stage1-binutils: clean-stage1-binutils
5780 clean-stage1: clean-stage1-binutils
5781 clean-stage1-binutils:
5782 @if [ $(current_stage) = stage1 ]; then \
5783 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5784 else \
5785 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5786 $(MAKE) stage1-start; \
5787 fi; \
5788 cd $(HOST_SUBDIR)/binutils && \
5789 $(MAKE) $(EXTRA_HOST_FLAGS) \
5790 $(STAGE1_FLAGS_TO_PASS) clean
5791 @endif binutils-bootstrap
5794 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5795 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5796 maybe-all-stage2-binutils:
5797 maybe-clean-stage2-binutils:
5798 @if binutils-bootstrap
5799 maybe-all-stage2-binutils: all-stage2-binutils
5800 all-stage2: all-stage2-binutils
5801 TARGET-stage2-binutils = $(TARGET-binutils)
5802 all-stage2-binutils: configure-stage2-binutils
5803 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5804 @r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 TFLAGS="$(STAGE2_TFLAGS)"; \
5807 $(HOST_EXPORTS) \
5808 $(POSTSTAGE1_HOST_EXPORTS) \
5809 cd $(HOST_SUBDIR)/binutils && \
5811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5812 CFLAGS="$(STAGE2_CFLAGS)" \
5813 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5814 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5819 TFLAGS="$(STAGE2_TFLAGS)" \
5820 $(TARGET-stage2-binutils)
5822 maybe-clean-stage2-binutils: clean-stage2-binutils
5823 clean-stage2: clean-stage2-binutils
5824 clean-stage2-binutils:
5825 @if [ $(current_stage) = stage2 ]; then \
5826 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5827 else \
5828 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5829 $(MAKE) stage2-start; \
5830 fi; \
5831 cd $(HOST_SUBDIR)/binutils && \
5832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5833 @endif binutils-bootstrap
5836 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5837 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5838 maybe-all-stage3-binutils:
5839 maybe-clean-stage3-binutils:
5840 @if binutils-bootstrap
5841 maybe-all-stage3-binutils: all-stage3-binutils
5842 all-stage3: all-stage3-binutils
5843 TARGET-stage3-binutils = $(TARGET-binutils)
5844 all-stage3-binutils: configure-stage3-binutils
5845 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5846 @r=`${PWD_COMMAND}`; export r; \
5847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5848 TFLAGS="$(STAGE3_TFLAGS)"; \
5849 $(HOST_EXPORTS) \
5850 $(POSTSTAGE1_HOST_EXPORTS) \
5851 cd $(HOST_SUBDIR)/binutils && \
5853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5854 CFLAGS="$(STAGE3_CFLAGS)" \
5855 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5856 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5860 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5861 TFLAGS="$(STAGE3_TFLAGS)" \
5862 $(TARGET-stage3-binutils)
5864 maybe-clean-stage3-binutils: clean-stage3-binutils
5865 clean-stage3: clean-stage3-binutils
5866 clean-stage3-binutils:
5867 @if [ $(current_stage) = stage3 ]; then \
5868 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5869 else \
5870 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5871 $(MAKE) stage3-start; \
5872 fi; \
5873 cd $(HOST_SUBDIR)/binutils && \
5874 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5875 @endif binutils-bootstrap
5878 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5879 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5880 maybe-all-stage4-binutils:
5881 maybe-clean-stage4-binutils:
5882 @if binutils-bootstrap
5883 maybe-all-stage4-binutils: all-stage4-binutils
5884 all-stage4: all-stage4-binutils
5885 TARGET-stage4-binutils = $(TARGET-binutils)
5886 all-stage4-binutils: configure-stage4-binutils
5887 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5888 @r=`${PWD_COMMAND}`; export r; \
5889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5890 TFLAGS="$(STAGE4_TFLAGS)"; \
5891 $(HOST_EXPORTS) \
5892 $(POSTSTAGE1_HOST_EXPORTS) \
5893 cd $(HOST_SUBDIR)/binutils && \
5895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5896 CFLAGS="$(STAGE4_CFLAGS)" \
5897 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5898 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5903 TFLAGS="$(STAGE4_TFLAGS)" \
5904 $(TARGET-stage4-binutils)
5906 maybe-clean-stage4-binutils: clean-stage4-binutils
5907 clean-stage4: clean-stage4-binutils
5908 clean-stage4-binutils:
5909 @if [ $(current_stage) = stage4 ]; then \
5910 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5911 else \
5912 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5913 $(MAKE) stage4-start; \
5914 fi; \
5915 cd $(HOST_SUBDIR)/binutils && \
5916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5917 @endif binutils-bootstrap
5920 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5921 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5922 maybe-all-stageprofile-binutils:
5923 maybe-clean-stageprofile-binutils:
5924 @if binutils-bootstrap
5925 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5926 all-stageprofile: all-stageprofile-binutils
5927 TARGET-stageprofile-binutils = $(TARGET-binutils)
5928 all-stageprofile-binutils: configure-stageprofile-binutils
5929 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5930 @r=`${PWD_COMMAND}`; export r; \
5931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5932 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5933 $(HOST_EXPORTS) \
5934 $(POSTSTAGE1_HOST_EXPORTS) \
5935 cd $(HOST_SUBDIR)/binutils && \
5937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5938 CFLAGS="$(STAGEprofile_CFLAGS)" \
5939 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5940 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5945 TFLAGS="$(STAGEprofile_TFLAGS)" \
5946 $(TARGET-stageprofile-binutils)
5948 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5949 clean-stageprofile: clean-stageprofile-binutils
5950 clean-stageprofile-binutils:
5951 @if [ $(current_stage) = stageprofile ]; then \
5952 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5953 else \
5954 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5955 $(MAKE) stageprofile-start; \
5956 fi; \
5957 cd $(HOST_SUBDIR)/binutils && \
5958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5959 @endif binutils-bootstrap
5962 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
5963 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
5964 maybe-all-stagetrain-binutils:
5965 maybe-clean-stagetrain-binutils:
5966 @if binutils-bootstrap
5967 maybe-all-stagetrain-binutils: all-stagetrain-binutils
5968 all-stagetrain: all-stagetrain-binutils
5969 TARGET-stagetrain-binutils = $(TARGET-binutils)
5970 all-stagetrain-binutils: configure-stagetrain-binutils
5971 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5972 @r=`${PWD_COMMAND}`; export r; \
5973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5974 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5975 $(HOST_EXPORTS) \
5976 $(POSTSTAGE1_HOST_EXPORTS) \
5977 cd $(HOST_SUBDIR)/binutils && \
5979 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5980 CFLAGS="$(STAGEtrain_CFLAGS)" \
5981 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5982 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
5983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5986 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5987 TFLAGS="$(STAGEtrain_TFLAGS)" \
5988 $(TARGET-stagetrain-binutils)
5990 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
5991 clean-stagetrain: clean-stagetrain-binutils
5992 clean-stagetrain-binutils:
5993 @if [ $(current_stage) = stagetrain ]; then \
5994 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5995 else \
5996 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
5997 $(MAKE) stagetrain-start; \
5998 fi; \
5999 cd $(HOST_SUBDIR)/binutils && \
6000 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6001 @endif binutils-bootstrap
6004 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6005 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6006 maybe-all-stagefeedback-binutils:
6007 maybe-clean-stagefeedback-binutils:
6008 @if binutils-bootstrap
6009 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6010 all-stagefeedback: all-stagefeedback-binutils
6011 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6012 all-stagefeedback-binutils: configure-stagefeedback-binutils
6013 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6014 @r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6017 $(HOST_EXPORTS) \
6018 $(POSTSTAGE1_HOST_EXPORTS) \
6019 cd $(HOST_SUBDIR)/binutils && \
6021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6022 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6023 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6024 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6029 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6030 $(TARGET-stagefeedback-binutils)
6032 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6033 clean-stagefeedback: clean-stagefeedback-binutils
6034 clean-stagefeedback-binutils:
6035 @if [ $(current_stage) = stagefeedback ]; then \
6036 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6037 else \
6038 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6039 $(MAKE) stagefeedback-start; \
6040 fi; \
6041 cd $(HOST_SUBDIR)/binutils && \
6042 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6043 @endif binutils-bootstrap
6046 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6047 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6048 maybe-all-stageautoprofile-binutils:
6049 maybe-clean-stageautoprofile-binutils:
6050 @if binutils-bootstrap
6051 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6052 all-stageautoprofile: all-stageautoprofile-binutils
6053 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6054 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6055 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6056 @r=`${PWD_COMMAND}`; export r; \
6057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6058 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6059 $(HOST_EXPORTS) \
6060 $(POSTSTAGE1_HOST_EXPORTS) \
6061 cd $(HOST_SUBDIR)/binutils && \
6062 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6064 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6065 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6066 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6071 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6072 $(TARGET-stageautoprofile-binutils)
6074 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6075 clean-stageautoprofile: clean-stageautoprofile-binutils
6076 clean-stageautoprofile-binutils:
6077 @if [ $(current_stage) = stageautoprofile ]; then \
6078 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6079 else \
6080 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6081 $(MAKE) stageautoprofile-start; \
6082 fi; \
6083 cd $(HOST_SUBDIR)/binutils && \
6084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6085 @endif binutils-bootstrap
6088 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6089 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6090 maybe-all-stageautofeedback-binutils:
6091 maybe-clean-stageautofeedback-binutils:
6092 @if binutils-bootstrap
6093 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6094 all-stageautofeedback: all-stageautofeedback-binutils
6095 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6096 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6097 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6098 @r=`${PWD_COMMAND}`; export r; \
6099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6100 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6101 $(HOST_EXPORTS) \
6102 $(POSTSTAGE1_HOST_EXPORTS) \
6103 cd $(HOST_SUBDIR)/binutils && \
6105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6106 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6107 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6108 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6109 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6110 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6111 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6112 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6113 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6114 $(TARGET-stageautofeedback-binutils)
6116 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6117 clean-stageautofeedback: clean-stageautofeedback-binutils
6118 clean-stageautofeedback-binutils:
6119 @if [ $(current_stage) = stageautofeedback ]; then \
6120 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6121 else \
6122 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6123 $(MAKE) stageautofeedback-start; \
6124 fi; \
6125 cd $(HOST_SUBDIR)/binutils && \
6126 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6127 @endif binutils-bootstrap
6133 .PHONY: check-binutils maybe-check-binutils
6134 maybe-check-binutils:
6135 @if binutils
6136 maybe-check-binutils: check-binutils
6138 check-binutils:
6139 @: $(MAKE); $(unstage)
6140 @r=`${PWD_COMMAND}`; export r; \
6141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6142 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6143 (cd $(HOST_SUBDIR)/binutils && \
6144 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6146 @endif binutils
6148 .PHONY: install-binutils maybe-install-binutils
6149 maybe-install-binutils:
6150 @if binutils
6151 maybe-install-binutils: install-binutils
6153 install-binutils: installdirs
6154 @: $(MAKE); $(unstage)
6155 @r=`${PWD_COMMAND}`; export r; \
6156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6157 $(HOST_EXPORTS) \
6158 (cd $(HOST_SUBDIR)/binutils && \
6159 $(MAKE) $(FLAGS_TO_PASS) install)
6161 @endif binutils
6163 .PHONY: install-strip-binutils maybe-install-strip-binutils
6164 maybe-install-strip-binutils:
6165 @if binutils
6166 maybe-install-strip-binutils: install-strip-binutils
6168 install-strip-binutils: installdirs
6169 @: $(MAKE); $(unstage)
6170 @r=`${PWD_COMMAND}`; export r; \
6171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6172 $(HOST_EXPORTS) \
6173 (cd $(HOST_SUBDIR)/binutils && \
6174 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6176 @endif binutils
6178 # Other targets (info, dvi, pdf, etc.)
6180 .PHONY: maybe-info-binutils info-binutils
6181 maybe-info-binutils:
6182 @if binutils
6183 maybe-info-binutils: info-binutils
6185 info-binutils: \
6186 configure-binutils
6187 @[ -f ./binutils/Makefile ] || exit 0; \
6188 r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 $(HOST_EXPORTS) \
6191 for flag in $(EXTRA_HOST_FLAGS) ; do \
6192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6193 done; \
6194 echo "Doing info in binutils"; \
6195 (cd $(HOST_SUBDIR)/binutils && \
6196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6198 "RANLIB=$${RANLIB}" \
6199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6200 info) \
6201 || exit 1
6203 @endif binutils
6205 .PHONY: maybe-dvi-binutils dvi-binutils
6206 maybe-dvi-binutils:
6207 @if binutils
6208 maybe-dvi-binutils: dvi-binutils
6210 dvi-binutils: \
6211 configure-binutils
6212 @[ -f ./binutils/Makefile ] || exit 0; \
6213 r=`${PWD_COMMAND}`; export r; \
6214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6215 $(HOST_EXPORTS) \
6216 for flag in $(EXTRA_HOST_FLAGS) ; do \
6217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6218 done; \
6219 echo "Doing dvi in binutils"; \
6220 (cd $(HOST_SUBDIR)/binutils && \
6221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6223 "RANLIB=$${RANLIB}" \
6224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6225 dvi) \
6226 || exit 1
6228 @endif binutils
6230 .PHONY: maybe-pdf-binutils pdf-binutils
6231 maybe-pdf-binutils:
6232 @if binutils
6233 maybe-pdf-binutils: pdf-binutils
6235 pdf-binutils: \
6236 configure-binutils
6237 @[ -f ./binutils/Makefile ] || exit 0; \
6238 r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 $(HOST_EXPORTS) \
6241 for flag in $(EXTRA_HOST_FLAGS) ; do \
6242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6243 done; \
6244 echo "Doing pdf in binutils"; \
6245 (cd $(HOST_SUBDIR)/binutils && \
6246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6248 "RANLIB=$${RANLIB}" \
6249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6250 pdf) \
6251 || exit 1
6253 @endif binutils
6255 .PHONY: maybe-html-binutils html-binutils
6256 maybe-html-binutils:
6257 @if binutils
6258 maybe-html-binutils: html-binutils
6260 html-binutils: \
6261 configure-binutils
6262 @[ -f ./binutils/Makefile ] || exit 0; \
6263 r=`${PWD_COMMAND}`; export r; \
6264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6265 $(HOST_EXPORTS) \
6266 for flag in $(EXTRA_HOST_FLAGS) ; do \
6267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6268 done; \
6269 echo "Doing html in binutils"; \
6270 (cd $(HOST_SUBDIR)/binutils && \
6271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6273 "RANLIB=$${RANLIB}" \
6274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6275 html) \
6276 || exit 1
6278 @endif binutils
6280 .PHONY: maybe-TAGS-binutils TAGS-binutils
6281 maybe-TAGS-binutils:
6282 @if binutils
6283 maybe-TAGS-binutils: TAGS-binutils
6285 TAGS-binutils: \
6286 configure-binutils
6287 @[ -f ./binutils/Makefile ] || exit 0; \
6288 r=`${PWD_COMMAND}`; export r; \
6289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6290 $(HOST_EXPORTS) \
6291 for flag in $(EXTRA_HOST_FLAGS) ; do \
6292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6293 done; \
6294 echo "Doing TAGS in binutils"; \
6295 (cd $(HOST_SUBDIR)/binutils && \
6296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6298 "RANLIB=$${RANLIB}" \
6299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6300 TAGS) \
6301 || exit 1
6303 @endif binutils
6305 .PHONY: maybe-install-info-binutils install-info-binutils
6306 maybe-install-info-binutils:
6307 @if binutils
6308 maybe-install-info-binutils: install-info-binutils
6310 install-info-binutils: \
6311 configure-binutils \
6312 info-binutils
6313 @[ -f ./binutils/Makefile ] || exit 0; \
6314 r=`${PWD_COMMAND}`; export r; \
6315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6316 $(HOST_EXPORTS) \
6317 for flag in $(EXTRA_HOST_FLAGS) ; do \
6318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6319 done; \
6320 echo "Doing install-info in binutils"; \
6321 (cd $(HOST_SUBDIR)/binutils && \
6322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6324 "RANLIB=$${RANLIB}" \
6325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6326 install-info) \
6327 || exit 1
6329 @endif binutils
6331 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6332 maybe-install-pdf-binutils:
6333 @if binutils
6334 maybe-install-pdf-binutils: install-pdf-binutils
6336 install-pdf-binutils: \
6337 configure-binutils \
6338 pdf-binutils
6339 @[ -f ./binutils/Makefile ] || exit 0; \
6340 r=`${PWD_COMMAND}`; export r; \
6341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6342 $(HOST_EXPORTS) \
6343 for flag in $(EXTRA_HOST_FLAGS) ; do \
6344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6345 done; \
6346 echo "Doing install-pdf in binutils"; \
6347 (cd $(HOST_SUBDIR)/binutils && \
6348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6350 "RANLIB=$${RANLIB}" \
6351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6352 install-pdf) \
6353 || exit 1
6355 @endif binutils
6357 .PHONY: maybe-install-html-binutils install-html-binutils
6358 maybe-install-html-binutils:
6359 @if binutils
6360 maybe-install-html-binutils: install-html-binutils
6362 install-html-binutils: \
6363 configure-binutils \
6364 html-binutils
6365 @[ -f ./binutils/Makefile ] || exit 0; \
6366 r=`${PWD_COMMAND}`; export r; \
6367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6368 $(HOST_EXPORTS) \
6369 for flag in $(EXTRA_HOST_FLAGS) ; do \
6370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6371 done; \
6372 echo "Doing install-html in binutils"; \
6373 (cd $(HOST_SUBDIR)/binutils && \
6374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6376 "RANLIB=$${RANLIB}" \
6377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6378 install-html) \
6379 || exit 1
6381 @endif binutils
6383 .PHONY: maybe-installcheck-binutils installcheck-binutils
6384 maybe-installcheck-binutils:
6385 @if binutils
6386 maybe-installcheck-binutils: installcheck-binutils
6388 installcheck-binutils: \
6389 configure-binutils
6390 @[ -f ./binutils/Makefile ] || exit 0; \
6391 r=`${PWD_COMMAND}`; export r; \
6392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6393 $(HOST_EXPORTS) \
6394 for flag in $(EXTRA_HOST_FLAGS) ; do \
6395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6396 done; \
6397 echo "Doing installcheck in binutils"; \
6398 (cd $(HOST_SUBDIR)/binutils && \
6399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6401 "RANLIB=$${RANLIB}" \
6402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6403 installcheck) \
6404 || exit 1
6406 @endif binutils
6408 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6409 maybe-mostlyclean-binutils:
6410 @if binutils
6411 maybe-mostlyclean-binutils: mostlyclean-binutils
6413 mostlyclean-binutils:
6414 @[ -f ./binutils/Makefile ] || exit 0; \
6415 r=`${PWD_COMMAND}`; export r; \
6416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6417 $(HOST_EXPORTS) \
6418 for flag in $(EXTRA_HOST_FLAGS) ; do \
6419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6420 done; \
6421 echo "Doing mostlyclean in binutils"; \
6422 (cd $(HOST_SUBDIR)/binutils && \
6423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6425 "RANLIB=$${RANLIB}" \
6426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6427 mostlyclean) \
6428 || exit 1
6430 @endif binutils
6432 .PHONY: maybe-clean-binutils clean-binutils
6433 maybe-clean-binutils:
6434 @if binutils
6435 maybe-clean-binutils: clean-binutils
6437 clean-binutils:
6438 @[ -f ./binutils/Makefile ] || exit 0; \
6439 r=`${PWD_COMMAND}`; export r; \
6440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6441 $(HOST_EXPORTS) \
6442 for flag in $(EXTRA_HOST_FLAGS) ; do \
6443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6444 done; \
6445 echo "Doing clean in binutils"; \
6446 (cd $(HOST_SUBDIR)/binutils && \
6447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6449 "RANLIB=$${RANLIB}" \
6450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6451 clean) \
6452 || exit 1
6454 @endif binutils
6456 .PHONY: maybe-distclean-binutils distclean-binutils
6457 maybe-distclean-binutils:
6458 @if binutils
6459 maybe-distclean-binutils: distclean-binutils
6461 distclean-binutils:
6462 @[ -f ./binutils/Makefile ] || exit 0; \
6463 r=`${PWD_COMMAND}`; export r; \
6464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6465 $(HOST_EXPORTS) \
6466 for flag in $(EXTRA_HOST_FLAGS) ; do \
6467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6468 done; \
6469 echo "Doing distclean in binutils"; \
6470 (cd $(HOST_SUBDIR)/binutils && \
6471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6473 "RANLIB=$${RANLIB}" \
6474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6475 distclean) \
6476 || exit 1
6478 @endif binutils
6480 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6481 maybe-maintainer-clean-binutils:
6482 @if binutils
6483 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6485 maintainer-clean-binutils:
6486 @[ -f ./binutils/Makefile ] || exit 0; \
6487 r=`${PWD_COMMAND}`; export r; \
6488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6489 $(HOST_EXPORTS) \
6490 for flag in $(EXTRA_HOST_FLAGS) ; do \
6491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6492 done; \
6493 echo "Doing maintainer-clean in binutils"; \
6494 (cd $(HOST_SUBDIR)/binutils && \
6495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6497 "RANLIB=$${RANLIB}" \
6498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6499 maintainer-clean) \
6500 || exit 1
6502 @endif binutils
6506 .PHONY: configure-bison maybe-configure-bison
6507 maybe-configure-bison:
6508 @if gcc-bootstrap
6509 configure-bison: stage_current
6510 @endif gcc-bootstrap
6511 @if bison
6512 maybe-configure-bison: configure-bison
6513 configure-bison:
6514 @: $(MAKE); $(unstage)
6515 @r=`${PWD_COMMAND}`; export r; \
6516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6517 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6519 $(HOST_EXPORTS) \
6520 echo Configuring in $(HOST_SUBDIR)/bison; \
6521 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6522 case $(srcdir) in \
6523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6524 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6526 esac; \
6527 module_srcdir=bison; \
6528 $(SHELL) \
6529 $$s/$$module_srcdir/configure \
6530 --srcdir=$${topdir}/$$module_srcdir \
6531 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6532 --target=${target_alias} \
6533 || exit 1
6534 @endif bison
6540 .PHONY: all-bison maybe-all-bison
6541 maybe-all-bison:
6542 @if gcc-bootstrap
6543 all-bison: stage_current
6544 @endif gcc-bootstrap
6545 @if bison
6546 TARGET-bison=all
6547 maybe-all-bison: all-bison
6548 all-bison: configure-bison
6549 @: $(MAKE); $(unstage)
6550 @r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6552 $(HOST_EXPORTS) \
6553 (cd $(HOST_SUBDIR)/bison && \
6554 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6555 $(TARGET-bison))
6556 @endif bison
6561 .PHONY: check-bison maybe-check-bison
6562 maybe-check-bison:
6563 @if bison
6564 maybe-check-bison: check-bison
6566 # This module is only tested in a native toolchain.
6567 check-bison:
6568 @: $(MAKE); $(unstage)
6569 @if [ '$(host)' = '$(target)' ]; then \
6570 r=`${PWD_COMMAND}`; export r; \
6571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6572 $(HOST_EXPORTS) \
6573 (cd $(HOST_SUBDIR)/bison && \
6574 $(MAKE) $(FLAGS_TO_PASS) check)
6577 @endif bison
6579 .PHONY: install-bison maybe-install-bison
6580 maybe-install-bison:
6581 @if bison
6582 maybe-install-bison: install-bison
6584 install-bison: installdirs
6585 @: $(MAKE); $(unstage)
6586 @r=`${PWD_COMMAND}`; export r; \
6587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6588 $(HOST_EXPORTS) \
6589 (cd $(HOST_SUBDIR)/bison && \
6590 $(MAKE) $(FLAGS_TO_PASS) install)
6592 @endif bison
6594 .PHONY: install-strip-bison maybe-install-strip-bison
6595 maybe-install-strip-bison:
6596 @if bison
6597 maybe-install-strip-bison: install-strip-bison
6599 install-strip-bison: installdirs
6600 @: $(MAKE); $(unstage)
6601 @r=`${PWD_COMMAND}`; export r; \
6602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6603 $(HOST_EXPORTS) \
6604 (cd $(HOST_SUBDIR)/bison && \
6605 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6607 @endif bison
6609 # Other targets (info, dvi, pdf, etc.)
6611 .PHONY: maybe-info-bison info-bison
6612 maybe-info-bison:
6613 @if bison
6614 maybe-info-bison: info-bison
6616 info-bison: \
6617 configure-bison
6618 @: $(MAKE); $(unstage)
6619 @[ -f ./bison/Makefile ] || exit 0; \
6620 r=`${PWD_COMMAND}`; export r; \
6621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6622 $(HOST_EXPORTS) \
6623 for flag in $(EXTRA_HOST_FLAGS) ; do \
6624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6625 done; \
6626 echo "Doing info in bison"; \
6627 (cd $(HOST_SUBDIR)/bison && \
6628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6630 "RANLIB=$${RANLIB}" \
6631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6632 info) \
6633 || exit 1
6635 @endif bison
6637 .PHONY: maybe-dvi-bison dvi-bison
6638 maybe-dvi-bison:
6639 @if bison
6640 maybe-dvi-bison: dvi-bison
6642 dvi-bison: \
6643 configure-bison
6644 @: $(MAKE); $(unstage)
6645 @[ -f ./bison/Makefile ] || exit 0; \
6646 r=`${PWD_COMMAND}`; export r; \
6647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6648 $(HOST_EXPORTS) \
6649 for flag in $(EXTRA_HOST_FLAGS) ; do \
6650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6651 done; \
6652 echo "Doing dvi in bison"; \
6653 (cd $(HOST_SUBDIR)/bison && \
6654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6656 "RANLIB=$${RANLIB}" \
6657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6658 dvi) \
6659 || exit 1
6661 @endif bison
6663 .PHONY: maybe-pdf-bison pdf-bison
6664 maybe-pdf-bison:
6665 @if bison
6666 maybe-pdf-bison: pdf-bison
6668 pdf-bison: \
6669 configure-bison
6670 @: $(MAKE); $(unstage)
6671 @[ -f ./bison/Makefile ] || exit 0; \
6672 r=`${PWD_COMMAND}`; export r; \
6673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6674 $(HOST_EXPORTS) \
6675 for flag in $(EXTRA_HOST_FLAGS) ; do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677 done; \
6678 echo "Doing pdf in bison"; \
6679 (cd $(HOST_SUBDIR)/bison && \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6684 pdf) \
6685 || exit 1
6687 @endif bison
6689 .PHONY: maybe-html-bison html-bison
6690 maybe-html-bison:
6691 @if bison
6692 maybe-html-bison: html-bison
6694 html-bison: \
6695 configure-bison
6696 @: $(MAKE); $(unstage)
6697 @[ -f ./bison/Makefile ] || exit 0; \
6698 r=`${PWD_COMMAND}`; export r; \
6699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6700 $(HOST_EXPORTS) \
6701 for flag in $(EXTRA_HOST_FLAGS) ; do \
6702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6703 done; \
6704 echo "Doing html in bison"; \
6705 (cd $(HOST_SUBDIR)/bison && \
6706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6708 "RANLIB=$${RANLIB}" \
6709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6710 html) \
6711 || exit 1
6713 @endif bison
6715 .PHONY: maybe-TAGS-bison TAGS-bison
6716 maybe-TAGS-bison:
6717 @if bison
6718 maybe-TAGS-bison: TAGS-bison
6720 TAGS-bison: \
6721 configure-bison
6722 @: $(MAKE); $(unstage)
6723 @[ -f ./bison/Makefile ] || exit 0; \
6724 r=`${PWD_COMMAND}`; export r; \
6725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6726 $(HOST_EXPORTS) \
6727 for flag in $(EXTRA_HOST_FLAGS) ; do \
6728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6729 done; \
6730 echo "Doing TAGS in bison"; \
6731 (cd $(HOST_SUBDIR)/bison && \
6732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6734 "RANLIB=$${RANLIB}" \
6735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6736 TAGS) \
6737 || exit 1
6739 @endif bison
6741 .PHONY: maybe-install-info-bison install-info-bison
6742 maybe-install-info-bison:
6743 @if bison
6744 maybe-install-info-bison: install-info-bison
6746 install-info-bison: \
6747 configure-bison \
6748 info-bison
6749 @: $(MAKE); $(unstage)
6750 @[ -f ./bison/Makefile ] || exit 0; \
6751 r=`${PWD_COMMAND}`; export r; \
6752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6753 $(HOST_EXPORTS) \
6754 for flag in $(EXTRA_HOST_FLAGS) ; do \
6755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6756 done; \
6757 echo "Doing install-info in bison"; \
6758 (cd $(HOST_SUBDIR)/bison && \
6759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6761 "RANLIB=$${RANLIB}" \
6762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6763 install-info) \
6764 || exit 1
6766 @endif bison
6768 .PHONY: maybe-install-pdf-bison install-pdf-bison
6769 maybe-install-pdf-bison:
6770 @if bison
6771 maybe-install-pdf-bison: install-pdf-bison
6773 install-pdf-bison: \
6774 configure-bison \
6775 pdf-bison
6776 @: $(MAKE); $(unstage)
6777 @[ -f ./bison/Makefile ] || exit 0; \
6778 r=`${PWD_COMMAND}`; export r; \
6779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780 $(HOST_EXPORTS) \
6781 for flag in $(EXTRA_HOST_FLAGS) ; do \
6782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6783 done; \
6784 echo "Doing install-pdf in bison"; \
6785 (cd $(HOST_SUBDIR)/bison && \
6786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6788 "RANLIB=$${RANLIB}" \
6789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6790 install-pdf) \
6791 || exit 1
6793 @endif bison
6795 .PHONY: maybe-install-html-bison install-html-bison
6796 maybe-install-html-bison:
6797 @if bison
6798 maybe-install-html-bison: install-html-bison
6800 install-html-bison: \
6801 configure-bison \
6802 html-bison
6803 @: $(MAKE); $(unstage)
6804 @[ -f ./bison/Makefile ] || exit 0; \
6805 r=`${PWD_COMMAND}`; export r; \
6806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6807 $(HOST_EXPORTS) \
6808 for flag in $(EXTRA_HOST_FLAGS) ; do \
6809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6810 done; \
6811 echo "Doing install-html in bison"; \
6812 (cd $(HOST_SUBDIR)/bison && \
6813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6815 "RANLIB=$${RANLIB}" \
6816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6817 install-html) \
6818 || exit 1
6820 @endif bison
6822 .PHONY: maybe-installcheck-bison installcheck-bison
6823 maybe-installcheck-bison:
6824 @if bison
6825 maybe-installcheck-bison: installcheck-bison
6827 installcheck-bison: \
6828 configure-bison
6829 @: $(MAKE); $(unstage)
6830 @[ -f ./bison/Makefile ] || exit 0; \
6831 r=`${PWD_COMMAND}`; export r; \
6832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6833 $(HOST_EXPORTS) \
6834 for flag in $(EXTRA_HOST_FLAGS) ; do \
6835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6836 done; \
6837 echo "Doing installcheck in bison"; \
6838 (cd $(HOST_SUBDIR)/bison && \
6839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6841 "RANLIB=$${RANLIB}" \
6842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6843 installcheck) \
6844 || exit 1
6846 @endif bison
6848 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6849 maybe-mostlyclean-bison:
6850 @if bison
6851 maybe-mostlyclean-bison: mostlyclean-bison
6853 mostlyclean-bison:
6854 @: $(MAKE); $(unstage)
6855 @[ -f ./bison/Makefile ] || exit 0; \
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 $(HOST_EXPORTS) \
6859 for flag in $(EXTRA_HOST_FLAGS) ; do \
6860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 done; \
6862 echo "Doing mostlyclean in bison"; \
6863 (cd $(HOST_SUBDIR)/bison && \
6864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6866 "RANLIB=$${RANLIB}" \
6867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6868 mostlyclean) \
6869 || exit 1
6871 @endif bison
6873 .PHONY: maybe-clean-bison clean-bison
6874 maybe-clean-bison:
6875 @if bison
6876 maybe-clean-bison: clean-bison
6878 clean-bison:
6879 @: $(MAKE); $(unstage)
6880 @[ -f ./bison/Makefile ] || exit 0; \
6881 r=`${PWD_COMMAND}`; export r; \
6882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6883 $(HOST_EXPORTS) \
6884 for flag in $(EXTRA_HOST_FLAGS) ; do \
6885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6886 done; \
6887 echo "Doing clean in bison"; \
6888 (cd $(HOST_SUBDIR)/bison && \
6889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6891 "RANLIB=$${RANLIB}" \
6892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6893 clean) \
6894 || exit 1
6896 @endif bison
6898 .PHONY: maybe-distclean-bison distclean-bison
6899 maybe-distclean-bison:
6900 @if bison
6901 maybe-distclean-bison: distclean-bison
6903 distclean-bison:
6904 @: $(MAKE); $(unstage)
6905 @[ -f ./bison/Makefile ] || exit 0; \
6906 r=`${PWD_COMMAND}`; export r; \
6907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6908 $(HOST_EXPORTS) \
6909 for flag in $(EXTRA_HOST_FLAGS) ; do \
6910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6911 done; \
6912 echo "Doing distclean in bison"; \
6913 (cd $(HOST_SUBDIR)/bison && \
6914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6916 "RANLIB=$${RANLIB}" \
6917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6918 distclean) \
6919 || exit 1
6921 @endif bison
6923 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6924 maybe-maintainer-clean-bison:
6925 @if bison
6926 maybe-maintainer-clean-bison: maintainer-clean-bison
6928 maintainer-clean-bison:
6929 @: $(MAKE); $(unstage)
6930 @[ -f ./bison/Makefile ] || exit 0; \
6931 r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 $(HOST_EXPORTS) \
6934 for flag in $(EXTRA_HOST_FLAGS) ; do \
6935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6936 done; \
6937 echo "Doing maintainer-clean in bison"; \
6938 (cd $(HOST_SUBDIR)/bison && \
6939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6941 "RANLIB=$${RANLIB}" \
6942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6943 maintainer-clean) \
6944 || exit 1
6946 @endif bison
6950 .PHONY: configure-cgen maybe-configure-cgen
6951 maybe-configure-cgen:
6952 @if gcc-bootstrap
6953 configure-cgen: stage_current
6954 @endif gcc-bootstrap
6955 @if cgen
6956 maybe-configure-cgen: configure-cgen
6957 configure-cgen:
6958 @: $(MAKE); $(unstage)
6959 @r=`${PWD_COMMAND}`; export r; \
6960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6961 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6963 $(HOST_EXPORTS) \
6964 echo Configuring in $(HOST_SUBDIR)/cgen; \
6965 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6966 case $(srcdir) in \
6967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6968 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6970 esac; \
6971 module_srcdir=cgen; \
6972 $(SHELL) \
6973 $$s/$$module_srcdir/configure \
6974 --srcdir=$${topdir}/$$module_srcdir \
6975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6976 --target=${target_alias} \
6977 || exit 1
6978 @endif cgen
6984 .PHONY: all-cgen maybe-all-cgen
6985 maybe-all-cgen:
6986 @if gcc-bootstrap
6987 all-cgen: stage_current
6988 @endif gcc-bootstrap
6989 @if cgen
6990 TARGET-cgen=all
6991 maybe-all-cgen: all-cgen
6992 all-cgen: configure-cgen
6993 @: $(MAKE); $(unstage)
6994 @r=`${PWD_COMMAND}`; export r; \
6995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6996 $(HOST_EXPORTS) \
6997 (cd $(HOST_SUBDIR)/cgen && \
6998 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6999 $(TARGET-cgen))
7000 @endif cgen
7005 .PHONY: check-cgen maybe-check-cgen
7006 maybe-check-cgen:
7007 @if cgen
7008 maybe-check-cgen: check-cgen
7010 check-cgen:
7011 @: $(MAKE); $(unstage)
7012 @r=`${PWD_COMMAND}`; export r; \
7013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7014 $(HOST_EXPORTS) \
7015 (cd $(HOST_SUBDIR)/cgen && \
7016 $(MAKE) $(FLAGS_TO_PASS) check)
7018 @endif cgen
7020 .PHONY: install-cgen maybe-install-cgen
7021 maybe-install-cgen:
7022 @if cgen
7023 maybe-install-cgen: install-cgen
7025 install-cgen: installdirs
7026 @: $(MAKE); $(unstage)
7027 @r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 $(HOST_EXPORTS) \
7030 (cd $(HOST_SUBDIR)/cgen && \
7031 $(MAKE) $(FLAGS_TO_PASS) install)
7033 @endif cgen
7035 .PHONY: install-strip-cgen maybe-install-strip-cgen
7036 maybe-install-strip-cgen:
7037 @if cgen
7038 maybe-install-strip-cgen: install-strip-cgen
7040 install-strip-cgen: installdirs
7041 @: $(MAKE); $(unstage)
7042 @r=`${PWD_COMMAND}`; export r; \
7043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7044 $(HOST_EXPORTS) \
7045 (cd $(HOST_SUBDIR)/cgen && \
7046 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7048 @endif cgen
7050 # Other targets (info, dvi, pdf, etc.)
7052 .PHONY: maybe-info-cgen info-cgen
7053 maybe-info-cgen:
7054 @if cgen
7055 maybe-info-cgen: info-cgen
7057 info-cgen: \
7058 configure-cgen
7059 @: $(MAKE); $(unstage)
7060 @[ -f ./cgen/Makefile ] || exit 0; \
7061 r=`${PWD_COMMAND}`; export r; \
7062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7063 $(HOST_EXPORTS) \
7064 for flag in $(EXTRA_HOST_FLAGS) ; do \
7065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7066 done; \
7067 echo "Doing info in cgen"; \
7068 (cd $(HOST_SUBDIR)/cgen && \
7069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7071 "RANLIB=$${RANLIB}" \
7072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7073 info) \
7074 || exit 1
7076 @endif cgen
7078 .PHONY: maybe-dvi-cgen dvi-cgen
7079 maybe-dvi-cgen:
7080 @if cgen
7081 maybe-dvi-cgen: dvi-cgen
7083 dvi-cgen: \
7084 configure-cgen
7085 @: $(MAKE); $(unstage)
7086 @[ -f ./cgen/Makefile ] || exit 0; \
7087 r=`${PWD_COMMAND}`; export r; \
7088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7089 $(HOST_EXPORTS) \
7090 for flag in $(EXTRA_HOST_FLAGS) ; do \
7091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7092 done; \
7093 echo "Doing dvi in cgen"; \
7094 (cd $(HOST_SUBDIR)/cgen && \
7095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7097 "RANLIB=$${RANLIB}" \
7098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7099 dvi) \
7100 || exit 1
7102 @endif cgen
7104 .PHONY: maybe-pdf-cgen pdf-cgen
7105 maybe-pdf-cgen:
7106 @if cgen
7107 maybe-pdf-cgen: pdf-cgen
7109 pdf-cgen: \
7110 configure-cgen
7111 @: $(MAKE); $(unstage)
7112 @[ -f ./cgen/Makefile ] || exit 0; \
7113 r=`${PWD_COMMAND}`; export r; \
7114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7115 $(HOST_EXPORTS) \
7116 for flag in $(EXTRA_HOST_FLAGS) ; do \
7117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7118 done; \
7119 echo "Doing pdf in cgen"; \
7120 (cd $(HOST_SUBDIR)/cgen && \
7121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7123 "RANLIB=$${RANLIB}" \
7124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7125 pdf) \
7126 || exit 1
7128 @endif cgen
7130 .PHONY: maybe-html-cgen html-cgen
7131 maybe-html-cgen:
7132 @if cgen
7133 maybe-html-cgen: html-cgen
7135 html-cgen: \
7136 configure-cgen
7137 @: $(MAKE); $(unstage)
7138 @[ -f ./cgen/Makefile ] || exit 0; \
7139 r=`${PWD_COMMAND}`; export r; \
7140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7141 $(HOST_EXPORTS) \
7142 for flag in $(EXTRA_HOST_FLAGS) ; do \
7143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7144 done; \
7145 echo "Doing html in cgen"; \
7146 (cd $(HOST_SUBDIR)/cgen && \
7147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7149 "RANLIB=$${RANLIB}" \
7150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7151 html) \
7152 || exit 1
7154 @endif cgen
7156 .PHONY: maybe-TAGS-cgen TAGS-cgen
7157 maybe-TAGS-cgen:
7158 @if cgen
7159 maybe-TAGS-cgen: TAGS-cgen
7161 TAGS-cgen: \
7162 configure-cgen
7163 @: $(MAKE); $(unstage)
7164 @[ -f ./cgen/Makefile ] || exit 0; \
7165 r=`${PWD_COMMAND}`; export r; \
7166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7167 $(HOST_EXPORTS) \
7168 for flag in $(EXTRA_HOST_FLAGS) ; do \
7169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7170 done; \
7171 echo "Doing TAGS in cgen"; \
7172 (cd $(HOST_SUBDIR)/cgen && \
7173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7175 "RANLIB=$${RANLIB}" \
7176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7177 TAGS) \
7178 || exit 1
7180 @endif cgen
7182 .PHONY: maybe-install-info-cgen install-info-cgen
7183 maybe-install-info-cgen:
7184 @if cgen
7185 maybe-install-info-cgen: install-info-cgen
7187 install-info-cgen: \
7188 configure-cgen \
7189 info-cgen
7190 @: $(MAKE); $(unstage)
7191 @[ -f ./cgen/Makefile ] || exit 0; \
7192 r=`${PWD_COMMAND}`; export r; \
7193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7194 $(HOST_EXPORTS) \
7195 for flag in $(EXTRA_HOST_FLAGS) ; do \
7196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7197 done; \
7198 echo "Doing install-info in cgen"; \
7199 (cd $(HOST_SUBDIR)/cgen && \
7200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7202 "RANLIB=$${RANLIB}" \
7203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7204 install-info) \
7205 || exit 1
7207 @endif cgen
7209 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7210 maybe-install-pdf-cgen:
7211 @if cgen
7212 maybe-install-pdf-cgen: install-pdf-cgen
7214 install-pdf-cgen: \
7215 configure-cgen \
7216 pdf-cgen
7217 @: $(MAKE); $(unstage)
7218 @[ -f ./cgen/Makefile ] || exit 0; \
7219 r=`${PWD_COMMAND}`; export r; \
7220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7221 $(HOST_EXPORTS) \
7222 for flag in $(EXTRA_HOST_FLAGS) ; do \
7223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7224 done; \
7225 echo "Doing install-pdf in cgen"; \
7226 (cd $(HOST_SUBDIR)/cgen && \
7227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7229 "RANLIB=$${RANLIB}" \
7230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7231 install-pdf) \
7232 || exit 1
7234 @endif cgen
7236 .PHONY: maybe-install-html-cgen install-html-cgen
7237 maybe-install-html-cgen:
7238 @if cgen
7239 maybe-install-html-cgen: install-html-cgen
7241 install-html-cgen: \
7242 configure-cgen \
7243 html-cgen
7244 @: $(MAKE); $(unstage)
7245 @[ -f ./cgen/Makefile ] || exit 0; \
7246 r=`${PWD_COMMAND}`; export r; \
7247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7248 $(HOST_EXPORTS) \
7249 for flag in $(EXTRA_HOST_FLAGS) ; do \
7250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7251 done; \
7252 echo "Doing install-html in cgen"; \
7253 (cd $(HOST_SUBDIR)/cgen && \
7254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7256 "RANLIB=$${RANLIB}" \
7257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7258 install-html) \
7259 || exit 1
7261 @endif cgen
7263 .PHONY: maybe-installcheck-cgen installcheck-cgen
7264 maybe-installcheck-cgen:
7265 @if cgen
7266 maybe-installcheck-cgen: installcheck-cgen
7268 installcheck-cgen: \
7269 configure-cgen
7270 @: $(MAKE); $(unstage)
7271 @[ -f ./cgen/Makefile ] || exit 0; \
7272 r=`${PWD_COMMAND}`; export r; \
7273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 $(HOST_EXPORTS) \
7275 for flag in $(EXTRA_HOST_FLAGS) ; do \
7276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 done; \
7278 echo "Doing installcheck in cgen"; \
7279 (cd $(HOST_SUBDIR)/cgen && \
7280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7282 "RANLIB=$${RANLIB}" \
7283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7284 installcheck) \
7285 || exit 1
7287 @endif cgen
7289 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7290 maybe-mostlyclean-cgen:
7291 @if cgen
7292 maybe-mostlyclean-cgen: mostlyclean-cgen
7294 mostlyclean-cgen:
7295 @: $(MAKE); $(unstage)
7296 @[ -f ./cgen/Makefile ] || exit 0; \
7297 r=`${PWD_COMMAND}`; export r; \
7298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 $(HOST_EXPORTS) \
7300 for flag in $(EXTRA_HOST_FLAGS) ; do \
7301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7302 done; \
7303 echo "Doing mostlyclean in cgen"; \
7304 (cd $(HOST_SUBDIR)/cgen && \
7305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7307 "RANLIB=$${RANLIB}" \
7308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7309 mostlyclean) \
7310 || exit 1
7312 @endif cgen
7314 .PHONY: maybe-clean-cgen clean-cgen
7315 maybe-clean-cgen:
7316 @if cgen
7317 maybe-clean-cgen: clean-cgen
7319 clean-cgen:
7320 @: $(MAKE); $(unstage)
7321 @[ -f ./cgen/Makefile ] || exit 0; \
7322 r=`${PWD_COMMAND}`; export r; \
7323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7324 $(HOST_EXPORTS) \
7325 for flag in $(EXTRA_HOST_FLAGS) ; do \
7326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7327 done; \
7328 echo "Doing clean in cgen"; \
7329 (cd $(HOST_SUBDIR)/cgen && \
7330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7332 "RANLIB=$${RANLIB}" \
7333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7334 clean) \
7335 || exit 1
7337 @endif cgen
7339 .PHONY: maybe-distclean-cgen distclean-cgen
7340 maybe-distclean-cgen:
7341 @if cgen
7342 maybe-distclean-cgen: distclean-cgen
7344 distclean-cgen:
7345 @: $(MAKE); $(unstage)
7346 @[ -f ./cgen/Makefile ] || exit 0; \
7347 r=`${PWD_COMMAND}`; export r; \
7348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7349 $(HOST_EXPORTS) \
7350 for flag in $(EXTRA_HOST_FLAGS) ; do \
7351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7352 done; \
7353 echo "Doing distclean in cgen"; \
7354 (cd $(HOST_SUBDIR)/cgen && \
7355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7357 "RANLIB=$${RANLIB}" \
7358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7359 distclean) \
7360 || exit 1
7362 @endif cgen
7364 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7365 maybe-maintainer-clean-cgen:
7366 @if cgen
7367 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7369 maintainer-clean-cgen:
7370 @: $(MAKE); $(unstage)
7371 @[ -f ./cgen/Makefile ] || exit 0; \
7372 r=`${PWD_COMMAND}`; export r; \
7373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7374 $(HOST_EXPORTS) \
7375 for flag in $(EXTRA_HOST_FLAGS) ; do \
7376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7377 done; \
7378 echo "Doing maintainer-clean in cgen"; \
7379 (cd $(HOST_SUBDIR)/cgen && \
7380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7382 "RANLIB=$${RANLIB}" \
7383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7384 maintainer-clean) \
7385 || exit 1
7387 @endif cgen
7391 .PHONY: configure-dejagnu maybe-configure-dejagnu
7392 maybe-configure-dejagnu:
7393 @if gcc-bootstrap
7394 configure-dejagnu: stage_current
7395 @endif gcc-bootstrap
7396 @if dejagnu
7397 maybe-configure-dejagnu: configure-dejagnu
7398 configure-dejagnu:
7399 @: $(MAKE); $(unstage)
7400 @r=`${PWD_COMMAND}`; export r; \
7401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7404 $(HOST_EXPORTS) \
7405 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7406 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7407 case $(srcdir) in \
7408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7409 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7411 esac; \
7412 module_srcdir=dejagnu; \
7413 $(SHELL) \
7414 $$s/$$module_srcdir/configure \
7415 --srcdir=$${topdir}/$$module_srcdir \
7416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7417 --target=${target_alias} \
7418 || exit 1
7419 @endif dejagnu
7425 .PHONY: all-dejagnu maybe-all-dejagnu
7426 maybe-all-dejagnu:
7427 @if gcc-bootstrap
7428 all-dejagnu: stage_current
7429 @endif gcc-bootstrap
7430 @if dejagnu
7431 TARGET-dejagnu=all
7432 maybe-all-dejagnu: all-dejagnu
7433 all-dejagnu: configure-dejagnu
7434 @: $(MAKE); $(unstage)
7435 @r=`${PWD_COMMAND}`; export r; \
7436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7437 $(HOST_EXPORTS) \
7438 (cd $(HOST_SUBDIR)/dejagnu && \
7439 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7440 $(TARGET-dejagnu))
7441 @endif dejagnu
7446 .PHONY: check-dejagnu maybe-check-dejagnu
7447 maybe-check-dejagnu:
7448 @if dejagnu
7449 maybe-check-dejagnu: check-dejagnu
7451 check-dejagnu:
7452 @: $(MAKE); $(unstage)
7453 @r=`${PWD_COMMAND}`; export r; \
7454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 $(HOST_EXPORTS) \
7456 (cd $(HOST_SUBDIR)/dejagnu && \
7457 $(MAKE) $(FLAGS_TO_PASS) check)
7459 @endif dejagnu
7461 .PHONY: install-dejagnu maybe-install-dejagnu
7462 maybe-install-dejagnu:
7463 @if dejagnu
7464 maybe-install-dejagnu: install-dejagnu
7466 install-dejagnu: installdirs
7467 @: $(MAKE); $(unstage)
7468 @r=`${PWD_COMMAND}`; export r; \
7469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 $(HOST_EXPORTS) \
7471 (cd $(HOST_SUBDIR)/dejagnu && \
7472 $(MAKE) $(FLAGS_TO_PASS) install)
7474 @endif dejagnu
7476 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7477 maybe-install-strip-dejagnu:
7478 @if dejagnu
7479 maybe-install-strip-dejagnu: install-strip-dejagnu
7481 install-strip-dejagnu: installdirs
7482 @: $(MAKE); $(unstage)
7483 @r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7485 $(HOST_EXPORTS) \
7486 (cd $(HOST_SUBDIR)/dejagnu && \
7487 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7489 @endif dejagnu
7491 # Other targets (info, dvi, pdf, etc.)
7493 .PHONY: maybe-info-dejagnu info-dejagnu
7494 maybe-info-dejagnu:
7495 @if dejagnu
7496 maybe-info-dejagnu: info-dejagnu
7498 info-dejagnu: \
7499 configure-dejagnu
7500 @: $(MAKE); $(unstage)
7501 @[ -f ./dejagnu/Makefile ] || exit 0; \
7502 r=`${PWD_COMMAND}`; export r; \
7503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7504 $(HOST_EXPORTS) \
7505 for flag in $(EXTRA_HOST_FLAGS) ; do \
7506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7507 done; \
7508 echo "Doing info in dejagnu"; \
7509 (cd $(HOST_SUBDIR)/dejagnu && \
7510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7512 "RANLIB=$${RANLIB}" \
7513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7514 info) \
7515 || exit 1
7517 @endif dejagnu
7519 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7520 maybe-dvi-dejagnu:
7521 @if dejagnu
7522 maybe-dvi-dejagnu: dvi-dejagnu
7524 dvi-dejagnu: \
7525 configure-dejagnu
7526 @: $(MAKE); $(unstage)
7527 @[ -f ./dejagnu/Makefile ] || exit 0; \
7528 r=`${PWD_COMMAND}`; export r; \
7529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7530 $(HOST_EXPORTS) \
7531 for flag in $(EXTRA_HOST_FLAGS) ; do \
7532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7533 done; \
7534 echo "Doing dvi in dejagnu"; \
7535 (cd $(HOST_SUBDIR)/dejagnu && \
7536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7538 "RANLIB=$${RANLIB}" \
7539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7540 dvi) \
7541 || exit 1
7543 @endif dejagnu
7545 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7546 maybe-pdf-dejagnu:
7547 @if dejagnu
7548 maybe-pdf-dejagnu: pdf-dejagnu
7550 pdf-dejagnu: \
7551 configure-dejagnu
7552 @: $(MAKE); $(unstage)
7553 @[ -f ./dejagnu/Makefile ] || exit 0; \
7554 r=`${PWD_COMMAND}`; export r; \
7555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7556 $(HOST_EXPORTS) \
7557 for flag in $(EXTRA_HOST_FLAGS) ; do \
7558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7559 done; \
7560 echo "Doing pdf in dejagnu"; \
7561 (cd $(HOST_SUBDIR)/dejagnu && \
7562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7564 "RANLIB=$${RANLIB}" \
7565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7566 pdf) \
7567 || exit 1
7569 @endif dejagnu
7571 .PHONY: maybe-html-dejagnu html-dejagnu
7572 maybe-html-dejagnu:
7573 @if dejagnu
7574 maybe-html-dejagnu: html-dejagnu
7576 html-dejagnu: \
7577 configure-dejagnu
7578 @: $(MAKE); $(unstage)
7579 @[ -f ./dejagnu/Makefile ] || exit 0; \
7580 r=`${PWD_COMMAND}`; export r; \
7581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7582 $(HOST_EXPORTS) \
7583 for flag in $(EXTRA_HOST_FLAGS) ; do \
7584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7585 done; \
7586 echo "Doing html in dejagnu"; \
7587 (cd $(HOST_SUBDIR)/dejagnu && \
7588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7590 "RANLIB=$${RANLIB}" \
7591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7592 html) \
7593 || exit 1
7595 @endif dejagnu
7597 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7598 maybe-TAGS-dejagnu:
7599 @if dejagnu
7600 maybe-TAGS-dejagnu: TAGS-dejagnu
7602 TAGS-dejagnu: \
7603 configure-dejagnu
7604 @: $(MAKE); $(unstage)
7605 @[ -f ./dejagnu/Makefile ] || exit 0; \
7606 r=`${PWD_COMMAND}`; export r; \
7607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7608 $(HOST_EXPORTS) \
7609 for flag in $(EXTRA_HOST_FLAGS) ; do \
7610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7611 done; \
7612 echo "Doing TAGS in dejagnu"; \
7613 (cd $(HOST_SUBDIR)/dejagnu && \
7614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7616 "RANLIB=$${RANLIB}" \
7617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7618 TAGS) \
7619 || exit 1
7621 @endif dejagnu
7623 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7624 maybe-install-info-dejagnu:
7625 @if dejagnu
7626 maybe-install-info-dejagnu: install-info-dejagnu
7628 install-info-dejagnu: \
7629 configure-dejagnu \
7630 info-dejagnu
7631 @: $(MAKE); $(unstage)
7632 @[ -f ./dejagnu/Makefile ] || exit 0; \
7633 r=`${PWD_COMMAND}`; export r; \
7634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7635 $(HOST_EXPORTS) \
7636 for flag in $(EXTRA_HOST_FLAGS) ; do \
7637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7638 done; \
7639 echo "Doing install-info in dejagnu"; \
7640 (cd $(HOST_SUBDIR)/dejagnu && \
7641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7643 "RANLIB=$${RANLIB}" \
7644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7645 install-info) \
7646 || exit 1
7648 @endif dejagnu
7650 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7651 maybe-install-pdf-dejagnu:
7652 @if dejagnu
7653 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7655 install-pdf-dejagnu: \
7656 configure-dejagnu \
7657 pdf-dejagnu
7658 @: $(MAKE); $(unstage)
7659 @[ -f ./dejagnu/Makefile ] || exit 0; \
7660 r=`${PWD_COMMAND}`; export r; \
7661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7662 $(HOST_EXPORTS) \
7663 for flag in $(EXTRA_HOST_FLAGS) ; do \
7664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7665 done; \
7666 echo "Doing install-pdf in dejagnu"; \
7667 (cd $(HOST_SUBDIR)/dejagnu && \
7668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7670 "RANLIB=$${RANLIB}" \
7671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7672 install-pdf) \
7673 || exit 1
7675 @endif dejagnu
7677 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7678 maybe-install-html-dejagnu:
7679 @if dejagnu
7680 maybe-install-html-dejagnu: install-html-dejagnu
7682 install-html-dejagnu: \
7683 configure-dejagnu \
7684 html-dejagnu
7685 @: $(MAKE); $(unstage)
7686 @[ -f ./dejagnu/Makefile ] || exit 0; \
7687 r=`${PWD_COMMAND}`; export r; \
7688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7689 $(HOST_EXPORTS) \
7690 for flag in $(EXTRA_HOST_FLAGS) ; do \
7691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7692 done; \
7693 echo "Doing install-html in dejagnu"; \
7694 (cd $(HOST_SUBDIR)/dejagnu && \
7695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7697 "RANLIB=$${RANLIB}" \
7698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7699 install-html) \
7700 || exit 1
7702 @endif dejagnu
7704 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7705 maybe-installcheck-dejagnu:
7706 @if dejagnu
7707 maybe-installcheck-dejagnu: installcheck-dejagnu
7709 installcheck-dejagnu: \
7710 configure-dejagnu
7711 @: $(MAKE); $(unstage)
7712 @[ -f ./dejagnu/Makefile ] || exit 0; \
7713 r=`${PWD_COMMAND}`; export r; \
7714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7715 $(HOST_EXPORTS) \
7716 for flag in $(EXTRA_HOST_FLAGS) ; do \
7717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7718 done; \
7719 echo "Doing installcheck in dejagnu"; \
7720 (cd $(HOST_SUBDIR)/dejagnu && \
7721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7723 "RANLIB=$${RANLIB}" \
7724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7725 installcheck) \
7726 || exit 1
7728 @endif dejagnu
7730 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7731 maybe-mostlyclean-dejagnu:
7732 @if dejagnu
7733 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7735 mostlyclean-dejagnu:
7736 @: $(MAKE); $(unstage)
7737 @[ -f ./dejagnu/Makefile ] || exit 0; \
7738 r=`${PWD_COMMAND}`; export r; \
7739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7740 $(HOST_EXPORTS) \
7741 for flag in $(EXTRA_HOST_FLAGS) ; do \
7742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7743 done; \
7744 echo "Doing mostlyclean in dejagnu"; \
7745 (cd $(HOST_SUBDIR)/dejagnu && \
7746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7748 "RANLIB=$${RANLIB}" \
7749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7750 mostlyclean) \
7751 || exit 1
7753 @endif dejagnu
7755 .PHONY: maybe-clean-dejagnu clean-dejagnu
7756 maybe-clean-dejagnu:
7757 @if dejagnu
7758 maybe-clean-dejagnu: clean-dejagnu
7760 clean-dejagnu:
7761 @: $(MAKE); $(unstage)
7762 @[ -f ./dejagnu/Makefile ] || exit 0; \
7763 r=`${PWD_COMMAND}`; export r; \
7764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7765 $(HOST_EXPORTS) \
7766 for flag in $(EXTRA_HOST_FLAGS) ; do \
7767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7768 done; \
7769 echo "Doing clean in dejagnu"; \
7770 (cd $(HOST_SUBDIR)/dejagnu && \
7771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7773 "RANLIB=$${RANLIB}" \
7774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7775 clean) \
7776 || exit 1
7778 @endif dejagnu
7780 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7781 maybe-distclean-dejagnu:
7782 @if dejagnu
7783 maybe-distclean-dejagnu: distclean-dejagnu
7785 distclean-dejagnu:
7786 @: $(MAKE); $(unstage)
7787 @[ -f ./dejagnu/Makefile ] || exit 0; \
7788 r=`${PWD_COMMAND}`; export r; \
7789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7790 $(HOST_EXPORTS) \
7791 for flag in $(EXTRA_HOST_FLAGS) ; do \
7792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7793 done; \
7794 echo "Doing distclean in dejagnu"; \
7795 (cd $(HOST_SUBDIR)/dejagnu && \
7796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7798 "RANLIB=$${RANLIB}" \
7799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7800 distclean) \
7801 || exit 1
7803 @endif dejagnu
7805 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7806 maybe-maintainer-clean-dejagnu:
7807 @if dejagnu
7808 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7810 maintainer-clean-dejagnu:
7811 @: $(MAKE); $(unstage)
7812 @[ -f ./dejagnu/Makefile ] || exit 0; \
7813 r=`${PWD_COMMAND}`; export r; \
7814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7815 $(HOST_EXPORTS) \
7816 for flag in $(EXTRA_HOST_FLAGS) ; do \
7817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7818 done; \
7819 echo "Doing maintainer-clean in dejagnu"; \
7820 (cd $(HOST_SUBDIR)/dejagnu && \
7821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7823 "RANLIB=$${RANLIB}" \
7824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7825 maintainer-clean) \
7826 || exit 1
7828 @endif dejagnu
7832 .PHONY: configure-etc maybe-configure-etc
7833 maybe-configure-etc:
7834 @if gcc-bootstrap
7835 configure-etc: stage_current
7836 @endif gcc-bootstrap
7837 @if etc
7838 maybe-configure-etc: configure-etc
7839 configure-etc:
7840 @: $(MAKE); $(unstage)
7841 @r=`${PWD_COMMAND}`; export r; \
7842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7843 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7845 $(HOST_EXPORTS) \
7846 echo Configuring in $(HOST_SUBDIR)/etc; \
7847 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7848 case $(srcdir) in \
7849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7850 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7852 esac; \
7853 module_srcdir=etc; \
7854 $(SHELL) \
7855 $$s/$$module_srcdir/configure \
7856 --srcdir=$${topdir}/$$module_srcdir \
7857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7858 --target=${target_alias} \
7859 || exit 1
7860 @endif etc
7866 .PHONY: all-etc maybe-all-etc
7867 maybe-all-etc:
7868 @if gcc-bootstrap
7869 all-etc: stage_current
7870 @endif gcc-bootstrap
7871 @if etc
7872 TARGET-etc=all
7873 maybe-all-etc: all-etc
7874 all-etc: configure-etc
7875 @: $(MAKE); $(unstage)
7876 @r=`${PWD_COMMAND}`; export r; \
7877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7878 $(HOST_EXPORTS) \
7879 (cd $(HOST_SUBDIR)/etc && \
7880 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7881 $(TARGET-etc))
7882 @endif etc
7887 .PHONY: check-etc maybe-check-etc
7888 maybe-check-etc:
7889 @if etc
7890 maybe-check-etc: check-etc
7892 check-etc:
7893 @: $(MAKE); $(unstage)
7894 @r=`${PWD_COMMAND}`; export r; \
7895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 $(HOST_EXPORTS) \
7897 (cd $(HOST_SUBDIR)/etc && \
7898 $(MAKE) $(FLAGS_TO_PASS) check)
7900 @endif etc
7902 .PHONY: install-etc maybe-install-etc
7903 maybe-install-etc:
7904 @if etc
7905 maybe-install-etc: install-etc
7907 install-etc: installdirs
7908 @: $(MAKE); $(unstage)
7909 @r=`${PWD_COMMAND}`; export r; \
7910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7911 $(HOST_EXPORTS) \
7912 (cd $(HOST_SUBDIR)/etc && \
7913 $(MAKE) $(FLAGS_TO_PASS) install)
7915 @endif etc
7917 .PHONY: install-strip-etc maybe-install-strip-etc
7918 maybe-install-strip-etc:
7919 @if etc
7920 maybe-install-strip-etc: install-strip-etc
7922 install-strip-etc: installdirs
7923 @: $(MAKE); $(unstage)
7924 @r=`${PWD_COMMAND}`; export r; \
7925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7926 $(HOST_EXPORTS) \
7927 (cd $(HOST_SUBDIR)/etc && \
7928 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7930 @endif etc
7932 # Other targets (info, dvi, pdf, etc.)
7934 .PHONY: maybe-info-etc info-etc
7935 maybe-info-etc:
7936 @if etc
7937 maybe-info-etc: info-etc
7939 info-etc: \
7940 configure-etc
7941 @: $(MAKE); $(unstage)
7942 @[ -f ./etc/Makefile ] || exit 0; \
7943 r=`${PWD_COMMAND}`; export r; \
7944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7945 $(HOST_EXPORTS) \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 echo "Doing info in etc"; \
7950 (cd $(HOST_SUBDIR)/etc && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7955 info) \
7956 || exit 1
7958 @endif etc
7960 .PHONY: maybe-dvi-etc dvi-etc
7961 maybe-dvi-etc:
7962 @if etc
7963 maybe-dvi-etc: dvi-etc
7965 dvi-etc: \
7966 configure-etc
7967 @: $(MAKE); $(unstage)
7968 @[ -f ./etc/Makefile ] || exit 0; \
7969 r=`${PWD_COMMAND}`; export r; \
7970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7971 $(HOST_EXPORTS) \
7972 for flag in $(EXTRA_HOST_FLAGS) ; do \
7973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7974 done; \
7975 echo "Doing dvi in etc"; \
7976 (cd $(HOST_SUBDIR)/etc && \
7977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7979 "RANLIB=$${RANLIB}" \
7980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7981 dvi) \
7982 || exit 1
7984 @endif etc
7986 .PHONY: maybe-pdf-etc pdf-etc
7987 maybe-pdf-etc:
7988 @if etc
7989 maybe-pdf-etc: pdf-etc
7991 pdf-etc: \
7992 configure-etc
7993 @: $(MAKE); $(unstage)
7994 @[ -f ./etc/Makefile ] || exit 0; \
7995 r=`${PWD_COMMAND}`; export r; \
7996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7997 $(HOST_EXPORTS) \
7998 for flag in $(EXTRA_HOST_FLAGS) ; do \
7999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8000 done; \
8001 echo "Doing pdf in etc"; \
8002 (cd $(HOST_SUBDIR)/etc && \
8003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8005 "RANLIB=$${RANLIB}" \
8006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8007 pdf) \
8008 || exit 1
8010 @endif etc
8012 .PHONY: maybe-html-etc html-etc
8013 maybe-html-etc:
8014 @if etc
8015 maybe-html-etc: html-etc
8017 html-etc: \
8018 configure-etc
8019 @: $(MAKE); $(unstage)
8020 @[ -f ./etc/Makefile ] || exit 0; \
8021 r=`${PWD_COMMAND}`; export r; \
8022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8023 $(HOST_EXPORTS) \
8024 for flag in $(EXTRA_HOST_FLAGS) ; do \
8025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8026 done; \
8027 echo "Doing html in etc"; \
8028 (cd $(HOST_SUBDIR)/etc && \
8029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8031 "RANLIB=$${RANLIB}" \
8032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8033 html) \
8034 || exit 1
8036 @endif etc
8038 .PHONY: maybe-TAGS-etc TAGS-etc
8039 maybe-TAGS-etc:
8040 @if etc
8041 maybe-TAGS-etc: TAGS-etc
8043 TAGS-etc: \
8044 configure-etc
8045 @: $(MAKE); $(unstage)
8046 @[ -f ./etc/Makefile ] || exit 0; \
8047 r=`${PWD_COMMAND}`; export r; \
8048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8049 $(HOST_EXPORTS) \
8050 for flag in $(EXTRA_HOST_FLAGS) ; do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8052 done; \
8053 echo "Doing TAGS in etc"; \
8054 (cd $(HOST_SUBDIR)/etc && \
8055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057 "RANLIB=$${RANLIB}" \
8058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8059 TAGS) \
8060 || exit 1
8062 @endif etc
8064 .PHONY: maybe-install-info-etc install-info-etc
8065 maybe-install-info-etc:
8066 @if etc
8067 maybe-install-info-etc: install-info-etc
8069 install-info-etc: \
8070 configure-etc \
8071 info-etc
8072 @: $(MAKE); $(unstage)
8073 @[ -f ./etc/Makefile ] || exit 0; \
8074 r=`${PWD_COMMAND}`; export r; \
8075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8076 $(HOST_EXPORTS) \
8077 for flag in $(EXTRA_HOST_FLAGS) ; do \
8078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8079 done; \
8080 echo "Doing install-info in etc"; \
8081 (cd $(HOST_SUBDIR)/etc && \
8082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8084 "RANLIB=$${RANLIB}" \
8085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8086 install-info) \
8087 || exit 1
8089 @endif etc
8091 .PHONY: maybe-install-pdf-etc install-pdf-etc
8092 maybe-install-pdf-etc:
8093 @if etc
8094 maybe-install-pdf-etc: install-pdf-etc
8096 install-pdf-etc: \
8097 configure-etc \
8098 pdf-etc
8099 @: $(MAKE); $(unstage)
8100 @[ -f ./etc/Makefile ] || exit 0; \
8101 r=`${PWD_COMMAND}`; export r; \
8102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8103 $(HOST_EXPORTS) \
8104 for flag in $(EXTRA_HOST_FLAGS) ; do \
8105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8106 done; \
8107 echo "Doing install-pdf in etc"; \
8108 (cd $(HOST_SUBDIR)/etc && \
8109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8111 "RANLIB=$${RANLIB}" \
8112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8113 install-pdf) \
8114 || exit 1
8116 @endif etc
8118 .PHONY: maybe-install-html-etc install-html-etc
8119 maybe-install-html-etc:
8120 @if etc
8121 maybe-install-html-etc: install-html-etc
8123 install-html-etc: \
8124 configure-etc \
8125 html-etc
8126 @: $(MAKE); $(unstage)
8127 @[ -f ./etc/Makefile ] || exit 0; \
8128 r=`${PWD_COMMAND}`; export r; \
8129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8130 $(HOST_EXPORTS) \
8131 for flag in $(EXTRA_HOST_FLAGS) ; do \
8132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8133 done; \
8134 echo "Doing install-html in etc"; \
8135 (cd $(HOST_SUBDIR)/etc && \
8136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8138 "RANLIB=$${RANLIB}" \
8139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8140 install-html) \
8141 || exit 1
8143 @endif etc
8145 .PHONY: maybe-installcheck-etc installcheck-etc
8146 maybe-installcheck-etc:
8147 @if etc
8148 maybe-installcheck-etc: installcheck-etc
8150 installcheck-etc: \
8151 configure-etc
8152 @: $(MAKE); $(unstage)
8153 @[ -f ./etc/Makefile ] || exit 0; \
8154 r=`${PWD_COMMAND}`; export r; \
8155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8156 $(HOST_EXPORTS) \
8157 for flag in $(EXTRA_HOST_FLAGS) ; do \
8158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8159 done; \
8160 echo "Doing installcheck in etc"; \
8161 (cd $(HOST_SUBDIR)/etc && \
8162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8164 "RANLIB=$${RANLIB}" \
8165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8166 installcheck) \
8167 || exit 1
8169 @endif etc
8171 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8172 maybe-mostlyclean-etc:
8173 @if etc
8174 maybe-mostlyclean-etc: mostlyclean-etc
8176 mostlyclean-etc:
8177 @: $(MAKE); $(unstage)
8178 @[ -f ./etc/Makefile ] || exit 0; \
8179 r=`${PWD_COMMAND}`; export r; \
8180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8181 $(HOST_EXPORTS) \
8182 for flag in $(EXTRA_HOST_FLAGS) ; do \
8183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8184 done; \
8185 echo "Doing mostlyclean in etc"; \
8186 (cd $(HOST_SUBDIR)/etc && \
8187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8189 "RANLIB=$${RANLIB}" \
8190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8191 mostlyclean) \
8192 || exit 1
8194 @endif etc
8196 .PHONY: maybe-clean-etc clean-etc
8197 maybe-clean-etc:
8198 @if etc
8199 maybe-clean-etc: clean-etc
8201 clean-etc:
8202 @: $(MAKE); $(unstage)
8203 @[ -f ./etc/Makefile ] || exit 0; \
8204 r=`${PWD_COMMAND}`; export r; \
8205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8206 $(HOST_EXPORTS) \
8207 for flag in $(EXTRA_HOST_FLAGS) ; do \
8208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8209 done; \
8210 echo "Doing clean in etc"; \
8211 (cd $(HOST_SUBDIR)/etc && \
8212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8214 "RANLIB=$${RANLIB}" \
8215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8216 clean) \
8217 || exit 1
8219 @endif etc
8221 .PHONY: maybe-distclean-etc distclean-etc
8222 maybe-distclean-etc:
8223 @if etc
8224 maybe-distclean-etc: distclean-etc
8226 distclean-etc:
8227 @: $(MAKE); $(unstage)
8228 @[ -f ./etc/Makefile ] || exit 0; \
8229 r=`${PWD_COMMAND}`; export r; \
8230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8231 $(HOST_EXPORTS) \
8232 for flag in $(EXTRA_HOST_FLAGS) ; do \
8233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8234 done; \
8235 echo "Doing distclean in etc"; \
8236 (cd $(HOST_SUBDIR)/etc && \
8237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8239 "RANLIB=$${RANLIB}" \
8240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8241 distclean) \
8242 || exit 1
8244 @endif etc
8246 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8247 maybe-maintainer-clean-etc:
8248 @if etc
8249 maybe-maintainer-clean-etc: maintainer-clean-etc
8251 maintainer-clean-etc:
8252 @: $(MAKE); $(unstage)
8253 @[ -f ./etc/Makefile ] || exit 0; \
8254 r=`${PWD_COMMAND}`; export r; \
8255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8256 $(HOST_EXPORTS) \
8257 for flag in $(EXTRA_HOST_FLAGS) ; do \
8258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8259 done; \
8260 echo "Doing maintainer-clean in etc"; \
8261 (cd $(HOST_SUBDIR)/etc && \
8262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8264 "RANLIB=$${RANLIB}" \
8265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8266 maintainer-clean) \
8267 || exit 1
8269 @endif etc
8273 .PHONY: configure-fastjar maybe-configure-fastjar
8274 maybe-configure-fastjar:
8275 @if gcc-bootstrap
8276 configure-fastjar: stage_current
8277 @endif gcc-bootstrap
8278 @if fastjar
8279 maybe-configure-fastjar: configure-fastjar
8280 configure-fastjar:
8281 @: $(MAKE); $(unstage)
8282 @r=`${PWD_COMMAND}`; export r; \
8283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8284 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8286 $(HOST_EXPORTS) \
8287 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8288 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8289 case $(srcdir) in \
8290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8291 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8293 esac; \
8294 module_srcdir=fastjar; \
8295 $(SHELL) \
8296 $$s/$$module_srcdir/configure \
8297 --srcdir=$${topdir}/$$module_srcdir \
8298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8299 --target=${target_alias} \
8300 || exit 1
8301 @endif fastjar
8307 .PHONY: all-fastjar maybe-all-fastjar
8308 maybe-all-fastjar:
8309 @if gcc-bootstrap
8310 all-fastjar: stage_current
8311 @endif gcc-bootstrap
8312 @if fastjar
8313 TARGET-fastjar=all
8314 maybe-all-fastjar: all-fastjar
8315 all-fastjar: configure-fastjar
8316 @: $(MAKE); $(unstage)
8317 @r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(HOST_EXPORTS) \
8320 (cd $(HOST_SUBDIR)/fastjar && \
8321 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8322 $(TARGET-fastjar))
8323 @endif fastjar
8328 .PHONY: check-fastjar maybe-check-fastjar
8329 maybe-check-fastjar:
8330 @if fastjar
8331 maybe-check-fastjar: check-fastjar
8333 # This module is only tested in a native toolchain.
8334 check-fastjar:
8335 @: $(MAKE); $(unstage)
8336 @if [ '$(host)' = '$(target)' ]; then \
8337 r=`${PWD_COMMAND}`; export r; \
8338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8339 $(HOST_EXPORTS) \
8340 (cd $(HOST_SUBDIR)/fastjar && \
8341 $(MAKE) $(FLAGS_TO_PASS) check)
8344 @endif fastjar
8346 .PHONY: install-fastjar maybe-install-fastjar
8347 maybe-install-fastjar:
8348 @if fastjar
8349 maybe-install-fastjar: install-fastjar
8351 install-fastjar: installdirs
8352 @: $(MAKE); $(unstage)
8353 @r=`${PWD_COMMAND}`; export r; \
8354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8355 $(HOST_EXPORTS) \
8356 (cd $(HOST_SUBDIR)/fastjar && \
8357 $(MAKE) $(FLAGS_TO_PASS) install)
8359 @endif fastjar
8361 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8362 maybe-install-strip-fastjar:
8363 @if fastjar
8364 maybe-install-strip-fastjar: install-strip-fastjar
8366 install-strip-fastjar: installdirs
8367 @: $(MAKE); $(unstage)
8368 @r=`${PWD_COMMAND}`; export r; \
8369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8370 $(HOST_EXPORTS) \
8371 (cd $(HOST_SUBDIR)/fastjar && \
8372 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8374 @endif fastjar
8376 # Other targets (info, dvi, pdf, etc.)
8378 .PHONY: maybe-info-fastjar info-fastjar
8379 maybe-info-fastjar:
8380 @if fastjar
8381 maybe-info-fastjar: info-fastjar
8383 info-fastjar: \
8384 configure-fastjar
8385 @: $(MAKE); $(unstage)
8386 @[ -f ./fastjar/Makefile ] || exit 0; \
8387 r=`${PWD_COMMAND}`; export r; \
8388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8389 $(HOST_EXPORTS) \
8390 for flag in $(EXTRA_HOST_FLAGS) ; do \
8391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8392 done; \
8393 echo "Doing info in fastjar"; \
8394 (cd $(HOST_SUBDIR)/fastjar && \
8395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8397 "RANLIB=$${RANLIB}" \
8398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8399 info) \
8400 || exit 1
8402 @endif fastjar
8404 .PHONY: maybe-dvi-fastjar dvi-fastjar
8405 maybe-dvi-fastjar:
8406 @if fastjar
8407 maybe-dvi-fastjar: dvi-fastjar
8409 dvi-fastjar: \
8410 configure-fastjar
8411 @: $(MAKE); $(unstage)
8412 @[ -f ./fastjar/Makefile ] || exit 0; \
8413 r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(HOST_EXPORTS) \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418 done; \
8419 echo "Doing dvi in fastjar"; \
8420 (cd $(HOST_SUBDIR)/fastjar && \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8425 dvi) \
8426 || exit 1
8428 @endif fastjar
8430 .PHONY: maybe-pdf-fastjar pdf-fastjar
8431 maybe-pdf-fastjar:
8432 @if fastjar
8433 maybe-pdf-fastjar: pdf-fastjar
8435 pdf-fastjar: \
8436 configure-fastjar
8437 @: $(MAKE); $(unstage)
8438 @[ -f ./fastjar/Makefile ] || exit 0; \
8439 r=`${PWD_COMMAND}`; export r; \
8440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8441 $(HOST_EXPORTS) \
8442 for flag in $(EXTRA_HOST_FLAGS) ; do \
8443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8444 done; \
8445 echo "Doing pdf in fastjar"; \
8446 (cd $(HOST_SUBDIR)/fastjar && \
8447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449 "RANLIB=$${RANLIB}" \
8450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8451 pdf) \
8452 || exit 1
8454 @endif fastjar
8456 .PHONY: maybe-html-fastjar html-fastjar
8457 maybe-html-fastjar:
8458 @if fastjar
8459 maybe-html-fastjar: html-fastjar
8461 html-fastjar: \
8462 configure-fastjar
8463 @: $(MAKE); $(unstage)
8464 @[ -f ./fastjar/Makefile ] || exit 0; \
8465 r=`${PWD_COMMAND}`; export r; \
8466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8467 $(HOST_EXPORTS) \
8468 for flag in $(EXTRA_HOST_FLAGS) ; do \
8469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8470 done; \
8471 echo "Doing html in fastjar"; \
8472 (cd $(HOST_SUBDIR)/fastjar && \
8473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8475 "RANLIB=$${RANLIB}" \
8476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8477 html) \
8478 || exit 1
8480 @endif fastjar
8482 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8483 maybe-TAGS-fastjar:
8484 @if fastjar
8485 maybe-TAGS-fastjar: TAGS-fastjar
8487 TAGS-fastjar: \
8488 configure-fastjar
8489 @: $(MAKE); $(unstage)
8490 @[ -f ./fastjar/Makefile ] || exit 0; \
8491 r=`${PWD_COMMAND}`; export r; \
8492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8493 $(HOST_EXPORTS) \
8494 for flag in $(EXTRA_HOST_FLAGS) ; do \
8495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8496 done; \
8497 echo "Doing TAGS in fastjar"; \
8498 (cd $(HOST_SUBDIR)/fastjar && \
8499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8501 "RANLIB=$${RANLIB}" \
8502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8503 TAGS) \
8504 || exit 1
8506 @endif fastjar
8508 .PHONY: maybe-install-info-fastjar install-info-fastjar
8509 maybe-install-info-fastjar:
8510 @if fastjar
8511 maybe-install-info-fastjar: install-info-fastjar
8513 install-info-fastjar: \
8514 configure-fastjar \
8515 info-fastjar
8516 @: $(MAKE); $(unstage)
8517 @[ -f ./fastjar/Makefile ] || exit 0; \
8518 r=`${PWD_COMMAND}`; export r; \
8519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8520 $(HOST_EXPORTS) \
8521 for flag in $(EXTRA_HOST_FLAGS) ; do \
8522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8523 done; \
8524 echo "Doing install-info in fastjar"; \
8525 (cd $(HOST_SUBDIR)/fastjar && \
8526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8528 "RANLIB=$${RANLIB}" \
8529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8530 install-info) \
8531 || exit 1
8533 @endif fastjar
8535 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8536 maybe-install-pdf-fastjar:
8537 @if fastjar
8538 maybe-install-pdf-fastjar: install-pdf-fastjar
8540 install-pdf-fastjar: \
8541 configure-fastjar \
8542 pdf-fastjar
8543 @: $(MAKE); $(unstage)
8544 @[ -f ./fastjar/Makefile ] || exit 0; \
8545 r=`${PWD_COMMAND}`; export r; \
8546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8547 $(HOST_EXPORTS) \
8548 for flag in $(EXTRA_HOST_FLAGS) ; do \
8549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8550 done; \
8551 echo "Doing install-pdf in fastjar"; \
8552 (cd $(HOST_SUBDIR)/fastjar && \
8553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8555 "RANLIB=$${RANLIB}" \
8556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8557 install-pdf) \
8558 || exit 1
8560 @endif fastjar
8562 .PHONY: maybe-install-html-fastjar install-html-fastjar
8563 maybe-install-html-fastjar:
8564 @if fastjar
8565 maybe-install-html-fastjar: install-html-fastjar
8567 install-html-fastjar: \
8568 configure-fastjar \
8569 html-fastjar
8570 @: $(MAKE); $(unstage)
8571 @[ -f ./fastjar/Makefile ] || exit 0; \
8572 r=`${PWD_COMMAND}`; export r; \
8573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8574 $(HOST_EXPORTS) \
8575 for flag in $(EXTRA_HOST_FLAGS) ; do \
8576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8577 done; \
8578 echo "Doing install-html in fastjar"; \
8579 (cd $(HOST_SUBDIR)/fastjar && \
8580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8582 "RANLIB=$${RANLIB}" \
8583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8584 install-html) \
8585 || exit 1
8587 @endif fastjar
8589 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8590 maybe-installcheck-fastjar:
8591 @if fastjar
8592 maybe-installcheck-fastjar: installcheck-fastjar
8594 installcheck-fastjar: \
8595 configure-fastjar
8596 @: $(MAKE); $(unstage)
8597 @[ -f ./fastjar/Makefile ] || exit 0; \
8598 r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8600 $(HOST_EXPORTS) \
8601 for flag in $(EXTRA_HOST_FLAGS) ; do \
8602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8603 done; \
8604 echo "Doing installcheck in fastjar"; \
8605 (cd $(HOST_SUBDIR)/fastjar && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8608 "RANLIB=$${RANLIB}" \
8609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8610 installcheck) \
8611 || exit 1
8613 @endif fastjar
8615 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8616 maybe-mostlyclean-fastjar:
8617 @if fastjar
8618 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8620 mostlyclean-fastjar:
8621 @: $(MAKE); $(unstage)
8622 @[ -f ./fastjar/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 for flag in $(EXTRA_HOST_FLAGS) ; do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing mostlyclean in fastjar"; \
8630 (cd $(HOST_SUBDIR)/fastjar && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8635 mostlyclean) \
8636 || exit 1
8638 @endif fastjar
8640 .PHONY: maybe-clean-fastjar clean-fastjar
8641 maybe-clean-fastjar:
8642 @if fastjar
8643 maybe-clean-fastjar: clean-fastjar
8645 clean-fastjar:
8646 @: $(MAKE); $(unstage)
8647 @[ -f ./fastjar/Makefile ] || exit 0; \
8648 r=`${PWD_COMMAND}`; export r; \
8649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 $(HOST_EXPORTS) \
8651 for flag in $(EXTRA_HOST_FLAGS) ; do \
8652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8653 done; \
8654 echo "Doing clean in fastjar"; \
8655 (cd $(HOST_SUBDIR)/fastjar && \
8656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8658 "RANLIB=$${RANLIB}" \
8659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8660 clean) \
8661 || exit 1
8663 @endif fastjar
8665 .PHONY: maybe-distclean-fastjar distclean-fastjar
8666 maybe-distclean-fastjar:
8667 @if fastjar
8668 maybe-distclean-fastjar: distclean-fastjar
8670 distclean-fastjar:
8671 @: $(MAKE); $(unstage)
8672 @[ -f ./fastjar/Makefile ] || exit 0; \
8673 r=`${PWD_COMMAND}`; export r; \
8674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8675 $(HOST_EXPORTS) \
8676 for flag in $(EXTRA_HOST_FLAGS) ; do \
8677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8678 done; \
8679 echo "Doing distclean in fastjar"; \
8680 (cd $(HOST_SUBDIR)/fastjar && \
8681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8683 "RANLIB=$${RANLIB}" \
8684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8685 distclean) \
8686 || exit 1
8688 @endif fastjar
8690 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8691 maybe-maintainer-clean-fastjar:
8692 @if fastjar
8693 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8695 maintainer-clean-fastjar:
8696 @: $(MAKE); $(unstage)
8697 @[ -f ./fastjar/Makefile ] || exit 0; \
8698 r=`${PWD_COMMAND}`; export r; \
8699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8700 $(HOST_EXPORTS) \
8701 for flag in $(EXTRA_HOST_FLAGS) ; do \
8702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8703 done; \
8704 echo "Doing maintainer-clean in fastjar"; \
8705 (cd $(HOST_SUBDIR)/fastjar && \
8706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8708 "RANLIB=$${RANLIB}" \
8709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8710 maintainer-clean) \
8711 || exit 1
8713 @endif fastjar
8717 .PHONY: configure-fixincludes maybe-configure-fixincludes
8718 maybe-configure-fixincludes:
8719 @if gcc-bootstrap
8720 configure-fixincludes: stage_current
8721 @endif gcc-bootstrap
8722 @if fixincludes
8723 maybe-configure-fixincludes: configure-fixincludes
8724 configure-fixincludes:
8725 @r=`${PWD_COMMAND}`; export r; \
8726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8727 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8729 $(HOST_EXPORTS) \
8730 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8731 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8732 case $(srcdir) in \
8733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8734 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8736 esac; \
8737 module_srcdir=fixincludes; \
8738 $(SHELL) \
8739 $$s/$$module_srcdir/configure \
8740 --srcdir=$${topdir}/$$module_srcdir \
8741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8742 --target=${target_alias} \
8743 || exit 1
8744 @endif fixincludes
8748 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8749 maybe-configure-stage1-fixincludes:
8750 @if fixincludes-bootstrap
8751 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8752 configure-stage1-fixincludes:
8753 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8755 @r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8757 TFLAGS="$(STAGE1_TFLAGS)"; \
8758 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8759 $(HOST_EXPORTS) \
8760 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8761 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8762 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8763 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8765 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8766 case $(srcdir) in \
8767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8768 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8770 esac; \
8771 module_srcdir=fixincludes; \
8772 $(SHELL) $$s/$$module_srcdir/configure \
8773 --srcdir=$${topdir}/$$module_srcdir \
8774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8775 --target=${target_alias} \
8777 $(STAGE1_CONFIGURE_FLAGS)
8778 @endif fixincludes-bootstrap
8780 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8781 maybe-configure-stage2-fixincludes:
8782 @if fixincludes-bootstrap
8783 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8784 configure-stage2-fixincludes:
8785 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8787 @r=`${PWD_COMMAND}`; export r; \
8788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8789 TFLAGS="$(STAGE2_TFLAGS)"; \
8790 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8791 $(HOST_EXPORTS) \
8792 $(POSTSTAGE1_HOST_EXPORTS) \
8793 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8794 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8795 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8796 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8798 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8799 case $(srcdir) in \
8800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8801 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8803 esac; \
8804 module_srcdir=fixincludes; \
8805 $(SHELL) $$s/$$module_srcdir/configure \
8806 --srcdir=$${topdir}/$$module_srcdir \
8807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8808 --target=${target_alias} \
8809 --with-build-libsubdir=$(HOST_SUBDIR) \
8810 $(STAGE2_CONFIGURE_FLAGS)
8811 @endif fixincludes-bootstrap
8813 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8814 maybe-configure-stage3-fixincludes:
8815 @if fixincludes-bootstrap
8816 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8817 configure-stage3-fixincludes:
8818 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8819 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8820 @r=`${PWD_COMMAND}`; export r; \
8821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8822 TFLAGS="$(STAGE3_TFLAGS)"; \
8823 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8824 $(HOST_EXPORTS) \
8825 $(POSTSTAGE1_HOST_EXPORTS) \
8826 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8827 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8828 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8829 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8831 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8832 case $(srcdir) in \
8833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8834 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8836 esac; \
8837 module_srcdir=fixincludes; \
8838 $(SHELL) $$s/$$module_srcdir/configure \
8839 --srcdir=$${topdir}/$$module_srcdir \
8840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8841 --target=${target_alias} \
8842 --with-build-libsubdir=$(HOST_SUBDIR) \
8843 $(STAGE3_CONFIGURE_FLAGS)
8844 @endif fixincludes-bootstrap
8846 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8847 maybe-configure-stage4-fixincludes:
8848 @if fixincludes-bootstrap
8849 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8850 configure-stage4-fixincludes:
8851 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8852 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8853 @r=`${PWD_COMMAND}`; export r; \
8854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8855 TFLAGS="$(STAGE4_TFLAGS)"; \
8856 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8857 $(HOST_EXPORTS) \
8858 $(POSTSTAGE1_HOST_EXPORTS) \
8859 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8860 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8861 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8862 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8864 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8865 case $(srcdir) in \
8866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8867 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8869 esac; \
8870 module_srcdir=fixincludes; \
8871 $(SHELL) $$s/$$module_srcdir/configure \
8872 --srcdir=$${topdir}/$$module_srcdir \
8873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8874 --target=${target_alias} \
8875 --with-build-libsubdir=$(HOST_SUBDIR) \
8876 $(STAGE4_CONFIGURE_FLAGS)
8877 @endif fixincludes-bootstrap
8879 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8880 maybe-configure-stageprofile-fixincludes:
8881 @if fixincludes-bootstrap
8882 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8883 configure-stageprofile-fixincludes:
8884 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8886 @r=`${PWD_COMMAND}`; export r; \
8887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8889 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8890 $(HOST_EXPORTS) \
8891 $(POSTSTAGE1_HOST_EXPORTS) \
8892 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8893 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8894 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8895 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8897 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8898 case $(srcdir) in \
8899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8900 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8902 esac; \
8903 module_srcdir=fixincludes; \
8904 $(SHELL) $$s/$$module_srcdir/configure \
8905 --srcdir=$${topdir}/$$module_srcdir \
8906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8907 --target=${target_alias} \
8908 --with-build-libsubdir=$(HOST_SUBDIR) \
8909 $(STAGEprofile_CONFIGURE_FLAGS)
8910 @endif fixincludes-bootstrap
8912 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
8913 maybe-configure-stagetrain-fixincludes:
8914 @if fixincludes-bootstrap
8915 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
8916 configure-stagetrain-fixincludes:
8917 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
8918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8919 @r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 TFLAGS="$(STAGEtrain_TFLAGS)"; \
8922 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8923 $(HOST_EXPORTS) \
8924 $(POSTSTAGE1_HOST_EXPORTS) \
8925 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
8926 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
8927 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
8928 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
8929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8930 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8931 case $(srcdir) in \
8932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8933 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8935 esac; \
8936 module_srcdir=fixincludes; \
8937 $(SHELL) $$s/$$module_srcdir/configure \
8938 --srcdir=$${topdir}/$$module_srcdir \
8939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8940 --target=${target_alias} \
8941 --with-build-libsubdir=$(HOST_SUBDIR) \
8942 $(STAGEtrain_CONFIGURE_FLAGS)
8943 @endif fixincludes-bootstrap
8945 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8946 maybe-configure-stagefeedback-fixincludes:
8947 @if fixincludes-bootstrap
8948 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8949 configure-stagefeedback-fixincludes:
8950 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8952 @r=`${PWD_COMMAND}`; export r; \
8953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8954 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8955 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8956 $(HOST_EXPORTS) \
8957 $(POSTSTAGE1_HOST_EXPORTS) \
8958 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8959 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8960 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8961 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8963 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8964 case $(srcdir) in \
8965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8966 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8968 esac; \
8969 module_srcdir=fixincludes; \
8970 $(SHELL) $$s/$$module_srcdir/configure \
8971 --srcdir=$${topdir}/$$module_srcdir \
8972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8973 --target=${target_alias} \
8974 --with-build-libsubdir=$(HOST_SUBDIR) \
8975 $(STAGEfeedback_CONFIGURE_FLAGS)
8976 @endif fixincludes-bootstrap
8978 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8979 maybe-configure-stageautoprofile-fixincludes:
8980 @if fixincludes-bootstrap
8981 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8982 configure-stageautoprofile-fixincludes:
8983 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8985 @r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8988 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8989 $(HOST_EXPORTS) \
8990 $(POSTSTAGE1_HOST_EXPORTS) \
8991 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
8992 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
8993 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
8994 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
8995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8996 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8997 case $(srcdir) in \
8998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8999 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9001 esac; \
9002 module_srcdir=fixincludes; \
9003 $(SHELL) $$s/$$module_srcdir/configure \
9004 --srcdir=$${topdir}/$$module_srcdir \
9005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9006 --target=${target_alias} \
9007 --with-build-libsubdir=$(HOST_SUBDIR) \
9008 $(STAGEautoprofile_CONFIGURE_FLAGS)
9009 @endif fixincludes-bootstrap
9011 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9012 maybe-configure-stageautofeedback-fixincludes:
9013 @if fixincludes-bootstrap
9014 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9015 configure-stageautofeedback-fixincludes:
9016 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9018 @r=`${PWD_COMMAND}`; export r; \
9019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9020 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9021 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9022 $(HOST_EXPORTS) \
9023 $(POSTSTAGE1_HOST_EXPORTS) \
9024 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9025 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9026 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9027 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9029 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9030 case $(srcdir) in \
9031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9032 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9034 esac; \
9035 module_srcdir=fixincludes; \
9036 $(SHELL) $$s/$$module_srcdir/configure \
9037 --srcdir=$${topdir}/$$module_srcdir \
9038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9039 --target=${target_alias} \
9040 --with-build-libsubdir=$(HOST_SUBDIR) \
9041 $(STAGEautofeedback_CONFIGURE_FLAGS)
9042 @endif fixincludes-bootstrap
9048 .PHONY: all-fixincludes maybe-all-fixincludes
9049 maybe-all-fixincludes:
9050 @if gcc-bootstrap
9051 all-fixincludes: stage_current
9052 @endif gcc-bootstrap
9053 @if fixincludes
9054 TARGET-fixincludes=all
9055 maybe-all-fixincludes: all-fixincludes
9056 all-fixincludes: configure-fixincludes
9057 @r=`${PWD_COMMAND}`; export r; \
9058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9059 $(HOST_EXPORTS) \
9060 (cd $(HOST_SUBDIR)/fixincludes && \
9061 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9062 $(TARGET-fixincludes))
9063 @endif fixincludes
9067 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9068 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9069 maybe-all-stage1-fixincludes:
9070 maybe-clean-stage1-fixincludes:
9071 @if fixincludes-bootstrap
9072 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9073 all-stage1: all-stage1-fixincludes
9074 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9075 all-stage1-fixincludes: configure-stage1-fixincludes
9076 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9077 @r=`${PWD_COMMAND}`; export r; \
9078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9079 TFLAGS="$(STAGE1_TFLAGS)"; \
9080 $(HOST_EXPORTS) \
9081 cd $(HOST_SUBDIR)/fixincludes && \
9083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9084 CFLAGS="$(STAGE1_CFLAGS)" \
9085 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9086 LIBCFLAGS="$(LIBCFLAGS)" \
9087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9090 $(EXTRA_HOST_FLAGS) \
9091 $(STAGE1_FLAGS_TO_PASS) \
9092 TFLAGS="$(STAGE1_TFLAGS)" \
9093 $(TARGET-stage1-fixincludes)
9095 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9096 clean-stage1: clean-stage1-fixincludes
9097 clean-stage1-fixincludes:
9098 @if [ $(current_stage) = stage1 ]; then \
9099 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9100 else \
9101 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9102 $(MAKE) stage1-start; \
9103 fi; \
9104 cd $(HOST_SUBDIR)/fixincludes && \
9105 $(MAKE) $(EXTRA_HOST_FLAGS) \
9106 $(STAGE1_FLAGS_TO_PASS) clean
9107 @endif fixincludes-bootstrap
9110 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9111 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9112 maybe-all-stage2-fixincludes:
9113 maybe-clean-stage2-fixincludes:
9114 @if fixincludes-bootstrap
9115 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9116 all-stage2: all-stage2-fixincludes
9117 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9118 all-stage2-fixincludes: configure-stage2-fixincludes
9119 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9120 @r=`${PWD_COMMAND}`; export r; \
9121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9122 TFLAGS="$(STAGE2_TFLAGS)"; \
9123 $(HOST_EXPORTS) \
9124 $(POSTSTAGE1_HOST_EXPORTS) \
9125 cd $(HOST_SUBDIR)/fixincludes && \
9127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9128 CFLAGS="$(STAGE2_CFLAGS)" \
9129 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9130 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9135 TFLAGS="$(STAGE2_TFLAGS)" \
9136 $(TARGET-stage2-fixincludes)
9138 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9139 clean-stage2: clean-stage2-fixincludes
9140 clean-stage2-fixincludes:
9141 @if [ $(current_stage) = stage2 ]; then \
9142 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9143 else \
9144 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9145 $(MAKE) stage2-start; \
9146 fi; \
9147 cd $(HOST_SUBDIR)/fixincludes && \
9148 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9149 @endif fixincludes-bootstrap
9152 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9153 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9154 maybe-all-stage3-fixincludes:
9155 maybe-clean-stage3-fixincludes:
9156 @if fixincludes-bootstrap
9157 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9158 all-stage3: all-stage3-fixincludes
9159 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9160 all-stage3-fixincludes: configure-stage3-fixincludes
9161 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9162 @r=`${PWD_COMMAND}`; export r; \
9163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9164 TFLAGS="$(STAGE3_TFLAGS)"; \
9165 $(HOST_EXPORTS) \
9166 $(POSTSTAGE1_HOST_EXPORTS) \
9167 cd $(HOST_SUBDIR)/fixincludes && \
9169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9170 CFLAGS="$(STAGE3_CFLAGS)" \
9171 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9172 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9177 TFLAGS="$(STAGE3_TFLAGS)" \
9178 $(TARGET-stage3-fixincludes)
9180 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9181 clean-stage3: clean-stage3-fixincludes
9182 clean-stage3-fixincludes:
9183 @if [ $(current_stage) = stage3 ]; then \
9184 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9185 else \
9186 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9187 $(MAKE) stage3-start; \
9188 fi; \
9189 cd $(HOST_SUBDIR)/fixincludes && \
9190 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9191 @endif fixincludes-bootstrap
9194 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9195 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9196 maybe-all-stage4-fixincludes:
9197 maybe-clean-stage4-fixincludes:
9198 @if fixincludes-bootstrap
9199 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9200 all-stage4: all-stage4-fixincludes
9201 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9202 all-stage4-fixincludes: configure-stage4-fixincludes
9203 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9204 @r=`${PWD_COMMAND}`; export r; \
9205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9206 TFLAGS="$(STAGE4_TFLAGS)"; \
9207 $(HOST_EXPORTS) \
9208 $(POSTSTAGE1_HOST_EXPORTS) \
9209 cd $(HOST_SUBDIR)/fixincludes && \
9211 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9212 CFLAGS="$(STAGE4_CFLAGS)" \
9213 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9214 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9215 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9216 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9217 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9218 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9219 TFLAGS="$(STAGE4_TFLAGS)" \
9220 $(TARGET-stage4-fixincludes)
9222 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9223 clean-stage4: clean-stage4-fixincludes
9224 clean-stage4-fixincludes:
9225 @if [ $(current_stage) = stage4 ]; then \
9226 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9227 else \
9228 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9229 $(MAKE) stage4-start; \
9230 fi; \
9231 cd $(HOST_SUBDIR)/fixincludes && \
9232 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9233 @endif fixincludes-bootstrap
9236 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9237 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9238 maybe-all-stageprofile-fixincludes:
9239 maybe-clean-stageprofile-fixincludes:
9240 @if fixincludes-bootstrap
9241 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9242 all-stageprofile: all-stageprofile-fixincludes
9243 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9244 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9245 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9246 @r=`${PWD_COMMAND}`; export r; \
9247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9248 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9249 $(HOST_EXPORTS) \
9250 $(POSTSTAGE1_HOST_EXPORTS) \
9251 cd $(HOST_SUBDIR)/fixincludes && \
9253 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9254 CFLAGS="$(STAGEprofile_CFLAGS)" \
9255 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9256 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9257 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9258 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9259 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9260 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9261 TFLAGS="$(STAGEprofile_TFLAGS)" \
9262 $(TARGET-stageprofile-fixincludes)
9264 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9265 clean-stageprofile: clean-stageprofile-fixincludes
9266 clean-stageprofile-fixincludes:
9267 @if [ $(current_stage) = stageprofile ]; then \
9268 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9269 else \
9270 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9271 $(MAKE) stageprofile-start; \
9272 fi; \
9273 cd $(HOST_SUBDIR)/fixincludes && \
9274 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9275 @endif fixincludes-bootstrap
9278 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9279 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9280 maybe-all-stagetrain-fixincludes:
9281 maybe-clean-stagetrain-fixincludes:
9282 @if fixincludes-bootstrap
9283 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9284 all-stagetrain: all-stagetrain-fixincludes
9285 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9286 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9287 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9288 @r=`${PWD_COMMAND}`; export r; \
9289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9290 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9291 $(HOST_EXPORTS) \
9292 $(POSTSTAGE1_HOST_EXPORTS) \
9293 cd $(HOST_SUBDIR)/fixincludes && \
9295 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9296 CFLAGS="$(STAGEtrain_CFLAGS)" \
9297 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9298 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9299 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9300 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9301 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9302 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9303 TFLAGS="$(STAGEtrain_TFLAGS)" \
9304 $(TARGET-stagetrain-fixincludes)
9306 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9307 clean-stagetrain: clean-stagetrain-fixincludes
9308 clean-stagetrain-fixincludes:
9309 @if [ $(current_stage) = stagetrain ]; then \
9310 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9311 else \
9312 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9313 $(MAKE) stagetrain-start; \
9314 fi; \
9315 cd $(HOST_SUBDIR)/fixincludes && \
9316 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9317 @endif fixincludes-bootstrap
9320 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9321 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9322 maybe-all-stagefeedback-fixincludes:
9323 maybe-clean-stagefeedback-fixincludes:
9324 @if fixincludes-bootstrap
9325 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9326 all-stagefeedback: all-stagefeedback-fixincludes
9327 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9328 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9329 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9330 @r=`${PWD_COMMAND}`; export r; \
9331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9332 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9333 $(HOST_EXPORTS) \
9334 $(POSTSTAGE1_HOST_EXPORTS) \
9335 cd $(HOST_SUBDIR)/fixincludes && \
9337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9338 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9339 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9340 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9345 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9346 $(TARGET-stagefeedback-fixincludes)
9348 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9349 clean-stagefeedback: clean-stagefeedback-fixincludes
9350 clean-stagefeedback-fixincludes:
9351 @if [ $(current_stage) = stagefeedback ]; then \
9352 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9353 else \
9354 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9355 $(MAKE) stagefeedback-start; \
9356 fi; \
9357 cd $(HOST_SUBDIR)/fixincludes && \
9358 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9359 @endif fixincludes-bootstrap
9362 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9363 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9364 maybe-all-stageautoprofile-fixincludes:
9365 maybe-clean-stageautoprofile-fixincludes:
9366 @if fixincludes-bootstrap
9367 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9368 all-stageautoprofile: all-stageautoprofile-fixincludes
9369 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9370 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9371 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9372 @r=`${PWD_COMMAND}`; export r; \
9373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9375 $(HOST_EXPORTS) \
9376 $(POSTSTAGE1_HOST_EXPORTS) \
9377 cd $(HOST_SUBDIR)/fixincludes && \
9378 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9379 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9380 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9381 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9382 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9386 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9387 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9388 $(TARGET-stageautoprofile-fixincludes)
9390 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9391 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9392 clean-stageautoprofile-fixincludes:
9393 @if [ $(current_stage) = stageautoprofile ]; then \
9394 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9395 else \
9396 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9397 $(MAKE) stageautoprofile-start; \
9398 fi; \
9399 cd $(HOST_SUBDIR)/fixincludes && \
9400 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9401 @endif fixincludes-bootstrap
9404 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9405 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9406 maybe-all-stageautofeedback-fixincludes:
9407 maybe-clean-stageautofeedback-fixincludes:
9408 @if fixincludes-bootstrap
9409 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9410 all-stageautofeedback: all-stageautofeedback-fixincludes
9411 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9412 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9413 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9414 @r=`${PWD_COMMAND}`; export r; \
9415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9416 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9417 $(HOST_EXPORTS) \
9418 $(POSTSTAGE1_HOST_EXPORTS) \
9419 cd $(HOST_SUBDIR)/fixincludes && \
9421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9422 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9423 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9424 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9425 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9426 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9427 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9428 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9429 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9430 $(TARGET-stageautofeedback-fixincludes)
9432 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9433 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9434 clean-stageautofeedback-fixincludes:
9435 @if [ $(current_stage) = stageautofeedback ]; then \
9436 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9437 else \
9438 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9439 $(MAKE) stageautofeedback-start; \
9440 fi; \
9441 cd $(HOST_SUBDIR)/fixincludes && \
9442 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9443 @endif fixincludes-bootstrap
9449 .PHONY: check-fixincludes maybe-check-fixincludes
9450 maybe-check-fixincludes:
9451 @if fixincludes
9452 maybe-check-fixincludes: check-fixincludes
9454 check-fixincludes:
9455 @: $(MAKE); $(unstage)
9456 @r=`${PWD_COMMAND}`; export r; \
9457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9458 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9459 (cd $(HOST_SUBDIR)/fixincludes && \
9460 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9462 @endif fixincludes
9464 .PHONY: install-fixincludes maybe-install-fixincludes
9465 maybe-install-fixincludes:
9466 @if fixincludes
9467 maybe-install-fixincludes: install-fixincludes
9469 install-fixincludes: installdirs
9470 @: $(MAKE); $(unstage)
9471 @r=`${PWD_COMMAND}`; export r; \
9472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9473 $(HOST_EXPORTS) \
9474 (cd $(HOST_SUBDIR)/fixincludes && \
9475 $(MAKE) $(FLAGS_TO_PASS) install)
9477 @endif fixincludes
9479 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9480 maybe-install-strip-fixincludes:
9481 @if fixincludes
9482 maybe-install-strip-fixincludes: install-strip-fixincludes
9484 install-strip-fixincludes: installdirs
9485 @: $(MAKE); $(unstage)
9486 @r=`${PWD_COMMAND}`; export r; \
9487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9488 $(HOST_EXPORTS) \
9489 (cd $(HOST_SUBDIR)/fixincludes && \
9490 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9492 @endif fixincludes
9494 # Other targets (info, dvi, pdf, etc.)
9496 .PHONY: maybe-info-fixincludes info-fixincludes
9497 maybe-info-fixincludes:
9498 @if fixincludes
9499 maybe-info-fixincludes: info-fixincludes
9501 info-fixincludes: \
9502 configure-fixincludes
9503 @[ -f ./fixincludes/Makefile ] || exit 0; \
9504 r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 $(HOST_EXPORTS) \
9507 for flag in $(EXTRA_HOST_FLAGS) ; do \
9508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9509 done; \
9510 echo "Doing info in fixincludes"; \
9511 (cd $(HOST_SUBDIR)/fixincludes && \
9512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9514 "RANLIB=$${RANLIB}" \
9515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9516 info) \
9517 || exit 1
9519 @endif fixincludes
9521 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9522 maybe-dvi-fixincludes:
9523 @if fixincludes
9524 maybe-dvi-fixincludes: dvi-fixincludes
9526 dvi-fixincludes: \
9527 configure-fixincludes
9528 @[ -f ./fixincludes/Makefile ] || exit 0; \
9529 r=`${PWD_COMMAND}`; export r; \
9530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9531 $(HOST_EXPORTS) \
9532 for flag in $(EXTRA_HOST_FLAGS) ; do \
9533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9534 done; \
9535 echo "Doing dvi in fixincludes"; \
9536 (cd $(HOST_SUBDIR)/fixincludes && \
9537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9539 "RANLIB=$${RANLIB}" \
9540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9541 dvi) \
9542 || exit 1
9544 @endif fixincludes
9546 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9547 maybe-pdf-fixincludes:
9548 @if fixincludes
9549 maybe-pdf-fixincludes: pdf-fixincludes
9551 pdf-fixincludes: \
9552 configure-fixincludes
9553 @[ -f ./fixincludes/Makefile ] || exit 0; \
9554 r=`${PWD_COMMAND}`; export r; \
9555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9556 $(HOST_EXPORTS) \
9557 for flag in $(EXTRA_HOST_FLAGS) ; do \
9558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9559 done; \
9560 echo "Doing pdf in fixincludes"; \
9561 (cd $(HOST_SUBDIR)/fixincludes && \
9562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9564 "RANLIB=$${RANLIB}" \
9565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9566 pdf) \
9567 || exit 1
9569 @endif fixincludes
9571 .PHONY: maybe-html-fixincludes html-fixincludes
9572 maybe-html-fixincludes:
9573 @if fixincludes
9574 maybe-html-fixincludes: html-fixincludes
9576 html-fixincludes: \
9577 configure-fixincludes
9578 @[ -f ./fixincludes/Makefile ] || exit 0; \
9579 r=`${PWD_COMMAND}`; export r; \
9580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9581 $(HOST_EXPORTS) \
9582 for flag in $(EXTRA_HOST_FLAGS) ; do \
9583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9584 done; \
9585 echo "Doing html in fixincludes"; \
9586 (cd $(HOST_SUBDIR)/fixincludes && \
9587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589 "RANLIB=$${RANLIB}" \
9590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9591 html) \
9592 || exit 1
9594 @endif fixincludes
9596 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9597 maybe-TAGS-fixincludes:
9598 @if fixincludes
9599 maybe-TAGS-fixincludes: TAGS-fixincludes
9601 # fixincludes doesn't support TAGS.
9602 TAGS-fixincludes:
9604 @endif fixincludes
9606 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9607 maybe-install-info-fixincludes:
9608 @if fixincludes
9609 maybe-install-info-fixincludes: install-info-fixincludes
9611 install-info-fixincludes: \
9612 configure-fixincludes \
9613 info-fixincludes
9614 @[ -f ./fixincludes/Makefile ] || exit 0; \
9615 r=`${PWD_COMMAND}`; export r; \
9616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 $(HOST_EXPORTS) \
9618 for flag in $(EXTRA_HOST_FLAGS) ; do \
9619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9620 done; \
9621 echo "Doing install-info in fixincludes"; \
9622 (cd $(HOST_SUBDIR)/fixincludes && \
9623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9625 "RANLIB=$${RANLIB}" \
9626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9627 install-info) \
9628 || exit 1
9630 @endif fixincludes
9632 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9633 maybe-install-pdf-fixincludes:
9634 @if fixincludes
9635 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9637 install-pdf-fixincludes: \
9638 configure-fixincludes \
9639 pdf-fixincludes
9640 @[ -f ./fixincludes/Makefile ] || exit 0; \
9641 r=`${PWD_COMMAND}`; export r; \
9642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9643 $(HOST_EXPORTS) \
9644 for flag in $(EXTRA_HOST_FLAGS) ; do \
9645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9646 done; \
9647 echo "Doing install-pdf in fixincludes"; \
9648 (cd $(HOST_SUBDIR)/fixincludes && \
9649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9651 "RANLIB=$${RANLIB}" \
9652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9653 install-pdf) \
9654 || exit 1
9656 @endif fixincludes
9658 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9659 maybe-install-html-fixincludes:
9660 @if fixincludes
9661 maybe-install-html-fixincludes: install-html-fixincludes
9663 install-html-fixincludes: \
9664 configure-fixincludes \
9665 html-fixincludes
9666 @[ -f ./fixincludes/Makefile ] || exit 0; \
9667 r=`${PWD_COMMAND}`; export r; \
9668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9669 $(HOST_EXPORTS) \
9670 for flag in $(EXTRA_HOST_FLAGS) ; do \
9671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9672 done; \
9673 echo "Doing install-html in fixincludes"; \
9674 (cd $(HOST_SUBDIR)/fixincludes && \
9675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9677 "RANLIB=$${RANLIB}" \
9678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9679 install-html) \
9680 || exit 1
9682 @endif fixincludes
9684 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9685 maybe-installcheck-fixincludes:
9686 @if fixincludes
9687 maybe-installcheck-fixincludes: installcheck-fixincludes
9689 installcheck-fixincludes: \
9690 configure-fixincludes
9691 @[ -f ./fixincludes/Makefile ] || exit 0; \
9692 r=`${PWD_COMMAND}`; export r; \
9693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9694 $(HOST_EXPORTS) \
9695 for flag in $(EXTRA_HOST_FLAGS) ; do \
9696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9697 done; \
9698 echo "Doing installcheck in fixincludes"; \
9699 (cd $(HOST_SUBDIR)/fixincludes && \
9700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9702 "RANLIB=$${RANLIB}" \
9703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9704 installcheck) \
9705 || exit 1
9707 @endif fixincludes
9709 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9710 maybe-mostlyclean-fixincludes:
9711 @if fixincludes
9712 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9714 mostlyclean-fixincludes:
9715 @[ -f ./fixincludes/Makefile ] || exit 0; \
9716 r=`${PWD_COMMAND}`; export r; \
9717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9718 $(HOST_EXPORTS) \
9719 for flag in $(EXTRA_HOST_FLAGS) ; do \
9720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9721 done; \
9722 echo "Doing mostlyclean in fixincludes"; \
9723 (cd $(HOST_SUBDIR)/fixincludes && \
9724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9726 "RANLIB=$${RANLIB}" \
9727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9728 mostlyclean) \
9729 || exit 1
9731 @endif fixincludes
9733 .PHONY: maybe-clean-fixincludes clean-fixincludes
9734 maybe-clean-fixincludes:
9735 @if fixincludes
9736 maybe-clean-fixincludes: clean-fixincludes
9738 clean-fixincludes:
9739 @[ -f ./fixincludes/Makefile ] || exit 0; \
9740 r=`${PWD_COMMAND}`; export r; \
9741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9742 $(HOST_EXPORTS) \
9743 for flag in $(EXTRA_HOST_FLAGS) ; do \
9744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9745 done; \
9746 echo "Doing clean in fixincludes"; \
9747 (cd $(HOST_SUBDIR)/fixincludes && \
9748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9750 "RANLIB=$${RANLIB}" \
9751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9752 clean) \
9753 || exit 1
9755 @endif fixincludes
9757 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9758 maybe-distclean-fixincludes:
9759 @if fixincludes
9760 maybe-distclean-fixincludes: distclean-fixincludes
9762 distclean-fixincludes:
9763 @[ -f ./fixincludes/Makefile ] || exit 0; \
9764 r=`${PWD_COMMAND}`; export r; \
9765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9766 $(HOST_EXPORTS) \
9767 for flag in $(EXTRA_HOST_FLAGS) ; do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9769 done; \
9770 echo "Doing distclean in fixincludes"; \
9771 (cd $(HOST_SUBDIR)/fixincludes && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9776 distclean) \
9777 || exit 1
9779 @endif fixincludes
9781 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9782 maybe-maintainer-clean-fixincludes:
9783 @if fixincludes
9784 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9786 maintainer-clean-fixincludes:
9787 @[ -f ./fixincludes/Makefile ] || exit 0; \
9788 r=`${PWD_COMMAND}`; export r; \
9789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9790 $(HOST_EXPORTS) \
9791 for flag in $(EXTRA_HOST_FLAGS) ; do \
9792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9793 done; \
9794 echo "Doing maintainer-clean in fixincludes"; \
9795 (cd $(HOST_SUBDIR)/fixincludes && \
9796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9798 "RANLIB=$${RANLIB}" \
9799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9800 maintainer-clean) \
9801 || exit 1
9803 @endif fixincludes
9807 .PHONY: configure-flex maybe-configure-flex
9808 maybe-configure-flex:
9809 @if gcc-bootstrap
9810 configure-flex: stage_current
9811 @endif gcc-bootstrap
9812 @if flex
9813 maybe-configure-flex: configure-flex
9814 configure-flex:
9815 @: $(MAKE); $(unstage)
9816 @r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9818 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9820 $(HOST_EXPORTS) \
9821 echo Configuring in $(HOST_SUBDIR)/flex; \
9822 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9823 case $(srcdir) in \
9824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9825 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9827 esac; \
9828 module_srcdir=flex; \
9829 $(SHELL) \
9830 $$s/$$module_srcdir/configure \
9831 --srcdir=$${topdir}/$$module_srcdir \
9832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9833 --target=${target_alias} \
9834 || exit 1
9835 @endif flex
9841 .PHONY: all-flex maybe-all-flex
9842 maybe-all-flex:
9843 @if gcc-bootstrap
9844 all-flex: stage_current
9845 @endif gcc-bootstrap
9846 @if flex
9847 TARGET-flex=all
9848 maybe-all-flex: all-flex
9849 all-flex: configure-flex
9850 @: $(MAKE); $(unstage)
9851 @r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 (cd $(HOST_SUBDIR)/flex && \
9855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9856 $(TARGET-flex))
9857 @endif flex
9862 .PHONY: check-flex maybe-check-flex
9863 maybe-check-flex:
9864 @if flex
9865 maybe-check-flex: check-flex
9867 # This module is only tested in a native toolchain.
9868 check-flex:
9869 @: $(MAKE); $(unstage)
9870 @if [ '$(host)' = '$(target)' ]; then \
9871 r=`${PWD_COMMAND}`; export r; \
9872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9873 $(HOST_EXPORTS) \
9874 (cd $(HOST_SUBDIR)/flex && \
9875 $(MAKE) $(FLAGS_TO_PASS) check)
9878 @endif flex
9880 .PHONY: install-flex maybe-install-flex
9881 maybe-install-flex:
9882 @if flex
9883 maybe-install-flex: install-flex
9885 install-flex: installdirs
9886 @: $(MAKE); $(unstage)
9887 @r=`${PWD_COMMAND}`; export r; \
9888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9889 $(HOST_EXPORTS) \
9890 (cd $(HOST_SUBDIR)/flex && \
9891 $(MAKE) $(FLAGS_TO_PASS) install)
9893 @endif flex
9895 .PHONY: install-strip-flex maybe-install-strip-flex
9896 maybe-install-strip-flex:
9897 @if flex
9898 maybe-install-strip-flex: install-strip-flex
9900 install-strip-flex: installdirs
9901 @: $(MAKE); $(unstage)
9902 @r=`${PWD_COMMAND}`; export r; \
9903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9904 $(HOST_EXPORTS) \
9905 (cd $(HOST_SUBDIR)/flex && \
9906 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9908 @endif flex
9910 # Other targets (info, dvi, pdf, etc.)
9912 .PHONY: maybe-info-flex info-flex
9913 maybe-info-flex:
9914 @if flex
9915 maybe-info-flex: info-flex
9917 info-flex: \
9918 configure-flex
9919 @: $(MAKE); $(unstage)
9920 @[ -f ./flex/Makefile ] || exit 0; \
9921 r=`${PWD_COMMAND}`; export r; \
9922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9923 $(HOST_EXPORTS) \
9924 for flag in $(EXTRA_HOST_FLAGS) ; do \
9925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9926 done; \
9927 echo "Doing info in flex"; \
9928 (cd $(HOST_SUBDIR)/flex && \
9929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9931 "RANLIB=$${RANLIB}" \
9932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9933 info) \
9934 || exit 1
9936 @endif flex
9938 .PHONY: maybe-dvi-flex dvi-flex
9939 maybe-dvi-flex:
9940 @if flex
9941 maybe-dvi-flex: dvi-flex
9943 dvi-flex: \
9944 configure-flex
9945 @: $(MAKE); $(unstage)
9946 @[ -f ./flex/Makefile ] || exit 0; \
9947 r=`${PWD_COMMAND}`; export r; \
9948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9949 $(HOST_EXPORTS) \
9950 for flag in $(EXTRA_HOST_FLAGS) ; do \
9951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9952 done; \
9953 echo "Doing dvi in flex"; \
9954 (cd $(HOST_SUBDIR)/flex && \
9955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9957 "RANLIB=$${RANLIB}" \
9958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9959 dvi) \
9960 || exit 1
9962 @endif flex
9964 .PHONY: maybe-pdf-flex pdf-flex
9965 maybe-pdf-flex:
9966 @if flex
9967 maybe-pdf-flex: pdf-flex
9969 pdf-flex: \
9970 configure-flex
9971 @: $(MAKE); $(unstage)
9972 @[ -f ./flex/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(HOST_EXPORTS) \
9976 for flag in $(EXTRA_HOST_FLAGS) ; do \
9977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9978 done; \
9979 echo "Doing pdf in flex"; \
9980 (cd $(HOST_SUBDIR)/flex && \
9981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9983 "RANLIB=$${RANLIB}" \
9984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9985 pdf) \
9986 || exit 1
9988 @endif flex
9990 .PHONY: maybe-html-flex html-flex
9991 maybe-html-flex:
9992 @if flex
9993 maybe-html-flex: html-flex
9995 html-flex: \
9996 configure-flex
9997 @: $(MAKE); $(unstage)
9998 @[ -f ./flex/Makefile ] || exit 0; \
9999 r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS) ; do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing html in flex"; \
10006 (cd $(HOST_SUBDIR)/flex && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10011 html) \
10012 || exit 1
10014 @endif flex
10016 .PHONY: maybe-TAGS-flex TAGS-flex
10017 maybe-TAGS-flex:
10018 @if flex
10019 maybe-TAGS-flex: TAGS-flex
10021 TAGS-flex: \
10022 configure-flex
10023 @: $(MAKE); $(unstage)
10024 @[ -f ./flex/Makefile ] || exit 0; \
10025 r=`${PWD_COMMAND}`; export r; \
10026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10027 $(HOST_EXPORTS) \
10028 for flag in $(EXTRA_HOST_FLAGS) ; do \
10029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10030 done; \
10031 echo "Doing TAGS in flex"; \
10032 (cd $(HOST_SUBDIR)/flex && \
10033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10035 "RANLIB=$${RANLIB}" \
10036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10037 TAGS) \
10038 || exit 1
10040 @endif flex
10042 .PHONY: maybe-install-info-flex install-info-flex
10043 maybe-install-info-flex:
10044 @if flex
10045 maybe-install-info-flex: install-info-flex
10047 install-info-flex: \
10048 configure-flex \
10049 info-flex
10050 @: $(MAKE); $(unstage)
10051 @[ -f ./flex/Makefile ] || exit 0; \
10052 r=`${PWD_COMMAND}`; export r; \
10053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10054 $(HOST_EXPORTS) \
10055 for flag in $(EXTRA_HOST_FLAGS) ; do \
10056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10057 done; \
10058 echo "Doing install-info in flex"; \
10059 (cd $(HOST_SUBDIR)/flex && \
10060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10062 "RANLIB=$${RANLIB}" \
10063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10064 install-info) \
10065 || exit 1
10067 @endif flex
10069 .PHONY: maybe-install-pdf-flex install-pdf-flex
10070 maybe-install-pdf-flex:
10071 @if flex
10072 maybe-install-pdf-flex: install-pdf-flex
10074 install-pdf-flex: \
10075 configure-flex \
10076 pdf-flex
10077 @: $(MAKE); $(unstage)
10078 @[ -f ./flex/Makefile ] || exit 0; \
10079 r=`${PWD_COMMAND}`; export r; \
10080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10081 $(HOST_EXPORTS) \
10082 for flag in $(EXTRA_HOST_FLAGS) ; do \
10083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10084 done; \
10085 echo "Doing install-pdf in flex"; \
10086 (cd $(HOST_SUBDIR)/flex && \
10087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10089 "RANLIB=$${RANLIB}" \
10090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10091 install-pdf) \
10092 || exit 1
10094 @endif flex
10096 .PHONY: maybe-install-html-flex install-html-flex
10097 maybe-install-html-flex:
10098 @if flex
10099 maybe-install-html-flex: install-html-flex
10101 install-html-flex: \
10102 configure-flex \
10103 html-flex
10104 @: $(MAKE); $(unstage)
10105 @[ -f ./flex/Makefile ] || exit 0; \
10106 r=`${PWD_COMMAND}`; export r; \
10107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10108 $(HOST_EXPORTS) \
10109 for flag in $(EXTRA_HOST_FLAGS) ; do \
10110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10111 done; \
10112 echo "Doing install-html in flex"; \
10113 (cd $(HOST_SUBDIR)/flex && \
10114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10116 "RANLIB=$${RANLIB}" \
10117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10118 install-html) \
10119 || exit 1
10121 @endif flex
10123 .PHONY: maybe-installcheck-flex installcheck-flex
10124 maybe-installcheck-flex:
10125 @if flex
10126 maybe-installcheck-flex: installcheck-flex
10128 installcheck-flex: \
10129 configure-flex
10130 @: $(MAKE); $(unstage)
10131 @[ -f ./flex/Makefile ] || exit 0; \
10132 r=`${PWD_COMMAND}`; export r; \
10133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10134 $(HOST_EXPORTS) \
10135 for flag in $(EXTRA_HOST_FLAGS) ; do \
10136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10137 done; \
10138 echo "Doing installcheck in flex"; \
10139 (cd $(HOST_SUBDIR)/flex && \
10140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10142 "RANLIB=$${RANLIB}" \
10143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10144 installcheck) \
10145 || exit 1
10147 @endif flex
10149 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10150 maybe-mostlyclean-flex:
10151 @if flex
10152 maybe-mostlyclean-flex: mostlyclean-flex
10154 mostlyclean-flex:
10155 @: $(MAKE); $(unstage)
10156 @[ -f ./flex/Makefile ] || exit 0; \
10157 r=`${PWD_COMMAND}`; export r; \
10158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10159 $(HOST_EXPORTS) \
10160 for flag in $(EXTRA_HOST_FLAGS) ; do \
10161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10162 done; \
10163 echo "Doing mostlyclean in flex"; \
10164 (cd $(HOST_SUBDIR)/flex && \
10165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10167 "RANLIB=$${RANLIB}" \
10168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10169 mostlyclean) \
10170 || exit 1
10172 @endif flex
10174 .PHONY: maybe-clean-flex clean-flex
10175 maybe-clean-flex:
10176 @if flex
10177 maybe-clean-flex: clean-flex
10179 clean-flex:
10180 @: $(MAKE); $(unstage)
10181 @[ -f ./flex/Makefile ] || exit 0; \
10182 r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 $(HOST_EXPORTS) \
10185 for flag in $(EXTRA_HOST_FLAGS) ; do \
10186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10187 done; \
10188 echo "Doing clean in flex"; \
10189 (cd $(HOST_SUBDIR)/flex && \
10190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10192 "RANLIB=$${RANLIB}" \
10193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10194 clean) \
10195 || exit 1
10197 @endif flex
10199 .PHONY: maybe-distclean-flex distclean-flex
10200 maybe-distclean-flex:
10201 @if flex
10202 maybe-distclean-flex: distclean-flex
10204 distclean-flex:
10205 @: $(MAKE); $(unstage)
10206 @[ -f ./flex/Makefile ] || exit 0; \
10207 r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10209 $(HOST_EXPORTS) \
10210 for flag in $(EXTRA_HOST_FLAGS) ; do \
10211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10212 done; \
10213 echo "Doing distclean in flex"; \
10214 (cd $(HOST_SUBDIR)/flex && \
10215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10217 "RANLIB=$${RANLIB}" \
10218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10219 distclean) \
10220 || exit 1
10222 @endif flex
10224 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10225 maybe-maintainer-clean-flex:
10226 @if flex
10227 maybe-maintainer-clean-flex: maintainer-clean-flex
10229 maintainer-clean-flex:
10230 @: $(MAKE); $(unstage)
10231 @[ -f ./flex/Makefile ] || exit 0; \
10232 r=`${PWD_COMMAND}`; export r; \
10233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 $(HOST_EXPORTS) \
10235 for flag in $(EXTRA_HOST_FLAGS) ; do \
10236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10237 done; \
10238 echo "Doing maintainer-clean in flex"; \
10239 (cd $(HOST_SUBDIR)/flex && \
10240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10242 "RANLIB=$${RANLIB}" \
10243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10244 maintainer-clean) \
10245 || exit 1
10247 @endif flex
10251 .PHONY: configure-gas maybe-configure-gas
10252 maybe-configure-gas:
10253 @if gcc-bootstrap
10254 configure-gas: stage_current
10255 @endif gcc-bootstrap
10256 @if gas
10257 maybe-configure-gas: configure-gas
10258 configure-gas:
10259 @r=`${PWD_COMMAND}`; export r; \
10260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10263 $(HOST_EXPORTS) \
10264 echo Configuring in $(HOST_SUBDIR)/gas; \
10265 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10266 case $(srcdir) in \
10267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10268 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10270 esac; \
10271 module_srcdir=gas; \
10272 $(SHELL) \
10273 $$s/$$module_srcdir/configure \
10274 --srcdir=$${topdir}/$$module_srcdir \
10275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10276 --target=${target_alias} \
10277 || exit 1
10278 @endif gas
10282 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10283 maybe-configure-stage1-gas:
10284 @if gas-bootstrap
10285 maybe-configure-stage1-gas: configure-stage1-gas
10286 configure-stage1-gas:
10287 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10289 @r=`${PWD_COMMAND}`; export r; \
10290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10291 TFLAGS="$(STAGE1_TFLAGS)"; \
10292 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10293 $(HOST_EXPORTS) \
10294 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10295 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10296 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10297 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10299 cd $(HOST_SUBDIR)/gas || exit 1; \
10300 case $(srcdir) in \
10301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10302 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10304 esac; \
10305 module_srcdir=gas; \
10306 $(SHELL) $$s/$$module_srcdir/configure \
10307 --srcdir=$${topdir}/$$module_srcdir \
10308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10309 --target=${target_alias} \
10311 $(STAGE1_CONFIGURE_FLAGS)
10312 @endif gas-bootstrap
10314 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10315 maybe-configure-stage2-gas:
10316 @if gas-bootstrap
10317 maybe-configure-stage2-gas: configure-stage2-gas
10318 configure-stage2-gas:
10319 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10320 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10321 @r=`${PWD_COMMAND}`; export r; \
10322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10323 TFLAGS="$(STAGE2_TFLAGS)"; \
10324 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10325 $(HOST_EXPORTS) \
10326 $(POSTSTAGE1_HOST_EXPORTS) \
10327 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10328 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10329 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10330 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10332 cd $(HOST_SUBDIR)/gas || exit 1; \
10333 case $(srcdir) in \
10334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10335 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10337 esac; \
10338 module_srcdir=gas; \
10339 $(SHELL) $$s/$$module_srcdir/configure \
10340 --srcdir=$${topdir}/$$module_srcdir \
10341 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10342 --target=${target_alias} \
10343 --with-build-libsubdir=$(HOST_SUBDIR) \
10344 $(STAGE2_CONFIGURE_FLAGS)
10345 @endif gas-bootstrap
10347 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10348 maybe-configure-stage3-gas:
10349 @if gas-bootstrap
10350 maybe-configure-stage3-gas: configure-stage3-gas
10351 configure-stage3-gas:
10352 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10354 @r=`${PWD_COMMAND}`; export r; \
10355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10356 TFLAGS="$(STAGE3_TFLAGS)"; \
10357 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10358 $(HOST_EXPORTS) \
10359 $(POSTSTAGE1_HOST_EXPORTS) \
10360 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10361 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10362 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10363 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10365 cd $(HOST_SUBDIR)/gas || exit 1; \
10366 case $(srcdir) in \
10367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10368 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10370 esac; \
10371 module_srcdir=gas; \
10372 $(SHELL) $$s/$$module_srcdir/configure \
10373 --srcdir=$${topdir}/$$module_srcdir \
10374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10375 --target=${target_alias} \
10376 --with-build-libsubdir=$(HOST_SUBDIR) \
10377 $(STAGE3_CONFIGURE_FLAGS)
10378 @endif gas-bootstrap
10380 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10381 maybe-configure-stage4-gas:
10382 @if gas-bootstrap
10383 maybe-configure-stage4-gas: configure-stage4-gas
10384 configure-stage4-gas:
10385 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10386 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10387 @r=`${PWD_COMMAND}`; export r; \
10388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10389 TFLAGS="$(STAGE4_TFLAGS)"; \
10390 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10391 $(HOST_EXPORTS) \
10392 $(POSTSTAGE1_HOST_EXPORTS) \
10393 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10394 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10395 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10396 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10398 cd $(HOST_SUBDIR)/gas || exit 1; \
10399 case $(srcdir) in \
10400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10401 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10403 esac; \
10404 module_srcdir=gas; \
10405 $(SHELL) $$s/$$module_srcdir/configure \
10406 --srcdir=$${topdir}/$$module_srcdir \
10407 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10408 --target=${target_alias} \
10409 --with-build-libsubdir=$(HOST_SUBDIR) \
10410 $(STAGE4_CONFIGURE_FLAGS)
10411 @endif gas-bootstrap
10413 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10414 maybe-configure-stageprofile-gas:
10415 @if gas-bootstrap
10416 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10417 configure-stageprofile-gas:
10418 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10419 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10420 @r=`${PWD_COMMAND}`; export r; \
10421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10422 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10423 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10424 $(HOST_EXPORTS) \
10425 $(POSTSTAGE1_HOST_EXPORTS) \
10426 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10427 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10428 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10429 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10431 cd $(HOST_SUBDIR)/gas || exit 1; \
10432 case $(srcdir) in \
10433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10434 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10436 esac; \
10437 module_srcdir=gas; \
10438 $(SHELL) $$s/$$module_srcdir/configure \
10439 --srcdir=$${topdir}/$$module_srcdir \
10440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10441 --target=${target_alias} \
10442 --with-build-libsubdir=$(HOST_SUBDIR) \
10443 $(STAGEprofile_CONFIGURE_FLAGS)
10444 @endif gas-bootstrap
10446 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10447 maybe-configure-stagetrain-gas:
10448 @if gas-bootstrap
10449 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10450 configure-stagetrain-gas:
10451 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10452 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10453 @r=`${PWD_COMMAND}`; export r; \
10454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10455 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10456 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10457 $(HOST_EXPORTS) \
10458 $(POSTSTAGE1_HOST_EXPORTS) \
10459 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10460 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10461 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10462 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10464 cd $(HOST_SUBDIR)/gas || exit 1; \
10465 case $(srcdir) in \
10466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10467 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10469 esac; \
10470 module_srcdir=gas; \
10471 $(SHELL) $$s/$$module_srcdir/configure \
10472 --srcdir=$${topdir}/$$module_srcdir \
10473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10474 --target=${target_alias} \
10475 --with-build-libsubdir=$(HOST_SUBDIR) \
10476 $(STAGEtrain_CONFIGURE_FLAGS)
10477 @endif gas-bootstrap
10479 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10480 maybe-configure-stagefeedback-gas:
10481 @if gas-bootstrap
10482 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10483 configure-stagefeedback-gas:
10484 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10486 @r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10489 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10490 $(HOST_EXPORTS) \
10491 $(POSTSTAGE1_HOST_EXPORTS) \
10492 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10493 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10494 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10495 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10497 cd $(HOST_SUBDIR)/gas || exit 1; \
10498 case $(srcdir) in \
10499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10500 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10502 esac; \
10503 module_srcdir=gas; \
10504 $(SHELL) $$s/$$module_srcdir/configure \
10505 --srcdir=$${topdir}/$$module_srcdir \
10506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10507 --target=${target_alias} \
10508 --with-build-libsubdir=$(HOST_SUBDIR) \
10509 $(STAGEfeedback_CONFIGURE_FLAGS)
10510 @endif gas-bootstrap
10512 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10513 maybe-configure-stageautoprofile-gas:
10514 @if gas-bootstrap
10515 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10516 configure-stageautoprofile-gas:
10517 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10519 @r=`${PWD_COMMAND}`; export r; \
10520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10521 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10522 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10523 $(HOST_EXPORTS) \
10524 $(POSTSTAGE1_HOST_EXPORTS) \
10525 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10526 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10527 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10528 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10530 cd $(HOST_SUBDIR)/gas || exit 1; \
10531 case $(srcdir) in \
10532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10533 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10535 esac; \
10536 module_srcdir=gas; \
10537 $(SHELL) $$s/$$module_srcdir/configure \
10538 --srcdir=$${topdir}/$$module_srcdir \
10539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10540 --target=${target_alias} \
10541 --with-build-libsubdir=$(HOST_SUBDIR) \
10542 $(STAGEautoprofile_CONFIGURE_FLAGS)
10543 @endif gas-bootstrap
10545 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10546 maybe-configure-stageautofeedback-gas:
10547 @if gas-bootstrap
10548 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10549 configure-stageautofeedback-gas:
10550 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10552 @r=`${PWD_COMMAND}`; export r; \
10553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10554 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10555 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10556 $(HOST_EXPORTS) \
10557 $(POSTSTAGE1_HOST_EXPORTS) \
10558 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10559 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10560 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10561 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10563 cd $(HOST_SUBDIR)/gas || exit 1; \
10564 case $(srcdir) in \
10565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10566 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10568 esac; \
10569 module_srcdir=gas; \
10570 $(SHELL) $$s/$$module_srcdir/configure \
10571 --srcdir=$${topdir}/$$module_srcdir \
10572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10573 --target=${target_alias} \
10574 --with-build-libsubdir=$(HOST_SUBDIR) \
10575 $(STAGEautofeedback_CONFIGURE_FLAGS)
10576 @endif gas-bootstrap
10582 .PHONY: all-gas maybe-all-gas
10583 maybe-all-gas:
10584 @if gcc-bootstrap
10585 all-gas: stage_current
10586 @endif gcc-bootstrap
10587 @if gas
10588 TARGET-gas=all
10589 maybe-all-gas: all-gas
10590 all-gas: configure-gas
10591 @r=`${PWD_COMMAND}`; export r; \
10592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10593 $(HOST_EXPORTS) \
10594 (cd $(HOST_SUBDIR)/gas && \
10595 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10596 $(TARGET-gas))
10597 @endif gas
10601 .PHONY: all-stage1-gas maybe-all-stage1-gas
10602 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10603 maybe-all-stage1-gas:
10604 maybe-clean-stage1-gas:
10605 @if gas-bootstrap
10606 maybe-all-stage1-gas: all-stage1-gas
10607 all-stage1: all-stage1-gas
10608 TARGET-stage1-gas = $(TARGET-gas)
10609 all-stage1-gas: configure-stage1-gas
10610 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10611 @r=`${PWD_COMMAND}`; export r; \
10612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10613 TFLAGS="$(STAGE1_TFLAGS)"; \
10614 $(HOST_EXPORTS) \
10615 cd $(HOST_SUBDIR)/gas && \
10617 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10618 CFLAGS="$(STAGE1_CFLAGS)" \
10619 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10620 LIBCFLAGS="$(LIBCFLAGS)" \
10621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10624 $(EXTRA_HOST_FLAGS) \
10625 $(STAGE1_FLAGS_TO_PASS) \
10626 TFLAGS="$(STAGE1_TFLAGS)" \
10627 $(TARGET-stage1-gas)
10629 maybe-clean-stage1-gas: clean-stage1-gas
10630 clean-stage1: clean-stage1-gas
10631 clean-stage1-gas:
10632 @if [ $(current_stage) = stage1 ]; then \
10633 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10634 else \
10635 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10636 $(MAKE) stage1-start; \
10637 fi; \
10638 cd $(HOST_SUBDIR)/gas && \
10639 $(MAKE) $(EXTRA_HOST_FLAGS) \
10640 $(STAGE1_FLAGS_TO_PASS) clean
10641 @endif gas-bootstrap
10644 .PHONY: all-stage2-gas maybe-all-stage2-gas
10645 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10646 maybe-all-stage2-gas:
10647 maybe-clean-stage2-gas:
10648 @if gas-bootstrap
10649 maybe-all-stage2-gas: all-stage2-gas
10650 all-stage2: all-stage2-gas
10651 TARGET-stage2-gas = $(TARGET-gas)
10652 all-stage2-gas: configure-stage2-gas
10653 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10654 @r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 TFLAGS="$(STAGE2_TFLAGS)"; \
10657 $(HOST_EXPORTS) \
10658 $(POSTSTAGE1_HOST_EXPORTS) \
10659 cd $(HOST_SUBDIR)/gas && \
10661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10662 CFLAGS="$(STAGE2_CFLAGS)" \
10663 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10664 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10668 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10669 TFLAGS="$(STAGE2_TFLAGS)" \
10670 $(TARGET-stage2-gas)
10672 maybe-clean-stage2-gas: clean-stage2-gas
10673 clean-stage2: clean-stage2-gas
10674 clean-stage2-gas:
10675 @if [ $(current_stage) = stage2 ]; then \
10676 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10677 else \
10678 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10679 $(MAKE) stage2-start; \
10680 fi; \
10681 cd $(HOST_SUBDIR)/gas && \
10682 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10683 @endif gas-bootstrap
10686 .PHONY: all-stage3-gas maybe-all-stage3-gas
10687 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10688 maybe-all-stage3-gas:
10689 maybe-clean-stage3-gas:
10690 @if gas-bootstrap
10691 maybe-all-stage3-gas: all-stage3-gas
10692 all-stage3: all-stage3-gas
10693 TARGET-stage3-gas = $(TARGET-gas)
10694 all-stage3-gas: configure-stage3-gas
10695 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10696 @r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698 TFLAGS="$(STAGE3_TFLAGS)"; \
10699 $(HOST_EXPORTS) \
10700 $(POSTSTAGE1_HOST_EXPORTS) \
10701 cd $(HOST_SUBDIR)/gas && \
10703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10704 CFLAGS="$(STAGE3_CFLAGS)" \
10705 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10706 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10710 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10711 TFLAGS="$(STAGE3_TFLAGS)" \
10712 $(TARGET-stage3-gas)
10714 maybe-clean-stage3-gas: clean-stage3-gas
10715 clean-stage3: clean-stage3-gas
10716 clean-stage3-gas:
10717 @if [ $(current_stage) = stage3 ]; then \
10718 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10719 else \
10720 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10721 $(MAKE) stage3-start; \
10722 fi; \
10723 cd $(HOST_SUBDIR)/gas && \
10724 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10725 @endif gas-bootstrap
10728 .PHONY: all-stage4-gas maybe-all-stage4-gas
10729 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10730 maybe-all-stage4-gas:
10731 maybe-clean-stage4-gas:
10732 @if gas-bootstrap
10733 maybe-all-stage4-gas: all-stage4-gas
10734 all-stage4: all-stage4-gas
10735 TARGET-stage4-gas = $(TARGET-gas)
10736 all-stage4-gas: configure-stage4-gas
10737 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10738 @r=`${PWD_COMMAND}`; export r; \
10739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10740 TFLAGS="$(STAGE4_TFLAGS)"; \
10741 $(HOST_EXPORTS) \
10742 $(POSTSTAGE1_HOST_EXPORTS) \
10743 cd $(HOST_SUBDIR)/gas && \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10746 CFLAGS="$(STAGE4_CFLAGS)" \
10747 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10748 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10752 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10753 TFLAGS="$(STAGE4_TFLAGS)" \
10754 $(TARGET-stage4-gas)
10756 maybe-clean-stage4-gas: clean-stage4-gas
10757 clean-stage4: clean-stage4-gas
10758 clean-stage4-gas:
10759 @if [ $(current_stage) = stage4 ]; then \
10760 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10761 else \
10762 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10763 $(MAKE) stage4-start; \
10764 fi; \
10765 cd $(HOST_SUBDIR)/gas && \
10766 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10767 @endif gas-bootstrap
10770 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10771 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10772 maybe-all-stageprofile-gas:
10773 maybe-clean-stageprofile-gas:
10774 @if gas-bootstrap
10775 maybe-all-stageprofile-gas: all-stageprofile-gas
10776 all-stageprofile: all-stageprofile-gas
10777 TARGET-stageprofile-gas = $(TARGET-gas)
10778 all-stageprofile-gas: configure-stageprofile-gas
10779 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10780 @r=`${PWD_COMMAND}`; export r; \
10781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10782 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10783 $(HOST_EXPORTS) \
10784 $(POSTSTAGE1_HOST_EXPORTS) \
10785 cd $(HOST_SUBDIR)/gas && \
10787 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10788 CFLAGS="$(STAGEprofile_CFLAGS)" \
10789 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10790 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10794 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10795 TFLAGS="$(STAGEprofile_TFLAGS)" \
10796 $(TARGET-stageprofile-gas)
10798 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10799 clean-stageprofile: clean-stageprofile-gas
10800 clean-stageprofile-gas:
10801 @if [ $(current_stage) = stageprofile ]; then \
10802 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10803 else \
10804 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10805 $(MAKE) stageprofile-start; \
10806 fi; \
10807 cd $(HOST_SUBDIR)/gas && \
10808 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10809 @endif gas-bootstrap
10812 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10813 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10814 maybe-all-stagetrain-gas:
10815 maybe-clean-stagetrain-gas:
10816 @if gas-bootstrap
10817 maybe-all-stagetrain-gas: all-stagetrain-gas
10818 all-stagetrain: all-stagetrain-gas
10819 TARGET-stagetrain-gas = $(TARGET-gas)
10820 all-stagetrain-gas: configure-stagetrain-gas
10821 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10822 @r=`${PWD_COMMAND}`; export r; \
10823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10824 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10825 $(HOST_EXPORTS) \
10826 $(POSTSTAGE1_HOST_EXPORTS) \
10827 cd $(HOST_SUBDIR)/gas && \
10829 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10830 CFLAGS="$(STAGEtrain_CFLAGS)" \
10831 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10832 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10833 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10834 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10835 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10836 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10837 TFLAGS="$(STAGEtrain_TFLAGS)" \
10838 $(TARGET-stagetrain-gas)
10840 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10841 clean-stagetrain: clean-stagetrain-gas
10842 clean-stagetrain-gas:
10843 @if [ $(current_stage) = stagetrain ]; then \
10844 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10845 else \
10846 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10847 $(MAKE) stagetrain-start; \
10848 fi; \
10849 cd $(HOST_SUBDIR)/gas && \
10850 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10851 @endif gas-bootstrap
10854 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10855 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10856 maybe-all-stagefeedback-gas:
10857 maybe-clean-stagefeedback-gas:
10858 @if gas-bootstrap
10859 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10860 all-stagefeedback: all-stagefeedback-gas
10861 TARGET-stagefeedback-gas = $(TARGET-gas)
10862 all-stagefeedback-gas: configure-stagefeedback-gas
10863 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10864 @r=`${PWD_COMMAND}`; export r; \
10865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10866 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10867 $(HOST_EXPORTS) \
10868 $(POSTSTAGE1_HOST_EXPORTS) \
10869 cd $(HOST_SUBDIR)/gas && \
10871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10872 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10873 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10874 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10878 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10879 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10880 $(TARGET-stagefeedback-gas)
10882 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10883 clean-stagefeedback: clean-stagefeedback-gas
10884 clean-stagefeedback-gas:
10885 @if [ $(current_stage) = stagefeedback ]; then \
10886 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10887 else \
10888 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10889 $(MAKE) stagefeedback-start; \
10890 fi; \
10891 cd $(HOST_SUBDIR)/gas && \
10892 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10893 @endif gas-bootstrap
10896 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10897 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10898 maybe-all-stageautoprofile-gas:
10899 maybe-clean-stageautoprofile-gas:
10900 @if gas-bootstrap
10901 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10902 all-stageautoprofile: all-stageautoprofile-gas
10903 TARGET-stageautoprofile-gas = $(TARGET-gas)
10904 all-stageautoprofile-gas: configure-stageautoprofile-gas
10905 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10906 @r=`${PWD_COMMAND}`; export r; \
10907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10908 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10909 $(HOST_EXPORTS) \
10910 $(POSTSTAGE1_HOST_EXPORTS) \
10911 cd $(HOST_SUBDIR)/gas && \
10912 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10913 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10914 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10915 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10916 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10917 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10918 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10919 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10920 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10921 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10922 $(TARGET-stageautoprofile-gas)
10924 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10925 clean-stageautoprofile: clean-stageautoprofile-gas
10926 clean-stageautoprofile-gas:
10927 @if [ $(current_stage) = stageautoprofile ]; then \
10928 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10929 else \
10930 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10931 $(MAKE) stageautoprofile-start; \
10932 fi; \
10933 cd $(HOST_SUBDIR)/gas && \
10934 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10935 @endif gas-bootstrap
10938 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10939 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10940 maybe-all-stageautofeedback-gas:
10941 maybe-clean-stageautofeedback-gas:
10942 @if gas-bootstrap
10943 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10944 all-stageautofeedback: all-stageautofeedback-gas
10945 TARGET-stageautofeedback-gas = $(TARGET-gas)
10946 all-stageautofeedback-gas: configure-stageautofeedback-gas
10947 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10948 @r=`${PWD_COMMAND}`; export r; \
10949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10950 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10951 $(HOST_EXPORTS) \
10952 $(POSTSTAGE1_HOST_EXPORTS) \
10953 cd $(HOST_SUBDIR)/gas && \
10955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10956 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10957 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10958 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10963 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10964 $(TARGET-stageautofeedback-gas)
10966 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10967 clean-stageautofeedback: clean-stageautofeedback-gas
10968 clean-stageautofeedback-gas:
10969 @if [ $(current_stage) = stageautofeedback ]; then \
10970 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10971 else \
10972 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10973 $(MAKE) stageautofeedback-start; \
10974 fi; \
10975 cd $(HOST_SUBDIR)/gas && \
10976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10977 @endif gas-bootstrap
10983 .PHONY: check-gas maybe-check-gas
10984 maybe-check-gas:
10985 @if gas
10986 maybe-check-gas: check-gas
10988 check-gas:
10989 @: $(MAKE); $(unstage)
10990 @r=`${PWD_COMMAND}`; export r; \
10991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10992 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10993 (cd $(HOST_SUBDIR)/gas && \
10994 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10996 @endif gas
10998 .PHONY: install-gas maybe-install-gas
10999 maybe-install-gas:
11000 @if gas
11001 maybe-install-gas: install-gas
11003 install-gas: installdirs
11004 @: $(MAKE); $(unstage)
11005 @r=`${PWD_COMMAND}`; export r; \
11006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11007 $(HOST_EXPORTS) \
11008 (cd $(HOST_SUBDIR)/gas && \
11009 $(MAKE) $(FLAGS_TO_PASS) install)
11011 @endif gas
11013 .PHONY: install-strip-gas maybe-install-strip-gas
11014 maybe-install-strip-gas:
11015 @if gas
11016 maybe-install-strip-gas: install-strip-gas
11018 install-strip-gas: installdirs
11019 @: $(MAKE); $(unstage)
11020 @r=`${PWD_COMMAND}`; export r; \
11021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11022 $(HOST_EXPORTS) \
11023 (cd $(HOST_SUBDIR)/gas && \
11024 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11026 @endif gas
11028 # Other targets (info, dvi, pdf, etc.)
11030 .PHONY: maybe-info-gas info-gas
11031 maybe-info-gas:
11032 @if gas
11033 maybe-info-gas: info-gas
11035 info-gas: \
11036 configure-gas
11037 @[ -f ./gas/Makefile ] || exit 0; \
11038 r=`${PWD_COMMAND}`; export r; \
11039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11040 $(HOST_EXPORTS) \
11041 for flag in $(EXTRA_HOST_FLAGS) ; do \
11042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11043 done; \
11044 echo "Doing info in gas"; \
11045 (cd $(HOST_SUBDIR)/gas && \
11046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11048 "RANLIB=$${RANLIB}" \
11049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11050 info) \
11051 || exit 1
11053 @endif gas
11055 .PHONY: maybe-dvi-gas dvi-gas
11056 maybe-dvi-gas:
11057 @if gas
11058 maybe-dvi-gas: dvi-gas
11060 dvi-gas: \
11061 configure-gas
11062 @[ -f ./gas/Makefile ] || exit 0; \
11063 r=`${PWD_COMMAND}`; export r; \
11064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11065 $(HOST_EXPORTS) \
11066 for flag in $(EXTRA_HOST_FLAGS) ; do \
11067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11068 done; \
11069 echo "Doing dvi in gas"; \
11070 (cd $(HOST_SUBDIR)/gas && \
11071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11073 "RANLIB=$${RANLIB}" \
11074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11075 dvi) \
11076 || exit 1
11078 @endif gas
11080 .PHONY: maybe-pdf-gas pdf-gas
11081 maybe-pdf-gas:
11082 @if gas
11083 maybe-pdf-gas: pdf-gas
11085 pdf-gas: \
11086 configure-gas
11087 @[ -f ./gas/Makefile ] || exit 0; \
11088 r=`${PWD_COMMAND}`; export r; \
11089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11090 $(HOST_EXPORTS) \
11091 for flag in $(EXTRA_HOST_FLAGS) ; do \
11092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11093 done; \
11094 echo "Doing pdf in gas"; \
11095 (cd $(HOST_SUBDIR)/gas && \
11096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11098 "RANLIB=$${RANLIB}" \
11099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11100 pdf) \
11101 || exit 1
11103 @endif gas
11105 .PHONY: maybe-html-gas html-gas
11106 maybe-html-gas:
11107 @if gas
11108 maybe-html-gas: html-gas
11110 html-gas: \
11111 configure-gas
11112 @[ -f ./gas/Makefile ] || exit 0; \
11113 r=`${PWD_COMMAND}`; export r; \
11114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11115 $(HOST_EXPORTS) \
11116 for flag in $(EXTRA_HOST_FLAGS) ; do \
11117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11118 done; \
11119 echo "Doing html in gas"; \
11120 (cd $(HOST_SUBDIR)/gas && \
11121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11123 "RANLIB=$${RANLIB}" \
11124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11125 html) \
11126 || exit 1
11128 @endif gas
11130 .PHONY: maybe-TAGS-gas TAGS-gas
11131 maybe-TAGS-gas:
11132 @if gas
11133 maybe-TAGS-gas: TAGS-gas
11135 TAGS-gas: \
11136 configure-gas
11137 @[ -f ./gas/Makefile ] || exit 0; \
11138 r=`${PWD_COMMAND}`; export r; \
11139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11140 $(HOST_EXPORTS) \
11141 for flag in $(EXTRA_HOST_FLAGS) ; do \
11142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11143 done; \
11144 echo "Doing TAGS in gas"; \
11145 (cd $(HOST_SUBDIR)/gas && \
11146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11148 "RANLIB=$${RANLIB}" \
11149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11150 TAGS) \
11151 || exit 1
11153 @endif gas
11155 .PHONY: maybe-install-info-gas install-info-gas
11156 maybe-install-info-gas:
11157 @if gas
11158 maybe-install-info-gas: install-info-gas
11160 install-info-gas: \
11161 configure-gas \
11162 info-gas
11163 @[ -f ./gas/Makefile ] || exit 0; \
11164 r=`${PWD_COMMAND}`; export r; \
11165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11166 $(HOST_EXPORTS) \
11167 for flag in $(EXTRA_HOST_FLAGS) ; do \
11168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11169 done; \
11170 echo "Doing install-info in gas"; \
11171 (cd $(HOST_SUBDIR)/gas && \
11172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11174 "RANLIB=$${RANLIB}" \
11175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11176 install-info) \
11177 || exit 1
11179 @endif gas
11181 .PHONY: maybe-install-pdf-gas install-pdf-gas
11182 maybe-install-pdf-gas:
11183 @if gas
11184 maybe-install-pdf-gas: install-pdf-gas
11186 install-pdf-gas: \
11187 configure-gas \
11188 pdf-gas
11189 @[ -f ./gas/Makefile ] || exit 0; \
11190 r=`${PWD_COMMAND}`; export r; \
11191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11192 $(HOST_EXPORTS) \
11193 for flag in $(EXTRA_HOST_FLAGS) ; do \
11194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11195 done; \
11196 echo "Doing install-pdf in gas"; \
11197 (cd $(HOST_SUBDIR)/gas && \
11198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11200 "RANLIB=$${RANLIB}" \
11201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11202 install-pdf) \
11203 || exit 1
11205 @endif gas
11207 .PHONY: maybe-install-html-gas install-html-gas
11208 maybe-install-html-gas:
11209 @if gas
11210 maybe-install-html-gas: install-html-gas
11212 install-html-gas: \
11213 configure-gas \
11214 html-gas
11215 @[ -f ./gas/Makefile ] || exit 0; \
11216 r=`${PWD_COMMAND}`; export r; \
11217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11218 $(HOST_EXPORTS) \
11219 for flag in $(EXTRA_HOST_FLAGS) ; do \
11220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11221 done; \
11222 echo "Doing install-html in gas"; \
11223 (cd $(HOST_SUBDIR)/gas && \
11224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11226 "RANLIB=$${RANLIB}" \
11227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11228 install-html) \
11229 || exit 1
11231 @endif gas
11233 .PHONY: maybe-installcheck-gas installcheck-gas
11234 maybe-installcheck-gas:
11235 @if gas
11236 maybe-installcheck-gas: installcheck-gas
11238 installcheck-gas: \
11239 configure-gas
11240 @[ -f ./gas/Makefile ] || exit 0; \
11241 r=`${PWD_COMMAND}`; export r; \
11242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11243 $(HOST_EXPORTS) \
11244 for flag in $(EXTRA_HOST_FLAGS) ; do \
11245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11246 done; \
11247 echo "Doing installcheck in gas"; \
11248 (cd $(HOST_SUBDIR)/gas && \
11249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11251 "RANLIB=$${RANLIB}" \
11252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11253 installcheck) \
11254 || exit 1
11256 @endif gas
11258 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11259 maybe-mostlyclean-gas:
11260 @if gas
11261 maybe-mostlyclean-gas: mostlyclean-gas
11263 mostlyclean-gas:
11264 @[ -f ./gas/Makefile ] || exit 0; \
11265 r=`${PWD_COMMAND}`; export r; \
11266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11267 $(HOST_EXPORTS) \
11268 for flag in $(EXTRA_HOST_FLAGS) ; do \
11269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11270 done; \
11271 echo "Doing mostlyclean in gas"; \
11272 (cd $(HOST_SUBDIR)/gas && \
11273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11275 "RANLIB=$${RANLIB}" \
11276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11277 mostlyclean) \
11278 || exit 1
11280 @endif gas
11282 .PHONY: maybe-clean-gas clean-gas
11283 maybe-clean-gas:
11284 @if gas
11285 maybe-clean-gas: clean-gas
11287 clean-gas:
11288 @[ -f ./gas/Makefile ] || exit 0; \
11289 r=`${PWD_COMMAND}`; export r; \
11290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 $(HOST_EXPORTS) \
11292 for flag in $(EXTRA_HOST_FLAGS) ; do \
11293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11294 done; \
11295 echo "Doing clean in gas"; \
11296 (cd $(HOST_SUBDIR)/gas && \
11297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11299 "RANLIB=$${RANLIB}" \
11300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11301 clean) \
11302 || exit 1
11304 @endif gas
11306 .PHONY: maybe-distclean-gas distclean-gas
11307 maybe-distclean-gas:
11308 @if gas
11309 maybe-distclean-gas: distclean-gas
11311 distclean-gas:
11312 @[ -f ./gas/Makefile ] || exit 0; \
11313 r=`${PWD_COMMAND}`; export r; \
11314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11315 $(HOST_EXPORTS) \
11316 for flag in $(EXTRA_HOST_FLAGS) ; do \
11317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11318 done; \
11319 echo "Doing distclean in gas"; \
11320 (cd $(HOST_SUBDIR)/gas && \
11321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11323 "RANLIB=$${RANLIB}" \
11324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11325 distclean) \
11326 || exit 1
11328 @endif gas
11330 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11331 maybe-maintainer-clean-gas:
11332 @if gas
11333 maybe-maintainer-clean-gas: maintainer-clean-gas
11335 maintainer-clean-gas:
11336 @[ -f ./gas/Makefile ] || exit 0; \
11337 r=`${PWD_COMMAND}`; export r; \
11338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11339 $(HOST_EXPORTS) \
11340 for flag in $(EXTRA_HOST_FLAGS) ; do \
11341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11342 done; \
11343 echo "Doing maintainer-clean in gas"; \
11344 (cd $(HOST_SUBDIR)/gas && \
11345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11347 "RANLIB=$${RANLIB}" \
11348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11349 maintainer-clean) \
11350 || exit 1
11352 @endif gas
11356 .PHONY: configure-gcc maybe-configure-gcc
11357 maybe-configure-gcc:
11358 @if gcc-bootstrap
11359 configure-gcc: stage_current
11360 @endif gcc-bootstrap
11361 @if gcc
11362 maybe-configure-gcc: configure-gcc
11363 configure-gcc:
11364 @r=`${PWD_COMMAND}`; export r; \
11365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11366 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11368 $(HOST_EXPORTS) \
11369 echo Configuring in $(HOST_SUBDIR)/gcc; \
11370 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11371 case $(srcdir) in \
11372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11373 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11375 esac; \
11376 module_srcdir=gcc; \
11377 $(SHELL) \
11378 $$s/$$module_srcdir/configure \
11379 --srcdir=$${topdir}/$$module_srcdir \
11380 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11381 --target=${target_alias} \
11382 || exit 1
11383 @endif gcc
11387 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11388 maybe-configure-stage1-gcc:
11389 @if gcc-bootstrap
11390 maybe-configure-stage1-gcc: configure-stage1-gcc
11391 configure-stage1-gcc:
11392 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11393 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11394 @r=`${PWD_COMMAND}`; export r; \
11395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11396 TFLAGS="$(STAGE1_TFLAGS)"; \
11397 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11398 $(HOST_EXPORTS) \
11399 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11400 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11401 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11402 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11404 cd $(HOST_SUBDIR)/gcc || exit 1; \
11405 case $(srcdir) in \
11406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11407 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11409 esac; \
11410 module_srcdir=gcc; \
11411 $(SHELL) $$s/$$module_srcdir/configure \
11412 --srcdir=$${topdir}/$$module_srcdir \
11413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11414 --target=${target_alias} \
11416 $(STAGE1_CONFIGURE_FLAGS)
11417 @endif gcc-bootstrap
11419 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11420 maybe-configure-stage2-gcc:
11421 @if gcc-bootstrap
11422 maybe-configure-stage2-gcc: configure-stage2-gcc
11423 configure-stage2-gcc:
11424 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11426 @r=`${PWD_COMMAND}`; export r; \
11427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11428 TFLAGS="$(STAGE2_TFLAGS)"; \
11429 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11430 $(HOST_EXPORTS) \
11431 $(POSTSTAGE1_HOST_EXPORTS) \
11432 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11433 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11434 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11435 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11437 cd $(HOST_SUBDIR)/gcc || exit 1; \
11438 case $(srcdir) in \
11439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11440 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11442 esac; \
11443 module_srcdir=gcc; \
11444 $(SHELL) $$s/$$module_srcdir/configure \
11445 --srcdir=$${topdir}/$$module_srcdir \
11446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11447 --target=${target_alias} \
11448 --with-build-libsubdir=$(HOST_SUBDIR) \
11449 $(STAGE2_CONFIGURE_FLAGS)
11450 @endif gcc-bootstrap
11452 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11453 maybe-configure-stage3-gcc:
11454 @if gcc-bootstrap
11455 maybe-configure-stage3-gcc: configure-stage3-gcc
11456 configure-stage3-gcc:
11457 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11459 @r=`${PWD_COMMAND}`; export r; \
11460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11461 TFLAGS="$(STAGE3_TFLAGS)"; \
11462 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11463 $(HOST_EXPORTS) \
11464 $(POSTSTAGE1_HOST_EXPORTS) \
11465 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11466 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11467 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11468 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11470 cd $(HOST_SUBDIR)/gcc || exit 1; \
11471 case $(srcdir) in \
11472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11473 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11475 esac; \
11476 module_srcdir=gcc; \
11477 $(SHELL) $$s/$$module_srcdir/configure \
11478 --srcdir=$${topdir}/$$module_srcdir \
11479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11480 --target=${target_alias} \
11481 --with-build-libsubdir=$(HOST_SUBDIR) \
11482 $(STAGE3_CONFIGURE_FLAGS)
11483 @endif gcc-bootstrap
11485 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11486 maybe-configure-stage4-gcc:
11487 @if gcc-bootstrap
11488 maybe-configure-stage4-gcc: configure-stage4-gcc
11489 configure-stage4-gcc:
11490 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11492 @r=`${PWD_COMMAND}`; export r; \
11493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11494 TFLAGS="$(STAGE4_TFLAGS)"; \
11495 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11496 $(HOST_EXPORTS) \
11497 $(POSTSTAGE1_HOST_EXPORTS) \
11498 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11499 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11500 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11501 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11503 cd $(HOST_SUBDIR)/gcc || exit 1; \
11504 case $(srcdir) in \
11505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11506 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11508 esac; \
11509 module_srcdir=gcc; \
11510 $(SHELL) $$s/$$module_srcdir/configure \
11511 --srcdir=$${topdir}/$$module_srcdir \
11512 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11513 --target=${target_alias} \
11514 --with-build-libsubdir=$(HOST_SUBDIR) \
11515 $(STAGE4_CONFIGURE_FLAGS)
11516 @endif gcc-bootstrap
11518 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11519 maybe-configure-stageprofile-gcc:
11520 @if gcc-bootstrap
11521 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11522 configure-stageprofile-gcc:
11523 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11524 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11525 @r=`${PWD_COMMAND}`; export r; \
11526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11527 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11528 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11529 $(HOST_EXPORTS) \
11530 $(POSTSTAGE1_HOST_EXPORTS) \
11531 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11532 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11533 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11534 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11536 cd $(HOST_SUBDIR)/gcc || exit 1; \
11537 case $(srcdir) in \
11538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11539 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11541 esac; \
11542 module_srcdir=gcc; \
11543 $(SHELL) $$s/$$module_srcdir/configure \
11544 --srcdir=$${topdir}/$$module_srcdir \
11545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11546 --target=${target_alias} \
11547 --with-build-libsubdir=$(HOST_SUBDIR) \
11548 $(STAGEprofile_CONFIGURE_FLAGS)
11549 @endif gcc-bootstrap
11551 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11552 maybe-configure-stagetrain-gcc:
11553 @if gcc-bootstrap
11554 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11555 configure-stagetrain-gcc:
11556 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11558 @r=`${PWD_COMMAND}`; export r; \
11559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11560 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11561 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11562 $(HOST_EXPORTS) \
11563 $(POSTSTAGE1_HOST_EXPORTS) \
11564 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11565 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11566 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11567 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11569 cd $(HOST_SUBDIR)/gcc || exit 1; \
11570 case $(srcdir) in \
11571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11572 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11574 esac; \
11575 module_srcdir=gcc; \
11576 $(SHELL) $$s/$$module_srcdir/configure \
11577 --srcdir=$${topdir}/$$module_srcdir \
11578 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11579 --target=${target_alias} \
11580 --with-build-libsubdir=$(HOST_SUBDIR) \
11581 $(STAGEtrain_CONFIGURE_FLAGS)
11582 @endif gcc-bootstrap
11584 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11585 maybe-configure-stagefeedback-gcc:
11586 @if gcc-bootstrap
11587 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11588 configure-stagefeedback-gcc:
11589 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11591 @r=`${PWD_COMMAND}`; export r; \
11592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11593 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11594 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11595 $(HOST_EXPORTS) \
11596 $(POSTSTAGE1_HOST_EXPORTS) \
11597 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11598 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11599 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11600 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11602 cd $(HOST_SUBDIR)/gcc || exit 1; \
11603 case $(srcdir) in \
11604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11605 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11607 esac; \
11608 module_srcdir=gcc; \
11609 $(SHELL) $$s/$$module_srcdir/configure \
11610 --srcdir=$${topdir}/$$module_srcdir \
11611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11612 --target=${target_alias} \
11613 --with-build-libsubdir=$(HOST_SUBDIR) \
11614 $(STAGEfeedback_CONFIGURE_FLAGS)
11615 @endif gcc-bootstrap
11617 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11618 maybe-configure-stageautoprofile-gcc:
11619 @if gcc-bootstrap
11620 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11621 configure-stageautoprofile-gcc:
11622 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11623 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11624 @r=`${PWD_COMMAND}`; export r; \
11625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11626 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11627 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11628 $(HOST_EXPORTS) \
11629 $(POSTSTAGE1_HOST_EXPORTS) \
11630 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11631 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11632 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11633 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11635 cd $(HOST_SUBDIR)/gcc || exit 1; \
11636 case $(srcdir) in \
11637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11638 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11640 esac; \
11641 module_srcdir=gcc; \
11642 $(SHELL) $$s/$$module_srcdir/configure \
11643 --srcdir=$${topdir}/$$module_srcdir \
11644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11645 --target=${target_alias} \
11646 --with-build-libsubdir=$(HOST_SUBDIR) \
11647 $(STAGEautoprofile_CONFIGURE_FLAGS)
11648 @endif gcc-bootstrap
11650 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11651 maybe-configure-stageautofeedback-gcc:
11652 @if gcc-bootstrap
11653 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11654 configure-stageautofeedback-gcc:
11655 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11656 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11657 @r=`${PWD_COMMAND}`; export r; \
11658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11659 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11660 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11661 $(HOST_EXPORTS) \
11662 $(POSTSTAGE1_HOST_EXPORTS) \
11663 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11664 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11665 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11666 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11667 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11668 cd $(HOST_SUBDIR)/gcc || exit 1; \
11669 case $(srcdir) in \
11670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11671 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11673 esac; \
11674 module_srcdir=gcc; \
11675 $(SHELL) $$s/$$module_srcdir/configure \
11676 --srcdir=$${topdir}/$$module_srcdir \
11677 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11678 --target=${target_alias} \
11679 --with-build-libsubdir=$(HOST_SUBDIR) \
11680 $(STAGEautofeedback_CONFIGURE_FLAGS)
11681 @endif gcc-bootstrap
11687 .PHONY: all-gcc maybe-all-gcc
11688 maybe-all-gcc:
11689 @if gcc-bootstrap
11690 all-gcc: stage_current
11691 @endif gcc-bootstrap
11692 @if gcc
11693 TARGET-gcc=all
11694 maybe-all-gcc: all-gcc
11695 all-gcc: configure-gcc
11696 @r=`${PWD_COMMAND}`; export r; \
11697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11698 $(HOST_EXPORTS) \
11699 (cd $(HOST_SUBDIR)/gcc && \
11700 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11701 $(TARGET-gcc))
11702 @endif gcc
11706 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11707 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11708 maybe-all-stage1-gcc:
11709 maybe-clean-stage1-gcc:
11710 @if gcc-bootstrap
11711 maybe-all-stage1-gcc: all-stage1-gcc
11712 all-stage1: all-stage1-gcc
11713 TARGET-stage1-gcc = $(TARGET-gcc)
11714 all-stage1-gcc: configure-stage1-gcc
11715 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11716 @r=`${PWD_COMMAND}`; export r; \
11717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11718 TFLAGS="$(STAGE1_TFLAGS)"; \
11719 $(HOST_EXPORTS) \
11720 cd $(HOST_SUBDIR)/gcc && \
11722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11723 CFLAGS="$(STAGE1_CFLAGS)" \
11724 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11725 LIBCFLAGS="$(LIBCFLAGS)" \
11726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11729 $(EXTRA_HOST_FLAGS) \
11730 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11731 TFLAGS="$(STAGE1_TFLAGS)" \
11732 $(TARGET-stage1-gcc)
11734 maybe-clean-stage1-gcc: clean-stage1-gcc
11735 clean-stage1: clean-stage1-gcc
11736 clean-stage1-gcc:
11737 @if [ $(current_stage) = stage1 ]; then \
11738 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11739 else \
11740 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11741 $(MAKE) stage1-start; \
11742 fi; \
11743 cd $(HOST_SUBDIR)/gcc && \
11744 $(MAKE) $(EXTRA_HOST_FLAGS) \
11745 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11746 @endif gcc-bootstrap
11749 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11750 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11751 maybe-all-stage2-gcc:
11752 maybe-clean-stage2-gcc:
11753 @if gcc-bootstrap
11754 maybe-all-stage2-gcc: all-stage2-gcc
11755 all-stage2: all-stage2-gcc
11756 TARGET-stage2-gcc = $(TARGET-gcc)
11757 all-stage2-gcc: configure-stage2-gcc
11758 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11759 @r=`${PWD_COMMAND}`; export r; \
11760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11761 TFLAGS="$(STAGE2_TFLAGS)"; \
11762 $(HOST_EXPORTS) \
11763 $(POSTSTAGE1_HOST_EXPORTS) \
11764 cd $(HOST_SUBDIR)/gcc && \
11766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11767 CFLAGS="$(STAGE2_CFLAGS)" \
11768 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11769 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11774 TFLAGS="$(STAGE2_TFLAGS)" \
11775 $(TARGET-stage2-gcc)
11777 maybe-clean-stage2-gcc: clean-stage2-gcc
11778 clean-stage2: clean-stage2-gcc
11779 clean-stage2-gcc:
11780 @if [ $(current_stage) = stage2 ]; then \
11781 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11782 else \
11783 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11784 $(MAKE) stage2-start; \
11785 fi; \
11786 cd $(HOST_SUBDIR)/gcc && \
11787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11788 @endif gcc-bootstrap
11791 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11792 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11793 maybe-all-stage3-gcc:
11794 maybe-clean-stage3-gcc:
11795 @if gcc-bootstrap
11796 maybe-all-stage3-gcc: all-stage3-gcc
11797 all-stage3: all-stage3-gcc
11798 TARGET-stage3-gcc = $(TARGET-gcc)
11799 all-stage3-gcc: configure-stage3-gcc
11800 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11801 @r=`${PWD_COMMAND}`; export r; \
11802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11803 TFLAGS="$(STAGE3_TFLAGS)"; \
11804 $(HOST_EXPORTS) \
11805 $(POSTSTAGE1_HOST_EXPORTS) \
11806 cd $(HOST_SUBDIR)/gcc && \
11808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11809 CFLAGS="$(STAGE3_CFLAGS)" \
11810 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11811 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11812 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11813 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11814 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11815 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11816 TFLAGS="$(STAGE3_TFLAGS)" \
11817 $(TARGET-stage3-gcc)
11819 maybe-clean-stage3-gcc: clean-stage3-gcc
11820 clean-stage3: clean-stage3-gcc
11821 clean-stage3-gcc:
11822 @if [ $(current_stage) = stage3 ]; then \
11823 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11824 else \
11825 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11826 $(MAKE) stage3-start; \
11827 fi; \
11828 cd $(HOST_SUBDIR)/gcc && \
11829 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11830 @endif gcc-bootstrap
11833 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11834 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11835 maybe-all-stage4-gcc:
11836 maybe-clean-stage4-gcc:
11837 @if gcc-bootstrap
11838 maybe-all-stage4-gcc: all-stage4-gcc
11839 all-stage4: all-stage4-gcc
11840 TARGET-stage4-gcc = $(TARGET-gcc)
11841 all-stage4-gcc: configure-stage4-gcc
11842 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11843 @r=`${PWD_COMMAND}`; export r; \
11844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11845 TFLAGS="$(STAGE4_TFLAGS)"; \
11846 $(HOST_EXPORTS) \
11847 $(POSTSTAGE1_HOST_EXPORTS) \
11848 cd $(HOST_SUBDIR)/gcc && \
11850 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11851 CFLAGS="$(STAGE4_CFLAGS)" \
11852 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11853 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11858 TFLAGS="$(STAGE4_TFLAGS)" \
11859 $(TARGET-stage4-gcc)
11861 maybe-clean-stage4-gcc: clean-stage4-gcc
11862 clean-stage4: clean-stage4-gcc
11863 clean-stage4-gcc:
11864 @if [ $(current_stage) = stage4 ]; then \
11865 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11866 else \
11867 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11868 $(MAKE) stage4-start; \
11869 fi; \
11870 cd $(HOST_SUBDIR)/gcc && \
11871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11872 @endif gcc-bootstrap
11875 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11876 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11877 maybe-all-stageprofile-gcc:
11878 maybe-clean-stageprofile-gcc:
11879 @if gcc-bootstrap
11880 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11881 all-stageprofile: all-stageprofile-gcc
11882 TARGET-stageprofile-gcc = $(TARGET-gcc)
11883 all-stageprofile-gcc: configure-stageprofile-gcc
11884 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11885 @r=`${PWD_COMMAND}`; export r; \
11886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11887 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11888 $(HOST_EXPORTS) \
11889 $(POSTSTAGE1_HOST_EXPORTS) \
11890 cd $(HOST_SUBDIR)/gcc && \
11892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11893 CFLAGS="$(STAGEprofile_CFLAGS)" \
11894 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11895 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11896 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11897 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11898 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11899 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11900 TFLAGS="$(STAGEprofile_TFLAGS)" \
11901 $(TARGET-stageprofile-gcc)
11903 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11904 clean-stageprofile: clean-stageprofile-gcc
11905 clean-stageprofile-gcc:
11906 @if [ $(current_stage) = stageprofile ]; then \
11907 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11908 else \
11909 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11910 $(MAKE) stageprofile-start; \
11911 fi; \
11912 cd $(HOST_SUBDIR)/gcc && \
11913 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11914 @endif gcc-bootstrap
11917 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
11918 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
11919 maybe-all-stagetrain-gcc:
11920 maybe-clean-stagetrain-gcc:
11921 @if gcc-bootstrap
11922 maybe-all-stagetrain-gcc: all-stagetrain-gcc
11923 all-stagetrain: all-stagetrain-gcc
11924 TARGET-stagetrain-gcc = $(TARGET-gcc)
11925 all-stagetrain-gcc: configure-stagetrain-gcc
11926 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11927 @r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11930 $(HOST_EXPORTS) \
11931 $(POSTSTAGE1_HOST_EXPORTS) \
11932 cd $(HOST_SUBDIR)/gcc && \
11934 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11935 CFLAGS="$(STAGEtrain_CFLAGS)" \
11936 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11937 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11938 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11939 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11940 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11941 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11942 TFLAGS="$(STAGEtrain_TFLAGS)" \
11943 $(TARGET-stagetrain-gcc)
11945 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
11946 clean-stagetrain: clean-stagetrain-gcc
11947 clean-stagetrain-gcc:
11948 @if [ $(current_stage) = stagetrain ]; then \
11949 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11950 else \
11951 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
11952 $(MAKE) stagetrain-start; \
11953 fi; \
11954 cd $(HOST_SUBDIR)/gcc && \
11955 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11956 @endif gcc-bootstrap
11959 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11960 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11961 maybe-all-stagefeedback-gcc:
11962 maybe-clean-stagefeedback-gcc:
11963 @if gcc-bootstrap
11964 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11965 all-stagefeedback: all-stagefeedback-gcc
11966 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11967 all-stagefeedback-gcc: configure-stagefeedback-gcc
11968 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11969 @r=`${PWD_COMMAND}`; export r; \
11970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11971 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11972 $(HOST_EXPORTS) \
11973 $(POSTSTAGE1_HOST_EXPORTS) \
11974 cd $(HOST_SUBDIR)/gcc && \
11976 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11977 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11978 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11979 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11980 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11981 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11982 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11983 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11984 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11985 $(TARGET-stagefeedback-gcc)
11987 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11988 clean-stagefeedback: clean-stagefeedback-gcc
11989 clean-stagefeedback-gcc:
11990 @if [ $(current_stage) = stagefeedback ]; then \
11991 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11992 else \
11993 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
11994 $(MAKE) stagefeedback-start; \
11995 fi; \
11996 cd $(HOST_SUBDIR)/gcc && \
11997 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11998 @endif gcc-bootstrap
12001 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12002 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12003 maybe-all-stageautoprofile-gcc:
12004 maybe-clean-stageautoprofile-gcc:
12005 @if gcc-bootstrap
12006 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12007 all-stageautoprofile: all-stageautoprofile-gcc
12008 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12009 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12010 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12011 @r=`${PWD_COMMAND}`; export r; \
12012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12014 $(HOST_EXPORTS) \
12015 $(POSTSTAGE1_HOST_EXPORTS) \
12016 cd $(HOST_SUBDIR)/gcc && \
12017 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12019 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12020 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12021 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12025 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12026 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12027 $(TARGET-stageautoprofile-gcc)
12029 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12030 clean-stageautoprofile: clean-stageautoprofile-gcc
12031 clean-stageautoprofile-gcc:
12032 @if [ $(current_stage) = stageautoprofile ]; then \
12033 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12034 else \
12035 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12036 $(MAKE) stageautoprofile-start; \
12037 fi; \
12038 cd $(HOST_SUBDIR)/gcc && \
12039 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12040 @endif gcc-bootstrap
12043 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12044 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12045 maybe-all-stageautofeedback-gcc:
12046 maybe-clean-stageautofeedback-gcc:
12047 @if gcc-bootstrap
12048 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12049 all-stageautofeedback: all-stageautofeedback-gcc
12050 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12051 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12052 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12053 @r=`${PWD_COMMAND}`; export r; \
12054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12055 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12056 $(HOST_EXPORTS) \
12057 $(POSTSTAGE1_HOST_EXPORTS) \
12058 cd $(HOST_SUBDIR)/gcc && \
12060 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12061 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12062 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12063 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12064 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12065 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12066 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12067 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12068 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12069 $(TARGET-stageautofeedback-gcc)
12071 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12072 clean-stageautofeedback: clean-stageautofeedback-gcc
12073 clean-stageautofeedback-gcc:
12074 @if [ $(current_stage) = stageautofeedback ]; then \
12075 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12076 else \
12077 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12078 $(MAKE) stageautofeedback-start; \
12079 fi; \
12080 cd $(HOST_SUBDIR)/gcc && \
12081 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12082 @endif gcc-bootstrap
12088 .PHONY: check-gcc maybe-check-gcc
12089 maybe-check-gcc:
12090 @if gcc
12091 maybe-check-gcc: check-gcc
12093 check-gcc:
12094 @: $(MAKE); $(unstage)
12095 @r=`${PWD_COMMAND}`; export r; \
12096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12097 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12098 (cd $(HOST_SUBDIR)/gcc && \
12099 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12101 @endif gcc
12103 .PHONY: install-gcc maybe-install-gcc
12104 maybe-install-gcc:
12105 @if gcc
12106 maybe-install-gcc: install-gcc
12108 install-gcc: installdirs
12109 @: $(MAKE); $(unstage)
12110 @r=`${PWD_COMMAND}`; export r; \
12111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12112 $(HOST_EXPORTS) \
12113 (cd $(HOST_SUBDIR)/gcc && \
12114 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12116 @endif gcc
12118 .PHONY: install-strip-gcc maybe-install-strip-gcc
12119 maybe-install-strip-gcc:
12120 @if gcc
12121 maybe-install-strip-gcc: install-strip-gcc
12123 install-strip-gcc: installdirs
12124 @: $(MAKE); $(unstage)
12125 @r=`${PWD_COMMAND}`; export r; \
12126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12127 $(HOST_EXPORTS) \
12128 (cd $(HOST_SUBDIR)/gcc && \
12129 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12131 @endif gcc
12133 # Other targets (info, dvi, pdf, etc.)
12135 .PHONY: maybe-info-gcc info-gcc
12136 maybe-info-gcc:
12137 @if gcc
12138 maybe-info-gcc: info-gcc
12140 info-gcc: \
12141 configure-gcc
12142 @[ -f ./gcc/Makefile ] || exit 0; \
12143 r=`${PWD_COMMAND}`; export r; \
12144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12145 $(HOST_EXPORTS) \
12146 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12148 done; \
12149 echo "Doing info in gcc"; \
12150 (cd $(HOST_SUBDIR)/gcc && \
12151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12153 "RANLIB=$${RANLIB}" \
12154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12155 info) \
12156 || exit 1
12158 @endif gcc
12160 .PHONY: maybe-dvi-gcc dvi-gcc
12161 maybe-dvi-gcc:
12162 @if gcc
12163 maybe-dvi-gcc: dvi-gcc
12165 dvi-gcc: \
12166 configure-gcc
12167 @[ -f ./gcc/Makefile ] || exit 0; \
12168 r=`${PWD_COMMAND}`; export r; \
12169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12170 $(HOST_EXPORTS) \
12171 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12173 done; \
12174 echo "Doing dvi in gcc"; \
12175 (cd $(HOST_SUBDIR)/gcc && \
12176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12178 "RANLIB=$${RANLIB}" \
12179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12180 dvi) \
12181 || exit 1
12183 @endif gcc
12185 .PHONY: maybe-pdf-gcc pdf-gcc
12186 maybe-pdf-gcc:
12187 @if gcc
12188 maybe-pdf-gcc: pdf-gcc
12190 pdf-gcc: \
12191 configure-gcc
12192 @[ -f ./gcc/Makefile ] || exit 0; \
12193 r=`${PWD_COMMAND}`; export r; \
12194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12195 $(HOST_EXPORTS) \
12196 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12198 done; \
12199 echo "Doing pdf in gcc"; \
12200 (cd $(HOST_SUBDIR)/gcc && \
12201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12203 "RANLIB=$${RANLIB}" \
12204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12205 pdf) \
12206 || exit 1
12208 @endif gcc
12210 .PHONY: maybe-html-gcc html-gcc
12211 maybe-html-gcc:
12212 @if gcc
12213 maybe-html-gcc: html-gcc
12215 html-gcc: \
12216 configure-gcc
12217 @[ -f ./gcc/Makefile ] || exit 0; \
12218 r=`${PWD_COMMAND}`; export r; \
12219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12220 $(HOST_EXPORTS) \
12221 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12223 done; \
12224 echo "Doing html in gcc"; \
12225 (cd $(HOST_SUBDIR)/gcc && \
12226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12228 "RANLIB=$${RANLIB}" \
12229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12230 html) \
12231 || exit 1
12233 @endif gcc
12235 .PHONY: maybe-TAGS-gcc TAGS-gcc
12236 maybe-TAGS-gcc:
12237 @if gcc
12238 maybe-TAGS-gcc: TAGS-gcc
12240 TAGS-gcc: \
12241 configure-gcc
12242 @[ -f ./gcc/Makefile ] || exit 0; \
12243 r=`${PWD_COMMAND}`; export r; \
12244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12245 $(HOST_EXPORTS) \
12246 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12248 done; \
12249 echo "Doing TAGS in gcc"; \
12250 (cd $(HOST_SUBDIR)/gcc && \
12251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12253 "RANLIB=$${RANLIB}" \
12254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12255 TAGS) \
12256 || exit 1
12258 @endif gcc
12260 .PHONY: maybe-install-info-gcc install-info-gcc
12261 maybe-install-info-gcc:
12262 @if gcc
12263 maybe-install-info-gcc: install-info-gcc
12265 install-info-gcc: \
12266 configure-gcc \
12267 info-gcc
12268 @[ -f ./gcc/Makefile ] || exit 0; \
12269 r=`${PWD_COMMAND}`; export r; \
12270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12271 $(HOST_EXPORTS) \
12272 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12274 done; \
12275 echo "Doing install-info in gcc"; \
12276 (cd $(HOST_SUBDIR)/gcc && \
12277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12279 "RANLIB=$${RANLIB}" \
12280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12281 install-info) \
12282 || exit 1
12284 @endif gcc
12286 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12287 maybe-install-pdf-gcc:
12288 @if gcc
12289 maybe-install-pdf-gcc: install-pdf-gcc
12291 install-pdf-gcc: \
12292 configure-gcc \
12293 pdf-gcc
12294 @[ -f ./gcc/Makefile ] || exit 0; \
12295 r=`${PWD_COMMAND}`; export r; \
12296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12297 $(HOST_EXPORTS) \
12298 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12300 done; \
12301 echo "Doing install-pdf in gcc"; \
12302 (cd $(HOST_SUBDIR)/gcc && \
12303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12305 "RANLIB=$${RANLIB}" \
12306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12307 install-pdf) \
12308 || exit 1
12310 @endif gcc
12312 .PHONY: maybe-install-html-gcc install-html-gcc
12313 maybe-install-html-gcc:
12314 @if gcc
12315 maybe-install-html-gcc: install-html-gcc
12317 install-html-gcc: \
12318 configure-gcc \
12319 html-gcc
12320 @[ -f ./gcc/Makefile ] || exit 0; \
12321 r=`${PWD_COMMAND}`; export r; \
12322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12323 $(HOST_EXPORTS) \
12324 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12326 done; \
12327 echo "Doing install-html in gcc"; \
12328 (cd $(HOST_SUBDIR)/gcc && \
12329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12331 "RANLIB=$${RANLIB}" \
12332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12333 install-html) \
12334 || exit 1
12336 @endif gcc
12338 .PHONY: maybe-installcheck-gcc installcheck-gcc
12339 maybe-installcheck-gcc:
12340 @if gcc
12341 maybe-installcheck-gcc: installcheck-gcc
12343 installcheck-gcc: \
12344 configure-gcc
12345 @[ -f ./gcc/Makefile ] || exit 0; \
12346 r=`${PWD_COMMAND}`; export r; \
12347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12348 $(HOST_EXPORTS) \
12349 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12351 done; \
12352 echo "Doing installcheck in gcc"; \
12353 (cd $(HOST_SUBDIR)/gcc && \
12354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12356 "RANLIB=$${RANLIB}" \
12357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12358 installcheck) \
12359 || exit 1
12361 @endif gcc
12363 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12364 maybe-mostlyclean-gcc:
12365 @if gcc
12366 maybe-mostlyclean-gcc: mostlyclean-gcc
12368 mostlyclean-gcc:
12369 @[ -f ./gcc/Makefile ] || exit 0; \
12370 r=`${PWD_COMMAND}`; export r; \
12371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12372 $(HOST_EXPORTS) \
12373 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12375 done; \
12376 echo "Doing mostlyclean in gcc"; \
12377 (cd $(HOST_SUBDIR)/gcc && \
12378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12380 "RANLIB=$${RANLIB}" \
12381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12382 mostlyclean) \
12383 || exit 1
12385 @endif gcc
12387 .PHONY: maybe-clean-gcc clean-gcc
12388 maybe-clean-gcc:
12389 @if gcc
12390 maybe-clean-gcc: clean-gcc
12392 clean-gcc:
12393 @[ -f ./gcc/Makefile ] || exit 0; \
12394 r=`${PWD_COMMAND}`; export r; \
12395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12396 $(HOST_EXPORTS) \
12397 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12399 done; \
12400 echo "Doing clean in gcc"; \
12401 (cd $(HOST_SUBDIR)/gcc && \
12402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12404 "RANLIB=$${RANLIB}" \
12405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12406 clean) \
12407 || exit 1
12409 @endif gcc
12411 .PHONY: maybe-distclean-gcc distclean-gcc
12412 maybe-distclean-gcc:
12413 @if gcc
12414 maybe-distclean-gcc: distclean-gcc
12416 distclean-gcc:
12417 @[ -f ./gcc/Makefile ] || exit 0; \
12418 r=`${PWD_COMMAND}`; export r; \
12419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12420 $(HOST_EXPORTS) \
12421 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12423 done; \
12424 echo "Doing distclean in gcc"; \
12425 (cd $(HOST_SUBDIR)/gcc && \
12426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12428 "RANLIB=$${RANLIB}" \
12429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12430 distclean) \
12431 || exit 1
12433 @endif gcc
12435 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12436 maybe-maintainer-clean-gcc:
12437 @if gcc
12438 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12440 maintainer-clean-gcc:
12441 @[ -f ./gcc/Makefile ] || exit 0; \
12442 r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 $(HOST_EXPORTS) \
12445 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12447 done; \
12448 echo "Doing maintainer-clean in gcc"; \
12449 (cd $(HOST_SUBDIR)/gcc && \
12450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12452 "RANLIB=$${RANLIB}" \
12453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12454 maintainer-clean) \
12455 || exit 1
12457 @endif gcc
12461 .PHONY: configure-gmp maybe-configure-gmp
12462 maybe-configure-gmp:
12463 @if gcc-bootstrap
12464 configure-gmp: stage_current
12465 @endif gcc-bootstrap
12466 @if gmp
12467 maybe-configure-gmp: configure-gmp
12468 configure-gmp:
12469 @r=`${PWD_COMMAND}`; export r; \
12470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12471 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12473 $(HOST_EXPORTS) \
12474 echo Configuring in $(HOST_SUBDIR)/gmp; \
12475 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12476 case $(srcdir) in \
12477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12478 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12480 esac; \
12481 module_srcdir=gmp; \
12482 $(SHELL) \
12483 $$s/$$module_srcdir/configure \
12484 --srcdir=$${topdir}/$$module_srcdir \
12485 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12486 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12487 || exit 1
12488 @endif gmp
12492 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12493 maybe-configure-stage1-gmp:
12494 @if gmp-bootstrap
12495 maybe-configure-stage1-gmp: configure-stage1-gmp
12496 configure-stage1-gmp:
12497 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12498 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12499 @r=`${PWD_COMMAND}`; export r; \
12500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 TFLAGS="$(STAGE1_TFLAGS)"; \
12502 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12503 $(HOST_EXPORTS) \
12504 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12505 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12506 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12507 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12509 cd $(HOST_SUBDIR)/gmp || exit 1; \
12510 case $(srcdir) in \
12511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12512 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12514 esac; \
12515 module_srcdir=gmp; \
12516 $(SHELL) $$s/$$module_srcdir/configure \
12517 --srcdir=$${topdir}/$$module_srcdir \
12518 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12519 --target=none-${host_vendor}-${host_os} \
12521 $(STAGE1_CONFIGURE_FLAGS) \
12522 --disable-shared LEX="touch lex.yy.c"
12523 @endif gmp-bootstrap
12525 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12526 maybe-configure-stage2-gmp:
12527 @if gmp-bootstrap
12528 maybe-configure-stage2-gmp: configure-stage2-gmp
12529 configure-stage2-gmp:
12530 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12532 @r=`${PWD_COMMAND}`; export r; \
12533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12534 TFLAGS="$(STAGE2_TFLAGS)"; \
12535 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12536 $(HOST_EXPORTS) \
12537 $(POSTSTAGE1_HOST_EXPORTS) \
12538 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12539 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12540 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12541 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12543 cd $(HOST_SUBDIR)/gmp || exit 1; \
12544 case $(srcdir) in \
12545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12546 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12548 esac; \
12549 module_srcdir=gmp; \
12550 $(SHELL) $$s/$$module_srcdir/configure \
12551 --srcdir=$${topdir}/$$module_srcdir \
12552 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12553 --target=none-${host_vendor}-${host_os} \
12554 --with-build-libsubdir=$(HOST_SUBDIR) \
12555 $(STAGE2_CONFIGURE_FLAGS) \
12556 --disable-shared LEX="touch lex.yy.c"
12557 @endif gmp-bootstrap
12559 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12560 maybe-configure-stage3-gmp:
12561 @if gmp-bootstrap
12562 maybe-configure-stage3-gmp: configure-stage3-gmp
12563 configure-stage3-gmp:
12564 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12565 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12566 @r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 TFLAGS="$(STAGE3_TFLAGS)"; \
12569 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12570 $(HOST_EXPORTS) \
12571 $(POSTSTAGE1_HOST_EXPORTS) \
12572 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12573 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12574 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12575 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12577 cd $(HOST_SUBDIR)/gmp || exit 1; \
12578 case $(srcdir) in \
12579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12580 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12582 esac; \
12583 module_srcdir=gmp; \
12584 $(SHELL) $$s/$$module_srcdir/configure \
12585 --srcdir=$${topdir}/$$module_srcdir \
12586 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12587 --target=none-${host_vendor}-${host_os} \
12588 --with-build-libsubdir=$(HOST_SUBDIR) \
12589 $(STAGE3_CONFIGURE_FLAGS) \
12590 --disable-shared LEX="touch lex.yy.c"
12591 @endif gmp-bootstrap
12593 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12594 maybe-configure-stage4-gmp:
12595 @if gmp-bootstrap
12596 maybe-configure-stage4-gmp: configure-stage4-gmp
12597 configure-stage4-gmp:
12598 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12599 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12600 @r=`${PWD_COMMAND}`; export r; \
12601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12602 TFLAGS="$(STAGE4_TFLAGS)"; \
12603 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12604 $(HOST_EXPORTS) \
12605 $(POSTSTAGE1_HOST_EXPORTS) \
12606 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12607 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12608 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12609 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12611 cd $(HOST_SUBDIR)/gmp || exit 1; \
12612 case $(srcdir) in \
12613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12614 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12616 esac; \
12617 module_srcdir=gmp; \
12618 $(SHELL) $$s/$$module_srcdir/configure \
12619 --srcdir=$${topdir}/$$module_srcdir \
12620 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12621 --target=none-${host_vendor}-${host_os} \
12622 --with-build-libsubdir=$(HOST_SUBDIR) \
12623 $(STAGE4_CONFIGURE_FLAGS) \
12624 --disable-shared LEX="touch lex.yy.c"
12625 @endif gmp-bootstrap
12627 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12628 maybe-configure-stageprofile-gmp:
12629 @if gmp-bootstrap
12630 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12631 configure-stageprofile-gmp:
12632 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12633 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12634 @r=`${PWD_COMMAND}`; export r; \
12635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12636 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12637 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12638 $(HOST_EXPORTS) \
12639 $(POSTSTAGE1_HOST_EXPORTS) \
12640 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12641 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12642 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12643 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12645 cd $(HOST_SUBDIR)/gmp || exit 1; \
12646 case $(srcdir) in \
12647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12648 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12650 esac; \
12651 module_srcdir=gmp; \
12652 $(SHELL) $$s/$$module_srcdir/configure \
12653 --srcdir=$${topdir}/$$module_srcdir \
12654 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12655 --target=none-${host_vendor}-${host_os} \
12656 --with-build-libsubdir=$(HOST_SUBDIR) \
12657 $(STAGEprofile_CONFIGURE_FLAGS) \
12658 --disable-shared LEX="touch lex.yy.c"
12659 @endif gmp-bootstrap
12661 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12662 maybe-configure-stagetrain-gmp:
12663 @if gmp-bootstrap
12664 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12665 configure-stagetrain-gmp:
12666 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12668 @r=`${PWD_COMMAND}`; export r; \
12669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12670 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12671 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12672 $(HOST_EXPORTS) \
12673 $(POSTSTAGE1_HOST_EXPORTS) \
12674 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12675 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12676 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12677 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12679 cd $(HOST_SUBDIR)/gmp || exit 1; \
12680 case $(srcdir) in \
12681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12682 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12684 esac; \
12685 module_srcdir=gmp; \
12686 $(SHELL) $$s/$$module_srcdir/configure \
12687 --srcdir=$${topdir}/$$module_srcdir \
12688 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12689 --target=none-${host_vendor}-${host_os} \
12690 --with-build-libsubdir=$(HOST_SUBDIR) \
12691 $(STAGEtrain_CONFIGURE_FLAGS) \
12692 --disable-shared LEX="touch lex.yy.c"
12693 @endif gmp-bootstrap
12695 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12696 maybe-configure-stagefeedback-gmp:
12697 @if gmp-bootstrap
12698 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12699 configure-stagefeedback-gmp:
12700 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12702 @r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12704 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12705 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12706 $(HOST_EXPORTS) \
12707 $(POSTSTAGE1_HOST_EXPORTS) \
12708 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12709 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12710 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12711 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12713 cd $(HOST_SUBDIR)/gmp || exit 1; \
12714 case $(srcdir) in \
12715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12716 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12718 esac; \
12719 module_srcdir=gmp; \
12720 $(SHELL) $$s/$$module_srcdir/configure \
12721 --srcdir=$${topdir}/$$module_srcdir \
12722 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12723 --target=none-${host_vendor}-${host_os} \
12724 --with-build-libsubdir=$(HOST_SUBDIR) \
12725 $(STAGEfeedback_CONFIGURE_FLAGS) \
12726 --disable-shared LEX="touch lex.yy.c"
12727 @endif gmp-bootstrap
12729 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12730 maybe-configure-stageautoprofile-gmp:
12731 @if gmp-bootstrap
12732 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12733 configure-stageautoprofile-gmp:
12734 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12736 @r=`${PWD_COMMAND}`; export r; \
12737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12738 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12739 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12740 $(HOST_EXPORTS) \
12741 $(POSTSTAGE1_HOST_EXPORTS) \
12742 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12743 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12744 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12745 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12747 cd $(HOST_SUBDIR)/gmp || exit 1; \
12748 case $(srcdir) in \
12749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12750 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12752 esac; \
12753 module_srcdir=gmp; \
12754 $(SHELL) $$s/$$module_srcdir/configure \
12755 --srcdir=$${topdir}/$$module_srcdir \
12756 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12757 --target=none-${host_vendor}-${host_os} \
12758 --with-build-libsubdir=$(HOST_SUBDIR) \
12759 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12760 --disable-shared LEX="touch lex.yy.c"
12761 @endif gmp-bootstrap
12763 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12764 maybe-configure-stageautofeedback-gmp:
12765 @if gmp-bootstrap
12766 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12767 configure-stageautofeedback-gmp:
12768 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12770 @r=`${PWD_COMMAND}`; export r; \
12771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12772 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12773 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12774 $(HOST_EXPORTS) \
12775 $(POSTSTAGE1_HOST_EXPORTS) \
12776 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12777 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12778 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12779 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12781 cd $(HOST_SUBDIR)/gmp || exit 1; \
12782 case $(srcdir) in \
12783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12784 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12786 esac; \
12787 module_srcdir=gmp; \
12788 $(SHELL) $$s/$$module_srcdir/configure \
12789 --srcdir=$${topdir}/$$module_srcdir \
12790 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12791 --target=none-${host_vendor}-${host_os} \
12792 --with-build-libsubdir=$(HOST_SUBDIR) \
12793 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12794 --disable-shared LEX="touch lex.yy.c"
12795 @endif gmp-bootstrap
12801 .PHONY: all-gmp maybe-all-gmp
12802 maybe-all-gmp:
12803 @if gcc-bootstrap
12804 all-gmp: stage_current
12805 @endif gcc-bootstrap
12806 @if gmp
12807 TARGET-gmp=all
12808 maybe-all-gmp: all-gmp
12809 all-gmp: configure-gmp
12810 @r=`${PWD_COMMAND}`; export r; \
12811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12812 $(HOST_EXPORTS) \
12813 (cd $(HOST_SUBDIR)/gmp && \
12814 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12815 $(TARGET-gmp))
12816 @endif gmp
12820 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12821 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12822 maybe-all-stage1-gmp:
12823 maybe-clean-stage1-gmp:
12824 @if gmp-bootstrap
12825 maybe-all-stage1-gmp: all-stage1-gmp
12826 all-stage1: all-stage1-gmp
12827 TARGET-stage1-gmp = $(TARGET-gmp)
12828 all-stage1-gmp: configure-stage1-gmp
12829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12830 @r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12832 TFLAGS="$(STAGE1_TFLAGS)"; \
12833 $(HOST_EXPORTS) \
12834 cd $(HOST_SUBDIR)/gmp && \
12836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12837 CFLAGS="$(STAGE1_CFLAGS)" \
12838 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12839 LIBCFLAGS="$(LIBCFLAGS)" \
12840 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12841 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12842 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12843 $(EXTRA_HOST_FLAGS) \
12844 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12845 TFLAGS="$(STAGE1_TFLAGS)" \
12846 $(TARGET-stage1-gmp)
12848 maybe-clean-stage1-gmp: clean-stage1-gmp
12849 clean-stage1: clean-stage1-gmp
12850 clean-stage1-gmp:
12851 @if [ $(current_stage) = stage1 ]; then \
12852 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12853 else \
12854 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12855 $(MAKE) stage1-start; \
12856 fi; \
12857 cd $(HOST_SUBDIR)/gmp && \
12858 $(MAKE) $(EXTRA_HOST_FLAGS) \
12859 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12860 @endif gmp-bootstrap
12863 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12864 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12865 maybe-all-stage2-gmp:
12866 maybe-clean-stage2-gmp:
12867 @if gmp-bootstrap
12868 maybe-all-stage2-gmp: all-stage2-gmp
12869 all-stage2: all-stage2-gmp
12870 TARGET-stage2-gmp = $(TARGET-gmp)
12871 all-stage2-gmp: configure-stage2-gmp
12872 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12873 @r=`${PWD_COMMAND}`; export r; \
12874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12875 TFLAGS="$(STAGE2_TFLAGS)"; \
12876 $(HOST_EXPORTS) \
12877 $(POSTSTAGE1_HOST_EXPORTS) \
12878 cd $(HOST_SUBDIR)/gmp && \
12880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12881 CFLAGS="$(STAGE2_CFLAGS)" \
12882 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12883 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12888 TFLAGS="$(STAGE2_TFLAGS)" \
12889 $(TARGET-stage2-gmp)
12891 maybe-clean-stage2-gmp: clean-stage2-gmp
12892 clean-stage2: clean-stage2-gmp
12893 clean-stage2-gmp:
12894 @if [ $(current_stage) = stage2 ]; then \
12895 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12896 else \
12897 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12898 $(MAKE) stage2-start; \
12899 fi; \
12900 cd $(HOST_SUBDIR)/gmp && \
12901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12902 @endif gmp-bootstrap
12905 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12906 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12907 maybe-all-stage3-gmp:
12908 maybe-clean-stage3-gmp:
12909 @if gmp-bootstrap
12910 maybe-all-stage3-gmp: all-stage3-gmp
12911 all-stage3: all-stage3-gmp
12912 TARGET-stage3-gmp = $(TARGET-gmp)
12913 all-stage3-gmp: configure-stage3-gmp
12914 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12915 @r=`${PWD_COMMAND}`; export r; \
12916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12917 TFLAGS="$(STAGE3_TFLAGS)"; \
12918 $(HOST_EXPORTS) \
12919 $(POSTSTAGE1_HOST_EXPORTS) \
12920 cd $(HOST_SUBDIR)/gmp && \
12922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12923 CFLAGS="$(STAGE3_CFLAGS)" \
12924 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12925 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12929 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12930 TFLAGS="$(STAGE3_TFLAGS)" \
12931 $(TARGET-stage3-gmp)
12933 maybe-clean-stage3-gmp: clean-stage3-gmp
12934 clean-stage3: clean-stage3-gmp
12935 clean-stage3-gmp:
12936 @if [ $(current_stage) = stage3 ]; then \
12937 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12938 else \
12939 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12940 $(MAKE) stage3-start; \
12941 fi; \
12942 cd $(HOST_SUBDIR)/gmp && \
12943 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12944 @endif gmp-bootstrap
12947 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12948 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12949 maybe-all-stage4-gmp:
12950 maybe-clean-stage4-gmp:
12951 @if gmp-bootstrap
12952 maybe-all-stage4-gmp: all-stage4-gmp
12953 all-stage4: all-stage4-gmp
12954 TARGET-stage4-gmp = $(TARGET-gmp)
12955 all-stage4-gmp: configure-stage4-gmp
12956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12957 @r=`${PWD_COMMAND}`; export r; \
12958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12959 TFLAGS="$(STAGE4_TFLAGS)"; \
12960 $(HOST_EXPORTS) \
12961 $(POSTSTAGE1_HOST_EXPORTS) \
12962 cd $(HOST_SUBDIR)/gmp && \
12964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12965 CFLAGS="$(STAGE4_CFLAGS)" \
12966 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12967 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12972 TFLAGS="$(STAGE4_TFLAGS)" \
12973 $(TARGET-stage4-gmp)
12975 maybe-clean-stage4-gmp: clean-stage4-gmp
12976 clean-stage4: clean-stage4-gmp
12977 clean-stage4-gmp:
12978 @if [ $(current_stage) = stage4 ]; then \
12979 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12980 else \
12981 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12982 $(MAKE) stage4-start; \
12983 fi; \
12984 cd $(HOST_SUBDIR)/gmp && \
12985 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12986 @endif gmp-bootstrap
12989 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
12990 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
12991 maybe-all-stageprofile-gmp:
12992 maybe-clean-stageprofile-gmp:
12993 @if gmp-bootstrap
12994 maybe-all-stageprofile-gmp: all-stageprofile-gmp
12995 all-stageprofile: all-stageprofile-gmp
12996 TARGET-stageprofile-gmp = $(TARGET-gmp)
12997 all-stageprofile-gmp: configure-stageprofile-gmp
12998 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12999 @r=`${PWD_COMMAND}`; export r; \
13000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13001 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13002 $(HOST_EXPORTS) \
13003 $(POSTSTAGE1_HOST_EXPORTS) \
13004 cd $(HOST_SUBDIR)/gmp && \
13006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13007 CFLAGS="$(STAGEprofile_CFLAGS)" \
13008 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13009 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13014 TFLAGS="$(STAGEprofile_TFLAGS)" \
13015 $(TARGET-stageprofile-gmp)
13017 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13018 clean-stageprofile: clean-stageprofile-gmp
13019 clean-stageprofile-gmp:
13020 @if [ $(current_stage) = stageprofile ]; then \
13021 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13022 else \
13023 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13024 $(MAKE) stageprofile-start; \
13025 fi; \
13026 cd $(HOST_SUBDIR)/gmp && \
13027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13028 @endif gmp-bootstrap
13031 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13032 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13033 maybe-all-stagetrain-gmp:
13034 maybe-clean-stagetrain-gmp:
13035 @if gmp-bootstrap
13036 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13037 all-stagetrain: all-stagetrain-gmp
13038 TARGET-stagetrain-gmp = $(TARGET-gmp)
13039 all-stagetrain-gmp: configure-stagetrain-gmp
13040 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13041 @r=`${PWD_COMMAND}`; export r; \
13042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13044 $(HOST_EXPORTS) \
13045 $(POSTSTAGE1_HOST_EXPORTS) \
13046 cd $(HOST_SUBDIR)/gmp && \
13048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13049 CFLAGS="$(STAGEtrain_CFLAGS)" \
13050 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13051 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13056 TFLAGS="$(STAGEtrain_TFLAGS)" \
13057 $(TARGET-stagetrain-gmp)
13059 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13060 clean-stagetrain: clean-stagetrain-gmp
13061 clean-stagetrain-gmp:
13062 @if [ $(current_stage) = stagetrain ]; then \
13063 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13064 else \
13065 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13066 $(MAKE) stagetrain-start; \
13067 fi; \
13068 cd $(HOST_SUBDIR)/gmp && \
13069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13070 @endif gmp-bootstrap
13073 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13074 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13075 maybe-all-stagefeedback-gmp:
13076 maybe-clean-stagefeedback-gmp:
13077 @if gmp-bootstrap
13078 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13079 all-stagefeedback: all-stagefeedback-gmp
13080 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13081 all-stagefeedback-gmp: configure-stagefeedback-gmp
13082 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13083 @r=`${PWD_COMMAND}`; export r; \
13084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13085 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13086 $(HOST_EXPORTS) \
13087 $(POSTSTAGE1_HOST_EXPORTS) \
13088 cd $(HOST_SUBDIR)/gmp && \
13090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13091 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13092 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13093 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13098 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13099 $(TARGET-stagefeedback-gmp)
13101 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13102 clean-stagefeedback: clean-stagefeedback-gmp
13103 clean-stagefeedback-gmp:
13104 @if [ $(current_stage) = stagefeedback ]; then \
13105 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13106 else \
13107 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13108 $(MAKE) stagefeedback-start; \
13109 fi; \
13110 cd $(HOST_SUBDIR)/gmp && \
13111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13112 @endif gmp-bootstrap
13115 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13116 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13117 maybe-all-stageautoprofile-gmp:
13118 maybe-clean-stageautoprofile-gmp:
13119 @if gmp-bootstrap
13120 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13121 all-stageautoprofile: all-stageautoprofile-gmp
13122 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13123 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13124 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13125 @r=`${PWD_COMMAND}`; export r; \
13126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13127 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13128 $(HOST_EXPORTS) \
13129 $(POSTSTAGE1_HOST_EXPORTS) \
13130 cd $(HOST_SUBDIR)/gmp && \
13131 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13133 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13134 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13135 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13136 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13137 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13138 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13139 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13140 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13141 $(TARGET-stageautoprofile-gmp)
13143 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13144 clean-stageautoprofile: clean-stageautoprofile-gmp
13145 clean-stageautoprofile-gmp:
13146 @if [ $(current_stage) = stageautoprofile ]; then \
13147 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13148 else \
13149 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13150 $(MAKE) stageautoprofile-start; \
13151 fi; \
13152 cd $(HOST_SUBDIR)/gmp && \
13153 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13154 @endif gmp-bootstrap
13157 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13158 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13159 maybe-all-stageautofeedback-gmp:
13160 maybe-clean-stageautofeedback-gmp:
13161 @if gmp-bootstrap
13162 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13163 all-stageautofeedback: all-stageautofeedback-gmp
13164 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13165 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13166 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13167 @r=`${PWD_COMMAND}`; export r; \
13168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13169 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13170 $(HOST_EXPORTS) \
13171 $(POSTSTAGE1_HOST_EXPORTS) \
13172 cd $(HOST_SUBDIR)/gmp && \
13174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13175 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13176 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13177 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13182 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13183 $(TARGET-stageautofeedback-gmp)
13185 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13186 clean-stageautofeedback: clean-stageautofeedback-gmp
13187 clean-stageautofeedback-gmp:
13188 @if [ $(current_stage) = stageautofeedback ]; then \
13189 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13190 else \
13191 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13192 $(MAKE) stageautofeedback-start; \
13193 fi; \
13194 cd $(HOST_SUBDIR)/gmp && \
13195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13196 @endif gmp-bootstrap
13202 .PHONY: check-gmp maybe-check-gmp
13203 maybe-check-gmp:
13204 @if gmp
13205 maybe-check-gmp: check-gmp
13207 check-gmp:
13208 @: $(MAKE); $(unstage)
13209 @r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13212 (cd $(HOST_SUBDIR)/gmp && \
13213 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13215 @endif gmp
13217 .PHONY: install-gmp maybe-install-gmp
13218 maybe-install-gmp:
13219 @if gmp
13220 maybe-install-gmp: install-gmp
13222 install-gmp:
13224 @endif gmp
13226 .PHONY: install-strip-gmp maybe-install-strip-gmp
13227 maybe-install-strip-gmp:
13228 @if gmp
13229 maybe-install-strip-gmp: install-strip-gmp
13231 install-strip-gmp:
13233 @endif gmp
13235 # Other targets (info, dvi, pdf, etc.)
13237 .PHONY: maybe-info-gmp info-gmp
13238 maybe-info-gmp:
13239 @if gmp
13240 maybe-info-gmp: info-gmp
13242 info-gmp: \
13243 configure-gmp
13244 @[ -f ./gmp/Makefile ] || exit 0; \
13245 r=`${PWD_COMMAND}`; export r; \
13246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13247 $(HOST_EXPORTS) \
13248 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13250 done; \
13251 echo "Doing info in gmp"; \
13252 (cd $(HOST_SUBDIR)/gmp && \
13253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13255 "RANLIB=$${RANLIB}" \
13256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13257 info) \
13258 || exit 1
13260 @endif gmp
13262 .PHONY: maybe-dvi-gmp dvi-gmp
13263 maybe-dvi-gmp:
13264 @if gmp
13265 maybe-dvi-gmp: dvi-gmp
13267 dvi-gmp: \
13268 configure-gmp
13269 @[ -f ./gmp/Makefile ] || exit 0; \
13270 r=`${PWD_COMMAND}`; export r; \
13271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13272 $(HOST_EXPORTS) \
13273 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13275 done; \
13276 echo "Doing dvi in gmp"; \
13277 (cd $(HOST_SUBDIR)/gmp && \
13278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13280 "RANLIB=$${RANLIB}" \
13281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13282 dvi) \
13283 || exit 1
13285 @endif gmp
13287 .PHONY: maybe-pdf-gmp pdf-gmp
13288 maybe-pdf-gmp:
13289 @if gmp
13290 maybe-pdf-gmp: pdf-gmp
13292 pdf-gmp: \
13293 configure-gmp
13294 @[ -f ./gmp/Makefile ] || exit 0; \
13295 r=`${PWD_COMMAND}`; export r; \
13296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13297 $(HOST_EXPORTS) \
13298 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13300 done; \
13301 echo "Doing pdf in gmp"; \
13302 (cd $(HOST_SUBDIR)/gmp && \
13303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13305 "RANLIB=$${RANLIB}" \
13306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13307 pdf) \
13308 || exit 1
13310 @endif gmp
13312 .PHONY: maybe-html-gmp html-gmp
13313 maybe-html-gmp:
13314 @if gmp
13315 maybe-html-gmp: html-gmp
13317 html-gmp: \
13318 configure-gmp
13319 @[ -f ./gmp/Makefile ] || exit 0; \
13320 r=`${PWD_COMMAND}`; export r; \
13321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13322 $(HOST_EXPORTS) \
13323 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13325 done; \
13326 echo "Doing html in gmp"; \
13327 (cd $(HOST_SUBDIR)/gmp && \
13328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13330 "RANLIB=$${RANLIB}" \
13331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13332 html) \
13333 || exit 1
13335 @endif gmp
13337 .PHONY: maybe-TAGS-gmp TAGS-gmp
13338 maybe-TAGS-gmp:
13339 @if gmp
13340 maybe-TAGS-gmp: TAGS-gmp
13342 TAGS-gmp: \
13343 configure-gmp
13344 @[ -f ./gmp/Makefile ] || exit 0; \
13345 r=`${PWD_COMMAND}`; export r; \
13346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13347 $(HOST_EXPORTS) \
13348 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13350 done; \
13351 echo "Doing TAGS in gmp"; \
13352 (cd $(HOST_SUBDIR)/gmp && \
13353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13355 "RANLIB=$${RANLIB}" \
13356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13357 TAGS) \
13358 || exit 1
13360 @endif gmp
13362 .PHONY: maybe-install-info-gmp install-info-gmp
13363 maybe-install-info-gmp:
13364 @if gmp
13365 maybe-install-info-gmp: install-info-gmp
13367 install-info-gmp: \
13368 configure-gmp \
13369 info-gmp
13370 @[ -f ./gmp/Makefile ] || exit 0; \
13371 r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13373 $(HOST_EXPORTS) \
13374 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13376 done; \
13377 echo "Doing install-info in gmp"; \
13378 (cd $(HOST_SUBDIR)/gmp && \
13379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13381 "RANLIB=$${RANLIB}" \
13382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13383 install-info) \
13384 || exit 1
13386 @endif gmp
13388 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13389 maybe-install-pdf-gmp:
13390 @if gmp
13391 maybe-install-pdf-gmp: install-pdf-gmp
13393 install-pdf-gmp: \
13394 configure-gmp \
13395 pdf-gmp
13396 @[ -f ./gmp/Makefile ] || exit 0; \
13397 r=`${PWD_COMMAND}`; export r; \
13398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13399 $(HOST_EXPORTS) \
13400 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13402 done; \
13403 echo "Doing install-pdf in gmp"; \
13404 (cd $(HOST_SUBDIR)/gmp && \
13405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13407 "RANLIB=$${RANLIB}" \
13408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13409 install-pdf) \
13410 || exit 1
13412 @endif gmp
13414 .PHONY: maybe-install-html-gmp install-html-gmp
13415 maybe-install-html-gmp:
13416 @if gmp
13417 maybe-install-html-gmp: install-html-gmp
13419 install-html-gmp: \
13420 configure-gmp \
13421 html-gmp
13422 @[ -f ./gmp/Makefile ] || exit 0; \
13423 r=`${PWD_COMMAND}`; export r; \
13424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 $(HOST_EXPORTS) \
13426 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13428 done; \
13429 echo "Doing install-html in gmp"; \
13430 (cd $(HOST_SUBDIR)/gmp && \
13431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13433 "RANLIB=$${RANLIB}" \
13434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13435 install-html) \
13436 || exit 1
13438 @endif gmp
13440 .PHONY: maybe-installcheck-gmp installcheck-gmp
13441 maybe-installcheck-gmp:
13442 @if gmp
13443 maybe-installcheck-gmp: installcheck-gmp
13445 installcheck-gmp: \
13446 configure-gmp
13447 @[ -f ./gmp/Makefile ] || exit 0; \
13448 r=`${PWD_COMMAND}`; export r; \
13449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13450 $(HOST_EXPORTS) \
13451 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13453 done; \
13454 echo "Doing installcheck in gmp"; \
13455 (cd $(HOST_SUBDIR)/gmp && \
13456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13458 "RANLIB=$${RANLIB}" \
13459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13460 installcheck) \
13461 || exit 1
13463 @endif gmp
13465 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13466 maybe-mostlyclean-gmp:
13467 @if gmp
13468 maybe-mostlyclean-gmp: mostlyclean-gmp
13470 mostlyclean-gmp:
13471 @[ -f ./gmp/Makefile ] || exit 0; \
13472 r=`${PWD_COMMAND}`; export r; \
13473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13474 $(HOST_EXPORTS) \
13475 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13477 done; \
13478 echo "Doing mostlyclean in gmp"; \
13479 (cd $(HOST_SUBDIR)/gmp && \
13480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13482 "RANLIB=$${RANLIB}" \
13483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13484 mostlyclean) \
13485 || exit 1
13487 @endif gmp
13489 .PHONY: maybe-clean-gmp clean-gmp
13490 maybe-clean-gmp:
13491 @if gmp
13492 maybe-clean-gmp: clean-gmp
13494 clean-gmp:
13495 @[ -f ./gmp/Makefile ] || exit 0; \
13496 r=`${PWD_COMMAND}`; export r; \
13497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13498 $(HOST_EXPORTS) \
13499 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13501 done; \
13502 echo "Doing clean in gmp"; \
13503 (cd $(HOST_SUBDIR)/gmp && \
13504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13506 "RANLIB=$${RANLIB}" \
13507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13508 clean) \
13509 || exit 1
13511 @endif gmp
13513 .PHONY: maybe-distclean-gmp distclean-gmp
13514 maybe-distclean-gmp:
13515 @if gmp
13516 maybe-distclean-gmp: distclean-gmp
13518 distclean-gmp:
13519 @[ -f ./gmp/Makefile ] || exit 0; \
13520 r=`${PWD_COMMAND}`; export r; \
13521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13522 $(HOST_EXPORTS) \
13523 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13525 done; \
13526 echo "Doing distclean in gmp"; \
13527 (cd $(HOST_SUBDIR)/gmp && \
13528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13530 "RANLIB=$${RANLIB}" \
13531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13532 distclean) \
13533 || exit 1
13535 @endif gmp
13537 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13538 maybe-maintainer-clean-gmp:
13539 @if gmp
13540 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13542 maintainer-clean-gmp:
13543 @[ -f ./gmp/Makefile ] || exit 0; \
13544 r=`${PWD_COMMAND}`; export r; \
13545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13546 $(HOST_EXPORTS) \
13547 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13549 done; \
13550 echo "Doing maintainer-clean in gmp"; \
13551 (cd $(HOST_SUBDIR)/gmp && \
13552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13554 "RANLIB=$${RANLIB}" \
13555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13556 maintainer-clean) \
13557 || exit 1
13559 @endif gmp
13563 .PHONY: configure-mpfr maybe-configure-mpfr
13564 maybe-configure-mpfr:
13565 @if gcc-bootstrap
13566 configure-mpfr: stage_current
13567 @endif gcc-bootstrap
13568 @if mpfr
13569 maybe-configure-mpfr: configure-mpfr
13570 configure-mpfr:
13571 @r=`${PWD_COMMAND}`; export r; \
13572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13573 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13575 $(HOST_EXPORTS) \
13576 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13577 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13578 case $(srcdir) in \
13579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13580 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13582 esac; \
13583 module_srcdir=mpfr; \
13584 $(SHELL) \
13585 $$s/$$module_srcdir/configure \
13586 --srcdir=$${topdir}/$$module_srcdir \
13587 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13588 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13589 || exit 1
13590 @endif mpfr
13594 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13595 maybe-configure-stage1-mpfr:
13596 @if mpfr-bootstrap
13597 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13598 configure-stage1-mpfr:
13599 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13600 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13601 @r=`${PWD_COMMAND}`; export r; \
13602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13603 TFLAGS="$(STAGE1_TFLAGS)"; \
13604 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13605 $(HOST_EXPORTS) \
13606 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13607 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13608 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13609 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13611 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13612 case $(srcdir) in \
13613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13614 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13616 esac; \
13617 module_srcdir=mpfr; \
13618 $(SHELL) $$s/$$module_srcdir/configure \
13619 --srcdir=$${topdir}/$$module_srcdir \
13620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13621 --target=${target_alias} \
13623 $(STAGE1_CONFIGURE_FLAGS) \
13624 --disable-shared @extra_mpfr_configure_flags@
13625 @endif mpfr-bootstrap
13627 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13628 maybe-configure-stage2-mpfr:
13629 @if mpfr-bootstrap
13630 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13631 configure-stage2-mpfr:
13632 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13633 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13634 @r=`${PWD_COMMAND}`; export r; \
13635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13636 TFLAGS="$(STAGE2_TFLAGS)"; \
13637 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13638 $(HOST_EXPORTS) \
13639 $(POSTSTAGE1_HOST_EXPORTS) \
13640 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13641 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13642 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13643 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13645 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13646 case $(srcdir) in \
13647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13648 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13650 esac; \
13651 module_srcdir=mpfr; \
13652 $(SHELL) $$s/$$module_srcdir/configure \
13653 --srcdir=$${topdir}/$$module_srcdir \
13654 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13655 --target=${target_alias} \
13656 --with-build-libsubdir=$(HOST_SUBDIR) \
13657 $(STAGE2_CONFIGURE_FLAGS) \
13658 --disable-shared @extra_mpfr_configure_flags@
13659 @endif mpfr-bootstrap
13661 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13662 maybe-configure-stage3-mpfr:
13663 @if mpfr-bootstrap
13664 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13665 configure-stage3-mpfr:
13666 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13668 @r=`${PWD_COMMAND}`; export r; \
13669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13670 TFLAGS="$(STAGE3_TFLAGS)"; \
13671 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13672 $(HOST_EXPORTS) \
13673 $(POSTSTAGE1_HOST_EXPORTS) \
13674 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13675 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13676 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13677 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13679 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13680 case $(srcdir) in \
13681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13682 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13684 esac; \
13685 module_srcdir=mpfr; \
13686 $(SHELL) $$s/$$module_srcdir/configure \
13687 --srcdir=$${topdir}/$$module_srcdir \
13688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13689 --target=${target_alias} \
13690 --with-build-libsubdir=$(HOST_SUBDIR) \
13691 $(STAGE3_CONFIGURE_FLAGS) \
13692 --disable-shared @extra_mpfr_configure_flags@
13693 @endif mpfr-bootstrap
13695 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13696 maybe-configure-stage4-mpfr:
13697 @if mpfr-bootstrap
13698 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13699 configure-stage4-mpfr:
13700 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13702 @r=`${PWD_COMMAND}`; export r; \
13703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13704 TFLAGS="$(STAGE4_TFLAGS)"; \
13705 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13706 $(HOST_EXPORTS) \
13707 $(POSTSTAGE1_HOST_EXPORTS) \
13708 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13709 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13710 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13711 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13713 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13714 case $(srcdir) in \
13715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13716 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13718 esac; \
13719 module_srcdir=mpfr; \
13720 $(SHELL) $$s/$$module_srcdir/configure \
13721 --srcdir=$${topdir}/$$module_srcdir \
13722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13723 --target=${target_alias} \
13724 --with-build-libsubdir=$(HOST_SUBDIR) \
13725 $(STAGE4_CONFIGURE_FLAGS) \
13726 --disable-shared @extra_mpfr_configure_flags@
13727 @endif mpfr-bootstrap
13729 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13730 maybe-configure-stageprofile-mpfr:
13731 @if mpfr-bootstrap
13732 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13733 configure-stageprofile-mpfr:
13734 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13736 @r=`${PWD_COMMAND}`; export r; \
13737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13738 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13739 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13740 $(HOST_EXPORTS) \
13741 $(POSTSTAGE1_HOST_EXPORTS) \
13742 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13743 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13744 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13745 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13747 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13748 case $(srcdir) in \
13749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13750 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13752 esac; \
13753 module_srcdir=mpfr; \
13754 $(SHELL) $$s/$$module_srcdir/configure \
13755 --srcdir=$${topdir}/$$module_srcdir \
13756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13757 --target=${target_alias} \
13758 --with-build-libsubdir=$(HOST_SUBDIR) \
13759 $(STAGEprofile_CONFIGURE_FLAGS) \
13760 --disable-shared @extra_mpfr_configure_flags@
13761 @endif mpfr-bootstrap
13763 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13764 maybe-configure-stagetrain-mpfr:
13765 @if mpfr-bootstrap
13766 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13767 configure-stagetrain-mpfr:
13768 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13770 @r=`${PWD_COMMAND}`; export r; \
13771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13772 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13773 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13774 $(HOST_EXPORTS) \
13775 $(POSTSTAGE1_HOST_EXPORTS) \
13776 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13777 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13778 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13779 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13781 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13782 case $(srcdir) in \
13783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13784 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13786 esac; \
13787 module_srcdir=mpfr; \
13788 $(SHELL) $$s/$$module_srcdir/configure \
13789 --srcdir=$${topdir}/$$module_srcdir \
13790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13791 --target=${target_alias} \
13792 --with-build-libsubdir=$(HOST_SUBDIR) \
13793 $(STAGEtrain_CONFIGURE_FLAGS) \
13794 --disable-shared @extra_mpfr_configure_flags@
13795 @endif mpfr-bootstrap
13797 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13798 maybe-configure-stagefeedback-mpfr:
13799 @if mpfr-bootstrap
13800 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13801 configure-stagefeedback-mpfr:
13802 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13804 @r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13807 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13808 $(HOST_EXPORTS) \
13809 $(POSTSTAGE1_HOST_EXPORTS) \
13810 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13811 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13812 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13813 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13815 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13816 case $(srcdir) in \
13817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13818 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13820 esac; \
13821 module_srcdir=mpfr; \
13822 $(SHELL) $$s/$$module_srcdir/configure \
13823 --srcdir=$${topdir}/$$module_srcdir \
13824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13825 --target=${target_alias} \
13826 --with-build-libsubdir=$(HOST_SUBDIR) \
13827 $(STAGEfeedback_CONFIGURE_FLAGS) \
13828 --disable-shared @extra_mpfr_configure_flags@
13829 @endif mpfr-bootstrap
13831 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13832 maybe-configure-stageautoprofile-mpfr:
13833 @if mpfr-bootstrap
13834 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13835 configure-stageautoprofile-mpfr:
13836 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13838 @r=`${PWD_COMMAND}`; export r; \
13839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13840 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13841 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13842 $(HOST_EXPORTS) \
13843 $(POSTSTAGE1_HOST_EXPORTS) \
13844 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13845 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13846 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13847 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13849 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13850 case $(srcdir) in \
13851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13852 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13854 esac; \
13855 module_srcdir=mpfr; \
13856 $(SHELL) $$s/$$module_srcdir/configure \
13857 --srcdir=$${topdir}/$$module_srcdir \
13858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13859 --target=${target_alias} \
13860 --with-build-libsubdir=$(HOST_SUBDIR) \
13861 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13862 --disable-shared @extra_mpfr_configure_flags@
13863 @endif mpfr-bootstrap
13865 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13866 maybe-configure-stageautofeedback-mpfr:
13867 @if mpfr-bootstrap
13868 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13869 configure-stageautofeedback-mpfr:
13870 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13872 @r=`${PWD_COMMAND}`; export r; \
13873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13874 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13875 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13876 $(HOST_EXPORTS) \
13877 $(POSTSTAGE1_HOST_EXPORTS) \
13878 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13879 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13880 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13881 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13883 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13884 case $(srcdir) in \
13885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13886 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13888 esac; \
13889 module_srcdir=mpfr; \
13890 $(SHELL) $$s/$$module_srcdir/configure \
13891 --srcdir=$${topdir}/$$module_srcdir \
13892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13893 --target=${target_alias} \
13894 --with-build-libsubdir=$(HOST_SUBDIR) \
13895 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13896 --disable-shared @extra_mpfr_configure_flags@
13897 @endif mpfr-bootstrap
13903 .PHONY: all-mpfr maybe-all-mpfr
13904 maybe-all-mpfr:
13905 @if gcc-bootstrap
13906 all-mpfr: stage_current
13907 @endif gcc-bootstrap
13908 @if mpfr
13909 TARGET-mpfr=all
13910 maybe-all-mpfr: all-mpfr
13911 all-mpfr: configure-mpfr
13912 @r=`${PWD_COMMAND}`; export r; \
13913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13914 $(HOST_EXPORTS) \
13915 (cd $(HOST_SUBDIR)/mpfr && \
13916 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13917 $(TARGET-mpfr))
13918 @endif mpfr
13922 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13923 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13924 maybe-all-stage1-mpfr:
13925 maybe-clean-stage1-mpfr:
13926 @if mpfr-bootstrap
13927 maybe-all-stage1-mpfr: all-stage1-mpfr
13928 all-stage1: all-stage1-mpfr
13929 TARGET-stage1-mpfr = $(TARGET-mpfr)
13930 all-stage1-mpfr: configure-stage1-mpfr
13931 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13932 @r=`${PWD_COMMAND}`; export r; \
13933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 TFLAGS="$(STAGE1_TFLAGS)"; \
13935 $(HOST_EXPORTS) \
13936 cd $(HOST_SUBDIR)/mpfr && \
13938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13939 CFLAGS="$(STAGE1_CFLAGS)" \
13940 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13941 LIBCFLAGS="$(LIBCFLAGS)" \
13942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13945 $(EXTRA_HOST_FLAGS) \
13946 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13947 TFLAGS="$(STAGE1_TFLAGS)" \
13948 $(TARGET-stage1-mpfr)
13950 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13951 clean-stage1: clean-stage1-mpfr
13952 clean-stage1-mpfr:
13953 @if [ $(current_stage) = stage1 ]; then \
13954 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13955 else \
13956 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13957 $(MAKE) stage1-start; \
13958 fi; \
13959 cd $(HOST_SUBDIR)/mpfr && \
13960 $(MAKE) $(EXTRA_HOST_FLAGS) \
13961 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13962 @endif mpfr-bootstrap
13965 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13966 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13967 maybe-all-stage2-mpfr:
13968 maybe-clean-stage2-mpfr:
13969 @if mpfr-bootstrap
13970 maybe-all-stage2-mpfr: all-stage2-mpfr
13971 all-stage2: all-stage2-mpfr
13972 TARGET-stage2-mpfr = $(TARGET-mpfr)
13973 all-stage2-mpfr: configure-stage2-mpfr
13974 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13975 @r=`${PWD_COMMAND}`; export r; \
13976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13977 TFLAGS="$(STAGE2_TFLAGS)"; \
13978 $(HOST_EXPORTS) \
13979 $(POSTSTAGE1_HOST_EXPORTS) \
13980 cd $(HOST_SUBDIR)/mpfr && \
13982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13983 CFLAGS="$(STAGE2_CFLAGS)" \
13984 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13985 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13989 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13990 TFLAGS="$(STAGE2_TFLAGS)" \
13991 $(TARGET-stage2-mpfr)
13993 maybe-clean-stage2-mpfr: clean-stage2-mpfr
13994 clean-stage2: clean-stage2-mpfr
13995 clean-stage2-mpfr:
13996 @if [ $(current_stage) = stage2 ]; then \
13997 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13998 else \
13999 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14000 $(MAKE) stage2-start; \
14001 fi; \
14002 cd $(HOST_SUBDIR)/mpfr && \
14003 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14004 @endif mpfr-bootstrap
14007 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14008 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14009 maybe-all-stage3-mpfr:
14010 maybe-clean-stage3-mpfr:
14011 @if mpfr-bootstrap
14012 maybe-all-stage3-mpfr: all-stage3-mpfr
14013 all-stage3: all-stage3-mpfr
14014 TARGET-stage3-mpfr = $(TARGET-mpfr)
14015 all-stage3-mpfr: configure-stage3-mpfr
14016 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14017 @r=`${PWD_COMMAND}`; export r; \
14018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14019 TFLAGS="$(STAGE3_TFLAGS)"; \
14020 $(HOST_EXPORTS) \
14021 $(POSTSTAGE1_HOST_EXPORTS) \
14022 cd $(HOST_SUBDIR)/mpfr && \
14024 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14025 CFLAGS="$(STAGE3_CFLAGS)" \
14026 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14027 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14028 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14029 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14030 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14031 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14032 TFLAGS="$(STAGE3_TFLAGS)" \
14033 $(TARGET-stage3-mpfr)
14035 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14036 clean-stage3: clean-stage3-mpfr
14037 clean-stage3-mpfr:
14038 @if [ $(current_stage) = stage3 ]; then \
14039 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14040 else \
14041 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14042 $(MAKE) stage3-start; \
14043 fi; \
14044 cd $(HOST_SUBDIR)/mpfr && \
14045 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14046 @endif mpfr-bootstrap
14049 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14050 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14051 maybe-all-stage4-mpfr:
14052 maybe-clean-stage4-mpfr:
14053 @if mpfr-bootstrap
14054 maybe-all-stage4-mpfr: all-stage4-mpfr
14055 all-stage4: all-stage4-mpfr
14056 TARGET-stage4-mpfr = $(TARGET-mpfr)
14057 all-stage4-mpfr: configure-stage4-mpfr
14058 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14059 @r=`${PWD_COMMAND}`; export r; \
14060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14061 TFLAGS="$(STAGE4_TFLAGS)"; \
14062 $(HOST_EXPORTS) \
14063 $(POSTSTAGE1_HOST_EXPORTS) \
14064 cd $(HOST_SUBDIR)/mpfr && \
14066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14067 CFLAGS="$(STAGE4_CFLAGS)" \
14068 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14069 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14073 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14074 TFLAGS="$(STAGE4_TFLAGS)" \
14075 $(TARGET-stage4-mpfr)
14077 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14078 clean-stage4: clean-stage4-mpfr
14079 clean-stage4-mpfr:
14080 @if [ $(current_stage) = stage4 ]; then \
14081 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14082 else \
14083 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14084 $(MAKE) stage4-start; \
14085 fi; \
14086 cd $(HOST_SUBDIR)/mpfr && \
14087 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14088 @endif mpfr-bootstrap
14091 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14092 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14093 maybe-all-stageprofile-mpfr:
14094 maybe-clean-stageprofile-mpfr:
14095 @if mpfr-bootstrap
14096 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14097 all-stageprofile: all-stageprofile-mpfr
14098 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14099 all-stageprofile-mpfr: configure-stageprofile-mpfr
14100 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14101 @r=`${PWD_COMMAND}`; export r; \
14102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14103 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14104 $(HOST_EXPORTS) \
14105 $(POSTSTAGE1_HOST_EXPORTS) \
14106 cd $(HOST_SUBDIR)/mpfr && \
14108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14109 CFLAGS="$(STAGEprofile_CFLAGS)" \
14110 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14111 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14115 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14116 TFLAGS="$(STAGEprofile_TFLAGS)" \
14117 $(TARGET-stageprofile-mpfr)
14119 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14120 clean-stageprofile: clean-stageprofile-mpfr
14121 clean-stageprofile-mpfr:
14122 @if [ $(current_stage) = stageprofile ]; then \
14123 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14124 else \
14125 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14126 $(MAKE) stageprofile-start; \
14127 fi; \
14128 cd $(HOST_SUBDIR)/mpfr && \
14129 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14130 @endif mpfr-bootstrap
14133 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14134 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14135 maybe-all-stagetrain-mpfr:
14136 maybe-clean-stagetrain-mpfr:
14137 @if mpfr-bootstrap
14138 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14139 all-stagetrain: all-stagetrain-mpfr
14140 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14141 all-stagetrain-mpfr: configure-stagetrain-mpfr
14142 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14143 @r=`${PWD_COMMAND}`; export r; \
14144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14145 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14146 $(HOST_EXPORTS) \
14147 $(POSTSTAGE1_HOST_EXPORTS) \
14148 cd $(HOST_SUBDIR)/mpfr && \
14150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14151 CFLAGS="$(STAGEtrain_CFLAGS)" \
14152 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14153 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14158 TFLAGS="$(STAGEtrain_TFLAGS)" \
14159 $(TARGET-stagetrain-mpfr)
14161 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14162 clean-stagetrain: clean-stagetrain-mpfr
14163 clean-stagetrain-mpfr:
14164 @if [ $(current_stage) = stagetrain ]; then \
14165 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14166 else \
14167 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14168 $(MAKE) stagetrain-start; \
14169 fi; \
14170 cd $(HOST_SUBDIR)/mpfr && \
14171 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14172 @endif mpfr-bootstrap
14175 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14176 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14177 maybe-all-stagefeedback-mpfr:
14178 maybe-clean-stagefeedback-mpfr:
14179 @if mpfr-bootstrap
14180 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14181 all-stagefeedback: all-stagefeedback-mpfr
14182 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14183 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14184 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14185 @r=`${PWD_COMMAND}`; export r; \
14186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14187 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14188 $(HOST_EXPORTS) \
14189 $(POSTSTAGE1_HOST_EXPORTS) \
14190 cd $(HOST_SUBDIR)/mpfr && \
14192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14193 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14194 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14195 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14200 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14201 $(TARGET-stagefeedback-mpfr)
14203 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14204 clean-stagefeedback: clean-stagefeedback-mpfr
14205 clean-stagefeedback-mpfr:
14206 @if [ $(current_stage) = stagefeedback ]; then \
14207 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14208 else \
14209 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14210 $(MAKE) stagefeedback-start; \
14211 fi; \
14212 cd $(HOST_SUBDIR)/mpfr && \
14213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14214 @endif mpfr-bootstrap
14217 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14218 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14219 maybe-all-stageautoprofile-mpfr:
14220 maybe-clean-stageautoprofile-mpfr:
14221 @if mpfr-bootstrap
14222 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14223 all-stageautoprofile: all-stageautoprofile-mpfr
14224 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14225 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14226 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14227 @r=`${PWD_COMMAND}`; export r; \
14228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14229 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14230 $(HOST_EXPORTS) \
14231 $(POSTSTAGE1_HOST_EXPORTS) \
14232 cd $(HOST_SUBDIR)/mpfr && \
14233 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14235 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14236 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14237 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14242 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14243 $(TARGET-stageautoprofile-mpfr)
14245 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14246 clean-stageautoprofile: clean-stageautoprofile-mpfr
14247 clean-stageautoprofile-mpfr:
14248 @if [ $(current_stage) = stageautoprofile ]; then \
14249 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14250 else \
14251 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14252 $(MAKE) stageautoprofile-start; \
14253 fi; \
14254 cd $(HOST_SUBDIR)/mpfr && \
14255 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14256 @endif mpfr-bootstrap
14259 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14260 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14261 maybe-all-stageautofeedback-mpfr:
14262 maybe-clean-stageautofeedback-mpfr:
14263 @if mpfr-bootstrap
14264 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14265 all-stageautofeedback: all-stageautofeedback-mpfr
14266 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14267 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14268 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14269 @r=`${PWD_COMMAND}`; export r; \
14270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14271 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14272 $(HOST_EXPORTS) \
14273 $(POSTSTAGE1_HOST_EXPORTS) \
14274 cd $(HOST_SUBDIR)/mpfr && \
14276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14277 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14278 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14279 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14284 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14285 $(TARGET-stageautofeedback-mpfr)
14287 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14288 clean-stageautofeedback: clean-stageautofeedback-mpfr
14289 clean-stageautofeedback-mpfr:
14290 @if [ $(current_stage) = stageautofeedback ]; then \
14291 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14292 else \
14293 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14294 $(MAKE) stageautofeedback-start; \
14295 fi; \
14296 cd $(HOST_SUBDIR)/mpfr && \
14297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14298 @endif mpfr-bootstrap
14304 .PHONY: check-mpfr maybe-check-mpfr
14305 maybe-check-mpfr:
14306 @if mpfr
14307 maybe-check-mpfr: check-mpfr
14309 check-mpfr:
14310 @: $(MAKE); $(unstage)
14311 @r=`${PWD_COMMAND}`; export r; \
14312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14313 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14314 (cd $(HOST_SUBDIR)/mpfr && \
14315 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14317 @endif mpfr
14319 .PHONY: install-mpfr maybe-install-mpfr
14320 maybe-install-mpfr:
14321 @if mpfr
14322 maybe-install-mpfr: install-mpfr
14324 install-mpfr:
14326 @endif mpfr
14328 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14329 maybe-install-strip-mpfr:
14330 @if mpfr
14331 maybe-install-strip-mpfr: install-strip-mpfr
14333 install-strip-mpfr:
14335 @endif mpfr
14337 # Other targets (info, dvi, pdf, etc.)
14339 .PHONY: maybe-info-mpfr info-mpfr
14340 maybe-info-mpfr:
14341 @if mpfr
14342 maybe-info-mpfr: info-mpfr
14344 info-mpfr: \
14345 configure-mpfr
14346 @[ -f ./mpfr/Makefile ] || exit 0; \
14347 r=`${PWD_COMMAND}`; export r; \
14348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14349 $(HOST_EXPORTS) \
14350 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14352 done; \
14353 echo "Doing info in mpfr"; \
14354 (cd $(HOST_SUBDIR)/mpfr && \
14355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14357 "RANLIB=$${RANLIB}" \
14358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14359 info) \
14360 || exit 1
14362 @endif mpfr
14364 .PHONY: maybe-dvi-mpfr dvi-mpfr
14365 maybe-dvi-mpfr:
14366 @if mpfr
14367 maybe-dvi-mpfr: dvi-mpfr
14369 dvi-mpfr: \
14370 configure-mpfr
14371 @[ -f ./mpfr/Makefile ] || exit 0; \
14372 r=`${PWD_COMMAND}`; export r; \
14373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14374 $(HOST_EXPORTS) \
14375 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14377 done; \
14378 echo "Doing dvi in mpfr"; \
14379 (cd $(HOST_SUBDIR)/mpfr && \
14380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14382 "RANLIB=$${RANLIB}" \
14383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14384 dvi) \
14385 || exit 1
14387 @endif mpfr
14389 .PHONY: maybe-pdf-mpfr pdf-mpfr
14390 maybe-pdf-mpfr:
14391 @if mpfr
14392 maybe-pdf-mpfr: pdf-mpfr
14394 pdf-mpfr: \
14395 configure-mpfr
14396 @[ -f ./mpfr/Makefile ] || exit 0; \
14397 r=`${PWD_COMMAND}`; export r; \
14398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14399 $(HOST_EXPORTS) \
14400 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14402 done; \
14403 echo "Doing pdf in mpfr"; \
14404 (cd $(HOST_SUBDIR)/mpfr && \
14405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14407 "RANLIB=$${RANLIB}" \
14408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14409 pdf) \
14410 || exit 1
14412 @endif mpfr
14414 .PHONY: maybe-html-mpfr html-mpfr
14415 maybe-html-mpfr:
14416 @if mpfr
14417 maybe-html-mpfr: html-mpfr
14419 html-mpfr: \
14420 configure-mpfr
14421 @[ -f ./mpfr/Makefile ] || exit 0; \
14422 r=`${PWD_COMMAND}`; export r; \
14423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14424 $(HOST_EXPORTS) \
14425 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14427 done; \
14428 echo "Doing html in mpfr"; \
14429 (cd $(HOST_SUBDIR)/mpfr && \
14430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14432 "RANLIB=$${RANLIB}" \
14433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14434 html) \
14435 || exit 1
14437 @endif mpfr
14439 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14440 maybe-TAGS-mpfr:
14441 @if mpfr
14442 maybe-TAGS-mpfr: TAGS-mpfr
14444 TAGS-mpfr: \
14445 configure-mpfr
14446 @[ -f ./mpfr/Makefile ] || exit 0; \
14447 r=`${PWD_COMMAND}`; export r; \
14448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14449 $(HOST_EXPORTS) \
14450 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14452 done; \
14453 echo "Doing TAGS in mpfr"; \
14454 (cd $(HOST_SUBDIR)/mpfr && \
14455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14457 "RANLIB=$${RANLIB}" \
14458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14459 TAGS) \
14460 || exit 1
14462 @endif mpfr
14464 .PHONY: maybe-install-info-mpfr install-info-mpfr
14465 maybe-install-info-mpfr:
14466 @if mpfr
14467 maybe-install-info-mpfr: install-info-mpfr
14469 install-info-mpfr: \
14470 configure-mpfr \
14471 info-mpfr
14472 @[ -f ./mpfr/Makefile ] || exit 0; \
14473 r=`${PWD_COMMAND}`; export r; \
14474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14475 $(HOST_EXPORTS) \
14476 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14478 done; \
14479 echo "Doing install-info in mpfr"; \
14480 (cd $(HOST_SUBDIR)/mpfr && \
14481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14483 "RANLIB=$${RANLIB}" \
14484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14485 install-info) \
14486 || exit 1
14488 @endif mpfr
14490 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14491 maybe-install-pdf-mpfr:
14492 @if mpfr
14493 maybe-install-pdf-mpfr: install-pdf-mpfr
14495 install-pdf-mpfr: \
14496 configure-mpfr \
14497 pdf-mpfr
14498 @[ -f ./mpfr/Makefile ] || exit 0; \
14499 r=`${PWD_COMMAND}`; export r; \
14500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14501 $(HOST_EXPORTS) \
14502 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14504 done; \
14505 echo "Doing install-pdf in mpfr"; \
14506 (cd $(HOST_SUBDIR)/mpfr && \
14507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14509 "RANLIB=$${RANLIB}" \
14510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14511 install-pdf) \
14512 || exit 1
14514 @endif mpfr
14516 .PHONY: maybe-install-html-mpfr install-html-mpfr
14517 maybe-install-html-mpfr:
14518 @if mpfr
14519 maybe-install-html-mpfr: install-html-mpfr
14521 install-html-mpfr: \
14522 configure-mpfr \
14523 html-mpfr
14524 @[ -f ./mpfr/Makefile ] || exit 0; \
14525 r=`${PWD_COMMAND}`; export r; \
14526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14527 $(HOST_EXPORTS) \
14528 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14530 done; \
14531 echo "Doing install-html in mpfr"; \
14532 (cd $(HOST_SUBDIR)/mpfr && \
14533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14535 "RANLIB=$${RANLIB}" \
14536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14537 install-html) \
14538 || exit 1
14540 @endif mpfr
14542 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14543 maybe-installcheck-mpfr:
14544 @if mpfr
14545 maybe-installcheck-mpfr: installcheck-mpfr
14547 installcheck-mpfr: \
14548 configure-mpfr
14549 @[ -f ./mpfr/Makefile ] || exit 0; \
14550 r=`${PWD_COMMAND}`; export r; \
14551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14552 $(HOST_EXPORTS) \
14553 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14555 done; \
14556 echo "Doing installcheck in mpfr"; \
14557 (cd $(HOST_SUBDIR)/mpfr && \
14558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14560 "RANLIB=$${RANLIB}" \
14561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14562 installcheck) \
14563 || exit 1
14565 @endif mpfr
14567 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14568 maybe-mostlyclean-mpfr:
14569 @if mpfr
14570 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14572 mostlyclean-mpfr:
14573 @[ -f ./mpfr/Makefile ] || exit 0; \
14574 r=`${PWD_COMMAND}`; export r; \
14575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14576 $(HOST_EXPORTS) \
14577 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14579 done; \
14580 echo "Doing mostlyclean in mpfr"; \
14581 (cd $(HOST_SUBDIR)/mpfr && \
14582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14584 "RANLIB=$${RANLIB}" \
14585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14586 mostlyclean) \
14587 || exit 1
14589 @endif mpfr
14591 .PHONY: maybe-clean-mpfr clean-mpfr
14592 maybe-clean-mpfr:
14593 @if mpfr
14594 maybe-clean-mpfr: clean-mpfr
14596 clean-mpfr:
14597 @[ -f ./mpfr/Makefile ] || exit 0; \
14598 r=`${PWD_COMMAND}`; export r; \
14599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14600 $(HOST_EXPORTS) \
14601 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14603 done; \
14604 echo "Doing clean in mpfr"; \
14605 (cd $(HOST_SUBDIR)/mpfr && \
14606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14608 "RANLIB=$${RANLIB}" \
14609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14610 clean) \
14611 || exit 1
14613 @endif mpfr
14615 .PHONY: maybe-distclean-mpfr distclean-mpfr
14616 maybe-distclean-mpfr:
14617 @if mpfr
14618 maybe-distclean-mpfr: distclean-mpfr
14620 distclean-mpfr:
14621 @[ -f ./mpfr/Makefile ] || exit 0; \
14622 r=`${PWD_COMMAND}`; export r; \
14623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14624 $(HOST_EXPORTS) \
14625 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14627 done; \
14628 echo "Doing distclean in mpfr"; \
14629 (cd $(HOST_SUBDIR)/mpfr && \
14630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14632 "RANLIB=$${RANLIB}" \
14633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14634 distclean) \
14635 || exit 1
14637 @endif mpfr
14639 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14640 maybe-maintainer-clean-mpfr:
14641 @if mpfr
14642 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14644 maintainer-clean-mpfr:
14645 @[ -f ./mpfr/Makefile ] || exit 0; \
14646 r=`${PWD_COMMAND}`; export r; \
14647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14648 $(HOST_EXPORTS) \
14649 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14651 done; \
14652 echo "Doing maintainer-clean in mpfr"; \
14653 (cd $(HOST_SUBDIR)/mpfr && \
14654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14656 "RANLIB=$${RANLIB}" \
14657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14658 maintainer-clean) \
14659 || exit 1
14661 @endif mpfr
14665 .PHONY: configure-mpc maybe-configure-mpc
14666 maybe-configure-mpc:
14667 @if gcc-bootstrap
14668 configure-mpc: stage_current
14669 @endif gcc-bootstrap
14670 @if mpc
14671 maybe-configure-mpc: configure-mpc
14672 configure-mpc:
14673 @r=`${PWD_COMMAND}`; export r; \
14674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14675 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14677 $(HOST_EXPORTS) \
14678 echo Configuring in $(HOST_SUBDIR)/mpc; \
14679 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14680 case $(srcdir) in \
14681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14682 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14684 esac; \
14685 module_srcdir=mpc; \
14686 $(SHELL) \
14687 $$s/$$module_srcdir/configure \
14688 --srcdir=$${topdir}/$$module_srcdir \
14689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14690 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14691 || exit 1
14692 @endif mpc
14696 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14697 maybe-configure-stage1-mpc:
14698 @if mpc-bootstrap
14699 maybe-configure-stage1-mpc: configure-stage1-mpc
14700 configure-stage1-mpc:
14701 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14703 @r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 TFLAGS="$(STAGE1_TFLAGS)"; \
14706 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14707 $(HOST_EXPORTS) \
14708 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14709 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14710 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14711 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14713 cd $(HOST_SUBDIR)/mpc || exit 1; \
14714 case $(srcdir) in \
14715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14716 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14718 esac; \
14719 module_srcdir=mpc; \
14720 $(SHELL) $$s/$$module_srcdir/configure \
14721 --srcdir=$${topdir}/$$module_srcdir \
14722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14723 --target=${target_alias} \
14725 $(STAGE1_CONFIGURE_FLAGS) \
14726 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14727 @endif mpc-bootstrap
14729 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14730 maybe-configure-stage2-mpc:
14731 @if mpc-bootstrap
14732 maybe-configure-stage2-mpc: configure-stage2-mpc
14733 configure-stage2-mpc:
14734 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14736 @r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 TFLAGS="$(STAGE2_TFLAGS)"; \
14739 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14740 $(HOST_EXPORTS) \
14741 $(POSTSTAGE1_HOST_EXPORTS) \
14742 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14743 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14744 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14745 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14747 cd $(HOST_SUBDIR)/mpc || exit 1; \
14748 case $(srcdir) in \
14749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14750 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14752 esac; \
14753 module_srcdir=mpc; \
14754 $(SHELL) $$s/$$module_srcdir/configure \
14755 --srcdir=$${topdir}/$$module_srcdir \
14756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14757 --target=${target_alias} \
14758 --with-build-libsubdir=$(HOST_SUBDIR) \
14759 $(STAGE2_CONFIGURE_FLAGS) \
14760 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14761 @endif mpc-bootstrap
14763 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14764 maybe-configure-stage3-mpc:
14765 @if mpc-bootstrap
14766 maybe-configure-stage3-mpc: configure-stage3-mpc
14767 configure-stage3-mpc:
14768 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14770 @r=`${PWD_COMMAND}`; export r; \
14771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14772 TFLAGS="$(STAGE3_TFLAGS)"; \
14773 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14774 $(HOST_EXPORTS) \
14775 $(POSTSTAGE1_HOST_EXPORTS) \
14776 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14777 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14778 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14779 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14781 cd $(HOST_SUBDIR)/mpc || exit 1; \
14782 case $(srcdir) in \
14783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14784 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14786 esac; \
14787 module_srcdir=mpc; \
14788 $(SHELL) $$s/$$module_srcdir/configure \
14789 --srcdir=$${topdir}/$$module_srcdir \
14790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14791 --target=${target_alias} \
14792 --with-build-libsubdir=$(HOST_SUBDIR) \
14793 $(STAGE3_CONFIGURE_FLAGS) \
14794 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14795 @endif mpc-bootstrap
14797 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14798 maybe-configure-stage4-mpc:
14799 @if mpc-bootstrap
14800 maybe-configure-stage4-mpc: configure-stage4-mpc
14801 configure-stage4-mpc:
14802 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14804 @r=`${PWD_COMMAND}`; export r; \
14805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14806 TFLAGS="$(STAGE4_TFLAGS)"; \
14807 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14808 $(HOST_EXPORTS) \
14809 $(POSTSTAGE1_HOST_EXPORTS) \
14810 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14811 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14812 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14813 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14815 cd $(HOST_SUBDIR)/mpc || exit 1; \
14816 case $(srcdir) in \
14817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14818 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14820 esac; \
14821 module_srcdir=mpc; \
14822 $(SHELL) $$s/$$module_srcdir/configure \
14823 --srcdir=$${topdir}/$$module_srcdir \
14824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14825 --target=${target_alias} \
14826 --with-build-libsubdir=$(HOST_SUBDIR) \
14827 $(STAGE4_CONFIGURE_FLAGS) \
14828 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14829 @endif mpc-bootstrap
14831 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14832 maybe-configure-stageprofile-mpc:
14833 @if mpc-bootstrap
14834 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14835 configure-stageprofile-mpc:
14836 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14838 @r=`${PWD_COMMAND}`; export r; \
14839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14840 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14841 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14842 $(HOST_EXPORTS) \
14843 $(POSTSTAGE1_HOST_EXPORTS) \
14844 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14845 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14846 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14847 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14849 cd $(HOST_SUBDIR)/mpc || exit 1; \
14850 case $(srcdir) in \
14851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14852 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14854 esac; \
14855 module_srcdir=mpc; \
14856 $(SHELL) $$s/$$module_srcdir/configure \
14857 --srcdir=$${topdir}/$$module_srcdir \
14858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14859 --target=${target_alias} \
14860 --with-build-libsubdir=$(HOST_SUBDIR) \
14861 $(STAGEprofile_CONFIGURE_FLAGS) \
14862 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14863 @endif mpc-bootstrap
14865 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
14866 maybe-configure-stagetrain-mpc:
14867 @if mpc-bootstrap
14868 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
14869 configure-stagetrain-mpc:
14870 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14872 @r=`${PWD_COMMAND}`; export r; \
14873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14874 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14875 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14876 $(HOST_EXPORTS) \
14877 $(POSTSTAGE1_HOST_EXPORTS) \
14878 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14879 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14880 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14881 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
14882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14883 cd $(HOST_SUBDIR)/mpc || exit 1; \
14884 case $(srcdir) in \
14885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14886 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14888 esac; \
14889 module_srcdir=mpc; \
14890 $(SHELL) $$s/$$module_srcdir/configure \
14891 --srcdir=$${topdir}/$$module_srcdir \
14892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14893 --target=${target_alias} \
14894 --with-build-libsubdir=$(HOST_SUBDIR) \
14895 $(STAGEtrain_CONFIGURE_FLAGS) \
14896 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14897 @endif mpc-bootstrap
14899 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14900 maybe-configure-stagefeedback-mpc:
14901 @if mpc-bootstrap
14902 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14903 configure-stagefeedback-mpc:
14904 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14906 @r=`${PWD_COMMAND}`; export r; \
14907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14908 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14909 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14910 $(HOST_EXPORTS) \
14911 $(POSTSTAGE1_HOST_EXPORTS) \
14912 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14913 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14914 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14915 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14917 cd $(HOST_SUBDIR)/mpc || exit 1; \
14918 case $(srcdir) in \
14919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14920 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14922 esac; \
14923 module_srcdir=mpc; \
14924 $(SHELL) $$s/$$module_srcdir/configure \
14925 --srcdir=$${topdir}/$$module_srcdir \
14926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14927 --target=${target_alias} \
14928 --with-build-libsubdir=$(HOST_SUBDIR) \
14929 $(STAGEfeedback_CONFIGURE_FLAGS) \
14930 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14931 @endif mpc-bootstrap
14933 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14934 maybe-configure-stageautoprofile-mpc:
14935 @if mpc-bootstrap
14936 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14937 configure-stageautoprofile-mpc:
14938 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14940 @r=`${PWD_COMMAND}`; export r; \
14941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14942 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14943 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14944 $(HOST_EXPORTS) \
14945 $(POSTSTAGE1_HOST_EXPORTS) \
14946 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14947 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14948 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14949 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14951 cd $(HOST_SUBDIR)/mpc || exit 1; \
14952 case $(srcdir) in \
14953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14954 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14956 esac; \
14957 module_srcdir=mpc; \
14958 $(SHELL) $$s/$$module_srcdir/configure \
14959 --srcdir=$${topdir}/$$module_srcdir \
14960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14961 --target=${target_alias} \
14962 --with-build-libsubdir=$(HOST_SUBDIR) \
14963 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14964 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14965 @endif mpc-bootstrap
14967 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14968 maybe-configure-stageautofeedback-mpc:
14969 @if mpc-bootstrap
14970 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14971 configure-stageautofeedback-mpc:
14972 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14973 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14974 @r=`${PWD_COMMAND}`; export r; \
14975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14976 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14977 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14978 $(HOST_EXPORTS) \
14979 $(POSTSTAGE1_HOST_EXPORTS) \
14980 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14981 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14982 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14983 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14985 cd $(HOST_SUBDIR)/mpc || exit 1; \
14986 case $(srcdir) in \
14987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14988 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14990 esac; \
14991 module_srcdir=mpc; \
14992 $(SHELL) $$s/$$module_srcdir/configure \
14993 --srcdir=$${topdir}/$$module_srcdir \
14994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14995 --target=${target_alias} \
14996 --with-build-libsubdir=$(HOST_SUBDIR) \
14997 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14998 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14999 @endif mpc-bootstrap
15005 .PHONY: all-mpc maybe-all-mpc
15006 maybe-all-mpc:
15007 @if gcc-bootstrap
15008 all-mpc: stage_current
15009 @endif gcc-bootstrap
15010 @if mpc
15011 TARGET-mpc=all
15012 maybe-all-mpc: all-mpc
15013 all-mpc: configure-mpc
15014 @r=`${PWD_COMMAND}`; export r; \
15015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15016 $(HOST_EXPORTS) \
15017 (cd $(HOST_SUBDIR)/mpc && \
15018 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15019 $(TARGET-mpc))
15020 @endif mpc
15024 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15025 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15026 maybe-all-stage1-mpc:
15027 maybe-clean-stage1-mpc:
15028 @if mpc-bootstrap
15029 maybe-all-stage1-mpc: all-stage1-mpc
15030 all-stage1: all-stage1-mpc
15031 TARGET-stage1-mpc = $(TARGET-mpc)
15032 all-stage1-mpc: configure-stage1-mpc
15033 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15034 @r=`${PWD_COMMAND}`; export r; \
15035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15036 TFLAGS="$(STAGE1_TFLAGS)"; \
15037 $(HOST_EXPORTS) \
15038 cd $(HOST_SUBDIR)/mpc && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15041 CFLAGS="$(STAGE1_CFLAGS)" \
15042 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15043 LIBCFLAGS="$(LIBCFLAGS)" \
15044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15047 $(EXTRA_HOST_FLAGS) \
15048 $(STAGE1_FLAGS_TO_PASS) \
15049 TFLAGS="$(STAGE1_TFLAGS)" \
15050 $(TARGET-stage1-mpc)
15052 maybe-clean-stage1-mpc: clean-stage1-mpc
15053 clean-stage1: clean-stage1-mpc
15054 clean-stage1-mpc:
15055 @if [ $(current_stage) = stage1 ]; then \
15056 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15057 else \
15058 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15059 $(MAKE) stage1-start; \
15060 fi; \
15061 cd $(HOST_SUBDIR)/mpc && \
15062 $(MAKE) $(EXTRA_HOST_FLAGS) \
15063 $(STAGE1_FLAGS_TO_PASS) clean
15064 @endif mpc-bootstrap
15067 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15068 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15069 maybe-all-stage2-mpc:
15070 maybe-clean-stage2-mpc:
15071 @if mpc-bootstrap
15072 maybe-all-stage2-mpc: all-stage2-mpc
15073 all-stage2: all-stage2-mpc
15074 TARGET-stage2-mpc = $(TARGET-mpc)
15075 all-stage2-mpc: configure-stage2-mpc
15076 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15077 @r=`${PWD_COMMAND}`; export r; \
15078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15079 TFLAGS="$(STAGE2_TFLAGS)"; \
15080 $(HOST_EXPORTS) \
15081 $(POSTSTAGE1_HOST_EXPORTS) \
15082 cd $(HOST_SUBDIR)/mpc && \
15084 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15085 CFLAGS="$(STAGE2_CFLAGS)" \
15086 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15087 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15092 TFLAGS="$(STAGE2_TFLAGS)" \
15093 $(TARGET-stage2-mpc)
15095 maybe-clean-stage2-mpc: clean-stage2-mpc
15096 clean-stage2: clean-stage2-mpc
15097 clean-stage2-mpc:
15098 @if [ $(current_stage) = stage2 ]; then \
15099 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15100 else \
15101 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15102 $(MAKE) stage2-start; \
15103 fi; \
15104 cd $(HOST_SUBDIR)/mpc && \
15105 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15106 @endif mpc-bootstrap
15109 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15110 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15111 maybe-all-stage3-mpc:
15112 maybe-clean-stage3-mpc:
15113 @if mpc-bootstrap
15114 maybe-all-stage3-mpc: all-stage3-mpc
15115 all-stage3: all-stage3-mpc
15116 TARGET-stage3-mpc = $(TARGET-mpc)
15117 all-stage3-mpc: configure-stage3-mpc
15118 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15119 @r=`${PWD_COMMAND}`; export r; \
15120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15121 TFLAGS="$(STAGE3_TFLAGS)"; \
15122 $(HOST_EXPORTS) \
15123 $(POSTSTAGE1_HOST_EXPORTS) \
15124 cd $(HOST_SUBDIR)/mpc && \
15126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15127 CFLAGS="$(STAGE3_CFLAGS)" \
15128 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15129 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15134 TFLAGS="$(STAGE3_TFLAGS)" \
15135 $(TARGET-stage3-mpc)
15137 maybe-clean-stage3-mpc: clean-stage3-mpc
15138 clean-stage3: clean-stage3-mpc
15139 clean-stage3-mpc:
15140 @if [ $(current_stage) = stage3 ]; then \
15141 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15142 else \
15143 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15144 $(MAKE) stage3-start; \
15145 fi; \
15146 cd $(HOST_SUBDIR)/mpc && \
15147 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15148 @endif mpc-bootstrap
15151 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15152 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15153 maybe-all-stage4-mpc:
15154 maybe-clean-stage4-mpc:
15155 @if mpc-bootstrap
15156 maybe-all-stage4-mpc: all-stage4-mpc
15157 all-stage4: all-stage4-mpc
15158 TARGET-stage4-mpc = $(TARGET-mpc)
15159 all-stage4-mpc: configure-stage4-mpc
15160 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15161 @r=`${PWD_COMMAND}`; export r; \
15162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15163 TFLAGS="$(STAGE4_TFLAGS)"; \
15164 $(HOST_EXPORTS) \
15165 $(POSTSTAGE1_HOST_EXPORTS) \
15166 cd $(HOST_SUBDIR)/mpc && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15169 CFLAGS="$(STAGE4_CFLAGS)" \
15170 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15171 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15176 TFLAGS="$(STAGE4_TFLAGS)" \
15177 $(TARGET-stage4-mpc)
15179 maybe-clean-stage4-mpc: clean-stage4-mpc
15180 clean-stage4: clean-stage4-mpc
15181 clean-stage4-mpc:
15182 @if [ $(current_stage) = stage4 ]; then \
15183 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15184 else \
15185 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15186 $(MAKE) stage4-start; \
15187 fi; \
15188 cd $(HOST_SUBDIR)/mpc && \
15189 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15190 @endif mpc-bootstrap
15193 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15194 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15195 maybe-all-stageprofile-mpc:
15196 maybe-clean-stageprofile-mpc:
15197 @if mpc-bootstrap
15198 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15199 all-stageprofile: all-stageprofile-mpc
15200 TARGET-stageprofile-mpc = $(TARGET-mpc)
15201 all-stageprofile-mpc: configure-stageprofile-mpc
15202 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15203 @r=`${PWD_COMMAND}`; export r; \
15204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15205 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15206 $(HOST_EXPORTS) \
15207 $(POSTSTAGE1_HOST_EXPORTS) \
15208 cd $(HOST_SUBDIR)/mpc && \
15210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15211 CFLAGS="$(STAGEprofile_CFLAGS)" \
15212 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15213 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15217 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15218 TFLAGS="$(STAGEprofile_TFLAGS)" \
15219 $(TARGET-stageprofile-mpc)
15221 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15222 clean-stageprofile: clean-stageprofile-mpc
15223 clean-stageprofile-mpc:
15224 @if [ $(current_stage) = stageprofile ]; then \
15225 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15226 else \
15227 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15228 $(MAKE) stageprofile-start; \
15229 fi; \
15230 cd $(HOST_SUBDIR)/mpc && \
15231 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15232 @endif mpc-bootstrap
15235 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15236 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15237 maybe-all-stagetrain-mpc:
15238 maybe-clean-stagetrain-mpc:
15239 @if mpc-bootstrap
15240 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15241 all-stagetrain: all-stagetrain-mpc
15242 TARGET-stagetrain-mpc = $(TARGET-mpc)
15243 all-stagetrain-mpc: configure-stagetrain-mpc
15244 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15245 @r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15248 $(HOST_EXPORTS) \
15249 $(POSTSTAGE1_HOST_EXPORTS) \
15250 cd $(HOST_SUBDIR)/mpc && \
15252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15253 CFLAGS="$(STAGEtrain_CFLAGS)" \
15254 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15255 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15260 TFLAGS="$(STAGEtrain_TFLAGS)" \
15261 $(TARGET-stagetrain-mpc)
15263 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15264 clean-stagetrain: clean-stagetrain-mpc
15265 clean-stagetrain-mpc:
15266 @if [ $(current_stage) = stagetrain ]; then \
15267 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15268 else \
15269 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15270 $(MAKE) stagetrain-start; \
15271 fi; \
15272 cd $(HOST_SUBDIR)/mpc && \
15273 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15274 @endif mpc-bootstrap
15277 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15278 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15279 maybe-all-stagefeedback-mpc:
15280 maybe-clean-stagefeedback-mpc:
15281 @if mpc-bootstrap
15282 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15283 all-stagefeedback: all-stagefeedback-mpc
15284 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15285 all-stagefeedback-mpc: configure-stagefeedback-mpc
15286 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15287 @r=`${PWD_COMMAND}`; export r; \
15288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15289 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15290 $(HOST_EXPORTS) \
15291 $(POSTSTAGE1_HOST_EXPORTS) \
15292 cd $(HOST_SUBDIR)/mpc && \
15294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15295 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15296 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15297 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15302 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15303 $(TARGET-stagefeedback-mpc)
15305 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15306 clean-stagefeedback: clean-stagefeedback-mpc
15307 clean-stagefeedback-mpc:
15308 @if [ $(current_stage) = stagefeedback ]; then \
15309 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15310 else \
15311 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15312 $(MAKE) stagefeedback-start; \
15313 fi; \
15314 cd $(HOST_SUBDIR)/mpc && \
15315 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15316 @endif mpc-bootstrap
15319 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15320 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15321 maybe-all-stageautoprofile-mpc:
15322 maybe-clean-stageautoprofile-mpc:
15323 @if mpc-bootstrap
15324 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15325 all-stageautoprofile: all-stageautoprofile-mpc
15326 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15327 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15328 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15329 @r=`${PWD_COMMAND}`; export r; \
15330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15331 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15332 $(HOST_EXPORTS) \
15333 $(POSTSTAGE1_HOST_EXPORTS) \
15334 cd $(HOST_SUBDIR)/mpc && \
15335 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15337 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15338 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15339 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15344 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15345 $(TARGET-stageautoprofile-mpc)
15347 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15348 clean-stageautoprofile: clean-stageautoprofile-mpc
15349 clean-stageautoprofile-mpc:
15350 @if [ $(current_stage) = stageautoprofile ]; then \
15351 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15352 else \
15353 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15354 $(MAKE) stageautoprofile-start; \
15355 fi; \
15356 cd $(HOST_SUBDIR)/mpc && \
15357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15358 @endif mpc-bootstrap
15361 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15362 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15363 maybe-all-stageautofeedback-mpc:
15364 maybe-clean-stageautofeedback-mpc:
15365 @if mpc-bootstrap
15366 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15367 all-stageautofeedback: all-stageautofeedback-mpc
15368 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15369 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15370 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15371 @r=`${PWD_COMMAND}`; export r; \
15372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15373 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15374 $(HOST_EXPORTS) \
15375 $(POSTSTAGE1_HOST_EXPORTS) \
15376 cd $(HOST_SUBDIR)/mpc && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15379 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15380 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15381 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15386 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15387 $(TARGET-stageautofeedback-mpc)
15389 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15390 clean-stageautofeedback: clean-stageautofeedback-mpc
15391 clean-stageautofeedback-mpc:
15392 @if [ $(current_stage) = stageautofeedback ]; then \
15393 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15394 else \
15395 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15396 $(MAKE) stageautofeedback-start; \
15397 fi; \
15398 cd $(HOST_SUBDIR)/mpc && \
15399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15400 @endif mpc-bootstrap
15406 .PHONY: check-mpc maybe-check-mpc
15407 maybe-check-mpc:
15408 @if mpc
15409 maybe-check-mpc: check-mpc
15411 check-mpc:
15412 @: $(MAKE); $(unstage)
15413 @r=`${PWD_COMMAND}`; export r; \
15414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15415 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15416 (cd $(HOST_SUBDIR)/mpc && \
15417 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15419 @endif mpc
15421 .PHONY: install-mpc maybe-install-mpc
15422 maybe-install-mpc:
15423 @if mpc
15424 maybe-install-mpc: install-mpc
15426 install-mpc:
15428 @endif mpc
15430 .PHONY: install-strip-mpc maybe-install-strip-mpc
15431 maybe-install-strip-mpc:
15432 @if mpc
15433 maybe-install-strip-mpc: install-strip-mpc
15435 install-strip-mpc:
15437 @endif mpc
15439 # Other targets (info, dvi, pdf, etc.)
15441 .PHONY: maybe-info-mpc info-mpc
15442 maybe-info-mpc:
15443 @if mpc
15444 maybe-info-mpc: info-mpc
15446 info-mpc: \
15447 configure-mpc
15448 @[ -f ./mpc/Makefile ] || exit 0; \
15449 r=`${PWD_COMMAND}`; export r; \
15450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15451 $(HOST_EXPORTS) \
15452 for flag in $(EXTRA_HOST_FLAGS) ; do \
15453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15454 done; \
15455 echo "Doing info in mpc"; \
15456 (cd $(HOST_SUBDIR)/mpc && \
15457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15459 "RANLIB=$${RANLIB}" \
15460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15461 info) \
15462 || exit 1
15464 @endif mpc
15466 .PHONY: maybe-dvi-mpc dvi-mpc
15467 maybe-dvi-mpc:
15468 @if mpc
15469 maybe-dvi-mpc: dvi-mpc
15471 dvi-mpc: \
15472 configure-mpc
15473 @[ -f ./mpc/Makefile ] || exit 0; \
15474 r=`${PWD_COMMAND}`; export r; \
15475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15476 $(HOST_EXPORTS) \
15477 for flag in $(EXTRA_HOST_FLAGS) ; do \
15478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15479 done; \
15480 echo "Doing dvi in mpc"; \
15481 (cd $(HOST_SUBDIR)/mpc && \
15482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15484 "RANLIB=$${RANLIB}" \
15485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15486 dvi) \
15487 || exit 1
15489 @endif mpc
15491 .PHONY: maybe-pdf-mpc pdf-mpc
15492 maybe-pdf-mpc:
15493 @if mpc
15494 maybe-pdf-mpc: pdf-mpc
15496 pdf-mpc: \
15497 configure-mpc
15498 @[ -f ./mpc/Makefile ] || exit 0; \
15499 r=`${PWD_COMMAND}`; export r; \
15500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15501 $(HOST_EXPORTS) \
15502 for flag in $(EXTRA_HOST_FLAGS) ; do \
15503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15504 done; \
15505 echo "Doing pdf in mpc"; \
15506 (cd $(HOST_SUBDIR)/mpc && \
15507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15509 "RANLIB=$${RANLIB}" \
15510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15511 pdf) \
15512 || exit 1
15514 @endif mpc
15516 .PHONY: maybe-html-mpc html-mpc
15517 maybe-html-mpc:
15518 @if mpc
15519 maybe-html-mpc: html-mpc
15521 html-mpc: \
15522 configure-mpc
15523 @[ -f ./mpc/Makefile ] || exit 0; \
15524 r=`${PWD_COMMAND}`; export r; \
15525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15526 $(HOST_EXPORTS) \
15527 for flag in $(EXTRA_HOST_FLAGS) ; do \
15528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15529 done; \
15530 echo "Doing html in mpc"; \
15531 (cd $(HOST_SUBDIR)/mpc && \
15532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15534 "RANLIB=$${RANLIB}" \
15535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15536 html) \
15537 || exit 1
15539 @endif mpc
15541 .PHONY: maybe-TAGS-mpc TAGS-mpc
15542 maybe-TAGS-mpc:
15543 @if mpc
15544 maybe-TAGS-mpc: TAGS-mpc
15546 TAGS-mpc: \
15547 configure-mpc
15548 @[ -f ./mpc/Makefile ] || exit 0; \
15549 r=`${PWD_COMMAND}`; export r; \
15550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15551 $(HOST_EXPORTS) \
15552 for flag in $(EXTRA_HOST_FLAGS) ; do \
15553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15554 done; \
15555 echo "Doing TAGS in mpc"; \
15556 (cd $(HOST_SUBDIR)/mpc && \
15557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15559 "RANLIB=$${RANLIB}" \
15560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15561 TAGS) \
15562 || exit 1
15564 @endif mpc
15566 .PHONY: maybe-install-info-mpc install-info-mpc
15567 maybe-install-info-mpc:
15568 @if mpc
15569 maybe-install-info-mpc: install-info-mpc
15571 install-info-mpc: \
15572 configure-mpc \
15573 info-mpc
15574 @[ -f ./mpc/Makefile ] || exit 0; \
15575 r=`${PWD_COMMAND}`; export r; \
15576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15577 $(HOST_EXPORTS) \
15578 for flag in $(EXTRA_HOST_FLAGS) ; do \
15579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15580 done; \
15581 echo "Doing install-info in mpc"; \
15582 (cd $(HOST_SUBDIR)/mpc && \
15583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15585 "RANLIB=$${RANLIB}" \
15586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15587 install-info) \
15588 || exit 1
15590 @endif mpc
15592 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15593 maybe-install-pdf-mpc:
15594 @if mpc
15595 maybe-install-pdf-mpc: install-pdf-mpc
15597 install-pdf-mpc: \
15598 configure-mpc \
15599 pdf-mpc
15600 @[ -f ./mpc/Makefile ] || exit 0; \
15601 r=`${PWD_COMMAND}`; export r; \
15602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15603 $(HOST_EXPORTS) \
15604 for flag in $(EXTRA_HOST_FLAGS) ; do \
15605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15606 done; \
15607 echo "Doing install-pdf in mpc"; \
15608 (cd $(HOST_SUBDIR)/mpc && \
15609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15611 "RANLIB=$${RANLIB}" \
15612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15613 install-pdf) \
15614 || exit 1
15616 @endif mpc
15618 .PHONY: maybe-install-html-mpc install-html-mpc
15619 maybe-install-html-mpc:
15620 @if mpc
15621 maybe-install-html-mpc: install-html-mpc
15623 install-html-mpc: \
15624 configure-mpc \
15625 html-mpc
15626 @[ -f ./mpc/Makefile ] || exit 0; \
15627 r=`${PWD_COMMAND}`; export r; \
15628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15629 $(HOST_EXPORTS) \
15630 for flag in $(EXTRA_HOST_FLAGS) ; do \
15631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15632 done; \
15633 echo "Doing install-html in mpc"; \
15634 (cd $(HOST_SUBDIR)/mpc && \
15635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15637 "RANLIB=$${RANLIB}" \
15638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15639 install-html) \
15640 || exit 1
15642 @endif mpc
15644 .PHONY: maybe-installcheck-mpc installcheck-mpc
15645 maybe-installcheck-mpc:
15646 @if mpc
15647 maybe-installcheck-mpc: installcheck-mpc
15649 installcheck-mpc: \
15650 configure-mpc
15651 @[ -f ./mpc/Makefile ] || exit 0; \
15652 r=`${PWD_COMMAND}`; export r; \
15653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15654 $(HOST_EXPORTS) \
15655 for flag in $(EXTRA_HOST_FLAGS) ; do \
15656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15657 done; \
15658 echo "Doing installcheck in mpc"; \
15659 (cd $(HOST_SUBDIR)/mpc && \
15660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15662 "RANLIB=$${RANLIB}" \
15663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15664 installcheck) \
15665 || exit 1
15667 @endif mpc
15669 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15670 maybe-mostlyclean-mpc:
15671 @if mpc
15672 maybe-mostlyclean-mpc: mostlyclean-mpc
15674 mostlyclean-mpc:
15675 @[ -f ./mpc/Makefile ] || exit 0; \
15676 r=`${PWD_COMMAND}`; export r; \
15677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15678 $(HOST_EXPORTS) \
15679 for flag in $(EXTRA_HOST_FLAGS) ; do \
15680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15681 done; \
15682 echo "Doing mostlyclean in mpc"; \
15683 (cd $(HOST_SUBDIR)/mpc && \
15684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15686 "RANLIB=$${RANLIB}" \
15687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15688 mostlyclean) \
15689 || exit 1
15691 @endif mpc
15693 .PHONY: maybe-clean-mpc clean-mpc
15694 maybe-clean-mpc:
15695 @if mpc
15696 maybe-clean-mpc: clean-mpc
15698 clean-mpc:
15699 @[ -f ./mpc/Makefile ] || exit 0; \
15700 r=`${PWD_COMMAND}`; export r; \
15701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15702 $(HOST_EXPORTS) \
15703 for flag in $(EXTRA_HOST_FLAGS) ; do \
15704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15705 done; \
15706 echo "Doing clean in mpc"; \
15707 (cd $(HOST_SUBDIR)/mpc && \
15708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15710 "RANLIB=$${RANLIB}" \
15711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15712 clean) \
15713 || exit 1
15715 @endif mpc
15717 .PHONY: maybe-distclean-mpc distclean-mpc
15718 maybe-distclean-mpc:
15719 @if mpc
15720 maybe-distclean-mpc: distclean-mpc
15722 distclean-mpc:
15723 @[ -f ./mpc/Makefile ] || exit 0; \
15724 r=`${PWD_COMMAND}`; export r; \
15725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15726 $(HOST_EXPORTS) \
15727 for flag in $(EXTRA_HOST_FLAGS) ; do \
15728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15729 done; \
15730 echo "Doing distclean in mpc"; \
15731 (cd $(HOST_SUBDIR)/mpc && \
15732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15734 "RANLIB=$${RANLIB}" \
15735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15736 distclean) \
15737 || exit 1
15739 @endif mpc
15741 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15742 maybe-maintainer-clean-mpc:
15743 @if mpc
15744 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15746 maintainer-clean-mpc:
15747 @[ -f ./mpc/Makefile ] || exit 0; \
15748 r=`${PWD_COMMAND}`; export r; \
15749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15750 $(HOST_EXPORTS) \
15751 for flag in $(EXTRA_HOST_FLAGS) ; do \
15752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15753 done; \
15754 echo "Doing maintainer-clean in mpc"; \
15755 (cd $(HOST_SUBDIR)/mpc && \
15756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15758 "RANLIB=$${RANLIB}" \
15759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15760 maintainer-clean) \
15761 || exit 1
15763 @endif mpc
15767 .PHONY: configure-isl maybe-configure-isl
15768 maybe-configure-isl:
15769 @if gcc-bootstrap
15770 configure-isl: stage_current
15771 @endif gcc-bootstrap
15772 @if isl
15773 maybe-configure-isl: configure-isl
15774 configure-isl:
15775 @r=`${PWD_COMMAND}`; export r; \
15776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15777 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15779 $(HOST_EXPORTS) \
15780 echo Configuring in $(HOST_SUBDIR)/isl; \
15781 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15782 case $(srcdir) in \
15783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15784 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15786 esac; \
15787 module_srcdir=isl; \
15788 $(SHELL) \
15789 $$s/$$module_srcdir/configure \
15790 --srcdir=$${topdir}/$$module_srcdir \
15791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15792 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15793 || exit 1
15794 @endif isl
15798 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15799 maybe-configure-stage1-isl:
15800 @if isl-bootstrap
15801 maybe-configure-stage1-isl: configure-stage1-isl
15802 configure-stage1-isl:
15803 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15805 @r=`${PWD_COMMAND}`; export r; \
15806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15807 TFLAGS="$(STAGE1_TFLAGS)"; \
15808 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15809 $(HOST_EXPORTS) \
15810 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15811 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15812 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15813 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15815 cd $(HOST_SUBDIR)/isl || exit 1; \
15816 case $(srcdir) in \
15817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15818 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15820 esac; \
15821 module_srcdir=isl; \
15822 $(SHELL) $$s/$$module_srcdir/configure \
15823 --srcdir=$${topdir}/$$module_srcdir \
15824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15825 --target=${target_alias} \
15827 $(STAGE1_CONFIGURE_FLAGS) \
15828 --disable-shared @extra_isl_gmp_configure_flags@
15829 @endif isl-bootstrap
15831 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15832 maybe-configure-stage2-isl:
15833 @if isl-bootstrap
15834 maybe-configure-stage2-isl: configure-stage2-isl
15835 configure-stage2-isl:
15836 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15838 @r=`${PWD_COMMAND}`; export r; \
15839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15840 TFLAGS="$(STAGE2_TFLAGS)"; \
15841 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15842 $(HOST_EXPORTS) \
15843 $(POSTSTAGE1_HOST_EXPORTS) \
15844 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15845 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15846 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15847 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15849 cd $(HOST_SUBDIR)/isl || exit 1; \
15850 case $(srcdir) in \
15851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15852 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15854 esac; \
15855 module_srcdir=isl; \
15856 $(SHELL) $$s/$$module_srcdir/configure \
15857 --srcdir=$${topdir}/$$module_srcdir \
15858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15859 --target=${target_alias} \
15860 --with-build-libsubdir=$(HOST_SUBDIR) \
15861 $(STAGE2_CONFIGURE_FLAGS) \
15862 --disable-shared @extra_isl_gmp_configure_flags@
15863 @endif isl-bootstrap
15865 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15866 maybe-configure-stage3-isl:
15867 @if isl-bootstrap
15868 maybe-configure-stage3-isl: configure-stage3-isl
15869 configure-stage3-isl:
15870 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15872 @r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874 TFLAGS="$(STAGE3_TFLAGS)"; \
15875 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15876 $(HOST_EXPORTS) \
15877 $(POSTSTAGE1_HOST_EXPORTS) \
15878 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15879 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15880 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15881 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15883 cd $(HOST_SUBDIR)/isl || exit 1; \
15884 case $(srcdir) in \
15885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15886 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15888 esac; \
15889 module_srcdir=isl; \
15890 $(SHELL) $$s/$$module_srcdir/configure \
15891 --srcdir=$${topdir}/$$module_srcdir \
15892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15893 --target=${target_alias} \
15894 --with-build-libsubdir=$(HOST_SUBDIR) \
15895 $(STAGE3_CONFIGURE_FLAGS) \
15896 --disable-shared @extra_isl_gmp_configure_flags@
15897 @endif isl-bootstrap
15899 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15900 maybe-configure-stage4-isl:
15901 @if isl-bootstrap
15902 maybe-configure-stage4-isl: configure-stage4-isl
15903 configure-stage4-isl:
15904 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15906 @r=`${PWD_COMMAND}`; export r; \
15907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15908 TFLAGS="$(STAGE4_TFLAGS)"; \
15909 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15910 $(HOST_EXPORTS) \
15911 $(POSTSTAGE1_HOST_EXPORTS) \
15912 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15913 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15914 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15915 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15917 cd $(HOST_SUBDIR)/isl || exit 1; \
15918 case $(srcdir) in \
15919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15920 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15922 esac; \
15923 module_srcdir=isl; \
15924 $(SHELL) $$s/$$module_srcdir/configure \
15925 --srcdir=$${topdir}/$$module_srcdir \
15926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15927 --target=${target_alias} \
15928 --with-build-libsubdir=$(HOST_SUBDIR) \
15929 $(STAGE4_CONFIGURE_FLAGS) \
15930 --disable-shared @extra_isl_gmp_configure_flags@
15931 @endif isl-bootstrap
15933 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15934 maybe-configure-stageprofile-isl:
15935 @if isl-bootstrap
15936 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15937 configure-stageprofile-isl:
15938 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15940 @r=`${PWD_COMMAND}`; export r; \
15941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15942 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15943 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15944 $(HOST_EXPORTS) \
15945 $(POSTSTAGE1_HOST_EXPORTS) \
15946 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15947 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15948 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15949 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15951 cd $(HOST_SUBDIR)/isl || exit 1; \
15952 case $(srcdir) in \
15953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15954 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15956 esac; \
15957 module_srcdir=isl; \
15958 $(SHELL) $$s/$$module_srcdir/configure \
15959 --srcdir=$${topdir}/$$module_srcdir \
15960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15961 --target=${target_alias} \
15962 --with-build-libsubdir=$(HOST_SUBDIR) \
15963 $(STAGEprofile_CONFIGURE_FLAGS) \
15964 --disable-shared @extra_isl_gmp_configure_flags@
15965 @endif isl-bootstrap
15967 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
15968 maybe-configure-stagetrain-isl:
15969 @if isl-bootstrap
15970 maybe-configure-stagetrain-isl: configure-stagetrain-isl
15971 configure-stagetrain-isl:
15972 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15973 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15974 @r=`${PWD_COMMAND}`; export r; \
15975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15976 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15977 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15978 $(HOST_EXPORTS) \
15979 $(POSTSTAGE1_HOST_EXPORTS) \
15980 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15981 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15982 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15983 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
15984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15985 cd $(HOST_SUBDIR)/isl || exit 1; \
15986 case $(srcdir) in \
15987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15988 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15990 esac; \
15991 module_srcdir=isl; \
15992 $(SHELL) $$s/$$module_srcdir/configure \
15993 --srcdir=$${topdir}/$$module_srcdir \
15994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15995 --target=${target_alias} \
15996 --with-build-libsubdir=$(HOST_SUBDIR) \
15997 $(STAGEtrain_CONFIGURE_FLAGS) \
15998 --disable-shared @extra_isl_gmp_configure_flags@
15999 @endif isl-bootstrap
16001 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16002 maybe-configure-stagefeedback-isl:
16003 @if isl-bootstrap
16004 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16005 configure-stagefeedback-isl:
16006 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16008 @r=`${PWD_COMMAND}`; export r; \
16009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16010 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16011 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16012 $(HOST_EXPORTS) \
16013 $(POSTSTAGE1_HOST_EXPORTS) \
16014 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16015 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16016 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16017 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16019 cd $(HOST_SUBDIR)/isl || exit 1; \
16020 case $(srcdir) in \
16021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16022 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16024 esac; \
16025 module_srcdir=isl; \
16026 $(SHELL) $$s/$$module_srcdir/configure \
16027 --srcdir=$${topdir}/$$module_srcdir \
16028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16029 --target=${target_alias} \
16030 --with-build-libsubdir=$(HOST_SUBDIR) \
16031 $(STAGEfeedback_CONFIGURE_FLAGS) \
16032 --disable-shared @extra_isl_gmp_configure_flags@
16033 @endif isl-bootstrap
16035 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16036 maybe-configure-stageautoprofile-isl:
16037 @if isl-bootstrap
16038 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16039 configure-stageautoprofile-isl:
16040 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16042 @r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16044 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16045 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16046 $(HOST_EXPORTS) \
16047 $(POSTSTAGE1_HOST_EXPORTS) \
16048 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16049 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16050 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16051 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16053 cd $(HOST_SUBDIR)/isl || exit 1; \
16054 case $(srcdir) in \
16055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16056 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16058 esac; \
16059 module_srcdir=isl; \
16060 $(SHELL) $$s/$$module_srcdir/configure \
16061 --srcdir=$${topdir}/$$module_srcdir \
16062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16063 --target=${target_alias} \
16064 --with-build-libsubdir=$(HOST_SUBDIR) \
16065 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16066 --disable-shared @extra_isl_gmp_configure_flags@
16067 @endif isl-bootstrap
16069 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16070 maybe-configure-stageautofeedback-isl:
16071 @if isl-bootstrap
16072 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16073 configure-stageautofeedback-isl:
16074 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16076 @r=`${PWD_COMMAND}`; export r; \
16077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16078 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16079 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16080 $(HOST_EXPORTS) \
16081 $(POSTSTAGE1_HOST_EXPORTS) \
16082 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16083 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16084 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16085 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16087 cd $(HOST_SUBDIR)/isl || exit 1; \
16088 case $(srcdir) in \
16089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16090 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16092 esac; \
16093 module_srcdir=isl; \
16094 $(SHELL) $$s/$$module_srcdir/configure \
16095 --srcdir=$${topdir}/$$module_srcdir \
16096 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16097 --target=${target_alias} \
16098 --with-build-libsubdir=$(HOST_SUBDIR) \
16099 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16100 --disable-shared @extra_isl_gmp_configure_flags@
16101 @endif isl-bootstrap
16107 .PHONY: all-isl maybe-all-isl
16108 maybe-all-isl:
16109 @if gcc-bootstrap
16110 all-isl: stage_current
16111 @endif gcc-bootstrap
16112 @if isl
16113 TARGET-isl=all
16114 maybe-all-isl: all-isl
16115 all-isl: configure-isl
16116 @r=`${PWD_COMMAND}`; export r; \
16117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16118 $(HOST_EXPORTS) \
16119 (cd $(HOST_SUBDIR)/isl && \
16120 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16121 $(TARGET-isl))
16122 @endif isl
16126 .PHONY: all-stage1-isl maybe-all-stage1-isl
16127 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16128 maybe-all-stage1-isl:
16129 maybe-clean-stage1-isl:
16130 @if isl-bootstrap
16131 maybe-all-stage1-isl: all-stage1-isl
16132 all-stage1: all-stage1-isl
16133 TARGET-stage1-isl = $(TARGET-isl)
16134 all-stage1-isl: configure-stage1-isl
16135 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16136 @r=`${PWD_COMMAND}`; export r; \
16137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16138 TFLAGS="$(STAGE1_TFLAGS)"; \
16139 $(HOST_EXPORTS) \
16140 cd $(HOST_SUBDIR)/isl && \
16142 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16143 CFLAGS="$(STAGE1_CFLAGS)" \
16144 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16145 LIBCFLAGS="$(LIBCFLAGS)" \
16146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16149 $(EXTRA_HOST_FLAGS) \
16150 $(STAGE1_FLAGS_TO_PASS) V=1 \
16151 TFLAGS="$(STAGE1_TFLAGS)" \
16152 $(TARGET-stage1-isl)
16154 maybe-clean-stage1-isl: clean-stage1-isl
16155 clean-stage1: clean-stage1-isl
16156 clean-stage1-isl:
16157 @if [ $(current_stage) = stage1 ]; then \
16158 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16159 else \
16160 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16161 $(MAKE) stage1-start; \
16162 fi; \
16163 cd $(HOST_SUBDIR)/isl && \
16164 $(MAKE) $(EXTRA_HOST_FLAGS) \
16165 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16166 @endif isl-bootstrap
16169 .PHONY: all-stage2-isl maybe-all-stage2-isl
16170 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16171 maybe-all-stage2-isl:
16172 maybe-clean-stage2-isl:
16173 @if isl-bootstrap
16174 maybe-all-stage2-isl: all-stage2-isl
16175 all-stage2: all-stage2-isl
16176 TARGET-stage2-isl = $(TARGET-isl)
16177 all-stage2-isl: configure-stage2-isl
16178 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16179 @r=`${PWD_COMMAND}`; export r; \
16180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16181 TFLAGS="$(STAGE2_TFLAGS)"; \
16182 $(HOST_EXPORTS) \
16183 $(POSTSTAGE1_HOST_EXPORTS) \
16184 cd $(HOST_SUBDIR)/isl && \
16186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16187 CFLAGS="$(STAGE2_CFLAGS)" \
16188 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16189 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16193 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16194 TFLAGS="$(STAGE2_TFLAGS)" \
16195 $(TARGET-stage2-isl)
16197 maybe-clean-stage2-isl: clean-stage2-isl
16198 clean-stage2: clean-stage2-isl
16199 clean-stage2-isl:
16200 @if [ $(current_stage) = stage2 ]; then \
16201 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16202 else \
16203 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16204 $(MAKE) stage2-start; \
16205 fi; \
16206 cd $(HOST_SUBDIR)/isl && \
16207 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16208 @endif isl-bootstrap
16211 .PHONY: all-stage3-isl maybe-all-stage3-isl
16212 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16213 maybe-all-stage3-isl:
16214 maybe-clean-stage3-isl:
16215 @if isl-bootstrap
16216 maybe-all-stage3-isl: all-stage3-isl
16217 all-stage3: all-stage3-isl
16218 TARGET-stage3-isl = $(TARGET-isl)
16219 all-stage3-isl: configure-stage3-isl
16220 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16221 @r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16223 TFLAGS="$(STAGE3_TFLAGS)"; \
16224 $(HOST_EXPORTS) \
16225 $(POSTSTAGE1_HOST_EXPORTS) \
16226 cd $(HOST_SUBDIR)/isl && \
16228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16229 CFLAGS="$(STAGE3_CFLAGS)" \
16230 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16231 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16236 TFLAGS="$(STAGE3_TFLAGS)" \
16237 $(TARGET-stage3-isl)
16239 maybe-clean-stage3-isl: clean-stage3-isl
16240 clean-stage3: clean-stage3-isl
16241 clean-stage3-isl:
16242 @if [ $(current_stage) = stage3 ]; then \
16243 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16244 else \
16245 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16246 $(MAKE) stage3-start; \
16247 fi; \
16248 cd $(HOST_SUBDIR)/isl && \
16249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16250 @endif isl-bootstrap
16253 .PHONY: all-stage4-isl maybe-all-stage4-isl
16254 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16255 maybe-all-stage4-isl:
16256 maybe-clean-stage4-isl:
16257 @if isl-bootstrap
16258 maybe-all-stage4-isl: all-stage4-isl
16259 all-stage4: all-stage4-isl
16260 TARGET-stage4-isl = $(TARGET-isl)
16261 all-stage4-isl: configure-stage4-isl
16262 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16263 @r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 TFLAGS="$(STAGE4_TFLAGS)"; \
16266 $(HOST_EXPORTS) \
16267 $(POSTSTAGE1_HOST_EXPORTS) \
16268 cd $(HOST_SUBDIR)/isl && \
16270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16271 CFLAGS="$(STAGE4_CFLAGS)" \
16272 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16273 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16277 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16278 TFLAGS="$(STAGE4_TFLAGS)" \
16279 $(TARGET-stage4-isl)
16281 maybe-clean-stage4-isl: clean-stage4-isl
16282 clean-stage4: clean-stage4-isl
16283 clean-stage4-isl:
16284 @if [ $(current_stage) = stage4 ]; then \
16285 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16286 else \
16287 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16288 $(MAKE) stage4-start; \
16289 fi; \
16290 cd $(HOST_SUBDIR)/isl && \
16291 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16292 @endif isl-bootstrap
16295 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16296 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16297 maybe-all-stageprofile-isl:
16298 maybe-clean-stageprofile-isl:
16299 @if isl-bootstrap
16300 maybe-all-stageprofile-isl: all-stageprofile-isl
16301 all-stageprofile: all-stageprofile-isl
16302 TARGET-stageprofile-isl = $(TARGET-isl)
16303 all-stageprofile-isl: configure-stageprofile-isl
16304 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16305 @r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16308 $(HOST_EXPORTS) \
16309 $(POSTSTAGE1_HOST_EXPORTS) \
16310 cd $(HOST_SUBDIR)/isl && \
16312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16313 CFLAGS="$(STAGEprofile_CFLAGS)" \
16314 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16315 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16319 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16320 TFLAGS="$(STAGEprofile_TFLAGS)" \
16321 $(TARGET-stageprofile-isl)
16323 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16324 clean-stageprofile: clean-stageprofile-isl
16325 clean-stageprofile-isl:
16326 @if [ $(current_stage) = stageprofile ]; then \
16327 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16328 else \
16329 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16330 $(MAKE) stageprofile-start; \
16331 fi; \
16332 cd $(HOST_SUBDIR)/isl && \
16333 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16334 @endif isl-bootstrap
16337 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16338 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16339 maybe-all-stagetrain-isl:
16340 maybe-clean-stagetrain-isl:
16341 @if isl-bootstrap
16342 maybe-all-stagetrain-isl: all-stagetrain-isl
16343 all-stagetrain: all-stagetrain-isl
16344 TARGET-stagetrain-isl = $(TARGET-isl)
16345 all-stagetrain-isl: configure-stagetrain-isl
16346 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16347 @r=`${PWD_COMMAND}`; export r; \
16348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16349 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16350 $(HOST_EXPORTS) \
16351 $(POSTSTAGE1_HOST_EXPORTS) \
16352 cd $(HOST_SUBDIR)/isl && \
16354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16355 CFLAGS="$(STAGEtrain_CFLAGS)" \
16356 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16357 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16362 TFLAGS="$(STAGEtrain_TFLAGS)" \
16363 $(TARGET-stagetrain-isl)
16365 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16366 clean-stagetrain: clean-stagetrain-isl
16367 clean-stagetrain-isl:
16368 @if [ $(current_stage) = stagetrain ]; then \
16369 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16370 else \
16371 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16372 $(MAKE) stagetrain-start; \
16373 fi; \
16374 cd $(HOST_SUBDIR)/isl && \
16375 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16376 @endif isl-bootstrap
16379 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16380 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16381 maybe-all-stagefeedback-isl:
16382 maybe-clean-stagefeedback-isl:
16383 @if isl-bootstrap
16384 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16385 all-stagefeedback: all-stagefeedback-isl
16386 TARGET-stagefeedback-isl = $(TARGET-isl)
16387 all-stagefeedback-isl: configure-stagefeedback-isl
16388 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16389 @r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16392 $(HOST_EXPORTS) \
16393 $(POSTSTAGE1_HOST_EXPORTS) \
16394 cd $(HOST_SUBDIR)/isl && \
16396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16397 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16398 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16399 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16404 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16405 $(TARGET-stagefeedback-isl)
16407 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16408 clean-stagefeedback: clean-stagefeedback-isl
16409 clean-stagefeedback-isl:
16410 @if [ $(current_stage) = stagefeedback ]; then \
16411 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16412 else \
16413 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16414 $(MAKE) stagefeedback-start; \
16415 fi; \
16416 cd $(HOST_SUBDIR)/isl && \
16417 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16418 @endif isl-bootstrap
16421 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16422 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16423 maybe-all-stageautoprofile-isl:
16424 maybe-clean-stageautoprofile-isl:
16425 @if isl-bootstrap
16426 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16427 all-stageautoprofile: all-stageautoprofile-isl
16428 TARGET-stageautoprofile-isl = $(TARGET-isl)
16429 all-stageautoprofile-isl: configure-stageautoprofile-isl
16430 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16431 @r=`${PWD_COMMAND}`; export r; \
16432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16433 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16434 $(HOST_EXPORTS) \
16435 $(POSTSTAGE1_HOST_EXPORTS) \
16436 cd $(HOST_SUBDIR)/isl && \
16437 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16439 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16440 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16441 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16445 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16446 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16447 $(TARGET-stageautoprofile-isl)
16449 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16450 clean-stageautoprofile: clean-stageautoprofile-isl
16451 clean-stageautoprofile-isl:
16452 @if [ $(current_stage) = stageautoprofile ]; then \
16453 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16454 else \
16455 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16456 $(MAKE) stageautoprofile-start; \
16457 fi; \
16458 cd $(HOST_SUBDIR)/isl && \
16459 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16460 @endif isl-bootstrap
16463 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16464 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16465 maybe-all-stageautofeedback-isl:
16466 maybe-clean-stageautofeedback-isl:
16467 @if isl-bootstrap
16468 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16469 all-stageautofeedback: all-stageautofeedback-isl
16470 TARGET-stageautofeedback-isl = $(TARGET-isl)
16471 all-stageautofeedback-isl: configure-stageautofeedback-isl
16472 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16473 @r=`${PWD_COMMAND}`; export r; \
16474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16475 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16476 $(HOST_EXPORTS) \
16477 $(POSTSTAGE1_HOST_EXPORTS) \
16478 cd $(HOST_SUBDIR)/isl && \
16480 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16481 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16482 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16483 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16487 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16488 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16489 $(TARGET-stageautofeedback-isl)
16491 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16492 clean-stageautofeedback: clean-stageautofeedback-isl
16493 clean-stageautofeedback-isl:
16494 @if [ $(current_stage) = stageautofeedback ]; then \
16495 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16496 else \
16497 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16498 $(MAKE) stageautofeedback-start; \
16499 fi; \
16500 cd $(HOST_SUBDIR)/isl && \
16501 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16502 @endif isl-bootstrap
16508 .PHONY: check-isl maybe-check-isl
16509 maybe-check-isl:
16510 @if isl
16511 maybe-check-isl: check-isl
16513 check-isl:
16514 @: $(MAKE); $(unstage)
16515 @r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16517 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16518 (cd $(HOST_SUBDIR)/isl && \
16519 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16521 @endif isl
16523 .PHONY: install-isl maybe-install-isl
16524 maybe-install-isl:
16525 @if isl
16526 maybe-install-isl: install-isl
16528 install-isl:
16530 @endif isl
16532 .PHONY: install-strip-isl maybe-install-strip-isl
16533 maybe-install-strip-isl:
16534 @if isl
16535 maybe-install-strip-isl: install-strip-isl
16537 install-strip-isl:
16539 @endif isl
16541 # Other targets (info, dvi, pdf, etc.)
16543 .PHONY: maybe-info-isl info-isl
16544 maybe-info-isl:
16545 @if isl
16546 maybe-info-isl: info-isl
16548 info-isl: \
16549 configure-isl
16550 @[ -f ./isl/Makefile ] || exit 0; \
16551 r=`${PWD_COMMAND}`; export r; \
16552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16553 $(HOST_EXPORTS) \
16554 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16556 done; \
16557 echo "Doing info in isl"; \
16558 (cd $(HOST_SUBDIR)/isl && \
16559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16561 "RANLIB=$${RANLIB}" \
16562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16563 info) \
16564 || exit 1
16566 @endif isl
16568 .PHONY: maybe-dvi-isl dvi-isl
16569 maybe-dvi-isl:
16570 @if isl
16571 maybe-dvi-isl: dvi-isl
16573 dvi-isl: \
16574 configure-isl
16575 @[ -f ./isl/Makefile ] || exit 0; \
16576 r=`${PWD_COMMAND}`; export r; \
16577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16578 $(HOST_EXPORTS) \
16579 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16581 done; \
16582 echo "Doing dvi in isl"; \
16583 (cd $(HOST_SUBDIR)/isl && \
16584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16586 "RANLIB=$${RANLIB}" \
16587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16588 dvi) \
16589 || exit 1
16591 @endif isl
16593 .PHONY: maybe-pdf-isl pdf-isl
16594 maybe-pdf-isl:
16595 @if isl
16596 maybe-pdf-isl: pdf-isl
16598 pdf-isl: \
16599 configure-isl
16600 @[ -f ./isl/Makefile ] || exit 0; \
16601 r=`${PWD_COMMAND}`; export r; \
16602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16603 $(HOST_EXPORTS) \
16604 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16606 done; \
16607 echo "Doing pdf in isl"; \
16608 (cd $(HOST_SUBDIR)/isl && \
16609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16611 "RANLIB=$${RANLIB}" \
16612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16613 pdf) \
16614 || exit 1
16616 @endif isl
16618 .PHONY: maybe-html-isl html-isl
16619 maybe-html-isl:
16620 @if isl
16621 maybe-html-isl: html-isl
16623 html-isl: \
16624 configure-isl
16625 @[ -f ./isl/Makefile ] || exit 0; \
16626 r=`${PWD_COMMAND}`; export r; \
16627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16628 $(HOST_EXPORTS) \
16629 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16631 done; \
16632 echo "Doing html in isl"; \
16633 (cd $(HOST_SUBDIR)/isl && \
16634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16636 "RANLIB=$${RANLIB}" \
16637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16638 html) \
16639 || exit 1
16641 @endif isl
16643 .PHONY: maybe-TAGS-isl TAGS-isl
16644 maybe-TAGS-isl:
16645 @if isl
16646 maybe-TAGS-isl: TAGS-isl
16648 TAGS-isl: \
16649 configure-isl
16650 @[ -f ./isl/Makefile ] || exit 0; \
16651 r=`${PWD_COMMAND}`; export r; \
16652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16653 $(HOST_EXPORTS) \
16654 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16656 done; \
16657 echo "Doing TAGS in isl"; \
16658 (cd $(HOST_SUBDIR)/isl && \
16659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16661 "RANLIB=$${RANLIB}" \
16662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16663 TAGS) \
16664 || exit 1
16666 @endif isl
16668 .PHONY: maybe-install-info-isl install-info-isl
16669 maybe-install-info-isl:
16670 @if isl
16671 maybe-install-info-isl: install-info-isl
16673 install-info-isl: \
16674 configure-isl \
16675 info-isl
16676 @[ -f ./isl/Makefile ] || exit 0; \
16677 r=`${PWD_COMMAND}`; export r; \
16678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16679 $(HOST_EXPORTS) \
16680 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16682 done; \
16683 echo "Doing install-info in isl"; \
16684 (cd $(HOST_SUBDIR)/isl && \
16685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16687 "RANLIB=$${RANLIB}" \
16688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16689 install-info) \
16690 || exit 1
16692 @endif isl
16694 .PHONY: maybe-install-pdf-isl install-pdf-isl
16695 maybe-install-pdf-isl:
16696 @if isl
16697 maybe-install-pdf-isl: install-pdf-isl
16699 install-pdf-isl: \
16700 configure-isl \
16701 pdf-isl
16702 @[ -f ./isl/Makefile ] || exit 0; \
16703 r=`${PWD_COMMAND}`; export r; \
16704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16705 $(HOST_EXPORTS) \
16706 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16708 done; \
16709 echo "Doing install-pdf in isl"; \
16710 (cd $(HOST_SUBDIR)/isl && \
16711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16713 "RANLIB=$${RANLIB}" \
16714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16715 install-pdf) \
16716 || exit 1
16718 @endif isl
16720 .PHONY: maybe-install-html-isl install-html-isl
16721 maybe-install-html-isl:
16722 @if isl
16723 maybe-install-html-isl: install-html-isl
16725 install-html-isl: \
16726 configure-isl \
16727 html-isl
16728 @[ -f ./isl/Makefile ] || exit 0; \
16729 r=`${PWD_COMMAND}`; export r; \
16730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16731 $(HOST_EXPORTS) \
16732 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16734 done; \
16735 echo "Doing install-html in isl"; \
16736 (cd $(HOST_SUBDIR)/isl && \
16737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16739 "RANLIB=$${RANLIB}" \
16740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16741 install-html) \
16742 || exit 1
16744 @endif isl
16746 .PHONY: maybe-installcheck-isl installcheck-isl
16747 maybe-installcheck-isl:
16748 @if isl
16749 maybe-installcheck-isl: installcheck-isl
16751 installcheck-isl: \
16752 configure-isl
16753 @[ -f ./isl/Makefile ] || exit 0; \
16754 r=`${PWD_COMMAND}`; export r; \
16755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16756 $(HOST_EXPORTS) \
16757 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16759 done; \
16760 echo "Doing installcheck in isl"; \
16761 (cd $(HOST_SUBDIR)/isl && \
16762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16764 "RANLIB=$${RANLIB}" \
16765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16766 installcheck) \
16767 || exit 1
16769 @endif isl
16771 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16772 maybe-mostlyclean-isl:
16773 @if isl
16774 maybe-mostlyclean-isl: mostlyclean-isl
16776 mostlyclean-isl:
16777 @[ -f ./isl/Makefile ] || exit 0; \
16778 r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 $(HOST_EXPORTS) \
16781 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16783 done; \
16784 echo "Doing mostlyclean in isl"; \
16785 (cd $(HOST_SUBDIR)/isl && \
16786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16788 "RANLIB=$${RANLIB}" \
16789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16790 mostlyclean) \
16791 || exit 1
16793 @endif isl
16795 .PHONY: maybe-clean-isl clean-isl
16796 maybe-clean-isl:
16797 @if isl
16798 maybe-clean-isl: clean-isl
16800 clean-isl:
16801 @[ -f ./isl/Makefile ] || exit 0; \
16802 r=`${PWD_COMMAND}`; export r; \
16803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16804 $(HOST_EXPORTS) \
16805 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16807 done; \
16808 echo "Doing clean in isl"; \
16809 (cd $(HOST_SUBDIR)/isl && \
16810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16812 "RANLIB=$${RANLIB}" \
16813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16814 clean) \
16815 || exit 1
16817 @endif isl
16819 .PHONY: maybe-distclean-isl distclean-isl
16820 maybe-distclean-isl:
16821 @if isl
16822 maybe-distclean-isl: distclean-isl
16824 distclean-isl:
16825 @[ -f ./isl/Makefile ] || exit 0; \
16826 r=`${PWD_COMMAND}`; export r; \
16827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16828 $(HOST_EXPORTS) \
16829 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16831 done; \
16832 echo "Doing distclean in isl"; \
16833 (cd $(HOST_SUBDIR)/isl && \
16834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16836 "RANLIB=$${RANLIB}" \
16837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16838 distclean) \
16839 || exit 1
16841 @endif isl
16843 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16844 maybe-maintainer-clean-isl:
16845 @if isl
16846 maybe-maintainer-clean-isl: maintainer-clean-isl
16848 maintainer-clean-isl:
16849 @[ -f ./isl/Makefile ] || exit 0; \
16850 r=`${PWD_COMMAND}`; export r; \
16851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16852 $(HOST_EXPORTS) \
16853 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16855 done; \
16856 echo "Doing maintainer-clean in isl"; \
16857 (cd $(HOST_SUBDIR)/isl && \
16858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16860 "RANLIB=$${RANLIB}" \
16861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16862 maintainer-clean) \
16863 || exit 1
16865 @endif isl
16869 .PHONY: configure-libelf maybe-configure-libelf
16870 maybe-configure-libelf:
16871 @if gcc-bootstrap
16872 configure-libelf: stage_current
16873 @endif gcc-bootstrap
16874 @if libelf
16875 maybe-configure-libelf: configure-libelf
16876 configure-libelf:
16877 @r=`${PWD_COMMAND}`; export r; \
16878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16879 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16881 $(HOST_EXPORTS) \
16882 echo Configuring in $(HOST_SUBDIR)/libelf; \
16883 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16884 case $(srcdir) in \
16885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16886 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16888 esac; \
16889 module_srcdir=libelf; \
16890 $(SHELL) \
16891 $$s/$$module_srcdir/configure \
16892 --srcdir=$${topdir}/$$module_srcdir \
16893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16894 --target=${target_alias} --disable-shared \
16895 || exit 1
16896 @endif libelf
16900 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16901 maybe-configure-stage1-libelf:
16902 @if libelf-bootstrap
16903 maybe-configure-stage1-libelf: configure-stage1-libelf
16904 configure-stage1-libelf:
16905 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16907 @r=`${PWD_COMMAND}`; export r; \
16908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16909 TFLAGS="$(STAGE1_TFLAGS)"; \
16910 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16911 $(HOST_EXPORTS) \
16912 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16913 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16914 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16915 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16917 cd $(HOST_SUBDIR)/libelf || exit 1; \
16918 case $(srcdir) in \
16919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16920 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16922 esac; \
16923 module_srcdir=libelf; \
16924 $(SHELL) $$s/$$module_srcdir/configure \
16925 --srcdir=$${topdir}/$$module_srcdir \
16926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16927 --target=${target_alias} \
16929 $(STAGE1_CONFIGURE_FLAGS) \
16930 --disable-shared
16931 @endif libelf-bootstrap
16933 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16934 maybe-configure-stage2-libelf:
16935 @if libelf-bootstrap
16936 maybe-configure-stage2-libelf: configure-stage2-libelf
16937 configure-stage2-libelf:
16938 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16940 @r=`${PWD_COMMAND}`; export r; \
16941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16942 TFLAGS="$(STAGE2_TFLAGS)"; \
16943 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16944 $(HOST_EXPORTS) \
16945 $(POSTSTAGE1_HOST_EXPORTS) \
16946 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16947 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16948 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16949 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16951 cd $(HOST_SUBDIR)/libelf || exit 1; \
16952 case $(srcdir) in \
16953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16954 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16956 esac; \
16957 module_srcdir=libelf; \
16958 $(SHELL) $$s/$$module_srcdir/configure \
16959 --srcdir=$${topdir}/$$module_srcdir \
16960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16961 --target=${target_alias} \
16962 --with-build-libsubdir=$(HOST_SUBDIR) \
16963 $(STAGE2_CONFIGURE_FLAGS) \
16964 --disable-shared
16965 @endif libelf-bootstrap
16967 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16968 maybe-configure-stage3-libelf:
16969 @if libelf-bootstrap
16970 maybe-configure-stage3-libelf: configure-stage3-libelf
16971 configure-stage3-libelf:
16972 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16973 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16974 @r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16976 TFLAGS="$(STAGE3_TFLAGS)"; \
16977 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16978 $(HOST_EXPORTS) \
16979 $(POSTSTAGE1_HOST_EXPORTS) \
16980 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16981 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16982 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16983 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
16984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16985 cd $(HOST_SUBDIR)/libelf || exit 1; \
16986 case $(srcdir) in \
16987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16988 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16990 esac; \
16991 module_srcdir=libelf; \
16992 $(SHELL) $$s/$$module_srcdir/configure \
16993 --srcdir=$${topdir}/$$module_srcdir \
16994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16995 --target=${target_alias} \
16996 --with-build-libsubdir=$(HOST_SUBDIR) \
16997 $(STAGE3_CONFIGURE_FLAGS) \
16998 --disable-shared
16999 @endif libelf-bootstrap
17001 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17002 maybe-configure-stage4-libelf:
17003 @if libelf-bootstrap
17004 maybe-configure-stage4-libelf: configure-stage4-libelf
17005 configure-stage4-libelf:
17006 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17008 @r=`${PWD_COMMAND}`; export r; \
17009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17010 TFLAGS="$(STAGE4_TFLAGS)"; \
17011 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17012 $(HOST_EXPORTS) \
17013 $(POSTSTAGE1_HOST_EXPORTS) \
17014 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17015 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17016 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17017 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17019 cd $(HOST_SUBDIR)/libelf || exit 1; \
17020 case $(srcdir) in \
17021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17022 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17024 esac; \
17025 module_srcdir=libelf; \
17026 $(SHELL) $$s/$$module_srcdir/configure \
17027 --srcdir=$${topdir}/$$module_srcdir \
17028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17029 --target=${target_alias} \
17030 --with-build-libsubdir=$(HOST_SUBDIR) \
17031 $(STAGE4_CONFIGURE_FLAGS) \
17032 --disable-shared
17033 @endif libelf-bootstrap
17035 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17036 maybe-configure-stageprofile-libelf:
17037 @if libelf-bootstrap
17038 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17039 configure-stageprofile-libelf:
17040 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17042 @r=`${PWD_COMMAND}`; export r; \
17043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17044 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17045 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17046 $(HOST_EXPORTS) \
17047 $(POSTSTAGE1_HOST_EXPORTS) \
17048 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17049 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17050 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17051 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17053 cd $(HOST_SUBDIR)/libelf || exit 1; \
17054 case $(srcdir) in \
17055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17056 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17058 esac; \
17059 module_srcdir=libelf; \
17060 $(SHELL) $$s/$$module_srcdir/configure \
17061 --srcdir=$${topdir}/$$module_srcdir \
17062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17063 --target=${target_alias} \
17064 --with-build-libsubdir=$(HOST_SUBDIR) \
17065 $(STAGEprofile_CONFIGURE_FLAGS) \
17066 --disable-shared
17067 @endif libelf-bootstrap
17069 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17070 maybe-configure-stagetrain-libelf:
17071 @if libelf-bootstrap
17072 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17073 configure-stagetrain-libelf:
17074 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17076 @r=`${PWD_COMMAND}`; export r; \
17077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17078 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17079 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17080 $(HOST_EXPORTS) \
17081 $(POSTSTAGE1_HOST_EXPORTS) \
17082 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17083 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17084 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17085 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17087 cd $(HOST_SUBDIR)/libelf || exit 1; \
17088 case $(srcdir) in \
17089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17090 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17092 esac; \
17093 module_srcdir=libelf; \
17094 $(SHELL) $$s/$$module_srcdir/configure \
17095 --srcdir=$${topdir}/$$module_srcdir \
17096 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17097 --target=${target_alias} \
17098 --with-build-libsubdir=$(HOST_SUBDIR) \
17099 $(STAGEtrain_CONFIGURE_FLAGS) \
17100 --disable-shared
17101 @endif libelf-bootstrap
17103 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17104 maybe-configure-stagefeedback-libelf:
17105 @if libelf-bootstrap
17106 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17107 configure-stagefeedback-libelf:
17108 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17109 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17110 @r=`${PWD_COMMAND}`; export r; \
17111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17113 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17114 $(HOST_EXPORTS) \
17115 $(POSTSTAGE1_HOST_EXPORTS) \
17116 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17117 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17118 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17119 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17121 cd $(HOST_SUBDIR)/libelf || exit 1; \
17122 case $(srcdir) in \
17123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17124 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17126 esac; \
17127 module_srcdir=libelf; \
17128 $(SHELL) $$s/$$module_srcdir/configure \
17129 --srcdir=$${topdir}/$$module_srcdir \
17130 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17131 --target=${target_alias} \
17132 --with-build-libsubdir=$(HOST_SUBDIR) \
17133 $(STAGEfeedback_CONFIGURE_FLAGS) \
17134 --disable-shared
17135 @endif libelf-bootstrap
17137 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17138 maybe-configure-stageautoprofile-libelf:
17139 @if libelf-bootstrap
17140 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17141 configure-stageautoprofile-libelf:
17142 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17143 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17144 @r=`${PWD_COMMAND}`; export r; \
17145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17146 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17147 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17148 $(HOST_EXPORTS) \
17149 $(POSTSTAGE1_HOST_EXPORTS) \
17150 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17151 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17152 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17153 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17155 cd $(HOST_SUBDIR)/libelf || exit 1; \
17156 case $(srcdir) in \
17157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17158 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17160 esac; \
17161 module_srcdir=libelf; \
17162 $(SHELL) $$s/$$module_srcdir/configure \
17163 --srcdir=$${topdir}/$$module_srcdir \
17164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17165 --target=${target_alias} \
17166 --with-build-libsubdir=$(HOST_SUBDIR) \
17167 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17168 --disable-shared
17169 @endif libelf-bootstrap
17171 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17172 maybe-configure-stageautofeedback-libelf:
17173 @if libelf-bootstrap
17174 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17175 configure-stageautofeedback-libelf:
17176 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17178 @r=`${PWD_COMMAND}`; export r; \
17179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17180 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17181 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17182 $(HOST_EXPORTS) \
17183 $(POSTSTAGE1_HOST_EXPORTS) \
17184 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17185 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17186 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17187 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17189 cd $(HOST_SUBDIR)/libelf || exit 1; \
17190 case $(srcdir) in \
17191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17192 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17194 esac; \
17195 module_srcdir=libelf; \
17196 $(SHELL) $$s/$$module_srcdir/configure \
17197 --srcdir=$${topdir}/$$module_srcdir \
17198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17199 --target=${target_alias} \
17200 --with-build-libsubdir=$(HOST_SUBDIR) \
17201 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17202 --disable-shared
17203 @endif libelf-bootstrap
17209 .PHONY: all-libelf maybe-all-libelf
17210 maybe-all-libelf:
17211 @if gcc-bootstrap
17212 all-libelf: stage_current
17213 @endif gcc-bootstrap
17214 @if libelf
17215 TARGET-libelf=all
17216 maybe-all-libelf: all-libelf
17217 all-libelf: configure-libelf
17218 @r=`${PWD_COMMAND}`; export r; \
17219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17220 $(HOST_EXPORTS) \
17221 (cd $(HOST_SUBDIR)/libelf && \
17222 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17223 $(TARGET-libelf))
17224 @endif libelf
17228 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17229 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17230 maybe-all-stage1-libelf:
17231 maybe-clean-stage1-libelf:
17232 @if libelf-bootstrap
17233 maybe-all-stage1-libelf: all-stage1-libelf
17234 all-stage1: all-stage1-libelf
17235 TARGET-stage1-libelf = $(TARGET-libelf)
17236 all-stage1-libelf: configure-stage1-libelf
17237 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17238 @r=`${PWD_COMMAND}`; export r; \
17239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17240 TFLAGS="$(STAGE1_TFLAGS)"; \
17241 $(HOST_EXPORTS) \
17242 cd $(HOST_SUBDIR)/libelf && \
17244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17245 CFLAGS="$(STAGE1_CFLAGS)" \
17246 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17247 LIBCFLAGS="$(LIBCFLAGS)" \
17248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17251 $(EXTRA_HOST_FLAGS) \
17252 $(STAGE1_FLAGS_TO_PASS) \
17253 TFLAGS="$(STAGE1_TFLAGS)" \
17254 $(TARGET-stage1-libelf)
17256 maybe-clean-stage1-libelf: clean-stage1-libelf
17257 clean-stage1: clean-stage1-libelf
17258 clean-stage1-libelf:
17259 @if [ $(current_stage) = stage1 ]; then \
17260 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17261 else \
17262 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17263 $(MAKE) stage1-start; \
17264 fi; \
17265 cd $(HOST_SUBDIR)/libelf && \
17266 $(MAKE) $(EXTRA_HOST_FLAGS) \
17267 $(STAGE1_FLAGS_TO_PASS) clean
17268 @endif libelf-bootstrap
17271 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17272 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17273 maybe-all-stage2-libelf:
17274 maybe-clean-stage2-libelf:
17275 @if libelf-bootstrap
17276 maybe-all-stage2-libelf: all-stage2-libelf
17277 all-stage2: all-stage2-libelf
17278 TARGET-stage2-libelf = $(TARGET-libelf)
17279 all-stage2-libelf: configure-stage2-libelf
17280 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17281 @r=`${PWD_COMMAND}`; export r; \
17282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17283 TFLAGS="$(STAGE2_TFLAGS)"; \
17284 $(HOST_EXPORTS) \
17285 $(POSTSTAGE1_HOST_EXPORTS) \
17286 cd $(HOST_SUBDIR)/libelf && \
17288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17289 CFLAGS="$(STAGE2_CFLAGS)" \
17290 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17291 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17292 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17293 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17294 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17295 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17296 TFLAGS="$(STAGE2_TFLAGS)" \
17297 $(TARGET-stage2-libelf)
17299 maybe-clean-stage2-libelf: clean-stage2-libelf
17300 clean-stage2: clean-stage2-libelf
17301 clean-stage2-libelf:
17302 @if [ $(current_stage) = stage2 ]; then \
17303 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17304 else \
17305 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17306 $(MAKE) stage2-start; \
17307 fi; \
17308 cd $(HOST_SUBDIR)/libelf && \
17309 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17310 @endif libelf-bootstrap
17313 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17314 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17315 maybe-all-stage3-libelf:
17316 maybe-clean-stage3-libelf:
17317 @if libelf-bootstrap
17318 maybe-all-stage3-libelf: all-stage3-libelf
17319 all-stage3: all-stage3-libelf
17320 TARGET-stage3-libelf = $(TARGET-libelf)
17321 all-stage3-libelf: configure-stage3-libelf
17322 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17323 @r=`${PWD_COMMAND}`; export r; \
17324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17325 TFLAGS="$(STAGE3_TFLAGS)"; \
17326 $(HOST_EXPORTS) \
17327 $(POSTSTAGE1_HOST_EXPORTS) \
17328 cd $(HOST_SUBDIR)/libelf && \
17330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17331 CFLAGS="$(STAGE3_CFLAGS)" \
17332 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17333 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17337 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17338 TFLAGS="$(STAGE3_TFLAGS)" \
17339 $(TARGET-stage3-libelf)
17341 maybe-clean-stage3-libelf: clean-stage3-libelf
17342 clean-stage3: clean-stage3-libelf
17343 clean-stage3-libelf:
17344 @if [ $(current_stage) = stage3 ]; then \
17345 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17346 else \
17347 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17348 $(MAKE) stage3-start; \
17349 fi; \
17350 cd $(HOST_SUBDIR)/libelf && \
17351 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17352 @endif libelf-bootstrap
17355 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17356 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17357 maybe-all-stage4-libelf:
17358 maybe-clean-stage4-libelf:
17359 @if libelf-bootstrap
17360 maybe-all-stage4-libelf: all-stage4-libelf
17361 all-stage4: all-stage4-libelf
17362 TARGET-stage4-libelf = $(TARGET-libelf)
17363 all-stage4-libelf: configure-stage4-libelf
17364 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17365 @r=`${PWD_COMMAND}`; export r; \
17366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17367 TFLAGS="$(STAGE4_TFLAGS)"; \
17368 $(HOST_EXPORTS) \
17369 $(POSTSTAGE1_HOST_EXPORTS) \
17370 cd $(HOST_SUBDIR)/libelf && \
17372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17373 CFLAGS="$(STAGE4_CFLAGS)" \
17374 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17375 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17380 TFLAGS="$(STAGE4_TFLAGS)" \
17381 $(TARGET-stage4-libelf)
17383 maybe-clean-stage4-libelf: clean-stage4-libelf
17384 clean-stage4: clean-stage4-libelf
17385 clean-stage4-libelf:
17386 @if [ $(current_stage) = stage4 ]; then \
17387 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17388 else \
17389 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17390 $(MAKE) stage4-start; \
17391 fi; \
17392 cd $(HOST_SUBDIR)/libelf && \
17393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17394 @endif libelf-bootstrap
17397 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17398 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17399 maybe-all-stageprofile-libelf:
17400 maybe-clean-stageprofile-libelf:
17401 @if libelf-bootstrap
17402 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17403 all-stageprofile: all-stageprofile-libelf
17404 TARGET-stageprofile-libelf = $(TARGET-libelf)
17405 all-stageprofile-libelf: configure-stageprofile-libelf
17406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17407 @r=`${PWD_COMMAND}`; export r; \
17408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17409 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17410 $(HOST_EXPORTS) \
17411 $(POSTSTAGE1_HOST_EXPORTS) \
17412 cd $(HOST_SUBDIR)/libelf && \
17414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17415 CFLAGS="$(STAGEprofile_CFLAGS)" \
17416 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17417 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17422 TFLAGS="$(STAGEprofile_TFLAGS)" \
17423 $(TARGET-stageprofile-libelf)
17425 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17426 clean-stageprofile: clean-stageprofile-libelf
17427 clean-stageprofile-libelf:
17428 @if [ $(current_stage) = stageprofile ]; then \
17429 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17430 else \
17431 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17432 $(MAKE) stageprofile-start; \
17433 fi; \
17434 cd $(HOST_SUBDIR)/libelf && \
17435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17436 @endif libelf-bootstrap
17439 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17440 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17441 maybe-all-stagetrain-libelf:
17442 maybe-clean-stagetrain-libelf:
17443 @if libelf-bootstrap
17444 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17445 all-stagetrain: all-stagetrain-libelf
17446 TARGET-stagetrain-libelf = $(TARGET-libelf)
17447 all-stagetrain-libelf: configure-stagetrain-libelf
17448 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17449 @r=`${PWD_COMMAND}`; export r; \
17450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17451 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17452 $(HOST_EXPORTS) \
17453 $(POSTSTAGE1_HOST_EXPORTS) \
17454 cd $(HOST_SUBDIR)/libelf && \
17456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17457 CFLAGS="$(STAGEtrain_CFLAGS)" \
17458 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17459 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17464 TFLAGS="$(STAGEtrain_TFLAGS)" \
17465 $(TARGET-stagetrain-libelf)
17467 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17468 clean-stagetrain: clean-stagetrain-libelf
17469 clean-stagetrain-libelf:
17470 @if [ $(current_stage) = stagetrain ]; then \
17471 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17472 else \
17473 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17474 $(MAKE) stagetrain-start; \
17475 fi; \
17476 cd $(HOST_SUBDIR)/libelf && \
17477 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17478 @endif libelf-bootstrap
17481 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17482 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17483 maybe-all-stagefeedback-libelf:
17484 maybe-clean-stagefeedback-libelf:
17485 @if libelf-bootstrap
17486 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17487 all-stagefeedback: all-stagefeedback-libelf
17488 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17489 all-stagefeedback-libelf: configure-stagefeedback-libelf
17490 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17491 @r=`${PWD_COMMAND}`; export r; \
17492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17493 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17494 $(HOST_EXPORTS) \
17495 $(POSTSTAGE1_HOST_EXPORTS) \
17496 cd $(HOST_SUBDIR)/libelf && \
17498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17499 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17500 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17501 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17505 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17506 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17507 $(TARGET-stagefeedback-libelf)
17509 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17510 clean-stagefeedback: clean-stagefeedback-libelf
17511 clean-stagefeedback-libelf:
17512 @if [ $(current_stage) = stagefeedback ]; then \
17513 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17514 else \
17515 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17516 $(MAKE) stagefeedback-start; \
17517 fi; \
17518 cd $(HOST_SUBDIR)/libelf && \
17519 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17520 @endif libelf-bootstrap
17523 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17524 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17525 maybe-all-stageautoprofile-libelf:
17526 maybe-clean-stageautoprofile-libelf:
17527 @if libelf-bootstrap
17528 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17529 all-stageautoprofile: all-stageautoprofile-libelf
17530 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17531 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17532 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17533 @r=`${PWD_COMMAND}`; export r; \
17534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17535 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17536 $(HOST_EXPORTS) \
17537 $(POSTSTAGE1_HOST_EXPORTS) \
17538 cd $(HOST_SUBDIR)/libelf && \
17539 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17541 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17542 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17543 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17547 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17548 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17549 $(TARGET-stageautoprofile-libelf)
17551 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17552 clean-stageautoprofile: clean-stageautoprofile-libelf
17553 clean-stageautoprofile-libelf:
17554 @if [ $(current_stage) = stageautoprofile ]; then \
17555 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17556 else \
17557 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17558 $(MAKE) stageautoprofile-start; \
17559 fi; \
17560 cd $(HOST_SUBDIR)/libelf && \
17561 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17562 @endif libelf-bootstrap
17565 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17566 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17567 maybe-all-stageautofeedback-libelf:
17568 maybe-clean-stageautofeedback-libelf:
17569 @if libelf-bootstrap
17570 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17571 all-stageautofeedback: all-stageautofeedback-libelf
17572 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17573 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17574 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17575 @r=`${PWD_COMMAND}`; export r; \
17576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17577 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17578 $(HOST_EXPORTS) \
17579 $(POSTSTAGE1_HOST_EXPORTS) \
17580 cd $(HOST_SUBDIR)/libelf && \
17582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17583 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17584 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17585 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17590 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17591 $(TARGET-stageautofeedback-libelf)
17593 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17594 clean-stageautofeedback: clean-stageautofeedback-libelf
17595 clean-stageautofeedback-libelf:
17596 @if [ $(current_stage) = stageautofeedback ]; then \
17597 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17598 else \
17599 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17600 $(MAKE) stageautofeedback-start; \
17601 fi; \
17602 cd $(HOST_SUBDIR)/libelf && \
17603 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17604 @endif libelf-bootstrap
17610 .PHONY: check-libelf maybe-check-libelf
17611 maybe-check-libelf:
17612 @if libelf
17613 maybe-check-libelf: check-libelf
17615 check-libelf:
17616 @: $(MAKE); $(unstage)
17617 @r=`${PWD_COMMAND}`; export r; \
17618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17619 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17620 (cd $(HOST_SUBDIR)/libelf && \
17621 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17623 @endif libelf
17625 .PHONY: install-libelf maybe-install-libelf
17626 maybe-install-libelf:
17627 @if libelf
17628 maybe-install-libelf: install-libelf
17630 install-libelf:
17632 @endif libelf
17634 .PHONY: install-strip-libelf maybe-install-strip-libelf
17635 maybe-install-strip-libelf:
17636 @if libelf
17637 maybe-install-strip-libelf: install-strip-libelf
17639 install-strip-libelf:
17641 @endif libelf
17643 # Other targets (info, dvi, pdf, etc.)
17645 .PHONY: maybe-info-libelf info-libelf
17646 maybe-info-libelf:
17647 @if libelf
17648 maybe-info-libelf: info-libelf
17650 info-libelf: \
17651 configure-libelf
17652 @[ -f ./libelf/Makefile ] || exit 0; \
17653 r=`${PWD_COMMAND}`; export r; \
17654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17655 $(HOST_EXPORTS) \
17656 for flag in $(EXTRA_HOST_FLAGS) ; do \
17657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17658 done; \
17659 echo "Doing info in libelf"; \
17660 (cd $(HOST_SUBDIR)/libelf && \
17661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17663 "RANLIB=$${RANLIB}" \
17664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17665 info) \
17666 || exit 1
17668 @endif libelf
17670 .PHONY: maybe-dvi-libelf dvi-libelf
17671 maybe-dvi-libelf:
17672 @if libelf
17673 maybe-dvi-libelf: dvi-libelf
17675 dvi-libelf: \
17676 configure-libelf
17677 @[ -f ./libelf/Makefile ] || exit 0; \
17678 r=`${PWD_COMMAND}`; export r; \
17679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17680 $(HOST_EXPORTS) \
17681 for flag in $(EXTRA_HOST_FLAGS) ; do \
17682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17683 done; \
17684 echo "Doing dvi in libelf"; \
17685 (cd $(HOST_SUBDIR)/libelf && \
17686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17688 "RANLIB=$${RANLIB}" \
17689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17690 dvi) \
17691 || exit 1
17693 @endif libelf
17695 .PHONY: maybe-pdf-libelf pdf-libelf
17696 maybe-pdf-libelf:
17697 @if libelf
17698 maybe-pdf-libelf: pdf-libelf
17700 pdf-libelf: \
17701 configure-libelf
17702 @[ -f ./libelf/Makefile ] || exit 0; \
17703 r=`${PWD_COMMAND}`; export r; \
17704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17705 $(HOST_EXPORTS) \
17706 for flag in $(EXTRA_HOST_FLAGS) ; do \
17707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17708 done; \
17709 echo "Doing pdf in libelf"; \
17710 (cd $(HOST_SUBDIR)/libelf && \
17711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17713 "RANLIB=$${RANLIB}" \
17714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17715 pdf) \
17716 || exit 1
17718 @endif libelf
17720 .PHONY: maybe-html-libelf html-libelf
17721 maybe-html-libelf:
17722 @if libelf
17723 maybe-html-libelf: html-libelf
17725 html-libelf: \
17726 configure-libelf
17727 @[ -f ./libelf/Makefile ] || exit 0; \
17728 r=`${PWD_COMMAND}`; export r; \
17729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17730 $(HOST_EXPORTS) \
17731 for flag in $(EXTRA_HOST_FLAGS) ; do \
17732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17733 done; \
17734 echo "Doing html in libelf"; \
17735 (cd $(HOST_SUBDIR)/libelf && \
17736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17738 "RANLIB=$${RANLIB}" \
17739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17740 html) \
17741 || exit 1
17743 @endif libelf
17745 .PHONY: maybe-TAGS-libelf TAGS-libelf
17746 maybe-TAGS-libelf:
17747 @if libelf
17748 maybe-TAGS-libelf: TAGS-libelf
17750 TAGS-libelf: \
17751 configure-libelf
17752 @[ -f ./libelf/Makefile ] || exit 0; \
17753 r=`${PWD_COMMAND}`; export r; \
17754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17755 $(HOST_EXPORTS) \
17756 for flag in $(EXTRA_HOST_FLAGS) ; do \
17757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17758 done; \
17759 echo "Doing TAGS in libelf"; \
17760 (cd $(HOST_SUBDIR)/libelf && \
17761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17763 "RANLIB=$${RANLIB}" \
17764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17765 TAGS) \
17766 || exit 1
17768 @endif libelf
17770 .PHONY: maybe-install-info-libelf install-info-libelf
17771 maybe-install-info-libelf:
17772 @if libelf
17773 maybe-install-info-libelf: install-info-libelf
17775 install-info-libelf: \
17776 configure-libelf \
17777 info-libelf
17778 @[ -f ./libelf/Makefile ] || exit 0; \
17779 r=`${PWD_COMMAND}`; export r; \
17780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17781 $(HOST_EXPORTS) \
17782 for flag in $(EXTRA_HOST_FLAGS) ; do \
17783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17784 done; \
17785 echo "Doing install-info in libelf"; \
17786 (cd $(HOST_SUBDIR)/libelf && \
17787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17789 "RANLIB=$${RANLIB}" \
17790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17791 install-info) \
17792 || exit 1
17794 @endif libelf
17796 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17797 maybe-install-pdf-libelf:
17798 @if libelf
17799 maybe-install-pdf-libelf: install-pdf-libelf
17801 install-pdf-libelf: \
17802 configure-libelf \
17803 pdf-libelf
17804 @[ -f ./libelf/Makefile ] || exit 0; \
17805 r=`${PWD_COMMAND}`; export r; \
17806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17807 $(HOST_EXPORTS) \
17808 for flag in $(EXTRA_HOST_FLAGS) ; do \
17809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17810 done; \
17811 echo "Doing install-pdf in libelf"; \
17812 (cd $(HOST_SUBDIR)/libelf && \
17813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17815 "RANLIB=$${RANLIB}" \
17816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17817 install-pdf) \
17818 || exit 1
17820 @endif libelf
17822 .PHONY: maybe-install-html-libelf install-html-libelf
17823 maybe-install-html-libelf:
17824 @if libelf
17825 maybe-install-html-libelf: install-html-libelf
17827 install-html-libelf: \
17828 configure-libelf \
17829 html-libelf
17830 @[ -f ./libelf/Makefile ] || exit 0; \
17831 r=`${PWD_COMMAND}`; export r; \
17832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17833 $(HOST_EXPORTS) \
17834 for flag in $(EXTRA_HOST_FLAGS) ; do \
17835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17836 done; \
17837 echo "Doing install-html in libelf"; \
17838 (cd $(HOST_SUBDIR)/libelf && \
17839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17841 "RANLIB=$${RANLIB}" \
17842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17843 install-html) \
17844 || exit 1
17846 @endif libelf
17848 .PHONY: maybe-installcheck-libelf installcheck-libelf
17849 maybe-installcheck-libelf:
17850 @if libelf
17851 maybe-installcheck-libelf: installcheck-libelf
17853 installcheck-libelf: \
17854 configure-libelf
17855 @[ -f ./libelf/Makefile ] || exit 0; \
17856 r=`${PWD_COMMAND}`; export r; \
17857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17858 $(HOST_EXPORTS) \
17859 for flag in $(EXTRA_HOST_FLAGS) ; do \
17860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17861 done; \
17862 echo "Doing installcheck in libelf"; \
17863 (cd $(HOST_SUBDIR)/libelf && \
17864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17866 "RANLIB=$${RANLIB}" \
17867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17868 installcheck) \
17869 || exit 1
17871 @endif libelf
17873 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17874 maybe-mostlyclean-libelf:
17875 @if libelf
17876 maybe-mostlyclean-libelf: mostlyclean-libelf
17878 mostlyclean-libelf:
17879 @[ -f ./libelf/Makefile ] || exit 0; \
17880 r=`${PWD_COMMAND}`; export r; \
17881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17882 $(HOST_EXPORTS) \
17883 for flag in $(EXTRA_HOST_FLAGS) ; do \
17884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17885 done; \
17886 echo "Doing mostlyclean in libelf"; \
17887 (cd $(HOST_SUBDIR)/libelf && \
17888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17890 "RANLIB=$${RANLIB}" \
17891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17892 mostlyclean) \
17893 || exit 1
17895 @endif libelf
17897 .PHONY: maybe-clean-libelf clean-libelf
17898 maybe-clean-libelf:
17899 @if libelf
17900 maybe-clean-libelf: clean-libelf
17902 clean-libelf:
17903 @[ -f ./libelf/Makefile ] || exit 0; \
17904 r=`${PWD_COMMAND}`; export r; \
17905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17906 $(HOST_EXPORTS) \
17907 for flag in $(EXTRA_HOST_FLAGS) ; do \
17908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17909 done; \
17910 echo "Doing clean in libelf"; \
17911 (cd $(HOST_SUBDIR)/libelf && \
17912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17914 "RANLIB=$${RANLIB}" \
17915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17916 clean) \
17917 || exit 1
17919 @endif libelf
17921 .PHONY: maybe-distclean-libelf distclean-libelf
17922 maybe-distclean-libelf:
17923 @if libelf
17924 maybe-distclean-libelf: distclean-libelf
17926 distclean-libelf:
17927 @[ -f ./libelf/Makefile ] || exit 0; \
17928 r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 $(HOST_EXPORTS) \
17931 for flag in $(EXTRA_HOST_FLAGS) ; do \
17932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17933 done; \
17934 echo "Doing distclean in libelf"; \
17935 (cd $(HOST_SUBDIR)/libelf && \
17936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17938 "RANLIB=$${RANLIB}" \
17939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17940 distclean) \
17941 || exit 1
17943 @endif libelf
17945 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17946 maybe-maintainer-clean-libelf:
17947 @if libelf
17948 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17950 maintainer-clean-libelf:
17951 @[ -f ./libelf/Makefile ] || exit 0; \
17952 r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(HOST_EXPORTS) \
17955 for flag in $(EXTRA_HOST_FLAGS) ; do \
17956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17957 done; \
17958 echo "Doing maintainer-clean in libelf"; \
17959 (cd $(HOST_SUBDIR)/libelf && \
17960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17962 "RANLIB=$${RANLIB}" \
17963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17964 maintainer-clean) \
17965 || exit 1
17967 @endif libelf
17971 .PHONY: configure-gold maybe-configure-gold
17972 maybe-configure-gold:
17973 @if gcc-bootstrap
17974 configure-gold: stage_current
17975 @endif gcc-bootstrap
17976 @if gold
17977 maybe-configure-gold: configure-gold
17978 configure-gold:
17979 @r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17983 $(HOST_EXPORTS) \
17984 echo Configuring in $(HOST_SUBDIR)/gold; \
17985 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17986 case $(srcdir) in \
17987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17988 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17990 esac; \
17991 module_srcdir=gold; \
17992 $(SHELL) \
17993 $$s/$$module_srcdir/configure \
17994 --srcdir=$${topdir}/$$module_srcdir \
17995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17996 --target=${target_alias} \
17997 || exit 1
17998 @endif gold
18002 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18003 maybe-configure-stage1-gold:
18004 @if gold-bootstrap
18005 maybe-configure-stage1-gold: configure-stage1-gold
18006 configure-stage1-gold:
18007 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18009 @r=`${PWD_COMMAND}`; export r; \
18010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18011 TFLAGS="$(STAGE1_TFLAGS)"; \
18012 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18013 $(HOST_EXPORTS) \
18014 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18015 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18016 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18017 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18019 cd $(HOST_SUBDIR)/gold || exit 1; \
18020 case $(srcdir) in \
18021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18022 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18024 esac; \
18025 module_srcdir=gold; \
18026 $(SHELL) $$s/$$module_srcdir/configure \
18027 --srcdir=$${topdir}/$$module_srcdir \
18028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18029 --target=${target_alias} \
18031 $(STAGE1_CONFIGURE_FLAGS)
18032 @endif gold-bootstrap
18034 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18035 maybe-configure-stage2-gold:
18036 @if gold-bootstrap
18037 maybe-configure-stage2-gold: configure-stage2-gold
18038 configure-stage2-gold:
18039 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18041 @r=`${PWD_COMMAND}`; export r; \
18042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18043 TFLAGS="$(STAGE2_TFLAGS)"; \
18044 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18045 $(HOST_EXPORTS) \
18046 $(POSTSTAGE1_HOST_EXPORTS) \
18047 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18048 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18049 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18050 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18052 cd $(HOST_SUBDIR)/gold || exit 1; \
18053 case $(srcdir) in \
18054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18055 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18057 esac; \
18058 module_srcdir=gold; \
18059 $(SHELL) $$s/$$module_srcdir/configure \
18060 --srcdir=$${topdir}/$$module_srcdir \
18061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18062 --target=${target_alias} \
18063 --with-build-libsubdir=$(HOST_SUBDIR) \
18064 $(STAGE2_CONFIGURE_FLAGS)
18065 @endif gold-bootstrap
18067 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18068 maybe-configure-stage3-gold:
18069 @if gold-bootstrap
18070 maybe-configure-stage3-gold: configure-stage3-gold
18071 configure-stage3-gold:
18072 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18074 @r=`${PWD_COMMAND}`; export r; \
18075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18076 TFLAGS="$(STAGE3_TFLAGS)"; \
18077 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18078 $(HOST_EXPORTS) \
18079 $(POSTSTAGE1_HOST_EXPORTS) \
18080 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18081 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18082 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18083 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18085 cd $(HOST_SUBDIR)/gold || exit 1; \
18086 case $(srcdir) in \
18087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18088 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18090 esac; \
18091 module_srcdir=gold; \
18092 $(SHELL) $$s/$$module_srcdir/configure \
18093 --srcdir=$${topdir}/$$module_srcdir \
18094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18095 --target=${target_alias} \
18096 --with-build-libsubdir=$(HOST_SUBDIR) \
18097 $(STAGE3_CONFIGURE_FLAGS)
18098 @endif gold-bootstrap
18100 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18101 maybe-configure-stage4-gold:
18102 @if gold-bootstrap
18103 maybe-configure-stage4-gold: configure-stage4-gold
18104 configure-stage4-gold:
18105 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18106 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18107 @r=`${PWD_COMMAND}`; export r; \
18108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18109 TFLAGS="$(STAGE4_TFLAGS)"; \
18110 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18111 $(HOST_EXPORTS) \
18112 $(POSTSTAGE1_HOST_EXPORTS) \
18113 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18114 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18115 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18116 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18118 cd $(HOST_SUBDIR)/gold || exit 1; \
18119 case $(srcdir) in \
18120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18121 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18123 esac; \
18124 module_srcdir=gold; \
18125 $(SHELL) $$s/$$module_srcdir/configure \
18126 --srcdir=$${topdir}/$$module_srcdir \
18127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18128 --target=${target_alias} \
18129 --with-build-libsubdir=$(HOST_SUBDIR) \
18130 $(STAGE4_CONFIGURE_FLAGS)
18131 @endif gold-bootstrap
18133 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18134 maybe-configure-stageprofile-gold:
18135 @if gold-bootstrap
18136 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18137 configure-stageprofile-gold:
18138 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18139 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18140 @r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18142 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18143 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18144 $(HOST_EXPORTS) \
18145 $(POSTSTAGE1_HOST_EXPORTS) \
18146 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18147 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18148 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18149 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18151 cd $(HOST_SUBDIR)/gold || exit 1; \
18152 case $(srcdir) in \
18153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18154 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18156 esac; \
18157 module_srcdir=gold; \
18158 $(SHELL) $$s/$$module_srcdir/configure \
18159 --srcdir=$${topdir}/$$module_srcdir \
18160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18161 --target=${target_alias} \
18162 --with-build-libsubdir=$(HOST_SUBDIR) \
18163 $(STAGEprofile_CONFIGURE_FLAGS)
18164 @endif gold-bootstrap
18166 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18167 maybe-configure-stagetrain-gold:
18168 @if gold-bootstrap
18169 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18170 configure-stagetrain-gold:
18171 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18173 @r=`${PWD_COMMAND}`; export r; \
18174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18175 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18176 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18177 $(HOST_EXPORTS) \
18178 $(POSTSTAGE1_HOST_EXPORTS) \
18179 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18180 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18181 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18182 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18184 cd $(HOST_SUBDIR)/gold || exit 1; \
18185 case $(srcdir) in \
18186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18187 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18189 esac; \
18190 module_srcdir=gold; \
18191 $(SHELL) $$s/$$module_srcdir/configure \
18192 --srcdir=$${topdir}/$$module_srcdir \
18193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18194 --target=${target_alias} \
18195 --with-build-libsubdir=$(HOST_SUBDIR) \
18196 $(STAGEtrain_CONFIGURE_FLAGS)
18197 @endif gold-bootstrap
18199 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18200 maybe-configure-stagefeedback-gold:
18201 @if gold-bootstrap
18202 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18203 configure-stagefeedback-gold:
18204 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18206 @r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18208 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18209 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18210 $(HOST_EXPORTS) \
18211 $(POSTSTAGE1_HOST_EXPORTS) \
18212 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18213 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18214 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18215 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18217 cd $(HOST_SUBDIR)/gold || exit 1; \
18218 case $(srcdir) in \
18219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18220 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18222 esac; \
18223 module_srcdir=gold; \
18224 $(SHELL) $$s/$$module_srcdir/configure \
18225 --srcdir=$${topdir}/$$module_srcdir \
18226 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18227 --target=${target_alias} \
18228 --with-build-libsubdir=$(HOST_SUBDIR) \
18229 $(STAGEfeedback_CONFIGURE_FLAGS)
18230 @endif gold-bootstrap
18232 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18233 maybe-configure-stageautoprofile-gold:
18234 @if gold-bootstrap
18235 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18236 configure-stageautoprofile-gold:
18237 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18238 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18239 @r=`${PWD_COMMAND}`; export r; \
18240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18241 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18242 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18243 $(HOST_EXPORTS) \
18244 $(POSTSTAGE1_HOST_EXPORTS) \
18245 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18246 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18247 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18248 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18250 cd $(HOST_SUBDIR)/gold || exit 1; \
18251 case $(srcdir) in \
18252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18253 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18255 esac; \
18256 module_srcdir=gold; \
18257 $(SHELL) $$s/$$module_srcdir/configure \
18258 --srcdir=$${topdir}/$$module_srcdir \
18259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18260 --target=${target_alias} \
18261 --with-build-libsubdir=$(HOST_SUBDIR) \
18262 $(STAGEautoprofile_CONFIGURE_FLAGS)
18263 @endif gold-bootstrap
18265 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18266 maybe-configure-stageautofeedback-gold:
18267 @if gold-bootstrap
18268 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18269 configure-stageautofeedback-gold:
18270 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18272 @r=`${PWD_COMMAND}`; export r; \
18273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18274 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18275 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18276 $(HOST_EXPORTS) \
18277 $(POSTSTAGE1_HOST_EXPORTS) \
18278 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18279 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18280 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18281 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18283 cd $(HOST_SUBDIR)/gold || exit 1; \
18284 case $(srcdir) in \
18285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18286 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18288 esac; \
18289 module_srcdir=gold; \
18290 $(SHELL) $$s/$$module_srcdir/configure \
18291 --srcdir=$${topdir}/$$module_srcdir \
18292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18293 --target=${target_alias} \
18294 --with-build-libsubdir=$(HOST_SUBDIR) \
18295 $(STAGEautofeedback_CONFIGURE_FLAGS)
18296 @endif gold-bootstrap
18302 .PHONY: all-gold maybe-all-gold
18303 maybe-all-gold:
18304 @if gcc-bootstrap
18305 all-gold: stage_current
18306 @endif gcc-bootstrap
18307 @if gold
18308 TARGET-gold=all
18309 maybe-all-gold: all-gold
18310 all-gold: configure-gold
18311 @r=`${PWD_COMMAND}`; export r; \
18312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18313 $(HOST_EXPORTS) \
18314 (cd $(HOST_SUBDIR)/gold && \
18315 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18316 $(TARGET-gold))
18317 @endif gold
18321 .PHONY: all-stage1-gold maybe-all-stage1-gold
18322 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18323 maybe-all-stage1-gold:
18324 maybe-clean-stage1-gold:
18325 @if gold-bootstrap
18326 maybe-all-stage1-gold: all-stage1-gold
18327 all-stage1: all-stage1-gold
18328 TARGET-stage1-gold = $(TARGET-gold)
18329 all-stage1-gold: configure-stage1-gold
18330 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18331 @r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 TFLAGS="$(STAGE1_TFLAGS)"; \
18334 $(HOST_EXPORTS) \
18335 cd $(HOST_SUBDIR)/gold && \
18337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18338 CFLAGS="$(STAGE1_CFLAGS)" \
18339 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18340 LIBCFLAGS="$(LIBCFLAGS)" \
18341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18344 $(EXTRA_HOST_FLAGS) \
18345 $(STAGE1_FLAGS_TO_PASS) \
18346 TFLAGS="$(STAGE1_TFLAGS)" \
18347 $(TARGET-stage1-gold)
18349 maybe-clean-stage1-gold: clean-stage1-gold
18350 clean-stage1: clean-stage1-gold
18351 clean-stage1-gold:
18352 @if [ $(current_stage) = stage1 ]; then \
18353 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18354 else \
18355 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18356 $(MAKE) stage1-start; \
18357 fi; \
18358 cd $(HOST_SUBDIR)/gold && \
18359 $(MAKE) $(EXTRA_HOST_FLAGS) \
18360 $(STAGE1_FLAGS_TO_PASS) clean
18361 @endif gold-bootstrap
18364 .PHONY: all-stage2-gold maybe-all-stage2-gold
18365 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18366 maybe-all-stage2-gold:
18367 maybe-clean-stage2-gold:
18368 @if gold-bootstrap
18369 maybe-all-stage2-gold: all-stage2-gold
18370 all-stage2: all-stage2-gold
18371 TARGET-stage2-gold = $(TARGET-gold)
18372 all-stage2-gold: configure-stage2-gold
18373 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18374 @r=`${PWD_COMMAND}`; export r; \
18375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18376 TFLAGS="$(STAGE2_TFLAGS)"; \
18377 $(HOST_EXPORTS) \
18378 $(POSTSTAGE1_HOST_EXPORTS) \
18379 cd $(HOST_SUBDIR)/gold && \
18381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18382 CFLAGS="$(STAGE2_CFLAGS)" \
18383 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18384 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18388 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18389 TFLAGS="$(STAGE2_TFLAGS)" \
18390 $(TARGET-stage2-gold)
18392 maybe-clean-stage2-gold: clean-stage2-gold
18393 clean-stage2: clean-stage2-gold
18394 clean-stage2-gold:
18395 @if [ $(current_stage) = stage2 ]; then \
18396 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18397 else \
18398 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18399 $(MAKE) stage2-start; \
18400 fi; \
18401 cd $(HOST_SUBDIR)/gold && \
18402 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18403 @endif gold-bootstrap
18406 .PHONY: all-stage3-gold maybe-all-stage3-gold
18407 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18408 maybe-all-stage3-gold:
18409 maybe-clean-stage3-gold:
18410 @if gold-bootstrap
18411 maybe-all-stage3-gold: all-stage3-gold
18412 all-stage3: all-stage3-gold
18413 TARGET-stage3-gold = $(TARGET-gold)
18414 all-stage3-gold: configure-stage3-gold
18415 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18416 @r=`${PWD_COMMAND}`; export r; \
18417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18418 TFLAGS="$(STAGE3_TFLAGS)"; \
18419 $(HOST_EXPORTS) \
18420 $(POSTSTAGE1_HOST_EXPORTS) \
18421 cd $(HOST_SUBDIR)/gold && \
18423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18424 CFLAGS="$(STAGE3_CFLAGS)" \
18425 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18426 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18430 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18431 TFLAGS="$(STAGE3_TFLAGS)" \
18432 $(TARGET-stage3-gold)
18434 maybe-clean-stage3-gold: clean-stage3-gold
18435 clean-stage3: clean-stage3-gold
18436 clean-stage3-gold:
18437 @if [ $(current_stage) = stage3 ]; then \
18438 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18439 else \
18440 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18441 $(MAKE) stage3-start; \
18442 fi; \
18443 cd $(HOST_SUBDIR)/gold && \
18444 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18445 @endif gold-bootstrap
18448 .PHONY: all-stage4-gold maybe-all-stage4-gold
18449 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18450 maybe-all-stage4-gold:
18451 maybe-clean-stage4-gold:
18452 @if gold-bootstrap
18453 maybe-all-stage4-gold: all-stage4-gold
18454 all-stage4: all-stage4-gold
18455 TARGET-stage4-gold = $(TARGET-gold)
18456 all-stage4-gold: configure-stage4-gold
18457 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18458 @r=`${PWD_COMMAND}`; export r; \
18459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18460 TFLAGS="$(STAGE4_TFLAGS)"; \
18461 $(HOST_EXPORTS) \
18462 $(POSTSTAGE1_HOST_EXPORTS) \
18463 cd $(HOST_SUBDIR)/gold && \
18465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18466 CFLAGS="$(STAGE4_CFLAGS)" \
18467 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18468 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18472 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18473 TFLAGS="$(STAGE4_TFLAGS)" \
18474 $(TARGET-stage4-gold)
18476 maybe-clean-stage4-gold: clean-stage4-gold
18477 clean-stage4: clean-stage4-gold
18478 clean-stage4-gold:
18479 @if [ $(current_stage) = stage4 ]; then \
18480 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18481 else \
18482 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18483 $(MAKE) stage4-start; \
18484 fi; \
18485 cd $(HOST_SUBDIR)/gold && \
18486 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18487 @endif gold-bootstrap
18490 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18491 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18492 maybe-all-stageprofile-gold:
18493 maybe-clean-stageprofile-gold:
18494 @if gold-bootstrap
18495 maybe-all-stageprofile-gold: all-stageprofile-gold
18496 all-stageprofile: all-stageprofile-gold
18497 TARGET-stageprofile-gold = $(TARGET-gold)
18498 all-stageprofile-gold: configure-stageprofile-gold
18499 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18500 @r=`${PWD_COMMAND}`; export r; \
18501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18502 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18503 $(HOST_EXPORTS) \
18504 $(POSTSTAGE1_HOST_EXPORTS) \
18505 cd $(HOST_SUBDIR)/gold && \
18507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18508 CFLAGS="$(STAGEprofile_CFLAGS)" \
18509 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18510 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18514 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18515 TFLAGS="$(STAGEprofile_TFLAGS)" \
18516 $(TARGET-stageprofile-gold)
18518 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18519 clean-stageprofile: clean-stageprofile-gold
18520 clean-stageprofile-gold:
18521 @if [ $(current_stage) = stageprofile ]; then \
18522 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18523 else \
18524 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18525 $(MAKE) stageprofile-start; \
18526 fi; \
18527 cd $(HOST_SUBDIR)/gold && \
18528 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18529 @endif gold-bootstrap
18532 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18533 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18534 maybe-all-stagetrain-gold:
18535 maybe-clean-stagetrain-gold:
18536 @if gold-bootstrap
18537 maybe-all-stagetrain-gold: all-stagetrain-gold
18538 all-stagetrain: all-stagetrain-gold
18539 TARGET-stagetrain-gold = $(TARGET-gold)
18540 all-stagetrain-gold: configure-stagetrain-gold
18541 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18542 @r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18545 $(HOST_EXPORTS) \
18546 $(POSTSTAGE1_HOST_EXPORTS) \
18547 cd $(HOST_SUBDIR)/gold && \
18549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18550 CFLAGS="$(STAGEtrain_CFLAGS)" \
18551 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18552 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18556 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18557 TFLAGS="$(STAGEtrain_TFLAGS)" \
18558 $(TARGET-stagetrain-gold)
18560 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18561 clean-stagetrain: clean-stagetrain-gold
18562 clean-stagetrain-gold:
18563 @if [ $(current_stage) = stagetrain ]; then \
18564 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18565 else \
18566 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18567 $(MAKE) stagetrain-start; \
18568 fi; \
18569 cd $(HOST_SUBDIR)/gold && \
18570 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18571 @endif gold-bootstrap
18574 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18575 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18576 maybe-all-stagefeedback-gold:
18577 maybe-clean-stagefeedback-gold:
18578 @if gold-bootstrap
18579 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18580 all-stagefeedback: all-stagefeedback-gold
18581 TARGET-stagefeedback-gold = $(TARGET-gold)
18582 all-stagefeedback-gold: configure-stagefeedback-gold
18583 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18584 @r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18586 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18587 $(HOST_EXPORTS) \
18588 $(POSTSTAGE1_HOST_EXPORTS) \
18589 cd $(HOST_SUBDIR)/gold && \
18591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18592 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18593 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18594 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18599 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18600 $(TARGET-stagefeedback-gold)
18602 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18603 clean-stagefeedback: clean-stagefeedback-gold
18604 clean-stagefeedback-gold:
18605 @if [ $(current_stage) = stagefeedback ]; then \
18606 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18607 else \
18608 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18609 $(MAKE) stagefeedback-start; \
18610 fi; \
18611 cd $(HOST_SUBDIR)/gold && \
18612 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18613 @endif gold-bootstrap
18616 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18617 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18618 maybe-all-stageautoprofile-gold:
18619 maybe-clean-stageautoprofile-gold:
18620 @if gold-bootstrap
18621 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18622 all-stageautoprofile: all-stageautoprofile-gold
18623 TARGET-stageautoprofile-gold = $(TARGET-gold)
18624 all-stageautoprofile-gold: configure-stageautoprofile-gold
18625 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18626 @r=`${PWD_COMMAND}`; export r; \
18627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18628 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18629 $(HOST_EXPORTS) \
18630 $(POSTSTAGE1_HOST_EXPORTS) \
18631 cd $(HOST_SUBDIR)/gold && \
18632 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18634 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18635 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18636 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18640 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18641 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18642 $(TARGET-stageautoprofile-gold)
18644 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18645 clean-stageautoprofile: clean-stageautoprofile-gold
18646 clean-stageautoprofile-gold:
18647 @if [ $(current_stage) = stageautoprofile ]; then \
18648 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18649 else \
18650 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18651 $(MAKE) stageautoprofile-start; \
18652 fi; \
18653 cd $(HOST_SUBDIR)/gold && \
18654 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18655 @endif gold-bootstrap
18658 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18659 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18660 maybe-all-stageautofeedback-gold:
18661 maybe-clean-stageautofeedback-gold:
18662 @if gold-bootstrap
18663 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18664 all-stageautofeedback: all-stageautofeedback-gold
18665 TARGET-stageautofeedback-gold = $(TARGET-gold)
18666 all-stageautofeedback-gold: configure-stageautofeedback-gold
18667 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18668 @r=`${PWD_COMMAND}`; export r; \
18669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18670 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18671 $(HOST_EXPORTS) \
18672 $(POSTSTAGE1_HOST_EXPORTS) \
18673 cd $(HOST_SUBDIR)/gold && \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18676 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18677 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18678 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18682 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18683 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18684 $(TARGET-stageautofeedback-gold)
18686 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18687 clean-stageautofeedback: clean-stageautofeedback-gold
18688 clean-stageautofeedback-gold:
18689 @if [ $(current_stage) = stageautofeedback ]; then \
18690 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18691 else \
18692 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18693 $(MAKE) stageautofeedback-start; \
18694 fi; \
18695 cd $(HOST_SUBDIR)/gold && \
18696 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18697 @endif gold-bootstrap
18703 .PHONY: check-gold maybe-check-gold
18704 maybe-check-gold:
18705 @if gold
18706 maybe-check-gold: check-gold
18708 check-gold:
18709 @: $(MAKE); $(unstage)
18710 @r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18713 (cd $(HOST_SUBDIR)/gold && \
18714 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18716 @endif gold
18718 .PHONY: install-gold maybe-install-gold
18719 maybe-install-gold:
18720 @if gold
18721 maybe-install-gold: install-gold
18723 install-gold: installdirs
18724 @: $(MAKE); $(unstage)
18725 @r=`${PWD_COMMAND}`; export r; \
18726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18727 $(HOST_EXPORTS) \
18728 (cd $(HOST_SUBDIR)/gold && \
18729 $(MAKE) $(FLAGS_TO_PASS) install)
18731 @endif gold
18733 .PHONY: install-strip-gold maybe-install-strip-gold
18734 maybe-install-strip-gold:
18735 @if gold
18736 maybe-install-strip-gold: install-strip-gold
18738 install-strip-gold: installdirs
18739 @: $(MAKE); $(unstage)
18740 @r=`${PWD_COMMAND}`; export r; \
18741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18742 $(HOST_EXPORTS) \
18743 (cd $(HOST_SUBDIR)/gold && \
18744 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18746 @endif gold
18748 # Other targets (info, dvi, pdf, etc.)
18750 .PHONY: maybe-info-gold info-gold
18751 maybe-info-gold:
18752 @if gold
18753 maybe-info-gold: info-gold
18755 info-gold: \
18756 configure-gold
18757 @[ -f ./gold/Makefile ] || exit 0; \
18758 r=`${PWD_COMMAND}`; export r; \
18759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18760 $(HOST_EXPORTS) \
18761 for flag in $(EXTRA_HOST_FLAGS) ; do \
18762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18763 done; \
18764 echo "Doing info in gold"; \
18765 (cd $(HOST_SUBDIR)/gold && \
18766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18768 "RANLIB=$${RANLIB}" \
18769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18770 info) \
18771 || exit 1
18773 @endif gold
18775 .PHONY: maybe-dvi-gold dvi-gold
18776 maybe-dvi-gold:
18777 @if gold
18778 maybe-dvi-gold: dvi-gold
18780 dvi-gold: \
18781 configure-gold
18782 @[ -f ./gold/Makefile ] || exit 0; \
18783 r=`${PWD_COMMAND}`; export r; \
18784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18785 $(HOST_EXPORTS) \
18786 for flag in $(EXTRA_HOST_FLAGS) ; do \
18787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18788 done; \
18789 echo "Doing dvi in gold"; \
18790 (cd $(HOST_SUBDIR)/gold && \
18791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18793 "RANLIB=$${RANLIB}" \
18794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18795 dvi) \
18796 || exit 1
18798 @endif gold
18800 .PHONY: maybe-pdf-gold pdf-gold
18801 maybe-pdf-gold:
18802 @if gold
18803 maybe-pdf-gold: pdf-gold
18805 pdf-gold: \
18806 configure-gold
18807 @[ -f ./gold/Makefile ] || exit 0; \
18808 r=`${PWD_COMMAND}`; export r; \
18809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18810 $(HOST_EXPORTS) \
18811 for flag in $(EXTRA_HOST_FLAGS) ; do \
18812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18813 done; \
18814 echo "Doing pdf in gold"; \
18815 (cd $(HOST_SUBDIR)/gold && \
18816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18818 "RANLIB=$${RANLIB}" \
18819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18820 pdf) \
18821 || exit 1
18823 @endif gold
18825 .PHONY: maybe-html-gold html-gold
18826 maybe-html-gold:
18827 @if gold
18828 maybe-html-gold: html-gold
18830 html-gold: \
18831 configure-gold
18832 @[ -f ./gold/Makefile ] || exit 0; \
18833 r=`${PWD_COMMAND}`; export r; \
18834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18835 $(HOST_EXPORTS) \
18836 for flag in $(EXTRA_HOST_FLAGS) ; do \
18837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18838 done; \
18839 echo "Doing html in gold"; \
18840 (cd $(HOST_SUBDIR)/gold && \
18841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18843 "RANLIB=$${RANLIB}" \
18844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18845 html) \
18846 || exit 1
18848 @endif gold
18850 .PHONY: maybe-TAGS-gold TAGS-gold
18851 maybe-TAGS-gold:
18852 @if gold
18853 maybe-TAGS-gold: TAGS-gold
18855 TAGS-gold: \
18856 configure-gold
18857 @[ -f ./gold/Makefile ] || exit 0; \
18858 r=`${PWD_COMMAND}`; export r; \
18859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18860 $(HOST_EXPORTS) \
18861 for flag in $(EXTRA_HOST_FLAGS) ; do \
18862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18863 done; \
18864 echo "Doing TAGS in gold"; \
18865 (cd $(HOST_SUBDIR)/gold && \
18866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18868 "RANLIB=$${RANLIB}" \
18869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18870 TAGS) \
18871 || exit 1
18873 @endif gold
18875 .PHONY: maybe-install-info-gold install-info-gold
18876 maybe-install-info-gold:
18877 @if gold
18878 maybe-install-info-gold: install-info-gold
18880 install-info-gold: \
18881 configure-gold \
18882 info-gold
18883 @[ -f ./gold/Makefile ] || exit 0; \
18884 r=`${PWD_COMMAND}`; export r; \
18885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18886 $(HOST_EXPORTS) \
18887 for flag in $(EXTRA_HOST_FLAGS) ; do \
18888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18889 done; \
18890 echo "Doing install-info in gold"; \
18891 (cd $(HOST_SUBDIR)/gold && \
18892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18894 "RANLIB=$${RANLIB}" \
18895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18896 install-info) \
18897 || exit 1
18899 @endif gold
18901 .PHONY: maybe-install-pdf-gold install-pdf-gold
18902 maybe-install-pdf-gold:
18903 @if gold
18904 maybe-install-pdf-gold: install-pdf-gold
18906 install-pdf-gold: \
18907 configure-gold \
18908 pdf-gold
18909 @[ -f ./gold/Makefile ] || exit 0; \
18910 r=`${PWD_COMMAND}`; export r; \
18911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18912 $(HOST_EXPORTS) \
18913 for flag in $(EXTRA_HOST_FLAGS) ; do \
18914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18915 done; \
18916 echo "Doing install-pdf in gold"; \
18917 (cd $(HOST_SUBDIR)/gold && \
18918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18920 "RANLIB=$${RANLIB}" \
18921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18922 install-pdf) \
18923 || exit 1
18925 @endif gold
18927 .PHONY: maybe-install-html-gold install-html-gold
18928 maybe-install-html-gold:
18929 @if gold
18930 maybe-install-html-gold: install-html-gold
18932 install-html-gold: \
18933 configure-gold \
18934 html-gold
18935 @[ -f ./gold/Makefile ] || exit 0; \
18936 r=`${PWD_COMMAND}`; export r; \
18937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18938 $(HOST_EXPORTS) \
18939 for flag in $(EXTRA_HOST_FLAGS) ; do \
18940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18941 done; \
18942 echo "Doing install-html in gold"; \
18943 (cd $(HOST_SUBDIR)/gold && \
18944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18946 "RANLIB=$${RANLIB}" \
18947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18948 install-html) \
18949 || exit 1
18951 @endif gold
18953 .PHONY: maybe-installcheck-gold installcheck-gold
18954 maybe-installcheck-gold:
18955 @if gold
18956 maybe-installcheck-gold: installcheck-gold
18958 installcheck-gold: \
18959 configure-gold
18960 @[ -f ./gold/Makefile ] || exit 0; \
18961 r=`${PWD_COMMAND}`; export r; \
18962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18963 $(HOST_EXPORTS) \
18964 for flag in $(EXTRA_HOST_FLAGS) ; do \
18965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18966 done; \
18967 echo "Doing installcheck in gold"; \
18968 (cd $(HOST_SUBDIR)/gold && \
18969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18971 "RANLIB=$${RANLIB}" \
18972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18973 installcheck) \
18974 || exit 1
18976 @endif gold
18978 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18979 maybe-mostlyclean-gold:
18980 @if gold
18981 maybe-mostlyclean-gold: mostlyclean-gold
18983 mostlyclean-gold:
18984 @[ -f ./gold/Makefile ] || exit 0; \
18985 r=`${PWD_COMMAND}`; export r; \
18986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18987 $(HOST_EXPORTS) \
18988 for flag in $(EXTRA_HOST_FLAGS) ; do \
18989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18990 done; \
18991 echo "Doing mostlyclean in gold"; \
18992 (cd $(HOST_SUBDIR)/gold && \
18993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18995 "RANLIB=$${RANLIB}" \
18996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18997 mostlyclean) \
18998 || exit 1
19000 @endif gold
19002 .PHONY: maybe-clean-gold clean-gold
19003 maybe-clean-gold:
19004 @if gold
19005 maybe-clean-gold: clean-gold
19007 clean-gold:
19008 @[ -f ./gold/Makefile ] || exit 0; \
19009 r=`${PWD_COMMAND}`; export r; \
19010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19011 $(HOST_EXPORTS) \
19012 for flag in $(EXTRA_HOST_FLAGS) ; do \
19013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19014 done; \
19015 echo "Doing clean in gold"; \
19016 (cd $(HOST_SUBDIR)/gold && \
19017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19019 "RANLIB=$${RANLIB}" \
19020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19021 clean) \
19022 || exit 1
19024 @endif gold
19026 .PHONY: maybe-distclean-gold distclean-gold
19027 maybe-distclean-gold:
19028 @if gold
19029 maybe-distclean-gold: distclean-gold
19031 distclean-gold:
19032 @[ -f ./gold/Makefile ] || exit 0; \
19033 r=`${PWD_COMMAND}`; export r; \
19034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19035 $(HOST_EXPORTS) \
19036 for flag in $(EXTRA_HOST_FLAGS) ; do \
19037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19038 done; \
19039 echo "Doing distclean in gold"; \
19040 (cd $(HOST_SUBDIR)/gold && \
19041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19043 "RANLIB=$${RANLIB}" \
19044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19045 distclean) \
19046 || exit 1
19048 @endif gold
19050 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19051 maybe-maintainer-clean-gold:
19052 @if gold
19053 maybe-maintainer-clean-gold: maintainer-clean-gold
19055 maintainer-clean-gold:
19056 @[ -f ./gold/Makefile ] || exit 0; \
19057 r=`${PWD_COMMAND}`; export r; \
19058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19059 $(HOST_EXPORTS) \
19060 for flag in $(EXTRA_HOST_FLAGS) ; do \
19061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19062 done; \
19063 echo "Doing maintainer-clean in gold"; \
19064 (cd $(HOST_SUBDIR)/gold && \
19065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19067 "RANLIB=$${RANLIB}" \
19068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19069 maintainer-clean) \
19070 || exit 1
19072 @endif gold
19076 .PHONY: configure-gprof maybe-configure-gprof
19077 maybe-configure-gprof:
19078 @if gcc-bootstrap
19079 configure-gprof: stage_current
19080 @endif gcc-bootstrap
19081 @if gprof
19082 maybe-configure-gprof: configure-gprof
19083 configure-gprof:
19084 @: $(MAKE); $(unstage)
19085 @r=`${PWD_COMMAND}`; export r; \
19086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19087 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19089 $(HOST_EXPORTS) \
19090 echo Configuring in $(HOST_SUBDIR)/gprof; \
19091 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19092 case $(srcdir) in \
19093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19094 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19096 esac; \
19097 module_srcdir=gprof; \
19098 $(SHELL) \
19099 $$s/$$module_srcdir/configure \
19100 --srcdir=$${topdir}/$$module_srcdir \
19101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19102 --target=${target_alias} \
19103 || exit 1
19104 @endif gprof
19110 .PHONY: all-gprof maybe-all-gprof
19111 maybe-all-gprof:
19112 @if gcc-bootstrap
19113 all-gprof: stage_current
19114 @endif gcc-bootstrap
19115 @if gprof
19116 TARGET-gprof=all
19117 maybe-all-gprof: all-gprof
19118 all-gprof: configure-gprof
19119 @: $(MAKE); $(unstage)
19120 @r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19122 $(HOST_EXPORTS) \
19123 (cd $(HOST_SUBDIR)/gprof && \
19124 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19125 $(TARGET-gprof))
19126 @endif gprof
19131 .PHONY: check-gprof maybe-check-gprof
19132 maybe-check-gprof:
19133 @if gprof
19134 maybe-check-gprof: check-gprof
19136 check-gprof:
19137 @: $(MAKE); $(unstage)
19138 @r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140 $(HOST_EXPORTS) \
19141 (cd $(HOST_SUBDIR)/gprof && \
19142 $(MAKE) $(FLAGS_TO_PASS) check)
19144 @endif gprof
19146 .PHONY: install-gprof maybe-install-gprof
19147 maybe-install-gprof:
19148 @if gprof
19149 maybe-install-gprof: install-gprof
19151 install-gprof: installdirs
19152 @: $(MAKE); $(unstage)
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19155 $(HOST_EXPORTS) \
19156 (cd $(HOST_SUBDIR)/gprof && \
19157 $(MAKE) $(FLAGS_TO_PASS) install)
19159 @endif gprof
19161 .PHONY: install-strip-gprof maybe-install-strip-gprof
19162 maybe-install-strip-gprof:
19163 @if gprof
19164 maybe-install-strip-gprof: install-strip-gprof
19166 install-strip-gprof: installdirs
19167 @: $(MAKE); $(unstage)
19168 @r=`${PWD_COMMAND}`; export r; \
19169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19170 $(HOST_EXPORTS) \
19171 (cd $(HOST_SUBDIR)/gprof && \
19172 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19174 @endif gprof
19176 # Other targets (info, dvi, pdf, etc.)
19178 .PHONY: maybe-info-gprof info-gprof
19179 maybe-info-gprof:
19180 @if gprof
19181 maybe-info-gprof: info-gprof
19183 info-gprof: \
19184 configure-gprof
19185 @: $(MAKE); $(unstage)
19186 @[ -f ./gprof/Makefile ] || exit 0; \
19187 r=`${PWD_COMMAND}`; export r; \
19188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19189 $(HOST_EXPORTS) \
19190 for flag in $(EXTRA_HOST_FLAGS) ; do \
19191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19192 done; \
19193 echo "Doing info in gprof"; \
19194 (cd $(HOST_SUBDIR)/gprof && \
19195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19197 "RANLIB=$${RANLIB}" \
19198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19199 info) \
19200 || exit 1
19202 @endif gprof
19204 .PHONY: maybe-dvi-gprof dvi-gprof
19205 maybe-dvi-gprof:
19206 @if gprof
19207 maybe-dvi-gprof: dvi-gprof
19209 dvi-gprof: \
19210 configure-gprof
19211 @: $(MAKE); $(unstage)
19212 @[ -f ./gprof/Makefile ] || exit 0; \
19213 r=`${PWD_COMMAND}`; export r; \
19214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19215 $(HOST_EXPORTS) \
19216 for flag in $(EXTRA_HOST_FLAGS) ; do \
19217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19218 done; \
19219 echo "Doing dvi in gprof"; \
19220 (cd $(HOST_SUBDIR)/gprof && \
19221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19223 "RANLIB=$${RANLIB}" \
19224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19225 dvi) \
19226 || exit 1
19228 @endif gprof
19230 .PHONY: maybe-pdf-gprof pdf-gprof
19231 maybe-pdf-gprof:
19232 @if gprof
19233 maybe-pdf-gprof: pdf-gprof
19235 pdf-gprof: \
19236 configure-gprof
19237 @: $(MAKE); $(unstage)
19238 @[ -f ./gprof/Makefile ] || exit 0; \
19239 r=`${PWD_COMMAND}`; export r; \
19240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19241 $(HOST_EXPORTS) \
19242 for flag in $(EXTRA_HOST_FLAGS) ; do \
19243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19244 done; \
19245 echo "Doing pdf in gprof"; \
19246 (cd $(HOST_SUBDIR)/gprof && \
19247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19249 "RANLIB=$${RANLIB}" \
19250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19251 pdf) \
19252 || exit 1
19254 @endif gprof
19256 .PHONY: maybe-html-gprof html-gprof
19257 maybe-html-gprof:
19258 @if gprof
19259 maybe-html-gprof: html-gprof
19261 html-gprof: \
19262 configure-gprof
19263 @: $(MAKE); $(unstage)
19264 @[ -f ./gprof/Makefile ] || exit 0; \
19265 r=`${PWD_COMMAND}`; export r; \
19266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19267 $(HOST_EXPORTS) \
19268 for flag in $(EXTRA_HOST_FLAGS) ; do \
19269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19270 done; \
19271 echo "Doing html in gprof"; \
19272 (cd $(HOST_SUBDIR)/gprof && \
19273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19275 "RANLIB=$${RANLIB}" \
19276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19277 html) \
19278 || exit 1
19280 @endif gprof
19282 .PHONY: maybe-TAGS-gprof TAGS-gprof
19283 maybe-TAGS-gprof:
19284 @if gprof
19285 maybe-TAGS-gprof: TAGS-gprof
19287 TAGS-gprof: \
19288 configure-gprof
19289 @: $(MAKE); $(unstage)
19290 @[ -f ./gprof/Makefile ] || exit 0; \
19291 r=`${PWD_COMMAND}`; export r; \
19292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19293 $(HOST_EXPORTS) \
19294 for flag in $(EXTRA_HOST_FLAGS) ; do \
19295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19296 done; \
19297 echo "Doing TAGS in gprof"; \
19298 (cd $(HOST_SUBDIR)/gprof && \
19299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19301 "RANLIB=$${RANLIB}" \
19302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19303 TAGS) \
19304 || exit 1
19306 @endif gprof
19308 .PHONY: maybe-install-info-gprof install-info-gprof
19309 maybe-install-info-gprof:
19310 @if gprof
19311 maybe-install-info-gprof: install-info-gprof
19313 install-info-gprof: \
19314 configure-gprof \
19315 info-gprof
19316 @: $(MAKE); $(unstage)
19317 @[ -f ./gprof/Makefile ] || exit 0; \
19318 r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing install-info in gprof"; \
19325 (cd $(HOST_SUBDIR)/gprof && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19330 install-info) \
19331 || exit 1
19333 @endif gprof
19335 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19336 maybe-install-pdf-gprof:
19337 @if gprof
19338 maybe-install-pdf-gprof: install-pdf-gprof
19340 install-pdf-gprof: \
19341 configure-gprof \
19342 pdf-gprof
19343 @: $(MAKE); $(unstage)
19344 @[ -f ./gprof/Makefile ] || exit 0; \
19345 r=`${PWD_COMMAND}`; export r; \
19346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19347 $(HOST_EXPORTS) \
19348 for flag in $(EXTRA_HOST_FLAGS) ; do \
19349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19350 done; \
19351 echo "Doing install-pdf in gprof"; \
19352 (cd $(HOST_SUBDIR)/gprof && \
19353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19355 "RANLIB=$${RANLIB}" \
19356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19357 install-pdf) \
19358 || exit 1
19360 @endif gprof
19362 .PHONY: maybe-install-html-gprof install-html-gprof
19363 maybe-install-html-gprof:
19364 @if gprof
19365 maybe-install-html-gprof: install-html-gprof
19367 install-html-gprof: \
19368 configure-gprof \
19369 html-gprof
19370 @: $(MAKE); $(unstage)
19371 @[ -f ./gprof/Makefile ] || exit 0; \
19372 r=`${PWD_COMMAND}`; export r; \
19373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19374 $(HOST_EXPORTS) \
19375 for flag in $(EXTRA_HOST_FLAGS) ; do \
19376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19377 done; \
19378 echo "Doing install-html in gprof"; \
19379 (cd $(HOST_SUBDIR)/gprof && \
19380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19382 "RANLIB=$${RANLIB}" \
19383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19384 install-html) \
19385 || exit 1
19387 @endif gprof
19389 .PHONY: maybe-installcheck-gprof installcheck-gprof
19390 maybe-installcheck-gprof:
19391 @if gprof
19392 maybe-installcheck-gprof: installcheck-gprof
19394 installcheck-gprof: \
19395 configure-gprof
19396 @: $(MAKE); $(unstage)
19397 @[ -f ./gprof/Makefile ] || exit 0; \
19398 r=`${PWD_COMMAND}`; export r; \
19399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19400 $(HOST_EXPORTS) \
19401 for flag in $(EXTRA_HOST_FLAGS) ; do \
19402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19403 done; \
19404 echo "Doing installcheck in gprof"; \
19405 (cd $(HOST_SUBDIR)/gprof && \
19406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19408 "RANLIB=$${RANLIB}" \
19409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19410 installcheck) \
19411 || exit 1
19413 @endif gprof
19415 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19416 maybe-mostlyclean-gprof:
19417 @if gprof
19418 maybe-mostlyclean-gprof: mostlyclean-gprof
19420 mostlyclean-gprof:
19421 @: $(MAKE); $(unstage)
19422 @[ -f ./gprof/Makefile ] || exit 0; \
19423 r=`${PWD_COMMAND}`; export r; \
19424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19425 $(HOST_EXPORTS) \
19426 for flag in $(EXTRA_HOST_FLAGS) ; do \
19427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19428 done; \
19429 echo "Doing mostlyclean in gprof"; \
19430 (cd $(HOST_SUBDIR)/gprof && \
19431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19433 "RANLIB=$${RANLIB}" \
19434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19435 mostlyclean) \
19436 || exit 1
19438 @endif gprof
19440 .PHONY: maybe-clean-gprof clean-gprof
19441 maybe-clean-gprof:
19442 @if gprof
19443 maybe-clean-gprof: clean-gprof
19445 clean-gprof:
19446 @: $(MAKE); $(unstage)
19447 @[ -f ./gprof/Makefile ] || exit 0; \
19448 r=`${PWD_COMMAND}`; export r; \
19449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19450 $(HOST_EXPORTS) \
19451 for flag in $(EXTRA_HOST_FLAGS) ; do \
19452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19453 done; \
19454 echo "Doing clean in gprof"; \
19455 (cd $(HOST_SUBDIR)/gprof && \
19456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19458 "RANLIB=$${RANLIB}" \
19459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19460 clean) \
19461 || exit 1
19463 @endif gprof
19465 .PHONY: maybe-distclean-gprof distclean-gprof
19466 maybe-distclean-gprof:
19467 @if gprof
19468 maybe-distclean-gprof: distclean-gprof
19470 distclean-gprof:
19471 @: $(MAKE); $(unstage)
19472 @[ -f ./gprof/Makefile ] || exit 0; \
19473 r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19475 $(HOST_EXPORTS) \
19476 for flag in $(EXTRA_HOST_FLAGS) ; do \
19477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19478 done; \
19479 echo "Doing distclean in gprof"; \
19480 (cd $(HOST_SUBDIR)/gprof && \
19481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19483 "RANLIB=$${RANLIB}" \
19484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19485 distclean) \
19486 || exit 1
19488 @endif gprof
19490 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19491 maybe-maintainer-clean-gprof:
19492 @if gprof
19493 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19495 maintainer-clean-gprof:
19496 @: $(MAKE); $(unstage)
19497 @[ -f ./gprof/Makefile ] || exit 0; \
19498 r=`${PWD_COMMAND}`; export r; \
19499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19500 $(HOST_EXPORTS) \
19501 for flag in $(EXTRA_HOST_FLAGS) ; do \
19502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19503 done; \
19504 echo "Doing maintainer-clean in gprof"; \
19505 (cd $(HOST_SUBDIR)/gprof && \
19506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19508 "RANLIB=$${RANLIB}" \
19509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19510 maintainer-clean) \
19511 || exit 1
19513 @endif gprof
19517 .PHONY: configure-intl maybe-configure-intl
19518 maybe-configure-intl:
19519 @if gcc-bootstrap
19520 configure-intl: stage_current
19521 @endif gcc-bootstrap
19522 @if intl
19523 maybe-configure-intl: configure-intl
19524 configure-intl:
19525 @r=`${PWD_COMMAND}`; export r; \
19526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19527 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19529 $(HOST_EXPORTS) \
19530 echo Configuring in $(HOST_SUBDIR)/intl; \
19531 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19532 case $(srcdir) in \
19533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19534 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19536 esac; \
19537 module_srcdir=intl; \
19538 $(SHELL) \
19539 $$s/$$module_srcdir/configure \
19540 --srcdir=$${topdir}/$$module_srcdir \
19541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19542 --target=${target_alias} \
19543 || exit 1
19544 @endif intl
19548 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19549 maybe-configure-stage1-intl:
19550 @if intl-bootstrap
19551 maybe-configure-stage1-intl: configure-stage1-intl
19552 configure-stage1-intl:
19553 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19555 @r=`${PWD_COMMAND}`; export r; \
19556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19557 TFLAGS="$(STAGE1_TFLAGS)"; \
19558 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19559 $(HOST_EXPORTS) \
19560 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19561 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19562 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19563 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19565 cd $(HOST_SUBDIR)/intl || exit 1; \
19566 case $(srcdir) in \
19567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19568 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19570 esac; \
19571 module_srcdir=intl; \
19572 $(SHELL) $$s/$$module_srcdir/configure \
19573 --srcdir=$${topdir}/$$module_srcdir \
19574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19575 --target=${target_alias} \
19577 $(STAGE1_CONFIGURE_FLAGS)
19578 @endif intl-bootstrap
19580 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19581 maybe-configure-stage2-intl:
19582 @if intl-bootstrap
19583 maybe-configure-stage2-intl: configure-stage2-intl
19584 configure-stage2-intl:
19585 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19587 @r=`${PWD_COMMAND}`; export r; \
19588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19589 TFLAGS="$(STAGE2_TFLAGS)"; \
19590 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19591 $(HOST_EXPORTS) \
19592 $(POSTSTAGE1_HOST_EXPORTS) \
19593 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19594 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19595 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19596 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19598 cd $(HOST_SUBDIR)/intl || exit 1; \
19599 case $(srcdir) in \
19600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19601 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19603 esac; \
19604 module_srcdir=intl; \
19605 $(SHELL) $$s/$$module_srcdir/configure \
19606 --srcdir=$${topdir}/$$module_srcdir \
19607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19608 --target=${target_alias} \
19609 --with-build-libsubdir=$(HOST_SUBDIR) \
19610 $(STAGE2_CONFIGURE_FLAGS)
19611 @endif intl-bootstrap
19613 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19614 maybe-configure-stage3-intl:
19615 @if intl-bootstrap
19616 maybe-configure-stage3-intl: configure-stage3-intl
19617 configure-stage3-intl:
19618 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19620 @r=`${PWD_COMMAND}`; export r; \
19621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19622 TFLAGS="$(STAGE3_TFLAGS)"; \
19623 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19624 $(HOST_EXPORTS) \
19625 $(POSTSTAGE1_HOST_EXPORTS) \
19626 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19627 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19628 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19629 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19631 cd $(HOST_SUBDIR)/intl || exit 1; \
19632 case $(srcdir) in \
19633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19634 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19636 esac; \
19637 module_srcdir=intl; \
19638 $(SHELL) $$s/$$module_srcdir/configure \
19639 --srcdir=$${topdir}/$$module_srcdir \
19640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19641 --target=${target_alias} \
19642 --with-build-libsubdir=$(HOST_SUBDIR) \
19643 $(STAGE3_CONFIGURE_FLAGS)
19644 @endif intl-bootstrap
19646 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19647 maybe-configure-stage4-intl:
19648 @if intl-bootstrap
19649 maybe-configure-stage4-intl: configure-stage4-intl
19650 configure-stage4-intl:
19651 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19653 @r=`${PWD_COMMAND}`; export r; \
19654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19655 TFLAGS="$(STAGE4_TFLAGS)"; \
19656 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19657 $(HOST_EXPORTS) \
19658 $(POSTSTAGE1_HOST_EXPORTS) \
19659 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19660 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19661 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19662 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19664 cd $(HOST_SUBDIR)/intl || exit 1; \
19665 case $(srcdir) in \
19666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19667 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19669 esac; \
19670 module_srcdir=intl; \
19671 $(SHELL) $$s/$$module_srcdir/configure \
19672 --srcdir=$${topdir}/$$module_srcdir \
19673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19674 --target=${target_alias} \
19675 --with-build-libsubdir=$(HOST_SUBDIR) \
19676 $(STAGE4_CONFIGURE_FLAGS)
19677 @endif intl-bootstrap
19679 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19680 maybe-configure-stageprofile-intl:
19681 @if intl-bootstrap
19682 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19683 configure-stageprofile-intl:
19684 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19686 @r=`${PWD_COMMAND}`; export r; \
19687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19688 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19689 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19690 $(HOST_EXPORTS) \
19691 $(POSTSTAGE1_HOST_EXPORTS) \
19692 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19693 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19694 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19695 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19697 cd $(HOST_SUBDIR)/intl || exit 1; \
19698 case $(srcdir) in \
19699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19700 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19702 esac; \
19703 module_srcdir=intl; \
19704 $(SHELL) $$s/$$module_srcdir/configure \
19705 --srcdir=$${topdir}/$$module_srcdir \
19706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19707 --target=${target_alias} \
19708 --with-build-libsubdir=$(HOST_SUBDIR) \
19709 $(STAGEprofile_CONFIGURE_FLAGS)
19710 @endif intl-bootstrap
19712 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19713 maybe-configure-stagetrain-intl:
19714 @if intl-bootstrap
19715 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19716 configure-stagetrain-intl:
19717 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19719 @r=`${PWD_COMMAND}`; export r; \
19720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19721 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19722 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19723 $(HOST_EXPORTS) \
19724 $(POSTSTAGE1_HOST_EXPORTS) \
19725 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19726 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19727 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19728 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19730 cd $(HOST_SUBDIR)/intl || exit 1; \
19731 case $(srcdir) in \
19732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19733 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19735 esac; \
19736 module_srcdir=intl; \
19737 $(SHELL) $$s/$$module_srcdir/configure \
19738 --srcdir=$${topdir}/$$module_srcdir \
19739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19740 --target=${target_alias} \
19741 --with-build-libsubdir=$(HOST_SUBDIR) \
19742 $(STAGEtrain_CONFIGURE_FLAGS)
19743 @endif intl-bootstrap
19745 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19746 maybe-configure-stagefeedback-intl:
19747 @if intl-bootstrap
19748 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19749 configure-stagefeedback-intl:
19750 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19752 @r=`${PWD_COMMAND}`; export r; \
19753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19754 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19755 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19756 $(HOST_EXPORTS) \
19757 $(POSTSTAGE1_HOST_EXPORTS) \
19758 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19759 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19760 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19761 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19763 cd $(HOST_SUBDIR)/intl || exit 1; \
19764 case $(srcdir) in \
19765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19766 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19768 esac; \
19769 module_srcdir=intl; \
19770 $(SHELL) $$s/$$module_srcdir/configure \
19771 --srcdir=$${topdir}/$$module_srcdir \
19772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19773 --target=${target_alias} \
19774 --with-build-libsubdir=$(HOST_SUBDIR) \
19775 $(STAGEfeedback_CONFIGURE_FLAGS)
19776 @endif intl-bootstrap
19778 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19779 maybe-configure-stageautoprofile-intl:
19780 @if intl-bootstrap
19781 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19782 configure-stageautoprofile-intl:
19783 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19785 @r=`${PWD_COMMAND}`; export r; \
19786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19787 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19788 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19789 $(HOST_EXPORTS) \
19790 $(POSTSTAGE1_HOST_EXPORTS) \
19791 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19792 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19793 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19794 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19796 cd $(HOST_SUBDIR)/intl || exit 1; \
19797 case $(srcdir) in \
19798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19799 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19801 esac; \
19802 module_srcdir=intl; \
19803 $(SHELL) $$s/$$module_srcdir/configure \
19804 --srcdir=$${topdir}/$$module_srcdir \
19805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19806 --target=${target_alias} \
19807 --with-build-libsubdir=$(HOST_SUBDIR) \
19808 $(STAGEautoprofile_CONFIGURE_FLAGS)
19809 @endif intl-bootstrap
19811 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19812 maybe-configure-stageautofeedback-intl:
19813 @if intl-bootstrap
19814 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19815 configure-stageautofeedback-intl:
19816 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19818 @r=`${PWD_COMMAND}`; export r; \
19819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19820 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19821 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19822 $(HOST_EXPORTS) \
19823 $(POSTSTAGE1_HOST_EXPORTS) \
19824 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19825 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19826 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19827 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
19828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19829 cd $(HOST_SUBDIR)/intl || exit 1; \
19830 case $(srcdir) in \
19831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19832 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19834 esac; \
19835 module_srcdir=intl; \
19836 $(SHELL) $$s/$$module_srcdir/configure \
19837 --srcdir=$${topdir}/$$module_srcdir \
19838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19839 --target=${target_alias} \
19840 --with-build-libsubdir=$(HOST_SUBDIR) \
19841 $(STAGEautofeedback_CONFIGURE_FLAGS)
19842 @endif intl-bootstrap
19848 .PHONY: all-intl maybe-all-intl
19849 maybe-all-intl:
19850 @if gcc-bootstrap
19851 all-intl: stage_current
19852 @endif gcc-bootstrap
19853 @if intl
19854 TARGET-intl=all
19855 maybe-all-intl: all-intl
19856 all-intl: configure-intl
19857 @r=`${PWD_COMMAND}`; export r; \
19858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19859 $(HOST_EXPORTS) \
19860 (cd $(HOST_SUBDIR)/intl && \
19861 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19862 $(TARGET-intl))
19863 @endif intl
19867 .PHONY: all-stage1-intl maybe-all-stage1-intl
19868 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
19869 maybe-all-stage1-intl:
19870 maybe-clean-stage1-intl:
19871 @if intl-bootstrap
19872 maybe-all-stage1-intl: all-stage1-intl
19873 all-stage1: all-stage1-intl
19874 TARGET-stage1-intl = $(TARGET-intl)
19875 all-stage1-intl: configure-stage1-intl
19876 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19877 @r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19879 TFLAGS="$(STAGE1_TFLAGS)"; \
19880 $(HOST_EXPORTS) \
19881 cd $(HOST_SUBDIR)/intl && \
19883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19884 CFLAGS="$(STAGE1_CFLAGS)" \
19885 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19886 LIBCFLAGS="$(LIBCFLAGS)" \
19887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19890 $(EXTRA_HOST_FLAGS) \
19891 $(STAGE1_FLAGS_TO_PASS) \
19892 TFLAGS="$(STAGE1_TFLAGS)" \
19893 $(TARGET-stage1-intl)
19895 maybe-clean-stage1-intl: clean-stage1-intl
19896 clean-stage1: clean-stage1-intl
19897 clean-stage1-intl:
19898 @if [ $(current_stage) = stage1 ]; then \
19899 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19900 else \
19901 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
19902 $(MAKE) stage1-start; \
19903 fi; \
19904 cd $(HOST_SUBDIR)/intl && \
19905 $(MAKE) $(EXTRA_HOST_FLAGS) \
19906 $(STAGE1_FLAGS_TO_PASS) clean
19907 @endif intl-bootstrap
19910 .PHONY: all-stage2-intl maybe-all-stage2-intl
19911 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
19912 maybe-all-stage2-intl:
19913 maybe-clean-stage2-intl:
19914 @if intl-bootstrap
19915 maybe-all-stage2-intl: all-stage2-intl
19916 all-stage2: all-stage2-intl
19917 TARGET-stage2-intl = $(TARGET-intl)
19918 all-stage2-intl: configure-stage2-intl
19919 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19920 @r=`${PWD_COMMAND}`; export r; \
19921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19922 TFLAGS="$(STAGE2_TFLAGS)"; \
19923 $(HOST_EXPORTS) \
19924 $(POSTSTAGE1_HOST_EXPORTS) \
19925 cd $(HOST_SUBDIR)/intl && \
19927 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19928 CFLAGS="$(STAGE2_CFLAGS)" \
19929 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19930 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19931 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19932 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19933 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19934 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19935 TFLAGS="$(STAGE2_TFLAGS)" \
19936 $(TARGET-stage2-intl)
19938 maybe-clean-stage2-intl: clean-stage2-intl
19939 clean-stage2: clean-stage2-intl
19940 clean-stage2-intl:
19941 @if [ $(current_stage) = stage2 ]; then \
19942 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19943 else \
19944 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
19945 $(MAKE) stage2-start; \
19946 fi; \
19947 cd $(HOST_SUBDIR)/intl && \
19948 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19949 @endif intl-bootstrap
19952 .PHONY: all-stage3-intl maybe-all-stage3-intl
19953 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19954 maybe-all-stage3-intl:
19955 maybe-clean-stage3-intl:
19956 @if intl-bootstrap
19957 maybe-all-stage3-intl: all-stage3-intl
19958 all-stage3: all-stage3-intl
19959 TARGET-stage3-intl = $(TARGET-intl)
19960 all-stage3-intl: configure-stage3-intl
19961 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19962 @r=`${PWD_COMMAND}`; export r; \
19963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19964 TFLAGS="$(STAGE3_TFLAGS)"; \
19965 $(HOST_EXPORTS) \
19966 $(POSTSTAGE1_HOST_EXPORTS) \
19967 cd $(HOST_SUBDIR)/intl && \
19969 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19970 CFLAGS="$(STAGE3_CFLAGS)" \
19971 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19972 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19973 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19974 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19975 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19976 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19977 TFLAGS="$(STAGE3_TFLAGS)" \
19978 $(TARGET-stage3-intl)
19980 maybe-clean-stage3-intl: clean-stage3-intl
19981 clean-stage3: clean-stage3-intl
19982 clean-stage3-intl:
19983 @if [ $(current_stage) = stage3 ]; then \
19984 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19985 else \
19986 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
19987 $(MAKE) stage3-start; \
19988 fi; \
19989 cd $(HOST_SUBDIR)/intl && \
19990 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19991 @endif intl-bootstrap
19994 .PHONY: all-stage4-intl maybe-all-stage4-intl
19995 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
19996 maybe-all-stage4-intl:
19997 maybe-clean-stage4-intl:
19998 @if intl-bootstrap
19999 maybe-all-stage4-intl: all-stage4-intl
20000 all-stage4: all-stage4-intl
20001 TARGET-stage4-intl = $(TARGET-intl)
20002 all-stage4-intl: configure-stage4-intl
20003 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20004 @r=`${PWD_COMMAND}`; export r; \
20005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20006 TFLAGS="$(STAGE4_TFLAGS)"; \
20007 $(HOST_EXPORTS) \
20008 $(POSTSTAGE1_HOST_EXPORTS) \
20009 cd $(HOST_SUBDIR)/intl && \
20011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20012 CFLAGS="$(STAGE4_CFLAGS)" \
20013 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20014 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20018 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20019 TFLAGS="$(STAGE4_TFLAGS)" \
20020 $(TARGET-stage4-intl)
20022 maybe-clean-stage4-intl: clean-stage4-intl
20023 clean-stage4: clean-stage4-intl
20024 clean-stage4-intl:
20025 @if [ $(current_stage) = stage4 ]; then \
20026 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20027 else \
20028 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20029 $(MAKE) stage4-start; \
20030 fi; \
20031 cd $(HOST_SUBDIR)/intl && \
20032 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20033 @endif intl-bootstrap
20036 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20037 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20038 maybe-all-stageprofile-intl:
20039 maybe-clean-stageprofile-intl:
20040 @if intl-bootstrap
20041 maybe-all-stageprofile-intl: all-stageprofile-intl
20042 all-stageprofile: all-stageprofile-intl
20043 TARGET-stageprofile-intl = $(TARGET-intl)
20044 all-stageprofile-intl: configure-stageprofile-intl
20045 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20046 @r=`${PWD_COMMAND}`; export r; \
20047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20048 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20049 $(HOST_EXPORTS) \
20050 $(POSTSTAGE1_HOST_EXPORTS) \
20051 cd $(HOST_SUBDIR)/intl && \
20053 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20054 CFLAGS="$(STAGEprofile_CFLAGS)" \
20055 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20056 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20057 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20058 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20059 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20060 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20061 TFLAGS="$(STAGEprofile_TFLAGS)" \
20062 $(TARGET-stageprofile-intl)
20064 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20065 clean-stageprofile: clean-stageprofile-intl
20066 clean-stageprofile-intl:
20067 @if [ $(current_stage) = stageprofile ]; then \
20068 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20069 else \
20070 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20071 $(MAKE) stageprofile-start; \
20072 fi; \
20073 cd $(HOST_SUBDIR)/intl && \
20074 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20075 @endif intl-bootstrap
20078 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20079 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20080 maybe-all-stagetrain-intl:
20081 maybe-clean-stagetrain-intl:
20082 @if intl-bootstrap
20083 maybe-all-stagetrain-intl: all-stagetrain-intl
20084 all-stagetrain: all-stagetrain-intl
20085 TARGET-stagetrain-intl = $(TARGET-intl)
20086 all-stagetrain-intl: configure-stagetrain-intl
20087 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20088 @r=`${PWD_COMMAND}`; export r; \
20089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20090 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20091 $(HOST_EXPORTS) \
20092 $(POSTSTAGE1_HOST_EXPORTS) \
20093 cd $(HOST_SUBDIR)/intl && \
20095 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20096 CFLAGS="$(STAGEtrain_CFLAGS)" \
20097 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20098 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20099 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20100 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20101 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20102 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20103 TFLAGS="$(STAGEtrain_TFLAGS)" \
20104 $(TARGET-stagetrain-intl)
20106 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20107 clean-stagetrain: clean-stagetrain-intl
20108 clean-stagetrain-intl:
20109 @if [ $(current_stage) = stagetrain ]; then \
20110 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20111 else \
20112 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20113 $(MAKE) stagetrain-start; \
20114 fi; \
20115 cd $(HOST_SUBDIR)/intl && \
20116 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20117 @endif intl-bootstrap
20120 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20121 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20122 maybe-all-stagefeedback-intl:
20123 maybe-clean-stagefeedback-intl:
20124 @if intl-bootstrap
20125 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20126 all-stagefeedback: all-stagefeedback-intl
20127 TARGET-stagefeedback-intl = $(TARGET-intl)
20128 all-stagefeedback-intl: configure-stagefeedback-intl
20129 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20130 @r=`${PWD_COMMAND}`; export r; \
20131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20132 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20133 $(HOST_EXPORTS) \
20134 $(POSTSTAGE1_HOST_EXPORTS) \
20135 cd $(HOST_SUBDIR)/intl && \
20137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20138 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20139 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20140 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20145 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20146 $(TARGET-stagefeedback-intl)
20148 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20149 clean-stagefeedback: clean-stagefeedback-intl
20150 clean-stagefeedback-intl:
20151 @if [ $(current_stage) = stagefeedback ]; then \
20152 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20153 else \
20154 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20155 $(MAKE) stagefeedback-start; \
20156 fi; \
20157 cd $(HOST_SUBDIR)/intl && \
20158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20159 @endif intl-bootstrap
20162 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20163 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20164 maybe-all-stageautoprofile-intl:
20165 maybe-clean-stageautoprofile-intl:
20166 @if intl-bootstrap
20167 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20168 all-stageautoprofile: all-stageautoprofile-intl
20169 TARGET-stageautoprofile-intl = $(TARGET-intl)
20170 all-stageautoprofile-intl: configure-stageautoprofile-intl
20171 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20172 @r=`${PWD_COMMAND}`; export r; \
20173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20174 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20175 $(HOST_EXPORTS) \
20176 $(POSTSTAGE1_HOST_EXPORTS) \
20177 cd $(HOST_SUBDIR)/intl && \
20178 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20180 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20181 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20182 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20187 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20188 $(TARGET-stageautoprofile-intl)
20190 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20191 clean-stageautoprofile: clean-stageautoprofile-intl
20192 clean-stageautoprofile-intl:
20193 @if [ $(current_stage) = stageautoprofile ]; then \
20194 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20195 else \
20196 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20197 $(MAKE) stageautoprofile-start; \
20198 fi; \
20199 cd $(HOST_SUBDIR)/intl && \
20200 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20201 @endif intl-bootstrap
20204 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20205 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20206 maybe-all-stageautofeedback-intl:
20207 maybe-clean-stageautofeedback-intl:
20208 @if intl-bootstrap
20209 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20210 all-stageautofeedback: all-stageautofeedback-intl
20211 TARGET-stageautofeedback-intl = $(TARGET-intl)
20212 all-stageautofeedback-intl: configure-stageautofeedback-intl
20213 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20214 @r=`${PWD_COMMAND}`; export r; \
20215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20216 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20217 $(HOST_EXPORTS) \
20218 $(POSTSTAGE1_HOST_EXPORTS) \
20219 cd $(HOST_SUBDIR)/intl && \
20221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20222 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20223 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20224 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20225 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20226 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20227 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20228 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20229 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20230 $(TARGET-stageautofeedback-intl)
20232 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20233 clean-stageautofeedback: clean-stageautofeedback-intl
20234 clean-stageautofeedback-intl:
20235 @if [ $(current_stage) = stageautofeedback ]; then \
20236 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20237 else \
20238 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20239 $(MAKE) stageautofeedback-start; \
20240 fi; \
20241 cd $(HOST_SUBDIR)/intl && \
20242 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20243 @endif intl-bootstrap
20249 .PHONY: check-intl maybe-check-intl
20250 maybe-check-intl:
20251 @if intl
20252 maybe-check-intl: check-intl
20254 check-intl:
20255 @: $(MAKE); $(unstage)
20256 @r=`${PWD_COMMAND}`; export r; \
20257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20259 (cd $(HOST_SUBDIR)/intl && \
20260 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20262 @endif intl
20264 .PHONY: install-intl maybe-install-intl
20265 maybe-install-intl:
20266 @if intl
20267 maybe-install-intl: install-intl
20269 install-intl: installdirs
20270 @: $(MAKE); $(unstage)
20271 @r=`${PWD_COMMAND}`; export r; \
20272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20273 $(HOST_EXPORTS) \
20274 (cd $(HOST_SUBDIR)/intl && \
20275 $(MAKE) $(FLAGS_TO_PASS) install)
20277 @endif intl
20279 .PHONY: install-strip-intl maybe-install-strip-intl
20280 maybe-install-strip-intl:
20281 @if intl
20282 maybe-install-strip-intl: install-strip-intl
20284 install-strip-intl: installdirs
20285 @: $(MAKE); $(unstage)
20286 @r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 $(HOST_EXPORTS) \
20289 (cd $(HOST_SUBDIR)/intl && \
20290 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20292 @endif intl
20294 # Other targets (info, dvi, pdf, etc.)
20296 .PHONY: maybe-info-intl info-intl
20297 maybe-info-intl:
20298 @if intl
20299 maybe-info-intl: info-intl
20301 info-intl: \
20302 configure-intl
20303 @[ -f ./intl/Makefile ] || exit 0; \
20304 r=`${PWD_COMMAND}`; export r; \
20305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20306 $(HOST_EXPORTS) \
20307 for flag in $(EXTRA_HOST_FLAGS) ; do \
20308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20309 done; \
20310 echo "Doing info in intl"; \
20311 (cd $(HOST_SUBDIR)/intl && \
20312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20314 "RANLIB=$${RANLIB}" \
20315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20316 info) \
20317 || exit 1
20319 @endif intl
20321 .PHONY: maybe-dvi-intl dvi-intl
20322 maybe-dvi-intl:
20323 @if intl
20324 maybe-dvi-intl: dvi-intl
20326 dvi-intl: \
20327 configure-intl
20328 @[ -f ./intl/Makefile ] || exit 0; \
20329 r=`${PWD_COMMAND}`; export r; \
20330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20331 $(HOST_EXPORTS) \
20332 for flag in $(EXTRA_HOST_FLAGS) ; do \
20333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20334 done; \
20335 echo "Doing dvi in intl"; \
20336 (cd $(HOST_SUBDIR)/intl && \
20337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20339 "RANLIB=$${RANLIB}" \
20340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20341 dvi) \
20342 || exit 1
20344 @endif intl
20346 .PHONY: maybe-pdf-intl pdf-intl
20347 maybe-pdf-intl:
20348 @if intl
20349 maybe-pdf-intl: pdf-intl
20351 pdf-intl: \
20352 configure-intl
20353 @[ -f ./intl/Makefile ] || exit 0; \
20354 r=`${PWD_COMMAND}`; export r; \
20355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20356 $(HOST_EXPORTS) \
20357 for flag in $(EXTRA_HOST_FLAGS) ; do \
20358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20359 done; \
20360 echo "Doing pdf in intl"; \
20361 (cd $(HOST_SUBDIR)/intl && \
20362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20364 "RANLIB=$${RANLIB}" \
20365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20366 pdf) \
20367 || exit 1
20369 @endif intl
20371 .PHONY: maybe-html-intl html-intl
20372 maybe-html-intl:
20373 @if intl
20374 maybe-html-intl: html-intl
20376 html-intl: \
20377 configure-intl
20378 @[ -f ./intl/Makefile ] || exit 0; \
20379 r=`${PWD_COMMAND}`; export r; \
20380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20381 $(HOST_EXPORTS) \
20382 for flag in $(EXTRA_HOST_FLAGS) ; do \
20383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20384 done; \
20385 echo "Doing html in intl"; \
20386 (cd $(HOST_SUBDIR)/intl && \
20387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20389 "RANLIB=$${RANLIB}" \
20390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20391 html) \
20392 || exit 1
20394 @endif intl
20396 .PHONY: maybe-TAGS-intl TAGS-intl
20397 maybe-TAGS-intl:
20398 @if intl
20399 maybe-TAGS-intl: TAGS-intl
20401 TAGS-intl: \
20402 configure-intl
20403 @[ -f ./intl/Makefile ] || exit 0; \
20404 r=`${PWD_COMMAND}`; export r; \
20405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 $(HOST_EXPORTS) \
20407 for flag in $(EXTRA_HOST_FLAGS) ; do \
20408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20409 done; \
20410 echo "Doing TAGS in intl"; \
20411 (cd $(HOST_SUBDIR)/intl && \
20412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20414 "RANLIB=$${RANLIB}" \
20415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20416 TAGS) \
20417 || exit 1
20419 @endif intl
20421 .PHONY: maybe-install-info-intl install-info-intl
20422 maybe-install-info-intl:
20423 @if intl
20424 maybe-install-info-intl: install-info-intl
20426 install-info-intl: \
20427 configure-intl \
20428 info-intl
20429 @[ -f ./intl/Makefile ] || exit 0; \
20430 r=`${PWD_COMMAND}`; export r; \
20431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20432 $(HOST_EXPORTS) \
20433 for flag in $(EXTRA_HOST_FLAGS) ; do \
20434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20435 done; \
20436 echo "Doing install-info in intl"; \
20437 (cd $(HOST_SUBDIR)/intl && \
20438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20440 "RANLIB=$${RANLIB}" \
20441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20442 install-info) \
20443 || exit 1
20445 @endif intl
20447 .PHONY: maybe-install-pdf-intl install-pdf-intl
20448 maybe-install-pdf-intl:
20449 @if intl
20450 maybe-install-pdf-intl: install-pdf-intl
20452 install-pdf-intl: \
20453 configure-intl \
20454 pdf-intl
20455 @[ -f ./intl/Makefile ] || exit 0; \
20456 r=`${PWD_COMMAND}`; export r; \
20457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20458 $(HOST_EXPORTS) \
20459 for flag in $(EXTRA_HOST_FLAGS) ; do \
20460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20461 done; \
20462 echo "Doing install-pdf in intl"; \
20463 (cd $(HOST_SUBDIR)/intl && \
20464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20466 "RANLIB=$${RANLIB}" \
20467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20468 install-pdf) \
20469 || exit 1
20471 @endif intl
20473 .PHONY: maybe-install-html-intl install-html-intl
20474 maybe-install-html-intl:
20475 @if intl
20476 maybe-install-html-intl: install-html-intl
20478 install-html-intl: \
20479 configure-intl \
20480 html-intl
20481 @[ -f ./intl/Makefile ] || exit 0; \
20482 r=`${PWD_COMMAND}`; export r; \
20483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20484 $(HOST_EXPORTS) \
20485 for flag in $(EXTRA_HOST_FLAGS) ; do \
20486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20487 done; \
20488 echo "Doing install-html in intl"; \
20489 (cd $(HOST_SUBDIR)/intl && \
20490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20492 "RANLIB=$${RANLIB}" \
20493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20494 install-html) \
20495 || exit 1
20497 @endif intl
20499 .PHONY: maybe-installcheck-intl installcheck-intl
20500 maybe-installcheck-intl:
20501 @if intl
20502 maybe-installcheck-intl: installcheck-intl
20504 installcheck-intl: \
20505 configure-intl
20506 @[ -f ./intl/Makefile ] || exit 0; \
20507 r=`${PWD_COMMAND}`; export r; \
20508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20509 $(HOST_EXPORTS) \
20510 for flag in $(EXTRA_HOST_FLAGS) ; do \
20511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20512 done; \
20513 echo "Doing installcheck in intl"; \
20514 (cd $(HOST_SUBDIR)/intl && \
20515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20517 "RANLIB=$${RANLIB}" \
20518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20519 installcheck) \
20520 || exit 1
20522 @endif intl
20524 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20525 maybe-mostlyclean-intl:
20526 @if intl
20527 maybe-mostlyclean-intl: mostlyclean-intl
20529 mostlyclean-intl:
20530 @[ -f ./intl/Makefile ] || exit 0; \
20531 r=`${PWD_COMMAND}`; export r; \
20532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20533 $(HOST_EXPORTS) \
20534 for flag in $(EXTRA_HOST_FLAGS) ; do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20536 done; \
20537 echo "Doing mostlyclean in intl"; \
20538 (cd $(HOST_SUBDIR)/intl && \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20543 mostlyclean) \
20544 || exit 1
20546 @endif intl
20548 .PHONY: maybe-clean-intl clean-intl
20549 maybe-clean-intl:
20550 @if intl
20551 maybe-clean-intl: clean-intl
20553 clean-intl:
20554 @[ -f ./intl/Makefile ] || exit 0; \
20555 r=`${PWD_COMMAND}`; export r; \
20556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20557 $(HOST_EXPORTS) \
20558 for flag in $(EXTRA_HOST_FLAGS) ; do \
20559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20560 done; \
20561 echo "Doing clean in intl"; \
20562 (cd $(HOST_SUBDIR)/intl && \
20563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20565 "RANLIB=$${RANLIB}" \
20566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20567 clean) \
20568 || exit 1
20570 @endif intl
20572 .PHONY: maybe-distclean-intl distclean-intl
20573 maybe-distclean-intl:
20574 @if intl
20575 maybe-distclean-intl: distclean-intl
20577 distclean-intl:
20578 @[ -f ./intl/Makefile ] || exit 0; \
20579 r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581 $(HOST_EXPORTS) \
20582 for flag in $(EXTRA_HOST_FLAGS) ; do \
20583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20584 done; \
20585 echo "Doing distclean in intl"; \
20586 (cd $(HOST_SUBDIR)/intl && \
20587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20589 "RANLIB=$${RANLIB}" \
20590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20591 distclean) \
20592 || exit 1
20594 @endif intl
20596 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20597 maybe-maintainer-clean-intl:
20598 @if intl
20599 maybe-maintainer-clean-intl: maintainer-clean-intl
20601 maintainer-clean-intl:
20602 @[ -f ./intl/Makefile ] || exit 0; \
20603 r=`${PWD_COMMAND}`; export r; \
20604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20605 $(HOST_EXPORTS) \
20606 for flag in $(EXTRA_HOST_FLAGS) ; do \
20607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20608 done; \
20609 echo "Doing maintainer-clean in intl"; \
20610 (cd $(HOST_SUBDIR)/intl && \
20611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20613 "RANLIB=$${RANLIB}" \
20614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20615 maintainer-clean) \
20616 || exit 1
20618 @endif intl
20622 .PHONY: configure-tcl maybe-configure-tcl
20623 maybe-configure-tcl:
20624 @if gcc-bootstrap
20625 configure-tcl: stage_current
20626 @endif gcc-bootstrap
20627 @if tcl
20628 maybe-configure-tcl: configure-tcl
20629 configure-tcl:
20630 @: $(MAKE); $(unstage)
20631 @r=`${PWD_COMMAND}`; export r; \
20632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20633 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20635 $(HOST_EXPORTS) \
20636 echo Configuring in $(HOST_SUBDIR)/tcl; \
20637 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20638 case $(srcdir) in \
20639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20640 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20642 esac; \
20643 module_srcdir=tcl; \
20644 $(SHELL) \
20645 $$s/$$module_srcdir/configure \
20646 --srcdir=$${topdir}/$$module_srcdir \
20647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20648 --target=${target_alias} \
20649 || exit 1
20650 @endif tcl
20656 .PHONY: all-tcl maybe-all-tcl
20657 maybe-all-tcl:
20658 @if gcc-bootstrap
20659 all-tcl: stage_current
20660 @endif gcc-bootstrap
20661 @if tcl
20662 TARGET-tcl=all
20663 maybe-all-tcl: all-tcl
20664 all-tcl: configure-tcl
20665 @: $(MAKE); $(unstage)
20666 @r=`${PWD_COMMAND}`; export r; \
20667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20668 $(HOST_EXPORTS) \
20669 (cd $(HOST_SUBDIR)/tcl && \
20670 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20671 $(TARGET-tcl))
20672 @endif tcl
20677 .PHONY: check-tcl maybe-check-tcl
20678 maybe-check-tcl:
20679 @if tcl
20680 maybe-check-tcl: check-tcl
20682 check-tcl:
20683 @: $(MAKE); $(unstage)
20684 @r=`${PWD_COMMAND}`; export r; \
20685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20686 $(HOST_EXPORTS) \
20687 (cd $(HOST_SUBDIR)/tcl && \
20688 $(MAKE) $(FLAGS_TO_PASS) check)
20690 @endif tcl
20692 .PHONY: install-tcl maybe-install-tcl
20693 maybe-install-tcl:
20694 @if tcl
20695 maybe-install-tcl: install-tcl
20697 install-tcl: installdirs
20698 @: $(MAKE); $(unstage)
20699 @r=`${PWD_COMMAND}`; export r; \
20700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20701 $(HOST_EXPORTS) \
20702 (cd $(HOST_SUBDIR)/tcl && \
20703 $(MAKE) $(FLAGS_TO_PASS) install)
20705 @endif tcl
20707 .PHONY: install-strip-tcl maybe-install-strip-tcl
20708 maybe-install-strip-tcl:
20709 @if tcl
20710 maybe-install-strip-tcl: install-strip-tcl
20712 install-strip-tcl: installdirs
20713 @: $(MAKE); $(unstage)
20714 @r=`${PWD_COMMAND}`; export r; \
20715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20716 $(HOST_EXPORTS) \
20717 (cd $(HOST_SUBDIR)/tcl && \
20718 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20720 @endif tcl
20722 # Other targets (info, dvi, pdf, etc.)
20724 .PHONY: maybe-info-tcl info-tcl
20725 maybe-info-tcl:
20726 @if tcl
20727 maybe-info-tcl: info-tcl
20729 info-tcl: \
20730 configure-tcl
20731 @: $(MAKE); $(unstage)
20732 @[ -f ./tcl/Makefile ] || exit 0; \
20733 r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 $(HOST_EXPORTS) \
20736 for flag in $(EXTRA_HOST_FLAGS) ; do \
20737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20738 done; \
20739 echo "Doing info in tcl"; \
20740 (cd $(HOST_SUBDIR)/tcl && \
20741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20743 "RANLIB=$${RANLIB}" \
20744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20745 info) \
20746 || exit 1
20748 @endif tcl
20750 .PHONY: maybe-dvi-tcl dvi-tcl
20751 maybe-dvi-tcl:
20752 @if tcl
20753 maybe-dvi-tcl: dvi-tcl
20755 dvi-tcl: \
20756 configure-tcl
20757 @: $(MAKE); $(unstage)
20758 @[ -f ./tcl/Makefile ] || exit 0; \
20759 r=`${PWD_COMMAND}`; export r; \
20760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20761 $(HOST_EXPORTS) \
20762 for flag in $(EXTRA_HOST_FLAGS) ; do \
20763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20764 done; \
20765 echo "Doing dvi in tcl"; \
20766 (cd $(HOST_SUBDIR)/tcl && \
20767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20769 "RANLIB=$${RANLIB}" \
20770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20771 dvi) \
20772 || exit 1
20774 @endif tcl
20776 .PHONY: maybe-pdf-tcl pdf-tcl
20777 maybe-pdf-tcl:
20778 @if tcl
20779 maybe-pdf-tcl: pdf-tcl
20781 pdf-tcl: \
20782 configure-tcl
20783 @: $(MAKE); $(unstage)
20784 @[ -f ./tcl/Makefile ] || exit 0; \
20785 r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787 $(HOST_EXPORTS) \
20788 for flag in $(EXTRA_HOST_FLAGS) ; do \
20789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20790 done; \
20791 echo "Doing pdf in tcl"; \
20792 (cd $(HOST_SUBDIR)/tcl && \
20793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20795 "RANLIB=$${RANLIB}" \
20796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20797 pdf) \
20798 || exit 1
20800 @endif tcl
20802 .PHONY: maybe-html-tcl html-tcl
20803 maybe-html-tcl:
20804 @if tcl
20805 maybe-html-tcl: html-tcl
20807 html-tcl: \
20808 configure-tcl
20809 @: $(MAKE); $(unstage)
20810 @[ -f ./tcl/Makefile ] || exit 0; \
20811 r=`${PWD_COMMAND}`; export r; \
20812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20813 $(HOST_EXPORTS) \
20814 for flag in $(EXTRA_HOST_FLAGS) ; do \
20815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20816 done; \
20817 echo "Doing html in tcl"; \
20818 (cd $(HOST_SUBDIR)/tcl && \
20819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20821 "RANLIB=$${RANLIB}" \
20822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20823 html) \
20824 || exit 1
20826 @endif tcl
20828 .PHONY: maybe-TAGS-tcl TAGS-tcl
20829 maybe-TAGS-tcl:
20830 @if tcl
20831 maybe-TAGS-tcl: TAGS-tcl
20833 TAGS-tcl: \
20834 configure-tcl
20835 @: $(MAKE); $(unstage)
20836 @[ -f ./tcl/Makefile ] || exit 0; \
20837 r=`${PWD_COMMAND}`; export r; \
20838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20839 $(HOST_EXPORTS) \
20840 for flag in $(EXTRA_HOST_FLAGS) ; do \
20841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20842 done; \
20843 echo "Doing TAGS in tcl"; \
20844 (cd $(HOST_SUBDIR)/tcl && \
20845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20847 "RANLIB=$${RANLIB}" \
20848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20849 TAGS) \
20850 || exit 1
20852 @endif tcl
20854 .PHONY: maybe-install-info-tcl install-info-tcl
20855 maybe-install-info-tcl:
20856 @if tcl
20857 maybe-install-info-tcl: install-info-tcl
20859 install-info-tcl: \
20860 configure-tcl \
20861 info-tcl
20862 @: $(MAKE); $(unstage)
20863 @[ -f ./tcl/Makefile ] || exit 0; \
20864 r=`${PWD_COMMAND}`; export r; \
20865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20866 $(HOST_EXPORTS) \
20867 for flag in $(EXTRA_HOST_FLAGS) ; do \
20868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20869 done; \
20870 echo "Doing install-info in tcl"; \
20871 (cd $(HOST_SUBDIR)/tcl && \
20872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20874 "RANLIB=$${RANLIB}" \
20875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20876 install-info) \
20877 || exit 1
20879 @endif tcl
20881 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
20882 maybe-install-pdf-tcl:
20883 @if tcl
20884 maybe-install-pdf-tcl: install-pdf-tcl
20886 install-pdf-tcl: \
20887 configure-tcl \
20888 pdf-tcl
20889 @: $(MAKE); $(unstage)
20890 @[ -f ./tcl/Makefile ] || exit 0; \
20891 r=`${PWD_COMMAND}`; export r; \
20892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20893 $(HOST_EXPORTS) \
20894 for flag in $(EXTRA_HOST_FLAGS) ; do \
20895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20896 done; \
20897 echo "Doing install-pdf in tcl"; \
20898 (cd $(HOST_SUBDIR)/tcl && \
20899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20901 "RANLIB=$${RANLIB}" \
20902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20903 install-pdf) \
20904 || exit 1
20906 @endif tcl
20908 .PHONY: maybe-install-html-tcl install-html-tcl
20909 maybe-install-html-tcl:
20910 @if tcl
20911 maybe-install-html-tcl: install-html-tcl
20913 install-html-tcl: \
20914 configure-tcl \
20915 html-tcl
20916 @: $(MAKE); $(unstage)
20917 @[ -f ./tcl/Makefile ] || exit 0; \
20918 r=`${PWD_COMMAND}`; export r; \
20919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20920 $(HOST_EXPORTS) \
20921 for flag in $(EXTRA_HOST_FLAGS) ; do \
20922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20923 done; \
20924 echo "Doing install-html in tcl"; \
20925 (cd $(HOST_SUBDIR)/tcl && \
20926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20928 "RANLIB=$${RANLIB}" \
20929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20930 install-html) \
20931 || exit 1
20933 @endif tcl
20935 .PHONY: maybe-installcheck-tcl installcheck-tcl
20936 maybe-installcheck-tcl:
20937 @if tcl
20938 maybe-installcheck-tcl: installcheck-tcl
20940 installcheck-tcl: \
20941 configure-tcl
20942 @: $(MAKE); $(unstage)
20943 @[ -f ./tcl/Makefile ] || exit 0; \
20944 r=`${PWD_COMMAND}`; export r; \
20945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20946 $(HOST_EXPORTS) \
20947 for flag in $(EXTRA_HOST_FLAGS) ; do \
20948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20949 done; \
20950 echo "Doing installcheck in tcl"; \
20951 (cd $(HOST_SUBDIR)/tcl && \
20952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20954 "RANLIB=$${RANLIB}" \
20955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20956 installcheck) \
20957 || exit 1
20959 @endif tcl
20961 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
20962 maybe-mostlyclean-tcl:
20963 @if tcl
20964 maybe-mostlyclean-tcl: mostlyclean-tcl
20966 # tcl doesn't support mostlyclean.
20967 mostlyclean-tcl:
20969 @endif tcl
20971 .PHONY: maybe-clean-tcl clean-tcl
20972 maybe-clean-tcl:
20973 @if tcl
20974 maybe-clean-tcl: clean-tcl
20976 clean-tcl:
20977 @: $(MAKE); $(unstage)
20978 @[ -f ./tcl/Makefile ] || exit 0; \
20979 r=`${PWD_COMMAND}`; export r; \
20980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20981 $(HOST_EXPORTS) \
20982 for flag in $(EXTRA_HOST_FLAGS) ; do \
20983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20984 done; \
20985 echo "Doing clean in tcl"; \
20986 (cd $(HOST_SUBDIR)/tcl && \
20987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20989 "RANLIB=$${RANLIB}" \
20990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20991 clean) \
20992 || exit 1
20994 @endif tcl
20996 .PHONY: maybe-distclean-tcl distclean-tcl
20997 maybe-distclean-tcl:
20998 @if tcl
20999 maybe-distclean-tcl: distclean-tcl
21001 distclean-tcl:
21002 @: $(MAKE); $(unstage)
21003 @[ -f ./tcl/Makefile ] || exit 0; \
21004 r=`${PWD_COMMAND}`; export r; \
21005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21006 $(HOST_EXPORTS) \
21007 for flag in $(EXTRA_HOST_FLAGS) ; do \
21008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21009 done; \
21010 echo "Doing distclean in tcl"; \
21011 (cd $(HOST_SUBDIR)/tcl && \
21012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21014 "RANLIB=$${RANLIB}" \
21015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21016 distclean) \
21017 || exit 1
21019 @endif tcl
21021 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21022 maybe-maintainer-clean-tcl:
21023 @if tcl
21024 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21026 maintainer-clean-tcl:
21027 @: $(MAKE); $(unstage)
21028 @[ -f ./tcl/Makefile ] || exit 0; \
21029 r=`${PWD_COMMAND}`; export r; \
21030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21031 $(HOST_EXPORTS) \
21032 for flag in $(EXTRA_HOST_FLAGS) ; do \
21033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21034 done; \
21035 echo "Doing maintainer-clean in tcl"; \
21036 (cd $(HOST_SUBDIR)/tcl && \
21037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21039 "RANLIB=$${RANLIB}" \
21040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21041 maintainer-clean) \
21042 || exit 1
21044 @endif tcl
21048 .PHONY: configure-itcl maybe-configure-itcl
21049 maybe-configure-itcl:
21050 @if gcc-bootstrap
21051 configure-itcl: stage_current
21052 @endif gcc-bootstrap
21053 @if itcl
21054 maybe-configure-itcl: configure-itcl
21055 configure-itcl:
21056 @: $(MAKE); $(unstage)
21057 @r=`${PWD_COMMAND}`; export r; \
21058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21059 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21061 $(HOST_EXPORTS) \
21062 echo Configuring in $(HOST_SUBDIR)/itcl; \
21063 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21064 case $(srcdir) in \
21065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21066 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21068 esac; \
21069 module_srcdir=itcl; \
21070 $(SHELL) \
21071 $$s/$$module_srcdir/configure \
21072 --srcdir=$${topdir}/$$module_srcdir \
21073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21074 --target=${target_alias} \
21075 || exit 1
21076 @endif itcl
21082 .PHONY: all-itcl maybe-all-itcl
21083 maybe-all-itcl:
21084 @if gcc-bootstrap
21085 all-itcl: stage_current
21086 @endif gcc-bootstrap
21087 @if itcl
21088 TARGET-itcl=all
21089 maybe-all-itcl: all-itcl
21090 all-itcl: configure-itcl
21091 @: $(MAKE); $(unstage)
21092 @r=`${PWD_COMMAND}`; export r; \
21093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21094 $(HOST_EXPORTS) \
21095 (cd $(HOST_SUBDIR)/itcl && \
21096 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21097 $(TARGET-itcl))
21098 @endif itcl
21103 .PHONY: check-itcl maybe-check-itcl
21104 maybe-check-itcl:
21105 @if itcl
21106 maybe-check-itcl: check-itcl
21108 check-itcl:
21109 @: $(MAKE); $(unstage)
21110 @r=`${PWD_COMMAND}`; export r; \
21111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21112 $(HOST_EXPORTS) \
21113 (cd $(HOST_SUBDIR)/itcl && \
21114 $(MAKE) $(FLAGS_TO_PASS) check)
21116 @endif itcl
21118 .PHONY: install-itcl maybe-install-itcl
21119 maybe-install-itcl:
21120 @if itcl
21121 maybe-install-itcl: install-itcl
21123 install-itcl: installdirs
21124 @: $(MAKE); $(unstage)
21125 @r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21127 $(HOST_EXPORTS) \
21128 (cd $(HOST_SUBDIR)/itcl && \
21129 $(MAKE) $(FLAGS_TO_PASS) install)
21131 @endif itcl
21133 .PHONY: install-strip-itcl maybe-install-strip-itcl
21134 maybe-install-strip-itcl:
21135 @if itcl
21136 maybe-install-strip-itcl: install-strip-itcl
21138 install-strip-itcl: installdirs
21139 @: $(MAKE); $(unstage)
21140 @r=`${PWD_COMMAND}`; export r; \
21141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21142 $(HOST_EXPORTS) \
21143 (cd $(HOST_SUBDIR)/itcl && \
21144 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21146 @endif itcl
21148 # Other targets (info, dvi, pdf, etc.)
21150 .PHONY: maybe-info-itcl info-itcl
21151 maybe-info-itcl:
21152 @if itcl
21153 maybe-info-itcl: info-itcl
21155 info-itcl: \
21156 configure-itcl
21157 @: $(MAKE); $(unstage)
21158 @[ -f ./itcl/Makefile ] || exit 0; \
21159 r=`${PWD_COMMAND}`; export r; \
21160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21161 $(HOST_EXPORTS) \
21162 for flag in $(EXTRA_HOST_FLAGS) ; do \
21163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21164 done; \
21165 echo "Doing info in itcl"; \
21166 (cd $(HOST_SUBDIR)/itcl && \
21167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21169 "RANLIB=$${RANLIB}" \
21170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21171 info) \
21172 || exit 1
21174 @endif itcl
21176 .PHONY: maybe-dvi-itcl dvi-itcl
21177 maybe-dvi-itcl:
21178 @if itcl
21179 maybe-dvi-itcl: dvi-itcl
21181 dvi-itcl: \
21182 configure-itcl
21183 @: $(MAKE); $(unstage)
21184 @[ -f ./itcl/Makefile ] || exit 0; \
21185 r=`${PWD_COMMAND}`; export r; \
21186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21187 $(HOST_EXPORTS) \
21188 for flag in $(EXTRA_HOST_FLAGS) ; do \
21189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21190 done; \
21191 echo "Doing dvi in itcl"; \
21192 (cd $(HOST_SUBDIR)/itcl && \
21193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21195 "RANLIB=$${RANLIB}" \
21196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21197 dvi) \
21198 || exit 1
21200 @endif itcl
21202 .PHONY: maybe-pdf-itcl pdf-itcl
21203 maybe-pdf-itcl:
21204 @if itcl
21205 maybe-pdf-itcl: pdf-itcl
21207 pdf-itcl: \
21208 configure-itcl
21209 @: $(MAKE); $(unstage)
21210 @[ -f ./itcl/Makefile ] || exit 0; \
21211 r=`${PWD_COMMAND}`; export r; \
21212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21213 $(HOST_EXPORTS) \
21214 for flag in $(EXTRA_HOST_FLAGS) ; do \
21215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21216 done; \
21217 echo "Doing pdf in itcl"; \
21218 (cd $(HOST_SUBDIR)/itcl && \
21219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21221 "RANLIB=$${RANLIB}" \
21222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21223 pdf) \
21224 || exit 1
21226 @endif itcl
21228 .PHONY: maybe-html-itcl html-itcl
21229 maybe-html-itcl:
21230 @if itcl
21231 maybe-html-itcl: html-itcl
21233 html-itcl: \
21234 configure-itcl
21235 @: $(MAKE); $(unstage)
21236 @[ -f ./itcl/Makefile ] || exit 0; \
21237 r=`${PWD_COMMAND}`; export r; \
21238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21239 $(HOST_EXPORTS) \
21240 for flag in $(EXTRA_HOST_FLAGS) ; do \
21241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21242 done; \
21243 echo "Doing html in itcl"; \
21244 (cd $(HOST_SUBDIR)/itcl && \
21245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21247 "RANLIB=$${RANLIB}" \
21248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21249 html) \
21250 || exit 1
21252 @endif itcl
21254 .PHONY: maybe-TAGS-itcl TAGS-itcl
21255 maybe-TAGS-itcl:
21256 @if itcl
21257 maybe-TAGS-itcl: TAGS-itcl
21259 TAGS-itcl: \
21260 configure-itcl
21261 @: $(MAKE); $(unstage)
21262 @[ -f ./itcl/Makefile ] || exit 0; \
21263 r=`${PWD_COMMAND}`; export r; \
21264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21265 $(HOST_EXPORTS) \
21266 for flag in $(EXTRA_HOST_FLAGS) ; do \
21267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21268 done; \
21269 echo "Doing TAGS in itcl"; \
21270 (cd $(HOST_SUBDIR)/itcl && \
21271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21273 "RANLIB=$${RANLIB}" \
21274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21275 TAGS) \
21276 || exit 1
21278 @endif itcl
21280 .PHONY: maybe-install-info-itcl install-info-itcl
21281 maybe-install-info-itcl:
21282 @if itcl
21283 maybe-install-info-itcl: install-info-itcl
21285 install-info-itcl: \
21286 configure-itcl \
21287 info-itcl
21288 @: $(MAKE); $(unstage)
21289 @[ -f ./itcl/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(HOST_EXPORTS) \
21293 for flag in $(EXTRA_HOST_FLAGS) ; do \
21294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21295 done; \
21296 echo "Doing install-info in itcl"; \
21297 (cd $(HOST_SUBDIR)/itcl && \
21298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21300 "RANLIB=$${RANLIB}" \
21301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21302 install-info) \
21303 || exit 1
21305 @endif itcl
21307 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21308 maybe-install-pdf-itcl:
21309 @if itcl
21310 maybe-install-pdf-itcl: install-pdf-itcl
21312 install-pdf-itcl: \
21313 configure-itcl \
21314 pdf-itcl
21315 @: $(MAKE); $(unstage)
21316 @[ -f ./itcl/Makefile ] || exit 0; \
21317 r=`${PWD_COMMAND}`; export r; \
21318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21319 $(HOST_EXPORTS) \
21320 for flag in $(EXTRA_HOST_FLAGS) ; do \
21321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21322 done; \
21323 echo "Doing install-pdf in itcl"; \
21324 (cd $(HOST_SUBDIR)/itcl && \
21325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21327 "RANLIB=$${RANLIB}" \
21328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21329 install-pdf) \
21330 || exit 1
21332 @endif itcl
21334 .PHONY: maybe-install-html-itcl install-html-itcl
21335 maybe-install-html-itcl:
21336 @if itcl
21337 maybe-install-html-itcl: install-html-itcl
21339 install-html-itcl: \
21340 configure-itcl \
21341 html-itcl
21342 @: $(MAKE); $(unstage)
21343 @[ -f ./itcl/Makefile ] || exit 0; \
21344 r=`${PWD_COMMAND}`; export r; \
21345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21346 $(HOST_EXPORTS) \
21347 for flag in $(EXTRA_HOST_FLAGS) ; do \
21348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21349 done; \
21350 echo "Doing install-html in itcl"; \
21351 (cd $(HOST_SUBDIR)/itcl && \
21352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21354 "RANLIB=$${RANLIB}" \
21355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21356 install-html) \
21357 || exit 1
21359 @endif itcl
21361 .PHONY: maybe-installcheck-itcl installcheck-itcl
21362 maybe-installcheck-itcl:
21363 @if itcl
21364 maybe-installcheck-itcl: installcheck-itcl
21366 installcheck-itcl: \
21367 configure-itcl
21368 @: $(MAKE); $(unstage)
21369 @[ -f ./itcl/Makefile ] || exit 0; \
21370 r=`${PWD_COMMAND}`; export r; \
21371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21372 $(HOST_EXPORTS) \
21373 for flag in $(EXTRA_HOST_FLAGS) ; do \
21374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21375 done; \
21376 echo "Doing installcheck in itcl"; \
21377 (cd $(HOST_SUBDIR)/itcl && \
21378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21380 "RANLIB=$${RANLIB}" \
21381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21382 installcheck) \
21383 || exit 1
21385 @endif itcl
21387 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21388 maybe-mostlyclean-itcl:
21389 @if itcl
21390 maybe-mostlyclean-itcl: mostlyclean-itcl
21392 mostlyclean-itcl:
21393 @: $(MAKE); $(unstage)
21394 @[ -f ./itcl/Makefile ] || exit 0; \
21395 r=`${PWD_COMMAND}`; export r; \
21396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21397 $(HOST_EXPORTS) \
21398 for flag in $(EXTRA_HOST_FLAGS) ; do \
21399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21400 done; \
21401 echo "Doing mostlyclean in itcl"; \
21402 (cd $(HOST_SUBDIR)/itcl && \
21403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21405 "RANLIB=$${RANLIB}" \
21406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21407 mostlyclean) \
21408 || exit 1
21410 @endif itcl
21412 .PHONY: maybe-clean-itcl clean-itcl
21413 maybe-clean-itcl:
21414 @if itcl
21415 maybe-clean-itcl: clean-itcl
21417 clean-itcl:
21418 @: $(MAKE); $(unstage)
21419 @[ -f ./itcl/Makefile ] || exit 0; \
21420 r=`${PWD_COMMAND}`; export r; \
21421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21422 $(HOST_EXPORTS) \
21423 for flag in $(EXTRA_HOST_FLAGS) ; do \
21424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21425 done; \
21426 echo "Doing clean in itcl"; \
21427 (cd $(HOST_SUBDIR)/itcl && \
21428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21430 "RANLIB=$${RANLIB}" \
21431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21432 clean) \
21433 || exit 1
21435 @endif itcl
21437 .PHONY: maybe-distclean-itcl distclean-itcl
21438 maybe-distclean-itcl:
21439 @if itcl
21440 maybe-distclean-itcl: distclean-itcl
21442 distclean-itcl:
21443 @: $(MAKE); $(unstage)
21444 @[ -f ./itcl/Makefile ] || exit 0; \
21445 r=`${PWD_COMMAND}`; export r; \
21446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21447 $(HOST_EXPORTS) \
21448 for flag in $(EXTRA_HOST_FLAGS) ; do \
21449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21450 done; \
21451 echo "Doing distclean in itcl"; \
21452 (cd $(HOST_SUBDIR)/itcl && \
21453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21455 "RANLIB=$${RANLIB}" \
21456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21457 distclean) \
21458 || exit 1
21460 @endif itcl
21462 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21463 maybe-maintainer-clean-itcl:
21464 @if itcl
21465 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21467 maintainer-clean-itcl:
21468 @: $(MAKE); $(unstage)
21469 @[ -f ./itcl/Makefile ] || exit 0; \
21470 r=`${PWD_COMMAND}`; export r; \
21471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21472 $(HOST_EXPORTS) \
21473 for flag in $(EXTRA_HOST_FLAGS) ; do \
21474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21475 done; \
21476 echo "Doing maintainer-clean in itcl"; \
21477 (cd $(HOST_SUBDIR)/itcl && \
21478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21480 "RANLIB=$${RANLIB}" \
21481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21482 maintainer-clean) \
21483 || exit 1
21485 @endif itcl
21489 .PHONY: configure-ld maybe-configure-ld
21490 maybe-configure-ld:
21491 @if gcc-bootstrap
21492 configure-ld: stage_current
21493 @endif gcc-bootstrap
21494 @if ld
21495 maybe-configure-ld: configure-ld
21496 configure-ld:
21497 @r=`${PWD_COMMAND}`; export r; \
21498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21499 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21501 $(HOST_EXPORTS) \
21502 echo Configuring in $(HOST_SUBDIR)/ld; \
21503 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21504 case $(srcdir) in \
21505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21506 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21508 esac; \
21509 module_srcdir=ld; \
21510 $(SHELL) \
21511 $$s/$$module_srcdir/configure \
21512 --srcdir=$${topdir}/$$module_srcdir \
21513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21514 --target=${target_alias} \
21515 || exit 1
21516 @endif ld
21520 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21521 maybe-configure-stage1-ld:
21522 @if ld-bootstrap
21523 maybe-configure-stage1-ld: configure-stage1-ld
21524 configure-stage1-ld:
21525 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21526 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21527 @r=`${PWD_COMMAND}`; export r; \
21528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21529 TFLAGS="$(STAGE1_TFLAGS)"; \
21530 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21531 $(HOST_EXPORTS) \
21532 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21533 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21534 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21535 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21537 cd $(HOST_SUBDIR)/ld || exit 1; \
21538 case $(srcdir) in \
21539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21540 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21542 esac; \
21543 module_srcdir=ld; \
21544 $(SHELL) $$s/$$module_srcdir/configure \
21545 --srcdir=$${topdir}/$$module_srcdir \
21546 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21547 --target=${target_alias} \
21549 $(STAGE1_CONFIGURE_FLAGS)
21550 @endif ld-bootstrap
21552 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21553 maybe-configure-stage2-ld:
21554 @if ld-bootstrap
21555 maybe-configure-stage2-ld: configure-stage2-ld
21556 configure-stage2-ld:
21557 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21559 @r=`${PWD_COMMAND}`; export r; \
21560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21561 TFLAGS="$(STAGE2_TFLAGS)"; \
21562 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21563 $(HOST_EXPORTS) \
21564 $(POSTSTAGE1_HOST_EXPORTS) \
21565 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21566 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21567 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21568 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21570 cd $(HOST_SUBDIR)/ld || exit 1; \
21571 case $(srcdir) in \
21572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21573 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21575 esac; \
21576 module_srcdir=ld; \
21577 $(SHELL) $$s/$$module_srcdir/configure \
21578 --srcdir=$${topdir}/$$module_srcdir \
21579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21580 --target=${target_alias} \
21581 --with-build-libsubdir=$(HOST_SUBDIR) \
21582 $(STAGE2_CONFIGURE_FLAGS)
21583 @endif ld-bootstrap
21585 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21586 maybe-configure-stage3-ld:
21587 @if ld-bootstrap
21588 maybe-configure-stage3-ld: configure-stage3-ld
21589 configure-stage3-ld:
21590 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21592 @r=`${PWD_COMMAND}`; export r; \
21593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21594 TFLAGS="$(STAGE3_TFLAGS)"; \
21595 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21596 $(HOST_EXPORTS) \
21597 $(POSTSTAGE1_HOST_EXPORTS) \
21598 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21599 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21600 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21601 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21603 cd $(HOST_SUBDIR)/ld || exit 1; \
21604 case $(srcdir) in \
21605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21606 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21608 esac; \
21609 module_srcdir=ld; \
21610 $(SHELL) $$s/$$module_srcdir/configure \
21611 --srcdir=$${topdir}/$$module_srcdir \
21612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21613 --target=${target_alias} \
21614 --with-build-libsubdir=$(HOST_SUBDIR) \
21615 $(STAGE3_CONFIGURE_FLAGS)
21616 @endif ld-bootstrap
21618 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21619 maybe-configure-stage4-ld:
21620 @if ld-bootstrap
21621 maybe-configure-stage4-ld: configure-stage4-ld
21622 configure-stage4-ld:
21623 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21625 @r=`${PWD_COMMAND}`; export r; \
21626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21627 TFLAGS="$(STAGE4_TFLAGS)"; \
21628 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21629 $(HOST_EXPORTS) \
21630 $(POSTSTAGE1_HOST_EXPORTS) \
21631 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21632 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21633 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21634 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21636 cd $(HOST_SUBDIR)/ld || exit 1; \
21637 case $(srcdir) in \
21638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21639 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21641 esac; \
21642 module_srcdir=ld; \
21643 $(SHELL) $$s/$$module_srcdir/configure \
21644 --srcdir=$${topdir}/$$module_srcdir \
21645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21646 --target=${target_alias} \
21647 --with-build-libsubdir=$(HOST_SUBDIR) \
21648 $(STAGE4_CONFIGURE_FLAGS)
21649 @endif ld-bootstrap
21651 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21652 maybe-configure-stageprofile-ld:
21653 @if ld-bootstrap
21654 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21655 configure-stageprofile-ld:
21656 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21658 @r=`${PWD_COMMAND}`; export r; \
21659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21660 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21661 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21662 $(HOST_EXPORTS) \
21663 $(POSTSTAGE1_HOST_EXPORTS) \
21664 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21665 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21666 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21667 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21669 cd $(HOST_SUBDIR)/ld || exit 1; \
21670 case $(srcdir) in \
21671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21672 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21674 esac; \
21675 module_srcdir=ld; \
21676 $(SHELL) $$s/$$module_srcdir/configure \
21677 --srcdir=$${topdir}/$$module_srcdir \
21678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21679 --target=${target_alias} \
21680 --with-build-libsubdir=$(HOST_SUBDIR) \
21681 $(STAGEprofile_CONFIGURE_FLAGS)
21682 @endif ld-bootstrap
21684 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21685 maybe-configure-stagetrain-ld:
21686 @if ld-bootstrap
21687 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21688 configure-stagetrain-ld:
21689 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21691 @r=`${PWD_COMMAND}`; export r; \
21692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21693 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21694 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21695 $(HOST_EXPORTS) \
21696 $(POSTSTAGE1_HOST_EXPORTS) \
21697 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21698 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21699 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21700 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21702 cd $(HOST_SUBDIR)/ld || exit 1; \
21703 case $(srcdir) in \
21704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21705 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21707 esac; \
21708 module_srcdir=ld; \
21709 $(SHELL) $$s/$$module_srcdir/configure \
21710 --srcdir=$${topdir}/$$module_srcdir \
21711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21712 --target=${target_alias} \
21713 --with-build-libsubdir=$(HOST_SUBDIR) \
21714 $(STAGEtrain_CONFIGURE_FLAGS)
21715 @endif ld-bootstrap
21717 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21718 maybe-configure-stagefeedback-ld:
21719 @if ld-bootstrap
21720 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21721 configure-stagefeedback-ld:
21722 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21724 @r=`${PWD_COMMAND}`; export r; \
21725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21726 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21727 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21728 $(HOST_EXPORTS) \
21729 $(POSTSTAGE1_HOST_EXPORTS) \
21730 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21731 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21732 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21733 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21735 cd $(HOST_SUBDIR)/ld || exit 1; \
21736 case $(srcdir) in \
21737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21738 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21740 esac; \
21741 module_srcdir=ld; \
21742 $(SHELL) $$s/$$module_srcdir/configure \
21743 --srcdir=$${topdir}/$$module_srcdir \
21744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21745 --target=${target_alias} \
21746 --with-build-libsubdir=$(HOST_SUBDIR) \
21747 $(STAGEfeedback_CONFIGURE_FLAGS)
21748 @endif ld-bootstrap
21750 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21751 maybe-configure-stageautoprofile-ld:
21752 @if ld-bootstrap
21753 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21754 configure-stageautoprofile-ld:
21755 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21757 @r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21760 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21761 $(HOST_EXPORTS) \
21762 $(POSTSTAGE1_HOST_EXPORTS) \
21763 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21764 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21765 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21766 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21768 cd $(HOST_SUBDIR)/ld || exit 1; \
21769 case $(srcdir) in \
21770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21771 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21773 esac; \
21774 module_srcdir=ld; \
21775 $(SHELL) $$s/$$module_srcdir/configure \
21776 --srcdir=$${topdir}/$$module_srcdir \
21777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21778 --target=${target_alias} \
21779 --with-build-libsubdir=$(HOST_SUBDIR) \
21780 $(STAGEautoprofile_CONFIGURE_FLAGS)
21781 @endif ld-bootstrap
21783 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21784 maybe-configure-stageautofeedback-ld:
21785 @if ld-bootstrap
21786 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21787 configure-stageautofeedback-ld:
21788 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21790 @r=`${PWD_COMMAND}`; export r; \
21791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21792 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21793 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21794 $(HOST_EXPORTS) \
21795 $(POSTSTAGE1_HOST_EXPORTS) \
21796 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21797 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21798 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21799 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21801 cd $(HOST_SUBDIR)/ld || exit 1; \
21802 case $(srcdir) in \
21803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21804 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21806 esac; \
21807 module_srcdir=ld; \
21808 $(SHELL) $$s/$$module_srcdir/configure \
21809 --srcdir=$${topdir}/$$module_srcdir \
21810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21811 --target=${target_alias} \
21812 --with-build-libsubdir=$(HOST_SUBDIR) \
21813 $(STAGEautofeedback_CONFIGURE_FLAGS)
21814 @endif ld-bootstrap
21820 .PHONY: all-ld maybe-all-ld
21821 maybe-all-ld:
21822 @if gcc-bootstrap
21823 all-ld: stage_current
21824 @endif gcc-bootstrap
21825 @if ld
21826 TARGET-ld=all
21827 maybe-all-ld: all-ld
21828 all-ld: configure-ld
21829 @r=`${PWD_COMMAND}`; export r; \
21830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21831 $(HOST_EXPORTS) \
21832 (cd $(HOST_SUBDIR)/ld && \
21833 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21834 $(TARGET-ld))
21835 @endif ld
21839 .PHONY: all-stage1-ld maybe-all-stage1-ld
21840 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
21841 maybe-all-stage1-ld:
21842 maybe-clean-stage1-ld:
21843 @if ld-bootstrap
21844 maybe-all-stage1-ld: all-stage1-ld
21845 all-stage1: all-stage1-ld
21846 TARGET-stage1-ld = $(TARGET-ld)
21847 all-stage1-ld: configure-stage1-ld
21848 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21849 @r=`${PWD_COMMAND}`; export r; \
21850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21851 TFLAGS="$(STAGE1_TFLAGS)"; \
21852 $(HOST_EXPORTS) \
21853 cd $(HOST_SUBDIR)/ld && \
21855 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21856 CFLAGS="$(STAGE1_CFLAGS)" \
21857 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21858 LIBCFLAGS="$(LIBCFLAGS)" \
21859 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21860 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21861 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21862 $(EXTRA_HOST_FLAGS) \
21863 $(STAGE1_FLAGS_TO_PASS) \
21864 TFLAGS="$(STAGE1_TFLAGS)" \
21865 $(TARGET-stage1-ld)
21867 maybe-clean-stage1-ld: clean-stage1-ld
21868 clean-stage1: clean-stage1-ld
21869 clean-stage1-ld:
21870 @if [ $(current_stage) = stage1 ]; then \
21871 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21872 else \
21873 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
21874 $(MAKE) stage1-start; \
21875 fi; \
21876 cd $(HOST_SUBDIR)/ld && \
21877 $(MAKE) $(EXTRA_HOST_FLAGS) \
21878 $(STAGE1_FLAGS_TO_PASS) clean
21879 @endif ld-bootstrap
21882 .PHONY: all-stage2-ld maybe-all-stage2-ld
21883 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
21884 maybe-all-stage2-ld:
21885 maybe-clean-stage2-ld:
21886 @if ld-bootstrap
21887 maybe-all-stage2-ld: all-stage2-ld
21888 all-stage2: all-stage2-ld
21889 TARGET-stage2-ld = $(TARGET-ld)
21890 all-stage2-ld: configure-stage2-ld
21891 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21892 @r=`${PWD_COMMAND}`; export r; \
21893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21894 TFLAGS="$(STAGE2_TFLAGS)"; \
21895 $(HOST_EXPORTS) \
21896 $(POSTSTAGE1_HOST_EXPORTS) \
21897 cd $(HOST_SUBDIR)/ld && \
21899 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21900 CFLAGS="$(STAGE2_CFLAGS)" \
21901 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21902 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21903 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21904 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21905 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21906 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21907 TFLAGS="$(STAGE2_TFLAGS)" \
21908 $(TARGET-stage2-ld)
21910 maybe-clean-stage2-ld: clean-stage2-ld
21911 clean-stage2: clean-stage2-ld
21912 clean-stage2-ld:
21913 @if [ $(current_stage) = stage2 ]; then \
21914 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21915 else \
21916 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
21917 $(MAKE) stage2-start; \
21918 fi; \
21919 cd $(HOST_SUBDIR)/ld && \
21920 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21921 @endif ld-bootstrap
21924 .PHONY: all-stage3-ld maybe-all-stage3-ld
21925 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
21926 maybe-all-stage3-ld:
21927 maybe-clean-stage3-ld:
21928 @if ld-bootstrap
21929 maybe-all-stage3-ld: all-stage3-ld
21930 all-stage3: all-stage3-ld
21931 TARGET-stage3-ld = $(TARGET-ld)
21932 all-stage3-ld: configure-stage3-ld
21933 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21934 @r=`${PWD_COMMAND}`; export r; \
21935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21936 TFLAGS="$(STAGE3_TFLAGS)"; \
21937 $(HOST_EXPORTS) \
21938 $(POSTSTAGE1_HOST_EXPORTS) \
21939 cd $(HOST_SUBDIR)/ld && \
21941 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21942 CFLAGS="$(STAGE3_CFLAGS)" \
21943 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21944 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21945 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21946 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21947 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21948 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21949 TFLAGS="$(STAGE3_TFLAGS)" \
21950 $(TARGET-stage3-ld)
21952 maybe-clean-stage3-ld: clean-stage3-ld
21953 clean-stage3: clean-stage3-ld
21954 clean-stage3-ld:
21955 @if [ $(current_stage) = stage3 ]; then \
21956 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21957 else \
21958 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
21959 $(MAKE) stage3-start; \
21960 fi; \
21961 cd $(HOST_SUBDIR)/ld && \
21962 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21963 @endif ld-bootstrap
21966 .PHONY: all-stage4-ld maybe-all-stage4-ld
21967 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
21968 maybe-all-stage4-ld:
21969 maybe-clean-stage4-ld:
21970 @if ld-bootstrap
21971 maybe-all-stage4-ld: all-stage4-ld
21972 all-stage4: all-stage4-ld
21973 TARGET-stage4-ld = $(TARGET-ld)
21974 all-stage4-ld: configure-stage4-ld
21975 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21976 @r=`${PWD_COMMAND}`; export r; \
21977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21978 TFLAGS="$(STAGE4_TFLAGS)"; \
21979 $(HOST_EXPORTS) \
21980 $(POSTSTAGE1_HOST_EXPORTS) \
21981 cd $(HOST_SUBDIR)/ld && \
21983 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21984 CFLAGS="$(STAGE4_CFLAGS)" \
21985 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21986 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21990 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21991 TFLAGS="$(STAGE4_TFLAGS)" \
21992 $(TARGET-stage4-ld)
21994 maybe-clean-stage4-ld: clean-stage4-ld
21995 clean-stage4: clean-stage4-ld
21996 clean-stage4-ld:
21997 @if [ $(current_stage) = stage4 ]; then \
21998 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21999 else \
22000 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22001 $(MAKE) stage4-start; \
22002 fi; \
22003 cd $(HOST_SUBDIR)/ld && \
22004 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22005 @endif ld-bootstrap
22008 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22009 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22010 maybe-all-stageprofile-ld:
22011 maybe-clean-stageprofile-ld:
22012 @if ld-bootstrap
22013 maybe-all-stageprofile-ld: all-stageprofile-ld
22014 all-stageprofile: all-stageprofile-ld
22015 TARGET-stageprofile-ld = $(TARGET-ld)
22016 all-stageprofile-ld: configure-stageprofile-ld
22017 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22018 @r=`${PWD_COMMAND}`; export r; \
22019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22020 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22021 $(HOST_EXPORTS) \
22022 $(POSTSTAGE1_HOST_EXPORTS) \
22023 cd $(HOST_SUBDIR)/ld && \
22025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22026 CFLAGS="$(STAGEprofile_CFLAGS)" \
22027 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22028 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22032 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22033 TFLAGS="$(STAGEprofile_TFLAGS)" \
22034 $(TARGET-stageprofile-ld)
22036 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22037 clean-stageprofile: clean-stageprofile-ld
22038 clean-stageprofile-ld:
22039 @if [ $(current_stage) = stageprofile ]; then \
22040 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22041 else \
22042 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22043 $(MAKE) stageprofile-start; \
22044 fi; \
22045 cd $(HOST_SUBDIR)/ld && \
22046 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22047 @endif ld-bootstrap
22050 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22051 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22052 maybe-all-stagetrain-ld:
22053 maybe-clean-stagetrain-ld:
22054 @if ld-bootstrap
22055 maybe-all-stagetrain-ld: all-stagetrain-ld
22056 all-stagetrain: all-stagetrain-ld
22057 TARGET-stagetrain-ld = $(TARGET-ld)
22058 all-stagetrain-ld: configure-stagetrain-ld
22059 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22060 @r=`${PWD_COMMAND}`; export r; \
22061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22062 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22063 $(HOST_EXPORTS) \
22064 $(POSTSTAGE1_HOST_EXPORTS) \
22065 cd $(HOST_SUBDIR)/ld && \
22067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22068 CFLAGS="$(STAGEtrain_CFLAGS)" \
22069 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22070 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22074 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22075 TFLAGS="$(STAGEtrain_TFLAGS)" \
22076 $(TARGET-stagetrain-ld)
22078 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22079 clean-stagetrain: clean-stagetrain-ld
22080 clean-stagetrain-ld:
22081 @if [ $(current_stage) = stagetrain ]; then \
22082 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22083 else \
22084 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22085 $(MAKE) stagetrain-start; \
22086 fi; \
22087 cd $(HOST_SUBDIR)/ld && \
22088 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22089 @endif ld-bootstrap
22092 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22093 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22094 maybe-all-stagefeedback-ld:
22095 maybe-clean-stagefeedback-ld:
22096 @if ld-bootstrap
22097 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22098 all-stagefeedback: all-stagefeedback-ld
22099 TARGET-stagefeedback-ld = $(TARGET-ld)
22100 all-stagefeedback-ld: configure-stagefeedback-ld
22101 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22102 @r=`${PWD_COMMAND}`; export r; \
22103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22104 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22105 $(HOST_EXPORTS) \
22106 $(POSTSTAGE1_HOST_EXPORTS) \
22107 cd $(HOST_SUBDIR)/ld && \
22109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22110 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22111 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22112 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22117 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22118 $(TARGET-stagefeedback-ld)
22120 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22121 clean-stagefeedback: clean-stagefeedback-ld
22122 clean-stagefeedback-ld:
22123 @if [ $(current_stage) = stagefeedback ]; then \
22124 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22125 else \
22126 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22127 $(MAKE) stagefeedback-start; \
22128 fi; \
22129 cd $(HOST_SUBDIR)/ld && \
22130 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22131 @endif ld-bootstrap
22134 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22135 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22136 maybe-all-stageautoprofile-ld:
22137 maybe-clean-stageautoprofile-ld:
22138 @if ld-bootstrap
22139 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22140 all-stageautoprofile: all-stageautoprofile-ld
22141 TARGET-stageautoprofile-ld = $(TARGET-ld)
22142 all-stageautoprofile-ld: configure-stageautoprofile-ld
22143 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22144 @r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22147 $(HOST_EXPORTS) \
22148 $(POSTSTAGE1_HOST_EXPORTS) \
22149 cd $(HOST_SUBDIR)/ld && \
22150 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22152 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22153 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22154 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22158 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22159 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22160 $(TARGET-stageautoprofile-ld)
22162 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22163 clean-stageautoprofile: clean-stageautoprofile-ld
22164 clean-stageautoprofile-ld:
22165 @if [ $(current_stage) = stageautoprofile ]; then \
22166 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22167 else \
22168 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22169 $(MAKE) stageautoprofile-start; \
22170 fi; \
22171 cd $(HOST_SUBDIR)/ld && \
22172 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22173 @endif ld-bootstrap
22176 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22177 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22178 maybe-all-stageautofeedback-ld:
22179 maybe-clean-stageautofeedback-ld:
22180 @if ld-bootstrap
22181 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22182 all-stageautofeedback: all-stageautofeedback-ld
22183 TARGET-stageautofeedback-ld = $(TARGET-ld)
22184 all-stageautofeedback-ld: configure-stageautofeedback-ld
22185 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22186 @r=`${PWD_COMMAND}`; export r; \
22187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22189 $(HOST_EXPORTS) \
22190 $(POSTSTAGE1_HOST_EXPORTS) \
22191 cd $(HOST_SUBDIR)/ld && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22194 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22195 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22196 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22201 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22202 $(TARGET-stageautofeedback-ld)
22204 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22205 clean-stageautofeedback: clean-stageautofeedback-ld
22206 clean-stageautofeedback-ld:
22207 @if [ $(current_stage) = stageautofeedback ]; then \
22208 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22209 else \
22210 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22211 $(MAKE) stageautofeedback-start; \
22212 fi; \
22213 cd $(HOST_SUBDIR)/ld && \
22214 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22215 @endif ld-bootstrap
22221 .PHONY: check-ld maybe-check-ld
22222 maybe-check-ld:
22223 @if ld
22224 maybe-check-ld: check-ld
22226 check-ld:
22227 @: $(MAKE); $(unstage)
22228 @r=`${PWD_COMMAND}`; export r; \
22229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22230 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22231 (cd $(HOST_SUBDIR)/ld && \
22232 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22234 @endif ld
22236 .PHONY: install-ld maybe-install-ld
22237 maybe-install-ld:
22238 @if ld
22239 maybe-install-ld: install-ld
22241 install-ld: installdirs
22242 @: $(MAKE); $(unstage)
22243 @r=`${PWD_COMMAND}`; export r; \
22244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22245 $(HOST_EXPORTS) \
22246 (cd $(HOST_SUBDIR)/ld && \
22247 $(MAKE) $(FLAGS_TO_PASS) install)
22249 @endif ld
22251 .PHONY: install-strip-ld maybe-install-strip-ld
22252 maybe-install-strip-ld:
22253 @if ld
22254 maybe-install-strip-ld: install-strip-ld
22256 install-strip-ld: installdirs
22257 @: $(MAKE); $(unstage)
22258 @r=`${PWD_COMMAND}`; export r; \
22259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22260 $(HOST_EXPORTS) \
22261 (cd $(HOST_SUBDIR)/ld && \
22262 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22264 @endif ld
22266 # Other targets (info, dvi, pdf, etc.)
22268 .PHONY: maybe-info-ld info-ld
22269 maybe-info-ld:
22270 @if ld
22271 maybe-info-ld: info-ld
22273 info-ld: \
22274 configure-ld
22275 @[ -f ./ld/Makefile ] || exit 0; \
22276 r=`${PWD_COMMAND}`; export r; \
22277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22278 $(HOST_EXPORTS) \
22279 for flag in $(EXTRA_HOST_FLAGS) ; do \
22280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 done; \
22282 echo "Doing info in ld"; \
22283 (cd $(HOST_SUBDIR)/ld && \
22284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22286 "RANLIB=$${RANLIB}" \
22287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22288 info) \
22289 || exit 1
22291 @endif ld
22293 .PHONY: maybe-dvi-ld dvi-ld
22294 maybe-dvi-ld:
22295 @if ld
22296 maybe-dvi-ld: dvi-ld
22298 dvi-ld: \
22299 configure-ld
22300 @[ -f ./ld/Makefile ] || exit 0; \
22301 r=`${PWD_COMMAND}`; export r; \
22302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22303 $(HOST_EXPORTS) \
22304 for flag in $(EXTRA_HOST_FLAGS) ; do \
22305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22306 done; \
22307 echo "Doing dvi in ld"; \
22308 (cd $(HOST_SUBDIR)/ld && \
22309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22311 "RANLIB=$${RANLIB}" \
22312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22313 dvi) \
22314 || exit 1
22316 @endif ld
22318 .PHONY: maybe-pdf-ld pdf-ld
22319 maybe-pdf-ld:
22320 @if ld
22321 maybe-pdf-ld: pdf-ld
22323 pdf-ld: \
22324 configure-ld
22325 @[ -f ./ld/Makefile ] || exit 0; \
22326 r=`${PWD_COMMAND}`; export r; \
22327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22328 $(HOST_EXPORTS) \
22329 for flag in $(EXTRA_HOST_FLAGS) ; do \
22330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22331 done; \
22332 echo "Doing pdf in ld"; \
22333 (cd $(HOST_SUBDIR)/ld && \
22334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22336 "RANLIB=$${RANLIB}" \
22337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22338 pdf) \
22339 || exit 1
22341 @endif ld
22343 .PHONY: maybe-html-ld html-ld
22344 maybe-html-ld:
22345 @if ld
22346 maybe-html-ld: html-ld
22348 html-ld: \
22349 configure-ld
22350 @[ -f ./ld/Makefile ] || exit 0; \
22351 r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 $(HOST_EXPORTS) \
22354 for flag in $(EXTRA_HOST_FLAGS) ; do \
22355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22356 done; \
22357 echo "Doing html in ld"; \
22358 (cd $(HOST_SUBDIR)/ld && \
22359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22361 "RANLIB=$${RANLIB}" \
22362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22363 html) \
22364 || exit 1
22366 @endif ld
22368 .PHONY: maybe-TAGS-ld TAGS-ld
22369 maybe-TAGS-ld:
22370 @if ld
22371 maybe-TAGS-ld: TAGS-ld
22373 TAGS-ld: \
22374 configure-ld
22375 @[ -f ./ld/Makefile ] || exit 0; \
22376 r=`${PWD_COMMAND}`; export r; \
22377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22378 $(HOST_EXPORTS) \
22379 for flag in $(EXTRA_HOST_FLAGS) ; do \
22380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22381 done; \
22382 echo "Doing TAGS in ld"; \
22383 (cd $(HOST_SUBDIR)/ld && \
22384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22386 "RANLIB=$${RANLIB}" \
22387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22388 TAGS) \
22389 || exit 1
22391 @endif ld
22393 .PHONY: maybe-install-info-ld install-info-ld
22394 maybe-install-info-ld:
22395 @if ld
22396 maybe-install-info-ld: install-info-ld
22398 install-info-ld: \
22399 configure-ld \
22400 info-ld
22401 @[ -f ./ld/Makefile ] || exit 0; \
22402 r=`${PWD_COMMAND}`; export r; \
22403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22404 $(HOST_EXPORTS) \
22405 for flag in $(EXTRA_HOST_FLAGS) ; do \
22406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22407 done; \
22408 echo "Doing install-info in ld"; \
22409 (cd $(HOST_SUBDIR)/ld && \
22410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22412 "RANLIB=$${RANLIB}" \
22413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22414 install-info) \
22415 || exit 1
22417 @endif ld
22419 .PHONY: maybe-install-pdf-ld install-pdf-ld
22420 maybe-install-pdf-ld:
22421 @if ld
22422 maybe-install-pdf-ld: install-pdf-ld
22424 install-pdf-ld: \
22425 configure-ld \
22426 pdf-ld
22427 @[ -f ./ld/Makefile ] || exit 0; \
22428 r=`${PWD_COMMAND}`; export r; \
22429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22430 $(HOST_EXPORTS) \
22431 for flag in $(EXTRA_HOST_FLAGS) ; do \
22432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22433 done; \
22434 echo "Doing install-pdf in ld"; \
22435 (cd $(HOST_SUBDIR)/ld && \
22436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22438 "RANLIB=$${RANLIB}" \
22439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22440 install-pdf) \
22441 || exit 1
22443 @endif ld
22445 .PHONY: maybe-install-html-ld install-html-ld
22446 maybe-install-html-ld:
22447 @if ld
22448 maybe-install-html-ld: install-html-ld
22450 install-html-ld: \
22451 configure-ld \
22452 html-ld
22453 @[ -f ./ld/Makefile ] || exit 0; \
22454 r=`${PWD_COMMAND}`; export r; \
22455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22456 $(HOST_EXPORTS) \
22457 for flag in $(EXTRA_HOST_FLAGS) ; do \
22458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22459 done; \
22460 echo "Doing install-html in ld"; \
22461 (cd $(HOST_SUBDIR)/ld && \
22462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22464 "RANLIB=$${RANLIB}" \
22465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22466 install-html) \
22467 || exit 1
22469 @endif ld
22471 .PHONY: maybe-installcheck-ld installcheck-ld
22472 maybe-installcheck-ld:
22473 @if ld
22474 maybe-installcheck-ld: installcheck-ld
22476 installcheck-ld: \
22477 configure-ld
22478 @[ -f ./ld/Makefile ] || exit 0; \
22479 r=`${PWD_COMMAND}`; export r; \
22480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22481 $(HOST_EXPORTS) \
22482 for flag in $(EXTRA_HOST_FLAGS) ; do \
22483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22484 done; \
22485 echo "Doing installcheck in ld"; \
22486 (cd $(HOST_SUBDIR)/ld && \
22487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22489 "RANLIB=$${RANLIB}" \
22490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22491 installcheck) \
22492 || exit 1
22494 @endif ld
22496 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22497 maybe-mostlyclean-ld:
22498 @if ld
22499 maybe-mostlyclean-ld: mostlyclean-ld
22501 mostlyclean-ld:
22502 @[ -f ./ld/Makefile ] || exit 0; \
22503 r=`${PWD_COMMAND}`; export r; \
22504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22505 $(HOST_EXPORTS) \
22506 for flag in $(EXTRA_HOST_FLAGS) ; do \
22507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22508 done; \
22509 echo "Doing mostlyclean in ld"; \
22510 (cd $(HOST_SUBDIR)/ld && \
22511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22513 "RANLIB=$${RANLIB}" \
22514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22515 mostlyclean) \
22516 || exit 1
22518 @endif ld
22520 .PHONY: maybe-clean-ld clean-ld
22521 maybe-clean-ld:
22522 @if ld
22523 maybe-clean-ld: clean-ld
22525 clean-ld:
22526 @[ -f ./ld/Makefile ] || exit 0; \
22527 r=`${PWD_COMMAND}`; export r; \
22528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22529 $(HOST_EXPORTS) \
22530 for flag in $(EXTRA_HOST_FLAGS) ; do \
22531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22532 done; \
22533 echo "Doing clean in ld"; \
22534 (cd $(HOST_SUBDIR)/ld && \
22535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22537 "RANLIB=$${RANLIB}" \
22538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22539 clean) \
22540 || exit 1
22542 @endif ld
22544 .PHONY: maybe-distclean-ld distclean-ld
22545 maybe-distclean-ld:
22546 @if ld
22547 maybe-distclean-ld: distclean-ld
22549 distclean-ld:
22550 @[ -f ./ld/Makefile ] || exit 0; \
22551 r=`${PWD_COMMAND}`; export r; \
22552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22553 $(HOST_EXPORTS) \
22554 for flag in $(EXTRA_HOST_FLAGS) ; do \
22555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22556 done; \
22557 echo "Doing distclean in ld"; \
22558 (cd $(HOST_SUBDIR)/ld && \
22559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22561 "RANLIB=$${RANLIB}" \
22562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22563 distclean) \
22564 || exit 1
22566 @endif ld
22568 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22569 maybe-maintainer-clean-ld:
22570 @if ld
22571 maybe-maintainer-clean-ld: maintainer-clean-ld
22573 maintainer-clean-ld:
22574 @[ -f ./ld/Makefile ] || exit 0; \
22575 r=`${PWD_COMMAND}`; export r; \
22576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22577 $(HOST_EXPORTS) \
22578 for flag in $(EXTRA_HOST_FLAGS) ; do \
22579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22580 done; \
22581 echo "Doing maintainer-clean in ld"; \
22582 (cd $(HOST_SUBDIR)/ld && \
22583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22585 "RANLIB=$${RANLIB}" \
22586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22587 maintainer-clean) \
22588 || exit 1
22590 @endif ld
22594 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22595 maybe-configure-libbacktrace:
22596 @if gcc-bootstrap
22597 configure-libbacktrace: stage_current
22598 @endif gcc-bootstrap
22599 @if libbacktrace
22600 maybe-configure-libbacktrace: configure-libbacktrace
22601 configure-libbacktrace:
22602 @r=`${PWD_COMMAND}`; export r; \
22603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22604 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22606 $(HOST_EXPORTS) \
22607 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22608 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22609 case $(srcdir) in \
22610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22611 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22613 esac; \
22614 module_srcdir=libbacktrace; \
22615 $(SHELL) \
22616 $$s/$$module_srcdir/configure \
22617 --srcdir=$${topdir}/$$module_srcdir \
22618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22619 --target=${target_alias} \
22620 || exit 1
22621 @endif libbacktrace
22625 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22626 maybe-configure-stage1-libbacktrace:
22627 @if libbacktrace-bootstrap
22628 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22629 configure-stage1-libbacktrace:
22630 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22632 @r=`${PWD_COMMAND}`; export r; \
22633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22634 TFLAGS="$(STAGE1_TFLAGS)"; \
22635 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22636 $(HOST_EXPORTS) \
22637 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22638 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22639 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22640 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22642 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22643 case $(srcdir) in \
22644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22645 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22647 esac; \
22648 module_srcdir=libbacktrace; \
22649 $(SHELL) $$s/$$module_srcdir/configure \
22650 --srcdir=$${topdir}/$$module_srcdir \
22651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22652 --target=${target_alias} \
22654 $(STAGE1_CONFIGURE_FLAGS)
22655 @endif libbacktrace-bootstrap
22657 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22658 maybe-configure-stage2-libbacktrace:
22659 @if libbacktrace-bootstrap
22660 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22661 configure-stage2-libbacktrace:
22662 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22664 @r=`${PWD_COMMAND}`; export r; \
22665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22666 TFLAGS="$(STAGE2_TFLAGS)"; \
22667 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22668 $(HOST_EXPORTS) \
22669 $(POSTSTAGE1_HOST_EXPORTS) \
22670 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22671 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22672 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22673 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22675 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22676 case $(srcdir) in \
22677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22678 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22680 esac; \
22681 module_srcdir=libbacktrace; \
22682 $(SHELL) $$s/$$module_srcdir/configure \
22683 --srcdir=$${topdir}/$$module_srcdir \
22684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22685 --target=${target_alias} \
22686 --with-build-libsubdir=$(HOST_SUBDIR) \
22687 $(STAGE2_CONFIGURE_FLAGS)
22688 @endif libbacktrace-bootstrap
22690 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22691 maybe-configure-stage3-libbacktrace:
22692 @if libbacktrace-bootstrap
22693 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22694 configure-stage3-libbacktrace:
22695 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22697 @r=`${PWD_COMMAND}`; export r; \
22698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 TFLAGS="$(STAGE3_TFLAGS)"; \
22700 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22701 $(HOST_EXPORTS) \
22702 $(POSTSTAGE1_HOST_EXPORTS) \
22703 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22704 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22705 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22706 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22708 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22709 case $(srcdir) in \
22710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22711 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22713 esac; \
22714 module_srcdir=libbacktrace; \
22715 $(SHELL) $$s/$$module_srcdir/configure \
22716 --srcdir=$${topdir}/$$module_srcdir \
22717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22718 --target=${target_alias} \
22719 --with-build-libsubdir=$(HOST_SUBDIR) \
22720 $(STAGE3_CONFIGURE_FLAGS)
22721 @endif libbacktrace-bootstrap
22723 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22724 maybe-configure-stage4-libbacktrace:
22725 @if libbacktrace-bootstrap
22726 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22727 configure-stage4-libbacktrace:
22728 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22730 @r=`${PWD_COMMAND}`; export r; \
22731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22732 TFLAGS="$(STAGE4_TFLAGS)"; \
22733 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22734 $(HOST_EXPORTS) \
22735 $(POSTSTAGE1_HOST_EXPORTS) \
22736 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22737 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22738 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22739 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22741 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22742 case $(srcdir) in \
22743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22744 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22746 esac; \
22747 module_srcdir=libbacktrace; \
22748 $(SHELL) $$s/$$module_srcdir/configure \
22749 --srcdir=$${topdir}/$$module_srcdir \
22750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22751 --target=${target_alias} \
22752 --with-build-libsubdir=$(HOST_SUBDIR) \
22753 $(STAGE4_CONFIGURE_FLAGS)
22754 @endif libbacktrace-bootstrap
22756 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22757 maybe-configure-stageprofile-libbacktrace:
22758 @if libbacktrace-bootstrap
22759 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22760 configure-stageprofile-libbacktrace:
22761 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22763 @r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22766 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22767 $(HOST_EXPORTS) \
22768 $(POSTSTAGE1_HOST_EXPORTS) \
22769 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22770 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22771 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22772 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22774 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22775 case $(srcdir) in \
22776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22777 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22779 esac; \
22780 module_srcdir=libbacktrace; \
22781 $(SHELL) $$s/$$module_srcdir/configure \
22782 --srcdir=$${topdir}/$$module_srcdir \
22783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22784 --target=${target_alias} \
22785 --with-build-libsubdir=$(HOST_SUBDIR) \
22786 $(STAGEprofile_CONFIGURE_FLAGS)
22787 @endif libbacktrace-bootstrap
22789 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22790 maybe-configure-stagetrain-libbacktrace:
22791 @if libbacktrace-bootstrap
22792 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22793 configure-stagetrain-libbacktrace:
22794 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22795 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22796 @r=`${PWD_COMMAND}`; export r; \
22797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22798 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22799 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22800 $(HOST_EXPORTS) \
22801 $(POSTSTAGE1_HOST_EXPORTS) \
22802 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22803 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22804 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22805 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22807 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22808 case $(srcdir) in \
22809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22810 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22812 esac; \
22813 module_srcdir=libbacktrace; \
22814 $(SHELL) $$s/$$module_srcdir/configure \
22815 --srcdir=$${topdir}/$$module_srcdir \
22816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22817 --target=${target_alias} \
22818 --with-build-libsubdir=$(HOST_SUBDIR) \
22819 $(STAGEtrain_CONFIGURE_FLAGS)
22820 @endif libbacktrace-bootstrap
22822 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
22823 maybe-configure-stagefeedback-libbacktrace:
22824 @if libbacktrace-bootstrap
22825 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22826 configure-stagefeedback-libbacktrace:
22827 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22829 @r=`${PWD_COMMAND}`; export r; \
22830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22831 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22832 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22833 $(HOST_EXPORTS) \
22834 $(POSTSTAGE1_HOST_EXPORTS) \
22835 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22836 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22837 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22838 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
22839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22840 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22841 case $(srcdir) in \
22842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22843 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22845 esac; \
22846 module_srcdir=libbacktrace; \
22847 $(SHELL) $$s/$$module_srcdir/configure \
22848 --srcdir=$${topdir}/$$module_srcdir \
22849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22850 --target=${target_alias} \
22851 --with-build-libsubdir=$(HOST_SUBDIR) \
22852 $(STAGEfeedback_CONFIGURE_FLAGS)
22853 @endif libbacktrace-bootstrap
22855 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
22856 maybe-configure-stageautoprofile-libbacktrace:
22857 @if libbacktrace-bootstrap
22858 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22859 configure-stageautoprofile-libbacktrace:
22860 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22862 @r=`${PWD_COMMAND}`; export r; \
22863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22864 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22865 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22866 $(HOST_EXPORTS) \
22867 $(POSTSTAGE1_HOST_EXPORTS) \
22868 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22869 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22870 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22871 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
22872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22873 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22874 case $(srcdir) in \
22875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22876 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22878 esac; \
22879 module_srcdir=libbacktrace; \
22880 $(SHELL) $$s/$$module_srcdir/configure \
22881 --srcdir=$${topdir}/$$module_srcdir \
22882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22883 --target=${target_alias} \
22884 --with-build-libsubdir=$(HOST_SUBDIR) \
22885 $(STAGEautoprofile_CONFIGURE_FLAGS)
22886 @endif libbacktrace-bootstrap
22888 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
22889 maybe-configure-stageautofeedback-libbacktrace:
22890 @if libbacktrace-bootstrap
22891 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22892 configure-stageautofeedback-libbacktrace:
22893 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22895 @r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22898 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22899 $(HOST_EXPORTS) \
22900 $(POSTSTAGE1_HOST_EXPORTS) \
22901 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22902 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22903 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22904 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
22905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22906 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22907 case $(srcdir) in \
22908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22909 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22911 esac; \
22912 module_srcdir=libbacktrace; \
22913 $(SHELL) $$s/$$module_srcdir/configure \
22914 --srcdir=$${topdir}/$$module_srcdir \
22915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22916 --target=${target_alias} \
22917 --with-build-libsubdir=$(HOST_SUBDIR) \
22918 $(STAGEautofeedback_CONFIGURE_FLAGS)
22919 @endif libbacktrace-bootstrap
22925 .PHONY: all-libbacktrace maybe-all-libbacktrace
22926 maybe-all-libbacktrace:
22927 @if gcc-bootstrap
22928 all-libbacktrace: stage_current
22929 @endif gcc-bootstrap
22930 @if libbacktrace
22931 TARGET-libbacktrace=all
22932 maybe-all-libbacktrace: all-libbacktrace
22933 all-libbacktrace: configure-libbacktrace
22934 @r=`${PWD_COMMAND}`; export r; \
22935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22936 $(HOST_EXPORTS) \
22937 (cd $(HOST_SUBDIR)/libbacktrace && \
22938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22939 $(TARGET-libbacktrace))
22940 @endif libbacktrace
22944 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
22945 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
22946 maybe-all-stage1-libbacktrace:
22947 maybe-clean-stage1-libbacktrace:
22948 @if libbacktrace-bootstrap
22949 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
22950 all-stage1: all-stage1-libbacktrace
22951 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
22952 all-stage1-libbacktrace: configure-stage1-libbacktrace
22953 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22954 @r=`${PWD_COMMAND}`; export r; \
22955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22956 TFLAGS="$(STAGE1_TFLAGS)"; \
22957 $(HOST_EXPORTS) \
22958 cd $(HOST_SUBDIR)/libbacktrace && \
22960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22961 CFLAGS="$(STAGE1_CFLAGS)" \
22962 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22963 LIBCFLAGS="$(LIBCFLAGS)" \
22964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22967 $(EXTRA_HOST_FLAGS) \
22968 $(STAGE1_FLAGS_TO_PASS) \
22969 TFLAGS="$(STAGE1_TFLAGS)" \
22970 $(TARGET-stage1-libbacktrace)
22972 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
22973 clean-stage1: clean-stage1-libbacktrace
22974 clean-stage1-libbacktrace:
22975 @if [ $(current_stage) = stage1 ]; then \
22976 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22977 else \
22978 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
22979 $(MAKE) stage1-start; \
22980 fi; \
22981 cd $(HOST_SUBDIR)/libbacktrace && \
22982 $(MAKE) $(EXTRA_HOST_FLAGS) \
22983 $(STAGE1_FLAGS_TO_PASS) clean
22984 @endif libbacktrace-bootstrap
22987 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
22988 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
22989 maybe-all-stage2-libbacktrace:
22990 maybe-clean-stage2-libbacktrace:
22991 @if libbacktrace-bootstrap
22992 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
22993 all-stage2: all-stage2-libbacktrace
22994 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
22995 all-stage2-libbacktrace: configure-stage2-libbacktrace
22996 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22997 @r=`${PWD_COMMAND}`; export r; \
22998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 TFLAGS="$(STAGE2_TFLAGS)"; \
23000 $(HOST_EXPORTS) \
23001 $(POSTSTAGE1_HOST_EXPORTS) \
23002 cd $(HOST_SUBDIR)/libbacktrace && \
23004 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23005 CFLAGS="$(STAGE2_CFLAGS)" \
23006 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23007 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23012 TFLAGS="$(STAGE2_TFLAGS)" \
23013 $(TARGET-stage2-libbacktrace)
23015 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23016 clean-stage2: clean-stage2-libbacktrace
23017 clean-stage2-libbacktrace:
23018 @if [ $(current_stage) = stage2 ]; then \
23019 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23020 else \
23021 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23022 $(MAKE) stage2-start; \
23023 fi; \
23024 cd $(HOST_SUBDIR)/libbacktrace && \
23025 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23026 @endif libbacktrace-bootstrap
23029 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23030 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23031 maybe-all-stage3-libbacktrace:
23032 maybe-clean-stage3-libbacktrace:
23033 @if libbacktrace-bootstrap
23034 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23035 all-stage3: all-stage3-libbacktrace
23036 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23037 all-stage3-libbacktrace: configure-stage3-libbacktrace
23038 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23039 @r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 TFLAGS="$(STAGE3_TFLAGS)"; \
23042 $(HOST_EXPORTS) \
23043 $(POSTSTAGE1_HOST_EXPORTS) \
23044 cd $(HOST_SUBDIR)/libbacktrace && \
23046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23047 CFLAGS="$(STAGE3_CFLAGS)" \
23048 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23049 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23054 TFLAGS="$(STAGE3_TFLAGS)" \
23055 $(TARGET-stage3-libbacktrace)
23057 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23058 clean-stage3: clean-stage3-libbacktrace
23059 clean-stage3-libbacktrace:
23060 @if [ $(current_stage) = stage3 ]; then \
23061 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23062 else \
23063 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23064 $(MAKE) stage3-start; \
23065 fi; \
23066 cd $(HOST_SUBDIR)/libbacktrace && \
23067 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23068 @endif libbacktrace-bootstrap
23071 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23072 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23073 maybe-all-stage4-libbacktrace:
23074 maybe-clean-stage4-libbacktrace:
23075 @if libbacktrace-bootstrap
23076 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23077 all-stage4: all-stage4-libbacktrace
23078 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23079 all-stage4-libbacktrace: configure-stage4-libbacktrace
23080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23081 @r=`${PWD_COMMAND}`; export r; \
23082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23083 TFLAGS="$(STAGE4_TFLAGS)"; \
23084 $(HOST_EXPORTS) \
23085 $(POSTSTAGE1_HOST_EXPORTS) \
23086 cd $(HOST_SUBDIR)/libbacktrace && \
23088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23089 CFLAGS="$(STAGE4_CFLAGS)" \
23090 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23091 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23096 TFLAGS="$(STAGE4_TFLAGS)" \
23097 $(TARGET-stage4-libbacktrace)
23099 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23100 clean-stage4: clean-stage4-libbacktrace
23101 clean-stage4-libbacktrace:
23102 @if [ $(current_stage) = stage4 ]; then \
23103 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23104 else \
23105 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23106 $(MAKE) stage4-start; \
23107 fi; \
23108 cd $(HOST_SUBDIR)/libbacktrace && \
23109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23110 @endif libbacktrace-bootstrap
23113 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23114 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23115 maybe-all-stageprofile-libbacktrace:
23116 maybe-clean-stageprofile-libbacktrace:
23117 @if libbacktrace-bootstrap
23118 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23119 all-stageprofile: all-stageprofile-libbacktrace
23120 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23121 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23122 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23123 @r=`${PWD_COMMAND}`; export r; \
23124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23125 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23126 $(HOST_EXPORTS) \
23127 $(POSTSTAGE1_HOST_EXPORTS) \
23128 cd $(HOST_SUBDIR)/libbacktrace && \
23130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23131 CFLAGS="$(STAGEprofile_CFLAGS)" \
23132 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23133 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23134 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23135 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23136 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23137 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23138 TFLAGS="$(STAGEprofile_TFLAGS)" \
23139 $(TARGET-stageprofile-libbacktrace)
23141 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23142 clean-stageprofile: clean-stageprofile-libbacktrace
23143 clean-stageprofile-libbacktrace:
23144 @if [ $(current_stage) = stageprofile ]; then \
23145 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23146 else \
23147 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23148 $(MAKE) stageprofile-start; \
23149 fi; \
23150 cd $(HOST_SUBDIR)/libbacktrace && \
23151 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23152 @endif libbacktrace-bootstrap
23155 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23156 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23157 maybe-all-stagetrain-libbacktrace:
23158 maybe-clean-stagetrain-libbacktrace:
23159 @if libbacktrace-bootstrap
23160 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23161 all-stagetrain: all-stagetrain-libbacktrace
23162 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23163 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23164 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23165 @r=`${PWD_COMMAND}`; export r; \
23166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23167 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23168 $(HOST_EXPORTS) \
23169 $(POSTSTAGE1_HOST_EXPORTS) \
23170 cd $(HOST_SUBDIR)/libbacktrace && \
23172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23173 CFLAGS="$(STAGEtrain_CFLAGS)" \
23174 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23175 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23179 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23180 TFLAGS="$(STAGEtrain_TFLAGS)" \
23181 $(TARGET-stagetrain-libbacktrace)
23183 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23184 clean-stagetrain: clean-stagetrain-libbacktrace
23185 clean-stagetrain-libbacktrace:
23186 @if [ $(current_stage) = stagetrain ]; then \
23187 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23188 else \
23189 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23190 $(MAKE) stagetrain-start; \
23191 fi; \
23192 cd $(HOST_SUBDIR)/libbacktrace && \
23193 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23194 @endif libbacktrace-bootstrap
23197 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23198 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23199 maybe-all-stagefeedback-libbacktrace:
23200 maybe-clean-stagefeedback-libbacktrace:
23201 @if libbacktrace-bootstrap
23202 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23203 all-stagefeedback: all-stagefeedback-libbacktrace
23204 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23205 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23206 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23207 @r=`${PWD_COMMAND}`; export r; \
23208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23209 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23210 $(HOST_EXPORTS) \
23211 $(POSTSTAGE1_HOST_EXPORTS) \
23212 cd $(HOST_SUBDIR)/libbacktrace && \
23214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23215 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23216 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23217 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23221 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23222 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23223 $(TARGET-stagefeedback-libbacktrace)
23225 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23226 clean-stagefeedback: clean-stagefeedback-libbacktrace
23227 clean-stagefeedback-libbacktrace:
23228 @if [ $(current_stage) = stagefeedback ]; then \
23229 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23230 else \
23231 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23232 $(MAKE) stagefeedback-start; \
23233 fi; \
23234 cd $(HOST_SUBDIR)/libbacktrace && \
23235 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23236 @endif libbacktrace-bootstrap
23239 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23240 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23241 maybe-all-stageautoprofile-libbacktrace:
23242 maybe-clean-stageautoprofile-libbacktrace:
23243 @if libbacktrace-bootstrap
23244 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23245 all-stageautoprofile: all-stageautoprofile-libbacktrace
23246 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23247 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23248 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23249 @r=`${PWD_COMMAND}`; export r; \
23250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23251 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23252 $(HOST_EXPORTS) \
23253 $(POSTSTAGE1_HOST_EXPORTS) \
23254 cd $(HOST_SUBDIR)/libbacktrace && \
23255 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23257 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23258 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23259 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23264 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23265 $(TARGET-stageautoprofile-libbacktrace)
23267 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23268 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23269 clean-stageautoprofile-libbacktrace:
23270 @if [ $(current_stage) = stageautoprofile ]; then \
23271 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23272 else \
23273 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23274 $(MAKE) stageautoprofile-start; \
23275 fi; \
23276 cd $(HOST_SUBDIR)/libbacktrace && \
23277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23278 @endif libbacktrace-bootstrap
23281 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23282 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23283 maybe-all-stageautofeedback-libbacktrace:
23284 maybe-clean-stageautofeedback-libbacktrace:
23285 @if libbacktrace-bootstrap
23286 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23287 all-stageautofeedback: all-stageautofeedback-libbacktrace
23288 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23289 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23290 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23291 @r=`${PWD_COMMAND}`; export r; \
23292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23293 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23294 $(HOST_EXPORTS) \
23295 $(POSTSTAGE1_HOST_EXPORTS) \
23296 cd $(HOST_SUBDIR)/libbacktrace && \
23298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23299 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23300 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23301 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23306 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23307 $(TARGET-stageautofeedback-libbacktrace)
23309 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23310 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23311 clean-stageautofeedback-libbacktrace:
23312 @if [ $(current_stage) = stageautofeedback ]; then \
23313 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23314 else \
23315 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23316 $(MAKE) stageautofeedback-start; \
23317 fi; \
23318 cd $(HOST_SUBDIR)/libbacktrace && \
23319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23320 @endif libbacktrace-bootstrap
23326 .PHONY: check-libbacktrace maybe-check-libbacktrace
23327 maybe-check-libbacktrace:
23328 @if libbacktrace
23329 maybe-check-libbacktrace: check-libbacktrace
23331 check-libbacktrace:
23332 @: $(MAKE); $(unstage)
23333 @r=`${PWD_COMMAND}`; export r; \
23334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23336 (cd $(HOST_SUBDIR)/libbacktrace && \
23337 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23339 @endif libbacktrace
23341 .PHONY: install-libbacktrace maybe-install-libbacktrace
23342 maybe-install-libbacktrace:
23343 @if libbacktrace
23344 maybe-install-libbacktrace: install-libbacktrace
23346 install-libbacktrace: installdirs
23347 @: $(MAKE); $(unstage)
23348 @r=`${PWD_COMMAND}`; export r; \
23349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23350 $(HOST_EXPORTS) \
23351 (cd $(HOST_SUBDIR)/libbacktrace && \
23352 $(MAKE) $(FLAGS_TO_PASS) install)
23354 @endif libbacktrace
23356 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23357 maybe-install-strip-libbacktrace:
23358 @if libbacktrace
23359 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23361 install-strip-libbacktrace: installdirs
23362 @: $(MAKE); $(unstage)
23363 @r=`${PWD_COMMAND}`; export r; \
23364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365 $(HOST_EXPORTS) \
23366 (cd $(HOST_SUBDIR)/libbacktrace && \
23367 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23369 @endif libbacktrace
23371 # Other targets (info, dvi, pdf, etc.)
23373 .PHONY: maybe-info-libbacktrace info-libbacktrace
23374 maybe-info-libbacktrace:
23375 @if libbacktrace
23376 maybe-info-libbacktrace: info-libbacktrace
23378 info-libbacktrace: \
23379 configure-libbacktrace
23380 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23381 r=`${PWD_COMMAND}`; export r; \
23382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23383 $(HOST_EXPORTS) \
23384 for flag in $(EXTRA_HOST_FLAGS) ; do \
23385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23386 done; \
23387 echo "Doing info in libbacktrace"; \
23388 (cd $(HOST_SUBDIR)/libbacktrace && \
23389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23391 "RANLIB=$${RANLIB}" \
23392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23393 info) \
23394 || exit 1
23396 @endif libbacktrace
23398 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23399 maybe-dvi-libbacktrace:
23400 @if libbacktrace
23401 maybe-dvi-libbacktrace: dvi-libbacktrace
23403 dvi-libbacktrace: \
23404 configure-libbacktrace
23405 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23406 r=`${PWD_COMMAND}`; export r; \
23407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23408 $(HOST_EXPORTS) \
23409 for flag in $(EXTRA_HOST_FLAGS) ; do \
23410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23411 done; \
23412 echo "Doing dvi in libbacktrace"; \
23413 (cd $(HOST_SUBDIR)/libbacktrace && \
23414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23416 "RANLIB=$${RANLIB}" \
23417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23418 dvi) \
23419 || exit 1
23421 @endif libbacktrace
23423 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23424 maybe-pdf-libbacktrace:
23425 @if libbacktrace
23426 maybe-pdf-libbacktrace: pdf-libbacktrace
23428 pdf-libbacktrace: \
23429 configure-libbacktrace
23430 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23431 r=`${PWD_COMMAND}`; export r; \
23432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23433 $(HOST_EXPORTS) \
23434 for flag in $(EXTRA_HOST_FLAGS) ; do \
23435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23436 done; \
23437 echo "Doing pdf in libbacktrace"; \
23438 (cd $(HOST_SUBDIR)/libbacktrace && \
23439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23441 "RANLIB=$${RANLIB}" \
23442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23443 pdf) \
23444 || exit 1
23446 @endif libbacktrace
23448 .PHONY: maybe-html-libbacktrace html-libbacktrace
23449 maybe-html-libbacktrace:
23450 @if libbacktrace
23451 maybe-html-libbacktrace: html-libbacktrace
23453 html-libbacktrace: \
23454 configure-libbacktrace
23455 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23456 r=`${PWD_COMMAND}`; export r; \
23457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23458 $(HOST_EXPORTS) \
23459 for flag in $(EXTRA_HOST_FLAGS) ; do \
23460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23461 done; \
23462 echo "Doing html in libbacktrace"; \
23463 (cd $(HOST_SUBDIR)/libbacktrace && \
23464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23466 "RANLIB=$${RANLIB}" \
23467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23468 html) \
23469 || exit 1
23471 @endif libbacktrace
23473 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23474 maybe-TAGS-libbacktrace:
23475 @if libbacktrace
23476 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23478 TAGS-libbacktrace: \
23479 configure-libbacktrace
23480 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23481 r=`${PWD_COMMAND}`; export r; \
23482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23483 $(HOST_EXPORTS) \
23484 for flag in $(EXTRA_HOST_FLAGS) ; do \
23485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23486 done; \
23487 echo "Doing TAGS in libbacktrace"; \
23488 (cd $(HOST_SUBDIR)/libbacktrace && \
23489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23491 "RANLIB=$${RANLIB}" \
23492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23493 TAGS) \
23494 || exit 1
23496 @endif libbacktrace
23498 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23499 maybe-install-info-libbacktrace:
23500 @if libbacktrace
23501 maybe-install-info-libbacktrace: install-info-libbacktrace
23503 install-info-libbacktrace: \
23504 configure-libbacktrace \
23505 info-libbacktrace
23506 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23507 r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 $(HOST_EXPORTS) \
23510 for flag in $(EXTRA_HOST_FLAGS) ; do \
23511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23512 done; \
23513 echo "Doing install-info in libbacktrace"; \
23514 (cd $(HOST_SUBDIR)/libbacktrace && \
23515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23517 "RANLIB=$${RANLIB}" \
23518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23519 install-info) \
23520 || exit 1
23522 @endif libbacktrace
23524 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23525 maybe-install-pdf-libbacktrace:
23526 @if libbacktrace
23527 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23529 install-pdf-libbacktrace: \
23530 configure-libbacktrace \
23531 pdf-libbacktrace
23532 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23533 r=`${PWD_COMMAND}`; export r; \
23534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535 $(HOST_EXPORTS) \
23536 for flag in $(EXTRA_HOST_FLAGS) ; do \
23537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23538 done; \
23539 echo "Doing install-pdf in libbacktrace"; \
23540 (cd $(HOST_SUBDIR)/libbacktrace && \
23541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23543 "RANLIB=$${RANLIB}" \
23544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23545 install-pdf) \
23546 || exit 1
23548 @endif libbacktrace
23550 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23551 maybe-install-html-libbacktrace:
23552 @if libbacktrace
23553 maybe-install-html-libbacktrace: install-html-libbacktrace
23555 install-html-libbacktrace: \
23556 configure-libbacktrace \
23557 html-libbacktrace
23558 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23559 r=`${PWD_COMMAND}`; export r; \
23560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23561 $(HOST_EXPORTS) \
23562 for flag in $(EXTRA_HOST_FLAGS) ; do \
23563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23564 done; \
23565 echo "Doing install-html in libbacktrace"; \
23566 (cd $(HOST_SUBDIR)/libbacktrace && \
23567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23569 "RANLIB=$${RANLIB}" \
23570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23571 install-html) \
23572 || exit 1
23574 @endif libbacktrace
23576 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23577 maybe-installcheck-libbacktrace:
23578 @if libbacktrace
23579 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23581 installcheck-libbacktrace: \
23582 configure-libbacktrace
23583 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23584 r=`${PWD_COMMAND}`; export r; \
23585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23586 $(HOST_EXPORTS) \
23587 for flag in $(EXTRA_HOST_FLAGS) ; do \
23588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23589 done; \
23590 echo "Doing installcheck in libbacktrace"; \
23591 (cd $(HOST_SUBDIR)/libbacktrace && \
23592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23594 "RANLIB=$${RANLIB}" \
23595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23596 installcheck) \
23597 || exit 1
23599 @endif libbacktrace
23601 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23602 maybe-mostlyclean-libbacktrace:
23603 @if libbacktrace
23604 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23606 mostlyclean-libbacktrace:
23607 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23608 r=`${PWD_COMMAND}`; export r; \
23609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23610 $(HOST_EXPORTS) \
23611 for flag in $(EXTRA_HOST_FLAGS) ; do \
23612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23613 done; \
23614 echo "Doing mostlyclean in libbacktrace"; \
23615 (cd $(HOST_SUBDIR)/libbacktrace && \
23616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23618 "RANLIB=$${RANLIB}" \
23619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23620 mostlyclean) \
23621 || exit 1
23623 @endif libbacktrace
23625 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23626 maybe-clean-libbacktrace:
23627 @if libbacktrace
23628 maybe-clean-libbacktrace: clean-libbacktrace
23630 clean-libbacktrace:
23631 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23632 r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(HOST_EXPORTS) \
23635 for flag in $(EXTRA_HOST_FLAGS) ; do \
23636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23637 done; \
23638 echo "Doing clean in libbacktrace"; \
23639 (cd $(HOST_SUBDIR)/libbacktrace && \
23640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23642 "RANLIB=$${RANLIB}" \
23643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23644 clean) \
23645 || exit 1
23647 @endif libbacktrace
23649 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23650 maybe-distclean-libbacktrace:
23651 @if libbacktrace
23652 maybe-distclean-libbacktrace: distclean-libbacktrace
23654 distclean-libbacktrace:
23655 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 for flag in $(EXTRA_HOST_FLAGS) ; do \
23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23661 done; \
23662 echo "Doing distclean in libbacktrace"; \
23663 (cd $(HOST_SUBDIR)/libbacktrace && \
23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23666 "RANLIB=$${RANLIB}" \
23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23668 distclean) \
23669 || exit 1
23671 @endif libbacktrace
23673 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23674 maybe-maintainer-clean-libbacktrace:
23675 @if libbacktrace
23676 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23678 maintainer-clean-libbacktrace:
23679 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23680 r=`${PWD_COMMAND}`; export r; \
23681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23682 $(HOST_EXPORTS) \
23683 for flag in $(EXTRA_HOST_FLAGS) ; do \
23684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23685 done; \
23686 echo "Doing maintainer-clean in libbacktrace"; \
23687 (cd $(HOST_SUBDIR)/libbacktrace && \
23688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23690 "RANLIB=$${RANLIB}" \
23691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23692 maintainer-clean) \
23693 || exit 1
23695 @endif libbacktrace
23699 .PHONY: configure-libcpp maybe-configure-libcpp
23700 maybe-configure-libcpp:
23701 @if gcc-bootstrap
23702 configure-libcpp: stage_current
23703 @endif gcc-bootstrap
23704 @if libcpp
23705 maybe-configure-libcpp: configure-libcpp
23706 configure-libcpp:
23707 @r=`${PWD_COMMAND}`; export r; \
23708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23711 $(HOST_EXPORTS) \
23712 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23713 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23714 case $(srcdir) in \
23715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23716 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23718 esac; \
23719 module_srcdir=libcpp; \
23720 $(SHELL) \
23721 $$s/$$module_srcdir/configure \
23722 --srcdir=$${topdir}/$$module_srcdir \
23723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23724 --target=${target_alias} \
23725 || exit 1
23726 @endif libcpp
23730 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23731 maybe-configure-stage1-libcpp:
23732 @if libcpp-bootstrap
23733 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23734 configure-stage1-libcpp:
23735 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23736 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23737 @r=`${PWD_COMMAND}`; export r; \
23738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23739 TFLAGS="$(STAGE1_TFLAGS)"; \
23740 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23741 $(HOST_EXPORTS) \
23742 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23743 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23744 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23745 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23747 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23748 case $(srcdir) in \
23749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23750 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23752 esac; \
23753 module_srcdir=libcpp; \
23754 $(SHELL) $$s/$$module_srcdir/configure \
23755 --srcdir=$${topdir}/$$module_srcdir \
23756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23757 --target=${target_alias} \
23759 $(STAGE1_CONFIGURE_FLAGS)
23760 @endif libcpp-bootstrap
23762 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23763 maybe-configure-stage2-libcpp:
23764 @if libcpp-bootstrap
23765 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23766 configure-stage2-libcpp:
23767 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23769 @r=`${PWD_COMMAND}`; export r; \
23770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23771 TFLAGS="$(STAGE2_TFLAGS)"; \
23772 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23773 $(HOST_EXPORTS) \
23774 $(POSTSTAGE1_HOST_EXPORTS) \
23775 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23776 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23777 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23778 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23780 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23781 case $(srcdir) in \
23782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23783 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23785 esac; \
23786 module_srcdir=libcpp; \
23787 $(SHELL) $$s/$$module_srcdir/configure \
23788 --srcdir=$${topdir}/$$module_srcdir \
23789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23790 --target=${target_alias} \
23791 --with-build-libsubdir=$(HOST_SUBDIR) \
23792 $(STAGE2_CONFIGURE_FLAGS)
23793 @endif libcpp-bootstrap
23795 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23796 maybe-configure-stage3-libcpp:
23797 @if libcpp-bootstrap
23798 maybe-configure-stage3-libcpp: configure-stage3-libcpp
23799 configure-stage3-libcpp:
23800 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23802 @r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23804 TFLAGS="$(STAGE3_TFLAGS)"; \
23805 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23806 $(HOST_EXPORTS) \
23807 $(POSTSTAGE1_HOST_EXPORTS) \
23808 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23809 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23810 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23811 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
23812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23813 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23814 case $(srcdir) in \
23815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23816 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23818 esac; \
23819 module_srcdir=libcpp; \
23820 $(SHELL) $$s/$$module_srcdir/configure \
23821 --srcdir=$${topdir}/$$module_srcdir \
23822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23823 --target=${target_alias} \
23824 --with-build-libsubdir=$(HOST_SUBDIR) \
23825 $(STAGE3_CONFIGURE_FLAGS)
23826 @endif libcpp-bootstrap
23828 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
23829 maybe-configure-stage4-libcpp:
23830 @if libcpp-bootstrap
23831 maybe-configure-stage4-libcpp: configure-stage4-libcpp
23832 configure-stage4-libcpp:
23833 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23835 @r=`${PWD_COMMAND}`; export r; \
23836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23837 TFLAGS="$(STAGE4_TFLAGS)"; \
23838 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23839 $(HOST_EXPORTS) \
23840 $(POSTSTAGE1_HOST_EXPORTS) \
23841 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23842 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23843 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23844 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
23845 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23846 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23847 case $(srcdir) in \
23848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23849 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23851 esac; \
23852 module_srcdir=libcpp; \
23853 $(SHELL) $$s/$$module_srcdir/configure \
23854 --srcdir=$${topdir}/$$module_srcdir \
23855 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23856 --target=${target_alias} \
23857 --with-build-libsubdir=$(HOST_SUBDIR) \
23858 $(STAGE4_CONFIGURE_FLAGS)
23859 @endif libcpp-bootstrap
23861 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
23862 maybe-configure-stageprofile-libcpp:
23863 @if libcpp-bootstrap
23864 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
23865 configure-stageprofile-libcpp:
23866 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23867 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23868 @r=`${PWD_COMMAND}`; export r; \
23869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23870 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23871 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23872 $(HOST_EXPORTS) \
23873 $(POSTSTAGE1_HOST_EXPORTS) \
23874 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23875 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23876 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23877 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
23878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23879 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23880 case $(srcdir) in \
23881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23882 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23884 esac; \
23885 module_srcdir=libcpp; \
23886 $(SHELL) $$s/$$module_srcdir/configure \
23887 --srcdir=$${topdir}/$$module_srcdir \
23888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23889 --target=${target_alias} \
23890 --with-build-libsubdir=$(HOST_SUBDIR) \
23891 $(STAGEprofile_CONFIGURE_FLAGS)
23892 @endif libcpp-bootstrap
23894 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
23895 maybe-configure-stagetrain-libcpp:
23896 @if libcpp-bootstrap
23897 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
23898 configure-stagetrain-libcpp:
23899 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23900 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23901 @r=`${PWD_COMMAND}`; export r; \
23902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23903 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23904 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23905 $(HOST_EXPORTS) \
23906 $(POSTSTAGE1_HOST_EXPORTS) \
23907 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23908 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23909 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23910 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
23911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23912 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23913 case $(srcdir) in \
23914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23915 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23917 esac; \
23918 module_srcdir=libcpp; \
23919 $(SHELL) $$s/$$module_srcdir/configure \
23920 --srcdir=$${topdir}/$$module_srcdir \
23921 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23922 --target=${target_alias} \
23923 --with-build-libsubdir=$(HOST_SUBDIR) \
23924 $(STAGEtrain_CONFIGURE_FLAGS)
23925 @endif libcpp-bootstrap
23927 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
23928 maybe-configure-stagefeedback-libcpp:
23929 @if libcpp-bootstrap
23930 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
23931 configure-stagefeedback-libcpp:
23932 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23934 @r=`${PWD_COMMAND}`; export r; \
23935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23936 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23937 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23938 $(HOST_EXPORTS) \
23939 $(POSTSTAGE1_HOST_EXPORTS) \
23940 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23941 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23942 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23943 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
23944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23945 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23946 case $(srcdir) in \
23947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23948 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23950 esac; \
23951 module_srcdir=libcpp; \
23952 $(SHELL) $$s/$$module_srcdir/configure \
23953 --srcdir=$${topdir}/$$module_srcdir \
23954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23955 --target=${target_alias} \
23956 --with-build-libsubdir=$(HOST_SUBDIR) \
23957 $(STAGEfeedback_CONFIGURE_FLAGS)
23958 @endif libcpp-bootstrap
23960 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
23961 maybe-configure-stageautoprofile-libcpp:
23962 @if libcpp-bootstrap
23963 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23964 configure-stageautoprofile-libcpp:
23965 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23967 @r=`${PWD_COMMAND}`; export r; \
23968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23969 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23970 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23971 $(HOST_EXPORTS) \
23972 $(POSTSTAGE1_HOST_EXPORTS) \
23973 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23974 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23975 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23976 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
23977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23978 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23979 case $(srcdir) in \
23980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23981 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23983 esac; \
23984 module_srcdir=libcpp; \
23985 $(SHELL) $$s/$$module_srcdir/configure \
23986 --srcdir=$${topdir}/$$module_srcdir \
23987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23988 --target=${target_alias} \
23989 --with-build-libsubdir=$(HOST_SUBDIR) \
23990 $(STAGEautoprofile_CONFIGURE_FLAGS)
23991 @endif libcpp-bootstrap
23993 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
23994 maybe-configure-stageautofeedback-libcpp:
23995 @if libcpp-bootstrap
23996 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
23997 configure-stageautofeedback-libcpp:
23998 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24000 @r=`${PWD_COMMAND}`; export r; \
24001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24002 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24003 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24004 $(HOST_EXPORTS) \
24005 $(POSTSTAGE1_HOST_EXPORTS) \
24006 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24007 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24008 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24009 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24011 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24012 case $(srcdir) in \
24013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24014 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24016 esac; \
24017 module_srcdir=libcpp; \
24018 $(SHELL) $$s/$$module_srcdir/configure \
24019 --srcdir=$${topdir}/$$module_srcdir \
24020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24021 --target=${target_alias} \
24022 --with-build-libsubdir=$(HOST_SUBDIR) \
24023 $(STAGEautofeedback_CONFIGURE_FLAGS)
24024 @endif libcpp-bootstrap
24030 .PHONY: all-libcpp maybe-all-libcpp
24031 maybe-all-libcpp:
24032 @if gcc-bootstrap
24033 all-libcpp: stage_current
24034 @endif gcc-bootstrap
24035 @if libcpp
24036 TARGET-libcpp=all
24037 maybe-all-libcpp: all-libcpp
24038 all-libcpp: configure-libcpp
24039 @r=`${PWD_COMMAND}`; export r; \
24040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24041 $(HOST_EXPORTS) \
24042 (cd $(HOST_SUBDIR)/libcpp && \
24043 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24044 $(TARGET-libcpp))
24045 @endif libcpp
24049 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24050 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24051 maybe-all-stage1-libcpp:
24052 maybe-clean-stage1-libcpp:
24053 @if libcpp-bootstrap
24054 maybe-all-stage1-libcpp: all-stage1-libcpp
24055 all-stage1: all-stage1-libcpp
24056 TARGET-stage1-libcpp = $(TARGET-libcpp)
24057 all-stage1-libcpp: configure-stage1-libcpp
24058 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24059 @r=`${PWD_COMMAND}`; export r; \
24060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24061 TFLAGS="$(STAGE1_TFLAGS)"; \
24062 $(HOST_EXPORTS) \
24063 cd $(HOST_SUBDIR)/libcpp && \
24065 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24066 CFLAGS="$(STAGE1_CFLAGS)" \
24067 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24068 LIBCFLAGS="$(LIBCFLAGS)" \
24069 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24070 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24071 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24072 $(EXTRA_HOST_FLAGS) \
24073 $(STAGE1_FLAGS_TO_PASS) \
24074 TFLAGS="$(STAGE1_TFLAGS)" \
24075 $(TARGET-stage1-libcpp)
24077 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24078 clean-stage1: clean-stage1-libcpp
24079 clean-stage1-libcpp:
24080 @if [ $(current_stage) = stage1 ]; then \
24081 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24082 else \
24083 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24084 $(MAKE) stage1-start; \
24085 fi; \
24086 cd $(HOST_SUBDIR)/libcpp && \
24087 $(MAKE) $(EXTRA_HOST_FLAGS) \
24088 $(STAGE1_FLAGS_TO_PASS) clean
24089 @endif libcpp-bootstrap
24092 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24093 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24094 maybe-all-stage2-libcpp:
24095 maybe-clean-stage2-libcpp:
24096 @if libcpp-bootstrap
24097 maybe-all-stage2-libcpp: all-stage2-libcpp
24098 all-stage2: all-stage2-libcpp
24099 TARGET-stage2-libcpp = $(TARGET-libcpp)
24100 all-stage2-libcpp: configure-stage2-libcpp
24101 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24102 @r=`${PWD_COMMAND}`; export r; \
24103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24104 TFLAGS="$(STAGE2_TFLAGS)"; \
24105 $(HOST_EXPORTS) \
24106 $(POSTSTAGE1_HOST_EXPORTS) \
24107 cd $(HOST_SUBDIR)/libcpp && \
24109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24110 CFLAGS="$(STAGE2_CFLAGS)" \
24111 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24112 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24117 TFLAGS="$(STAGE2_TFLAGS)" \
24118 $(TARGET-stage2-libcpp)
24120 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24121 clean-stage2: clean-stage2-libcpp
24122 clean-stage2-libcpp:
24123 @if [ $(current_stage) = stage2 ]; then \
24124 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24125 else \
24126 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24127 $(MAKE) stage2-start; \
24128 fi; \
24129 cd $(HOST_SUBDIR)/libcpp && \
24130 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24131 @endif libcpp-bootstrap
24134 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24135 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24136 maybe-all-stage3-libcpp:
24137 maybe-clean-stage3-libcpp:
24138 @if libcpp-bootstrap
24139 maybe-all-stage3-libcpp: all-stage3-libcpp
24140 all-stage3: all-stage3-libcpp
24141 TARGET-stage3-libcpp = $(TARGET-libcpp)
24142 all-stage3-libcpp: configure-stage3-libcpp
24143 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24144 @r=`${PWD_COMMAND}`; export r; \
24145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24146 TFLAGS="$(STAGE3_TFLAGS)"; \
24147 $(HOST_EXPORTS) \
24148 $(POSTSTAGE1_HOST_EXPORTS) \
24149 cd $(HOST_SUBDIR)/libcpp && \
24151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24152 CFLAGS="$(STAGE3_CFLAGS)" \
24153 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24154 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24158 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24159 TFLAGS="$(STAGE3_TFLAGS)" \
24160 $(TARGET-stage3-libcpp)
24162 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24163 clean-stage3: clean-stage3-libcpp
24164 clean-stage3-libcpp:
24165 @if [ $(current_stage) = stage3 ]; then \
24166 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24167 else \
24168 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24169 $(MAKE) stage3-start; \
24170 fi; \
24171 cd $(HOST_SUBDIR)/libcpp && \
24172 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24173 @endif libcpp-bootstrap
24176 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24177 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24178 maybe-all-stage4-libcpp:
24179 maybe-clean-stage4-libcpp:
24180 @if libcpp-bootstrap
24181 maybe-all-stage4-libcpp: all-stage4-libcpp
24182 all-stage4: all-stage4-libcpp
24183 TARGET-stage4-libcpp = $(TARGET-libcpp)
24184 all-stage4-libcpp: configure-stage4-libcpp
24185 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24186 @r=`${PWD_COMMAND}`; export r; \
24187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24188 TFLAGS="$(STAGE4_TFLAGS)"; \
24189 $(HOST_EXPORTS) \
24190 $(POSTSTAGE1_HOST_EXPORTS) \
24191 cd $(HOST_SUBDIR)/libcpp && \
24193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24194 CFLAGS="$(STAGE4_CFLAGS)" \
24195 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24196 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24201 TFLAGS="$(STAGE4_TFLAGS)" \
24202 $(TARGET-stage4-libcpp)
24204 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24205 clean-stage4: clean-stage4-libcpp
24206 clean-stage4-libcpp:
24207 @if [ $(current_stage) = stage4 ]; then \
24208 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24209 else \
24210 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24211 $(MAKE) stage4-start; \
24212 fi; \
24213 cd $(HOST_SUBDIR)/libcpp && \
24214 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24215 @endif libcpp-bootstrap
24218 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24219 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24220 maybe-all-stageprofile-libcpp:
24221 maybe-clean-stageprofile-libcpp:
24222 @if libcpp-bootstrap
24223 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24224 all-stageprofile: all-stageprofile-libcpp
24225 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24226 all-stageprofile-libcpp: configure-stageprofile-libcpp
24227 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24228 @r=`${PWD_COMMAND}`; export r; \
24229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24230 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24231 $(HOST_EXPORTS) \
24232 $(POSTSTAGE1_HOST_EXPORTS) \
24233 cd $(HOST_SUBDIR)/libcpp && \
24235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24236 CFLAGS="$(STAGEprofile_CFLAGS)" \
24237 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24238 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24243 TFLAGS="$(STAGEprofile_TFLAGS)" \
24244 $(TARGET-stageprofile-libcpp)
24246 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24247 clean-stageprofile: clean-stageprofile-libcpp
24248 clean-stageprofile-libcpp:
24249 @if [ $(current_stage) = stageprofile ]; then \
24250 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24251 else \
24252 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24253 $(MAKE) stageprofile-start; \
24254 fi; \
24255 cd $(HOST_SUBDIR)/libcpp && \
24256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24257 @endif libcpp-bootstrap
24260 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24261 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24262 maybe-all-stagetrain-libcpp:
24263 maybe-clean-stagetrain-libcpp:
24264 @if libcpp-bootstrap
24265 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24266 all-stagetrain: all-stagetrain-libcpp
24267 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24268 all-stagetrain-libcpp: configure-stagetrain-libcpp
24269 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24270 @r=`${PWD_COMMAND}`; export r; \
24271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24272 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24273 $(HOST_EXPORTS) \
24274 $(POSTSTAGE1_HOST_EXPORTS) \
24275 cd $(HOST_SUBDIR)/libcpp && \
24277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24278 CFLAGS="$(STAGEtrain_CFLAGS)" \
24279 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24280 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24284 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24285 TFLAGS="$(STAGEtrain_TFLAGS)" \
24286 $(TARGET-stagetrain-libcpp)
24288 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24289 clean-stagetrain: clean-stagetrain-libcpp
24290 clean-stagetrain-libcpp:
24291 @if [ $(current_stage) = stagetrain ]; then \
24292 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24293 else \
24294 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24295 $(MAKE) stagetrain-start; \
24296 fi; \
24297 cd $(HOST_SUBDIR)/libcpp && \
24298 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24299 @endif libcpp-bootstrap
24302 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24303 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24304 maybe-all-stagefeedback-libcpp:
24305 maybe-clean-stagefeedback-libcpp:
24306 @if libcpp-bootstrap
24307 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24308 all-stagefeedback: all-stagefeedback-libcpp
24309 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24310 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24311 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24312 @r=`${PWD_COMMAND}`; export r; \
24313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24314 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24315 $(HOST_EXPORTS) \
24316 $(POSTSTAGE1_HOST_EXPORTS) \
24317 cd $(HOST_SUBDIR)/libcpp && \
24319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24320 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24321 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24322 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24327 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24328 $(TARGET-stagefeedback-libcpp)
24330 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24331 clean-stagefeedback: clean-stagefeedback-libcpp
24332 clean-stagefeedback-libcpp:
24333 @if [ $(current_stage) = stagefeedback ]; then \
24334 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24335 else \
24336 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24337 $(MAKE) stagefeedback-start; \
24338 fi; \
24339 cd $(HOST_SUBDIR)/libcpp && \
24340 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24341 @endif libcpp-bootstrap
24344 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24345 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24346 maybe-all-stageautoprofile-libcpp:
24347 maybe-clean-stageautoprofile-libcpp:
24348 @if libcpp-bootstrap
24349 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24350 all-stageautoprofile: all-stageautoprofile-libcpp
24351 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24352 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24353 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24354 @r=`${PWD_COMMAND}`; export r; \
24355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24356 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24357 $(HOST_EXPORTS) \
24358 $(POSTSTAGE1_HOST_EXPORTS) \
24359 cd $(HOST_SUBDIR)/libcpp && \
24360 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24362 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24363 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24364 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24369 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24370 $(TARGET-stageautoprofile-libcpp)
24372 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24373 clean-stageautoprofile: clean-stageautoprofile-libcpp
24374 clean-stageautoprofile-libcpp:
24375 @if [ $(current_stage) = stageautoprofile ]; then \
24376 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24377 else \
24378 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24379 $(MAKE) stageautoprofile-start; \
24380 fi; \
24381 cd $(HOST_SUBDIR)/libcpp && \
24382 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24383 @endif libcpp-bootstrap
24386 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24387 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24388 maybe-all-stageautofeedback-libcpp:
24389 maybe-clean-stageautofeedback-libcpp:
24390 @if libcpp-bootstrap
24391 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24392 all-stageautofeedback: all-stageautofeedback-libcpp
24393 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24394 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24395 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24396 @r=`${PWD_COMMAND}`; export r; \
24397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24398 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24399 $(HOST_EXPORTS) \
24400 $(POSTSTAGE1_HOST_EXPORTS) \
24401 cd $(HOST_SUBDIR)/libcpp && \
24403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24404 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24405 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24406 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24407 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24408 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24409 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24410 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24411 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24412 $(TARGET-stageautofeedback-libcpp)
24414 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24415 clean-stageautofeedback: clean-stageautofeedback-libcpp
24416 clean-stageautofeedback-libcpp:
24417 @if [ $(current_stage) = stageautofeedback ]; then \
24418 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24419 else \
24420 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24421 $(MAKE) stageautofeedback-start; \
24422 fi; \
24423 cd $(HOST_SUBDIR)/libcpp && \
24424 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24425 @endif libcpp-bootstrap
24431 .PHONY: check-libcpp maybe-check-libcpp
24432 maybe-check-libcpp:
24433 @if libcpp
24434 maybe-check-libcpp: check-libcpp
24436 check-libcpp:
24437 @: $(MAKE); $(unstage)
24438 @r=`${PWD_COMMAND}`; export r; \
24439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24440 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24441 (cd $(HOST_SUBDIR)/libcpp && \
24442 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24444 @endif libcpp
24446 .PHONY: install-libcpp maybe-install-libcpp
24447 maybe-install-libcpp:
24448 @if libcpp
24449 maybe-install-libcpp: install-libcpp
24451 install-libcpp: installdirs
24452 @: $(MAKE); $(unstage)
24453 @r=`${PWD_COMMAND}`; export r; \
24454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24455 $(HOST_EXPORTS) \
24456 (cd $(HOST_SUBDIR)/libcpp && \
24457 $(MAKE) $(FLAGS_TO_PASS) install)
24459 @endif libcpp
24461 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24462 maybe-install-strip-libcpp:
24463 @if libcpp
24464 maybe-install-strip-libcpp: install-strip-libcpp
24466 install-strip-libcpp: installdirs
24467 @: $(MAKE); $(unstage)
24468 @r=`${PWD_COMMAND}`; export r; \
24469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24470 $(HOST_EXPORTS) \
24471 (cd $(HOST_SUBDIR)/libcpp && \
24472 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24474 @endif libcpp
24476 # Other targets (info, dvi, pdf, etc.)
24478 .PHONY: maybe-info-libcpp info-libcpp
24479 maybe-info-libcpp:
24480 @if libcpp
24481 maybe-info-libcpp: info-libcpp
24483 info-libcpp: \
24484 configure-libcpp
24485 @[ -f ./libcpp/Makefile ] || exit 0; \
24486 r=`${PWD_COMMAND}`; export r; \
24487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24488 $(HOST_EXPORTS) \
24489 for flag in $(EXTRA_HOST_FLAGS) ; do \
24490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24491 done; \
24492 echo "Doing info in libcpp"; \
24493 (cd $(HOST_SUBDIR)/libcpp && \
24494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24496 "RANLIB=$${RANLIB}" \
24497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24498 info) \
24499 || exit 1
24501 @endif libcpp
24503 .PHONY: maybe-dvi-libcpp dvi-libcpp
24504 maybe-dvi-libcpp:
24505 @if libcpp
24506 maybe-dvi-libcpp: dvi-libcpp
24508 dvi-libcpp: \
24509 configure-libcpp
24510 @[ -f ./libcpp/Makefile ] || exit 0; \
24511 r=`${PWD_COMMAND}`; export r; \
24512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24513 $(HOST_EXPORTS) \
24514 for flag in $(EXTRA_HOST_FLAGS) ; do \
24515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24516 done; \
24517 echo "Doing dvi in libcpp"; \
24518 (cd $(HOST_SUBDIR)/libcpp && \
24519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24521 "RANLIB=$${RANLIB}" \
24522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24523 dvi) \
24524 || exit 1
24526 @endif libcpp
24528 .PHONY: maybe-pdf-libcpp pdf-libcpp
24529 maybe-pdf-libcpp:
24530 @if libcpp
24531 maybe-pdf-libcpp: pdf-libcpp
24533 pdf-libcpp: \
24534 configure-libcpp
24535 @[ -f ./libcpp/Makefile ] || exit 0; \
24536 r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 for flag in $(EXTRA_HOST_FLAGS) ; do \
24540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24541 done; \
24542 echo "Doing pdf in libcpp"; \
24543 (cd $(HOST_SUBDIR)/libcpp && \
24544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24546 "RANLIB=$${RANLIB}" \
24547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24548 pdf) \
24549 || exit 1
24551 @endif libcpp
24553 .PHONY: maybe-html-libcpp html-libcpp
24554 maybe-html-libcpp:
24555 @if libcpp
24556 maybe-html-libcpp: html-libcpp
24558 html-libcpp: \
24559 configure-libcpp
24560 @[ -f ./libcpp/Makefile ] || exit 0; \
24561 r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563 $(HOST_EXPORTS) \
24564 for flag in $(EXTRA_HOST_FLAGS) ; do \
24565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24566 done; \
24567 echo "Doing html in libcpp"; \
24568 (cd $(HOST_SUBDIR)/libcpp && \
24569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24571 "RANLIB=$${RANLIB}" \
24572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24573 html) \
24574 || exit 1
24576 @endif libcpp
24578 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24579 maybe-TAGS-libcpp:
24580 @if libcpp
24581 maybe-TAGS-libcpp: TAGS-libcpp
24583 TAGS-libcpp: \
24584 configure-libcpp
24585 @[ -f ./libcpp/Makefile ] || exit 0; \
24586 r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(HOST_EXPORTS) \
24589 for flag in $(EXTRA_HOST_FLAGS) ; do \
24590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24591 done; \
24592 echo "Doing TAGS in libcpp"; \
24593 (cd $(HOST_SUBDIR)/libcpp && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24598 TAGS) \
24599 || exit 1
24601 @endif libcpp
24603 .PHONY: maybe-install-info-libcpp install-info-libcpp
24604 maybe-install-info-libcpp:
24605 @if libcpp
24606 maybe-install-info-libcpp: install-info-libcpp
24608 install-info-libcpp: \
24609 configure-libcpp \
24610 info-libcpp
24611 @[ -f ./libcpp/Makefile ] || exit 0; \
24612 r=`${PWD_COMMAND}`; export r; \
24613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24614 $(HOST_EXPORTS) \
24615 for flag in $(EXTRA_HOST_FLAGS) ; do \
24616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24617 done; \
24618 echo "Doing install-info in libcpp"; \
24619 (cd $(HOST_SUBDIR)/libcpp && \
24620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24622 "RANLIB=$${RANLIB}" \
24623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24624 install-info) \
24625 || exit 1
24627 @endif libcpp
24629 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24630 maybe-install-pdf-libcpp:
24631 @if libcpp
24632 maybe-install-pdf-libcpp: install-pdf-libcpp
24634 install-pdf-libcpp: \
24635 configure-libcpp \
24636 pdf-libcpp
24637 @[ -f ./libcpp/Makefile ] || exit 0; \
24638 r=`${PWD_COMMAND}`; export r; \
24639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24640 $(HOST_EXPORTS) \
24641 for flag in $(EXTRA_HOST_FLAGS) ; do \
24642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24643 done; \
24644 echo "Doing install-pdf in libcpp"; \
24645 (cd $(HOST_SUBDIR)/libcpp && \
24646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24648 "RANLIB=$${RANLIB}" \
24649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24650 install-pdf) \
24651 || exit 1
24653 @endif libcpp
24655 .PHONY: maybe-install-html-libcpp install-html-libcpp
24656 maybe-install-html-libcpp:
24657 @if libcpp
24658 maybe-install-html-libcpp: install-html-libcpp
24660 install-html-libcpp: \
24661 configure-libcpp \
24662 html-libcpp
24663 @[ -f ./libcpp/Makefile ] || exit 0; \
24664 r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(HOST_EXPORTS) \
24667 for flag in $(EXTRA_HOST_FLAGS) ; do \
24668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24669 done; \
24670 echo "Doing install-html in libcpp"; \
24671 (cd $(HOST_SUBDIR)/libcpp && \
24672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24674 "RANLIB=$${RANLIB}" \
24675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24676 install-html) \
24677 || exit 1
24679 @endif libcpp
24681 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24682 maybe-installcheck-libcpp:
24683 @if libcpp
24684 maybe-installcheck-libcpp: installcheck-libcpp
24686 installcheck-libcpp: \
24687 configure-libcpp
24688 @[ -f ./libcpp/Makefile ] || exit 0; \
24689 r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(HOST_EXPORTS) \
24692 for flag in $(EXTRA_HOST_FLAGS) ; do \
24693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24694 done; \
24695 echo "Doing installcheck in libcpp"; \
24696 (cd $(HOST_SUBDIR)/libcpp && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24701 installcheck) \
24702 || exit 1
24704 @endif libcpp
24706 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24707 maybe-mostlyclean-libcpp:
24708 @if libcpp
24709 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24711 mostlyclean-libcpp:
24712 @[ -f ./libcpp/Makefile ] || exit 0; \
24713 r=`${PWD_COMMAND}`; export r; \
24714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24715 $(HOST_EXPORTS) \
24716 for flag in $(EXTRA_HOST_FLAGS) ; do \
24717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24718 done; \
24719 echo "Doing mostlyclean in libcpp"; \
24720 (cd $(HOST_SUBDIR)/libcpp && \
24721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24723 "RANLIB=$${RANLIB}" \
24724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24725 mostlyclean) \
24726 || exit 1
24728 @endif libcpp
24730 .PHONY: maybe-clean-libcpp clean-libcpp
24731 maybe-clean-libcpp:
24732 @if libcpp
24733 maybe-clean-libcpp: clean-libcpp
24735 clean-libcpp:
24736 @[ -f ./libcpp/Makefile ] || exit 0; \
24737 r=`${PWD_COMMAND}`; export r; \
24738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24739 $(HOST_EXPORTS) \
24740 for flag in $(EXTRA_HOST_FLAGS) ; do \
24741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24742 done; \
24743 echo "Doing clean in libcpp"; \
24744 (cd $(HOST_SUBDIR)/libcpp && \
24745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24747 "RANLIB=$${RANLIB}" \
24748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24749 clean) \
24750 || exit 1
24752 @endif libcpp
24754 .PHONY: maybe-distclean-libcpp distclean-libcpp
24755 maybe-distclean-libcpp:
24756 @if libcpp
24757 maybe-distclean-libcpp: distclean-libcpp
24759 distclean-libcpp:
24760 @[ -f ./libcpp/Makefile ] || exit 0; \
24761 r=`${PWD_COMMAND}`; export r; \
24762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24763 $(HOST_EXPORTS) \
24764 for flag in $(EXTRA_HOST_FLAGS) ; do \
24765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24766 done; \
24767 echo "Doing distclean in libcpp"; \
24768 (cd $(HOST_SUBDIR)/libcpp && \
24769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24771 "RANLIB=$${RANLIB}" \
24772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24773 distclean) \
24774 || exit 1
24776 @endif libcpp
24778 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24779 maybe-maintainer-clean-libcpp:
24780 @if libcpp
24781 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24783 maintainer-clean-libcpp:
24784 @[ -f ./libcpp/Makefile ] || exit 0; \
24785 r=`${PWD_COMMAND}`; export r; \
24786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24787 $(HOST_EXPORTS) \
24788 for flag in $(EXTRA_HOST_FLAGS) ; do \
24789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24790 done; \
24791 echo "Doing maintainer-clean in libcpp"; \
24792 (cd $(HOST_SUBDIR)/libcpp && \
24793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24795 "RANLIB=$${RANLIB}" \
24796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24797 maintainer-clean) \
24798 || exit 1
24800 @endif libcpp
24804 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
24805 maybe-configure-libdecnumber:
24806 @if gcc-bootstrap
24807 configure-libdecnumber: stage_current
24808 @endif gcc-bootstrap
24809 @if libdecnumber
24810 maybe-configure-libdecnumber: configure-libdecnumber
24811 configure-libdecnumber:
24812 @r=`${PWD_COMMAND}`; export r; \
24813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24814 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24816 $(HOST_EXPORTS) \
24817 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
24818 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
24819 case $(srcdir) in \
24820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24821 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24823 esac; \
24824 module_srcdir=libdecnumber; \
24825 $(SHELL) \
24826 $$s/$$module_srcdir/configure \
24827 --srcdir=$${topdir}/$$module_srcdir \
24828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24829 --target=${target_alias} \
24830 || exit 1
24831 @endif libdecnumber
24835 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
24836 maybe-configure-stage1-libdecnumber:
24837 @if libdecnumber-bootstrap
24838 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
24839 configure-stage1-libdecnumber:
24840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24842 @r=`${PWD_COMMAND}`; export r; \
24843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24844 TFLAGS="$(STAGE1_TFLAGS)"; \
24845 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24846 $(HOST_EXPORTS) \
24847 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24848 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24849 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24850 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
24851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24852 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24853 case $(srcdir) in \
24854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24855 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24857 esac; \
24858 module_srcdir=libdecnumber; \
24859 $(SHELL) $$s/$$module_srcdir/configure \
24860 --srcdir=$${topdir}/$$module_srcdir \
24861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24862 --target=${target_alias} \
24864 $(STAGE1_CONFIGURE_FLAGS)
24865 @endif libdecnumber-bootstrap
24867 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
24868 maybe-configure-stage2-libdecnumber:
24869 @if libdecnumber-bootstrap
24870 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
24871 configure-stage2-libdecnumber:
24872 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24874 @r=`${PWD_COMMAND}`; export r; \
24875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24876 TFLAGS="$(STAGE2_TFLAGS)"; \
24877 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24878 $(HOST_EXPORTS) \
24879 $(POSTSTAGE1_HOST_EXPORTS) \
24880 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24881 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24882 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24883 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
24884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24885 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24886 case $(srcdir) in \
24887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24888 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24890 esac; \
24891 module_srcdir=libdecnumber; \
24892 $(SHELL) $$s/$$module_srcdir/configure \
24893 --srcdir=$${topdir}/$$module_srcdir \
24894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24895 --target=${target_alias} \
24896 --with-build-libsubdir=$(HOST_SUBDIR) \
24897 $(STAGE2_CONFIGURE_FLAGS)
24898 @endif libdecnumber-bootstrap
24900 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
24901 maybe-configure-stage3-libdecnumber:
24902 @if libdecnumber-bootstrap
24903 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
24904 configure-stage3-libdecnumber:
24905 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24907 @r=`${PWD_COMMAND}`; export r; \
24908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24909 TFLAGS="$(STAGE3_TFLAGS)"; \
24910 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24911 $(HOST_EXPORTS) \
24912 $(POSTSTAGE1_HOST_EXPORTS) \
24913 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24914 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24915 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24916 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
24917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24918 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24919 case $(srcdir) in \
24920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24921 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24923 esac; \
24924 module_srcdir=libdecnumber; \
24925 $(SHELL) $$s/$$module_srcdir/configure \
24926 --srcdir=$${topdir}/$$module_srcdir \
24927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24928 --target=${target_alias} \
24929 --with-build-libsubdir=$(HOST_SUBDIR) \
24930 $(STAGE3_CONFIGURE_FLAGS)
24931 @endif libdecnumber-bootstrap
24933 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
24934 maybe-configure-stage4-libdecnumber:
24935 @if libdecnumber-bootstrap
24936 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
24937 configure-stage4-libdecnumber:
24938 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24940 @r=`${PWD_COMMAND}`; export r; \
24941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24942 TFLAGS="$(STAGE4_TFLAGS)"; \
24943 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24944 $(HOST_EXPORTS) \
24945 $(POSTSTAGE1_HOST_EXPORTS) \
24946 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24947 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24948 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24949 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
24950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24951 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24952 case $(srcdir) in \
24953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24954 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24956 esac; \
24957 module_srcdir=libdecnumber; \
24958 $(SHELL) $$s/$$module_srcdir/configure \
24959 --srcdir=$${topdir}/$$module_srcdir \
24960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24961 --target=${target_alias} \
24962 --with-build-libsubdir=$(HOST_SUBDIR) \
24963 $(STAGE4_CONFIGURE_FLAGS)
24964 @endif libdecnumber-bootstrap
24966 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
24967 maybe-configure-stageprofile-libdecnumber:
24968 @if libdecnumber-bootstrap
24969 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24970 configure-stageprofile-libdecnumber:
24971 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24973 @r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24976 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24977 $(HOST_EXPORTS) \
24978 $(POSTSTAGE1_HOST_EXPORTS) \
24979 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24980 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24981 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24982 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
24983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24984 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24985 case $(srcdir) in \
24986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24987 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24989 esac; \
24990 module_srcdir=libdecnumber; \
24991 $(SHELL) $$s/$$module_srcdir/configure \
24992 --srcdir=$${topdir}/$$module_srcdir \
24993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24994 --target=${target_alias} \
24995 --with-build-libsubdir=$(HOST_SUBDIR) \
24996 $(STAGEprofile_CONFIGURE_FLAGS)
24997 @endif libdecnumber-bootstrap
24999 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
25000 maybe-configure-stagetrain-libdecnumber:
25001 @if libdecnumber-bootstrap
25002 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25003 configure-stagetrain-libdecnumber:
25004 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25006 @r=`${PWD_COMMAND}`; export r; \
25007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25008 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25009 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25010 $(HOST_EXPORTS) \
25011 $(POSTSTAGE1_HOST_EXPORTS) \
25012 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25013 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25014 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25015 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25017 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25018 case $(srcdir) in \
25019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25020 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25022 esac; \
25023 module_srcdir=libdecnumber; \
25024 $(SHELL) $$s/$$module_srcdir/configure \
25025 --srcdir=$${topdir}/$$module_srcdir \
25026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25027 --target=${target_alias} \
25028 --with-build-libsubdir=$(HOST_SUBDIR) \
25029 $(STAGEtrain_CONFIGURE_FLAGS)
25030 @endif libdecnumber-bootstrap
25032 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25033 maybe-configure-stagefeedback-libdecnumber:
25034 @if libdecnumber-bootstrap
25035 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25036 configure-stagefeedback-libdecnumber:
25037 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25038 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25039 @r=`${PWD_COMMAND}`; export r; \
25040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25041 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25042 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25043 $(HOST_EXPORTS) \
25044 $(POSTSTAGE1_HOST_EXPORTS) \
25045 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25046 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25047 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25048 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25050 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25051 case $(srcdir) in \
25052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25053 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25055 esac; \
25056 module_srcdir=libdecnumber; \
25057 $(SHELL) $$s/$$module_srcdir/configure \
25058 --srcdir=$${topdir}/$$module_srcdir \
25059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25060 --target=${target_alias} \
25061 --with-build-libsubdir=$(HOST_SUBDIR) \
25062 $(STAGEfeedback_CONFIGURE_FLAGS)
25063 @endif libdecnumber-bootstrap
25065 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25066 maybe-configure-stageautoprofile-libdecnumber:
25067 @if libdecnumber-bootstrap
25068 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25069 configure-stageautoprofile-libdecnumber:
25070 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25071 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25072 @r=`${PWD_COMMAND}`; export r; \
25073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25074 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25075 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25076 $(HOST_EXPORTS) \
25077 $(POSTSTAGE1_HOST_EXPORTS) \
25078 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25079 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25080 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25081 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25083 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25084 case $(srcdir) in \
25085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25086 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25088 esac; \
25089 module_srcdir=libdecnumber; \
25090 $(SHELL) $$s/$$module_srcdir/configure \
25091 --srcdir=$${topdir}/$$module_srcdir \
25092 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25093 --target=${target_alias} \
25094 --with-build-libsubdir=$(HOST_SUBDIR) \
25095 $(STAGEautoprofile_CONFIGURE_FLAGS)
25096 @endif libdecnumber-bootstrap
25098 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25099 maybe-configure-stageautofeedback-libdecnumber:
25100 @if libdecnumber-bootstrap
25101 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25102 configure-stageautofeedback-libdecnumber:
25103 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25104 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25105 @r=`${PWD_COMMAND}`; export r; \
25106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25108 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25109 $(HOST_EXPORTS) \
25110 $(POSTSTAGE1_HOST_EXPORTS) \
25111 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25112 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25113 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25114 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25116 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25117 case $(srcdir) in \
25118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25119 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25121 esac; \
25122 module_srcdir=libdecnumber; \
25123 $(SHELL) $$s/$$module_srcdir/configure \
25124 --srcdir=$${topdir}/$$module_srcdir \
25125 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25126 --target=${target_alias} \
25127 --with-build-libsubdir=$(HOST_SUBDIR) \
25128 $(STAGEautofeedback_CONFIGURE_FLAGS)
25129 @endif libdecnumber-bootstrap
25135 .PHONY: all-libdecnumber maybe-all-libdecnumber
25136 maybe-all-libdecnumber:
25137 @if gcc-bootstrap
25138 all-libdecnumber: stage_current
25139 @endif gcc-bootstrap
25140 @if libdecnumber
25141 TARGET-libdecnumber=all
25142 maybe-all-libdecnumber: all-libdecnumber
25143 all-libdecnumber: configure-libdecnumber
25144 @r=`${PWD_COMMAND}`; export r; \
25145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25146 $(HOST_EXPORTS) \
25147 (cd $(HOST_SUBDIR)/libdecnumber && \
25148 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25149 $(TARGET-libdecnumber))
25150 @endif libdecnumber
25154 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25155 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25156 maybe-all-stage1-libdecnumber:
25157 maybe-clean-stage1-libdecnumber:
25158 @if libdecnumber-bootstrap
25159 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25160 all-stage1: all-stage1-libdecnumber
25161 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25162 all-stage1-libdecnumber: configure-stage1-libdecnumber
25163 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25164 @r=`${PWD_COMMAND}`; export r; \
25165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25166 TFLAGS="$(STAGE1_TFLAGS)"; \
25167 $(HOST_EXPORTS) \
25168 cd $(HOST_SUBDIR)/libdecnumber && \
25170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25171 CFLAGS="$(STAGE1_CFLAGS)" \
25172 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25173 LIBCFLAGS="$(LIBCFLAGS)" \
25174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25177 $(EXTRA_HOST_FLAGS) \
25178 $(STAGE1_FLAGS_TO_PASS) \
25179 TFLAGS="$(STAGE1_TFLAGS)" \
25180 $(TARGET-stage1-libdecnumber)
25182 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25183 clean-stage1: clean-stage1-libdecnumber
25184 clean-stage1-libdecnumber:
25185 @if [ $(current_stage) = stage1 ]; then \
25186 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25187 else \
25188 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25189 $(MAKE) stage1-start; \
25190 fi; \
25191 cd $(HOST_SUBDIR)/libdecnumber && \
25192 $(MAKE) $(EXTRA_HOST_FLAGS) \
25193 $(STAGE1_FLAGS_TO_PASS) clean
25194 @endif libdecnumber-bootstrap
25197 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25198 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25199 maybe-all-stage2-libdecnumber:
25200 maybe-clean-stage2-libdecnumber:
25201 @if libdecnumber-bootstrap
25202 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25203 all-stage2: all-stage2-libdecnumber
25204 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25205 all-stage2-libdecnumber: configure-stage2-libdecnumber
25206 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25207 @r=`${PWD_COMMAND}`; export r; \
25208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25209 TFLAGS="$(STAGE2_TFLAGS)"; \
25210 $(HOST_EXPORTS) \
25211 $(POSTSTAGE1_HOST_EXPORTS) \
25212 cd $(HOST_SUBDIR)/libdecnumber && \
25214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25215 CFLAGS="$(STAGE2_CFLAGS)" \
25216 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25217 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25221 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25222 TFLAGS="$(STAGE2_TFLAGS)" \
25223 $(TARGET-stage2-libdecnumber)
25225 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25226 clean-stage2: clean-stage2-libdecnumber
25227 clean-stage2-libdecnumber:
25228 @if [ $(current_stage) = stage2 ]; then \
25229 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25230 else \
25231 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25232 $(MAKE) stage2-start; \
25233 fi; \
25234 cd $(HOST_SUBDIR)/libdecnumber && \
25235 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25236 @endif libdecnumber-bootstrap
25239 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25240 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25241 maybe-all-stage3-libdecnumber:
25242 maybe-clean-stage3-libdecnumber:
25243 @if libdecnumber-bootstrap
25244 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25245 all-stage3: all-stage3-libdecnumber
25246 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25247 all-stage3-libdecnumber: configure-stage3-libdecnumber
25248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25249 @r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 TFLAGS="$(STAGE3_TFLAGS)"; \
25252 $(HOST_EXPORTS) \
25253 $(POSTSTAGE1_HOST_EXPORTS) \
25254 cd $(HOST_SUBDIR)/libdecnumber && \
25256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25257 CFLAGS="$(STAGE3_CFLAGS)" \
25258 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25259 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25264 TFLAGS="$(STAGE3_TFLAGS)" \
25265 $(TARGET-stage3-libdecnumber)
25267 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25268 clean-stage3: clean-stage3-libdecnumber
25269 clean-stage3-libdecnumber:
25270 @if [ $(current_stage) = stage3 ]; then \
25271 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25272 else \
25273 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25274 $(MAKE) stage3-start; \
25275 fi; \
25276 cd $(HOST_SUBDIR)/libdecnumber && \
25277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25278 @endif libdecnumber-bootstrap
25281 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25282 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25283 maybe-all-stage4-libdecnumber:
25284 maybe-clean-stage4-libdecnumber:
25285 @if libdecnumber-bootstrap
25286 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25287 all-stage4: all-stage4-libdecnumber
25288 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25289 all-stage4-libdecnumber: configure-stage4-libdecnumber
25290 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25291 @r=`${PWD_COMMAND}`; export r; \
25292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25293 TFLAGS="$(STAGE4_TFLAGS)"; \
25294 $(HOST_EXPORTS) \
25295 $(POSTSTAGE1_HOST_EXPORTS) \
25296 cd $(HOST_SUBDIR)/libdecnumber && \
25298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25299 CFLAGS="$(STAGE4_CFLAGS)" \
25300 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25301 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25306 TFLAGS="$(STAGE4_TFLAGS)" \
25307 $(TARGET-stage4-libdecnumber)
25309 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25310 clean-stage4: clean-stage4-libdecnumber
25311 clean-stage4-libdecnumber:
25312 @if [ $(current_stage) = stage4 ]; then \
25313 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25314 else \
25315 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25316 $(MAKE) stage4-start; \
25317 fi; \
25318 cd $(HOST_SUBDIR)/libdecnumber && \
25319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25320 @endif libdecnumber-bootstrap
25323 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25324 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25325 maybe-all-stageprofile-libdecnumber:
25326 maybe-clean-stageprofile-libdecnumber:
25327 @if libdecnumber-bootstrap
25328 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25329 all-stageprofile: all-stageprofile-libdecnumber
25330 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25331 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25332 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25333 @r=`${PWD_COMMAND}`; export r; \
25334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25335 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25336 $(HOST_EXPORTS) \
25337 $(POSTSTAGE1_HOST_EXPORTS) \
25338 cd $(HOST_SUBDIR)/libdecnumber && \
25340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25341 CFLAGS="$(STAGEprofile_CFLAGS)" \
25342 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25343 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25347 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25348 TFLAGS="$(STAGEprofile_TFLAGS)" \
25349 $(TARGET-stageprofile-libdecnumber)
25351 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25352 clean-stageprofile: clean-stageprofile-libdecnumber
25353 clean-stageprofile-libdecnumber:
25354 @if [ $(current_stage) = stageprofile ]; then \
25355 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25356 else \
25357 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25358 $(MAKE) stageprofile-start; \
25359 fi; \
25360 cd $(HOST_SUBDIR)/libdecnumber && \
25361 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25362 @endif libdecnumber-bootstrap
25365 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25366 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25367 maybe-all-stagetrain-libdecnumber:
25368 maybe-clean-stagetrain-libdecnumber:
25369 @if libdecnumber-bootstrap
25370 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25371 all-stagetrain: all-stagetrain-libdecnumber
25372 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25373 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25374 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25375 @r=`${PWD_COMMAND}`; export r; \
25376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25377 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25378 $(HOST_EXPORTS) \
25379 $(POSTSTAGE1_HOST_EXPORTS) \
25380 cd $(HOST_SUBDIR)/libdecnumber && \
25382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25383 CFLAGS="$(STAGEtrain_CFLAGS)" \
25384 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25385 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25390 TFLAGS="$(STAGEtrain_TFLAGS)" \
25391 $(TARGET-stagetrain-libdecnumber)
25393 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25394 clean-stagetrain: clean-stagetrain-libdecnumber
25395 clean-stagetrain-libdecnumber:
25396 @if [ $(current_stage) = stagetrain ]; then \
25397 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25398 else \
25399 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25400 $(MAKE) stagetrain-start; \
25401 fi; \
25402 cd $(HOST_SUBDIR)/libdecnumber && \
25403 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25404 @endif libdecnumber-bootstrap
25407 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25408 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25409 maybe-all-stagefeedback-libdecnumber:
25410 maybe-clean-stagefeedback-libdecnumber:
25411 @if libdecnumber-bootstrap
25412 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25413 all-stagefeedback: all-stagefeedback-libdecnumber
25414 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25415 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25416 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25417 @r=`${PWD_COMMAND}`; export r; \
25418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25419 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25420 $(HOST_EXPORTS) \
25421 $(POSTSTAGE1_HOST_EXPORTS) \
25422 cd $(HOST_SUBDIR)/libdecnumber && \
25424 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25425 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25426 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25427 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25428 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25429 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25430 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25431 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25432 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25433 $(TARGET-stagefeedback-libdecnumber)
25435 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25436 clean-stagefeedback: clean-stagefeedback-libdecnumber
25437 clean-stagefeedback-libdecnumber:
25438 @if [ $(current_stage) = stagefeedback ]; then \
25439 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25440 else \
25441 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25442 $(MAKE) stagefeedback-start; \
25443 fi; \
25444 cd $(HOST_SUBDIR)/libdecnumber && \
25445 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25446 @endif libdecnumber-bootstrap
25449 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25450 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25451 maybe-all-stageautoprofile-libdecnumber:
25452 maybe-clean-stageautoprofile-libdecnumber:
25453 @if libdecnumber-bootstrap
25454 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25455 all-stageautoprofile: all-stageautoprofile-libdecnumber
25456 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25457 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25458 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25459 @r=`${PWD_COMMAND}`; export r; \
25460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25461 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25462 $(HOST_EXPORTS) \
25463 $(POSTSTAGE1_HOST_EXPORTS) \
25464 cd $(HOST_SUBDIR)/libdecnumber && \
25465 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25466 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25467 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25468 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25469 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25470 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25471 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25472 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25473 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25474 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25475 $(TARGET-stageautoprofile-libdecnumber)
25477 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25478 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25479 clean-stageautoprofile-libdecnumber:
25480 @if [ $(current_stage) = stageautoprofile ]; then \
25481 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25482 else \
25483 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25484 $(MAKE) stageautoprofile-start; \
25485 fi; \
25486 cd $(HOST_SUBDIR)/libdecnumber && \
25487 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25488 @endif libdecnumber-bootstrap
25491 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25492 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25493 maybe-all-stageautofeedback-libdecnumber:
25494 maybe-clean-stageautofeedback-libdecnumber:
25495 @if libdecnumber-bootstrap
25496 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25497 all-stageautofeedback: all-stageautofeedback-libdecnumber
25498 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25499 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25500 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25501 @r=`${PWD_COMMAND}`; export r; \
25502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25503 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25504 $(HOST_EXPORTS) \
25505 $(POSTSTAGE1_HOST_EXPORTS) \
25506 cd $(HOST_SUBDIR)/libdecnumber && \
25508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25509 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25510 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25511 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25516 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25517 $(TARGET-stageautofeedback-libdecnumber)
25519 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25520 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25521 clean-stageautofeedback-libdecnumber:
25522 @if [ $(current_stage) = stageautofeedback ]; then \
25523 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25524 else \
25525 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25526 $(MAKE) stageautofeedback-start; \
25527 fi; \
25528 cd $(HOST_SUBDIR)/libdecnumber && \
25529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25530 @endif libdecnumber-bootstrap
25536 .PHONY: check-libdecnumber maybe-check-libdecnumber
25537 maybe-check-libdecnumber:
25538 @if libdecnumber
25539 maybe-check-libdecnumber: check-libdecnumber
25541 check-libdecnumber:
25542 @: $(MAKE); $(unstage)
25543 @r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25546 (cd $(HOST_SUBDIR)/libdecnumber && \
25547 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25549 @endif libdecnumber
25551 .PHONY: install-libdecnumber maybe-install-libdecnumber
25552 maybe-install-libdecnumber:
25553 @if libdecnumber
25554 maybe-install-libdecnumber: install-libdecnumber
25556 install-libdecnumber: installdirs
25557 @: $(MAKE); $(unstage)
25558 @r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 $(HOST_EXPORTS) \
25561 (cd $(HOST_SUBDIR)/libdecnumber && \
25562 $(MAKE) $(FLAGS_TO_PASS) install)
25564 @endif libdecnumber
25566 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25567 maybe-install-strip-libdecnumber:
25568 @if libdecnumber
25569 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25571 install-strip-libdecnumber: installdirs
25572 @: $(MAKE); $(unstage)
25573 @r=`${PWD_COMMAND}`; export r; \
25574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25575 $(HOST_EXPORTS) \
25576 (cd $(HOST_SUBDIR)/libdecnumber && \
25577 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25579 @endif libdecnumber
25581 # Other targets (info, dvi, pdf, etc.)
25583 .PHONY: maybe-info-libdecnumber info-libdecnumber
25584 maybe-info-libdecnumber:
25585 @if libdecnumber
25586 maybe-info-libdecnumber: info-libdecnumber
25588 info-libdecnumber: \
25589 configure-libdecnumber
25590 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25591 r=`${PWD_COMMAND}`; export r; \
25592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25593 $(HOST_EXPORTS) \
25594 for flag in $(EXTRA_HOST_FLAGS) ; do \
25595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25596 done; \
25597 echo "Doing info in libdecnumber"; \
25598 (cd $(HOST_SUBDIR)/libdecnumber && \
25599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25601 "RANLIB=$${RANLIB}" \
25602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25603 info) \
25604 || exit 1
25606 @endif libdecnumber
25608 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25609 maybe-dvi-libdecnumber:
25610 @if libdecnumber
25611 maybe-dvi-libdecnumber: dvi-libdecnumber
25613 dvi-libdecnumber: \
25614 configure-libdecnumber
25615 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25616 r=`${PWD_COMMAND}`; export r; \
25617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25618 $(HOST_EXPORTS) \
25619 for flag in $(EXTRA_HOST_FLAGS) ; do \
25620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25621 done; \
25622 echo "Doing dvi in libdecnumber"; \
25623 (cd $(HOST_SUBDIR)/libdecnumber && \
25624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25626 "RANLIB=$${RANLIB}" \
25627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25628 dvi) \
25629 || exit 1
25631 @endif libdecnumber
25633 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25634 maybe-pdf-libdecnumber:
25635 @if libdecnumber
25636 maybe-pdf-libdecnumber: pdf-libdecnumber
25638 pdf-libdecnumber: \
25639 configure-libdecnumber
25640 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25641 r=`${PWD_COMMAND}`; export r; \
25642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25643 $(HOST_EXPORTS) \
25644 for flag in $(EXTRA_HOST_FLAGS) ; do \
25645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25646 done; \
25647 echo "Doing pdf in libdecnumber"; \
25648 (cd $(HOST_SUBDIR)/libdecnumber && \
25649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25651 "RANLIB=$${RANLIB}" \
25652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25653 pdf) \
25654 || exit 1
25656 @endif libdecnumber
25658 .PHONY: maybe-html-libdecnumber html-libdecnumber
25659 maybe-html-libdecnumber:
25660 @if libdecnumber
25661 maybe-html-libdecnumber: html-libdecnumber
25663 html-libdecnumber: \
25664 configure-libdecnumber
25665 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25666 r=`${PWD_COMMAND}`; export r; \
25667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25668 $(HOST_EXPORTS) \
25669 for flag in $(EXTRA_HOST_FLAGS) ; do \
25670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25671 done; \
25672 echo "Doing html in libdecnumber"; \
25673 (cd $(HOST_SUBDIR)/libdecnumber && \
25674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25676 "RANLIB=$${RANLIB}" \
25677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25678 html) \
25679 || exit 1
25681 @endif libdecnumber
25683 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25684 maybe-TAGS-libdecnumber:
25685 @if libdecnumber
25686 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25688 TAGS-libdecnumber: \
25689 configure-libdecnumber
25690 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25691 r=`${PWD_COMMAND}`; export r; \
25692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25693 $(HOST_EXPORTS) \
25694 for flag in $(EXTRA_HOST_FLAGS) ; do \
25695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25696 done; \
25697 echo "Doing TAGS in libdecnumber"; \
25698 (cd $(HOST_SUBDIR)/libdecnumber && \
25699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25701 "RANLIB=$${RANLIB}" \
25702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25703 TAGS) \
25704 || exit 1
25706 @endif libdecnumber
25708 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25709 maybe-install-info-libdecnumber:
25710 @if libdecnumber
25711 maybe-install-info-libdecnumber: install-info-libdecnumber
25713 install-info-libdecnumber: \
25714 configure-libdecnumber \
25715 info-libdecnumber
25716 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25717 r=`${PWD_COMMAND}`; export r; \
25718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25719 $(HOST_EXPORTS) \
25720 for flag in $(EXTRA_HOST_FLAGS) ; do \
25721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25722 done; \
25723 echo "Doing install-info in libdecnumber"; \
25724 (cd $(HOST_SUBDIR)/libdecnumber && \
25725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25727 "RANLIB=$${RANLIB}" \
25728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25729 install-info) \
25730 || exit 1
25732 @endif libdecnumber
25734 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25735 maybe-install-pdf-libdecnumber:
25736 @if libdecnumber
25737 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25739 install-pdf-libdecnumber: \
25740 configure-libdecnumber \
25741 pdf-libdecnumber
25742 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25743 r=`${PWD_COMMAND}`; export r; \
25744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25745 $(HOST_EXPORTS) \
25746 for flag in $(EXTRA_HOST_FLAGS) ; do \
25747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25748 done; \
25749 echo "Doing install-pdf in libdecnumber"; \
25750 (cd $(HOST_SUBDIR)/libdecnumber && \
25751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25753 "RANLIB=$${RANLIB}" \
25754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25755 install-pdf) \
25756 || exit 1
25758 @endif libdecnumber
25760 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25761 maybe-install-html-libdecnumber:
25762 @if libdecnumber
25763 maybe-install-html-libdecnumber: install-html-libdecnumber
25765 install-html-libdecnumber: \
25766 configure-libdecnumber \
25767 html-libdecnumber
25768 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25769 r=`${PWD_COMMAND}`; export r; \
25770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25771 $(HOST_EXPORTS) \
25772 for flag in $(EXTRA_HOST_FLAGS) ; do \
25773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25774 done; \
25775 echo "Doing install-html in libdecnumber"; \
25776 (cd $(HOST_SUBDIR)/libdecnumber && \
25777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25779 "RANLIB=$${RANLIB}" \
25780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25781 install-html) \
25782 || exit 1
25784 @endif libdecnumber
25786 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
25787 maybe-installcheck-libdecnumber:
25788 @if libdecnumber
25789 maybe-installcheck-libdecnumber: installcheck-libdecnumber
25791 installcheck-libdecnumber: \
25792 configure-libdecnumber
25793 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25794 r=`${PWD_COMMAND}`; export r; \
25795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25796 $(HOST_EXPORTS) \
25797 for flag in $(EXTRA_HOST_FLAGS) ; do \
25798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25799 done; \
25800 echo "Doing installcheck in libdecnumber"; \
25801 (cd $(HOST_SUBDIR)/libdecnumber && \
25802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25804 "RANLIB=$${RANLIB}" \
25805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25806 installcheck) \
25807 || exit 1
25809 @endif libdecnumber
25811 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
25812 maybe-mostlyclean-libdecnumber:
25813 @if libdecnumber
25814 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
25816 mostlyclean-libdecnumber:
25817 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25818 r=`${PWD_COMMAND}`; export r; \
25819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25820 $(HOST_EXPORTS) \
25821 for flag in $(EXTRA_HOST_FLAGS) ; do \
25822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25823 done; \
25824 echo "Doing mostlyclean in libdecnumber"; \
25825 (cd $(HOST_SUBDIR)/libdecnumber && \
25826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25828 "RANLIB=$${RANLIB}" \
25829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25830 mostlyclean) \
25831 || exit 1
25833 @endif libdecnumber
25835 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
25836 maybe-clean-libdecnumber:
25837 @if libdecnumber
25838 maybe-clean-libdecnumber: clean-libdecnumber
25840 clean-libdecnumber:
25841 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25842 r=`${PWD_COMMAND}`; export r; \
25843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25844 $(HOST_EXPORTS) \
25845 for flag in $(EXTRA_HOST_FLAGS) ; do \
25846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25847 done; \
25848 echo "Doing clean in libdecnumber"; \
25849 (cd $(HOST_SUBDIR)/libdecnumber && \
25850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25852 "RANLIB=$${RANLIB}" \
25853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25854 clean) \
25855 || exit 1
25857 @endif libdecnumber
25859 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
25860 maybe-distclean-libdecnumber:
25861 @if libdecnumber
25862 maybe-distclean-libdecnumber: distclean-libdecnumber
25864 distclean-libdecnumber:
25865 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25866 r=`${PWD_COMMAND}`; export r; \
25867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25868 $(HOST_EXPORTS) \
25869 for flag in $(EXTRA_HOST_FLAGS) ; do \
25870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25871 done; \
25872 echo "Doing distclean in libdecnumber"; \
25873 (cd $(HOST_SUBDIR)/libdecnumber && \
25874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25876 "RANLIB=$${RANLIB}" \
25877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25878 distclean) \
25879 || exit 1
25881 @endif libdecnumber
25883 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
25884 maybe-maintainer-clean-libdecnumber:
25885 @if libdecnumber
25886 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
25888 maintainer-clean-libdecnumber:
25889 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25890 r=`${PWD_COMMAND}`; export r; \
25891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25892 $(HOST_EXPORTS) \
25893 for flag in $(EXTRA_HOST_FLAGS) ; do \
25894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25895 done; \
25896 echo "Doing maintainer-clean in libdecnumber"; \
25897 (cd $(HOST_SUBDIR)/libdecnumber && \
25898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25900 "RANLIB=$${RANLIB}" \
25901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25902 maintainer-clean) \
25903 || exit 1
25905 @endif libdecnumber
25909 .PHONY: configure-libgui maybe-configure-libgui
25910 maybe-configure-libgui:
25911 @if gcc-bootstrap
25912 configure-libgui: stage_current
25913 @endif gcc-bootstrap
25914 @if libgui
25915 maybe-configure-libgui: configure-libgui
25916 configure-libgui:
25917 @: $(MAKE); $(unstage)
25918 @r=`${PWD_COMMAND}`; export r; \
25919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25920 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
25921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
25922 $(HOST_EXPORTS) \
25923 echo Configuring in $(HOST_SUBDIR)/libgui; \
25924 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
25925 case $(srcdir) in \
25926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25927 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
25928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25929 esac; \
25930 module_srcdir=libgui; \
25931 $(SHELL) \
25932 $$s/$$module_srcdir/configure \
25933 --srcdir=$${topdir}/$$module_srcdir \
25934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25935 --target=${target_alias} \
25936 || exit 1
25937 @endif libgui
25943 .PHONY: all-libgui maybe-all-libgui
25944 maybe-all-libgui:
25945 @if gcc-bootstrap
25946 all-libgui: stage_current
25947 @endif gcc-bootstrap
25948 @if libgui
25949 TARGET-libgui=all
25950 maybe-all-libgui: all-libgui
25951 all-libgui: configure-libgui
25952 @: $(MAKE); $(unstage)
25953 @r=`${PWD_COMMAND}`; export r; \
25954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25955 $(HOST_EXPORTS) \
25956 (cd $(HOST_SUBDIR)/libgui && \
25957 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25958 $(TARGET-libgui))
25959 @endif libgui
25964 .PHONY: check-libgui maybe-check-libgui
25965 maybe-check-libgui:
25966 @if libgui
25967 maybe-check-libgui: check-libgui
25969 check-libgui:
25970 @: $(MAKE); $(unstage)
25971 @r=`${PWD_COMMAND}`; export r; \
25972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25973 $(HOST_EXPORTS) \
25974 (cd $(HOST_SUBDIR)/libgui && \
25975 $(MAKE) $(FLAGS_TO_PASS) check)
25977 @endif libgui
25979 .PHONY: install-libgui maybe-install-libgui
25980 maybe-install-libgui:
25981 @if libgui
25982 maybe-install-libgui: install-libgui
25984 install-libgui: installdirs
25985 @: $(MAKE); $(unstage)
25986 @r=`${PWD_COMMAND}`; export r; \
25987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25988 $(HOST_EXPORTS) \
25989 (cd $(HOST_SUBDIR)/libgui && \
25990 $(MAKE) $(FLAGS_TO_PASS) install)
25992 @endif libgui
25994 .PHONY: install-strip-libgui maybe-install-strip-libgui
25995 maybe-install-strip-libgui:
25996 @if libgui
25997 maybe-install-strip-libgui: install-strip-libgui
25999 install-strip-libgui: installdirs
26000 @: $(MAKE); $(unstage)
26001 @r=`${PWD_COMMAND}`; export r; \
26002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26003 $(HOST_EXPORTS) \
26004 (cd $(HOST_SUBDIR)/libgui && \
26005 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26007 @endif libgui
26009 # Other targets (info, dvi, pdf, etc.)
26011 .PHONY: maybe-info-libgui info-libgui
26012 maybe-info-libgui:
26013 @if libgui
26014 maybe-info-libgui: info-libgui
26016 info-libgui: \
26017 configure-libgui
26018 @: $(MAKE); $(unstage)
26019 @[ -f ./libgui/Makefile ] || exit 0; \
26020 r=`${PWD_COMMAND}`; export r; \
26021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26022 $(HOST_EXPORTS) \
26023 for flag in $(EXTRA_HOST_FLAGS) ; do \
26024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26025 done; \
26026 echo "Doing info in libgui"; \
26027 (cd $(HOST_SUBDIR)/libgui && \
26028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26030 "RANLIB=$${RANLIB}" \
26031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26032 info) \
26033 || exit 1
26035 @endif libgui
26037 .PHONY: maybe-dvi-libgui dvi-libgui
26038 maybe-dvi-libgui:
26039 @if libgui
26040 maybe-dvi-libgui: dvi-libgui
26042 dvi-libgui: \
26043 configure-libgui
26044 @: $(MAKE); $(unstage)
26045 @[ -f ./libgui/Makefile ] || exit 0; \
26046 r=`${PWD_COMMAND}`; export r; \
26047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26048 $(HOST_EXPORTS) \
26049 for flag in $(EXTRA_HOST_FLAGS) ; do \
26050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26051 done; \
26052 echo "Doing dvi in libgui"; \
26053 (cd $(HOST_SUBDIR)/libgui && \
26054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26056 "RANLIB=$${RANLIB}" \
26057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26058 dvi) \
26059 || exit 1
26061 @endif libgui
26063 .PHONY: maybe-pdf-libgui pdf-libgui
26064 maybe-pdf-libgui:
26065 @if libgui
26066 maybe-pdf-libgui: pdf-libgui
26068 pdf-libgui: \
26069 configure-libgui
26070 @: $(MAKE); $(unstage)
26071 @[ -f ./libgui/Makefile ] || exit 0; \
26072 r=`${PWD_COMMAND}`; export r; \
26073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26074 $(HOST_EXPORTS) \
26075 for flag in $(EXTRA_HOST_FLAGS) ; do \
26076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26077 done; \
26078 echo "Doing pdf in libgui"; \
26079 (cd $(HOST_SUBDIR)/libgui && \
26080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26082 "RANLIB=$${RANLIB}" \
26083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26084 pdf) \
26085 || exit 1
26087 @endif libgui
26089 .PHONY: maybe-html-libgui html-libgui
26090 maybe-html-libgui:
26091 @if libgui
26092 maybe-html-libgui: html-libgui
26094 html-libgui: \
26095 configure-libgui
26096 @: $(MAKE); $(unstage)
26097 @[ -f ./libgui/Makefile ] || exit 0; \
26098 r=`${PWD_COMMAND}`; export r; \
26099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26100 $(HOST_EXPORTS) \
26101 for flag in $(EXTRA_HOST_FLAGS) ; do \
26102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26103 done; \
26104 echo "Doing html in libgui"; \
26105 (cd $(HOST_SUBDIR)/libgui && \
26106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26108 "RANLIB=$${RANLIB}" \
26109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26110 html) \
26111 || exit 1
26113 @endif libgui
26115 .PHONY: maybe-TAGS-libgui TAGS-libgui
26116 maybe-TAGS-libgui:
26117 @if libgui
26118 maybe-TAGS-libgui: TAGS-libgui
26120 TAGS-libgui: \
26121 configure-libgui
26122 @: $(MAKE); $(unstage)
26123 @[ -f ./libgui/Makefile ] || exit 0; \
26124 r=`${PWD_COMMAND}`; export r; \
26125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26126 $(HOST_EXPORTS) \
26127 for flag in $(EXTRA_HOST_FLAGS) ; do \
26128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26129 done; \
26130 echo "Doing TAGS in libgui"; \
26131 (cd $(HOST_SUBDIR)/libgui && \
26132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26134 "RANLIB=$${RANLIB}" \
26135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26136 TAGS) \
26137 || exit 1
26139 @endif libgui
26141 .PHONY: maybe-install-info-libgui install-info-libgui
26142 maybe-install-info-libgui:
26143 @if libgui
26144 maybe-install-info-libgui: install-info-libgui
26146 install-info-libgui: \
26147 configure-libgui \
26148 info-libgui
26149 @: $(MAKE); $(unstage)
26150 @[ -f ./libgui/Makefile ] || exit 0; \
26151 r=`${PWD_COMMAND}`; export r; \
26152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26153 $(HOST_EXPORTS) \
26154 for flag in $(EXTRA_HOST_FLAGS) ; do \
26155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26156 done; \
26157 echo "Doing install-info in libgui"; \
26158 (cd $(HOST_SUBDIR)/libgui && \
26159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26161 "RANLIB=$${RANLIB}" \
26162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26163 install-info) \
26164 || exit 1
26166 @endif libgui
26168 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26169 maybe-install-pdf-libgui:
26170 @if libgui
26171 maybe-install-pdf-libgui: install-pdf-libgui
26173 install-pdf-libgui: \
26174 configure-libgui \
26175 pdf-libgui
26176 @: $(MAKE); $(unstage)
26177 @[ -f ./libgui/Makefile ] || exit 0; \
26178 r=`${PWD_COMMAND}`; export r; \
26179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26180 $(HOST_EXPORTS) \
26181 for flag in $(EXTRA_HOST_FLAGS) ; do \
26182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26183 done; \
26184 echo "Doing install-pdf in libgui"; \
26185 (cd $(HOST_SUBDIR)/libgui && \
26186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26188 "RANLIB=$${RANLIB}" \
26189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26190 install-pdf) \
26191 || exit 1
26193 @endif libgui
26195 .PHONY: maybe-install-html-libgui install-html-libgui
26196 maybe-install-html-libgui:
26197 @if libgui
26198 maybe-install-html-libgui: install-html-libgui
26200 install-html-libgui: \
26201 configure-libgui \
26202 html-libgui
26203 @: $(MAKE); $(unstage)
26204 @[ -f ./libgui/Makefile ] || exit 0; \
26205 r=`${PWD_COMMAND}`; export r; \
26206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26207 $(HOST_EXPORTS) \
26208 for flag in $(EXTRA_HOST_FLAGS) ; do \
26209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26210 done; \
26211 echo "Doing install-html in libgui"; \
26212 (cd $(HOST_SUBDIR)/libgui && \
26213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26215 "RANLIB=$${RANLIB}" \
26216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26217 install-html) \
26218 || exit 1
26220 @endif libgui
26222 .PHONY: maybe-installcheck-libgui installcheck-libgui
26223 maybe-installcheck-libgui:
26224 @if libgui
26225 maybe-installcheck-libgui: installcheck-libgui
26227 installcheck-libgui: \
26228 configure-libgui
26229 @: $(MAKE); $(unstage)
26230 @[ -f ./libgui/Makefile ] || exit 0; \
26231 r=`${PWD_COMMAND}`; export r; \
26232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26233 $(HOST_EXPORTS) \
26234 for flag in $(EXTRA_HOST_FLAGS) ; do \
26235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26236 done; \
26237 echo "Doing installcheck in libgui"; \
26238 (cd $(HOST_SUBDIR)/libgui && \
26239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26241 "RANLIB=$${RANLIB}" \
26242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26243 installcheck) \
26244 || exit 1
26246 @endif libgui
26248 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26249 maybe-mostlyclean-libgui:
26250 @if libgui
26251 maybe-mostlyclean-libgui: mostlyclean-libgui
26253 mostlyclean-libgui:
26254 @: $(MAKE); $(unstage)
26255 @[ -f ./libgui/Makefile ] || exit 0; \
26256 r=`${PWD_COMMAND}`; export r; \
26257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26258 $(HOST_EXPORTS) \
26259 for flag in $(EXTRA_HOST_FLAGS) ; do \
26260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26261 done; \
26262 echo "Doing mostlyclean in libgui"; \
26263 (cd $(HOST_SUBDIR)/libgui && \
26264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26266 "RANLIB=$${RANLIB}" \
26267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26268 mostlyclean) \
26269 || exit 1
26271 @endif libgui
26273 .PHONY: maybe-clean-libgui clean-libgui
26274 maybe-clean-libgui:
26275 @if libgui
26276 maybe-clean-libgui: clean-libgui
26278 clean-libgui:
26279 @: $(MAKE); $(unstage)
26280 @[ -f ./libgui/Makefile ] || exit 0; \
26281 r=`${PWD_COMMAND}`; export r; \
26282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26283 $(HOST_EXPORTS) \
26284 for flag in $(EXTRA_HOST_FLAGS) ; do \
26285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26286 done; \
26287 echo "Doing clean in libgui"; \
26288 (cd $(HOST_SUBDIR)/libgui && \
26289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26291 "RANLIB=$${RANLIB}" \
26292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26293 clean) \
26294 || exit 1
26296 @endif libgui
26298 .PHONY: maybe-distclean-libgui distclean-libgui
26299 maybe-distclean-libgui:
26300 @if libgui
26301 maybe-distclean-libgui: distclean-libgui
26303 distclean-libgui:
26304 @: $(MAKE); $(unstage)
26305 @[ -f ./libgui/Makefile ] || exit 0; \
26306 r=`${PWD_COMMAND}`; export r; \
26307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26308 $(HOST_EXPORTS) \
26309 for flag in $(EXTRA_HOST_FLAGS) ; do \
26310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26311 done; \
26312 echo "Doing distclean in libgui"; \
26313 (cd $(HOST_SUBDIR)/libgui && \
26314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26316 "RANLIB=$${RANLIB}" \
26317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26318 distclean) \
26319 || exit 1
26321 @endif libgui
26323 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26324 maybe-maintainer-clean-libgui:
26325 @if libgui
26326 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26328 maintainer-clean-libgui:
26329 @: $(MAKE); $(unstage)
26330 @[ -f ./libgui/Makefile ] || exit 0; \
26331 r=`${PWD_COMMAND}`; export r; \
26332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26333 $(HOST_EXPORTS) \
26334 for flag in $(EXTRA_HOST_FLAGS) ; do \
26335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26336 done; \
26337 echo "Doing maintainer-clean in libgui"; \
26338 (cd $(HOST_SUBDIR)/libgui && \
26339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341 "RANLIB=$${RANLIB}" \
26342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26343 maintainer-clean) \
26344 || exit 1
26346 @endif libgui
26350 .PHONY: configure-libiberty maybe-configure-libiberty
26351 maybe-configure-libiberty:
26352 @if gcc-bootstrap
26353 configure-libiberty: stage_current
26354 @endif gcc-bootstrap
26355 @if libiberty
26356 maybe-configure-libiberty: configure-libiberty
26357 configure-libiberty:
26358 @r=`${PWD_COMMAND}`; export r; \
26359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26360 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26362 $(HOST_EXPORTS) \
26363 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26364 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26365 case $(srcdir) in \
26366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26367 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26369 esac; \
26370 module_srcdir=libiberty; \
26371 $(SHELL) \
26372 $$s/$$module_srcdir/configure \
26373 --srcdir=$${topdir}/$$module_srcdir \
26374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26375 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26376 || exit 1
26377 @endif libiberty
26381 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26382 maybe-configure-stage1-libiberty:
26383 @if libiberty-bootstrap
26384 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26385 configure-stage1-libiberty:
26386 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26387 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26388 @r=`${PWD_COMMAND}`; export r; \
26389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26390 TFLAGS="$(STAGE1_TFLAGS)"; \
26391 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26392 $(HOST_EXPORTS) \
26393 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26394 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26395 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26396 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26398 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26399 case $(srcdir) in \
26400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26401 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26403 esac; \
26404 module_srcdir=libiberty; \
26405 $(SHELL) $$s/$$module_srcdir/configure \
26406 --srcdir=$${topdir}/$$module_srcdir \
26407 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26408 --target=${target_alias} \
26410 $(STAGE1_CONFIGURE_FLAGS) \
26411 @extra_host_libiberty_configure_flags@
26412 @endif libiberty-bootstrap
26414 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26415 maybe-configure-stage2-libiberty:
26416 @if libiberty-bootstrap
26417 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26418 configure-stage2-libiberty:
26419 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26420 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26421 @r=`${PWD_COMMAND}`; export r; \
26422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26423 TFLAGS="$(STAGE2_TFLAGS)"; \
26424 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26425 $(HOST_EXPORTS) \
26426 $(POSTSTAGE1_HOST_EXPORTS) \
26427 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26428 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26429 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26430 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26432 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26433 case $(srcdir) in \
26434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26435 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26437 esac; \
26438 module_srcdir=libiberty; \
26439 $(SHELL) $$s/$$module_srcdir/configure \
26440 --srcdir=$${topdir}/$$module_srcdir \
26441 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26442 --target=${target_alias} \
26443 --with-build-libsubdir=$(HOST_SUBDIR) \
26444 $(STAGE2_CONFIGURE_FLAGS) \
26445 @extra_host_libiberty_configure_flags@
26446 @endif libiberty-bootstrap
26448 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26449 maybe-configure-stage3-libiberty:
26450 @if libiberty-bootstrap
26451 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26452 configure-stage3-libiberty:
26453 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26454 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26455 @r=`${PWD_COMMAND}`; export r; \
26456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26457 TFLAGS="$(STAGE3_TFLAGS)"; \
26458 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26459 $(HOST_EXPORTS) \
26460 $(POSTSTAGE1_HOST_EXPORTS) \
26461 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26462 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26463 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26464 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26466 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26467 case $(srcdir) in \
26468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26469 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26471 esac; \
26472 module_srcdir=libiberty; \
26473 $(SHELL) $$s/$$module_srcdir/configure \
26474 --srcdir=$${topdir}/$$module_srcdir \
26475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26476 --target=${target_alias} \
26477 --with-build-libsubdir=$(HOST_SUBDIR) \
26478 $(STAGE3_CONFIGURE_FLAGS) \
26479 @extra_host_libiberty_configure_flags@
26480 @endif libiberty-bootstrap
26482 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26483 maybe-configure-stage4-libiberty:
26484 @if libiberty-bootstrap
26485 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26486 configure-stage4-libiberty:
26487 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26489 @r=`${PWD_COMMAND}`; export r; \
26490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26491 TFLAGS="$(STAGE4_TFLAGS)"; \
26492 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26493 $(HOST_EXPORTS) \
26494 $(POSTSTAGE1_HOST_EXPORTS) \
26495 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26496 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26497 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26498 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26500 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26501 case $(srcdir) in \
26502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26503 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26505 esac; \
26506 module_srcdir=libiberty; \
26507 $(SHELL) $$s/$$module_srcdir/configure \
26508 --srcdir=$${topdir}/$$module_srcdir \
26509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26510 --target=${target_alias} \
26511 --with-build-libsubdir=$(HOST_SUBDIR) \
26512 $(STAGE4_CONFIGURE_FLAGS) \
26513 @extra_host_libiberty_configure_flags@
26514 @endif libiberty-bootstrap
26516 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26517 maybe-configure-stageprofile-libiberty:
26518 @if libiberty-bootstrap
26519 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26520 configure-stageprofile-libiberty:
26521 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26523 @r=`${PWD_COMMAND}`; export r; \
26524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26525 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26526 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26527 $(HOST_EXPORTS) \
26528 $(POSTSTAGE1_HOST_EXPORTS) \
26529 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26530 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26531 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26532 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26534 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26535 case $(srcdir) in \
26536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26537 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26539 esac; \
26540 module_srcdir=libiberty; \
26541 $(SHELL) $$s/$$module_srcdir/configure \
26542 --srcdir=$${topdir}/$$module_srcdir \
26543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26544 --target=${target_alias} \
26545 --with-build-libsubdir=$(HOST_SUBDIR) \
26546 $(STAGEprofile_CONFIGURE_FLAGS) \
26547 @extra_host_libiberty_configure_flags@
26548 @endif libiberty-bootstrap
26550 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26551 maybe-configure-stagetrain-libiberty:
26552 @if libiberty-bootstrap
26553 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26554 configure-stagetrain-libiberty:
26555 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26557 @r=`${PWD_COMMAND}`; export r; \
26558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26559 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26560 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26561 $(HOST_EXPORTS) \
26562 $(POSTSTAGE1_HOST_EXPORTS) \
26563 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26564 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26565 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26566 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26568 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26569 case $(srcdir) in \
26570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26571 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26573 esac; \
26574 module_srcdir=libiberty; \
26575 $(SHELL) $$s/$$module_srcdir/configure \
26576 --srcdir=$${topdir}/$$module_srcdir \
26577 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26578 --target=${target_alias} \
26579 --with-build-libsubdir=$(HOST_SUBDIR) \
26580 $(STAGEtrain_CONFIGURE_FLAGS) \
26581 @extra_host_libiberty_configure_flags@
26582 @endif libiberty-bootstrap
26584 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26585 maybe-configure-stagefeedback-libiberty:
26586 @if libiberty-bootstrap
26587 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26588 configure-stagefeedback-libiberty:
26589 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26591 @r=`${PWD_COMMAND}`; export r; \
26592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26593 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26594 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26595 $(HOST_EXPORTS) \
26596 $(POSTSTAGE1_HOST_EXPORTS) \
26597 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26598 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26599 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26600 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26602 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26603 case $(srcdir) in \
26604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26605 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26607 esac; \
26608 module_srcdir=libiberty; \
26609 $(SHELL) $$s/$$module_srcdir/configure \
26610 --srcdir=$${topdir}/$$module_srcdir \
26611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26612 --target=${target_alias} \
26613 --with-build-libsubdir=$(HOST_SUBDIR) \
26614 $(STAGEfeedback_CONFIGURE_FLAGS) \
26615 @extra_host_libiberty_configure_flags@
26616 @endif libiberty-bootstrap
26618 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26619 maybe-configure-stageautoprofile-libiberty:
26620 @if libiberty-bootstrap
26621 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26622 configure-stageautoprofile-libiberty:
26623 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26625 @r=`${PWD_COMMAND}`; export r; \
26626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26627 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26628 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26629 $(HOST_EXPORTS) \
26630 $(POSTSTAGE1_HOST_EXPORTS) \
26631 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26632 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26633 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26634 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26636 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26637 case $(srcdir) in \
26638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26639 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26641 esac; \
26642 module_srcdir=libiberty; \
26643 $(SHELL) $$s/$$module_srcdir/configure \
26644 --srcdir=$${topdir}/$$module_srcdir \
26645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26646 --target=${target_alias} \
26647 --with-build-libsubdir=$(HOST_SUBDIR) \
26648 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26649 @extra_host_libiberty_configure_flags@
26650 @endif libiberty-bootstrap
26652 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26653 maybe-configure-stageautofeedback-libiberty:
26654 @if libiberty-bootstrap
26655 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26656 configure-stageautofeedback-libiberty:
26657 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26659 @r=`${PWD_COMMAND}`; export r; \
26660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26661 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26662 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26663 $(HOST_EXPORTS) \
26664 $(POSTSTAGE1_HOST_EXPORTS) \
26665 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26666 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26667 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26668 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26670 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26671 case $(srcdir) in \
26672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26673 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26675 esac; \
26676 module_srcdir=libiberty; \
26677 $(SHELL) $$s/$$module_srcdir/configure \
26678 --srcdir=$${topdir}/$$module_srcdir \
26679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26680 --target=${target_alias} \
26681 --with-build-libsubdir=$(HOST_SUBDIR) \
26682 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26683 @extra_host_libiberty_configure_flags@
26684 @endif libiberty-bootstrap
26690 .PHONY: all-libiberty maybe-all-libiberty
26691 maybe-all-libiberty:
26692 @if gcc-bootstrap
26693 all-libiberty: stage_current
26694 @endif gcc-bootstrap
26695 @if libiberty
26696 TARGET-libiberty=all
26697 maybe-all-libiberty: all-libiberty
26698 all-libiberty: configure-libiberty
26699 @r=`${PWD_COMMAND}`; export r; \
26700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26701 $(HOST_EXPORTS) \
26702 (cd $(HOST_SUBDIR)/libiberty && \
26703 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26704 $(TARGET-libiberty))
26705 @endif libiberty
26709 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26710 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26711 maybe-all-stage1-libiberty:
26712 maybe-clean-stage1-libiberty:
26713 @if libiberty-bootstrap
26714 maybe-all-stage1-libiberty: all-stage1-libiberty
26715 all-stage1: all-stage1-libiberty
26716 TARGET-stage1-libiberty = $(TARGET-libiberty)
26717 all-stage1-libiberty: configure-stage1-libiberty
26718 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26719 @r=`${PWD_COMMAND}`; export r; \
26720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26721 TFLAGS="$(STAGE1_TFLAGS)"; \
26722 $(HOST_EXPORTS) \
26723 cd $(HOST_SUBDIR)/libiberty && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26726 CFLAGS="$(STAGE1_CFLAGS)" \
26727 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26728 LIBCFLAGS="$(LIBCFLAGS)" \
26729 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26730 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26731 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26732 $(EXTRA_HOST_FLAGS) \
26733 $(STAGE1_FLAGS_TO_PASS) \
26734 TFLAGS="$(STAGE1_TFLAGS)" \
26735 $(TARGET-stage1-libiberty)
26737 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26738 clean-stage1: clean-stage1-libiberty
26739 clean-stage1-libiberty:
26740 @if [ $(current_stage) = stage1 ]; then \
26741 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26742 else \
26743 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26744 $(MAKE) stage1-start; \
26745 fi; \
26746 cd $(HOST_SUBDIR)/libiberty && \
26747 $(MAKE) $(EXTRA_HOST_FLAGS) \
26748 $(STAGE1_FLAGS_TO_PASS) clean
26749 @endif libiberty-bootstrap
26752 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26753 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26754 maybe-all-stage2-libiberty:
26755 maybe-clean-stage2-libiberty:
26756 @if libiberty-bootstrap
26757 maybe-all-stage2-libiberty: all-stage2-libiberty
26758 all-stage2: all-stage2-libiberty
26759 TARGET-stage2-libiberty = $(TARGET-libiberty)
26760 all-stage2-libiberty: configure-stage2-libiberty
26761 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26762 @r=`${PWD_COMMAND}`; export r; \
26763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26764 TFLAGS="$(STAGE2_TFLAGS)"; \
26765 $(HOST_EXPORTS) \
26766 $(POSTSTAGE1_HOST_EXPORTS) \
26767 cd $(HOST_SUBDIR)/libiberty && \
26769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26770 CFLAGS="$(STAGE2_CFLAGS)" \
26771 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26772 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26776 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26777 TFLAGS="$(STAGE2_TFLAGS)" \
26778 $(TARGET-stage2-libiberty)
26780 maybe-clean-stage2-libiberty: clean-stage2-libiberty
26781 clean-stage2: clean-stage2-libiberty
26782 clean-stage2-libiberty:
26783 @if [ $(current_stage) = stage2 ]; then \
26784 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26785 else \
26786 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
26787 $(MAKE) stage2-start; \
26788 fi; \
26789 cd $(HOST_SUBDIR)/libiberty && \
26790 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26791 @endif libiberty-bootstrap
26794 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
26795 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
26796 maybe-all-stage3-libiberty:
26797 maybe-clean-stage3-libiberty:
26798 @if libiberty-bootstrap
26799 maybe-all-stage3-libiberty: all-stage3-libiberty
26800 all-stage3: all-stage3-libiberty
26801 TARGET-stage3-libiberty = $(TARGET-libiberty)
26802 all-stage3-libiberty: configure-stage3-libiberty
26803 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26804 @r=`${PWD_COMMAND}`; export r; \
26805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26806 TFLAGS="$(STAGE3_TFLAGS)"; \
26807 $(HOST_EXPORTS) \
26808 $(POSTSTAGE1_HOST_EXPORTS) \
26809 cd $(HOST_SUBDIR)/libiberty && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26812 CFLAGS="$(STAGE3_CFLAGS)" \
26813 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26814 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26819 TFLAGS="$(STAGE3_TFLAGS)" \
26820 $(TARGET-stage3-libiberty)
26822 maybe-clean-stage3-libiberty: clean-stage3-libiberty
26823 clean-stage3: clean-stage3-libiberty
26824 clean-stage3-libiberty:
26825 @if [ $(current_stage) = stage3 ]; then \
26826 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26827 else \
26828 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
26829 $(MAKE) stage3-start; \
26830 fi; \
26831 cd $(HOST_SUBDIR)/libiberty && \
26832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26833 @endif libiberty-bootstrap
26836 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
26837 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
26838 maybe-all-stage4-libiberty:
26839 maybe-clean-stage4-libiberty:
26840 @if libiberty-bootstrap
26841 maybe-all-stage4-libiberty: all-stage4-libiberty
26842 all-stage4: all-stage4-libiberty
26843 TARGET-stage4-libiberty = $(TARGET-libiberty)
26844 all-stage4-libiberty: configure-stage4-libiberty
26845 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26846 @r=`${PWD_COMMAND}`; export r; \
26847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26848 TFLAGS="$(STAGE4_TFLAGS)"; \
26849 $(HOST_EXPORTS) \
26850 $(POSTSTAGE1_HOST_EXPORTS) \
26851 cd $(HOST_SUBDIR)/libiberty && \
26853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26854 CFLAGS="$(STAGE4_CFLAGS)" \
26855 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26856 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26860 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26861 TFLAGS="$(STAGE4_TFLAGS)" \
26862 $(TARGET-stage4-libiberty)
26864 maybe-clean-stage4-libiberty: clean-stage4-libiberty
26865 clean-stage4: clean-stage4-libiberty
26866 clean-stage4-libiberty:
26867 @if [ $(current_stage) = stage4 ]; then \
26868 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26869 else \
26870 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
26871 $(MAKE) stage4-start; \
26872 fi; \
26873 cd $(HOST_SUBDIR)/libiberty && \
26874 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26875 @endif libiberty-bootstrap
26878 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
26879 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
26880 maybe-all-stageprofile-libiberty:
26881 maybe-clean-stageprofile-libiberty:
26882 @if libiberty-bootstrap
26883 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
26884 all-stageprofile: all-stageprofile-libiberty
26885 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
26886 all-stageprofile-libiberty: configure-stageprofile-libiberty
26887 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26888 @r=`${PWD_COMMAND}`; export r; \
26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26891 $(HOST_EXPORTS) \
26892 $(POSTSTAGE1_HOST_EXPORTS) \
26893 cd $(HOST_SUBDIR)/libiberty && \
26895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26896 CFLAGS="$(STAGEprofile_CFLAGS)" \
26897 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26898 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26903 TFLAGS="$(STAGEprofile_TFLAGS)" \
26904 $(TARGET-stageprofile-libiberty)
26906 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
26907 clean-stageprofile: clean-stageprofile-libiberty
26908 clean-stageprofile-libiberty:
26909 @if [ $(current_stage) = stageprofile ]; then \
26910 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26911 else \
26912 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
26913 $(MAKE) stageprofile-start; \
26914 fi; \
26915 cd $(HOST_SUBDIR)/libiberty && \
26916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26917 @endif libiberty-bootstrap
26920 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
26921 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
26922 maybe-all-stagetrain-libiberty:
26923 maybe-clean-stagetrain-libiberty:
26924 @if libiberty-bootstrap
26925 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
26926 all-stagetrain: all-stagetrain-libiberty
26927 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
26928 all-stagetrain-libiberty: configure-stagetrain-libiberty
26929 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26930 @r=`${PWD_COMMAND}`; export r; \
26931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26932 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26933 $(HOST_EXPORTS) \
26934 $(POSTSTAGE1_HOST_EXPORTS) \
26935 cd $(HOST_SUBDIR)/libiberty && \
26937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26938 CFLAGS="$(STAGEtrain_CFLAGS)" \
26939 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26940 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26945 TFLAGS="$(STAGEtrain_TFLAGS)" \
26946 $(TARGET-stagetrain-libiberty)
26948 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
26949 clean-stagetrain: clean-stagetrain-libiberty
26950 clean-stagetrain-libiberty:
26951 @if [ $(current_stage) = stagetrain ]; then \
26952 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26953 else \
26954 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
26955 $(MAKE) stagetrain-start; \
26956 fi; \
26957 cd $(HOST_SUBDIR)/libiberty && \
26958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26959 @endif libiberty-bootstrap
26962 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
26963 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
26964 maybe-all-stagefeedback-libiberty:
26965 maybe-clean-stagefeedback-libiberty:
26966 @if libiberty-bootstrap
26967 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
26968 all-stagefeedback: all-stagefeedback-libiberty
26969 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
26970 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
26971 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26972 @r=`${PWD_COMMAND}`; export r; \
26973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26975 $(HOST_EXPORTS) \
26976 $(POSTSTAGE1_HOST_EXPORTS) \
26977 cd $(HOST_SUBDIR)/libiberty && \
26979 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26980 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26981 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26982 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26986 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26987 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26988 $(TARGET-stagefeedback-libiberty)
26990 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
26991 clean-stagefeedback: clean-stagefeedback-libiberty
26992 clean-stagefeedback-libiberty:
26993 @if [ $(current_stage) = stagefeedback ]; then \
26994 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26995 else \
26996 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
26997 $(MAKE) stagefeedback-start; \
26998 fi; \
26999 cd $(HOST_SUBDIR)/libiberty && \
27000 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27001 @endif libiberty-bootstrap
27004 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
27005 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
27006 maybe-all-stageautoprofile-libiberty:
27007 maybe-clean-stageautoprofile-libiberty:
27008 @if libiberty-bootstrap
27009 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
27010 all-stageautoprofile: all-stageautoprofile-libiberty
27011 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27012 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27013 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27014 @r=`${PWD_COMMAND}`; export r; \
27015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27016 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27017 $(HOST_EXPORTS) \
27018 $(POSTSTAGE1_HOST_EXPORTS) \
27019 cd $(HOST_SUBDIR)/libiberty && \
27020 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27022 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27023 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27024 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27029 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27030 $(TARGET-stageautoprofile-libiberty)
27032 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27033 clean-stageautoprofile: clean-stageautoprofile-libiberty
27034 clean-stageautoprofile-libiberty:
27035 @if [ $(current_stage) = stageautoprofile ]; then \
27036 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27037 else \
27038 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27039 $(MAKE) stageautoprofile-start; \
27040 fi; \
27041 cd $(HOST_SUBDIR)/libiberty && \
27042 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27043 @endif libiberty-bootstrap
27046 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27047 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27048 maybe-all-stageautofeedback-libiberty:
27049 maybe-clean-stageautofeedback-libiberty:
27050 @if libiberty-bootstrap
27051 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27052 all-stageautofeedback: all-stageautofeedback-libiberty
27053 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27054 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27055 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27056 @r=`${PWD_COMMAND}`; export r; \
27057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27058 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27059 $(HOST_EXPORTS) \
27060 $(POSTSTAGE1_HOST_EXPORTS) \
27061 cd $(HOST_SUBDIR)/libiberty && \
27063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27064 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27065 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27066 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27071 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27072 $(TARGET-stageautofeedback-libiberty)
27074 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27075 clean-stageautofeedback: clean-stageautofeedback-libiberty
27076 clean-stageautofeedback-libiberty:
27077 @if [ $(current_stage) = stageautofeedback ]; then \
27078 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27079 else \
27080 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27081 $(MAKE) stageautofeedback-start; \
27082 fi; \
27083 cd $(HOST_SUBDIR)/libiberty && \
27084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27085 @endif libiberty-bootstrap
27091 .PHONY: check-libiberty maybe-check-libiberty
27092 maybe-check-libiberty:
27093 @if libiberty
27094 maybe-check-libiberty: check-libiberty
27096 check-libiberty:
27097 @: $(MAKE); $(unstage)
27098 @r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27100 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27101 (cd $(HOST_SUBDIR)/libiberty && \
27102 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27104 @endif libiberty
27106 .PHONY: install-libiberty maybe-install-libiberty
27107 maybe-install-libiberty:
27108 @if libiberty
27109 maybe-install-libiberty: install-libiberty
27111 install-libiberty: installdirs
27112 @: $(MAKE); $(unstage)
27113 @r=`${PWD_COMMAND}`; export r; \
27114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27115 $(HOST_EXPORTS) \
27116 (cd $(HOST_SUBDIR)/libiberty && \
27117 $(MAKE) $(FLAGS_TO_PASS) install)
27119 @endif libiberty
27121 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27122 maybe-install-strip-libiberty:
27123 @if libiberty
27124 maybe-install-strip-libiberty: install-strip-libiberty
27126 install-strip-libiberty: installdirs
27127 @: $(MAKE); $(unstage)
27128 @r=`${PWD_COMMAND}`; export r; \
27129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27130 $(HOST_EXPORTS) \
27131 (cd $(HOST_SUBDIR)/libiberty && \
27132 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27134 @endif libiberty
27136 # Other targets (info, dvi, pdf, etc.)
27138 .PHONY: maybe-info-libiberty info-libiberty
27139 maybe-info-libiberty:
27140 @if libiberty
27141 maybe-info-libiberty: info-libiberty
27143 info-libiberty: \
27144 configure-libiberty
27145 @[ -f ./libiberty/Makefile ] || exit 0; \
27146 r=`${PWD_COMMAND}`; export r; \
27147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27148 $(HOST_EXPORTS) \
27149 for flag in $(EXTRA_HOST_FLAGS) ; do \
27150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27151 done; \
27152 echo "Doing info in libiberty"; \
27153 (cd $(HOST_SUBDIR)/libiberty && \
27154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27156 "RANLIB=$${RANLIB}" \
27157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27158 info) \
27159 || exit 1
27161 @endif libiberty
27163 .PHONY: maybe-dvi-libiberty dvi-libiberty
27164 maybe-dvi-libiberty:
27165 @if libiberty
27166 maybe-dvi-libiberty: dvi-libiberty
27168 dvi-libiberty: \
27169 configure-libiberty
27170 @[ -f ./libiberty/Makefile ] || exit 0; \
27171 r=`${PWD_COMMAND}`; export r; \
27172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27173 $(HOST_EXPORTS) \
27174 for flag in $(EXTRA_HOST_FLAGS) ; do \
27175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27176 done; \
27177 echo "Doing dvi in libiberty"; \
27178 (cd $(HOST_SUBDIR)/libiberty && \
27179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27181 "RANLIB=$${RANLIB}" \
27182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27183 dvi) \
27184 || exit 1
27186 @endif libiberty
27188 .PHONY: maybe-pdf-libiberty pdf-libiberty
27189 maybe-pdf-libiberty:
27190 @if libiberty
27191 maybe-pdf-libiberty: pdf-libiberty
27193 pdf-libiberty: \
27194 configure-libiberty
27195 @[ -f ./libiberty/Makefile ] || exit 0; \
27196 r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27198 $(HOST_EXPORTS) \
27199 for flag in $(EXTRA_HOST_FLAGS) ; do \
27200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27201 done; \
27202 echo "Doing pdf in libiberty"; \
27203 (cd $(HOST_SUBDIR)/libiberty && \
27204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27206 "RANLIB=$${RANLIB}" \
27207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27208 pdf) \
27209 || exit 1
27211 @endif libiberty
27213 .PHONY: maybe-html-libiberty html-libiberty
27214 maybe-html-libiberty:
27215 @if libiberty
27216 maybe-html-libiberty: html-libiberty
27218 html-libiberty: \
27219 configure-libiberty
27220 @[ -f ./libiberty/Makefile ] || exit 0; \
27221 r=`${PWD_COMMAND}`; export r; \
27222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27223 $(HOST_EXPORTS) \
27224 for flag in $(EXTRA_HOST_FLAGS) ; do \
27225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27226 done; \
27227 echo "Doing html in libiberty"; \
27228 (cd $(HOST_SUBDIR)/libiberty && \
27229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27231 "RANLIB=$${RANLIB}" \
27232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27233 html) \
27234 || exit 1
27236 @endif libiberty
27238 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27239 maybe-TAGS-libiberty:
27240 @if libiberty
27241 maybe-TAGS-libiberty: TAGS-libiberty
27243 TAGS-libiberty: \
27244 configure-libiberty
27245 @[ -f ./libiberty/Makefile ] || exit 0; \
27246 r=`${PWD_COMMAND}`; export r; \
27247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27248 $(HOST_EXPORTS) \
27249 for flag in $(EXTRA_HOST_FLAGS) ; do \
27250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27251 done; \
27252 echo "Doing TAGS in libiberty"; \
27253 (cd $(HOST_SUBDIR)/libiberty && \
27254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27256 "RANLIB=$${RANLIB}" \
27257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27258 TAGS) \
27259 || exit 1
27261 @endif libiberty
27263 .PHONY: maybe-install-info-libiberty install-info-libiberty
27264 maybe-install-info-libiberty:
27265 @if libiberty
27266 maybe-install-info-libiberty: install-info-libiberty
27268 install-info-libiberty: \
27269 configure-libiberty \
27270 info-libiberty
27271 @[ -f ./libiberty/Makefile ] || exit 0; \
27272 r=`${PWD_COMMAND}`; export r; \
27273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27274 $(HOST_EXPORTS) \
27275 for flag in $(EXTRA_HOST_FLAGS) ; do \
27276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27277 done; \
27278 echo "Doing install-info in libiberty"; \
27279 (cd $(HOST_SUBDIR)/libiberty && \
27280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27282 "RANLIB=$${RANLIB}" \
27283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27284 install-info) \
27285 || exit 1
27287 @endif libiberty
27289 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27290 maybe-install-pdf-libiberty:
27291 @if libiberty
27292 maybe-install-pdf-libiberty: install-pdf-libiberty
27294 install-pdf-libiberty: \
27295 configure-libiberty \
27296 pdf-libiberty
27297 @[ -f ./libiberty/Makefile ] || exit 0; \
27298 r=`${PWD_COMMAND}`; export r; \
27299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27300 $(HOST_EXPORTS) \
27301 for flag in $(EXTRA_HOST_FLAGS) ; do \
27302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27303 done; \
27304 echo "Doing install-pdf in libiberty"; \
27305 (cd $(HOST_SUBDIR)/libiberty && \
27306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27308 "RANLIB=$${RANLIB}" \
27309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27310 install-pdf) \
27311 || exit 1
27313 @endif libiberty
27315 .PHONY: maybe-install-html-libiberty install-html-libiberty
27316 maybe-install-html-libiberty:
27317 @if libiberty
27318 maybe-install-html-libiberty: install-html-libiberty
27320 install-html-libiberty: \
27321 configure-libiberty \
27322 html-libiberty
27323 @[ -f ./libiberty/Makefile ] || exit 0; \
27324 r=`${PWD_COMMAND}`; export r; \
27325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27326 $(HOST_EXPORTS) \
27327 for flag in $(EXTRA_HOST_FLAGS) ; do \
27328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27329 done; \
27330 echo "Doing install-html in libiberty"; \
27331 (cd $(HOST_SUBDIR)/libiberty && \
27332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27334 "RANLIB=$${RANLIB}" \
27335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27336 install-html) \
27337 || exit 1
27339 @endif libiberty
27341 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27342 maybe-installcheck-libiberty:
27343 @if libiberty
27344 maybe-installcheck-libiberty: installcheck-libiberty
27346 installcheck-libiberty: \
27347 configure-libiberty
27348 @[ -f ./libiberty/Makefile ] || exit 0; \
27349 r=`${PWD_COMMAND}`; export r; \
27350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351 $(HOST_EXPORTS) \
27352 for flag in $(EXTRA_HOST_FLAGS) ; do \
27353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27354 done; \
27355 echo "Doing installcheck in libiberty"; \
27356 (cd $(HOST_SUBDIR)/libiberty && \
27357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27359 "RANLIB=$${RANLIB}" \
27360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27361 installcheck) \
27362 || exit 1
27364 @endif libiberty
27366 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27367 maybe-mostlyclean-libiberty:
27368 @if libiberty
27369 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27371 mostlyclean-libiberty:
27372 @[ -f ./libiberty/Makefile ] || exit 0; \
27373 r=`${PWD_COMMAND}`; export r; \
27374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27375 $(HOST_EXPORTS) \
27376 for flag in $(EXTRA_HOST_FLAGS) ; do \
27377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27378 done; \
27379 echo "Doing mostlyclean in libiberty"; \
27380 (cd $(HOST_SUBDIR)/libiberty && \
27381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27383 "RANLIB=$${RANLIB}" \
27384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27385 mostlyclean) \
27386 || exit 1
27388 @endif libiberty
27390 .PHONY: maybe-clean-libiberty clean-libiberty
27391 maybe-clean-libiberty:
27392 @if libiberty
27393 maybe-clean-libiberty: clean-libiberty
27395 clean-libiberty:
27396 @[ -f ./libiberty/Makefile ] || exit 0; \
27397 r=`${PWD_COMMAND}`; export r; \
27398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27399 $(HOST_EXPORTS) \
27400 for flag in $(EXTRA_HOST_FLAGS) ; do \
27401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27402 done; \
27403 echo "Doing clean in libiberty"; \
27404 (cd $(HOST_SUBDIR)/libiberty && \
27405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27407 "RANLIB=$${RANLIB}" \
27408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27409 clean) \
27410 || exit 1
27412 @endif libiberty
27414 .PHONY: maybe-distclean-libiberty distclean-libiberty
27415 maybe-distclean-libiberty:
27416 @if libiberty
27417 maybe-distclean-libiberty: distclean-libiberty
27419 distclean-libiberty:
27420 @[ -f ./libiberty/Makefile ] || exit 0; \
27421 r=`${PWD_COMMAND}`; export r; \
27422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27423 $(HOST_EXPORTS) \
27424 for flag in $(EXTRA_HOST_FLAGS) ; do \
27425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27426 done; \
27427 echo "Doing distclean in libiberty"; \
27428 (cd $(HOST_SUBDIR)/libiberty && \
27429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27431 "RANLIB=$${RANLIB}" \
27432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27433 distclean) \
27434 || exit 1
27436 @endif libiberty
27438 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27439 maybe-maintainer-clean-libiberty:
27440 @if libiberty
27441 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27443 maintainer-clean-libiberty:
27444 @[ -f ./libiberty/Makefile ] || exit 0; \
27445 r=`${PWD_COMMAND}`; export r; \
27446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27447 $(HOST_EXPORTS) \
27448 for flag in $(EXTRA_HOST_FLAGS) ; do \
27449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27450 done; \
27451 echo "Doing maintainer-clean in libiberty"; \
27452 (cd $(HOST_SUBDIR)/libiberty && \
27453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27455 "RANLIB=$${RANLIB}" \
27456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27457 maintainer-clean) \
27458 || exit 1
27460 @endif libiberty
27464 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27465 maybe-configure-libiberty-linker-plugin:
27466 @if gcc-bootstrap
27467 configure-libiberty-linker-plugin: stage_current
27468 @endif gcc-bootstrap
27469 @if libiberty-linker-plugin
27470 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27471 configure-libiberty-linker-plugin:
27472 @r=`${PWD_COMMAND}`; export r; \
27473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27474 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27476 $(HOST_EXPORTS) \
27477 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27478 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27479 case $(srcdir) in \
27480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27481 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27483 esac; \
27484 module_srcdir=libiberty; \
27485 $(SHELL) \
27486 $$s/$$module_srcdir/configure \
27487 --srcdir=$${topdir}/$$module_srcdir \
27488 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27489 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27490 || exit 1
27491 @endif libiberty-linker-plugin
27495 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27496 maybe-configure-stage1-libiberty-linker-plugin:
27497 @if libiberty-linker-plugin-bootstrap
27498 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27499 configure-stage1-libiberty-linker-plugin:
27500 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27501 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27502 @r=`${PWD_COMMAND}`; export r; \
27503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27504 TFLAGS="$(STAGE1_TFLAGS)"; \
27505 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27506 $(HOST_EXPORTS) \
27507 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27508 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27509 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27510 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27512 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27513 case $(srcdir) in \
27514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27515 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27517 esac; \
27518 module_srcdir=libiberty; \
27519 $(SHELL) $$s/$$module_srcdir/configure \
27520 --srcdir=$${topdir}/$$module_srcdir \
27521 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27522 --target=${target_alias} \
27524 $(STAGE1_CONFIGURE_FLAGS) \
27525 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27526 @endif libiberty-linker-plugin-bootstrap
27528 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27529 maybe-configure-stage2-libiberty-linker-plugin:
27530 @if libiberty-linker-plugin-bootstrap
27531 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27532 configure-stage2-libiberty-linker-plugin:
27533 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27534 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27535 @r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 TFLAGS="$(STAGE2_TFLAGS)"; \
27538 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27539 $(HOST_EXPORTS) \
27540 $(POSTSTAGE1_HOST_EXPORTS) \
27541 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27542 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27543 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27544 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27546 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27547 case $(srcdir) in \
27548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27549 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27551 esac; \
27552 module_srcdir=libiberty; \
27553 $(SHELL) $$s/$$module_srcdir/configure \
27554 --srcdir=$${topdir}/$$module_srcdir \
27555 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27556 --target=${target_alias} \
27557 --with-build-libsubdir=$(HOST_SUBDIR) \
27558 $(STAGE2_CONFIGURE_FLAGS) \
27559 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27560 @endif libiberty-linker-plugin-bootstrap
27562 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27563 maybe-configure-stage3-libiberty-linker-plugin:
27564 @if libiberty-linker-plugin-bootstrap
27565 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27566 configure-stage3-libiberty-linker-plugin:
27567 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27569 @r=`${PWD_COMMAND}`; export r; \
27570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27571 TFLAGS="$(STAGE3_TFLAGS)"; \
27572 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27573 $(HOST_EXPORTS) \
27574 $(POSTSTAGE1_HOST_EXPORTS) \
27575 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27576 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27577 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27578 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27580 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27581 case $(srcdir) in \
27582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27583 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27585 esac; \
27586 module_srcdir=libiberty; \
27587 $(SHELL) $$s/$$module_srcdir/configure \
27588 --srcdir=$${topdir}/$$module_srcdir \
27589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27590 --target=${target_alias} \
27591 --with-build-libsubdir=$(HOST_SUBDIR) \
27592 $(STAGE3_CONFIGURE_FLAGS) \
27593 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27594 @endif libiberty-linker-plugin-bootstrap
27596 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27597 maybe-configure-stage4-libiberty-linker-plugin:
27598 @if libiberty-linker-plugin-bootstrap
27599 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27600 configure-stage4-libiberty-linker-plugin:
27601 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27603 @r=`${PWD_COMMAND}`; export r; \
27604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27605 TFLAGS="$(STAGE4_TFLAGS)"; \
27606 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27607 $(HOST_EXPORTS) \
27608 $(POSTSTAGE1_HOST_EXPORTS) \
27609 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27610 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27611 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27612 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27614 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27615 case $(srcdir) in \
27616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27617 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27619 esac; \
27620 module_srcdir=libiberty; \
27621 $(SHELL) $$s/$$module_srcdir/configure \
27622 --srcdir=$${topdir}/$$module_srcdir \
27623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27624 --target=${target_alias} \
27625 --with-build-libsubdir=$(HOST_SUBDIR) \
27626 $(STAGE4_CONFIGURE_FLAGS) \
27627 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27628 @endif libiberty-linker-plugin-bootstrap
27630 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27631 maybe-configure-stageprofile-libiberty-linker-plugin:
27632 @if libiberty-linker-plugin-bootstrap
27633 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27634 configure-stageprofile-libiberty-linker-plugin:
27635 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27636 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27637 @r=`${PWD_COMMAND}`; export r; \
27638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27639 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27640 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27641 $(HOST_EXPORTS) \
27642 $(POSTSTAGE1_HOST_EXPORTS) \
27643 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27644 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27645 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27646 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27648 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27649 case $(srcdir) in \
27650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27651 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27653 esac; \
27654 module_srcdir=libiberty; \
27655 $(SHELL) $$s/$$module_srcdir/configure \
27656 --srcdir=$${topdir}/$$module_srcdir \
27657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27658 --target=${target_alias} \
27659 --with-build-libsubdir=$(HOST_SUBDIR) \
27660 $(STAGEprofile_CONFIGURE_FLAGS) \
27661 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27662 @endif libiberty-linker-plugin-bootstrap
27664 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27665 maybe-configure-stagetrain-libiberty-linker-plugin:
27666 @if libiberty-linker-plugin-bootstrap
27667 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27668 configure-stagetrain-libiberty-linker-plugin:
27669 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27671 @r=`${PWD_COMMAND}`; export r; \
27672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27673 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27674 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27675 $(HOST_EXPORTS) \
27676 $(POSTSTAGE1_HOST_EXPORTS) \
27677 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27678 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27679 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27680 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27682 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27683 case $(srcdir) in \
27684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27685 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27687 esac; \
27688 module_srcdir=libiberty; \
27689 $(SHELL) $$s/$$module_srcdir/configure \
27690 --srcdir=$${topdir}/$$module_srcdir \
27691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27692 --target=${target_alias} \
27693 --with-build-libsubdir=$(HOST_SUBDIR) \
27694 $(STAGEtrain_CONFIGURE_FLAGS) \
27695 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27696 @endif libiberty-linker-plugin-bootstrap
27698 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27699 maybe-configure-stagefeedback-libiberty-linker-plugin:
27700 @if libiberty-linker-plugin-bootstrap
27701 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27702 configure-stagefeedback-libiberty-linker-plugin:
27703 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27705 @r=`${PWD_COMMAND}`; export r; \
27706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27707 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27708 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27709 $(HOST_EXPORTS) \
27710 $(POSTSTAGE1_HOST_EXPORTS) \
27711 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27712 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27713 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27714 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27716 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27717 case $(srcdir) in \
27718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27719 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27721 esac; \
27722 module_srcdir=libiberty; \
27723 $(SHELL) $$s/$$module_srcdir/configure \
27724 --srcdir=$${topdir}/$$module_srcdir \
27725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27726 --target=${target_alias} \
27727 --with-build-libsubdir=$(HOST_SUBDIR) \
27728 $(STAGEfeedback_CONFIGURE_FLAGS) \
27729 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27730 @endif libiberty-linker-plugin-bootstrap
27732 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27733 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27734 @if libiberty-linker-plugin-bootstrap
27735 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27736 configure-stageautoprofile-libiberty-linker-plugin:
27737 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27738 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27739 @r=`${PWD_COMMAND}`; export r; \
27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27741 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27742 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27743 $(HOST_EXPORTS) \
27744 $(POSTSTAGE1_HOST_EXPORTS) \
27745 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27746 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27747 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27748 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27750 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27751 case $(srcdir) in \
27752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27753 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27755 esac; \
27756 module_srcdir=libiberty; \
27757 $(SHELL) $$s/$$module_srcdir/configure \
27758 --srcdir=$${topdir}/$$module_srcdir \
27759 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27760 --target=${target_alias} \
27761 --with-build-libsubdir=$(HOST_SUBDIR) \
27762 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27763 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27764 @endif libiberty-linker-plugin-bootstrap
27766 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27767 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27768 @if libiberty-linker-plugin-bootstrap
27769 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27770 configure-stageautofeedback-libiberty-linker-plugin:
27771 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27772 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27773 @r=`${PWD_COMMAND}`; export r; \
27774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27775 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27776 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27777 $(HOST_EXPORTS) \
27778 $(POSTSTAGE1_HOST_EXPORTS) \
27779 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27780 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27781 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27782 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27784 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27785 case $(srcdir) in \
27786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27787 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27789 esac; \
27790 module_srcdir=libiberty; \
27791 $(SHELL) $$s/$$module_srcdir/configure \
27792 --srcdir=$${topdir}/$$module_srcdir \
27793 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27794 --target=${target_alias} \
27795 --with-build-libsubdir=$(HOST_SUBDIR) \
27796 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27797 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27798 @endif libiberty-linker-plugin-bootstrap
27804 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
27805 maybe-all-libiberty-linker-plugin:
27806 @if gcc-bootstrap
27807 all-libiberty-linker-plugin: stage_current
27808 @endif gcc-bootstrap
27809 @if libiberty-linker-plugin
27810 TARGET-libiberty-linker-plugin=all
27811 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
27812 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
27813 @r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27815 $(HOST_EXPORTS) \
27816 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27817 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27818 $(TARGET-libiberty-linker-plugin))
27819 @endif libiberty-linker-plugin
27823 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
27824 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
27825 maybe-all-stage1-libiberty-linker-plugin:
27826 maybe-clean-stage1-libiberty-linker-plugin:
27827 @if libiberty-linker-plugin-bootstrap
27828 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
27829 all-stage1: all-stage1-libiberty-linker-plugin
27830 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27831 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27832 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27833 @r=`${PWD_COMMAND}`; export r; \
27834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27835 TFLAGS="$(STAGE1_TFLAGS)"; \
27836 $(HOST_EXPORTS) \
27837 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27840 CFLAGS="$(STAGE1_CFLAGS)" \
27841 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27842 LIBCFLAGS="$(LIBCFLAGS)" \
27843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27846 $(EXTRA_HOST_FLAGS) \
27847 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27848 TFLAGS="$(STAGE1_TFLAGS)" \
27849 $(TARGET-stage1-libiberty-linker-plugin)
27851 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
27852 clean-stage1: clean-stage1-libiberty-linker-plugin
27853 clean-stage1-libiberty-linker-plugin:
27854 @if [ $(current_stage) = stage1 ]; then \
27855 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27856 else \
27857 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
27858 $(MAKE) stage1-start; \
27859 fi; \
27860 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27861 $(MAKE) $(EXTRA_HOST_FLAGS) \
27862 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27863 @endif libiberty-linker-plugin-bootstrap
27866 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
27867 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
27868 maybe-all-stage2-libiberty-linker-plugin:
27869 maybe-clean-stage2-libiberty-linker-plugin:
27870 @if libiberty-linker-plugin-bootstrap
27871 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
27872 all-stage2: all-stage2-libiberty-linker-plugin
27873 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27874 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27875 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27876 @r=`${PWD_COMMAND}`; export r; \
27877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27878 TFLAGS="$(STAGE2_TFLAGS)"; \
27879 $(HOST_EXPORTS) \
27880 $(POSTSTAGE1_HOST_EXPORTS) \
27881 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27884 CFLAGS="$(STAGE2_CFLAGS)" \
27885 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27886 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27890 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27891 TFLAGS="$(STAGE2_TFLAGS)" \
27892 $(TARGET-stage2-libiberty-linker-plugin)
27894 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
27895 clean-stage2: clean-stage2-libiberty-linker-plugin
27896 clean-stage2-libiberty-linker-plugin:
27897 @if [ $(current_stage) = stage2 ]; then \
27898 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27899 else \
27900 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
27901 $(MAKE) stage2-start; \
27902 fi; \
27903 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27904 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27905 @endif libiberty-linker-plugin-bootstrap
27908 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
27909 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
27910 maybe-all-stage3-libiberty-linker-plugin:
27911 maybe-clean-stage3-libiberty-linker-plugin:
27912 @if libiberty-linker-plugin-bootstrap
27913 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
27914 all-stage3: all-stage3-libiberty-linker-plugin
27915 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27916 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27917 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27918 @r=`${PWD_COMMAND}`; export r; \
27919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27920 TFLAGS="$(STAGE3_TFLAGS)"; \
27921 $(HOST_EXPORTS) \
27922 $(POSTSTAGE1_HOST_EXPORTS) \
27923 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27926 CFLAGS="$(STAGE3_CFLAGS)" \
27927 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27928 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27932 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27933 TFLAGS="$(STAGE3_TFLAGS)" \
27934 $(TARGET-stage3-libiberty-linker-plugin)
27936 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
27937 clean-stage3: clean-stage3-libiberty-linker-plugin
27938 clean-stage3-libiberty-linker-plugin:
27939 @if [ $(current_stage) = stage3 ]; then \
27940 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27941 else \
27942 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
27943 $(MAKE) stage3-start; \
27944 fi; \
27945 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27946 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27947 @endif libiberty-linker-plugin-bootstrap
27950 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
27951 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
27952 maybe-all-stage4-libiberty-linker-plugin:
27953 maybe-clean-stage4-libiberty-linker-plugin:
27954 @if libiberty-linker-plugin-bootstrap
27955 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
27956 all-stage4: all-stage4-libiberty-linker-plugin
27957 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27958 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27959 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27960 @r=`${PWD_COMMAND}`; export r; \
27961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27962 TFLAGS="$(STAGE4_TFLAGS)"; \
27963 $(HOST_EXPORTS) \
27964 $(POSTSTAGE1_HOST_EXPORTS) \
27965 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27968 CFLAGS="$(STAGE4_CFLAGS)" \
27969 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27970 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27971 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27972 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27973 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27974 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27975 TFLAGS="$(STAGE4_TFLAGS)" \
27976 $(TARGET-stage4-libiberty-linker-plugin)
27978 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
27979 clean-stage4: clean-stage4-libiberty-linker-plugin
27980 clean-stage4-libiberty-linker-plugin:
27981 @if [ $(current_stage) = stage4 ]; then \
27982 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27983 else \
27984 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
27985 $(MAKE) stage4-start; \
27986 fi; \
27987 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27988 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27989 @endif libiberty-linker-plugin-bootstrap
27992 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
27993 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
27994 maybe-all-stageprofile-libiberty-linker-plugin:
27995 maybe-clean-stageprofile-libiberty-linker-plugin:
27996 @if libiberty-linker-plugin-bootstrap
27997 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
27998 all-stageprofile: all-stageprofile-libiberty-linker-plugin
27999 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28000 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
28001 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28002 @r=`${PWD_COMMAND}`; export r; \
28003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28004 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28005 $(HOST_EXPORTS) \
28006 $(POSTSTAGE1_HOST_EXPORTS) \
28007 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28009 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28010 CFLAGS="$(STAGEprofile_CFLAGS)" \
28011 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28012 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28017 TFLAGS="$(STAGEprofile_TFLAGS)" \
28018 $(TARGET-stageprofile-libiberty-linker-plugin)
28020 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28021 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28022 clean-stageprofile-libiberty-linker-plugin:
28023 @if [ $(current_stage) = stageprofile ]; then \
28024 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28025 else \
28026 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28027 $(MAKE) stageprofile-start; \
28028 fi; \
28029 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28031 @endif libiberty-linker-plugin-bootstrap
28034 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28035 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28036 maybe-all-stagetrain-libiberty-linker-plugin:
28037 maybe-clean-stagetrain-libiberty-linker-plugin:
28038 @if libiberty-linker-plugin-bootstrap
28039 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28040 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28041 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28042 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28043 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28044 @r=`${PWD_COMMAND}`; export r; \
28045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28046 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28047 $(HOST_EXPORTS) \
28048 $(POSTSTAGE1_HOST_EXPORTS) \
28049 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28052 CFLAGS="$(STAGEtrain_CFLAGS)" \
28053 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28054 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28059 TFLAGS="$(STAGEtrain_TFLAGS)" \
28060 $(TARGET-stagetrain-libiberty-linker-plugin)
28062 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28063 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28064 clean-stagetrain-libiberty-linker-plugin:
28065 @if [ $(current_stage) = stagetrain ]; then \
28066 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28067 else \
28068 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28069 $(MAKE) stagetrain-start; \
28070 fi; \
28071 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28072 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28073 @endif libiberty-linker-plugin-bootstrap
28076 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28077 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28078 maybe-all-stagefeedback-libiberty-linker-plugin:
28079 maybe-clean-stagefeedback-libiberty-linker-plugin:
28080 @if libiberty-linker-plugin-bootstrap
28081 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28082 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28083 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28084 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28085 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28086 @r=`${PWD_COMMAND}`; export r; \
28087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28088 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28089 $(HOST_EXPORTS) \
28090 $(POSTSTAGE1_HOST_EXPORTS) \
28091 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28094 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28095 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28096 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28101 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28102 $(TARGET-stagefeedback-libiberty-linker-plugin)
28104 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28105 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28106 clean-stagefeedback-libiberty-linker-plugin:
28107 @if [ $(current_stage) = stagefeedback ]; then \
28108 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28109 else \
28110 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28111 $(MAKE) stagefeedback-start; \
28112 fi; \
28113 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28114 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28115 @endif libiberty-linker-plugin-bootstrap
28118 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28119 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28120 maybe-all-stageautoprofile-libiberty-linker-plugin:
28121 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28122 @if libiberty-linker-plugin-bootstrap
28123 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28124 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28125 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28126 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28127 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28128 @r=`${PWD_COMMAND}`; export r; \
28129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28130 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28131 $(HOST_EXPORTS) \
28132 $(POSTSTAGE1_HOST_EXPORTS) \
28133 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28134 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28136 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28137 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28138 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28142 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28143 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28144 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28146 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28147 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28148 clean-stageautoprofile-libiberty-linker-plugin:
28149 @if [ $(current_stage) = stageautoprofile ]; then \
28150 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28151 else \
28152 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28153 $(MAKE) stageautoprofile-start; \
28154 fi; \
28155 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28156 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28157 @endif libiberty-linker-plugin-bootstrap
28160 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28161 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28162 maybe-all-stageautofeedback-libiberty-linker-plugin:
28163 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28164 @if libiberty-linker-plugin-bootstrap
28165 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28166 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28167 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28168 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28169 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28170 @r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28173 $(HOST_EXPORTS) \
28174 $(POSTSTAGE1_HOST_EXPORTS) \
28175 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28177 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28178 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28179 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28180 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28181 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28182 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28183 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28184 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28185 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28186 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28188 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28189 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28190 clean-stageautofeedback-libiberty-linker-plugin:
28191 @if [ $(current_stage) = stageautofeedback ]; then \
28192 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28193 else \
28194 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28195 $(MAKE) stageautofeedback-start; \
28196 fi; \
28197 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28198 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28199 @endif libiberty-linker-plugin-bootstrap
28205 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28206 maybe-check-libiberty-linker-plugin:
28207 @if libiberty-linker-plugin
28208 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28210 check-libiberty-linker-plugin:
28211 @: $(MAKE); $(unstage)
28212 @r=`${PWD_COMMAND}`; export r; \
28213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28214 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28215 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28216 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28218 @endif libiberty-linker-plugin
28220 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28221 maybe-install-libiberty-linker-plugin:
28222 @if libiberty-linker-plugin
28223 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28225 install-libiberty-linker-plugin: installdirs
28226 @: $(MAKE); $(unstage)
28227 @r=`${PWD_COMMAND}`; export r; \
28228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28229 $(HOST_EXPORTS) \
28230 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28231 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28233 @endif libiberty-linker-plugin
28235 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28236 maybe-install-strip-libiberty-linker-plugin:
28237 @if libiberty-linker-plugin
28238 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28240 install-strip-libiberty-linker-plugin: installdirs
28241 @: $(MAKE); $(unstage)
28242 @r=`${PWD_COMMAND}`; export r; \
28243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28244 $(HOST_EXPORTS) \
28245 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28246 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28248 @endif libiberty-linker-plugin
28250 # Other targets (info, dvi, pdf, etc.)
28252 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28253 maybe-info-libiberty-linker-plugin:
28254 @if libiberty-linker-plugin
28255 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28257 info-libiberty-linker-plugin: \
28258 configure-libiberty-linker-plugin
28259 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28260 r=`${PWD_COMMAND}`; export r; \
28261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28262 $(HOST_EXPORTS) \
28263 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28265 done; \
28266 echo "Doing info in libiberty-linker-plugin"; \
28267 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28270 "RANLIB=$${RANLIB}" \
28271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28272 info) \
28273 || exit 1
28275 @endif libiberty-linker-plugin
28277 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28278 maybe-dvi-libiberty-linker-plugin:
28279 @if libiberty-linker-plugin
28280 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28282 dvi-libiberty-linker-plugin: \
28283 configure-libiberty-linker-plugin
28284 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28285 r=`${PWD_COMMAND}`; export r; \
28286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28287 $(HOST_EXPORTS) \
28288 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28290 done; \
28291 echo "Doing dvi in libiberty-linker-plugin"; \
28292 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28295 "RANLIB=$${RANLIB}" \
28296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28297 dvi) \
28298 || exit 1
28300 @endif libiberty-linker-plugin
28302 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28303 maybe-pdf-libiberty-linker-plugin:
28304 @if libiberty-linker-plugin
28305 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28307 pdf-libiberty-linker-plugin: \
28308 configure-libiberty-linker-plugin
28309 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28310 r=`${PWD_COMMAND}`; export r; \
28311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28312 $(HOST_EXPORTS) \
28313 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28315 done; \
28316 echo "Doing pdf in libiberty-linker-plugin"; \
28317 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28320 "RANLIB=$${RANLIB}" \
28321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28322 pdf) \
28323 || exit 1
28325 @endif libiberty-linker-plugin
28327 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28328 maybe-html-libiberty-linker-plugin:
28329 @if libiberty-linker-plugin
28330 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28332 html-libiberty-linker-plugin: \
28333 configure-libiberty-linker-plugin
28334 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28335 r=`${PWD_COMMAND}`; export r; \
28336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28337 $(HOST_EXPORTS) \
28338 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28340 done; \
28341 echo "Doing html in libiberty-linker-plugin"; \
28342 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28345 "RANLIB=$${RANLIB}" \
28346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28347 html) \
28348 || exit 1
28350 @endif libiberty-linker-plugin
28352 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28353 maybe-TAGS-libiberty-linker-plugin:
28354 @if libiberty-linker-plugin
28355 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28357 TAGS-libiberty-linker-plugin: \
28358 configure-libiberty-linker-plugin
28359 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28360 r=`${PWD_COMMAND}`; export r; \
28361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28362 $(HOST_EXPORTS) \
28363 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28365 done; \
28366 echo "Doing TAGS in libiberty-linker-plugin"; \
28367 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28370 "RANLIB=$${RANLIB}" \
28371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28372 TAGS) \
28373 || exit 1
28375 @endif libiberty-linker-plugin
28377 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28378 maybe-install-info-libiberty-linker-plugin:
28379 @if libiberty-linker-plugin
28380 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28382 install-info-libiberty-linker-plugin: \
28383 configure-libiberty-linker-plugin \
28384 info-libiberty-linker-plugin
28385 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28386 r=`${PWD_COMMAND}`; export r; \
28387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28388 $(HOST_EXPORTS) \
28389 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28391 done; \
28392 echo "Doing install-info in libiberty-linker-plugin"; \
28393 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28396 "RANLIB=$${RANLIB}" \
28397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28398 install-info) \
28399 || exit 1
28401 @endif libiberty-linker-plugin
28403 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28404 maybe-install-pdf-libiberty-linker-plugin:
28405 @if libiberty-linker-plugin
28406 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28408 install-pdf-libiberty-linker-plugin: \
28409 configure-libiberty-linker-plugin \
28410 pdf-libiberty-linker-plugin
28411 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28412 r=`${PWD_COMMAND}`; export r; \
28413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28414 $(HOST_EXPORTS) \
28415 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28417 done; \
28418 echo "Doing install-pdf in libiberty-linker-plugin"; \
28419 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28422 "RANLIB=$${RANLIB}" \
28423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28424 install-pdf) \
28425 || exit 1
28427 @endif libiberty-linker-plugin
28429 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28430 maybe-install-html-libiberty-linker-plugin:
28431 @if libiberty-linker-plugin
28432 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28434 install-html-libiberty-linker-plugin: \
28435 configure-libiberty-linker-plugin \
28436 html-libiberty-linker-plugin
28437 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28438 r=`${PWD_COMMAND}`; export r; \
28439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28440 $(HOST_EXPORTS) \
28441 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28443 done; \
28444 echo "Doing install-html in libiberty-linker-plugin"; \
28445 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28448 "RANLIB=$${RANLIB}" \
28449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28450 install-html) \
28451 || exit 1
28453 @endif libiberty-linker-plugin
28455 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28456 maybe-installcheck-libiberty-linker-plugin:
28457 @if libiberty-linker-plugin
28458 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28460 installcheck-libiberty-linker-plugin: \
28461 configure-libiberty-linker-plugin
28462 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28463 r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(HOST_EXPORTS) \
28466 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28468 done; \
28469 echo "Doing installcheck in libiberty-linker-plugin"; \
28470 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28473 "RANLIB=$${RANLIB}" \
28474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28475 installcheck) \
28476 || exit 1
28478 @endif libiberty-linker-plugin
28480 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28481 maybe-mostlyclean-libiberty-linker-plugin:
28482 @if libiberty-linker-plugin
28483 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28485 mostlyclean-libiberty-linker-plugin:
28486 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28487 r=`${PWD_COMMAND}`; export r; \
28488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28489 $(HOST_EXPORTS) \
28490 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28492 done; \
28493 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28494 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28497 "RANLIB=$${RANLIB}" \
28498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28499 mostlyclean) \
28500 || exit 1
28502 @endif libiberty-linker-plugin
28504 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28505 maybe-clean-libiberty-linker-plugin:
28506 @if libiberty-linker-plugin
28507 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28509 clean-libiberty-linker-plugin:
28510 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28511 r=`${PWD_COMMAND}`; export r; \
28512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28513 $(HOST_EXPORTS) \
28514 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28516 done; \
28517 echo "Doing clean in libiberty-linker-plugin"; \
28518 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28521 "RANLIB=$${RANLIB}" \
28522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28523 clean) \
28524 || exit 1
28526 @endif libiberty-linker-plugin
28528 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28529 maybe-distclean-libiberty-linker-plugin:
28530 @if libiberty-linker-plugin
28531 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28533 distclean-libiberty-linker-plugin:
28534 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28535 r=`${PWD_COMMAND}`; export r; \
28536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28537 $(HOST_EXPORTS) \
28538 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28540 done; \
28541 echo "Doing distclean in libiberty-linker-plugin"; \
28542 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28545 "RANLIB=$${RANLIB}" \
28546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28547 distclean) \
28548 || exit 1
28550 @endif libiberty-linker-plugin
28552 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28553 maybe-maintainer-clean-libiberty-linker-plugin:
28554 @if libiberty-linker-plugin
28555 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28557 maintainer-clean-libiberty-linker-plugin:
28558 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28559 r=`${PWD_COMMAND}`; export r; \
28560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28561 $(HOST_EXPORTS) \
28562 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28564 done; \
28565 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28566 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28569 "RANLIB=$${RANLIB}" \
28570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28571 maintainer-clean) \
28572 || exit 1
28574 @endif libiberty-linker-plugin
28578 .PHONY: configure-libiconv maybe-configure-libiconv
28579 maybe-configure-libiconv:
28580 @if gcc-bootstrap
28581 configure-libiconv: stage_current
28582 @endif gcc-bootstrap
28583 @if libiconv
28584 maybe-configure-libiconv: configure-libiconv
28585 configure-libiconv:
28586 @r=`${PWD_COMMAND}`; export r; \
28587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28588 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28590 $(HOST_EXPORTS) \
28591 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28592 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28593 case $(srcdir) in \
28594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28595 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28597 esac; \
28598 module_srcdir=libiconv; \
28599 $(SHELL) \
28600 $$s/$$module_srcdir/configure \
28601 --srcdir=$${topdir}/$$module_srcdir \
28602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28603 --target=${target_alias} --disable-shared \
28604 || exit 1
28605 @endif libiconv
28609 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28610 maybe-configure-stage1-libiconv:
28611 @if libiconv-bootstrap
28612 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28613 configure-stage1-libiconv:
28614 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28616 @r=`${PWD_COMMAND}`; export r; \
28617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28618 TFLAGS="$(STAGE1_TFLAGS)"; \
28619 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28620 $(HOST_EXPORTS) \
28621 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28622 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28623 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28624 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28626 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28627 case $(srcdir) in \
28628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28629 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28631 esac; \
28632 module_srcdir=libiconv; \
28633 $(SHELL) $$s/$$module_srcdir/configure \
28634 --srcdir=$${topdir}/$$module_srcdir \
28635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28636 --target=${target_alias} \
28638 $(STAGE1_CONFIGURE_FLAGS) \
28639 --disable-shared
28640 @endif libiconv-bootstrap
28642 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28643 maybe-configure-stage2-libiconv:
28644 @if libiconv-bootstrap
28645 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28646 configure-stage2-libiconv:
28647 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28649 @r=`${PWD_COMMAND}`; export r; \
28650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28651 TFLAGS="$(STAGE2_TFLAGS)"; \
28652 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28653 $(HOST_EXPORTS) \
28654 $(POSTSTAGE1_HOST_EXPORTS) \
28655 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28656 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28657 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28658 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28660 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28661 case $(srcdir) in \
28662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28663 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28665 esac; \
28666 module_srcdir=libiconv; \
28667 $(SHELL) $$s/$$module_srcdir/configure \
28668 --srcdir=$${topdir}/$$module_srcdir \
28669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28670 --target=${target_alias} \
28671 --with-build-libsubdir=$(HOST_SUBDIR) \
28672 $(STAGE2_CONFIGURE_FLAGS) \
28673 --disable-shared
28674 @endif libiconv-bootstrap
28676 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28677 maybe-configure-stage3-libiconv:
28678 @if libiconv-bootstrap
28679 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28680 configure-stage3-libiconv:
28681 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28683 @r=`${PWD_COMMAND}`; export r; \
28684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28685 TFLAGS="$(STAGE3_TFLAGS)"; \
28686 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28687 $(HOST_EXPORTS) \
28688 $(POSTSTAGE1_HOST_EXPORTS) \
28689 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28690 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28691 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28692 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28694 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28695 case $(srcdir) in \
28696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28697 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28699 esac; \
28700 module_srcdir=libiconv; \
28701 $(SHELL) $$s/$$module_srcdir/configure \
28702 --srcdir=$${topdir}/$$module_srcdir \
28703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28704 --target=${target_alias} \
28705 --with-build-libsubdir=$(HOST_SUBDIR) \
28706 $(STAGE3_CONFIGURE_FLAGS) \
28707 --disable-shared
28708 @endif libiconv-bootstrap
28710 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28711 maybe-configure-stage4-libiconv:
28712 @if libiconv-bootstrap
28713 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28714 configure-stage4-libiconv:
28715 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28716 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28717 @r=`${PWD_COMMAND}`; export r; \
28718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28719 TFLAGS="$(STAGE4_TFLAGS)"; \
28720 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28721 $(HOST_EXPORTS) \
28722 $(POSTSTAGE1_HOST_EXPORTS) \
28723 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28724 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28725 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28726 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28728 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28729 case $(srcdir) in \
28730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28731 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28733 esac; \
28734 module_srcdir=libiconv; \
28735 $(SHELL) $$s/$$module_srcdir/configure \
28736 --srcdir=$${topdir}/$$module_srcdir \
28737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28738 --target=${target_alias} \
28739 --with-build-libsubdir=$(HOST_SUBDIR) \
28740 $(STAGE4_CONFIGURE_FLAGS) \
28741 --disable-shared
28742 @endif libiconv-bootstrap
28744 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28745 maybe-configure-stageprofile-libiconv:
28746 @if libiconv-bootstrap
28747 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28748 configure-stageprofile-libiconv:
28749 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28751 @r=`${PWD_COMMAND}`; export r; \
28752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28753 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28754 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28755 $(HOST_EXPORTS) \
28756 $(POSTSTAGE1_HOST_EXPORTS) \
28757 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28758 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28759 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28760 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28762 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28763 case $(srcdir) in \
28764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28765 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28767 esac; \
28768 module_srcdir=libiconv; \
28769 $(SHELL) $$s/$$module_srcdir/configure \
28770 --srcdir=$${topdir}/$$module_srcdir \
28771 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28772 --target=${target_alias} \
28773 --with-build-libsubdir=$(HOST_SUBDIR) \
28774 $(STAGEprofile_CONFIGURE_FLAGS) \
28775 --disable-shared
28776 @endif libiconv-bootstrap
28778 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
28779 maybe-configure-stagetrain-libiconv:
28780 @if libiconv-bootstrap
28781 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
28782 configure-stagetrain-libiconv:
28783 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28785 @r=`${PWD_COMMAND}`; export r; \
28786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28787 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28788 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28789 $(HOST_EXPORTS) \
28790 $(POSTSTAGE1_HOST_EXPORTS) \
28791 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
28792 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
28793 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
28794 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
28795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28796 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28797 case $(srcdir) in \
28798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28799 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28801 esac; \
28802 module_srcdir=libiconv; \
28803 $(SHELL) $$s/$$module_srcdir/configure \
28804 --srcdir=$${topdir}/$$module_srcdir \
28805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28806 --target=${target_alias} \
28807 --with-build-libsubdir=$(HOST_SUBDIR) \
28808 $(STAGEtrain_CONFIGURE_FLAGS) \
28809 --disable-shared
28810 @endif libiconv-bootstrap
28812 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
28813 maybe-configure-stagefeedback-libiconv:
28814 @if libiconv-bootstrap
28815 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
28816 configure-stagefeedback-libiconv:
28817 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28818 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28819 @r=`${PWD_COMMAND}`; export r; \
28820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28821 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28822 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28823 $(HOST_EXPORTS) \
28824 $(POSTSTAGE1_HOST_EXPORTS) \
28825 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28826 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28827 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28828 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
28829 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28830 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28831 case $(srcdir) in \
28832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28833 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28835 esac; \
28836 module_srcdir=libiconv; \
28837 $(SHELL) $$s/$$module_srcdir/configure \
28838 --srcdir=$${topdir}/$$module_srcdir \
28839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28840 --target=${target_alias} \
28841 --with-build-libsubdir=$(HOST_SUBDIR) \
28842 $(STAGEfeedback_CONFIGURE_FLAGS) \
28843 --disable-shared
28844 @endif libiconv-bootstrap
28846 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
28847 maybe-configure-stageautoprofile-libiconv:
28848 @if libiconv-bootstrap
28849 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
28850 configure-stageautoprofile-libiconv:
28851 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28852 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28853 @r=`${PWD_COMMAND}`; export r; \
28854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28855 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28856 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28857 $(HOST_EXPORTS) \
28858 $(POSTSTAGE1_HOST_EXPORTS) \
28859 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
28860 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
28861 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28862 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
28863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28864 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28865 case $(srcdir) in \
28866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28867 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28869 esac; \
28870 module_srcdir=libiconv; \
28871 $(SHELL) $$s/$$module_srcdir/configure \
28872 --srcdir=$${topdir}/$$module_srcdir \
28873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28874 --target=${target_alias} \
28875 --with-build-libsubdir=$(HOST_SUBDIR) \
28876 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28877 --disable-shared
28878 @endif libiconv-bootstrap
28880 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
28881 maybe-configure-stageautofeedback-libiconv:
28882 @if libiconv-bootstrap
28883 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
28884 configure-stageautofeedback-libiconv:
28885 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28887 @r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28890 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28891 $(HOST_EXPORTS) \
28892 $(POSTSTAGE1_HOST_EXPORTS) \
28893 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28894 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28895 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28896 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
28897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28898 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28899 case $(srcdir) in \
28900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28901 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28903 esac; \
28904 module_srcdir=libiconv; \
28905 $(SHELL) $$s/$$module_srcdir/configure \
28906 --srcdir=$${topdir}/$$module_srcdir \
28907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28908 --target=${target_alias} \
28909 --with-build-libsubdir=$(HOST_SUBDIR) \
28910 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28911 --disable-shared
28912 @endif libiconv-bootstrap
28918 .PHONY: all-libiconv maybe-all-libiconv
28919 maybe-all-libiconv:
28920 @if gcc-bootstrap
28921 all-libiconv: stage_current
28922 @endif gcc-bootstrap
28923 @if libiconv
28924 TARGET-libiconv=all
28925 maybe-all-libiconv: all-libiconv
28926 all-libiconv: configure-libiconv
28927 @r=`${PWD_COMMAND}`; export r; \
28928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28929 $(HOST_EXPORTS) \
28930 (cd $(HOST_SUBDIR)/libiconv && \
28931 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28932 $(TARGET-libiconv))
28933 @endif libiconv
28937 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
28938 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
28939 maybe-all-stage1-libiconv:
28940 maybe-clean-stage1-libiconv:
28941 @if libiconv-bootstrap
28942 maybe-all-stage1-libiconv: all-stage1-libiconv
28943 all-stage1: all-stage1-libiconv
28944 TARGET-stage1-libiconv = $(TARGET-libiconv)
28945 all-stage1-libiconv: configure-stage1-libiconv
28946 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28947 @r=`${PWD_COMMAND}`; export r; \
28948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28949 TFLAGS="$(STAGE1_TFLAGS)"; \
28950 $(HOST_EXPORTS) \
28951 cd $(HOST_SUBDIR)/libiconv && \
28953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28954 CFLAGS="$(STAGE1_CFLAGS)" \
28955 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28956 LIBCFLAGS="$(LIBCFLAGS)" \
28957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28960 $(EXTRA_HOST_FLAGS) \
28961 $(STAGE1_FLAGS_TO_PASS) \
28962 TFLAGS="$(STAGE1_TFLAGS)" \
28963 $(TARGET-stage1-libiconv)
28965 maybe-clean-stage1-libiconv: clean-stage1-libiconv
28966 clean-stage1: clean-stage1-libiconv
28967 clean-stage1-libiconv:
28968 @if [ $(current_stage) = stage1 ]; then \
28969 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
28970 else \
28971 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
28972 $(MAKE) stage1-start; \
28973 fi; \
28974 cd $(HOST_SUBDIR)/libiconv && \
28975 $(MAKE) $(EXTRA_HOST_FLAGS) \
28976 $(STAGE1_FLAGS_TO_PASS) clean
28977 @endif libiconv-bootstrap
28980 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
28981 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
28982 maybe-all-stage2-libiconv:
28983 maybe-clean-stage2-libiconv:
28984 @if libiconv-bootstrap
28985 maybe-all-stage2-libiconv: all-stage2-libiconv
28986 all-stage2: all-stage2-libiconv
28987 TARGET-stage2-libiconv = $(TARGET-libiconv)
28988 all-stage2-libiconv: configure-stage2-libiconv
28989 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28990 @r=`${PWD_COMMAND}`; export r; \
28991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28992 TFLAGS="$(STAGE2_TFLAGS)"; \
28993 $(HOST_EXPORTS) \
28994 $(POSTSTAGE1_HOST_EXPORTS) \
28995 cd $(HOST_SUBDIR)/libiconv && \
28997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28998 CFLAGS="$(STAGE2_CFLAGS)" \
28999 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29000 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29001 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29002 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29003 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29004 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29005 TFLAGS="$(STAGE2_TFLAGS)" \
29006 $(TARGET-stage2-libiconv)
29008 maybe-clean-stage2-libiconv: clean-stage2-libiconv
29009 clean-stage2: clean-stage2-libiconv
29010 clean-stage2-libiconv:
29011 @if [ $(current_stage) = stage2 ]; then \
29012 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29013 else \
29014 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29015 $(MAKE) stage2-start; \
29016 fi; \
29017 cd $(HOST_SUBDIR)/libiconv && \
29018 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29019 @endif libiconv-bootstrap
29022 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29023 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29024 maybe-all-stage3-libiconv:
29025 maybe-clean-stage3-libiconv:
29026 @if libiconv-bootstrap
29027 maybe-all-stage3-libiconv: all-stage3-libiconv
29028 all-stage3: all-stage3-libiconv
29029 TARGET-stage3-libiconv = $(TARGET-libiconv)
29030 all-stage3-libiconv: configure-stage3-libiconv
29031 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29032 @r=`${PWD_COMMAND}`; export r; \
29033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29034 TFLAGS="$(STAGE3_TFLAGS)"; \
29035 $(HOST_EXPORTS) \
29036 $(POSTSTAGE1_HOST_EXPORTS) \
29037 cd $(HOST_SUBDIR)/libiconv && \
29039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29040 CFLAGS="$(STAGE3_CFLAGS)" \
29041 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29042 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29047 TFLAGS="$(STAGE3_TFLAGS)" \
29048 $(TARGET-stage3-libiconv)
29050 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29051 clean-stage3: clean-stage3-libiconv
29052 clean-stage3-libiconv:
29053 @if [ $(current_stage) = stage3 ]; then \
29054 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29055 else \
29056 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29057 $(MAKE) stage3-start; \
29058 fi; \
29059 cd $(HOST_SUBDIR)/libiconv && \
29060 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29061 @endif libiconv-bootstrap
29064 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29065 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29066 maybe-all-stage4-libiconv:
29067 maybe-clean-stage4-libiconv:
29068 @if libiconv-bootstrap
29069 maybe-all-stage4-libiconv: all-stage4-libiconv
29070 all-stage4: all-stage4-libiconv
29071 TARGET-stage4-libiconv = $(TARGET-libiconv)
29072 all-stage4-libiconv: configure-stage4-libiconv
29073 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29074 @r=`${PWD_COMMAND}`; export r; \
29075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29076 TFLAGS="$(STAGE4_TFLAGS)"; \
29077 $(HOST_EXPORTS) \
29078 $(POSTSTAGE1_HOST_EXPORTS) \
29079 cd $(HOST_SUBDIR)/libiconv && \
29081 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29082 CFLAGS="$(STAGE4_CFLAGS)" \
29083 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29084 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29085 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29086 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29087 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29088 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29089 TFLAGS="$(STAGE4_TFLAGS)" \
29090 $(TARGET-stage4-libiconv)
29092 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29093 clean-stage4: clean-stage4-libiconv
29094 clean-stage4-libiconv:
29095 @if [ $(current_stage) = stage4 ]; then \
29096 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29097 else \
29098 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29099 $(MAKE) stage4-start; \
29100 fi; \
29101 cd $(HOST_SUBDIR)/libiconv && \
29102 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29103 @endif libiconv-bootstrap
29106 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29107 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29108 maybe-all-stageprofile-libiconv:
29109 maybe-clean-stageprofile-libiconv:
29110 @if libiconv-bootstrap
29111 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29112 all-stageprofile: all-stageprofile-libiconv
29113 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29114 all-stageprofile-libiconv: configure-stageprofile-libiconv
29115 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29116 @r=`${PWD_COMMAND}`; export r; \
29117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29118 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29119 $(HOST_EXPORTS) \
29120 $(POSTSTAGE1_HOST_EXPORTS) \
29121 cd $(HOST_SUBDIR)/libiconv && \
29123 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29124 CFLAGS="$(STAGEprofile_CFLAGS)" \
29125 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29126 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29127 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29128 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29129 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29130 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29131 TFLAGS="$(STAGEprofile_TFLAGS)" \
29132 $(TARGET-stageprofile-libiconv)
29134 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29135 clean-stageprofile: clean-stageprofile-libiconv
29136 clean-stageprofile-libiconv:
29137 @if [ $(current_stage) = stageprofile ]; then \
29138 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29139 else \
29140 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29141 $(MAKE) stageprofile-start; \
29142 fi; \
29143 cd $(HOST_SUBDIR)/libiconv && \
29144 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29145 @endif libiconv-bootstrap
29148 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29149 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29150 maybe-all-stagetrain-libiconv:
29151 maybe-clean-stagetrain-libiconv:
29152 @if libiconv-bootstrap
29153 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29154 all-stagetrain: all-stagetrain-libiconv
29155 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29156 all-stagetrain-libiconv: configure-stagetrain-libiconv
29157 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29158 @r=`${PWD_COMMAND}`; export r; \
29159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29160 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29161 $(HOST_EXPORTS) \
29162 $(POSTSTAGE1_HOST_EXPORTS) \
29163 cd $(HOST_SUBDIR)/libiconv && \
29165 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29166 CFLAGS="$(STAGEtrain_CFLAGS)" \
29167 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29168 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29169 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29170 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29171 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29172 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29173 TFLAGS="$(STAGEtrain_TFLAGS)" \
29174 $(TARGET-stagetrain-libiconv)
29176 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29177 clean-stagetrain: clean-stagetrain-libiconv
29178 clean-stagetrain-libiconv:
29179 @if [ $(current_stage) = stagetrain ]; then \
29180 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29181 else \
29182 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29183 $(MAKE) stagetrain-start; \
29184 fi; \
29185 cd $(HOST_SUBDIR)/libiconv && \
29186 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29187 @endif libiconv-bootstrap
29190 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29191 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29192 maybe-all-stagefeedback-libiconv:
29193 maybe-clean-stagefeedback-libiconv:
29194 @if libiconv-bootstrap
29195 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29196 all-stagefeedback: all-stagefeedback-libiconv
29197 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29198 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29199 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29200 @r=`${PWD_COMMAND}`; export r; \
29201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29202 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29203 $(HOST_EXPORTS) \
29204 $(POSTSTAGE1_HOST_EXPORTS) \
29205 cd $(HOST_SUBDIR)/libiconv && \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29208 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29209 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29210 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29211 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29212 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29213 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29214 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29215 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29216 $(TARGET-stagefeedback-libiconv)
29218 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29219 clean-stagefeedback: clean-stagefeedback-libiconv
29220 clean-stagefeedback-libiconv:
29221 @if [ $(current_stage) = stagefeedback ]; then \
29222 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29223 else \
29224 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29225 $(MAKE) stagefeedback-start; \
29226 fi; \
29227 cd $(HOST_SUBDIR)/libiconv && \
29228 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29229 @endif libiconv-bootstrap
29232 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29233 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29234 maybe-all-stageautoprofile-libiconv:
29235 maybe-clean-stageautoprofile-libiconv:
29236 @if libiconv-bootstrap
29237 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29238 all-stageautoprofile: all-stageautoprofile-libiconv
29239 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29240 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29241 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29242 @r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29245 $(HOST_EXPORTS) \
29246 $(POSTSTAGE1_HOST_EXPORTS) \
29247 cd $(HOST_SUBDIR)/libiconv && \
29248 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29249 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29250 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29251 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29252 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29256 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29257 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29258 $(TARGET-stageautoprofile-libiconv)
29260 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29261 clean-stageautoprofile: clean-stageautoprofile-libiconv
29262 clean-stageautoprofile-libiconv:
29263 @if [ $(current_stage) = stageautoprofile ]; then \
29264 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29265 else \
29266 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29267 $(MAKE) stageautoprofile-start; \
29268 fi; \
29269 cd $(HOST_SUBDIR)/libiconv && \
29270 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29271 @endif libiconv-bootstrap
29274 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29275 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29276 maybe-all-stageautofeedback-libiconv:
29277 maybe-clean-stageautofeedback-libiconv:
29278 @if libiconv-bootstrap
29279 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29280 all-stageautofeedback: all-stageautofeedback-libiconv
29281 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29282 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29283 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29284 @r=`${PWD_COMMAND}`; export r; \
29285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29286 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29287 $(HOST_EXPORTS) \
29288 $(POSTSTAGE1_HOST_EXPORTS) \
29289 cd $(HOST_SUBDIR)/libiconv && \
29291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29292 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29293 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29294 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29299 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29300 $(TARGET-stageautofeedback-libiconv)
29302 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29303 clean-stageautofeedback: clean-stageautofeedback-libiconv
29304 clean-stageautofeedback-libiconv:
29305 @if [ $(current_stage) = stageautofeedback ]; then \
29306 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29307 else \
29308 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29309 $(MAKE) stageautofeedback-start; \
29310 fi; \
29311 cd $(HOST_SUBDIR)/libiconv && \
29312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29313 @endif libiconv-bootstrap
29319 .PHONY: check-libiconv maybe-check-libiconv
29320 maybe-check-libiconv:
29321 @if libiconv
29322 maybe-check-libiconv: check-libiconv
29324 check-libiconv:
29325 @: $(MAKE); $(unstage)
29326 @r=`${PWD_COMMAND}`; export r; \
29327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29328 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29329 (cd $(HOST_SUBDIR)/libiconv && \
29330 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29332 @endif libiconv
29334 .PHONY: install-libiconv maybe-install-libiconv
29335 maybe-install-libiconv:
29336 @if libiconv
29337 maybe-install-libiconv: install-libiconv
29339 install-libiconv:
29341 @endif libiconv
29343 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29344 maybe-install-strip-libiconv:
29345 @if libiconv
29346 maybe-install-strip-libiconv: install-strip-libiconv
29348 install-strip-libiconv:
29350 @endif libiconv
29352 # Other targets (info, dvi, pdf, etc.)
29354 .PHONY: maybe-info-libiconv info-libiconv
29355 maybe-info-libiconv:
29356 @if libiconv
29357 maybe-info-libiconv: info-libiconv
29359 # libiconv doesn't support info.
29360 info-libiconv:
29362 @endif libiconv
29364 .PHONY: maybe-dvi-libiconv dvi-libiconv
29365 maybe-dvi-libiconv:
29366 @if libiconv
29367 maybe-dvi-libiconv: dvi-libiconv
29369 dvi-libiconv: \
29370 configure-libiconv
29371 @[ -f ./libiconv/Makefile ] || exit 0; \
29372 r=`${PWD_COMMAND}`; export r; \
29373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29374 $(HOST_EXPORTS) \
29375 for flag in $(EXTRA_HOST_FLAGS) ; do \
29376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29377 done; \
29378 echo "Doing dvi in libiconv"; \
29379 (cd $(HOST_SUBDIR)/libiconv && \
29380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29382 "RANLIB=$${RANLIB}" \
29383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29384 dvi) \
29385 || exit 1
29387 @endif libiconv
29389 .PHONY: maybe-pdf-libiconv pdf-libiconv
29390 maybe-pdf-libiconv:
29391 @if libiconv
29392 maybe-pdf-libiconv: pdf-libiconv
29394 # libiconv doesn't support pdf.
29395 pdf-libiconv:
29397 @endif libiconv
29399 .PHONY: maybe-html-libiconv html-libiconv
29400 maybe-html-libiconv:
29401 @if libiconv
29402 maybe-html-libiconv: html-libiconv
29404 # libiconv doesn't support html.
29405 html-libiconv:
29407 @endif libiconv
29409 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29410 maybe-TAGS-libiconv:
29411 @if libiconv
29412 maybe-TAGS-libiconv: TAGS-libiconv
29414 TAGS-libiconv: \
29415 configure-libiconv
29416 @[ -f ./libiconv/Makefile ] || exit 0; \
29417 r=`${PWD_COMMAND}`; export r; \
29418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29419 $(HOST_EXPORTS) \
29420 for flag in $(EXTRA_HOST_FLAGS) ; do \
29421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29422 done; \
29423 echo "Doing TAGS in libiconv"; \
29424 (cd $(HOST_SUBDIR)/libiconv && \
29425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29427 "RANLIB=$${RANLIB}" \
29428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29429 TAGS) \
29430 || exit 1
29432 @endif libiconv
29434 .PHONY: maybe-install-info-libiconv install-info-libiconv
29435 maybe-install-info-libiconv:
29436 @if libiconv
29437 maybe-install-info-libiconv: install-info-libiconv
29439 # libiconv doesn't support install-info.
29440 install-info-libiconv:
29442 @endif libiconv
29444 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29445 maybe-install-pdf-libiconv:
29446 @if libiconv
29447 maybe-install-pdf-libiconv: install-pdf-libiconv
29449 # libiconv doesn't support install-pdf.
29450 install-pdf-libiconv:
29452 @endif libiconv
29454 .PHONY: maybe-install-html-libiconv install-html-libiconv
29455 maybe-install-html-libiconv:
29456 @if libiconv
29457 maybe-install-html-libiconv: install-html-libiconv
29459 # libiconv doesn't support install-html.
29460 install-html-libiconv:
29462 @endif libiconv
29464 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29465 maybe-installcheck-libiconv:
29466 @if libiconv
29467 maybe-installcheck-libiconv: installcheck-libiconv
29469 installcheck-libiconv: \
29470 configure-libiconv
29471 @[ -f ./libiconv/Makefile ] || exit 0; \
29472 r=`${PWD_COMMAND}`; export r; \
29473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29474 $(HOST_EXPORTS) \
29475 for flag in $(EXTRA_HOST_FLAGS) ; do \
29476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29477 done; \
29478 echo "Doing installcheck in libiconv"; \
29479 (cd $(HOST_SUBDIR)/libiconv && \
29480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29482 "RANLIB=$${RANLIB}" \
29483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29484 installcheck) \
29485 || exit 1
29487 @endif libiconv
29489 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29490 maybe-mostlyclean-libiconv:
29491 @if libiconv
29492 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29494 mostlyclean-libiconv:
29495 @[ -f ./libiconv/Makefile ] || exit 0; \
29496 r=`${PWD_COMMAND}`; export r; \
29497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29498 $(HOST_EXPORTS) \
29499 for flag in $(EXTRA_HOST_FLAGS) ; do \
29500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29501 done; \
29502 echo "Doing mostlyclean in libiconv"; \
29503 (cd $(HOST_SUBDIR)/libiconv && \
29504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29506 "RANLIB=$${RANLIB}" \
29507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29508 mostlyclean) \
29509 || exit 1
29511 @endif libiconv
29513 .PHONY: maybe-clean-libiconv clean-libiconv
29514 maybe-clean-libiconv:
29515 @if libiconv
29516 maybe-clean-libiconv: clean-libiconv
29518 clean-libiconv:
29519 @[ -f ./libiconv/Makefile ] || exit 0; \
29520 r=`${PWD_COMMAND}`; export r; \
29521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29522 $(HOST_EXPORTS) \
29523 for flag in $(EXTRA_HOST_FLAGS) ; do \
29524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29525 done; \
29526 echo "Doing clean in libiconv"; \
29527 (cd $(HOST_SUBDIR)/libiconv && \
29528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29530 "RANLIB=$${RANLIB}" \
29531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29532 clean) \
29533 || exit 1
29535 @endif libiconv
29537 .PHONY: maybe-distclean-libiconv distclean-libiconv
29538 maybe-distclean-libiconv:
29539 @if libiconv
29540 maybe-distclean-libiconv: distclean-libiconv
29542 distclean-libiconv:
29543 @[ -f ./libiconv/Makefile ] || exit 0; \
29544 r=`${PWD_COMMAND}`; export r; \
29545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29546 $(HOST_EXPORTS) \
29547 for flag in $(EXTRA_HOST_FLAGS) ; do \
29548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29549 done; \
29550 echo "Doing distclean in libiconv"; \
29551 (cd $(HOST_SUBDIR)/libiconv && \
29552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29554 "RANLIB=$${RANLIB}" \
29555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29556 distclean) \
29557 || exit 1
29559 @endif libiconv
29561 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29562 maybe-maintainer-clean-libiconv:
29563 @if libiconv
29564 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29566 maintainer-clean-libiconv:
29567 @[ -f ./libiconv/Makefile ] || exit 0; \
29568 r=`${PWD_COMMAND}`; export r; \
29569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29570 $(HOST_EXPORTS) \
29571 for flag in $(EXTRA_HOST_FLAGS) ; do \
29572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29573 done; \
29574 echo "Doing maintainer-clean in libiconv"; \
29575 (cd $(HOST_SUBDIR)/libiconv && \
29576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29578 "RANLIB=$${RANLIB}" \
29579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29580 maintainer-clean) \
29581 || exit 1
29583 @endif libiconv
29587 .PHONY: configure-m4 maybe-configure-m4
29588 maybe-configure-m4:
29589 @if gcc-bootstrap
29590 configure-m4: stage_current
29591 @endif gcc-bootstrap
29592 @if m4
29593 maybe-configure-m4: configure-m4
29594 configure-m4:
29595 @: $(MAKE); $(unstage)
29596 @r=`${PWD_COMMAND}`; export r; \
29597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29598 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29600 $(HOST_EXPORTS) \
29601 echo Configuring in $(HOST_SUBDIR)/m4; \
29602 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29603 case $(srcdir) in \
29604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29605 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29607 esac; \
29608 module_srcdir=m4; \
29609 $(SHELL) \
29610 $$s/$$module_srcdir/configure \
29611 --srcdir=$${topdir}/$$module_srcdir \
29612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29613 --target=${target_alias} \
29614 || exit 1
29615 @endif m4
29621 .PHONY: all-m4 maybe-all-m4
29622 maybe-all-m4:
29623 @if gcc-bootstrap
29624 all-m4: stage_current
29625 @endif gcc-bootstrap
29626 @if m4
29627 TARGET-m4=all
29628 maybe-all-m4: all-m4
29629 all-m4: configure-m4
29630 @: $(MAKE); $(unstage)
29631 @r=`${PWD_COMMAND}`; export r; \
29632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29633 $(HOST_EXPORTS) \
29634 (cd $(HOST_SUBDIR)/m4 && \
29635 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29636 $(TARGET-m4))
29637 @endif m4
29642 .PHONY: check-m4 maybe-check-m4
29643 maybe-check-m4:
29644 @if m4
29645 maybe-check-m4: check-m4
29647 check-m4:
29648 @: $(MAKE); $(unstage)
29649 @r=`${PWD_COMMAND}`; export r; \
29650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29651 $(HOST_EXPORTS) \
29652 (cd $(HOST_SUBDIR)/m4 && \
29653 $(MAKE) $(FLAGS_TO_PASS) check)
29655 @endif m4
29657 .PHONY: install-m4 maybe-install-m4
29658 maybe-install-m4:
29659 @if m4
29660 maybe-install-m4: install-m4
29662 install-m4: installdirs
29663 @: $(MAKE); $(unstage)
29664 @r=`${PWD_COMMAND}`; export r; \
29665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29666 $(HOST_EXPORTS) \
29667 (cd $(HOST_SUBDIR)/m4 && \
29668 $(MAKE) $(FLAGS_TO_PASS) install)
29670 @endif m4
29672 .PHONY: install-strip-m4 maybe-install-strip-m4
29673 maybe-install-strip-m4:
29674 @if m4
29675 maybe-install-strip-m4: install-strip-m4
29677 install-strip-m4: installdirs
29678 @: $(MAKE); $(unstage)
29679 @r=`${PWD_COMMAND}`; export r; \
29680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29681 $(HOST_EXPORTS) \
29682 (cd $(HOST_SUBDIR)/m4 && \
29683 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29685 @endif m4
29687 # Other targets (info, dvi, pdf, etc.)
29689 .PHONY: maybe-info-m4 info-m4
29690 maybe-info-m4:
29691 @if m4
29692 maybe-info-m4: info-m4
29694 info-m4: \
29695 configure-m4
29696 @: $(MAKE); $(unstage)
29697 @[ -f ./m4/Makefile ] || exit 0; \
29698 r=`${PWD_COMMAND}`; export r; \
29699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29700 $(HOST_EXPORTS) \
29701 for flag in $(EXTRA_HOST_FLAGS) ; do \
29702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29703 done; \
29704 echo "Doing info in m4"; \
29705 (cd $(HOST_SUBDIR)/m4 && \
29706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29708 "RANLIB=$${RANLIB}" \
29709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29710 info) \
29711 || exit 1
29713 @endif m4
29715 .PHONY: maybe-dvi-m4 dvi-m4
29716 maybe-dvi-m4:
29717 @if m4
29718 maybe-dvi-m4: dvi-m4
29720 dvi-m4: \
29721 configure-m4
29722 @: $(MAKE); $(unstage)
29723 @[ -f ./m4/Makefile ] || exit 0; \
29724 r=`${PWD_COMMAND}`; export r; \
29725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29726 $(HOST_EXPORTS) \
29727 for flag in $(EXTRA_HOST_FLAGS) ; do \
29728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29729 done; \
29730 echo "Doing dvi in m4"; \
29731 (cd $(HOST_SUBDIR)/m4 && \
29732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29734 "RANLIB=$${RANLIB}" \
29735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29736 dvi) \
29737 || exit 1
29739 @endif m4
29741 .PHONY: maybe-pdf-m4 pdf-m4
29742 maybe-pdf-m4:
29743 @if m4
29744 maybe-pdf-m4: pdf-m4
29746 pdf-m4: \
29747 configure-m4
29748 @: $(MAKE); $(unstage)
29749 @[ -f ./m4/Makefile ] || exit 0; \
29750 r=`${PWD_COMMAND}`; export r; \
29751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29752 $(HOST_EXPORTS) \
29753 for flag in $(EXTRA_HOST_FLAGS) ; do \
29754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29755 done; \
29756 echo "Doing pdf in m4"; \
29757 (cd $(HOST_SUBDIR)/m4 && \
29758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29760 "RANLIB=$${RANLIB}" \
29761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29762 pdf) \
29763 || exit 1
29765 @endif m4
29767 .PHONY: maybe-html-m4 html-m4
29768 maybe-html-m4:
29769 @if m4
29770 maybe-html-m4: html-m4
29772 html-m4: \
29773 configure-m4
29774 @: $(MAKE); $(unstage)
29775 @[ -f ./m4/Makefile ] || exit 0; \
29776 r=`${PWD_COMMAND}`; export r; \
29777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29778 $(HOST_EXPORTS) \
29779 for flag in $(EXTRA_HOST_FLAGS) ; do \
29780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29781 done; \
29782 echo "Doing html in m4"; \
29783 (cd $(HOST_SUBDIR)/m4 && \
29784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29786 "RANLIB=$${RANLIB}" \
29787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29788 html) \
29789 || exit 1
29791 @endif m4
29793 .PHONY: maybe-TAGS-m4 TAGS-m4
29794 maybe-TAGS-m4:
29795 @if m4
29796 maybe-TAGS-m4: TAGS-m4
29798 TAGS-m4: \
29799 configure-m4
29800 @: $(MAKE); $(unstage)
29801 @[ -f ./m4/Makefile ] || exit 0; \
29802 r=`${PWD_COMMAND}`; export r; \
29803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29804 $(HOST_EXPORTS) \
29805 for flag in $(EXTRA_HOST_FLAGS) ; do \
29806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29807 done; \
29808 echo "Doing TAGS in m4"; \
29809 (cd $(HOST_SUBDIR)/m4 && \
29810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29812 "RANLIB=$${RANLIB}" \
29813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29814 TAGS) \
29815 || exit 1
29817 @endif m4
29819 .PHONY: maybe-install-info-m4 install-info-m4
29820 maybe-install-info-m4:
29821 @if m4
29822 maybe-install-info-m4: install-info-m4
29824 install-info-m4: \
29825 configure-m4 \
29826 info-m4
29827 @: $(MAKE); $(unstage)
29828 @[ -f ./m4/Makefile ] || exit 0; \
29829 r=`${PWD_COMMAND}`; export r; \
29830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29831 $(HOST_EXPORTS) \
29832 for flag in $(EXTRA_HOST_FLAGS) ; do \
29833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29834 done; \
29835 echo "Doing install-info in m4"; \
29836 (cd $(HOST_SUBDIR)/m4 && \
29837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29839 "RANLIB=$${RANLIB}" \
29840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29841 install-info) \
29842 || exit 1
29844 @endif m4
29846 .PHONY: maybe-install-pdf-m4 install-pdf-m4
29847 maybe-install-pdf-m4:
29848 @if m4
29849 maybe-install-pdf-m4: install-pdf-m4
29851 install-pdf-m4: \
29852 configure-m4 \
29853 pdf-m4
29854 @: $(MAKE); $(unstage)
29855 @[ -f ./m4/Makefile ] || exit 0; \
29856 r=`${PWD_COMMAND}`; export r; \
29857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29858 $(HOST_EXPORTS) \
29859 for flag in $(EXTRA_HOST_FLAGS) ; do \
29860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29861 done; \
29862 echo "Doing install-pdf in m4"; \
29863 (cd $(HOST_SUBDIR)/m4 && \
29864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29866 "RANLIB=$${RANLIB}" \
29867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29868 install-pdf) \
29869 || exit 1
29871 @endif m4
29873 .PHONY: maybe-install-html-m4 install-html-m4
29874 maybe-install-html-m4:
29875 @if m4
29876 maybe-install-html-m4: install-html-m4
29878 install-html-m4: \
29879 configure-m4 \
29880 html-m4
29881 @: $(MAKE); $(unstage)
29882 @[ -f ./m4/Makefile ] || exit 0; \
29883 r=`${PWD_COMMAND}`; export r; \
29884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29885 $(HOST_EXPORTS) \
29886 for flag in $(EXTRA_HOST_FLAGS) ; do \
29887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29888 done; \
29889 echo "Doing install-html in m4"; \
29890 (cd $(HOST_SUBDIR)/m4 && \
29891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29893 "RANLIB=$${RANLIB}" \
29894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29895 install-html) \
29896 || exit 1
29898 @endif m4
29900 .PHONY: maybe-installcheck-m4 installcheck-m4
29901 maybe-installcheck-m4:
29902 @if m4
29903 maybe-installcheck-m4: installcheck-m4
29905 installcheck-m4: \
29906 configure-m4
29907 @: $(MAKE); $(unstage)
29908 @[ -f ./m4/Makefile ] || exit 0; \
29909 r=`${PWD_COMMAND}`; export r; \
29910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29911 $(HOST_EXPORTS) \
29912 for flag in $(EXTRA_HOST_FLAGS) ; do \
29913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29914 done; \
29915 echo "Doing installcheck in m4"; \
29916 (cd $(HOST_SUBDIR)/m4 && \
29917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29919 "RANLIB=$${RANLIB}" \
29920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29921 installcheck) \
29922 || exit 1
29924 @endif m4
29926 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
29927 maybe-mostlyclean-m4:
29928 @if m4
29929 maybe-mostlyclean-m4: mostlyclean-m4
29931 mostlyclean-m4:
29932 @: $(MAKE); $(unstage)
29933 @[ -f ./m4/Makefile ] || exit 0; \
29934 r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 $(HOST_EXPORTS) \
29937 for flag in $(EXTRA_HOST_FLAGS) ; do \
29938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29939 done; \
29940 echo "Doing mostlyclean in m4"; \
29941 (cd $(HOST_SUBDIR)/m4 && \
29942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29944 "RANLIB=$${RANLIB}" \
29945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29946 mostlyclean) \
29947 || exit 1
29949 @endif m4
29951 .PHONY: maybe-clean-m4 clean-m4
29952 maybe-clean-m4:
29953 @if m4
29954 maybe-clean-m4: clean-m4
29956 clean-m4:
29957 @: $(MAKE); $(unstage)
29958 @[ -f ./m4/Makefile ] || exit 0; \
29959 r=`${PWD_COMMAND}`; export r; \
29960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29961 $(HOST_EXPORTS) \
29962 for flag in $(EXTRA_HOST_FLAGS) ; do \
29963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29964 done; \
29965 echo "Doing clean in m4"; \
29966 (cd $(HOST_SUBDIR)/m4 && \
29967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29969 "RANLIB=$${RANLIB}" \
29970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29971 clean) \
29972 || exit 1
29974 @endif m4
29976 .PHONY: maybe-distclean-m4 distclean-m4
29977 maybe-distclean-m4:
29978 @if m4
29979 maybe-distclean-m4: distclean-m4
29981 distclean-m4:
29982 @: $(MAKE); $(unstage)
29983 @[ -f ./m4/Makefile ] || exit 0; \
29984 r=`${PWD_COMMAND}`; export r; \
29985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29986 $(HOST_EXPORTS) \
29987 for flag in $(EXTRA_HOST_FLAGS) ; do \
29988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29989 done; \
29990 echo "Doing distclean in m4"; \
29991 (cd $(HOST_SUBDIR)/m4 && \
29992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29994 "RANLIB=$${RANLIB}" \
29995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29996 distclean) \
29997 || exit 1
29999 @endif m4
30001 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30002 maybe-maintainer-clean-m4:
30003 @if m4
30004 maybe-maintainer-clean-m4: maintainer-clean-m4
30006 maintainer-clean-m4:
30007 @: $(MAKE); $(unstage)
30008 @[ -f ./m4/Makefile ] || exit 0; \
30009 r=`${PWD_COMMAND}`; export r; \
30010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30011 $(HOST_EXPORTS) \
30012 for flag in $(EXTRA_HOST_FLAGS) ; do \
30013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30014 done; \
30015 echo "Doing maintainer-clean in m4"; \
30016 (cd $(HOST_SUBDIR)/m4 && \
30017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30019 "RANLIB=$${RANLIB}" \
30020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30021 maintainer-clean) \
30022 || exit 1
30024 @endif m4
30028 .PHONY: configure-readline maybe-configure-readline
30029 maybe-configure-readline:
30030 @if gcc-bootstrap
30031 configure-readline: stage_current
30032 @endif gcc-bootstrap
30033 @if readline
30034 maybe-configure-readline: configure-readline
30035 configure-readline:
30036 @: $(MAKE); $(unstage)
30037 @r=`${PWD_COMMAND}`; export r; \
30038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30039 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30041 $(HOST_EXPORTS) \
30042 echo Configuring in $(HOST_SUBDIR)/readline; \
30043 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30044 case $(srcdir) in \
30045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30046 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30048 esac; \
30049 module_srcdir=readline; \
30050 $(SHELL) \
30051 $$s/$$module_srcdir/configure \
30052 --srcdir=$${topdir}/$$module_srcdir \
30053 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30054 --target=${target_alias} \
30055 || exit 1
30056 @endif readline
30062 .PHONY: all-readline maybe-all-readline
30063 maybe-all-readline:
30064 @if gcc-bootstrap
30065 all-readline: stage_current
30066 @endif gcc-bootstrap
30067 @if readline
30068 TARGET-readline=all
30069 maybe-all-readline: all-readline
30070 all-readline: configure-readline
30071 @: $(MAKE); $(unstage)
30072 @r=`${PWD_COMMAND}`; export r; \
30073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30074 $(HOST_EXPORTS) \
30075 (cd $(HOST_SUBDIR)/readline && \
30076 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30077 $(TARGET-readline))
30078 @endif readline
30083 .PHONY: check-readline maybe-check-readline
30084 maybe-check-readline:
30085 @if readline
30086 maybe-check-readline: check-readline
30088 check-readline:
30089 @: $(MAKE); $(unstage)
30090 @r=`${PWD_COMMAND}`; export r; \
30091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30092 $(HOST_EXPORTS) \
30093 (cd $(HOST_SUBDIR)/readline && \
30094 $(MAKE) $(FLAGS_TO_PASS) check)
30096 @endif readline
30098 .PHONY: install-readline maybe-install-readline
30099 maybe-install-readline:
30100 @if readline
30101 maybe-install-readline: install-readline
30103 install-readline: installdirs
30104 @: $(MAKE); $(unstage)
30105 @r=`${PWD_COMMAND}`; export r; \
30106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30107 $(HOST_EXPORTS) \
30108 (cd $(HOST_SUBDIR)/readline && \
30109 $(MAKE) $(FLAGS_TO_PASS) install)
30111 @endif readline
30113 .PHONY: install-strip-readline maybe-install-strip-readline
30114 maybe-install-strip-readline:
30115 @if readline
30116 maybe-install-strip-readline: install-strip-readline
30118 install-strip-readline: installdirs
30119 @: $(MAKE); $(unstage)
30120 @r=`${PWD_COMMAND}`; export r; \
30121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30122 $(HOST_EXPORTS) \
30123 (cd $(HOST_SUBDIR)/readline && \
30124 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30126 @endif readline
30128 # Other targets (info, dvi, pdf, etc.)
30130 .PHONY: maybe-info-readline info-readline
30131 maybe-info-readline:
30132 @if readline
30133 maybe-info-readline: info-readline
30135 info-readline: \
30136 configure-readline
30137 @: $(MAKE); $(unstage)
30138 @[ -f ./readline/Makefile ] || exit 0; \
30139 r=`${PWD_COMMAND}`; export r; \
30140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30141 $(HOST_EXPORTS) \
30142 for flag in $(EXTRA_HOST_FLAGS) ; do \
30143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30144 done; \
30145 echo "Doing info in readline"; \
30146 (cd $(HOST_SUBDIR)/readline && \
30147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30149 "RANLIB=$${RANLIB}" \
30150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30151 info) \
30152 || exit 1
30154 @endif readline
30156 .PHONY: maybe-dvi-readline dvi-readline
30157 maybe-dvi-readline:
30158 @if readline
30159 maybe-dvi-readline: dvi-readline
30161 dvi-readline: \
30162 configure-readline
30163 @: $(MAKE); $(unstage)
30164 @[ -f ./readline/Makefile ] || exit 0; \
30165 r=`${PWD_COMMAND}`; export r; \
30166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30167 $(HOST_EXPORTS) \
30168 for flag in $(EXTRA_HOST_FLAGS) ; do \
30169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30170 done; \
30171 echo "Doing dvi in readline"; \
30172 (cd $(HOST_SUBDIR)/readline && \
30173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30175 "RANLIB=$${RANLIB}" \
30176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30177 dvi) \
30178 || exit 1
30180 @endif readline
30182 .PHONY: maybe-pdf-readline pdf-readline
30183 maybe-pdf-readline:
30184 @if readline
30185 maybe-pdf-readline: pdf-readline
30187 pdf-readline: \
30188 configure-readline
30189 @: $(MAKE); $(unstage)
30190 @[ -f ./readline/Makefile ] || exit 0; \
30191 r=`${PWD_COMMAND}`; export r; \
30192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30193 $(HOST_EXPORTS) \
30194 for flag in $(EXTRA_HOST_FLAGS) ; do \
30195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30196 done; \
30197 echo "Doing pdf in readline"; \
30198 (cd $(HOST_SUBDIR)/readline && \
30199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30201 "RANLIB=$${RANLIB}" \
30202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30203 pdf) \
30204 || exit 1
30206 @endif readline
30208 .PHONY: maybe-html-readline html-readline
30209 maybe-html-readline:
30210 @if readline
30211 maybe-html-readline: html-readline
30213 html-readline: \
30214 configure-readline
30215 @: $(MAKE); $(unstage)
30216 @[ -f ./readline/Makefile ] || exit 0; \
30217 r=`${PWD_COMMAND}`; export r; \
30218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30219 $(HOST_EXPORTS) \
30220 for flag in $(EXTRA_HOST_FLAGS) ; do \
30221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30222 done; \
30223 echo "Doing html in readline"; \
30224 (cd $(HOST_SUBDIR)/readline && \
30225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30227 "RANLIB=$${RANLIB}" \
30228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30229 html) \
30230 || exit 1
30232 @endif readline
30234 .PHONY: maybe-TAGS-readline TAGS-readline
30235 maybe-TAGS-readline:
30236 @if readline
30237 maybe-TAGS-readline: TAGS-readline
30239 TAGS-readline: \
30240 configure-readline
30241 @: $(MAKE); $(unstage)
30242 @[ -f ./readline/Makefile ] || exit 0; \
30243 r=`${PWD_COMMAND}`; export r; \
30244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30245 $(HOST_EXPORTS) \
30246 for flag in $(EXTRA_HOST_FLAGS) ; do \
30247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30248 done; \
30249 echo "Doing TAGS in readline"; \
30250 (cd $(HOST_SUBDIR)/readline && \
30251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30253 "RANLIB=$${RANLIB}" \
30254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30255 TAGS) \
30256 || exit 1
30258 @endif readline
30260 .PHONY: maybe-install-info-readline install-info-readline
30261 maybe-install-info-readline:
30262 @if readline
30263 maybe-install-info-readline: install-info-readline
30265 install-info-readline: \
30266 configure-readline \
30267 info-readline
30268 @: $(MAKE); $(unstage)
30269 @[ -f ./readline/Makefile ] || exit 0; \
30270 r=`${PWD_COMMAND}`; export r; \
30271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30272 $(HOST_EXPORTS) \
30273 for flag in $(EXTRA_HOST_FLAGS) ; do \
30274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30275 done; \
30276 echo "Doing install-info in readline"; \
30277 (cd $(HOST_SUBDIR)/readline && \
30278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30280 "RANLIB=$${RANLIB}" \
30281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30282 install-info) \
30283 || exit 1
30285 @endif readline
30287 .PHONY: maybe-install-pdf-readline install-pdf-readline
30288 maybe-install-pdf-readline:
30289 @if readline
30290 maybe-install-pdf-readline: install-pdf-readline
30292 install-pdf-readline: \
30293 configure-readline \
30294 pdf-readline
30295 @: $(MAKE); $(unstage)
30296 @[ -f ./readline/Makefile ] || exit 0; \
30297 r=`${PWD_COMMAND}`; export r; \
30298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30299 $(HOST_EXPORTS) \
30300 for flag in $(EXTRA_HOST_FLAGS) ; do \
30301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30302 done; \
30303 echo "Doing install-pdf in readline"; \
30304 (cd $(HOST_SUBDIR)/readline && \
30305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30307 "RANLIB=$${RANLIB}" \
30308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30309 install-pdf) \
30310 || exit 1
30312 @endif readline
30314 .PHONY: maybe-install-html-readline install-html-readline
30315 maybe-install-html-readline:
30316 @if readline
30317 maybe-install-html-readline: install-html-readline
30319 install-html-readline: \
30320 configure-readline \
30321 html-readline
30322 @: $(MAKE); $(unstage)
30323 @[ -f ./readline/Makefile ] || exit 0; \
30324 r=`${PWD_COMMAND}`; export r; \
30325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30326 $(HOST_EXPORTS) \
30327 for flag in $(EXTRA_HOST_FLAGS) ; do \
30328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30329 done; \
30330 echo "Doing install-html in readline"; \
30331 (cd $(HOST_SUBDIR)/readline && \
30332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30334 "RANLIB=$${RANLIB}" \
30335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30336 install-html) \
30337 || exit 1
30339 @endif readline
30341 .PHONY: maybe-installcheck-readline installcheck-readline
30342 maybe-installcheck-readline:
30343 @if readline
30344 maybe-installcheck-readline: installcheck-readline
30346 installcheck-readline: \
30347 configure-readline
30348 @: $(MAKE); $(unstage)
30349 @[ -f ./readline/Makefile ] || exit 0; \
30350 r=`${PWD_COMMAND}`; export r; \
30351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30352 $(HOST_EXPORTS) \
30353 for flag in $(EXTRA_HOST_FLAGS) ; do \
30354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30355 done; \
30356 echo "Doing installcheck in readline"; \
30357 (cd $(HOST_SUBDIR)/readline && \
30358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30360 "RANLIB=$${RANLIB}" \
30361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30362 installcheck) \
30363 || exit 1
30365 @endif readline
30367 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30368 maybe-mostlyclean-readline:
30369 @if readline
30370 maybe-mostlyclean-readline: mostlyclean-readline
30372 mostlyclean-readline:
30373 @: $(MAKE); $(unstage)
30374 @[ -f ./readline/Makefile ] || exit 0; \
30375 r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(HOST_EXPORTS) \
30378 for flag in $(EXTRA_HOST_FLAGS) ; do \
30379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30380 done; \
30381 echo "Doing mostlyclean in readline"; \
30382 (cd $(HOST_SUBDIR)/readline && \
30383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30385 "RANLIB=$${RANLIB}" \
30386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30387 mostlyclean) \
30388 || exit 1
30390 @endif readline
30392 .PHONY: maybe-clean-readline clean-readline
30393 maybe-clean-readline:
30394 @if readline
30395 maybe-clean-readline: clean-readline
30397 clean-readline:
30398 @: $(MAKE); $(unstage)
30399 @[ -f ./readline/Makefile ] || exit 0; \
30400 r=`${PWD_COMMAND}`; export r; \
30401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30402 $(HOST_EXPORTS) \
30403 for flag in $(EXTRA_HOST_FLAGS) ; do \
30404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30405 done; \
30406 echo "Doing clean in readline"; \
30407 (cd $(HOST_SUBDIR)/readline && \
30408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30410 "RANLIB=$${RANLIB}" \
30411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30412 clean) \
30413 || exit 1
30415 @endif readline
30417 .PHONY: maybe-distclean-readline distclean-readline
30418 maybe-distclean-readline:
30419 @if readline
30420 maybe-distclean-readline: distclean-readline
30422 distclean-readline:
30423 @: $(MAKE); $(unstage)
30424 @[ -f ./readline/Makefile ] || exit 0; \
30425 r=`${PWD_COMMAND}`; export r; \
30426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30427 $(HOST_EXPORTS) \
30428 for flag in $(EXTRA_HOST_FLAGS) ; do \
30429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30430 done; \
30431 echo "Doing distclean in readline"; \
30432 (cd $(HOST_SUBDIR)/readline && \
30433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30435 "RANLIB=$${RANLIB}" \
30436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30437 distclean) \
30438 || exit 1
30440 @endif readline
30442 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30443 maybe-maintainer-clean-readline:
30444 @if readline
30445 maybe-maintainer-clean-readline: maintainer-clean-readline
30447 maintainer-clean-readline:
30448 @: $(MAKE); $(unstage)
30449 @[ -f ./readline/Makefile ] || exit 0; \
30450 r=`${PWD_COMMAND}`; export r; \
30451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30452 $(HOST_EXPORTS) \
30453 for flag in $(EXTRA_HOST_FLAGS) ; do \
30454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30455 done; \
30456 echo "Doing maintainer-clean in readline"; \
30457 (cd $(HOST_SUBDIR)/readline && \
30458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30460 "RANLIB=$${RANLIB}" \
30461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30462 maintainer-clean) \
30463 || exit 1
30465 @endif readline
30469 .PHONY: configure-sid maybe-configure-sid
30470 maybe-configure-sid:
30471 @if gcc-bootstrap
30472 configure-sid: stage_current
30473 @endif gcc-bootstrap
30474 @if sid
30475 maybe-configure-sid: configure-sid
30476 configure-sid:
30477 @: $(MAKE); $(unstage)
30478 @r=`${PWD_COMMAND}`; export r; \
30479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30480 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30482 $(HOST_EXPORTS) \
30483 echo Configuring in $(HOST_SUBDIR)/sid; \
30484 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30485 case $(srcdir) in \
30486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30487 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30489 esac; \
30490 module_srcdir=sid; \
30491 $(SHELL) \
30492 $$s/$$module_srcdir/configure \
30493 --srcdir=$${topdir}/$$module_srcdir \
30494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30495 --target=${target_alias} \
30496 || exit 1
30497 @endif sid
30503 .PHONY: all-sid maybe-all-sid
30504 maybe-all-sid:
30505 @if gcc-bootstrap
30506 all-sid: stage_current
30507 @endif gcc-bootstrap
30508 @if sid
30509 TARGET-sid=all
30510 maybe-all-sid: all-sid
30511 all-sid: configure-sid
30512 @: $(MAKE); $(unstage)
30513 @r=`${PWD_COMMAND}`; export r; \
30514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30515 $(HOST_EXPORTS) \
30516 (cd $(HOST_SUBDIR)/sid && \
30517 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30518 $(TARGET-sid))
30519 @endif sid
30524 .PHONY: check-sid maybe-check-sid
30525 maybe-check-sid:
30526 @if sid
30527 maybe-check-sid: check-sid
30529 check-sid:
30530 @: $(MAKE); $(unstage)
30531 @r=`${PWD_COMMAND}`; export r; \
30532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30533 $(HOST_EXPORTS) \
30534 (cd $(HOST_SUBDIR)/sid && \
30535 $(MAKE) $(FLAGS_TO_PASS) check)
30537 @endif sid
30539 .PHONY: install-sid maybe-install-sid
30540 maybe-install-sid:
30541 @if sid
30542 maybe-install-sid: install-sid
30544 install-sid: installdirs
30545 @: $(MAKE); $(unstage)
30546 @r=`${PWD_COMMAND}`; export r; \
30547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30548 $(HOST_EXPORTS) \
30549 (cd $(HOST_SUBDIR)/sid && \
30550 $(MAKE) $(FLAGS_TO_PASS) install)
30552 @endif sid
30554 .PHONY: install-strip-sid maybe-install-strip-sid
30555 maybe-install-strip-sid:
30556 @if sid
30557 maybe-install-strip-sid: install-strip-sid
30559 install-strip-sid: installdirs
30560 @: $(MAKE); $(unstage)
30561 @r=`${PWD_COMMAND}`; export r; \
30562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30563 $(HOST_EXPORTS) \
30564 (cd $(HOST_SUBDIR)/sid && \
30565 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30567 @endif sid
30569 # Other targets (info, dvi, pdf, etc.)
30571 .PHONY: maybe-info-sid info-sid
30572 maybe-info-sid:
30573 @if sid
30574 maybe-info-sid: info-sid
30576 info-sid: \
30577 configure-sid
30578 @: $(MAKE); $(unstage)
30579 @[ -f ./sid/Makefile ] || exit 0; \
30580 r=`${PWD_COMMAND}`; export r; \
30581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30582 $(HOST_EXPORTS) \
30583 for flag in $(EXTRA_HOST_FLAGS) ; do \
30584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30585 done; \
30586 echo "Doing info in sid"; \
30587 (cd $(HOST_SUBDIR)/sid && \
30588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30590 "RANLIB=$${RANLIB}" \
30591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30592 info) \
30593 || exit 1
30595 @endif sid
30597 .PHONY: maybe-dvi-sid dvi-sid
30598 maybe-dvi-sid:
30599 @if sid
30600 maybe-dvi-sid: dvi-sid
30602 dvi-sid: \
30603 configure-sid
30604 @: $(MAKE); $(unstage)
30605 @[ -f ./sid/Makefile ] || exit 0; \
30606 r=`${PWD_COMMAND}`; export r; \
30607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30608 $(HOST_EXPORTS) \
30609 for flag in $(EXTRA_HOST_FLAGS) ; do \
30610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30611 done; \
30612 echo "Doing dvi in sid"; \
30613 (cd $(HOST_SUBDIR)/sid && \
30614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30616 "RANLIB=$${RANLIB}" \
30617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30618 dvi) \
30619 || exit 1
30621 @endif sid
30623 .PHONY: maybe-pdf-sid pdf-sid
30624 maybe-pdf-sid:
30625 @if sid
30626 maybe-pdf-sid: pdf-sid
30628 pdf-sid: \
30629 configure-sid
30630 @: $(MAKE); $(unstage)
30631 @[ -f ./sid/Makefile ] || exit 0; \
30632 r=`${PWD_COMMAND}`; export r; \
30633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30634 $(HOST_EXPORTS) \
30635 for flag in $(EXTRA_HOST_FLAGS) ; do \
30636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30637 done; \
30638 echo "Doing pdf in sid"; \
30639 (cd $(HOST_SUBDIR)/sid && \
30640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30642 "RANLIB=$${RANLIB}" \
30643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30644 pdf) \
30645 || exit 1
30647 @endif sid
30649 .PHONY: maybe-html-sid html-sid
30650 maybe-html-sid:
30651 @if sid
30652 maybe-html-sid: html-sid
30654 html-sid: \
30655 configure-sid
30656 @: $(MAKE); $(unstage)
30657 @[ -f ./sid/Makefile ] || exit 0; \
30658 r=`${PWD_COMMAND}`; export r; \
30659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30660 $(HOST_EXPORTS) \
30661 for flag in $(EXTRA_HOST_FLAGS) ; do \
30662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30663 done; \
30664 echo "Doing html in sid"; \
30665 (cd $(HOST_SUBDIR)/sid && \
30666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30668 "RANLIB=$${RANLIB}" \
30669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30670 html) \
30671 || exit 1
30673 @endif sid
30675 .PHONY: maybe-TAGS-sid TAGS-sid
30676 maybe-TAGS-sid:
30677 @if sid
30678 maybe-TAGS-sid: TAGS-sid
30680 TAGS-sid: \
30681 configure-sid
30682 @: $(MAKE); $(unstage)
30683 @[ -f ./sid/Makefile ] || exit 0; \
30684 r=`${PWD_COMMAND}`; export r; \
30685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30686 $(HOST_EXPORTS) \
30687 for flag in $(EXTRA_HOST_FLAGS) ; do \
30688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30689 done; \
30690 echo "Doing TAGS in sid"; \
30691 (cd $(HOST_SUBDIR)/sid && \
30692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30694 "RANLIB=$${RANLIB}" \
30695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30696 TAGS) \
30697 || exit 1
30699 @endif sid
30701 .PHONY: maybe-install-info-sid install-info-sid
30702 maybe-install-info-sid:
30703 @if sid
30704 maybe-install-info-sid: install-info-sid
30706 install-info-sid: \
30707 configure-sid \
30708 info-sid
30709 @: $(MAKE); $(unstage)
30710 @[ -f ./sid/Makefile ] || exit 0; \
30711 r=`${PWD_COMMAND}`; export r; \
30712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30713 $(HOST_EXPORTS) \
30714 for flag in $(EXTRA_HOST_FLAGS) ; do \
30715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30716 done; \
30717 echo "Doing install-info in sid"; \
30718 (cd $(HOST_SUBDIR)/sid && \
30719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30721 "RANLIB=$${RANLIB}" \
30722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30723 install-info) \
30724 || exit 1
30726 @endif sid
30728 .PHONY: maybe-install-pdf-sid install-pdf-sid
30729 maybe-install-pdf-sid:
30730 @if sid
30731 maybe-install-pdf-sid: install-pdf-sid
30733 install-pdf-sid: \
30734 configure-sid \
30735 pdf-sid
30736 @: $(MAKE); $(unstage)
30737 @[ -f ./sid/Makefile ] || exit 0; \
30738 r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 $(HOST_EXPORTS) \
30741 for flag in $(EXTRA_HOST_FLAGS) ; do \
30742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30743 done; \
30744 echo "Doing install-pdf in sid"; \
30745 (cd $(HOST_SUBDIR)/sid && \
30746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30748 "RANLIB=$${RANLIB}" \
30749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30750 install-pdf) \
30751 || exit 1
30753 @endif sid
30755 .PHONY: maybe-install-html-sid install-html-sid
30756 maybe-install-html-sid:
30757 @if sid
30758 maybe-install-html-sid: install-html-sid
30760 install-html-sid: \
30761 configure-sid \
30762 html-sid
30763 @: $(MAKE); $(unstage)
30764 @[ -f ./sid/Makefile ] || exit 0; \
30765 r=`${PWD_COMMAND}`; export r; \
30766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30767 $(HOST_EXPORTS) \
30768 for flag in $(EXTRA_HOST_FLAGS) ; do \
30769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30770 done; \
30771 echo "Doing install-html in sid"; \
30772 (cd $(HOST_SUBDIR)/sid && \
30773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30775 "RANLIB=$${RANLIB}" \
30776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30777 install-html) \
30778 || exit 1
30780 @endif sid
30782 .PHONY: maybe-installcheck-sid installcheck-sid
30783 maybe-installcheck-sid:
30784 @if sid
30785 maybe-installcheck-sid: installcheck-sid
30787 installcheck-sid: \
30788 configure-sid
30789 @: $(MAKE); $(unstage)
30790 @[ -f ./sid/Makefile ] || exit 0; \
30791 r=`${PWD_COMMAND}`; export r; \
30792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30793 $(HOST_EXPORTS) \
30794 for flag in $(EXTRA_HOST_FLAGS) ; do \
30795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30796 done; \
30797 echo "Doing installcheck in sid"; \
30798 (cd $(HOST_SUBDIR)/sid && \
30799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30801 "RANLIB=$${RANLIB}" \
30802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30803 installcheck) \
30804 || exit 1
30806 @endif sid
30808 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
30809 maybe-mostlyclean-sid:
30810 @if sid
30811 maybe-mostlyclean-sid: mostlyclean-sid
30813 mostlyclean-sid:
30814 @: $(MAKE); $(unstage)
30815 @[ -f ./sid/Makefile ] || exit 0; \
30816 r=`${PWD_COMMAND}`; export r; \
30817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30818 $(HOST_EXPORTS) \
30819 for flag in $(EXTRA_HOST_FLAGS) ; do \
30820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30821 done; \
30822 echo "Doing mostlyclean in sid"; \
30823 (cd $(HOST_SUBDIR)/sid && \
30824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30826 "RANLIB=$${RANLIB}" \
30827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30828 mostlyclean) \
30829 || exit 1
30831 @endif sid
30833 .PHONY: maybe-clean-sid clean-sid
30834 maybe-clean-sid:
30835 @if sid
30836 maybe-clean-sid: clean-sid
30838 clean-sid:
30839 @: $(MAKE); $(unstage)
30840 @[ -f ./sid/Makefile ] || exit 0; \
30841 r=`${PWD_COMMAND}`; export r; \
30842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30843 $(HOST_EXPORTS) \
30844 for flag in $(EXTRA_HOST_FLAGS) ; do \
30845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30846 done; \
30847 echo "Doing clean in sid"; \
30848 (cd $(HOST_SUBDIR)/sid && \
30849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30851 "RANLIB=$${RANLIB}" \
30852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30853 clean) \
30854 || exit 1
30856 @endif sid
30858 .PHONY: maybe-distclean-sid distclean-sid
30859 maybe-distclean-sid:
30860 @if sid
30861 maybe-distclean-sid: distclean-sid
30863 distclean-sid:
30864 @: $(MAKE); $(unstage)
30865 @[ -f ./sid/Makefile ] || exit 0; \
30866 r=`${PWD_COMMAND}`; export r; \
30867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30868 $(HOST_EXPORTS) \
30869 for flag in $(EXTRA_HOST_FLAGS) ; do \
30870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30871 done; \
30872 echo "Doing distclean in sid"; \
30873 (cd $(HOST_SUBDIR)/sid && \
30874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30876 "RANLIB=$${RANLIB}" \
30877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30878 distclean) \
30879 || exit 1
30881 @endif sid
30883 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
30884 maybe-maintainer-clean-sid:
30885 @if sid
30886 maybe-maintainer-clean-sid: maintainer-clean-sid
30888 maintainer-clean-sid:
30889 @: $(MAKE); $(unstage)
30890 @[ -f ./sid/Makefile ] || exit 0; \
30891 r=`${PWD_COMMAND}`; export r; \
30892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30893 $(HOST_EXPORTS) \
30894 for flag in $(EXTRA_HOST_FLAGS) ; do \
30895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30896 done; \
30897 echo "Doing maintainer-clean in sid"; \
30898 (cd $(HOST_SUBDIR)/sid && \
30899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30901 "RANLIB=$${RANLIB}" \
30902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30903 maintainer-clean) \
30904 || exit 1
30906 @endif sid
30910 .PHONY: configure-sim maybe-configure-sim
30911 maybe-configure-sim:
30912 @if gcc-bootstrap
30913 configure-sim: stage_current
30914 @endif gcc-bootstrap
30915 @if sim
30916 maybe-configure-sim: configure-sim
30917 configure-sim:
30918 @: $(MAKE); $(unstage)
30919 @r=`${PWD_COMMAND}`; export r; \
30920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30921 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
30922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
30923 $(HOST_EXPORTS) \
30924 echo Configuring in $(HOST_SUBDIR)/sim; \
30925 cd "$(HOST_SUBDIR)/sim" || exit 1; \
30926 case $(srcdir) in \
30927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30928 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
30929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30930 esac; \
30931 module_srcdir=sim; \
30932 $(SHELL) \
30933 $$s/$$module_srcdir/configure \
30934 --srcdir=$${topdir}/$$module_srcdir \
30935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30936 --target=${target_alias} \
30937 || exit 1
30938 @endif sim
30944 .PHONY: all-sim maybe-all-sim
30945 maybe-all-sim:
30946 @if gcc-bootstrap
30947 all-sim: stage_current
30948 @endif gcc-bootstrap
30949 @if sim
30950 TARGET-sim=all
30951 maybe-all-sim: all-sim
30952 all-sim: configure-sim
30953 @: $(MAKE); $(unstage)
30954 @r=`${PWD_COMMAND}`; export r; \
30955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30956 $(HOST_EXPORTS) \
30957 (cd $(HOST_SUBDIR)/sim && \
30958 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30959 $(TARGET-sim))
30960 @endif sim
30965 .PHONY: check-sim maybe-check-sim
30966 maybe-check-sim:
30967 @if sim
30968 maybe-check-sim: check-sim
30970 check-sim:
30971 @: $(MAKE); $(unstage)
30972 @r=`${PWD_COMMAND}`; export r; \
30973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30974 $(HOST_EXPORTS) \
30975 (cd $(HOST_SUBDIR)/sim && \
30976 $(MAKE) $(FLAGS_TO_PASS) check)
30978 @endif sim
30980 .PHONY: install-sim maybe-install-sim
30981 maybe-install-sim:
30982 @if sim
30983 maybe-install-sim: install-sim
30985 install-sim: installdirs
30986 @: $(MAKE); $(unstage)
30987 @r=`${PWD_COMMAND}`; export r; \
30988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30989 $(HOST_EXPORTS) \
30990 (cd $(HOST_SUBDIR)/sim && \
30991 $(MAKE) $(FLAGS_TO_PASS) install)
30993 @endif sim
30995 .PHONY: install-strip-sim maybe-install-strip-sim
30996 maybe-install-strip-sim:
30997 @if sim
30998 maybe-install-strip-sim: install-strip-sim
31000 install-strip-sim: installdirs
31001 @: $(MAKE); $(unstage)
31002 @r=`${PWD_COMMAND}`; export r; \
31003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31004 $(HOST_EXPORTS) \
31005 (cd $(HOST_SUBDIR)/sim && \
31006 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31008 @endif sim
31010 # Other targets (info, dvi, pdf, etc.)
31012 .PHONY: maybe-info-sim info-sim
31013 maybe-info-sim:
31014 @if sim
31015 maybe-info-sim: info-sim
31017 info-sim: \
31018 configure-sim
31019 @: $(MAKE); $(unstage)
31020 @[ -f ./sim/Makefile ] || exit 0; \
31021 r=`${PWD_COMMAND}`; export r; \
31022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31023 $(HOST_EXPORTS) \
31024 for flag in $(EXTRA_HOST_FLAGS) ; do \
31025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31026 done; \
31027 echo "Doing info in sim"; \
31028 (cd $(HOST_SUBDIR)/sim && \
31029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31031 "RANLIB=$${RANLIB}" \
31032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31033 info) \
31034 || exit 1
31036 @endif sim
31038 .PHONY: maybe-dvi-sim dvi-sim
31039 maybe-dvi-sim:
31040 @if sim
31041 maybe-dvi-sim: dvi-sim
31043 dvi-sim: \
31044 configure-sim
31045 @: $(MAKE); $(unstage)
31046 @[ -f ./sim/Makefile ] || exit 0; \
31047 r=`${PWD_COMMAND}`; export r; \
31048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31049 $(HOST_EXPORTS) \
31050 for flag in $(EXTRA_HOST_FLAGS) ; do \
31051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31052 done; \
31053 echo "Doing dvi in sim"; \
31054 (cd $(HOST_SUBDIR)/sim && \
31055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31057 "RANLIB=$${RANLIB}" \
31058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31059 dvi) \
31060 || exit 1
31062 @endif sim
31064 .PHONY: maybe-pdf-sim pdf-sim
31065 maybe-pdf-sim:
31066 @if sim
31067 maybe-pdf-sim: pdf-sim
31069 pdf-sim: \
31070 configure-sim
31071 @: $(MAKE); $(unstage)
31072 @[ -f ./sim/Makefile ] || exit 0; \
31073 r=`${PWD_COMMAND}`; export r; \
31074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31075 $(HOST_EXPORTS) \
31076 for flag in $(EXTRA_HOST_FLAGS) ; do \
31077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31078 done; \
31079 echo "Doing pdf in sim"; \
31080 (cd $(HOST_SUBDIR)/sim && \
31081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31083 "RANLIB=$${RANLIB}" \
31084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31085 pdf) \
31086 || exit 1
31088 @endif sim
31090 .PHONY: maybe-html-sim html-sim
31091 maybe-html-sim:
31092 @if sim
31093 maybe-html-sim: html-sim
31095 html-sim: \
31096 configure-sim
31097 @: $(MAKE); $(unstage)
31098 @[ -f ./sim/Makefile ] || exit 0; \
31099 r=`${PWD_COMMAND}`; export r; \
31100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31101 $(HOST_EXPORTS) \
31102 for flag in $(EXTRA_HOST_FLAGS) ; do \
31103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31104 done; \
31105 echo "Doing html in sim"; \
31106 (cd $(HOST_SUBDIR)/sim && \
31107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31109 "RANLIB=$${RANLIB}" \
31110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31111 html) \
31112 || exit 1
31114 @endif sim
31116 .PHONY: maybe-TAGS-sim TAGS-sim
31117 maybe-TAGS-sim:
31118 @if sim
31119 maybe-TAGS-sim: TAGS-sim
31121 TAGS-sim: \
31122 configure-sim
31123 @: $(MAKE); $(unstage)
31124 @[ -f ./sim/Makefile ] || exit 0; \
31125 r=`${PWD_COMMAND}`; export r; \
31126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31127 $(HOST_EXPORTS) \
31128 for flag in $(EXTRA_HOST_FLAGS) ; do \
31129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31130 done; \
31131 echo "Doing TAGS in sim"; \
31132 (cd $(HOST_SUBDIR)/sim && \
31133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31135 "RANLIB=$${RANLIB}" \
31136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31137 TAGS) \
31138 || exit 1
31140 @endif sim
31142 .PHONY: maybe-install-info-sim install-info-sim
31143 maybe-install-info-sim:
31144 @if sim
31145 maybe-install-info-sim: install-info-sim
31147 install-info-sim: \
31148 configure-sim \
31149 info-sim
31150 @: $(MAKE); $(unstage)
31151 @[ -f ./sim/Makefile ] || exit 0; \
31152 r=`${PWD_COMMAND}`; export r; \
31153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31154 $(HOST_EXPORTS) \
31155 for flag in $(EXTRA_HOST_FLAGS) ; do \
31156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31157 done; \
31158 echo "Doing install-info in sim"; \
31159 (cd $(HOST_SUBDIR)/sim && \
31160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31162 "RANLIB=$${RANLIB}" \
31163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31164 install-info) \
31165 || exit 1
31167 @endif sim
31169 .PHONY: maybe-install-pdf-sim install-pdf-sim
31170 maybe-install-pdf-sim:
31171 @if sim
31172 maybe-install-pdf-sim: install-pdf-sim
31174 install-pdf-sim: \
31175 configure-sim \
31176 pdf-sim
31177 @: $(MAKE); $(unstage)
31178 @[ -f ./sim/Makefile ] || exit 0; \
31179 r=`${PWD_COMMAND}`; export r; \
31180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31181 $(HOST_EXPORTS) \
31182 for flag in $(EXTRA_HOST_FLAGS) ; do \
31183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31184 done; \
31185 echo "Doing install-pdf in sim"; \
31186 (cd $(HOST_SUBDIR)/sim && \
31187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31189 "RANLIB=$${RANLIB}" \
31190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31191 install-pdf) \
31192 || exit 1
31194 @endif sim
31196 .PHONY: maybe-install-html-sim install-html-sim
31197 maybe-install-html-sim:
31198 @if sim
31199 maybe-install-html-sim: install-html-sim
31201 install-html-sim: \
31202 configure-sim \
31203 html-sim
31204 @: $(MAKE); $(unstage)
31205 @[ -f ./sim/Makefile ] || exit 0; \
31206 r=`${PWD_COMMAND}`; export r; \
31207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31208 $(HOST_EXPORTS) \
31209 for flag in $(EXTRA_HOST_FLAGS) ; do \
31210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31211 done; \
31212 echo "Doing install-html in sim"; \
31213 (cd $(HOST_SUBDIR)/sim && \
31214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31216 "RANLIB=$${RANLIB}" \
31217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31218 install-html) \
31219 || exit 1
31221 @endif sim
31223 .PHONY: maybe-installcheck-sim installcheck-sim
31224 maybe-installcheck-sim:
31225 @if sim
31226 maybe-installcheck-sim: installcheck-sim
31228 installcheck-sim: \
31229 configure-sim
31230 @: $(MAKE); $(unstage)
31231 @[ -f ./sim/Makefile ] || exit 0; \
31232 r=`${PWD_COMMAND}`; export r; \
31233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31234 $(HOST_EXPORTS) \
31235 for flag in $(EXTRA_HOST_FLAGS) ; do \
31236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31237 done; \
31238 echo "Doing installcheck in sim"; \
31239 (cd $(HOST_SUBDIR)/sim && \
31240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31242 "RANLIB=$${RANLIB}" \
31243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31244 installcheck) \
31245 || exit 1
31247 @endif sim
31249 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31250 maybe-mostlyclean-sim:
31251 @if sim
31252 maybe-mostlyclean-sim: mostlyclean-sim
31254 mostlyclean-sim:
31255 @: $(MAKE); $(unstage)
31256 @[ -f ./sim/Makefile ] || exit 0; \
31257 r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(HOST_EXPORTS) \
31260 for flag in $(EXTRA_HOST_FLAGS) ; do \
31261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31262 done; \
31263 echo "Doing mostlyclean in sim"; \
31264 (cd $(HOST_SUBDIR)/sim && \
31265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31267 "RANLIB=$${RANLIB}" \
31268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31269 mostlyclean) \
31270 || exit 1
31272 @endif sim
31274 .PHONY: maybe-clean-sim clean-sim
31275 maybe-clean-sim:
31276 @if sim
31277 maybe-clean-sim: clean-sim
31279 clean-sim:
31280 @: $(MAKE); $(unstage)
31281 @[ -f ./sim/Makefile ] || exit 0; \
31282 r=`${PWD_COMMAND}`; export r; \
31283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31284 $(HOST_EXPORTS) \
31285 for flag in $(EXTRA_HOST_FLAGS) ; do \
31286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31287 done; \
31288 echo "Doing clean in sim"; \
31289 (cd $(HOST_SUBDIR)/sim && \
31290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31292 "RANLIB=$${RANLIB}" \
31293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31294 clean) \
31295 || exit 1
31297 @endif sim
31299 .PHONY: maybe-distclean-sim distclean-sim
31300 maybe-distclean-sim:
31301 @if sim
31302 maybe-distclean-sim: distclean-sim
31304 distclean-sim:
31305 @: $(MAKE); $(unstage)
31306 @[ -f ./sim/Makefile ] || exit 0; \
31307 r=`${PWD_COMMAND}`; export r; \
31308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31309 $(HOST_EXPORTS) \
31310 for flag in $(EXTRA_HOST_FLAGS) ; do \
31311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31312 done; \
31313 echo "Doing distclean in sim"; \
31314 (cd $(HOST_SUBDIR)/sim && \
31315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31317 "RANLIB=$${RANLIB}" \
31318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31319 distclean) \
31320 || exit 1
31322 @endif sim
31324 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31325 maybe-maintainer-clean-sim:
31326 @if sim
31327 maybe-maintainer-clean-sim: maintainer-clean-sim
31329 maintainer-clean-sim:
31330 @: $(MAKE); $(unstage)
31331 @[ -f ./sim/Makefile ] || exit 0; \
31332 r=`${PWD_COMMAND}`; export r; \
31333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31334 $(HOST_EXPORTS) \
31335 for flag in $(EXTRA_HOST_FLAGS) ; do \
31336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31337 done; \
31338 echo "Doing maintainer-clean in sim"; \
31339 (cd $(HOST_SUBDIR)/sim && \
31340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31342 "RANLIB=$${RANLIB}" \
31343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31344 maintainer-clean) \
31345 || exit 1
31347 @endif sim
31351 .PHONY: configure-texinfo maybe-configure-texinfo
31352 maybe-configure-texinfo:
31353 @if gcc-bootstrap
31354 configure-texinfo: stage_current
31355 @endif gcc-bootstrap
31356 @if texinfo
31357 maybe-configure-texinfo: configure-texinfo
31358 configure-texinfo:
31359 @: $(MAKE); $(unstage)
31360 @r=`${PWD_COMMAND}`; export r; \
31361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31362 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31364 $(HOST_EXPORTS) \
31365 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31366 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31367 case $(srcdir) in \
31368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31369 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31371 esac; \
31372 module_srcdir=texinfo; \
31373 $(SHELL) \
31374 $$s/$$module_srcdir/configure \
31375 --srcdir=$${topdir}/$$module_srcdir \
31376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31377 --target=${target_alias} \
31378 || exit 1
31379 @endif texinfo
31385 .PHONY: all-texinfo maybe-all-texinfo
31386 maybe-all-texinfo:
31387 @if gcc-bootstrap
31388 all-texinfo: stage_current
31389 @endif gcc-bootstrap
31390 @if texinfo
31391 TARGET-texinfo=all
31392 maybe-all-texinfo: all-texinfo
31393 all-texinfo: configure-texinfo
31394 @: $(MAKE); $(unstage)
31395 @r=`${PWD_COMMAND}`; export r; \
31396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31397 $(HOST_EXPORTS) \
31398 (cd $(HOST_SUBDIR)/texinfo && \
31399 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31400 $(TARGET-texinfo))
31401 @endif texinfo
31406 .PHONY: check-texinfo maybe-check-texinfo
31407 maybe-check-texinfo:
31408 @if texinfo
31409 maybe-check-texinfo: check-texinfo
31411 check-texinfo:
31412 @: $(MAKE); $(unstage)
31413 @r=`${PWD_COMMAND}`; export r; \
31414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31415 $(HOST_EXPORTS) \
31416 (cd $(HOST_SUBDIR)/texinfo && \
31417 $(MAKE) $(FLAGS_TO_PASS) check)
31419 @endif texinfo
31421 .PHONY: install-texinfo maybe-install-texinfo
31422 maybe-install-texinfo:
31423 @if texinfo
31424 maybe-install-texinfo: install-texinfo
31426 install-texinfo:
31428 @endif texinfo
31430 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31431 maybe-install-strip-texinfo:
31432 @if texinfo
31433 maybe-install-strip-texinfo: install-strip-texinfo
31435 install-strip-texinfo:
31437 @endif texinfo
31439 # Other targets (info, dvi, pdf, etc.)
31441 .PHONY: maybe-info-texinfo info-texinfo
31442 maybe-info-texinfo:
31443 @if texinfo
31444 maybe-info-texinfo: info-texinfo
31446 info-texinfo: \
31447 configure-texinfo
31448 @: $(MAKE); $(unstage)
31449 @[ -f ./texinfo/Makefile ] || exit 0; \
31450 r=`${PWD_COMMAND}`; export r; \
31451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31452 $(HOST_EXPORTS) \
31453 for flag in $(EXTRA_HOST_FLAGS) ; do \
31454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31455 done; \
31456 echo "Doing info in texinfo"; \
31457 (cd $(HOST_SUBDIR)/texinfo && \
31458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31460 "RANLIB=$${RANLIB}" \
31461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31462 info) \
31463 || exit 1
31465 @endif texinfo
31467 .PHONY: maybe-dvi-texinfo dvi-texinfo
31468 maybe-dvi-texinfo:
31469 @if texinfo
31470 maybe-dvi-texinfo: dvi-texinfo
31472 dvi-texinfo: \
31473 configure-texinfo
31474 @: $(MAKE); $(unstage)
31475 @[ -f ./texinfo/Makefile ] || exit 0; \
31476 r=`${PWD_COMMAND}`; export r; \
31477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31478 $(HOST_EXPORTS) \
31479 for flag in $(EXTRA_HOST_FLAGS) ; do \
31480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31481 done; \
31482 echo "Doing dvi in texinfo"; \
31483 (cd $(HOST_SUBDIR)/texinfo && \
31484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31486 "RANLIB=$${RANLIB}" \
31487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31488 dvi) \
31489 || exit 1
31491 @endif texinfo
31493 .PHONY: maybe-pdf-texinfo pdf-texinfo
31494 maybe-pdf-texinfo:
31495 @if texinfo
31496 maybe-pdf-texinfo: pdf-texinfo
31498 pdf-texinfo: \
31499 configure-texinfo
31500 @: $(MAKE); $(unstage)
31501 @[ -f ./texinfo/Makefile ] || exit 0; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(HOST_EXPORTS) \
31505 for flag in $(EXTRA_HOST_FLAGS) ; do \
31506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31507 done; \
31508 echo "Doing pdf in texinfo"; \
31509 (cd $(HOST_SUBDIR)/texinfo && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31514 pdf) \
31515 || exit 1
31517 @endif texinfo
31519 .PHONY: maybe-html-texinfo html-texinfo
31520 maybe-html-texinfo:
31521 @if texinfo
31522 maybe-html-texinfo: html-texinfo
31524 html-texinfo: \
31525 configure-texinfo
31526 @: $(MAKE); $(unstage)
31527 @[ -f ./texinfo/Makefile ] || exit 0; \
31528 r=`${PWD_COMMAND}`; export r; \
31529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31530 $(HOST_EXPORTS) \
31531 for flag in $(EXTRA_HOST_FLAGS) ; do \
31532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31533 done; \
31534 echo "Doing html in texinfo"; \
31535 (cd $(HOST_SUBDIR)/texinfo && \
31536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31538 "RANLIB=$${RANLIB}" \
31539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31540 html) \
31541 || exit 1
31543 @endif texinfo
31545 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31546 maybe-TAGS-texinfo:
31547 @if texinfo
31548 maybe-TAGS-texinfo: TAGS-texinfo
31550 TAGS-texinfo: \
31551 configure-texinfo
31552 @: $(MAKE); $(unstage)
31553 @[ -f ./texinfo/Makefile ] || exit 0; \
31554 r=`${PWD_COMMAND}`; export r; \
31555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31556 $(HOST_EXPORTS) \
31557 for flag in $(EXTRA_HOST_FLAGS) ; do \
31558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31559 done; \
31560 echo "Doing TAGS in texinfo"; \
31561 (cd $(HOST_SUBDIR)/texinfo && \
31562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31564 "RANLIB=$${RANLIB}" \
31565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31566 TAGS) \
31567 || exit 1
31569 @endif texinfo
31571 .PHONY: maybe-install-info-texinfo install-info-texinfo
31572 maybe-install-info-texinfo:
31573 @if texinfo
31574 maybe-install-info-texinfo: install-info-texinfo
31576 install-info-texinfo: \
31577 configure-texinfo \
31578 info-texinfo
31579 @: $(MAKE); $(unstage)
31580 @[ -f ./texinfo/Makefile ] || exit 0; \
31581 r=`${PWD_COMMAND}`; export r; \
31582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31583 $(HOST_EXPORTS) \
31584 for flag in $(EXTRA_HOST_FLAGS) ; do \
31585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31586 done; \
31587 echo "Doing install-info in texinfo"; \
31588 (cd $(HOST_SUBDIR)/texinfo && \
31589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31591 "RANLIB=$${RANLIB}" \
31592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31593 install-info) \
31594 || exit 1
31596 @endif texinfo
31598 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31599 maybe-install-pdf-texinfo:
31600 @if texinfo
31601 maybe-install-pdf-texinfo: install-pdf-texinfo
31603 install-pdf-texinfo: \
31604 configure-texinfo \
31605 pdf-texinfo
31606 @: $(MAKE); $(unstage)
31607 @[ -f ./texinfo/Makefile ] || exit 0; \
31608 r=`${PWD_COMMAND}`; export r; \
31609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31610 $(HOST_EXPORTS) \
31611 for flag in $(EXTRA_HOST_FLAGS) ; do \
31612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31613 done; \
31614 echo "Doing install-pdf in texinfo"; \
31615 (cd $(HOST_SUBDIR)/texinfo && \
31616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31618 "RANLIB=$${RANLIB}" \
31619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31620 install-pdf) \
31621 || exit 1
31623 @endif texinfo
31625 .PHONY: maybe-install-html-texinfo install-html-texinfo
31626 maybe-install-html-texinfo:
31627 @if texinfo
31628 maybe-install-html-texinfo: install-html-texinfo
31630 install-html-texinfo: \
31631 configure-texinfo \
31632 html-texinfo
31633 @: $(MAKE); $(unstage)
31634 @[ -f ./texinfo/Makefile ] || exit 0; \
31635 r=`${PWD_COMMAND}`; export r; \
31636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31637 $(HOST_EXPORTS) \
31638 for flag in $(EXTRA_HOST_FLAGS) ; do \
31639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31640 done; \
31641 echo "Doing install-html in texinfo"; \
31642 (cd $(HOST_SUBDIR)/texinfo && \
31643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31645 "RANLIB=$${RANLIB}" \
31646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31647 install-html) \
31648 || exit 1
31650 @endif texinfo
31652 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31653 maybe-installcheck-texinfo:
31654 @if texinfo
31655 maybe-installcheck-texinfo: installcheck-texinfo
31657 installcheck-texinfo: \
31658 configure-texinfo
31659 @: $(MAKE); $(unstage)
31660 @[ -f ./texinfo/Makefile ] || exit 0; \
31661 r=`${PWD_COMMAND}`; export r; \
31662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31663 $(HOST_EXPORTS) \
31664 for flag in $(EXTRA_HOST_FLAGS) ; do \
31665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31666 done; \
31667 echo "Doing installcheck in texinfo"; \
31668 (cd $(HOST_SUBDIR)/texinfo && \
31669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31671 "RANLIB=$${RANLIB}" \
31672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31673 installcheck) \
31674 || exit 1
31676 @endif texinfo
31678 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31679 maybe-mostlyclean-texinfo:
31680 @if texinfo
31681 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31683 mostlyclean-texinfo:
31684 @: $(MAKE); $(unstage)
31685 @[ -f ./texinfo/Makefile ] || exit 0; \
31686 r=`${PWD_COMMAND}`; export r; \
31687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31688 $(HOST_EXPORTS) \
31689 for flag in $(EXTRA_HOST_FLAGS) ; do \
31690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31691 done; \
31692 echo "Doing mostlyclean in texinfo"; \
31693 (cd $(HOST_SUBDIR)/texinfo && \
31694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31696 "RANLIB=$${RANLIB}" \
31697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31698 mostlyclean) \
31699 || exit 1
31701 @endif texinfo
31703 .PHONY: maybe-clean-texinfo clean-texinfo
31704 maybe-clean-texinfo:
31705 @if texinfo
31706 maybe-clean-texinfo: clean-texinfo
31708 clean-texinfo:
31709 @: $(MAKE); $(unstage)
31710 @[ -f ./texinfo/Makefile ] || exit 0; \
31711 r=`${PWD_COMMAND}`; export r; \
31712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31713 $(HOST_EXPORTS) \
31714 for flag in $(EXTRA_HOST_FLAGS) ; do \
31715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31716 done; \
31717 echo "Doing clean in texinfo"; \
31718 (cd $(HOST_SUBDIR)/texinfo && \
31719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31721 "RANLIB=$${RANLIB}" \
31722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31723 clean) \
31724 || exit 1
31726 @endif texinfo
31728 .PHONY: maybe-distclean-texinfo distclean-texinfo
31729 maybe-distclean-texinfo:
31730 @if texinfo
31731 maybe-distclean-texinfo: distclean-texinfo
31733 distclean-texinfo:
31734 @: $(MAKE); $(unstage)
31735 @[ -f ./texinfo/Makefile ] || exit 0; \
31736 r=`${PWD_COMMAND}`; export r; \
31737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31738 $(HOST_EXPORTS) \
31739 for flag in $(EXTRA_HOST_FLAGS) ; do \
31740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31741 done; \
31742 echo "Doing distclean in texinfo"; \
31743 (cd $(HOST_SUBDIR)/texinfo && \
31744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31746 "RANLIB=$${RANLIB}" \
31747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31748 distclean) \
31749 || exit 1
31751 @endif texinfo
31753 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
31754 maybe-maintainer-clean-texinfo:
31755 @if texinfo
31756 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
31758 maintainer-clean-texinfo:
31759 @: $(MAKE); $(unstage)
31760 @[ -f ./texinfo/Makefile ] || exit 0; \
31761 r=`${PWD_COMMAND}`; export r; \
31762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31763 $(HOST_EXPORTS) \
31764 for flag in $(EXTRA_HOST_FLAGS) ; do \
31765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31766 done; \
31767 echo "Doing maintainer-clean in texinfo"; \
31768 (cd $(HOST_SUBDIR)/texinfo && \
31769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31771 "RANLIB=$${RANLIB}" \
31772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31773 maintainer-clean) \
31774 || exit 1
31776 @endif texinfo
31780 .PHONY: configure-zlib maybe-configure-zlib
31781 maybe-configure-zlib:
31782 @if gcc-bootstrap
31783 configure-zlib: stage_current
31784 @endif gcc-bootstrap
31785 @if zlib
31786 maybe-configure-zlib: configure-zlib
31787 configure-zlib:
31788 @r=`${PWD_COMMAND}`; export r; \
31789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31790 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31792 $(HOST_EXPORTS) \
31793 echo Configuring in $(HOST_SUBDIR)/zlib; \
31794 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
31795 case $(srcdir) in \
31796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31797 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31799 esac; \
31800 module_srcdir=zlib; \
31801 $(SHELL) \
31802 $$s/$$module_srcdir/configure \
31803 --srcdir=$${topdir}/$$module_srcdir \
31804 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31805 --target=${target_alias} @extra_host_zlib_configure_flags@ \
31806 || exit 1
31807 @endif zlib
31811 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31812 maybe-configure-stage1-zlib:
31813 @if zlib-bootstrap
31814 maybe-configure-stage1-zlib: configure-stage1-zlib
31815 configure-stage1-zlib:
31816 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31818 @r=`${PWD_COMMAND}`; export r; \
31819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31820 TFLAGS="$(STAGE1_TFLAGS)"; \
31821 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31822 $(HOST_EXPORTS) \
31823 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31824 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31825 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31826 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
31827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31828 cd $(HOST_SUBDIR)/zlib || exit 1; \
31829 case $(srcdir) in \
31830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31831 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31833 esac; \
31834 module_srcdir=zlib; \
31835 $(SHELL) $$s/$$module_srcdir/configure \
31836 --srcdir=$${topdir}/$$module_srcdir \
31837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31838 --target=${target_alias} \
31840 $(STAGE1_CONFIGURE_FLAGS) \
31841 @extra_host_zlib_configure_flags@
31842 @endif zlib-bootstrap
31844 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31845 maybe-configure-stage2-zlib:
31846 @if zlib-bootstrap
31847 maybe-configure-stage2-zlib: configure-stage2-zlib
31848 configure-stage2-zlib:
31849 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31851 @r=`${PWD_COMMAND}`; export r; \
31852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31853 TFLAGS="$(STAGE2_TFLAGS)"; \
31854 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31855 $(HOST_EXPORTS) \
31856 $(POSTSTAGE1_HOST_EXPORTS) \
31857 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31858 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31859 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31860 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
31861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31862 cd $(HOST_SUBDIR)/zlib || exit 1; \
31863 case $(srcdir) in \
31864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31865 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31867 esac; \
31868 module_srcdir=zlib; \
31869 $(SHELL) $$s/$$module_srcdir/configure \
31870 --srcdir=$${topdir}/$$module_srcdir \
31871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31872 --target=${target_alias} \
31873 --with-build-libsubdir=$(HOST_SUBDIR) \
31874 $(STAGE2_CONFIGURE_FLAGS) \
31875 @extra_host_zlib_configure_flags@
31876 @endif zlib-bootstrap
31878 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31879 maybe-configure-stage3-zlib:
31880 @if zlib-bootstrap
31881 maybe-configure-stage3-zlib: configure-stage3-zlib
31882 configure-stage3-zlib:
31883 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31885 @r=`${PWD_COMMAND}`; export r; \
31886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31887 TFLAGS="$(STAGE3_TFLAGS)"; \
31888 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31889 $(HOST_EXPORTS) \
31890 $(POSTSTAGE1_HOST_EXPORTS) \
31891 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31892 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31893 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31894 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
31895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31896 cd $(HOST_SUBDIR)/zlib || exit 1; \
31897 case $(srcdir) in \
31898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31899 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31901 esac; \
31902 module_srcdir=zlib; \
31903 $(SHELL) $$s/$$module_srcdir/configure \
31904 --srcdir=$${topdir}/$$module_srcdir \
31905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31906 --target=${target_alias} \
31907 --with-build-libsubdir=$(HOST_SUBDIR) \
31908 $(STAGE3_CONFIGURE_FLAGS) \
31909 @extra_host_zlib_configure_flags@
31910 @endif zlib-bootstrap
31912 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31913 maybe-configure-stage4-zlib:
31914 @if zlib-bootstrap
31915 maybe-configure-stage4-zlib: configure-stage4-zlib
31916 configure-stage4-zlib:
31917 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31919 @r=`${PWD_COMMAND}`; export r; \
31920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31921 TFLAGS="$(STAGE4_TFLAGS)"; \
31922 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31923 $(HOST_EXPORTS) \
31924 $(POSTSTAGE1_HOST_EXPORTS) \
31925 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31926 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31927 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31928 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
31929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31930 cd $(HOST_SUBDIR)/zlib || exit 1; \
31931 case $(srcdir) in \
31932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31933 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31935 esac; \
31936 module_srcdir=zlib; \
31937 $(SHELL) $$s/$$module_srcdir/configure \
31938 --srcdir=$${topdir}/$$module_srcdir \
31939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31940 --target=${target_alias} \
31941 --with-build-libsubdir=$(HOST_SUBDIR) \
31942 $(STAGE4_CONFIGURE_FLAGS) \
31943 @extra_host_zlib_configure_flags@
31944 @endif zlib-bootstrap
31946 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31947 maybe-configure-stageprofile-zlib:
31948 @if zlib-bootstrap
31949 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31950 configure-stageprofile-zlib:
31951 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31953 @r=`${PWD_COMMAND}`; export r; \
31954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31955 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31956 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31957 $(HOST_EXPORTS) \
31958 $(POSTSTAGE1_HOST_EXPORTS) \
31959 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31960 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31961 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31962 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
31963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31964 cd $(HOST_SUBDIR)/zlib || exit 1; \
31965 case $(srcdir) in \
31966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31967 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31969 esac; \
31970 module_srcdir=zlib; \
31971 $(SHELL) $$s/$$module_srcdir/configure \
31972 --srcdir=$${topdir}/$$module_srcdir \
31973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31974 --target=${target_alias} \
31975 --with-build-libsubdir=$(HOST_SUBDIR) \
31976 $(STAGEprofile_CONFIGURE_FLAGS) \
31977 @extra_host_zlib_configure_flags@
31978 @endif zlib-bootstrap
31980 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
31981 maybe-configure-stagetrain-zlib:
31982 @if zlib-bootstrap
31983 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
31984 configure-stagetrain-zlib:
31985 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
31986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31987 @r=`${PWD_COMMAND}`; export r; \
31988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31989 TFLAGS="$(STAGEtrain_TFLAGS)"; \
31990 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31991 $(HOST_EXPORTS) \
31992 $(POSTSTAGE1_HOST_EXPORTS) \
31993 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
31994 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
31995 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
31996 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
31997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31998 cd $(HOST_SUBDIR)/zlib || exit 1; \
31999 case $(srcdir) in \
32000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32001 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32003 esac; \
32004 module_srcdir=zlib; \
32005 $(SHELL) $$s/$$module_srcdir/configure \
32006 --srcdir=$${topdir}/$$module_srcdir \
32007 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32008 --target=${target_alias} \
32009 --with-build-libsubdir=$(HOST_SUBDIR) \
32010 $(STAGEtrain_CONFIGURE_FLAGS) \
32011 @extra_host_zlib_configure_flags@
32012 @endif zlib-bootstrap
32014 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32015 maybe-configure-stagefeedback-zlib:
32016 @if zlib-bootstrap
32017 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32018 configure-stagefeedback-zlib:
32019 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32021 @r=`${PWD_COMMAND}`; export r; \
32022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32023 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32024 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32025 $(HOST_EXPORTS) \
32026 $(POSTSTAGE1_HOST_EXPORTS) \
32027 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32028 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32029 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32030 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32032 cd $(HOST_SUBDIR)/zlib || exit 1; \
32033 case $(srcdir) in \
32034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32035 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32037 esac; \
32038 module_srcdir=zlib; \
32039 $(SHELL) $$s/$$module_srcdir/configure \
32040 --srcdir=$${topdir}/$$module_srcdir \
32041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32042 --target=${target_alias} \
32043 --with-build-libsubdir=$(HOST_SUBDIR) \
32044 $(STAGEfeedback_CONFIGURE_FLAGS) \
32045 @extra_host_zlib_configure_flags@
32046 @endif zlib-bootstrap
32048 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32049 maybe-configure-stageautoprofile-zlib:
32050 @if zlib-bootstrap
32051 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32052 configure-stageautoprofile-zlib:
32053 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32055 @r=`${PWD_COMMAND}`; export r; \
32056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32057 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32058 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32059 $(HOST_EXPORTS) \
32060 $(POSTSTAGE1_HOST_EXPORTS) \
32061 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32062 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32063 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32064 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32066 cd $(HOST_SUBDIR)/zlib || exit 1; \
32067 case $(srcdir) in \
32068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32069 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32071 esac; \
32072 module_srcdir=zlib; \
32073 $(SHELL) $$s/$$module_srcdir/configure \
32074 --srcdir=$${topdir}/$$module_srcdir \
32075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32076 --target=${target_alias} \
32077 --with-build-libsubdir=$(HOST_SUBDIR) \
32078 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32079 @extra_host_zlib_configure_flags@
32080 @endif zlib-bootstrap
32082 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32083 maybe-configure-stageautofeedback-zlib:
32084 @if zlib-bootstrap
32085 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32086 configure-stageautofeedback-zlib:
32087 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32089 @r=`${PWD_COMMAND}`; export r; \
32090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32091 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32092 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32093 $(HOST_EXPORTS) \
32094 $(POSTSTAGE1_HOST_EXPORTS) \
32095 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32096 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32097 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32098 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32100 cd $(HOST_SUBDIR)/zlib || exit 1; \
32101 case $(srcdir) in \
32102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32103 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32105 esac; \
32106 module_srcdir=zlib; \
32107 $(SHELL) $$s/$$module_srcdir/configure \
32108 --srcdir=$${topdir}/$$module_srcdir \
32109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32110 --target=${target_alias} \
32111 --with-build-libsubdir=$(HOST_SUBDIR) \
32112 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32113 @extra_host_zlib_configure_flags@
32114 @endif zlib-bootstrap
32120 .PHONY: all-zlib maybe-all-zlib
32121 maybe-all-zlib:
32122 @if gcc-bootstrap
32123 all-zlib: stage_current
32124 @endif gcc-bootstrap
32125 @if zlib
32126 TARGET-zlib=all
32127 maybe-all-zlib: all-zlib
32128 all-zlib: configure-zlib
32129 @r=`${PWD_COMMAND}`; export r; \
32130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32131 $(HOST_EXPORTS) \
32132 (cd $(HOST_SUBDIR)/zlib && \
32133 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32134 $(TARGET-zlib))
32135 @endif zlib
32139 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32140 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32141 maybe-all-stage1-zlib:
32142 maybe-clean-stage1-zlib:
32143 @if zlib-bootstrap
32144 maybe-all-stage1-zlib: all-stage1-zlib
32145 all-stage1: all-stage1-zlib
32146 TARGET-stage1-zlib = $(TARGET-zlib)
32147 all-stage1-zlib: configure-stage1-zlib
32148 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32149 @r=`${PWD_COMMAND}`; export r; \
32150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32151 TFLAGS="$(STAGE1_TFLAGS)"; \
32152 $(HOST_EXPORTS) \
32153 cd $(HOST_SUBDIR)/zlib && \
32155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32156 CFLAGS="$(STAGE1_CFLAGS)" \
32157 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32158 LIBCFLAGS="$(LIBCFLAGS)" \
32159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32162 $(EXTRA_HOST_FLAGS) \
32163 $(STAGE1_FLAGS_TO_PASS) \
32164 TFLAGS="$(STAGE1_TFLAGS)" \
32165 $(TARGET-stage1-zlib)
32167 maybe-clean-stage1-zlib: clean-stage1-zlib
32168 clean-stage1: clean-stage1-zlib
32169 clean-stage1-zlib:
32170 @if [ $(current_stage) = stage1 ]; then \
32171 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32172 else \
32173 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32174 $(MAKE) stage1-start; \
32175 fi; \
32176 cd $(HOST_SUBDIR)/zlib && \
32177 $(MAKE) $(EXTRA_HOST_FLAGS) \
32178 $(STAGE1_FLAGS_TO_PASS) clean
32179 @endif zlib-bootstrap
32182 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32183 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32184 maybe-all-stage2-zlib:
32185 maybe-clean-stage2-zlib:
32186 @if zlib-bootstrap
32187 maybe-all-stage2-zlib: all-stage2-zlib
32188 all-stage2: all-stage2-zlib
32189 TARGET-stage2-zlib = $(TARGET-zlib)
32190 all-stage2-zlib: configure-stage2-zlib
32191 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32192 @r=`${PWD_COMMAND}`; export r; \
32193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32194 TFLAGS="$(STAGE2_TFLAGS)"; \
32195 $(HOST_EXPORTS) \
32196 $(POSTSTAGE1_HOST_EXPORTS) \
32197 cd $(HOST_SUBDIR)/zlib && \
32199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32200 CFLAGS="$(STAGE2_CFLAGS)" \
32201 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32202 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32207 TFLAGS="$(STAGE2_TFLAGS)" \
32208 $(TARGET-stage2-zlib)
32210 maybe-clean-stage2-zlib: clean-stage2-zlib
32211 clean-stage2: clean-stage2-zlib
32212 clean-stage2-zlib:
32213 @if [ $(current_stage) = stage2 ]; then \
32214 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32215 else \
32216 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32217 $(MAKE) stage2-start; \
32218 fi; \
32219 cd $(HOST_SUBDIR)/zlib && \
32220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32221 @endif zlib-bootstrap
32224 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32225 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32226 maybe-all-stage3-zlib:
32227 maybe-clean-stage3-zlib:
32228 @if zlib-bootstrap
32229 maybe-all-stage3-zlib: all-stage3-zlib
32230 all-stage3: all-stage3-zlib
32231 TARGET-stage3-zlib = $(TARGET-zlib)
32232 all-stage3-zlib: configure-stage3-zlib
32233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32234 @r=`${PWD_COMMAND}`; export r; \
32235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32236 TFLAGS="$(STAGE3_TFLAGS)"; \
32237 $(HOST_EXPORTS) \
32238 $(POSTSTAGE1_HOST_EXPORTS) \
32239 cd $(HOST_SUBDIR)/zlib && \
32241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32242 CFLAGS="$(STAGE3_CFLAGS)" \
32243 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32244 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32249 TFLAGS="$(STAGE3_TFLAGS)" \
32250 $(TARGET-stage3-zlib)
32252 maybe-clean-stage3-zlib: clean-stage3-zlib
32253 clean-stage3: clean-stage3-zlib
32254 clean-stage3-zlib:
32255 @if [ $(current_stage) = stage3 ]; then \
32256 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32257 else \
32258 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32259 $(MAKE) stage3-start; \
32260 fi; \
32261 cd $(HOST_SUBDIR)/zlib && \
32262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32263 @endif zlib-bootstrap
32266 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32267 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32268 maybe-all-stage4-zlib:
32269 maybe-clean-stage4-zlib:
32270 @if zlib-bootstrap
32271 maybe-all-stage4-zlib: all-stage4-zlib
32272 all-stage4: all-stage4-zlib
32273 TARGET-stage4-zlib = $(TARGET-zlib)
32274 all-stage4-zlib: configure-stage4-zlib
32275 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32276 @r=`${PWD_COMMAND}`; export r; \
32277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32278 TFLAGS="$(STAGE4_TFLAGS)"; \
32279 $(HOST_EXPORTS) \
32280 $(POSTSTAGE1_HOST_EXPORTS) \
32281 cd $(HOST_SUBDIR)/zlib && \
32283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32284 CFLAGS="$(STAGE4_CFLAGS)" \
32285 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32286 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32290 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32291 TFLAGS="$(STAGE4_TFLAGS)" \
32292 $(TARGET-stage4-zlib)
32294 maybe-clean-stage4-zlib: clean-stage4-zlib
32295 clean-stage4: clean-stage4-zlib
32296 clean-stage4-zlib:
32297 @if [ $(current_stage) = stage4 ]; then \
32298 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32299 else \
32300 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32301 $(MAKE) stage4-start; \
32302 fi; \
32303 cd $(HOST_SUBDIR)/zlib && \
32304 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32305 @endif zlib-bootstrap
32308 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32309 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32310 maybe-all-stageprofile-zlib:
32311 maybe-clean-stageprofile-zlib:
32312 @if zlib-bootstrap
32313 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32314 all-stageprofile: all-stageprofile-zlib
32315 TARGET-stageprofile-zlib = $(TARGET-zlib)
32316 all-stageprofile-zlib: configure-stageprofile-zlib
32317 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32318 @r=`${PWD_COMMAND}`; export r; \
32319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32320 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32321 $(HOST_EXPORTS) \
32322 $(POSTSTAGE1_HOST_EXPORTS) \
32323 cd $(HOST_SUBDIR)/zlib && \
32325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32326 CFLAGS="$(STAGEprofile_CFLAGS)" \
32327 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32328 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32333 TFLAGS="$(STAGEprofile_TFLAGS)" \
32334 $(TARGET-stageprofile-zlib)
32336 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32337 clean-stageprofile: clean-stageprofile-zlib
32338 clean-stageprofile-zlib:
32339 @if [ $(current_stage) = stageprofile ]; then \
32340 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32341 else \
32342 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32343 $(MAKE) stageprofile-start; \
32344 fi; \
32345 cd $(HOST_SUBDIR)/zlib && \
32346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32347 @endif zlib-bootstrap
32350 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32351 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32352 maybe-all-stagetrain-zlib:
32353 maybe-clean-stagetrain-zlib:
32354 @if zlib-bootstrap
32355 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32356 all-stagetrain: all-stagetrain-zlib
32357 TARGET-stagetrain-zlib = $(TARGET-zlib)
32358 all-stagetrain-zlib: configure-stagetrain-zlib
32359 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32360 @r=`${PWD_COMMAND}`; export r; \
32361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32362 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32363 $(HOST_EXPORTS) \
32364 $(POSTSTAGE1_HOST_EXPORTS) \
32365 cd $(HOST_SUBDIR)/zlib && \
32367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32368 CFLAGS="$(STAGEtrain_CFLAGS)" \
32369 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32370 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32375 TFLAGS="$(STAGEtrain_TFLAGS)" \
32376 $(TARGET-stagetrain-zlib)
32378 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32379 clean-stagetrain: clean-stagetrain-zlib
32380 clean-stagetrain-zlib:
32381 @if [ $(current_stage) = stagetrain ]; then \
32382 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32383 else \
32384 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32385 $(MAKE) stagetrain-start; \
32386 fi; \
32387 cd $(HOST_SUBDIR)/zlib && \
32388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32389 @endif zlib-bootstrap
32392 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32393 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32394 maybe-all-stagefeedback-zlib:
32395 maybe-clean-stagefeedback-zlib:
32396 @if zlib-bootstrap
32397 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32398 all-stagefeedback: all-stagefeedback-zlib
32399 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32400 all-stagefeedback-zlib: configure-stagefeedback-zlib
32401 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32402 @r=`${PWD_COMMAND}`; export r; \
32403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32404 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32405 $(HOST_EXPORTS) \
32406 $(POSTSTAGE1_HOST_EXPORTS) \
32407 cd $(HOST_SUBDIR)/zlib && \
32409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32410 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32411 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32412 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32417 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32418 $(TARGET-stagefeedback-zlib)
32420 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32421 clean-stagefeedback: clean-stagefeedback-zlib
32422 clean-stagefeedback-zlib:
32423 @if [ $(current_stage) = stagefeedback ]; then \
32424 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32425 else \
32426 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32427 $(MAKE) stagefeedback-start; \
32428 fi; \
32429 cd $(HOST_SUBDIR)/zlib && \
32430 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32431 @endif zlib-bootstrap
32434 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32435 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32436 maybe-all-stageautoprofile-zlib:
32437 maybe-clean-stageautoprofile-zlib:
32438 @if zlib-bootstrap
32439 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32440 all-stageautoprofile: all-stageautoprofile-zlib
32441 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32442 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32443 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32444 @r=`${PWD_COMMAND}`; export r; \
32445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32446 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32447 $(HOST_EXPORTS) \
32448 $(POSTSTAGE1_HOST_EXPORTS) \
32449 cd $(HOST_SUBDIR)/zlib && \
32450 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32452 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32453 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32454 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32455 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32456 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32457 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32458 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32459 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32460 $(TARGET-stageautoprofile-zlib)
32462 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32463 clean-stageautoprofile: clean-stageautoprofile-zlib
32464 clean-stageautoprofile-zlib:
32465 @if [ $(current_stage) = stageautoprofile ]; then \
32466 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32467 else \
32468 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32469 $(MAKE) stageautoprofile-start; \
32470 fi; \
32471 cd $(HOST_SUBDIR)/zlib && \
32472 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32473 @endif zlib-bootstrap
32476 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32477 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32478 maybe-all-stageautofeedback-zlib:
32479 maybe-clean-stageautofeedback-zlib:
32480 @if zlib-bootstrap
32481 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32482 all-stageautofeedback: all-stageautofeedback-zlib
32483 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32484 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32485 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32486 @r=`${PWD_COMMAND}`; export r; \
32487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32488 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32489 $(HOST_EXPORTS) \
32490 $(POSTSTAGE1_HOST_EXPORTS) \
32491 cd $(HOST_SUBDIR)/zlib && \
32493 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32494 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32495 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32496 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32497 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32498 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32499 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32500 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32501 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32502 $(TARGET-stageautofeedback-zlib)
32504 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32505 clean-stageautofeedback: clean-stageautofeedback-zlib
32506 clean-stageautofeedback-zlib:
32507 @if [ $(current_stage) = stageautofeedback ]; then \
32508 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32509 else \
32510 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32511 $(MAKE) stageautofeedback-start; \
32512 fi; \
32513 cd $(HOST_SUBDIR)/zlib && \
32514 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32515 @endif zlib-bootstrap
32521 .PHONY: check-zlib maybe-check-zlib
32522 maybe-check-zlib:
32523 @if zlib
32524 maybe-check-zlib: check-zlib
32526 check-zlib:
32528 @endif zlib
32530 .PHONY: install-zlib maybe-install-zlib
32531 maybe-install-zlib:
32532 @if zlib
32533 maybe-install-zlib: install-zlib
32535 install-zlib:
32537 @endif zlib
32539 .PHONY: install-strip-zlib maybe-install-strip-zlib
32540 maybe-install-strip-zlib:
32541 @if zlib
32542 maybe-install-strip-zlib: install-strip-zlib
32544 install-strip-zlib:
32546 @endif zlib
32548 # Other targets (info, dvi, pdf, etc.)
32550 .PHONY: maybe-info-zlib info-zlib
32551 maybe-info-zlib:
32552 @if zlib
32553 maybe-info-zlib: info-zlib
32555 info-zlib: \
32556 configure-zlib
32557 @[ -f ./zlib/Makefile ] || exit 0; \
32558 r=`${PWD_COMMAND}`; export r; \
32559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32560 $(HOST_EXPORTS) \
32561 for flag in $(EXTRA_HOST_FLAGS) ; do \
32562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32563 done; \
32564 echo "Doing info in zlib"; \
32565 (cd $(HOST_SUBDIR)/zlib && \
32566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32568 "RANLIB=$${RANLIB}" \
32569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32570 info) \
32571 || exit 1
32573 @endif zlib
32575 .PHONY: maybe-dvi-zlib dvi-zlib
32576 maybe-dvi-zlib:
32577 @if zlib
32578 maybe-dvi-zlib: dvi-zlib
32580 dvi-zlib: \
32581 configure-zlib
32582 @[ -f ./zlib/Makefile ] || exit 0; \
32583 r=`${PWD_COMMAND}`; export r; \
32584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32585 $(HOST_EXPORTS) \
32586 for flag in $(EXTRA_HOST_FLAGS) ; do \
32587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32588 done; \
32589 echo "Doing dvi in zlib"; \
32590 (cd $(HOST_SUBDIR)/zlib && \
32591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32593 "RANLIB=$${RANLIB}" \
32594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32595 dvi) \
32596 || exit 1
32598 @endif zlib
32600 .PHONY: maybe-pdf-zlib pdf-zlib
32601 maybe-pdf-zlib:
32602 @if zlib
32603 maybe-pdf-zlib: pdf-zlib
32605 pdf-zlib: \
32606 configure-zlib
32607 @[ -f ./zlib/Makefile ] || exit 0; \
32608 r=`${PWD_COMMAND}`; export r; \
32609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32610 $(HOST_EXPORTS) \
32611 for flag in $(EXTRA_HOST_FLAGS) ; do \
32612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32613 done; \
32614 echo "Doing pdf in zlib"; \
32615 (cd $(HOST_SUBDIR)/zlib && \
32616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32618 "RANLIB=$${RANLIB}" \
32619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32620 pdf) \
32621 || exit 1
32623 @endif zlib
32625 .PHONY: maybe-html-zlib html-zlib
32626 maybe-html-zlib:
32627 @if zlib
32628 maybe-html-zlib: html-zlib
32630 html-zlib: \
32631 configure-zlib
32632 @[ -f ./zlib/Makefile ] || exit 0; \
32633 r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 $(HOST_EXPORTS) \
32636 for flag in $(EXTRA_HOST_FLAGS) ; do \
32637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32638 done; \
32639 echo "Doing html in zlib"; \
32640 (cd $(HOST_SUBDIR)/zlib && \
32641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32643 "RANLIB=$${RANLIB}" \
32644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32645 html) \
32646 || exit 1
32648 @endif zlib
32650 .PHONY: maybe-TAGS-zlib TAGS-zlib
32651 maybe-TAGS-zlib:
32652 @if zlib
32653 maybe-TAGS-zlib: TAGS-zlib
32655 TAGS-zlib: \
32656 configure-zlib
32657 @[ -f ./zlib/Makefile ] || exit 0; \
32658 r=`${PWD_COMMAND}`; export r; \
32659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32660 $(HOST_EXPORTS) \
32661 for flag in $(EXTRA_HOST_FLAGS) ; do \
32662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32663 done; \
32664 echo "Doing TAGS in zlib"; \
32665 (cd $(HOST_SUBDIR)/zlib && \
32666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32668 "RANLIB=$${RANLIB}" \
32669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32670 TAGS) \
32671 || exit 1
32673 @endif zlib
32675 .PHONY: maybe-install-info-zlib install-info-zlib
32676 maybe-install-info-zlib:
32677 @if zlib
32678 maybe-install-info-zlib: install-info-zlib
32680 install-info-zlib: \
32681 configure-zlib \
32682 info-zlib
32683 @[ -f ./zlib/Makefile ] || exit 0; \
32684 r=`${PWD_COMMAND}`; export r; \
32685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32686 $(HOST_EXPORTS) \
32687 for flag in $(EXTRA_HOST_FLAGS) ; do \
32688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32689 done; \
32690 echo "Doing install-info in zlib"; \
32691 (cd $(HOST_SUBDIR)/zlib && \
32692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32694 "RANLIB=$${RANLIB}" \
32695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32696 install-info) \
32697 || exit 1
32699 @endif zlib
32701 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32702 maybe-install-pdf-zlib:
32703 @if zlib
32704 maybe-install-pdf-zlib: install-pdf-zlib
32706 install-pdf-zlib: \
32707 configure-zlib \
32708 pdf-zlib
32709 @[ -f ./zlib/Makefile ] || exit 0; \
32710 r=`${PWD_COMMAND}`; export r; \
32711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32712 $(HOST_EXPORTS) \
32713 for flag in $(EXTRA_HOST_FLAGS) ; do \
32714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32715 done; \
32716 echo "Doing install-pdf in zlib"; \
32717 (cd $(HOST_SUBDIR)/zlib && \
32718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32720 "RANLIB=$${RANLIB}" \
32721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32722 install-pdf) \
32723 || exit 1
32725 @endif zlib
32727 .PHONY: maybe-install-html-zlib install-html-zlib
32728 maybe-install-html-zlib:
32729 @if zlib
32730 maybe-install-html-zlib: install-html-zlib
32732 install-html-zlib: \
32733 configure-zlib \
32734 html-zlib
32735 @[ -f ./zlib/Makefile ] || exit 0; \
32736 r=`${PWD_COMMAND}`; export r; \
32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32738 $(HOST_EXPORTS) \
32739 for flag in $(EXTRA_HOST_FLAGS) ; do \
32740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32741 done; \
32742 echo "Doing install-html in zlib"; \
32743 (cd $(HOST_SUBDIR)/zlib && \
32744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32746 "RANLIB=$${RANLIB}" \
32747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32748 install-html) \
32749 || exit 1
32751 @endif zlib
32753 .PHONY: maybe-installcheck-zlib installcheck-zlib
32754 maybe-installcheck-zlib:
32755 @if zlib
32756 maybe-installcheck-zlib: installcheck-zlib
32758 installcheck-zlib: \
32759 configure-zlib
32760 @[ -f ./zlib/Makefile ] || exit 0; \
32761 r=`${PWD_COMMAND}`; export r; \
32762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32763 $(HOST_EXPORTS) \
32764 for flag in $(EXTRA_HOST_FLAGS) ; do \
32765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32766 done; \
32767 echo "Doing installcheck in zlib"; \
32768 (cd $(HOST_SUBDIR)/zlib && \
32769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32771 "RANLIB=$${RANLIB}" \
32772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32773 installcheck) \
32774 || exit 1
32776 @endif zlib
32778 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
32779 maybe-mostlyclean-zlib:
32780 @if zlib
32781 maybe-mostlyclean-zlib: mostlyclean-zlib
32783 mostlyclean-zlib:
32784 @[ -f ./zlib/Makefile ] || exit 0; \
32785 r=`${PWD_COMMAND}`; export r; \
32786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32787 $(HOST_EXPORTS) \
32788 for flag in $(EXTRA_HOST_FLAGS) ; do \
32789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32790 done; \
32791 echo "Doing mostlyclean in zlib"; \
32792 (cd $(HOST_SUBDIR)/zlib && \
32793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32795 "RANLIB=$${RANLIB}" \
32796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32797 mostlyclean) \
32798 || exit 1
32800 @endif zlib
32802 .PHONY: maybe-clean-zlib clean-zlib
32803 maybe-clean-zlib:
32804 @if zlib
32805 maybe-clean-zlib: clean-zlib
32807 clean-zlib:
32808 @[ -f ./zlib/Makefile ] || exit 0; \
32809 r=`${PWD_COMMAND}`; export r; \
32810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32811 $(HOST_EXPORTS) \
32812 for flag in $(EXTRA_HOST_FLAGS) ; do \
32813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32814 done; \
32815 echo "Doing clean in zlib"; \
32816 (cd $(HOST_SUBDIR)/zlib && \
32817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32819 "RANLIB=$${RANLIB}" \
32820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32821 clean) \
32822 || exit 1
32824 @endif zlib
32826 .PHONY: maybe-distclean-zlib distclean-zlib
32827 maybe-distclean-zlib:
32828 @if zlib
32829 maybe-distclean-zlib: distclean-zlib
32831 distclean-zlib:
32832 @[ -f ./zlib/Makefile ] || exit 0; \
32833 r=`${PWD_COMMAND}`; export r; \
32834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32835 $(HOST_EXPORTS) \
32836 for flag in $(EXTRA_HOST_FLAGS) ; do \
32837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32838 done; \
32839 echo "Doing distclean in zlib"; \
32840 (cd $(HOST_SUBDIR)/zlib && \
32841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32843 "RANLIB=$${RANLIB}" \
32844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32845 distclean) \
32846 || exit 1
32848 @endif zlib
32850 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
32851 maybe-maintainer-clean-zlib:
32852 @if zlib
32853 maybe-maintainer-clean-zlib: maintainer-clean-zlib
32855 maintainer-clean-zlib:
32856 @[ -f ./zlib/Makefile ] || exit 0; \
32857 r=`${PWD_COMMAND}`; export r; \
32858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32859 $(HOST_EXPORTS) \
32860 for flag in $(EXTRA_HOST_FLAGS) ; do \
32861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32862 done; \
32863 echo "Doing maintainer-clean in zlib"; \
32864 (cd $(HOST_SUBDIR)/zlib && \
32865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32867 "RANLIB=$${RANLIB}" \
32868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32869 maintainer-clean) \
32870 || exit 1
32872 @endif zlib
32876 .PHONY: configure-gdb maybe-configure-gdb
32877 maybe-configure-gdb:
32878 @if gcc-bootstrap
32879 configure-gdb: stage_current
32880 @endif gcc-bootstrap
32881 @if gdb
32882 maybe-configure-gdb: configure-gdb
32883 configure-gdb:
32884 @: $(MAKE); $(unstage)
32885 @r=`${PWD_COMMAND}`; export r; \
32886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32887 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
32888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
32889 $(HOST_EXPORTS) \
32890 echo Configuring in $(HOST_SUBDIR)/gdb; \
32891 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
32892 case $(srcdir) in \
32893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32894 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
32895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32896 esac; \
32897 module_srcdir=gdb; \
32898 $(SHELL) \
32899 $$s/$$module_srcdir/configure \
32900 --srcdir=$${topdir}/$$module_srcdir \
32901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32902 --target=${target_alias} \
32903 || exit 1
32904 @endif gdb
32910 .PHONY: all-gdb maybe-all-gdb
32911 maybe-all-gdb:
32912 @if gcc-bootstrap
32913 all-gdb: stage_current
32914 @endif gcc-bootstrap
32915 @if gdb
32916 TARGET-gdb=all
32917 maybe-all-gdb: all-gdb
32918 all-gdb: configure-gdb
32919 @: $(MAKE); $(unstage)
32920 @r=`${PWD_COMMAND}`; export r; \
32921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32922 $(HOST_EXPORTS) \
32923 (cd $(HOST_SUBDIR)/gdb && \
32924 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32925 $(TARGET-gdb))
32926 @endif gdb
32931 .PHONY: check-gdb maybe-check-gdb
32932 maybe-check-gdb:
32933 @if gdb
32934 maybe-check-gdb: check-gdb
32936 check-gdb:
32937 @: $(MAKE); $(unstage)
32938 @r=`${PWD_COMMAND}`; export r; \
32939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32940 $(HOST_EXPORTS) \
32941 (cd $(HOST_SUBDIR)/gdb && \
32942 $(MAKE) $(FLAGS_TO_PASS) check)
32944 @endif gdb
32946 .PHONY: install-gdb maybe-install-gdb
32947 maybe-install-gdb:
32948 @if gdb
32949 maybe-install-gdb: install-gdb
32951 install-gdb: installdirs
32952 @: $(MAKE); $(unstage)
32953 @r=`${PWD_COMMAND}`; export r; \
32954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32955 $(HOST_EXPORTS) \
32956 (cd $(HOST_SUBDIR)/gdb && \
32957 $(MAKE) $(FLAGS_TO_PASS) install)
32959 @endif gdb
32961 .PHONY: install-strip-gdb maybe-install-strip-gdb
32962 maybe-install-strip-gdb:
32963 @if gdb
32964 maybe-install-strip-gdb: install-strip-gdb
32966 install-strip-gdb: installdirs
32967 @: $(MAKE); $(unstage)
32968 @r=`${PWD_COMMAND}`; export r; \
32969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32970 $(HOST_EXPORTS) \
32971 (cd $(HOST_SUBDIR)/gdb && \
32972 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32974 @endif gdb
32976 # Other targets (info, dvi, pdf, etc.)
32978 .PHONY: maybe-info-gdb info-gdb
32979 maybe-info-gdb:
32980 @if gdb
32981 maybe-info-gdb: info-gdb
32983 info-gdb: \
32984 configure-gdb
32985 @: $(MAKE); $(unstage)
32986 @[ -f ./gdb/Makefile ] || exit 0; \
32987 r=`${PWD_COMMAND}`; export r; \
32988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32989 $(HOST_EXPORTS) \
32990 for flag in $(EXTRA_HOST_FLAGS) ; do \
32991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32992 done; \
32993 echo "Doing info in gdb"; \
32994 (cd $(HOST_SUBDIR)/gdb && \
32995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32997 "RANLIB=$${RANLIB}" \
32998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32999 info) \
33000 || exit 1
33002 @endif gdb
33004 .PHONY: maybe-dvi-gdb dvi-gdb
33005 maybe-dvi-gdb:
33006 @if gdb
33007 maybe-dvi-gdb: dvi-gdb
33009 dvi-gdb: \
33010 configure-gdb
33011 @: $(MAKE); $(unstage)
33012 @[ -f ./gdb/Makefile ] || exit 0; \
33013 r=`${PWD_COMMAND}`; export r; \
33014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33015 $(HOST_EXPORTS) \
33016 for flag in $(EXTRA_HOST_FLAGS) ; do \
33017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33018 done; \
33019 echo "Doing dvi in gdb"; \
33020 (cd $(HOST_SUBDIR)/gdb && \
33021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33023 "RANLIB=$${RANLIB}" \
33024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33025 dvi) \
33026 || exit 1
33028 @endif gdb
33030 .PHONY: maybe-pdf-gdb pdf-gdb
33031 maybe-pdf-gdb:
33032 @if gdb
33033 maybe-pdf-gdb: pdf-gdb
33035 pdf-gdb: \
33036 configure-gdb
33037 @: $(MAKE); $(unstage)
33038 @[ -f ./gdb/Makefile ] || exit 0; \
33039 r=`${PWD_COMMAND}`; export r; \
33040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33041 $(HOST_EXPORTS) \
33042 for flag in $(EXTRA_HOST_FLAGS) ; do \
33043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33044 done; \
33045 echo "Doing pdf in gdb"; \
33046 (cd $(HOST_SUBDIR)/gdb && \
33047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33049 "RANLIB=$${RANLIB}" \
33050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33051 pdf) \
33052 || exit 1
33054 @endif gdb
33056 .PHONY: maybe-html-gdb html-gdb
33057 maybe-html-gdb:
33058 @if gdb
33059 maybe-html-gdb: html-gdb
33061 html-gdb: \
33062 configure-gdb
33063 @: $(MAKE); $(unstage)
33064 @[ -f ./gdb/Makefile ] || exit 0; \
33065 r=`${PWD_COMMAND}`; export r; \
33066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33067 $(HOST_EXPORTS) \
33068 for flag in $(EXTRA_HOST_FLAGS) ; do \
33069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33070 done; \
33071 echo "Doing html in gdb"; \
33072 (cd $(HOST_SUBDIR)/gdb && \
33073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33075 "RANLIB=$${RANLIB}" \
33076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33077 html) \
33078 || exit 1
33080 @endif gdb
33082 .PHONY: maybe-TAGS-gdb TAGS-gdb
33083 maybe-TAGS-gdb:
33084 @if gdb
33085 maybe-TAGS-gdb: TAGS-gdb
33087 TAGS-gdb: \
33088 configure-gdb
33089 @: $(MAKE); $(unstage)
33090 @[ -f ./gdb/Makefile ] || exit 0; \
33091 r=`${PWD_COMMAND}`; export r; \
33092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33093 $(HOST_EXPORTS) \
33094 for flag in $(EXTRA_HOST_FLAGS) ; do \
33095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33096 done; \
33097 echo "Doing TAGS in gdb"; \
33098 (cd $(HOST_SUBDIR)/gdb && \
33099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33101 "RANLIB=$${RANLIB}" \
33102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33103 TAGS) \
33104 || exit 1
33106 @endif gdb
33108 .PHONY: maybe-install-info-gdb install-info-gdb
33109 maybe-install-info-gdb:
33110 @if gdb
33111 maybe-install-info-gdb: install-info-gdb
33113 install-info-gdb: \
33114 configure-gdb \
33115 info-gdb
33116 @: $(MAKE); $(unstage)
33117 @[ -f ./gdb/Makefile ] || exit 0; \
33118 r=`${PWD_COMMAND}`; export r; \
33119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33120 $(HOST_EXPORTS) \
33121 for flag in $(EXTRA_HOST_FLAGS) ; do \
33122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33123 done; \
33124 echo "Doing install-info in gdb"; \
33125 (cd $(HOST_SUBDIR)/gdb && \
33126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33128 "RANLIB=$${RANLIB}" \
33129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33130 install-info) \
33131 || exit 1
33133 @endif gdb
33135 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33136 maybe-install-pdf-gdb:
33137 @if gdb
33138 maybe-install-pdf-gdb: install-pdf-gdb
33140 install-pdf-gdb: \
33141 configure-gdb \
33142 pdf-gdb
33143 @: $(MAKE); $(unstage)
33144 @[ -f ./gdb/Makefile ] || exit 0; \
33145 r=`${PWD_COMMAND}`; export r; \
33146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33147 $(HOST_EXPORTS) \
33148 for flag in $(EXTRA_HOST_FLAGS) ; do \
33149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33150 done; \
33151 echo "Doing install-pdf in gdb"; \
33152 (cd $(HOST_SUBDIR)/gdb && \
33153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33155 "RANLIB=$${RANLIB}" \
33156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33157 install-pdf) \
33158 || exit 1
33160 @endif gdb
33162 .PHONY: maybe-install-html-gdb install-html-gdb
33163 maybe-install-html-gdb:
33164 @if gdb
33165 maybe-install-html-gdb: install-html-gdb
33167 install-html-gdb: \
33168 configure-gdb \
33169 html-gdb
33170 @: $(MAKE); $(unstage)
33171 @[ -f ./gdb/Makefile ] || exit 0; \
33172 r=`${PWD_COMMAND}`; export r; \
33173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33174 $(HOST_EXPORTS) \
33175 for flag in $(EXTRA_HOST_FLAGS) ; do \
33176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33177 done; \
33178 echo "Doing install-html in gdb"; \
33179 (cd $(HOST_SUBDIR)/gdb && \
33180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33182 "RANLIB=$${RANLIB}" \
33183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33184 install-html) \
33185 || exit 1
33187 @endif gdb
33189 .PHONY: maybe-installcheck-gdb installcheck-gdb
33190 maybe-installcheck-gdb:
33191 @if gdb
33192 maybe-installcheck-gdb: installcheck-gdb
33194 installcheck-gdb: \
33195 configure-gdb
33196 @: $(MAKE); $(unstage)
33197 @[ -f ./gdb/Makefile ] || exit 0; \
33198 r=`${PWD_COMMAND}`; export r; \
33199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33200 $(HOST_EXPORTS) \
33201 for flag in $(EXTRA_HOST_FLAGS) ; do \
33202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33203 done; \
33204 echo "Doing installcheck in gdb"; \
33205 (cd $(HOST_SUBDIR)/gdb && \
33206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33208 "RANLIB=$${RANLIB}" \
33209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33210 installcheck) \
33211 || exit 1
33213 @endif gdb
33215 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33216 maybe-mostlyclean-gdb:
33217 @if gdb
33218 maybe-mostlyclean-gdb: mostlyclean-gdb
33220 mostlyclean-gdb:
33221 @: $(MAKE); $(unstage)
33222 @[ -f ./gdb/Makefile ] || exit 0; \
33223 r=`${PWD_COMMAND}`; export r; \
33224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33225 $(HOST_EXPORTS) \
33226 for flag in $(EXTRA_HOST_FLAGS) ; do \
33227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33228 done; \
33229 echo "Doing mostlyclean in gdb"; \
33230 (cd $(HOST_SUBDIR)/gdb && \
33231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33233 "RANLIB=$${RANLIB}" \
33234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33235 mostlyclean) \
33236 || exit 1
33238 @endif gdb
33240 .PHONY: maybe-clean-gdb clean-gdb
33241 maybe-clean-gdb:
33242 @if gdb
33243 maybe-clean-gdb: clean-gdb
33245 clean-gdb:
33246 @: $(MAKE); $(unstage)
33247 @[ -f ./gdb/Makefile ] || exit 0; \
33248 r=`${PWD_COMMAND}`; export r; \
33249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33250 $(HOST_EXPORTS) \
33251 for flag in $(EXTRA_HOST_FLAGS) ; do \
33252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33253 done; \
33254 echo "Doing clean in gdb"; \
33255 (cd $(HOST_SUBDIR)/gdb && \
33256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33258 "RANLIB=$${RANLIB}" \
33259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33260 clean) \
33261 || exit 1
33263 @endif gdb
33265 .PHONY: maybe-distclean-gdb distclean-gdb
33266 maybe-distclean-gdb:
33267 @if gdb
33268 maybe-distclean-gdb: distclean-gdb
33270 distclean-gdb:
33271 @: $(MAKE); $(unstage)
33272 @[ -f ./gdb/Makefile ] || exit 0; \
33273 r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 $(HOST_EXPORTS) \
33276 for flag in $(EXTRA_HOST_FLAGS) ; do \
33277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33278 done; \
33279 echo "Doing distclean in gdb"; \
33280 (cd $(HOST_SUBDIR)/gdb && \
33281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33283 "RANLIB=$${RANLIB}" \
33284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33285 distclean) \
33286 || exit 1
33288 @endif gdb
33290 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33291 maybe-maintainer-clean-gdb:
33292 @if gdb
33293 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33295 maintainer-clean-gdb:
33296 @: $(MAKE); $(unstage)
33297 @[ -f ./gdb/Makefile ] || exit 0; \
33298 r=`${PWD_COMMAND}`; export r; \
33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33300 $(HOST_EXPORTS) \
33301 for flag in $(EXTRA_HOST_FLAGS) ; do \
33302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33303 done; \
33304 echo "Doing maintainer-clean in gdb"; \
33305 (cd $(HOST_SUBDIR)/gdb && \
33306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33308 "RANLIB=$${RANLIB}" \
33309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33310 maintainer-clean) \
33311 || exit 1
33313 @endif gdb
33317 .PHONY: configure-expect maybe-configure-expect
33318 maybe-configure-expect:
33319 @if gcc-bootstrap
33320 configure-expect: stage_current
33321 @endif gcc-bootstrap
33322 @if expect
33323 maybe-configure-expect: configure-expect
33324 configure-expect:
33325 @: $(MAKE); $(unstage)
33326 @r=`${PWD_COMMAND}`; export r; \
33327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33328 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
33329 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
33330 $(HOST_EXPORTS) \
33331 echo Configuring in $(HOST_SUBDIR)/expect; \
33332 cd "$(HOST_SUBDIR)/expect" || exit 1; \
33333 case $(srcdir) in \
33334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33335 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
33336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33337 esac; \
33338 module_srcdir=expect; \
33339 $(SHELL) \
33340 $$s/$$module_srcdir/configure \
33341 --srcdir=$${topdir}/$$module_srcdir \
33342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33343 --target=${target_alias} \
33344 || exit 1
33345 @endif expect
33351 .PHONY: all-expect maybe-all-expect
33352 maybe-all-expect:
33353 @if gcc-bootstrap
33354 all-expect: stage_current
33355 @endif gcc-bootstrap
33356 @if expect
33357 TARGET-expect=all
33358 maybe-all-expect: all-expect
33359 all-expect: configure-expect
33360 @: $(MAKE); $(unstage)
33361 @r=`${PWD_COMMAND}`; export r; \
33362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33363 $(HOST_EXPORTS) \
33364 (cd $(HOST_SUBDIR)/expect && \
33365 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33366 $(TARGET-expect))
33367 @endif expect
33372 .PHONY: check-expect maybe-check-expect
33373 maybe-check-expect:
33374 @if expect
33375 maybe-check-expect: check-expect
33377 check-expect:
33378 @: $(MAKE); $(unstage)
33379 @r=`${PWD_COMMAND}`; export r; \
33380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33381 $(HOST_EXPORTS) \
33382 (cd $(HOST_SUBDIR)/expect && \
33383 $(MAKE) $(FLAGS_TO_PASS) check)
33385 @endif expect
33387 .PHONY: install-expect maybe-install-expect
33388 maybe-install-expect:
33389 @if expect
33390 maybe-install-expect: install-expect
33392 install-expect: installdirs
33393 @: $(MAKE); $(unstage)
33394 @r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(HOST_EXPORTS) \
33397 (cd $(HOST_SUBDIR)/expect && \
33398 $(MAKE) $(FLAGS_TO_PASS) install)
33400 @endif expect
33402 .PHONY: install-strip-expect maybe-install-strip-expect
33403 maybe-install-strip-expect:
33404 @if expect
33405 maybe-install-strip-expect: install-strip-expect
33407 install-strip-expect: installdirs
33408 @: $(MAKE); $(unstage)
33409 @r=`${PWD_COMMAND}`; export r; \
33410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33411 $(HOST_EXPORTS) \
33412 (cd $(HOST_SUBDIR)/expect && \
33413 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33415 @endif expect
33417 # Other targets (info, dvi, pdf, etc.)
33419 .PHONY: maybe-info-expect info-expect
33420 maybe-info-expect:
33421 @if expect
33422 maybe-info-expect: info-expect
33424 info-expect: \
33425 configure-expect
33426 @: $(MAKE); $(unstage)
33427 @[ -f ./expect/Makefile ] || exit 0; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(HOST_EXPORTS) \
33431 for flag in $(EXTRA_HOST_FLAGS) ; do \
33432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33433 done; \
33434 echo "Doing info in expect"; \
33435 (cd $(HOST_SUBDIR)/expect && \
33436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33438 "RANLIB=$${RANLIB}" \
33439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33440 info) \
33441 || exit 1
33443 @endif expect
33445 .PHONY: maybe-dvi-expect dvi-expect
33446 maybe-dvi-expect:
33447 @if expect
33448 maybe-dvi-expect: dvi-expect
33450 dvi-expect: \
33451 configure-expect
33452 @: $(MAKE); $(unstage)
33453 @[ -f ./expect/Makefile ] || exit 0; \
33454 r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 $(HOST_EXPORTS) \
33457 for flag in $(EXTRA_HOST_FLAGS) ; do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 echo "Doing dvi in expect"; \
33461 (cd $(HOST_SUBDIR)/expect && \
33462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33464 "RANLIB=$${RANLIB}" \
33465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33466 dvi) \
33467 || exit 1
33469 @endif expect
33471 .PHONY: maybe-pdf-expect pdf-expect
33472 maybe-pdf-expect:
33473 @if expect
33474 maybe-pdf-expect: pdf-expect
33476 pdf-expect: \
33477 configure-expect
33478 @: $(MAKE); $(unstage)
33479 @[ -f ./expect/Makefile ] || exit 0; \
33480 r=`${PWD_COMMAND}`; export r; \
33481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33482 $(HOST_EXPORTS) \
33483 for flag in $(EXTRA_HOST_FLAGS) ; do \
33484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33485 done; \
33486 echo "Doing pdf in expect"; \
33487 (cd $(HOST_SUBDIR)/expect && \
33488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33490 "RANLIB=$${RANLIB}" \
33491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33492 pdf) \
33493 || exit 1
33495 @endif expect
33497 .PHONY: maybe-html-expect html-expect
33498 maybe-html-expect:
33499 @if expect
33500 maybe-html-expect: html-expect
33502 html-expect: \
33503 configure-expect
33504 @: $(MAKE); $(unstage)
33505 @[ -f ./expect/Makefile ] || exit 0; \
33506 r=`${PWD_COMMAND}`; export r; \
33507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33508 $(HOST_EXPORTS) \
33509 for flag in $(EXTRA_HOST_FLAGS) ; do \
33510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33511 done; \
33512 echo "Doing html in expect"; \
33513 (cd $(HOST_SUBDIR)/expect && \
33514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33516 "RANLIB=$${RANLIB}" \
33517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33518 html) \
33519 || exit 1
33521 @endif expect
33523 .PHONY: maybe-TAGS-expect TAGS-expect
33524 maybe-TAGS-expect:
33525 @if expect
33526 maybe-TAGS-expect: TAGS-expect
33528 TAGS-expect: \
33529 configure-expect
33530 @: $(MAKE); $(unstage)
33531 @[ -f ./expect/Makefile ] || exit 0; \
33532 r=`${PWD_COMMAND}`; export r; \
33533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33534 $(HOST_EXPORTS) \
33535 for flag in $(EXTRA_HOST_FLAGS) ; do \
33536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33537 done; \
33538 echo "Doing TAGS in expect"; \
33539 (cd $(HOST_SUBDIR)/expect && \
33540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33542 "RANLIB=$${RANLIB}" \
33543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33544 TAGS) \
33545 || exit 1
33547 @endif expect
33549 .PHONY: maybe-install-info-expect install-info-expect
33550 maybe-install-info-expect:
33551 @if expect
33552 maybe-install-info-expect: install-info-expect
33554 install-info-expect: \
33555 configure-expect \
33556 info-expect
33557 @: $(MAKE); $(unstage)
33558 @[ -f ./expect/Makefile ] || exit 0; \
33559 r=`${PWD_COMMAND}`; export r; \
33560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33561 $(HOST_EXPORTS) \
33562 for flag in $(EXTRA_HOST_FLAGS) ; do \
33563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33564 done; \
33565 echo "Doing install-info in expect"; \
33566 (cd $(HOST_SUBDIR)/expect && \
33567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33569 "RANLIB=$${RANLIB}" \
33570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33571 install-info) \
33572 || exit 1
33574 @endif expect
33576 .PHONY: maybe-install-pdf-expect install-pdf-expect
33577 maybe-install-pdf-expect:
33578 @if expect
33579 maybe-install-pdf-expect: install-pdf-expect
33581 install-pdf-expect: \
33582 configure-expect \
33583 pdf-expect
33584 @: $(MAKE); $(unstage)
33585 @[ -f ./expect/Makefile ] || exit 0; \
33586 r=`${PWD_COMMAND}`; export r; \
33587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33588 $(HOST_EXPORTS) \
33589 for flag in $(EXTRA_HOST_FLAGS) ; do \
33590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33591 done; \
33592 echo "Doing install-pdf in expect"; \
33593 (cd $(HOST_SUBDIR)/expect && \
33594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33596 "RANLIB=$${RANLIB}" \
33597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33598 install-pdf) \
33599 || exit 1
33601 @endif expect
33603 .PHONY: maybe-install-html-expect install-html-expect
33604 maybe-install-html-expect:
33605 @if expect
33606 maybe-install-html-expect: install-html-expect
33608 install-html-expect: \
33609 configure-expect \
33610 html-expect
33611 @: $(MAKE); $(unstage)
33612 @[ -f ./expect/Makefile ] || exit 0; \
33613 r=`${PWD_COMMAND}`; export r; \
33614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33615 $(HOST_EXPORTS) \
33616 for flag in $(EXTRA_HOST_FLAGS) ; do \
33617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33618 done; \
33619 echo "Doing install-html in expect"; \
33620 (cd $(HOST_SUBDIR)/expect && \
33621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33623 "RANLIB=$${RANLIB}" \
33624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33625 install-html) \
33626 || exit 1
33628 @endif expect
33630 .PHONY: maybe-installcheck-expect installcheck-expect
33631 maybe-installcheck-expect:
33632 @if expect
33633 maybe-installcheck-expect: installcheck-expect
33635 installcheck-expect: \
33636 configure-expect
33637 @: $(MAKE); $(unstage)
33638 @[ -f ./expect/Makefile ] || exit 0; \
33639 r=`${PWD_COMMAND}`; export r; \
33640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33641 $(HOST_EXPORTS) \
33642 for flag in $(EXTRA_HOST_FLAGS) ; do \
33643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33644 done; \
33645 echo "Doing installcheck in expect"; \
33646 (cd $(HOST_SUBDIR)/expect && \
33647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33649 "RANLIB=$${RANLIB}" \
33650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33651 installcheck) \
33652 || exit 1
33654 @endif expect
33656 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33657 maybe-mostlyclean-expect:
33658 @if expect
33659 maybe-mostlyclean-expect: mostlyclean-expect
33661 mostlyclean-expect:
33662 @: $(MAKE); $(unstage)
33663 @[ -f ./expect/Makefile ] || exit 0; \
33664 r=`${PWD_COMMAND}`; export r; \
33665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33666 $(HOST_EXPORTS) \
33667 for flag in $(EXTRA_HOST_FLAGS) ; do \
33668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33669 done; \
33670 echo "Doing mostlyclean in expect"; \
33671 (cd $(HOST_SUBDIR)/expect && \
33672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33674 "RANLIB=$${RANLIB}" \
33675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33676 mostlyclean) \
33677 || exit 1
33679 @endif expect
33681 .PHONY: maybe-clean-expect clean-expect
33682 maybe-clean-expect:
33683 @if expect
33684 maybe-clean-expect: clean-expect
33686 clean-expect:
33687 @: $(MAKE); $(unstage)
33688 @[ -f ./expect/Makefile ] || exit 0; \
33689 r=`${PWD_COMMAND}`; export r; \
33690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33691 $(HOST_EXPORTS) \
33692 for flag in $(EXTRA_HOST_FLAGS) ; do \
33693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33694 done; \
33695 echo "Doing clean in expect"; \
33696 (cd $(HOST_SUBDIR)/expect && \
33697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33699 "RANLIB=$${RANLIB}" \
33700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33701 clean) \
33702 || exit 1
33704 @endif expect
33706 .PHONY: maybe-distclean-expect distclean-expect
33707 maybe-distclean-expect:
33708 @if expect
33709 maybe-distclean-expect: distclean-expect
33711 distclean-expect:
33712 @: $(MAKE); $(unstage)
33713 @[ -f ./expect/Makefile ] || exit 0; \
33714 r=`${PWD_COMMAND}`; export r; \
33715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33716 $(HOST_EXPORTS) \
33717 for flag in $(EXTRA_HOST_FLAGS) ; do \
33718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33719 done; \
33720 echo "Doing distclean in expect"; \
33721 (cd $(HOST_SUBDIR)/expect && \
33722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33724 "RANLIB=$${RANLIB}" \
33725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33726 distclean) \
33727 || exit 1
33729 @endif expect
33731 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33732 maybe-maintainer-clean-expect:
33733 @if expect
33734 maybe-maintainer-clean-expect: maintainer-clean-expect
33736 maintainer-clean-expect:
33737 @: $(MAKE); $(unstage)
33738 @[ -f ./expect/Makefile ] || exit 0; \
33739 r=`${PWD_COMMAND}`; export r; \
33740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33741 $(HOST_EXPORTS) \
33742 for flag in $(EXTRA_HOST_FLAGS) ; do \
33743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33744 done; \
33745 echo "Doing maintainer-clean in expect"; \
33746 (cd $(HOST_SUBDIR)/expect && \
33747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33749 "RANLIB=$${RANLIB}" \
33750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33751 maintainer-clean) \
33752 || exit 1
33754 @endif expect
33758 .PHONY: configure-guile maybe-configure-guile
33759 maybe-configure-guile:
33760 @if gcc-bootstrap
33761 configure-guile: stage_current
33762 @endif gcc-bootstrap
33763 @if guile
33764 maybe-configure-guile: configure-guile
33765 configure-guile:
33766 @: $(MAKE); $(unstage)
33767 @r=`${PWD_COMMAND}`; export r; \
33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33769 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
33770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
33771 $(HOST_EXPORTS) \
33772 echo Configuring in $(HOST_SUBDIR)/guile; \
33773 cd "$(HOST_SUBDIR)/guile" || exit 1; \
33774 case $(srcdir) in \
33775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33776 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
33777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33778 esac; \
33779 module_srcdir=guile; \
33780 $(SHELL) \
33781 $$s/$$module_srcdir/configure \
33782 --srcdir=$${topdir}/$$module_srcdir \
33783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33784 --target=${target_alias} \
33785 || exit 1
33786 @endif guile
33792 .PHONY: all-guile maybe-all-guile
33793 maybe-all-guile:
33794 @if gcc-bootstrap
33795 all-guile: stage_current
33796 @endif gcc-bootstrap
33797 @if guile
33798 TARGET-guile=all
33799 maybe-all-guile: all-guile
33800 all-guile: configure-guile
33801 @: $(MAKE); $(unstage)
33802 @r=`${PWD_COMMAND}`; export r; \
33803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33804 $(HOST_EXPORTS) \
33805 (cd $(HOST_SUBDIR)/guile && \
33806 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33807 $(TARGET-guile))
33808 @endif guile
33813 .PHONY: check-guile maybe-check-guile
33814 maybe-check-guile:
33815 @if guile
33816 maybe-check-guile: check-guile
33818 check-guile:
33819 @: $(MAKE); $(unstage)
33820 @r=`${PWD_COMMAND}`; export r; \
33821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33822 $(HOST_EXPORTS) \
33823 (cd $(HOST_SUBDIR)/guile && \
33824 $(MAKE) $(FLAGS_TO_PASS) check)
33826 @endif guile
33828 .PHONY: install-guile maybe-install-guile
33829 maybe-install-guile:
33830 @if guile
33831 maybe-install-guile: install-guile
33833 install-guile: installdirs
33834 @: $(MAKE); $(unstage)
33835 @r=`${PWD_COMMAND}`; export r; \
33836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33837 $(HOST_EXPORTS) \
33838 (cd $(HOST_SUBDIR)/guile && \
33839 $(MAKE) $(FLAGS_TO_PASS) install)
33841 @endif guile
33843 .PHONY: install-strip-guile maybe-install-strip-guile
33844 maybe-install-strip-guile:
33845 @if guile
33846 maybe-install-strip-guile: install-strip-guile
33848 install-strip-guile: installdirs
33849 @: $(MAKE); $(unstage)
33850 @r=`${PWD_COMMAND}`; export r; \
33851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33852 $(HOST_EXPORTS) \
33853 (cd $(HOST_SUBDIR)/guile && \
33854 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33856 @endif guile
33858 # Other targets (info, dvi, pdf, etc.)
33860 .PHONY: maybe-info-guile info-guile
33861 maybe-info-guile:
33862 @if guile
33863 maybe-info-guile: info-guile
33865 info-guile: \
33866 configure-guile
33867 @: $(MAKE); $(unstage)
33868 @[ -f ./guile/Makefile ] || exit 0; \
33869 r=`${PWD_COMMAND}`; export r; \
33870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33871 $(HOST_EXPORTS) \
33872 for flag in $(EXTRA_HOST_FLAGS) ; do \
33873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33874 done; \
33875 echo "Doing info in guile"; \
33876 (cd $(HOST_SUBDIR)/guile && \
33877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33879 "RANLIB=$${RANLIB}" \
33880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33881 info) \
33882 || exit 1
33884 @endif guile
33886 .PHONY: maybe-dvi-guile dvi-guile
33887 maybe-dvi-guile:
33888 @if guile
33889 maybe-dvi-guile: dvi-guile
33891 dvi-guile: \
33892 configure-guile
33893 @: $(MAKE); $(unstage)
33894 @[ -f ./guile/Makefile ] || exit 0; \
33895 r=`${PWD_COMMAND}`; export r; \
33896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33897 $(HOST_EXPORTS) \
33898 for flag in $(EXTRA_HOST_FLAGS) ; do \
33899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33900 done; \
33901 echo "Doing dvi in guile"; \
33902 (cd $(HOST_SUBDIR)/guile && \
33903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33905 "RANLIB=$${RANLIB}" \
33906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33907 dvi) \
33908 || exit 1
33910 @endif guile
33912 .PHONY: maybe-pdf-guile pdf-guile
33913 maybe-pdf-guile:
33914 @if guile
33915 maybe-pdf-guile: pdf-guile
33917 pdf-guile: \
33918 configure-guile
33919 @: $(MAKE); $(unstage)
33920 @[ -f ./guile/Makefile ] || exit 0; \
33921 r=`${PWD_COMMAND}`; export r; \
33922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33923 $(HOST_EXPORTS) \
33924 for flag in $(EXTRA_HOST_FLAGS) ; do \
33925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33926 done; \
33927 echo "Doing pdf in guile"; \
33928 (cd $(HOST_SUBDIR)/guile && \
33929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33931 "RANLIB=$${RANLIB}" \
33932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33933 pdf) \
33934 || exit 1
33936 @endif guile
33938 .PHONY: maybe-html-guile html-guile
33939 maybe-html-guile:
33940 @if guile
33941 maybe-html-guile: html-guile
33943 html-guile: \
33944 configure-guile
33945 @: $(MAKE); $(unstage)
33946 @[ -f ./guile/Makefile ] || exit 0; \
33947 r=`${PWD_COMMAND}`; export r; \
33948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33949 $(HOST_EXPORTS) \
33950 for flag in $(EXTRA_HOST_FLAGS) ; do \
33951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33952 done; \
33953 echo "Doing html in guile"; \
33954 (cd $(HOST_SUBDIR)/guile && \
33955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33957 "RANLIB=$${RANLIB}" \
33958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33959 html) \
33960 || exit 1
33962 @endif guile
33964 .PHONY: maybe-TAGS-guile TAGS-guile
33965 maybe-TAGS-guile:
33966 @if guile
33967 maybe-TAGS-guile: TAGS-guile
33969 TAGS-guile: \
33970 configure-guile
33971 @: $(MAKE); $(unstage)
33972 @[ -f ./guile/Makefile ] || exit 0; \
33973 r=`${PWD_COMMAND}`; export r; \
33974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33975 $(HOST_EXPORTS) \
33976 for flag in $(EXTRA_HOST_FLAGS) ; do \
33977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33978 done; \
33979 echo "Doing TAGS in guile"; \
33980 (cd $(HOST_SUBDIR)/guile && \
33981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33983 "RANLIB=$${RANLIB}" \
33984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33985 TAGS) \
33986 || exit 1
33988 @endif guile
33990 .PHONY: maybe-install-info-guile install-info-guile
33991 maybe-install-info-guile:
33992 @if guile
33993 maybe-install-info-guile: install-info-guile
33995 install-info-guile: \
33996 configure-guile \
33997 info-guile
33998 @: $(MAKE); $(unstage)
33999 @[ -f ./guile/Makefile ] || exit 0; \
34000 r=`${PWD_COMMAND}`; export r; \
34001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34002 $(HOST_EXPORTS) \
34003 for flag in $(EXTRA_HOST_FLAGS) ; do \
34004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34005 done; \
34006 echo "Doing install-info in guile"; \
34007 (cd $(HOST_SUBDIR)/guile && \
34008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34010 "RANLIB=$${RANLIB}" \
34011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34012 install-info) \
34013 || exit 1
34015 @endif guile
34017 .PHONY: maybe-install-pdf-guile install-pdf-guile
34018 maybe-install-pdf-guile:
34019 @if guile
34020 maybe-install-pdf-guile: install-pdf-guile
34022 install-pdf-guile: \
34023 configure-guile \
34024 pdf-guile
34025 @: $(MAKE); $(unstage)
34026 @[ -f ./guile/Makefile ] || exit 0; \
34027 r=`${PWD_COMMAND}`; export r; \
34028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34029 $(HOST_EXPORTS) \
34030 for flag in $(EXTRA_HOST_FLAGS) ; do \
34031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34032 done; \
34033 echo "Doing install-pdf in guile"; \
34034 (cd $(HOST_SUBDIR)/guile && \
34035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34037 "RANLIB=$${RANLIB}" \
34038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34039 install-pdf) \
34040 || exit 1
34042 @endif guile
34044 .PHONY: maybe-install-html-guile install-html-guile
34045 maybe-install-html-guile:
34046 @if guile
34047 maybe-install-html-guile: install-html-guile
34049 install-html-guile: \
34050 configure-guile \
34051 html-guile
34052 @: $(MAKE); $(unstage)
34053 @[ -f ./guile/Makefile ] || exit 0; \
34054 r=`${PWD_COMMAND}`; export r; \
34055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34056 $(HOST_EXPORTS) \
34057 for flag in $(EXTRA_HOST_FLAGS) ; do \
34058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34059 done; \
34060 echo "Doing install-html in guile"; \
34061 (cd $(HOST_SUBDIR)/guile && \
34062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34064 "RANLIB=$${RANLIB}" \
34065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34066 install-html) \
34067 || exit 1
34069 @endif guile
34071 .PHONY: maybe-installcheck-guile installcheck-guile
34072 maybe-installcheck-guile:
34073 @if guile
34074 maybe-installcheck-guile: installcheck-guile
34076 installcheck-guile: \
34077 configure-guile
34078 @: $(MAKE); $(unstage)
34079 @[ -f ./guile/Makefile ] || exit 0; \
34080 r=`${PWD_COMMAND}`; export r; \
34081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34082 $(HOST_EXPORTS) \
34083 for flag in $(EXTRA_HOST_FLAGS) ; do \
34084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34085 done; \
34086 echo "Doing installcheck in guile"; \
34087 (cd $(HOST_SUBDIR)/guile && \
34088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34090 "RANLIB=$${RANLIB}" \
34091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34092 installcheck) \
34093 || exit 1
34095 @endif guile
34097 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34098 maybe-mostlyclean-guile:
34099 @if guile
34100 maybe-mostlyclean-guile: mostlyclean-guile
34102 mostlyclean-guile:
34103 @: $(MAKE); $(unstage)
34104 @[ -f ./guile/Makefile ] || exit 0; \
34105 r=`${PWD_COMMAND}`; export r; \
34106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34107 $(HOST_EXPORTS) \
34108 for flag in $(EXTRA_HOST_FLAGS) ; do \
34109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34110 done; \
34111 echo "Doing mostlyclean in guile"; \
34112 (cd $(HOST_SUBDIR)/guile && \
34113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34115 "RANLIB=$${RANLIB}" \
34116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34117 mostlyclean) \
34118 || exit 1
34120 @endif guile
34122 .PHONY: maybe-clean-guile clean-guile
34123 maybe-clean-guile:
34124 @if guile
34125 maybe-clean-guile: clean-guile
34127 clean-guile:
34128 @: $(MAKE); $(unstage)
34129 @[ -f ./guile/Makefile ] || exit 0; \
34130 r=`${PWD_COMMAND}`; export r; \
34131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34132 $(HOST_EXPORTS) \
34133 for flag in $(EXTRA_HOST_FLAGS) ; do \
34134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34135 done; \
34136 echo "Doing clean in guile"; \
34137 (cd $(HOST_SUBDIR)/guile && \
34138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34140 "RANLIB=$${RANLIB}" \
34141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34142 clean) \
34143 || exit 1
34145 @endif guile
34147 .PHONY: maybe-distclean-guile distclean-guile
34148 maybe-distclean-guile:
34149 @if guile
34150 maybe-distclean-guile: distclean-guile
34152 distclean-guile:
34153 @: $(MAKE); $(unstage)
34154 @[ -f ./guile/Makefile ] || exit 0; \
34155 r=`${PWD_COMMAND}`; export r; \
34156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34157 $(HOST_EXPORTS) \
34158 for flag in $(EXTRA_HOST_FLAGS) ; do \
34159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34160 done; \
34161 echo "Doing distclean in guile"; \
34162 (cd $(HOST_SUBDIR)/guile && \
34163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34165 "RANLIB=$${RANLIB}" \
34166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34167 distclean) \
34168 || exit 1
34170 @endif guile
34172 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34173 maybe-maintainer-clean-guile:
34174 @if guile
34175 maybe-maintainer-clean-guile: maintainer-clean-guile
34177 maintainer-clean-guile:
34178 @: $(MAKE); $(unstage)
34179 @[ -f ./guile/Makefile ] || exit 0; \
34180 r=`${PWD_COMMAND}`; export r; \
34181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34182 $(HOST_EXPORTS) \
34183 for flag in $(EXTRA_HOST_FLAGS) ; do \
34184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34185 done; \
34186 echo "Doing maintainer-clean in guile"; \
34187 (cd $(HOST_SUBDIR)/guile && \
34188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34190 "RANLIB=$${RANLIB}" \
34191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34192 maintainer-clean) \
34193 || exit 1
34195 @endif guile
34199 .PHONY: configure-tk maybe-configure-tk
34200 maybe-configure-tk:
34201 @if gcc-bootstrap
34202 configure-tk: stage_current
34203 @endif gcc-bootstrap
34204 @if tk
34205 maybe-configure-tk: configure-tk
34206 configure-tk:
34207 @: $(MAKE); $(unstage)
34208 @r=`${PWD_COMMAND}`; export r; \
34209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34210 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34212 $(HOST_EXPORTS) \
34213 echo Configuring in $(HOST_SUBDIR)/tk; \
34214 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34215 case $(srcdir) in \
34216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34217 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34219 esac; \
34220 module_srcdir=tk; \
34221 $(SHELL) \
34222 $$s/$$module_srcdir/configure \
34223 --srcdir=$${topdir}/$$module_srcdir \
34224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34225 --target=${target_alias} \
34226 || exit 1
34227 @endif tk
34233 .PHONY: all-tk maybe-all-tk
34234 maybe-all-tk:
34235 @if gcc-bootstrap
34236 all-tk: stage_current
34237 @endif gcc-bootstrap
34238 @if tk
34239 TARGET-tk=all
34240 maybe-all-tk: all-tk
34241 all-tk: configure-tk
34242 @: $(MAKE); $(unstage)
34243 @r=`${PWD_COMMAND}`; export r; \
34244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34245 $(HOST_EXPORTS) \
34246 (cd $(HOST_SUBDIR)/tk && \
34247 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34248 $(TARGET-tk))
34249 @endif tk
34254 .PHONY: check-tk maybe-check-tk
34255 maybe-check-tk:
34256 @if tk
34257 maybe-check-tk: check-tk
34259 check-tk:
34260 @: $(MAKE); $(unstage)
34261 @r=`${PWD_COMMAND}`; export r; \
34262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34263 $(HOST_EXPORTS) \
34264 (cd $(HOST_SUBDIR)/tk && \
34265 $(MAKE) $(FLAGS_TO_PASS) check)
34267 @endif tk
34269 .PHONY: install-tk maybe-install-tk
34270 maybe-install-tk:
34271 @if tk
34272 maybe-install-tk: install-tk
34274 install-tk: installdirs
34275 @: $(MAKE); $(unstage)
34276 @r=`${PWD_COMMAND}`; export r; \
34277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34278 $(HOST_EXPORTS) \
34279 (cd $(HOST_SUBDIR)/tk && \
34280 $(MAKE) $(FLAGS_TO_PASS) install)
34282 @endif tk
34284 .PHONY: install-strip-tk maybe-install-strip-tk
34285 maybe-install-strip-tk:
34286 @if tk
34287 maybe-install-strip-tk: install-strip-tk
34289 install-strip-tk: installdirs
34290 @: $(MAKE); $(unstage)
34291 @r=`${PWD_COMMAND}`; export r; \
34292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34293 $(HOST_EXPORTS) \
34294 (cd $(HOST_SUBDIR)/tk && \
34295 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34297 @endif tk
34299 # Other targets (info, dvi, pdf, etc.)
34301 .PHONY: maybe-info-tk info-tk
34302 maybe-info-tk:
34303 @if tk
34304 maybe-info-tk: info-tk
34306 info-tk: \
34307 configure-tk
34308 @: $(MAKE); $(unstage)
34309 @[ -f ./tk/Makefile ] || exit 0; \
34310 r=`${PWD_COMMAND}`; export r; \
34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34312 $(HOST_EXPORTS) \
34313 for flag in $(EXTRA_HOST_FLAGS) ; do \
34314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34315 done; \
34316 echo "Doing info in tk"; \
34317 (cd $(HOST_SUBDIR)/tk && \
34318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34320 "RANLIB=$${RANLIB}" \
34321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34322 info) \
34323 || exit 1
34325 @endif tk
34327 .PHONY: maybe-dvi-tk dvi-tk
34328 maybe-dvi-tk:
34329 @if tk
34330 maybe-dvi-tk: dvi-tk
34332 dvi-tk: \
34333 configure-tk
34334 @: $(MAKE); $(unstage)
34335 @[ -f ./tk/Makefile ] || exit 0; \
34336 r=`${PWD_COMMAND}`; export r; \
34337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34338 $(HOST_EXPORTS) \
34339 for flag in $(EXTRA_HOST_FLAGS) ; do \
34340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34341 done; \
34342 echo "Doing dvi in tk"; \
34343 (cd $(HOST_SUBDIR)/tk && \
34344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34346 "RANLIB=$${RANLIB}" \
34347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34348 dvi) \
34349 || exit 1
34351 @endif tk
34353 .PHONY: maybe-pdf-tk pdf-tk
34354 maybe-pdf-tk:
34355 @if tk
34356 maybe-pdf-tk: pdf-tk
34358 pdf-tk: \
34359 configure-tk
34360 @: $(MAKE); $(unstage)
34361 @[ -f ./tk/Makefile ] || exit 0; \
34362 r=`${PWD_COMMAND}`; export r; \
34363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34364 $(HOST_EXPORTS) \
34365 for flag in $(EXTRA_HOST_FLAGS) ; do \
34366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34367 done; \
34368 echo "Doing pdf in tk"; \
34369 (cd $(HOST_SUBDIR)/tk && \
34370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34372 "RANLIB=$${RANLIB}" \
34373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34374 pdf) \
34375 || exit 1
34377 @endif tk
34379 .PHONY: maybe-html-tk html-tk
34380 maybe-html-tk:
34381 @if tk
34382 maybe-html-tk: html-tk
34384 html-tk: \
34385 configure-tk
34386 @: $(MAKE); $(unstage)
34387 @[ -f ./tk/Makefile ] || exit 0; \
34388 r=`${PWD_COMMAND}`; export r; \
34389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34390 $(HOST_EXPORTS) \
34391 for flag in $(EXTRA_HOST_FLAGS) ; do \
34392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34393 done; \
34394 echo "Doing html in tk"; \
34395 (cd $(HOST_SUBDIR)/tk && \
34396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34398 "RANLIB=$${RANLIB}" \
34399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34400 html) \
34401 || exit 1
34403 @endif tk
34405 .PHONY: maybe-TAGS-tk TAGS-tk
34406 maybe-TAGS-tk:
34407 @if tk
34408 maybe-TAGS-tk: TAGS-tk
34410 TAGS-tk: \
34411 configure-tk
34412 @: $(MAKE); $(unstage)
34413 @[ -f ./tk/Makefile ] || exit 0; \
34414 r=`${PWD_COMMAND}`; export r; \
34415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34416 $(HOST_EXPORTS) \
34417 for flag in $(EXTRA_HOST_FLAGS) ; do \
34418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34419 done; \
34420 echo "Doing TAGS in tk"; \
34421 (cd $(HOST_SUBDIR)/tk && \
34422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34424 "RANLIB=$${RANLIB}" \
34425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34426 TAGS) \
34427 || exit 1
34429 @endif tk
34431 .PHONY: maybe-install-info-tk install-info-tk
34432 maybe-install-info-tk:
34433 @if tk
34434 maybe-install-info-tk: install-info-tk
34436 install-info-tk: \
34437 configure-tk \
34438 info-tk
34439 @: $(MAKE); $(unstage)
34440 @[ -f ./tk/Makefile ] || exit 0; \
34441 r=`${PWD_COMMAND}`; export r; \
34442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34443 $(HOST_EXPORTS) \
34444 for flag in $(EXTRA_HOST_FLAGS) ; do \
34445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34446 done; \
34447 echo "Doing install-info in tk"; \
34448 (cd $(HOST_SUBDIR)/tk && \
34449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34451 "RANLIB=$${RANLIB}" \
34452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34453 install-info) \
34454 || exit 1
34456 @endif tk
34458 .PHONY: maybe-install-pdf-tk install-pdf-tk
34459 maybe-install-pdf-tk:
34460 @if tk
34461 maybe-install-pdf-tk: install-pdf-tk
34463 install-pdf-tk: \
34464 configure-tk \
34465 pdf-tk
34466 @: $(MAKE); $(unstage)
34467 @[ -f ./tk/Makefile ] || exit 0; \
34468 r=`${PWD_COMMAND}`; export r; \
34469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34470 $(HOST_EXPORTS) \
34471 for flag in $(EXTRA_HOST_FLAGS) ; do \
34472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34473 done; \
34474 echo "Doing install-pdf in tk"; \
34475 (cd $(HOST_SUBDIR)/tk && \
34476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34478 "RANLIB=$${RANLIB}" \
34479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34480 install-pdf) \
34481 || exit 1
34483 @endif tk
34485 .PHONY: maybe-install-html-tk install-html-tk
34486 maybe-install-html-tk:
34487 @if tk
34488 maybe-install-html-tk: install-html-tk
34490 install-html-tk: \
34491 configure-tk \
34492 html-tk
34493 @: $(MAKE); $(unstage)
34494 @[ -f ./tk/Makefile ] || exit 0; \
34495 r=`${PWD_COMMAND}`; export r; \
34496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34497 $(HOST_EXPORTS) \
34498 for flag in $(EXTRA_HOST_FLAGS) ; do \
34499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34500 done; \
34501 echo "Doing install-html in tk"; \
34502 (cd $(HOST_SUBDIR)/tk && \
34503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34505 "RANLIB=$${RANLIB}" \
34506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34507 install-html) \
34508 || exit 1
34510 @endif tk
34512 .PHONY: maybe-installcheck-tk installcheck-tk
34513 maybe-installcheck-tk:
34514 @if tk
34515 maybe-installcheck-tk: installcheck-tk
34517 installcheck-tk: \
34518 configure-tk
34519 @: $(MAKE); $(unstage)
34520 @[ -f ./tk/Makefile ] || exit 0; \
34521 r=`${PWD_COMMAND}`; export r; \
34522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34523 $(HOST_EXPORTS) \
34524 for flag in $(EXTRA_HOST_FLAGS) ; do \
34525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34526 done; \
34527 echo "Doing installcheck in tk"; \
34528 (cd $(HOST_SUBDIR)/tk && \
34529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34531 "RANLIB=$${RANLIB}" \
34532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34533 installcheck) \
34534 || exit 1
34536 @endif tk
34538 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34539 maybe-mostlyclean-tk:
34540 @if tk
34541 maybe-mostlyclean-tk: mostlyclean-tk
34543 mostlyclean-tk:
34544 @: $(MAKE); $(unstage)
34545 @[ -f ./tk/Makefile ] || exit 0; \
34546 r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(HOST_EXPORTS) \
34549 for flag in $(EXTRA_HOST_FLAGS) ; do \
34550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34551 done; \
34552 echo "Doing mostlyclean in tk"; \
34553 (cd $(HOST_SUBDIR)/tk && \
34554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34556 "RANLIB=$${RANLIB}" \
34557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34558 mostlyclean) \
34559 || exit 1
34561 @endif tk
34563 .PHONY: maybe-clean-tk clean-tk
34564 maybe-clean-tk:
34565 @if tk
34566 maybe-clean-tk: clean-tk
34568 clean-tk:
34569 @: $(MAKE); $(unstage)
34570 @[ -f ./tk/Makefile ] || exit 0; \
34571 r=`${PWD_COMMAND}`; export r; \
34572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34573 $(HOST_EXPORTS) \
34574 for flag in $(EXTRA_HOST_FLAGS) ; do \
34575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34576 done; \
34577 echo "Doing clean in tk"; \
34578 (cd $(HOST_SUBDIR)/tk && \
34579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34581 "RANLIB=$${RANLIB}" \
34582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34583 clean) \
34584 || exit 1
34586 @endif tk
34588 .PHONY: maybe-distclean-tk distclean-tk
34589 maybe-distclean-tk:
34590 @if tk
34591 maybe-distclean-tk: distclean-tk
34593 distclean-tk:
34594 @: $(MAKE); $(unstage)
34595 @[ -f ./tk/Makefile ] || exit 0; \
34596 r=`${PWD_COMMAND}`; export r; \
34597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34598 $(HOST_EXPORTS) \
34599 for flag in $(EXTRA_HOST_FLAGS) ; do \
34600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34601 done; \
34602 echo "Doing distclean in tk"; \
34603 (cd $(HOST_SUBDIR)/tk && \
34604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34606 "RANLIB=$${RANLIB}" \
34607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34608 distclean) \
34609 || exit 1
34611 @endif tk
34613 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34614 maybe-maintainer-clean-tk:
34615 @if tk
34616 maybe-maintainer-clean-tk: maintainer-clean-tk
34618 maintainer-clean-tk:
34619 @: $(MAKE); $(unstage)
34620 @[ -f ./tk/Makefile ] || exit 0; \
34621 r=`${PWD_COMMAND}`; export r; \
34622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34623 $(HOST_EXPORTS) \
34624 for flag in $(EXTRA_HOST_FLAGS) ; do \
34625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34626 done; \
34627 echo "Doing maintainer-clean in tk"; \
34628 (cd $(HOST_SUBDIR)/tk && \
34629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34631 "RANLIB=$${RANLIB}" \
34632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34633 maintainer-clean) \
34634 || exit 1
34636 @endif tk
34640 .PHONY: configure-libtermcap maybe-configure-libtermcap
34641 maybe-configure-libtermcap:
34642 @if gcc-bootstrap
34643 configure-libtermcap: stage_current
34644 @endif gcc-bootstrap
34645 @if libtermcap
34646 maybe-configure-libtermcap: configure-libtermcap
34647 configure-libtermcap:
34648 @: $(MAKE); $(unstage)
34649 @r=`${PWD_COMMAND}`; export r; \
34650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34651 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
34653 $(HOST_EXPORTS) \
34654 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34655 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34656 case $(srcdir) in \
34657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34658 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34660 esac; \
34661 module_srcdir=libtermcap; \
34662 $(SHELL) \
34663 $$s/$$module_srcdir/configure \
34664 --srcdir=$${topdir}/$$module_srcdir \
34665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34666 --target=${target_alias} \
34667 || exit 1
34668 @endif libtermcap
34674 .PHONY: all-libtermcap maybe-all-libtermcap
34675 maybe-all-libtermcap:
34676 @if gcc-bootstrap
34677 all-libtermcap: stage_current
34678 @endif gcc-bootstrap
34679 @if libtermcap
34680 TARGET-libtermcap=all
34681 maybe-all-libtermcap: all-libtermcap
34682 all-libtermcap: configure-libtermcap
34683 @: $(MAKE); $(unstage)
34684 @r=`${PWD_COMMAND}`; export r; \
34685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34686 $(HOST_EXPORTS) \
34687 (cd $(HOST_SUBDIR)/libtermcap && \
34688 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34689 $(TARGET-libtermcap))
34690 @endif libtermcap
34695 .PHONY: check-libtermcap maybe-check-libtermcap
34696 maybe-check-libtermcap:
34697 @if libtermcap
34698 maybe-check-libtermcap: check-libtermcap
34700 check-libtermcap:
34702 @endif libtermcap
34704 .PHONY: install-libtermcap maybe-install-libtermcap
34705 maybe-install-libtermcap:
34706 @if libtermcap
34707 maybe-install-libtermcap: install-libtermcap
34709 install-libtermcap: installdirs
34710 @: $(MAKE); $(unstage)
34711 @r=`${PWD_COMMAND}`; export r; \
34712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34713 $(HOST_EXPORTS) \
34714 (cd $(HOST_SUBDIR)/libtermcap && \
34715 $(MAKE) $(FLAGS_TO_PASS) install)
34717 @endif libtermcap
34719 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
34720 maybe-install-strip-libtermcap:
34721 @if libtermcap
34722 maybe-install-strip-libtermcap: install-strip-libtermcap
34724 install-strip-libtermcap: installdirs
34725 @: $(MAKE); $(unstage)
34726 @r=`${PWD_COMMAND}`; export r; \
34727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34728 $(HOST_EXPORTS) \
34729 (cd $(HOST_SUBDIR)/libtermcap && \
34730 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34732 @endif libtermcap
34734 # Other targets (info, dvi, pdf, etc.)
34736 .PHONY: maybe-info-libtermcap info-libtermcap
34737 maybe-info-libtermcap:
34738 @if libtermcap
34739 maybe-info-libtermcap: info-libtermcap
34741 info-libtermcap: \
34742 configure-libtermcap
34743 @: $(MAKE); $(unstage)
34744 @[ -f ./libtermcap/Makefile ] || exit 0; \
34745 r=`${PWD_COMMAND}`; export r; \
34746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34747 $(HOST_EXPORTS) \
34748 for flag in $(EXTRA_HOST_FLAGS) ; do \
34749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34750 done; \
34751 echo "Doing info in libtermcap"; \
34752 (cd $(HOST_SUBDIR)/libtermcap && \
34753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34755 "RANLIB=$${RANLIB}" \
34756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34757 info) \
34758 || exit 1
34760 @endif libtermcap
34762 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34763 maybe-dvi-libtermcap:
34764 @if libtermcap
34765 maybe-dvi-libtermcap: dvi-libtermcap
34767 dvi-libtermcap: \
34768 configure-libtermcap
34769 @: $(MAKE); $(unstage)
34770 @[ -f ./libtermcap/Makefile ] || exit 0; \
34771 r=`${PWD_COMMAND}`; export r; \
34772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34773 $(HOST_EXPORTS) \
34774 for flag in $(EXTRA_HOST_FLAGS) ; do \
34775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34776 done; \
34777 echo "Doing dvi in libtermcap"; \
34778 (cd $(HOST_SUBDIR)/libtermcap && \
34779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34781 "RANLIB=$${RANLIB}" \
34782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34783 dvi) \
34784 || exit 1
34786 @endif libtermcap
34788 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
34789 maybe-pdf-libtermcap:
34790 @if libtermcap
34791 maybe-pdf-libtermcap: pdf-libtermcap
34793 pdf-libtermcap: \
34794 configure-libtermcap
34795 @: $(MAKE); $(unstage)
34796 @[ -f ./libtermcap/Makefile ] || exit 0; \
34797 r=`${PWD_COMMAND}`; export r; \
34798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34799 $(HOST_EXPORTS) \
34800 for flag in $(EXTRA_HOST_FLAGS) ; do \
34801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34802 done; \
34803 echo "Doing pdf in libtermcap"; \
34804 (cd $(HOST_SUBDIR)/libtermcap && \
34805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34807 "RANLIB=$${RANLIB}" \
34808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34809 pdf) \
34810 || exit 1
34812 @endif libtermcap
34814 .PHONY: maybe-html-libtermcap html-libtermcap
34815 maybe-html-libtermcap:
34816 @if libtermcap
34817 maybe-html-libtermcap: html-libtermcap
34819 html-libtermcap: \
34820 configure-libtermcap
34821 @: $(MAKE); $(unstage)
34822 @[ -f ./libtermcap/Makefile ] || exit 0; \
34823 r=`${PWD_COMMAND}`; export r; \
34824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34825 $(HOST_EXPORTS) \
34826 for flag in $(EXTRA_HOST_FLAGS) ; do \
34827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34828 done; \
34829 echo "Doing html in libtermcap"; \
34830 (cd $(HOST_SUBDIR)/libtermcap && \
34831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34833 "RANLIB=$${RANLIB}" \
34834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34835 html) \
34836 || exit 1
34838 @endif libtermcap
34840 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
34841 maybe-TAGS-libtermcap:
34842 @if libtermcap
34843 maybe-TAGS-libtermcap: TAGS-libtermcap
34845 TAGS-libtermcap: \
34846 configure-libtermcap
34847 @: $(MAKE); $(unstage)
34848 @[ -f ./libtermcap/Makefile ] || exit 0; \
34849 r=`${PWD_COMMAND}`; export r; \
34850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34851 $(HOST_EXPORTS) \
34852 for flag in $(EXTRA_HOST_FLAGS) ; do \
34853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34854 done; \
34855 echo "Doing TAGS in libtermcap"; \
34856 (cd $(HOST_SUBDIR)/libtermcap && \
34857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34859 "RANLIB=$${RANLIB}" \
34860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34861 TAGS) \
34862 || exit 1
34864 @endif libtermcap
34866 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
34867 maybe-install-info-libtermcap:
34868 @if libtermcap
34869 maybe-install-info-libtermcap: install-info-libtermcap
34871 install-info-libtermcap: \
34872 configure-libtermcap \
34873 info-libtermcap
34874 @: $(MAKE); $(unstage)
34875 @[ -f ./libtermcap/Makefile ] || exit 0; \
34876 r=`${PWD_COMMAND}`; export r; \
34877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34878 $(HOST_EXPORTS) \
34879 for flag in $(EXTRA_HOST_FLAGS) ; do \
34880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34881 done; \
34882 echo "Doing install-info in libtermcap"; \
34883 (cd $(HOST_SUBDIR)/libtermcap && \
34884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34886 "RANLIB=$${RANLIB}" \
34887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34888 install-info) \
34889 || exit 1
34891 @endif libtermcap
34893 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
34894 maybe-install-pdf-libtermcap:
34895 @if libtermcap
34896 maybe-install-pdf-libtermcap: install-pdf-libtermcap
34898 install-pdf-libtermcap: \
34899 configure-libtermcap \
34900 pdf-libtermcap
34901 @: $(MAKE); $(unstage)
34902 @[ -f ./libtermcap/Makefile ] || exit 0; \
34903 r=`${PWD_COMMAND}`; export r; \
34904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34905 $(HOST_EXPORTS) \
34906 for flag in $(EXTRA_HOST_FLAGS) ; do \
34907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34908 done; \
34909 echo "Doing install-pdf in libtermcap"; \
34910 (cd $(HOST_SUBDIR)/libtermcap && \
34911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34913 "RANLIB=$${RANLIB}" \
34914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34915 install-pdf) \
34916 || exit 1
34918 @endif libtermcap
34920 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
34921 maybe-install-html-libtermcap:
34922 @if libtermcap
34923 maybe-install-html-libtermcap: install-html-libtermcap
34925 install-html-libtermcap: \
34926 configure-libtermcap \
34927 html-libtermcap
34928 @: $(MAKE); $(unstage)
34929 @[ -f ./libtermcap/Makefile ] || exit 0; \
34930 r=`${PWD_COMMAND}`; export r; \
34931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34932 $(HOST_EXPORTS) \
34933 for flag in $(EXTRA_HOST_FLAGS) ; do \
34934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34935 done; \
34936 echo "Doing install-html in libtermcap"; \
34937 (cd $(HOST_SUBDIR)/libtermcap && \
34938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34940 "RANLIB=$${RANLIB}" \
34941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34942 install-html) \
34943 || exit 1
34945 @endif libtermcap
34947 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
34948 maybe-installcheck-libtermcap:
34949 @if libtermcap
34950 maybe-installcheck-libtermcap: installcheck-libtermcap
34952 installcheck-libtermcap: \
34953 configure-libtermcap
34954 @: $(MAKE); $(unstage)
34955 @[ -f ./libtermcap/Makefile ] || exit 0; \
34956 r=`${PWD_COMMAND}`; export r; \
34957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34958 $(HOST_EXPORTS) \
34959 for flag in $(EXTRA_HOST_FLAGS) ; do \
34960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34961 done; \
34962 echo "Doing installcheck in libtermcap"; \
34963 (cd $(HOST_SUBDIR)/libtermcap && \
34964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34966 "RANLIB=$${RANLIB}" \
34967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34968 installcheck) \
34969 || exit 1
34971 @endif libtermcap
34973 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
34974 maybe-mostlyclean-libtermcap:
34975 @if libtermcap
34976 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
34978 # libtermcap doesn't support mostlyclean.
34979 mostlyclean-libtermcap:
34981 @endif libtermcap
34983 .PHONY: maybe-clean-libtermcap clean-libtermcap
34984 maybe-clean-libtermcap:
34985 @if libtermcap
34986 maybe-clean-libtermcap: clean-libtermcap
34988 # libtermcap doesn't support clean.
34989 clean-libtermcap:
34991 @endif libtermcap
34993 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
34994 maybe-distclean-libtermcap:
34995 @if libtermcap
34996 maybe-distclean-libtermcap: distclean-libtermcap
34998 # libtermcap doesn't support distclean.
34999 distclean-libtermcap:
35001 @endif libtermcap
35003 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
35004 maybe-maintainer-clean-libtermcap:
35005 @if libtermcap
35006 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
35008 # libtermcap doesn't support maintainer-clean.
35009 maintainer-clean-libtermcap:
35011 @endif libtermcap
35015 .PHONY: configure-utils maybe-configure-utils
35016 maybe-configure-utils:
35017 @if gcc-bootstrap
35018 configure-utils: stage_current
35019 @endif gcc-bootstrap
35020 @if utils
35021 maybe-configure-utils: configure-utils
35022 configure-utils:
35023 @: $(MAKE); $(unstage)
35024 @r=`${PWD_COMMAND}`; export r; \
35025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35026 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
35027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
35028 $(HOST_EXPORTS) \
35029 echo Configuring in $(HOST_SUBDIR)/utils; \
35030 cd "$(HOST_SUBDIR)/utils" || exit 1; \
35031 case $(srcdir) in \
35032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35033 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
35034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35035 esac; \
35036 module_srcdir=utils; \
35037 $(SHELL) \
35038 $$s/$$module_srcdir/configure \
35039 --srcdir=$${topdir}/$$module_srcdir \
35040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35041 --target=${target_alias} \
35042 || exit 1
35043 @endif utils
35049 .PHONY: all-utils maybe-all-utils
35050 maybe-all-utils:
35051 @if gcc-bootstrap
35052 all-utils: stage_current
35053 @endif gcc-bootstrap
35054 @if utils
35055 TARGET-utils=all
35056 maybe-all-utils: all-utils
35057 all-utils: configure-utils
35058 @: $(MAKE); $(unstage)
35059 @r=`${PWD_COMMAND}`; export r; \
35060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35061 $(HOST_EXPORTS) \
35062 (cd $(HOST_SUBDIR)/utils && \
35063 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35064 $(TARGET-utils))
35065 @endif utils
35070 .PHONY: check-utils maybe-check-utils
35071 maybe-check-utils:
35072 @if utils
35073 maybe-check-utils: check-utils
35075 check-utils:
35077 @endif utils
35079 .PHONY: install-utils maybe-install-utils
35080 maybe-install-utils:
35081 @if utils
35082 maybe-install-utils: install-utils
35084 install-utils: installdirs
35085 @: $(MAKE); $(unstage)
35086 @r=`${PWD_COMMAND}`; export r; \
35087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35088 $(HOST_EXPORTS) \
35089 (cd $(HOST_SUBDIR)/utils && \
35090 $(MAKE) $(FLAGS_TO_PASS) install)
35092 @endif utils
35094 .PHONY: install-strip-utils maybe-install-strip-utils
35095 maybe-install-strip-utils:
35096 @if utils
35097 maybe-install-strip-utils: install-strip-utils
35099 install-strip-utils: installdirs
35100 @: $(MAKE); $(unstage)
35101 @r=`${PWD_COMMAND}`; export r; \
35102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35103 $(HOST_EXPORTS) \
35104 (cd $(HOST_SUBDIR)/utils && \
35105 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35107 @endif utils
35109 # Other targets (info, dvi, pdf, etc.)
35111 .PHONY: maybe-info-utils info-utils
35112 maybe-info-utils:
35113 @if utils
35114 maybe-info-utils: info-utils
35116 info-utils: \
35117 configure-utils
35118 @: $(MAKE); $(unstage)
35119 @[ -f ./utils/Makefile ] || exit 0; \
35120 r=`${PWD_COMMAND}`; export r; \
35121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35122 $(HOST_EXPORTS) \
35123 for flag in $(EXTRA_HOST_FLAGS) ; do \
35124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35125 done; \
35126 echo "Doing info in utils"; \
35127 (cd $(HOST_SUBDIR)/utils && \
35128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35130 "RANLIB=$${RANLIB}" \
35131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35132 info) \
35133 || exit 1
35135 @endif utils
35137 .PHONY: maybe-dvi-utils dvi-utils
35138 maybe-dvi-utils:
35139 @if utils
35140 maybe-dvi-utils: dvi-utils
35142 dvi-utils: \
35143 configure-utils
35144 @: $(MAKE); $(unstage)
35145 @[ -f ./utils/Makefile ] || exit 0; \
35146 r=`${PWD_COMMAND}`; export r; \
35147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35148 $(HOST_EXPORTS) \
35149 for flag in $(EXTRA_HOST_FLAGS) ; do \
35150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35151 done; \
35152 echo "Doing dvi in utils"; \
35153 (cd $(HOST_SUBDIR)/utils && \
35154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35156 "RANLIB=$${RANLIB}" \
35157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35158 dvi) \
35159 || exit 1
35161 @endif utils
35163 .PHONY: maybe-pdf-utils pdf-utils
35164 maybe-pdf-utils:
35165 @if utils
35166 maybe-pdf-utils: pdf-utils
35168 pdf-utils: \
35169 configure-utils
35170 @: $(MAKE); $(unstage)
35171 @[ -f ./utils/Makefile ] || exit 0; \
35172 r=`${PWD_COMMAND}`; export r; \
35173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35174 $(HOST_EXPORTS) \
35175 for flag in $(EXTRA_HOST_FLAGS) ; do \
35176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35177 done; \
35178 echo "Doing pdf in utils"; \
35179 (cd $(HOST_SUBDIR)/utils && \
35180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35182 "RANLIB=$${RANLIB}" \
35183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35184 pdf) \
35185 || exit 1
35187 @endif utils
35189 .PHONY: maybe-html-utils html-utils
35190 maybe-html-utils:
35191 @if utils
35192 maybe-html-utils: html-utils
35194 html-utils: \
35195 configure-utils
35196 @: $(MAKE); $(unstage)
35197 @[ -f ./utils/Makefile ] || exit 0; \
35198 r=`${PWD_COMMAND}`; export r; \
35199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35200 $(HOST_EXPORTS) \
35201 for flag in $(EXTRA_HOST_FLAGS) ; do \
35202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35203 done; \
35204 echo "Doing html in utils"; \
35205 (cd $(HOST_SUBDIR)/utils && \
35206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35208 "RANLIB=$${RANLIB}" \
35209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35210 html) \
35211 || exit 1
35213 @endif utils
35215 .PHONY: maybe-TAGS-utils TAGS-utils
35216 maybe-TAGS-utils:
35217 @if utils
35218 maybe-TAGS-utils: TAGS-utils
35220 TAGS-utils: \
35221 configure-utils
35222 @: $(MAKE); $(unstage)
35223 @[ -f ./utils/Makefile ] || exit 0; \
35224 r=`${PWD_COMMAND}`; export r; \
35225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35226 $(HOST_EXPORTS) \
35227 for flag in $(EXTRA_HOST_FLAGS) ; do \
35228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35229 done; \
35230 echo "Doing TAGS in utils"; \
35231 (cd $(HOST_SUBDIR)/utils && \
35232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35234 "RANLIB=$${RANLIB}" \
35235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35236 TAGS) \
35237 || exit 1
35239 @endif utils
35241 .PHONY: maybe-install-info-utils install-info-utils
35242 maybe-install-info-utils:
35243 @if utils
35244 maybe-install-info-utils: install-info-utils
35246 install-info-utils: \
35247 configure-utils \
35248 info-utils
35249 @: $(MAKE); $(unstage)
35250 @[ -f ./utils/Makefile ] || exit 0; \
35251 r=`${PWD_COMMAND}`; export r; \
35252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35253 $(HOST_EXPORTS) \
35254 for flag in $(EXTRA_HOST_FLAGS) ; do \
35255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35256 done; \
35257 echo "Doing install-info in utils"; \
35258 (cd $(HOST_SUBDIR)/utils && \
35259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35261 "RANLIB=$${RANLIB}" \
35262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35263 install-info) \
35264 || exit 1
35266 @endif utils
35268 .PHONY: maybe-install-pdf-utils install-pdf-utils
35269 maybe-install-pdf-utils:
35270 @if utils
35271 maybe-install-pdf-utils: install-pdf-utils
35273 install-pdf-utils: \
35274 configure-utils \
35275 pdf-utils
35276 @: $(MAKE); $(unstage)
35277 @[ -f ./utils/Makefile ] || exit 0; \
35278 r=`${PWD_COMMAND}`; export r; \
35279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35280 $(HOST_EXPORTS) \
35281 for flag in $(EXTRA_HOST_FLAGS) ; do \
35282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35283 done; \
35284 echo "Doing install-pdf in utils"; \
35285 (cd $(HOST_SUBDIR)/utils && \
35286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35288 "RANLIB=$${RANLIB}" \
35289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35290 install-pdf) \
35291 || exit 1
35293 @endif utils
35295 .PHONY: maybe-install-html-utils install-html-utils
35296 maybe-install-html-utils:
35297 @if utils
35298 maybe-install-html-utils: install-html-utils
35300 install-html-utils: \
35301 configure-utils \
35302 html-utils
35303 @: $(MAKE); $(unstage)
35304 @[ -f ./utils/Makefile ] || exit 0; \
35305 r=`${PWD_COMMAND}`; export r; \
35306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35307 $(HOST_EXPORTS) \
35308 for flag in $(EXTRA_HOST_FLAGS) ; do \
35309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35310 done; \
35311 echo "Doing install-html in utils"; \
35312 (cd $(HOST_SUBDIR)/utils && \
35313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35315 "RANLIB=$${RANLIB}" \
35316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35317 install-html) \
35318 || exit 1
35320 @endif utils
35322 .PHONY: maybe-installcheck-utils installcheck-utils
35323 maybe-installcheck-utils:
35324 @if utils
35325 maybe-installcheck-utils: installcheck-utils
35327 installcheck-utils: \
35328 configure-utils
35329 @: $(MAKE); $(unstage)
35330 @[ -f ./utils/Makefile ] || exit 0; \
35331 r=`${PWD_COMMAND}`; export r; \
35332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35333 $(HOST_EXPORTS) \
35334 for flag in $(EXTRA_HOST_FLAGS) ; do \
35335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35336 done; \
35337 echo "Doing installcheck in utils"; \
35338 (cd $(HOST_SUBDIR)/utils && \
35339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35341 "RANLIB=$${RANLIB}" \
35342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35343 installcheck) \
35344 || exit 1
35346 @endif utils
35348 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
35349 maybe-mostlyclean-utils:
35350 @if utils
35351 maybe-mostlyclean-utils: mostlyclean-utils
35353 mostlyclean-utils:
35354 @: $(MAKE); $(unstage)
35355 @[ -f ./utils/Makefile ] || exit 0; \
35356 r=`${PWD_COMMAND}`; export r; \
35357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35358 $(HOST_EXPORTS) \
35359 for flag in $(EXTRA_HOST_FLAGS) ; do \
35360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35361 done; \
35362 echo "Doing mostlyclean in utils"; \
35363 (cd $(HOST_SUBDIR)/utils && \
35364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35366 "RANLIB=$${RANLIB}" \
35367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35368 mostlyclean) \
35369 || exit 1
35371 @endif utils
35373 .PHONY: maybe-clean-utils clean-utils
35374 maybe-clean-utils:
35375 @if utils
35376 maybe-clean-utils: clean-utils
35378 clean-utils:
35379 @: $(MAKE); $(unstage)
35380 @[ -f ./utils/Makefile ] || exit 0; \
35381 r=`${PWD_COMMAND}`; export r; \
35382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35383 $(HOST_EXPORTS) \
35384 for flag in $(EXTRA_HOST_FLAGS) ; do \
35385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35386 done; \
35387 echo "Doing clean in utils"; \
35388 (cd $(HOST_SUBDIR)/utils && \
35389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35391 "RANLIB=$${RANLIB}" \
35392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35393 clean) \
35394 || exit 1
35396 @endif utils
35398 .PHONY: maybe-distclean-utils distclean-utils
35399 maybe-distclean-utils:
35400 @if utils
35401 maybe-distclean-utils: distclean-utils
35403 distclean-utils:
35404 @: $(MAKE); $(unstage)
35405 @[ -f ./utils/Makefile ] || exit 0; \
35406 r=`${PWD_COMMAND}`; export r; \
35407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35408 $(HOST_EXPORTS) \
35409 for flag in $(EXTRA_HOST_FLAGS) ; do \
35410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35411 done; \
35412 echo "Doing distclean in utils"; \
35413 (cd $(HOST_SUBDIR)/utils && \
35414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35416 "RANLIB=$${RANLIB}" \
35417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35418 distclean) \
35419 || exit 1
35421 @endif utils
35423 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
35424 maybe-maintainer-clean-utils:
35425 @if utils
35426 maybe-maintainer-clean-utils: maintainer-clean-utils
35428 maintainer-clean-utils:
35429 @: $(MAKE); $(unstage)
35430 @[ -f ./utils/Makefile ] || exit 0; \
35431 r=`${PWD_COMMAND}`; export r; \
35432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35433 $(HOST_EXPORTS) \
35434 for flag in $(EXTRA_HOST_FLAGS) ; do \
35435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35436 done; \
35437 echo "Doing maintainer-clean in utils"; \
35438 (cd $(HOST_SUBDIR)/utils && \
35439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35441 "RANLIB=$${RANLIB}" \
35442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35443 maintainer-clean) \
35444 || exit 1
35446 @endif utils
35450 .PHONY: configure-gnattools maybe-configure-gnattools
35451 maybe-configure-gnattools:
35452 @if gcc-bootstrap
35453 configure-gnattools: stage_current
35454 @endif gcc-bootstrap
35455 @if gnattools
35456 maybe-configure-gnattools: configure-gnattools
35457 configure-gnattools:
35458 @: $(MAKE); $(unstage)
35459 @r=`${PWD_COMMAND}`; export r; \
35460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35461 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
35462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
35463 $(HOST_EXPORTS) \
35464 echo Configuring in $(HOST_SUBDIR)/gnattools; \
35465 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
35466 case $(srcdir) in \
35467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35468 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
35469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35470 esac; \
35471 module_srcdir=gnattools; \
35472 $(SHELL) \
35473 $$s/$$module_srcdir/configure \
35474 --srcdir=$${topdir}/$$module_srcdir \
35475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35476 --target=${target_alias} \
35477 || exit 1
35478 @endif gnattools
35484 .PHONY: all-gnattools maybe-all-gnattools
35485 maybe-all-gnattools:
35486 @if gcc-bootstrap
35487 all-gnattools: stage_current
35488 @endif gcc-bootstrap
35489 @if gnattools
35490 TARGET-gnattools=all
35491 maybe-all-gnattools: all-gnattools
35492 all-gnattools: configure-gnattools
35493 @: $(MAKE); $(unstage)
35494 @r=`${PWD_COMMAND}`; export r; \
35495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35496 $(HOST_EXPORTS) \
35497 (cd $(HOST_SUBDIR)/gnattools && \
35498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35499 $(TARGET-gnattools))
35500 @endif gnattools
35505 .PHONY: check-gnattools maybe-check-gnattools
35506 maybe-check-gnattools:
35507 @if gnattools
35508 maybe-check-gnattools: check-gnattools
35510 check-gnattools:
35511 @: $(MAKE); $(unstage)
35512 @r=`${PWD_COMMAND}`; export r; \
35513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35514 $(HOST_EXPORTS) \
35515 (cd $(HOST_SUBDIR)/gnattools && \
35516 $(MAKE) $(FLAGS_TO_PASS) check)
35518 @endif gnattools
35520 .PHONY: install-gnattools maybe-install-gnattools
35521 maybe-install-gnattools:
35522 @if gnattools
35523 maybe-install-gnattools: install-gnattools
35525 install-gnattools: installdirs
35526 @: $(MAKE); $(unstage)
35527 @r=`${PWD_COMMAND}`; export r; \
35528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35529 $(HOST_EXPORTS) \
35530 (cd $(HOST_SUBDIR)/gnattools && \
35531 $(MAKE) $(FLAGS_TO_PASS) install)
35533 @endif gnattools
35535 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
35536 maybe-install-strip-gnattools:
35537 @if gnattools
35538 maybe-install-strip-gnattools: install-strip-gnattools
35540 install-strip-gnattools: installdirs
35541 @: $(MAKE); $(unstage)
35542 @r=`${PWD_COMMAND}`; export r; \
35543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35544 $(HOST_EXPORTS) \
35545 (cd $(HOST_SUBDIR)/gnattools && \
35546 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35548 @endif gnattools
35550 # Other targets (info, dvi, pdf, etc.)
35552 .PHONY: maybe-info-gnattools info-gnattools
35553 maybe-info-gnattools:
35554 @if gnattools
35555 maybe-info-gnattools: info-gnattools
35557 info-gnattools: \
35558 configure-gnattools
35559 @: $(MAKE); $(unstage)
35560 @[ -f ./gnattools/Makefile ] || exit 0; \
35561 r=`${PWD_COMMAND}`; export r; \
35562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35563 $(HOST_EXPORTS) \
35564 for flag in $(EXTRA_HOST_FLAGS) ; do \
35565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35566 done; \
35567 echo "Doing info in gnattools"; \
35568 (cd $(HOST_SUBDIR)/gnattools && \
35569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35571 "RANLIB=$${RANLIB}" \
35572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35573 info) \
35574 || exit 1
35576 @endif gnattools
35578 .PHONY: maybe-dvi-gnattools dvi-gnattools
35579 maybe-dvi-gnattools:
35580 @if gnattools
35581 maybe-dvi-gnattools: dvi-gnattools
35583 dvi-gnattools: \
35584 configure-gnattools
35585 @: $(MAKE); $(unstage)
35586 @[ -f ./gnattools/Makefile ] || exit 0; \
35587 r=`${PWD_COMMAND}`; export r; \
35588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35589 $(HOST_EXPORTS) \
35590 for flag in $(EXTRA_HOST_FLAGS) ; do \
35591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35592 done; \
35593 echo "Doing dvi in gnattools"; \
35594 (cd $(HOST_SUBDIR)/gnattools && \
35595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35597 "RANLIB=$${RANLIB}" \
35598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35599 dvi) \
35600 || exit 1
35602 @endif gnattools
35604 .PHONY: maybe-pdf-gnattools pdf-gnattools
35605 maybe-pdf-gnattools:
35606 @if gnattools
35607 maybe-pdf-gnattools: pdf-gnattools
35609 pdf-gnattools: \
35610 configure-gnattools
35611 @: $(MAKE); $(unstage)
35612 @[ -f ./gnattools/Makefile ] || exit 0; \
35613 r=`${PWD_COMMAND}`; export r; \
35614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35615 $(HOST_EXPORTS) \
35616 for flag in $(EXTRA_HOST_FLAGS) ; do \
35617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35618 done; \
35619 echo "Doing pdf in gnattools"; \
35620 (cd $(HOST_SUBDIR)/gnattools && \
35621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35623 "RANLIB=$${RANLIB}" \
35624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35625 pdf) \
35626 || exit 1
35628 @endif gnattools
35630 .PHONY: maybe-html-gnattools html-gnattools
35631 maybe-html-gnattools:
35632 @if gnattools
35633 maybe-html-gnattools: html-gnattools
35635 html-gnattools: \
35636 configure-gnattools
35637 @: $(MAKE); $(unstage)
35638 @[ -f ./gnattools/Makefile ] || exit 0; \
35639 r=`${PWD_COMMAND}`; export r; \
35640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35641 $(HOST_EXPORTS) \
35642 for flag in $(EXTRA_HOST_FLAGS) ; do \
35643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35644 done; \
35645 echo "Doing html in gnattools"; \
35646 (cd $(HOST_SUBDIR)/gnattools && \
35647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35649 "RANLIB=$${RANLIB}" \
35650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35651 html) \
35652 || exit 1
35654 @endif gnattools
35656 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35657 maybe-TAGS-gnattools:
35658 @if gnattools
35659 maybe-TAGS-gnattools: TAGS-gnattools
35661 TAGS-gnattools: \
35662 configure-gnattools
35663 @: $(MAKE); $(unstage)
35664 @[ -f ./gnattools/Makefile ] || exit 0; \
35665 r=`${PWD_COMMAND}`; export r; \
35666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35667 $(HOST_EXPORTS) \
35668 for flag in $(EXTRA_HOST_FLAGS) ; do \
35669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35670 done; \
35671 echo "Doing TAGS in gnattools"; \
35672 (cd $(HOST_SUBDIR)/gnattools && \
35673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35675 "RANLIB=$${RANLIB}" \
35676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35677 TAGS) \
35678 || exit 1
35680 @endif gnattools
35682 .PHONY: maybe-install-info-gnattools install-info-gnattools
35683 maybe-install-info-gnattools:
35684 @if gnattools
35685 maybe-install-info-gnattools: install-info-gnattools
35687 install-info-gnattools: \
35688 configure-gnattools \
35689 info-gnattools
35690 @: $(MAKE); $(unstage)
35691 @[ -f ./gnattools/Makefile ] || exit 0; \
35692 r=`${PWD_COMMAND}`; export r; \
35693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35694 $(HOST_EXPORTS) \
35695 for flag in $(EXTRA_HOST_FLAGS) ; do \
35696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35697 done; \
35698 echo "Doing install-info in gnattools"; \
35699 (cd $(HOST_SUBDIR)/gnattools && \
35700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35702 "RANLIB=$${RANLIB}" \
35703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35704 install-info) \
35705 || exit 1
35707 @endif gnattools
35709 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
35710 maybe-install-pdf-gnattools:
35711 @if gnattools
35712 maybe-install-pdf-gnattools: install-pdf-gnattools
35714 install-pdf-gnattools: \
35715 configure-gnattools \
35716 pdf-gnattools
35717 @: $(MAKE); $(unstage)
35718 @[ -f ./gnattools/Makefile ] || exit 0; \
35719 r=`${PWD_COMMAND}`; export r; \
35720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35721 $(HOST_EXPORTS) \
35722 for flag in $(EXTRA_HOST_FLAGS) ; do \
35723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35724 done; \
35725 echo "Doing install-pdf in gnattools"; \
35726 (cd $(HOST_SUBDIR)/gnattools && \
35727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35729 "RANLIB=$${RANLIB}" \
35730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35731 install-pdf) \
35732 || exit 1
35734 @endif gnattools
35736 .PHONY: maybe-install-html-gnattools install-html-gnattools
35737 maybe-install-html-gnattools:
35738 @if gnattools
35739 maybe-install-html-gnattools: install-html-gnattools
35741 install-html-gnattools: \
35742 configure-gnattools \
35743 html-gnattools
35744 @: $(MAKE); $(unstage)
35745 @[ -f ./gnattools/Makefile ] || exit 0; \
35746 r=`${PWD_COMMAND}`; export r; \
35747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35748 $(HOST_EXPORTS) \
35749 for flag in $(EXTRA_HOST_FLAGS) ; do \
35750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35751 done; \
35752 echo "Doing install-html in gnattools"; \
35753 (cd $(HOST_SUBDIR)/gnattools && \
35754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35756 "RANLIB=$${RANLIB}" \
35757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35758 install-html) \
35759 || exit 1
35761 @endif gnattools
35763 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
35764 maybe-installcheck-gnattools:
35765 @if gnattools
35766 maybe-installcheck-gnattools: installcheck-gnattools
35768 installcheck-gnattools: \
35769 configure-gnattools
35770 @: $(MAKE); $(unstage)
35771 @[ -f ./gnattools/Makefile ] || exit 0; \
35772 r=`${PWD_COMMAND}`; export r; \
35773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35774 $(HOST_EXPORTS) \
35775 for flag in $(EXTRA_HOST_FLAGS) ; do \
35776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35777 done; \
35778 echo "Doing installcheck in gnattools"; \
35779 (cd $(HOST_SUBDIR)/gnattools && \
35780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35782 "RANLIB=$${RANLIB}" \
35783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35784 installcheck) \
35785 || exit 1
35787 @endif gnattools
35789 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
35790 maybe-mostlyclean-gnattools:
35791 @if gnattools
35792 maybe-mostlyclean-gnattools: mostlyclean-gnattools
35794 mostlyclean-gnattools:
35795 @: $(MAKE); $(unstage)
35796 @[ -f ./gnattools/Makefile ] || exit 0; \
35797 r=`${PWD_COMMAND}`; export r; \
35798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35799 $(HOST_EXPORTS) \
35800 for flag in $(EXTRA_HOST_FLAGS) ; do \
35801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35802 done; \
35803 echo "Doing mostlyclean in gnattools"; \
35804 (cd $(HOST_SUBDIR)/gnattools && \
35805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35807 "RANLIB=$${RANLIB}" \
35808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35809 mostlyclean) \
35810 || exit 1
35812 @endif gnattools
35814 .PHONY: maybe-clean-gnattools clean-gnattools
35815 maybe-clean-gnattools:
35816 @if gnattools
35817 maybe-clean-gnattools: clean-gnattools
35819 clean-gnattools:
35820 @: $(MAKE); $(unstage)
35821 @[ -f ./gnattools/Makefile ] || exit 0; \
35822 r=`${PWD_COMMAND}`; export r; \
35823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35824 $(HOST_EXPORTS) \
35825 for flag in $(EXTRA_HOST_FLAGS) ; do \
35826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35827 done; \
35828 echo "Doing clean in gnattools"; \
35829 (cd $(HOST_SUBDIR)/gnattools && \
35830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35832 "RANLIB=$${RANLIB}" \
35833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35834 clean) \
35835 || exit 1
35837 @endif gnattools
35839 .PHONY: maybe-distclean-gnattools distclean-gnattools
35840 maybe-distclean-gnattools:
35841 @if gnattools
35842 maybe-distclean-gnattools: distclean-gnattools
35844 distclean-gnattools:
35845 @: $(MAKE); $(unstage)
35846 @[ -f ./gnattools/Makefile ] || exit 0; \
35847 r=`${PWD_COMMAND}`; export r; \
35848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35849 $(HOST_EXPORTS) \
35850 for flag in $(EXTRA_HOST_FLAGS) ; do \
35851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35852 done; \
35853 echo "Doing distclean in gnattools"; \
35854 (cd $(HOST_SUBDIR)/gnattools && \
35855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35857 "RANLIB=$${RANLIB}" \
35858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35859 distclean) \
35860 || exit 1
35862 @endif gnattools
35864 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
35865 maybe-maintainer-clean-gnattools:
35866 @if gnattools
35867 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
35869 maintainer-clean-gnattools:
35870 @: $(MAKE); $(unstage)
35871 @[ -f ./gnattools/Makefile ] || exit 0; \
35872 r=`${PWD_COMMAND}`; export r; \
35873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35874 $(HOST_EXPORTS) \
35875 for flag in $(EXTRA_HOST_FLAGS) ; do \
35876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35877 done; \
35878 echo "Doing maintainer-clean in gnattools"; \
35879 (cd $(HOST_SUBDIR)/gnattools && \
35880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35882 "RANLIB=$${RANLIB}" \
35883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35884 maintainer-clean) \
35885 || exit 1
35887 @endif gnattools
35891 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
35892 maybe-configure-lto-plugin:
35893 @if gcc-bootstrap
35894 configure-lto-plugin: stage_current
35895 @endif gcc-bootstrap
35896 @if lto-plugin
35897 maybe-configure-lto-plugin: configure-lto-plugin
35898 configure-lto-plugin:
35899 @r=`${PWD_COMMAND}`; export r; \
35900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35901 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35903 $(HOST_EXPORTS) \
35904 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
35905 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
35906 case $(srcdir) in \
35907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35908 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35910 esac; \
35911 module_srcdir=lto-plugin; \
35912 $(SHELL) \
35913 $$s/$$module_srcdir/configure \
35914 --srcdir=$${topdir}/$$module_srcdir \
35915 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35916 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
35917 || exit 1
35918 @endif lto-plugin
35922 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
35923 maybe-configure-stage1-lto-plugin:
35924 @if lto-plugin-bootstrap
35925 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
35926 configure-stage1-lto-plugin:
35927 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35928 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35929 @r=`${PWD_COMMAND}`; export r; \
35930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35931 TFLAGS="$(STAGE1_TFLAGS)"; \
35932 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35933 $(HOST_EXPORTS) \
35934 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
35935 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
35936 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
35937 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
35938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35939 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35940 case $(srcdir) in \
35941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35942 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35944 esac; \
35945 module_srcdir=lto-plugin; \
35946 $(SHELL) $$s/$$module_srcdir/configure \
35947 --srcdir=$${topdir}/$$module_srcdir \
35948 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35949 --target=${target_alias} \
35951 $(STAGE1_CONFIGURE_FLAGS) \
35952 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35953 @endif lto-plugin-bootstrap
35955 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
35956 maybe-configure-stage2-lto-plugin:
35957 @if lto-plugin-bootstrap
35958 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
35959 configure-stage2-lto-plugin:
35960 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35961 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35962 @r=`${PWD_COMMAND}`; export r; \
35963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35964 TFLAGS="$(STAGE2_TFLAGS)"; \
35965 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35966 $(HOST_EXPORTS) \
35967 $(POSTSTAGE1_HOST_EXPORTS) \
35968 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
35969 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
35970 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
35971 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
35972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35973 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35974 case $(srcdir) in \
35975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35976 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35978 esac; \
35979 module_srcdir=lto-plugin; \
35980 $(SHELL) $$s/$$module_srcdir/configure \
35981 --srcdir=$${topdir}/$$module_srcdir \
35982 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35983 --target=${target_alias} \
35984 --with-build-libsubdir=$(HOST_SUBDIR) \
35985 $(STAGE2_CONFIGURE_FLAGS) \
35986 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35987 @endif lto-plugin-bootstrap
35989 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
35990 maybe-configure-stage3-lto-plugin:
35991 @if lto-plugin-bootstrap
35992 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
35993 configure-stage3-lto-plugin:
35994 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35996 @r=`${PWD_COMMAND}`; export r; \
35997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35998 TFLAGS="$(STAGE3_TFLAGS)"; \
35999 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36000 $(HOST_EXPORTS) \
36001 $(POSTSTAGE1_HOST_EXPORTS) \
36002 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
36003 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
36004 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
36005 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
36006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36007 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36008 case $(srcdir) in \
36009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36010 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36012 esac; \
36013 module_srcdir=lto-plugin; \
36014 $(SHELL) $$s/$$module_srcdir/configure \
36015 --srcdir=$${topdir}/$$module_srcdir \
36016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36017 --target=${target_alias} \
36018 --with-build-libsubdir=$(HOST_SUBDIR) \
36019 $(STAGE3_CONFIGURE_FLAGS) \
36020 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36021 @endif lto-plugin-bootstrap
36023 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
36024 maybe-configure-stage4-lto-plugin:
36025 @if lto-plugin-bootstrap
36026 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
36027 configure-stage4-lto-plugin:
36028 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36030 @r=`${PWD_COMMAND}`; export r; \
36031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36032 TFLAGS="$(STAGE4_TFLAGS)"; \
36033 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36034 $(HOST_EXPORTS) \
36035 $(POSTSTAGE1_HOST_EXPORTS) \
36036 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36037 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36038 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36039 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36041 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36042 case $(srcdir) in \
36043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36044 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36046 esac; \
36047 module_srcdir=lto-plugin; \
36048 $(SHELL) $$s/$$module_srcdir/configure \
36049 --srcdir=$${topdir}/$$module_srcdir \
36050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36051 --target=${target_alias} \
36052 --with-build-libsubdir=$(HOST_SUBDIR) \
36053 $(STAGE4_CONFIGURE_FLAGS) \
36054 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36055 @endif lto-plugin-bootstrap
36057 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36058 maybe-configure-stageprofile-lto-plugin:
36059 @if lto-plugin-bootstrap
36060 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36061 configure-stageprofile-lto-plugin:
36062 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36064 @r=`${PWD_COMMAND}`; export r; \
36065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36066 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36067 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36068 $(HOST_EXPORTS) \
36069 $(POSTSTAGE1_HOST_EXPORTS) \
36070 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36071 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36072 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36073 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36075 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36076 case $(srcdir) in \
36077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36078 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36080 esac; \
36081 module_srcdir=lto-plugin; \
36082 $(SHELL) $$s/$$module_srcdir/configure \
36083 --srcdir=$${topdir}/$$module_srcdir \
36084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36085 --target=${target_alias} \
36086 --with-build-libsubdir=$(HOST_SUBDIR) \
36087 $(STAGEprofile_CONFIGURE_FLAGS) \
36088 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36089 @endif lto-plugin-bootstrap
36091 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36092 maybe-configure-stagetrain-lto-plugin:
36093 @if lto-plugin-bootstrap
36094 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36095 configure-stagetrain-lto-plugin:
36096 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36098 @r=`${PWD_COMMAND}`; export r; \
36099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36100 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36101 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36102 $(HOST_EXPORTS) \
36103 $(POSTSTAGE1_HOST_EXPORTS) \
36104 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36105 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36106 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36107 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36109 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36110 case $(srcdir) in \
36111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36112 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36114 esac; \
36115 module_srcdir=lto-plugin; \
36116 $(SHELL) $$s/$$module_srcdir/configure \
36117 --srcdir=$${topdir}/$$module_srcdir \
36118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36119 --target=${target_alias} \
36120 --with-build-libsubdir=$(HOST_SUBDIR) \
36121 $(STAGEtrain_CONFIGURE_FLAGS) \
36122 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36123 @endif lto-plugin-bootstrap
36125 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36126 maybe-configure-stagefeedback-lto-plugin:
36127 @if lto-plugin-bootstrap
36128 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36129 configure-stagefeedback-lto-plugin:
36130 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36132 @r=`${PWD_COMMAND}`; export r; \
36133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36134 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36135 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36136 $(HOST_EXPORTS) \
36137 $(POSTSTAGE1_HOST_EXPORTS) \
36138 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36139 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36140 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36141 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36143 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36144 case $(srcdir) in \
36145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36146 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36148 esac; \
36149 module_srcdir=lto-plugin; \
36150 $(SHELL) $$s/$$module_srcdir/configure \
36151 --srcdir=$${topdir}/$$module_srcdir \
36152 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36153 --target=${target_alias} \
36154 --with-build-libsubdir=$(HOST_SUBDIR) \
36155 $(STAGEfeedback_CONFIGURE_FLAGS) \
36156 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36157 @endif lto-plugin-bootstrap
36159 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36160 maybe-configure-stageautoprofile-lto-plugin:
36161 @if lto-plugin-bootstrap
36162 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36163 configure-stageautoprofile-lto-plugin:
36164 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36166 @r=`${PWD_COMMAND}`; export r; \
36167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36168 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36169 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36170 $(HOST_EXPORTS) \
36171 $(POSTSTAGE1_HOST_EXPORTS) \
36172 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36173 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36174 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36175 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36177 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36178 case $(srcdir) in \
36179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36180 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36182 esac; \
36183 module_srcdir=lto-plugin; \
36184 $(SHELL) $$s/$$module_srcdir/configure \
36185 --srcdir=$${topdir}/$$module_srcdir \
36186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36187 --target=${target_alias} \
36188 --with-build-libsubdir=$(HOST_SUBDIR) \
36189 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36190 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36191 @endif lto-plugin-bootstrap
36193 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36194 maybe-configure-stageautofeedback-lto-plugin:
36195 @if lto-plugin-bootstrap
36196 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36197 configure-stageautofeedback-lto-plugin:
36198 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36200 @r=`${PWD_COMMAND}`; export r; \
36201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36202 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36203 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36204 $(HOST_EXPORTS) \
36205 $(POSTSTAGE1_HOST_EXPORTS) \
36206 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36207 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36208 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36209 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36211 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36212 case $(srcdir) in \
36213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36214 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36216 esac; \
36217 module_srcdir=lto-plugin; \
36218 $(SHELL) $$s/$$module_srcdir/configure \
36219 --srcdir=$${topdir}/$$module_srcdir \
36220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36221 --target=${target_alias} \
36222 --with-build-libsubdir=$(HOST_SUBDIR) \
36223 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36224 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36225 @endif lto-plugin-bootstrap
36231 .PHONY: all-lto-plugin maybe-all-lto-plugin
36232 maybe-all-lto-plugin:
36233 @if gcc-bootstrap
36234 all-lto-plugin: stage_current
36235 @endif gcc-bootstrap
36236 @if lto-plugin
36237 TARGET-lto-plugin=all
36238 maybe-all-lto-plugin: all-lto-plugin
36239 all-lto-plugin: configure-lto-plugin
36240 @r=`${PWD_COMMAND}`; export r; \
36241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36242 $(HOST_EXPORTS) \
36243 (cd $(HOST_SUBDIR)/lto-plugin && \
36244 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36245 $(TARGET-lto-plugin))
36246 @endif lto-plugin
36250 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36251 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36252 maybe-all-stage1-lto-plugin:
36253 maybe-clean-stage1-lto-plugin:
36254 @if lto-plugin-bootstrap
36255 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36256 all-stage1: all-stage1-lto-plugin
36257 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36258 all-stage1-lto-plugin: configure-stage1-lto-plugin
36259 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36260 @r=`${PWD_COMMAND}`; export r; \
36261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36262 TFLAGS="$(STAGE1_TFLAGS)"; \
36263 $(HOST_EXPORTS) \
36264 cd $(HOST_SUBDIR)/lto-plugin && \
36266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36267 CFLAGS="$(STAGE1_CFLAGS)" \
36268 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36269 LIBCFLAGS="$(LIBCFLAGS)" \
36270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36273 $(EXTRA_HOST_FLAGS) \
36274 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36275 TFLAGS="$(STAGE1_TFLAGS)" \
36276 $(TARGET-stage1-lto-plugin)
36278 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36279 clean-stage1: clean-stage1-lto-plugin
36280 clean-stage1-lto-plugin:
36281 @if [ $(current_stage) = stage1 ]; then \
36282 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36283 else \
36284 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36285 $(MAKE) stage1-start; \
36286 fi; \
36287 cd $(HOST_SUBDIR)/lto-plugin && \
36288 $(MAKE) $(EXTRA_HOST_FLAGS) \
36289 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36290 @endif lto-plugin-bootstrap
36293 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36294 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36295 maybe-all-stage2-lto-plugin:
36296 maybe-clean-stage2-lto-plugin:
36297 @if lto-plugin-bootstrap
36298 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36299 all-stage2: all-stage2-lto-plugin
36300 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36301 all-stage2-lto-plugin: configure-stage2-lto-plugin
36302 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36303 @r=`${PWD_COMMAND}`; export r; \
36304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36305 TFLAGS="$(STAGE2_TFLAGS)"; \
36306 $(HOST_EXPORTS) \
36307 $(POSTSTAGE1_HOST_EXPORTS) \
36308 cd $(HOST_SUBDIR)/lto-plugin && \
36310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36311 CFLAGS="$(STAGE2_CFLAGS)" \
36312 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
36313 LIBCFLAGS="$(STAGE2_CFLAGS)" \
36314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36318 TFLAGS="$(STAGE2_TFLAGS)" \
36319 $(TARGET-stage2-lto-plugin)
36321 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
36322 clean-stage2: clean-stage2-lto-plugin
36323 clean-stage2-lto-plugin:
36324 @if [ $(current_stage) = stage2 ]; then \
36325 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36326 else \
36327 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
36328 $(MAKE) stage2-start; \
36329 fi; \
36330 cd $(HOST_SUBDIR)/lto-plugin && \
36331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36332 @endif lto-plugin-bootstrap
36335 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
36336 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
36337 maybe-all-stage3-lto-plugin:
36338 maybe-clean-stage3-lto-plugin:
36339 @if lto-plugin-bootstrap
36340 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
36341 all-stage3: all-stage3-lto-plugin
36342 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
36343 all-stage3-lto-plugin: configure-stage3-lto-plugin
36344 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36345 @r=`${PWD_COMMAND}`; export r; \
36346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36347 TFLAGS="$(STAGE3_TFLAGS)"; \
36348 $(HOST_EXPORTS) \
36349 $(POSTSTAGE1_HOST_EXPORTS) \
36350 cd $(HOST_SUBDIR)/lto-plugin && \
36352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36353 CFLAGS="$(STAGE3_CFLAGS)" \
36354 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
36355 LIBCFLAGS="$(STAGE3_CFLAGS)" \
36356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36360 TFLAGS="$(STAGE3_TFLAGS)" \
36361 $(TARGET-stage3-lto-plugin)
36363 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
36364 clean-stage3: clean-stage3-lto-plugin
36365 clean-stage3-lto-plugin:
36366 @if [ $(current_stage) = stage3 ]; then \
36367 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36368 else \
36369 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
36370 $(MAKE) stage3-start; \
36371 fi; \
36372 cd $(HOST_SUBDIR)/lto-plugin && \
36373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36374 @endif lto-plugin-bootstrap
36377 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
36378 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
36379 maybe-all-stage4-lto-plugin:
36380 maybe-clean-stage4-lto-plugin:
36381 @if lto-plugin-bootstrap
36382 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
36383 all-stage4: all-stage4-lto-plugin
36384 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
36385 all-stage4-lto-plugin: configure-stage4-lto-plugin
36386 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36387 @r=`${PWD_COMMAND}`; export r; \
36388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36389 TFLAGS="$(STAGE4_TFLAGS)"; \
36390 $(HOST_EXPORTS) \
36391 $(POSTSTAGE1_HOST_EXPORTS) \
36392 cd $(HOST_SUBDIR)/lto-plugin && \
36394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36395 CFLAGS="$(STAGE4_CFLAGS)" \
36396 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
36397 LIBCFLAGS="$(STAGE4_CFLAGS)" \
36398 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36399 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36400 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36401 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36402 TFLAGS="$(STAGE4_TFLAGS)" \
36403 $(TARGET-stage4-lto-plugin)
36405 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
36406 clean-stage4: clean-stage4-lto-plugin
36407 clean-stage4-lto-plugin:
36408 @if [ $(current_stage) = stage4 ]; then \
36409 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36410 else \
36411 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
36412 $(MAKE) stage4-start; \
36413 fi; \
36414 cd $(HOST_SUBDIR)/lto-plugin && \
36415 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36416 @endif lto-plugin-bootstrap
36419 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
36420 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
36421 maybe-all-stageprofile-lto-plugin:
36422 maybe-clean-stageprofile-lto-plugin:
36423 @if lto-plugin-bootstrap
36424 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
36425 all-stageprofile: all-stageprofile-lto-plugin
36426 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
36427 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36428 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36429 @r=`${PWD_COMMAND}`; export r; \
36430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36431 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36432 $(HOST_EXPORTS) \
36433 $(POSTSTAGE1_HOST_EXPORTS) \
36434 cd $(HOST_SUBDIR)/lto-plugin && \
36436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36437 CFLAGS="$(STAGEprofile_CFLAGS)" \
36438 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
36439 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
36440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36443 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36444 TFLAGS="$(STAGEprofile_TFLAGS)" \
36445 $(TARGET-stageprofile-lto-plugin)
36447 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
36448 clean-stageprofile: clean-stageprofile-lto-plugin
36449 clean-stageprofile-lto-plugin:
36450 @if [ $(current_stage) = stageprofile ]; then \
36451 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36452 else \
36453 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
36454 $(MAKE) stageprofile-start; \
36455 fi; \
36456 cd $(HOST_SUBDIR)/lto-plugin && \
36457 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36458 @endif lto-plugin-bootstrap
36461 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
36462 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
36463 maybe-all-stagetrain-lto-plugin:
36464 maybe-clean-stagetrain-lto-plugin:
36465 @if lto-plugin-bootstrap
36466 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
36467 all-stagetrain: all-stagetrain-lto-plugin
36468 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
36469 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36470 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36471 @r=`${PWD_COMMAND}`; export r; \
36472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36473 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36474 $(HOST_EXPORTS) \
36475 $(POSTSTAGE1_HOST_EXPORTS) \
36476 cd $(HOST_SUBDIR)/lto-plugin && \
36478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36479 CFLAGS="$(STAGEtrain_CFLAGS)" \
36480 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
36481 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
36482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36486 TFLAGS="$(STAGEtrain_TFLAGS)" \
36487 $(TARGET-stagetrain-lto-plugin)
36489 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
36490 clean-stagetrain: clean-stagetrain-lto-plugin
36491 clean-stagetrain-lto-plugin:
36492 @if [ $(current_stage) = stagetrain ]; then \
36493 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36494 else \
36495 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
36496 $(MAKE) stagetrain-start; \
36497 fi; \
36498 cd $(HOST_SUBDIR)/lto-plugin && \
36499 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36500 @endif lto-plugin-bootstrap
36503 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
36504 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
36505 maybe-all-stagefeedback-lto-plugin:
36506 maybe-clean-stagefeedback-lto-plugin:
36507 @if lto-plugin-bootstrap
36508 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
36509 all-stagefeedback: all-stagefeedback-lto-plugin
36510 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
36511 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36512 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36513 @r=`${PWD_COMMAND}`; export r; \
36514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36515 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36516 $(HOST_EXPORTS) \
36517 $(POSTSTAGE1_HOST_EXPORTS) \
36518 cd $(HOST_SUBDIR)/lto-plugin && \
36520 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36521 CFLAGS="$(STAGEfeedback_CFLAGS)" \
36522 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
36523 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
36524 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36525 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36526 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36527 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36528 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36529 $(TARGET-stagefeedback-lto-plugin)
36531 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
36532 clean-stagefeedback: clean-stagefeedback-lto-plugin
36533 clean-stagefeedback-lto-plugin:
36534 @if [ $(current_stage) = stagefeedback ]; then \
36535 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36536 else \
36537 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
36538 $(MAKE) stagefeedback-start; \
36539 fi; \
36540 cd $(HOST_SUBDIR)/lto-plugin && \
36541 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36542 @endif lto-plugin-bootstrap
36545 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
36546 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
36547 maybe-all-stageautoprofile-lto-plugin:
36548 maybe-clean-stageautoprofile-lto-plugin:
36549 @if lto-plugin-bootstrap
36550 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
36551 all-stageautoprofile: all-stageautoprofile-lto-plugin
36552 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
36553 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36554 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36555 @r=`${PWD_COMMAND}`; export r; \
36556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36557 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36558 $(HOST_EXPORTS) \
36559 $(POSTSTAGE1_HOST_EXPORTS) \
36560 cd $(HOST_SUBDIR)/lto-plugin && \
36561 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36563 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
36564 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
36565 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
36566 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36570 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36571 $(TARGET-stageautoprofile-lto-plugin)
36573 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
36574 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
36575 clean-stageautoprofile-lto-plugin:
36576 @if [ $(current_stage) = stageautoprofile ]; then \
36577 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36578 else \
36579 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
36580 $(MAKE) stageautoprofile-start; \
36581 fi; \
36582 cd $(HOST_SUBDIR)/lto-plugin && \
36583 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36584 @endif lto-plugin-bootstrap
36587 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
36588 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
36589 maybe-all-stageautofeedback-lto-plugin:
36590 maybe-clean-stageautofeedback-lto-plugin:
36591 @if lto-plugin-bootstrap
36592 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
36593 all-stageautofeedback: all-stageautofeedback-lto-plugin
36594 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
36595 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36596 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36597 @r=`${PWD_COMMAND}`; export r; \
36598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36599 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36600 $(HOST_EXPORTS) \
36601 $(POSTSTAGE1_HOST_EXPORTS) \
36602 cd $(HOST_SUBDIR)/lto-plugin && \
36604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36605 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
36606 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
36607 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
36608 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36611 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36612 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36613 $(TARGET-stageautofeedback-lto-plugin)
36615 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
36616 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
36617 clean-stageautofeedback-lto-plugin:
36618 @if [ $(current_stage) = stageautofeedback ]; then \
36619 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36620 else \
36621 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
36622 $(MAKE) stageautofeedback-start; \
36623 fi; \
36624 cd $(HOST_SUBDIR)/lto-plugin && \
36625 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36626 @endif lto-plugin-bootstrap
36632 .PHONY: check-lto-plugin maybe-check-lto-plugin
36633 maybe-check-lto-plugin:
36634 @if lto-plugin
36635 maybe-check-lto-plugin: check-lto-plugin
36637 check-lto-plugin:
36638 @: $(MAKE); $(unstage)
36639 @r=`${PWD_COMMAND}`; export r; \
36640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36641 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
36642 (cd $(HOST_SUBDIR)/lto-plugin && \
36643 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
36645 @endif lto-plugin
36647 .PHONY: install-lto-plugin maybe-install-lto-plugin
36648 maybe-install-lto-plugin:
36649 @if lto-plugin
36650 maybe-install-lto-plugin: install-lto-plugin
36652 install-lto-plugin: installdirs
36653 @: $(MAKE); $(unstage)
36654 @r=`${PWD_COMMAND}`; export r; \
36655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36656 $(HOST_EXPORTS) \
36657 (cd $(HOST_SUBDIR)/lto-plugin && \
36658 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
36660 @endif lto-plugin
36662 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
36663 maybe-install-strip-lto-plugin:
36664 @if lto-plugin
36665 maybe-install-strip-lto-plugin: install-strip-lto-plugin
36667 install-strip-lto-plugin: installdirs
36668 @: $(MAKE); $(unstage)
36669 @r=`${PWD_COMMAND}`; export r; \
36670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36671 $(HOST_EXPORTS) \
36672 (cd $(HOST_SUBDIR)/lto-plugin && \
36673 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
36675 @endif lto-plugin
36677 # Other targets (info, dvi, pdf, etc.)
36679 .PHONY: maybe-info-lto-plugin info-lto-plugin
36680 maybe-info-lto-plugin:
36681 @if lto-plugin
36682 maybe-info-lto-plugin: info-lto-plugin
36684 info-lto-plugin: \
36685 configure-lto-plugin
36686 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36687 r=`${PWD_COMMAND}`; export r; \
36688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36689 $(HOST_EXPORTS) \
36690 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36692 done; \
36693 echo "Doing info in lto-plugin"; \
36694 (cd $(HOST_SUBDIR)/lto-plugin && \
36695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36697 "RANLIB=$${RANLIB}" \
36698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36699 info) \
36700 || exit 1
36702 @endif lto-plugin
36704 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
36705 maybe-dvi-lto-plugin:
36706 @if lto-plugin
36707 maybe-dvi-lto-plugin: dvi-lto-plugin
36709 dvi-lto-plugin: \
36710 configure-lto-plugin
36711 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36712 r=`${PWD_COMMAND}`; export r; \
36713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36714 $(HOST_EXPORTS) \
36715 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36717 done; \
36718 echo "Doing dvi in lto-plugin"; \
36719 (cd $(HOST_SUBDIR)/lto-plugin && \
36720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36722 "RANLIB=$${RANLIB}" \
36723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36724 dvi) \
36725 || exit 1
36727 @endif lto-plugin
36729 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
36730 maybe-pdf-lto-plugin:
36731 @if lto-plugin
36732 maybe-pdf-lto-plugin: pdf-lto-plugin
36734 pdf-lto-plugin: \
36735 configure-lto-plugin
36736 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36737 r=`${PWD_COMMAND}`; export r; \
36738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36739 $(HOST_EXPORTS) \
36740 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36742 done; \
36743 echo "Doing pdf in lto-plugin"; \
36744 (cd $(HOST_SUBDIR)/lto-plugin && \
36745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36747 "RANLIB=$${RANLIB}" \
36748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36749 pdf) \
36750 || exit 1
36752 @endif lto-plugin
36754 .PHONY: maybe-html-lto-plugin html-lto-plugin
36755 maybe-html-lto-plugin:
36756 @if lto-plugin
36757 maybe-html-lto-plugin: html-lto-plugin
36759 html-lto-plugin: \
36760 configure-lto-plugin
36761 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36762 r=`${PWD_COMMAND}`; export r; \
36763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36764 $(HOST_EXPORTS) \
36765 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36767 done; \
36768 echo "Doing html in lto-plugin"; \
36769 (cd $(HOST_SUBDIR)/lto-plugin && \
36770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36772 "RANLIB=$${RANLIB}" \
36773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36774 html) \
36775 || exit 1
36777 @endif lto-plugin
36779 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
36780 maybe-TAGS-lto-plugin:
36781 @if lto-plugin
36782 maybe-TAGS-lto-plugin: TAGS-lto-plugin
36784 TAGS-lto-plugin: \
36785 configure-lto-plugin
36786 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36787 r=`${PWD_COMMAND}`; export r; \
36788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36789 $(HOST_EXPORTS) \
36790 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36792 done; \
36793 echo "Doing TAGS in lto-plugin"; \
36794 (cd $(HOST_SUBDIR)/lto-plugin && \
36795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36797 "RANLIB=$${RANLIB}" \
36798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36799 TAGS) \
36800 || exit 1
36802 @endif lto-plugin
36804 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
36805 maybe-install-info-lto-plugin:
36806 @if lto-plugin
36807 maybe-install-info-lto-plugin: install-info-lto-plugin
36809 install-info-lto-plugin: \
36810 configure-lto-plugin \
36811 info-lto-plugin
36812 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36813 r=`${PWD_COMMAND}`; export r; \
36814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36815 $(HOST_EXPORTS) \
36816 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36818 done; \
36819 echo "Doing install-info in lto-plugin"; \
36820 (cd $(HOST_SUBDIR)/lto-plugin && \
36821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36823 "RANLIB=$${RANLIB}" \
36824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36825 install-info) \
36826 || exit 1
36828 @endif lto-plugin
36830 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
36831 maybe-install-pdf-lto-plugin:
36832 @if lto-plugin
36833 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
36835 install-pdf-lto-plugin: \
36836 configure-lto-plugin \
36837 pdf-lto-plugin
36838 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36839 r=`${PWD_COMMAND}`; export r; \
36840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36841 $(HOST_EXPORTS) \
36842 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36844 done; \
36845 echo "Doing install-pdf in lto-plugin"; \
36846 (cd $(HOST_SUBDIR)/lto-plugin && \
36847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36849 "RANLIB=$${RANLIB}" \
36850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36851 install-pdf) \
36852 || exit 1
36854 @endif lto-plugin
36856 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
36857 maybe-install-html-lto-plugin:
36858 @if lto-plugin
36859 maybe-install-html-lto-plugin: install-html-lto-plugin
36861 install-html-lto-plugin: \
36862 configure-lto-plugin \
36863 html-lto-plugin
36864 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36865 r=`${PWD_COMMAND}`; export r; \
36866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36867 $(HOST_EXPORTS) \
36868 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36870 done; \
36871 echo "Doing install-html in lto-plugin"; \
36872 (cd $(HOST_SUBDIR)/lto-plugin && \
36873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36875 "RANLIB=$${RANLIB}" \
36876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36877 install-html) \
36878 || exit 1
36880 @endif lto-plugin
36882 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
36883 maybe-installcheck-lto-plugin:
36884 @if lto-plugin
36885 maybe-installcheck-lto-plugin: installcheck-lto-plugin
36887 installcheck-lto-plugin: \
36888 configure-lto-plugin
36889 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36890 r=`${PWD_COMMAND}`; export r; \
36891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36892 $(HOST_EXPORTS) \
36893 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36895 done; \
36896 echo "Doing installcheck in lto-plugin"; \
36897 (cd $(HOST_SUBDIR)/lto-plugin && \
36898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36900 "RANLIB=$${RANLIB}" \
36901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36902 installcheck) \
36903 || exit 1
36905 @endif lto-plugin
36907 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
36908 maybe-mostlyclean-lto-plugin:
36909 @if lto-plugin
36910 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
36912 mostlyclean-lto-plugin:
36913 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36914 r=`${PWD_COMMAND}`; export r; \
36915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36916 $(HOST_EXPORTS) \
36917 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36919 done; \
36920 echo "Doing mostlyclean in lto-plugin"; \
36921 (cd $(HOST_SUBDIR)/lto-plugin && \
36922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36924 "RANLIB=$${RANLIB}" \
36925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36926 mostlyclean) \
36927 || exit 1
36929 @endif lto-plugin
36931 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
36932 maybe-clean-lto-plugin:
36933 @if lto-plugin
36934 maybe-clean-lto-plugin: clean-lto-plugin
36936 clean-lto-plugin:
36937 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36938 r=`${PWD_COMMAND}`; export r; \
36939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36940 $(HOST_EXPORTS) \
36941 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36943 done; \
36944 echo "Doing clean in lto-plugin"; \
36945 (cd $(HOST_SUBDIR)/lto-plugin && \
36946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36948 "RANLIB=$${RANLIB}" \
36949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36950 clean) \
36951 || exit 1
36953 @endif lto-plugin
36955 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
36956 maybe-distclean-lto-plugin:
36957 @if lto-plugin
36958 maybe-distclean-lto-plugin: distclean-lto-plugin
36960 distclean-lto-plugin:
36961 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36962 r=`${PWD_COMMAND}`; export r; \
36963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36964 $(HOST_EXPORTS) \
36965 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36967 done; \
36968 echo "Doing distclean in lto-plugin"; \
36969 (cd $(HOST_SUBDIR)/lto-plugin && \
36970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36972 "RANLIB=$${RANLIB}" \
36973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36974 distclean) \
36975 || exit 1
36977 @endif lto-plugin
36979 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
36980 maybe-maintainer-clean-lto-plugin:
36981 @if lto-plugin
36982 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
36984 maintainer-clean-lto-plugin:
36985 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36986 r=`${PWD_COMMAND}`; export r; \
36987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36988 $(HOST_EXPORTS) \
36989 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36991 done; \
36992 echo "Doing maintainer-clean in lto-plugin"; \
36993 (cd $(HOST_SUBDIR)/lto-plugin && \
36994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36996 "RANLIB=$${RANLIB}" \
36997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36998 maintainer-clean) \
36999 || exit 1
37001 @endif lto-plugin
37005 .PHONY: configure-libcc1 maybe-configure-libcc1
37006 maybe-configure-libcc1:
37007 @if gcc-bootstrap
37008 configure-libcc1: stage_current
37009 @endif gcc-bootstrap
37010 @if libcc1
37011 maybe-configure-libcc1: configure-libcc1
37012 configure-libcc1:
37013 @: $(MAKE); $(unstage)
37014 @r=`${PWD_COMMAND}`; export r; \
37015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37016 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
37017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
37018 $(HOST_EXPORTS) \
37019 echo Configuring in $(HOST_SUBDIR)/libcc1; \
37020 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
37021 case $(srcdir) in \
37022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37023 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
37024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37025 esac; \
37026 module_srcdir=libcc1; \
37027 $(SHELL) \
37028 $$s/$$module_srcdir/configure \
37029 --srcdir=$${topdir}/$$module_srcdir \
37030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37031 --target=${target_alias} --enable-shared \
37032 || exit 1
37033 @endif libcc1
37039 .PHONY: all-libcc1 maybe-all-libcc1
37040 maybe-all-libcc1:
37041 @if gcc-bootstrap
37042 all-libcc1: stage_current
37043 @endif gcc-bootstrap
37044 @if libcc1
37045 TARGET-libcc1=all
37046 maybe-all-libcc1: all-libcc1
37047 all-libcc1: configure-libcc1
37048 @: $(MAKE); $(unstage)
37049 @r=`${PWD_COMMAND}`; export r; \
37050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37051 $(HOST_EXPORTS) \
37052 (cd $(HOST_SUBDIR)/libcc1 && \
37053 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37054 $(TARGET-libcc1))
37055 @endif libcc1
37060 .PHONY: check-libcc1 maybe-check-libcc1
37061 maybe-check-libcc1:
37062 @if libcc1
37063 maybe-check-libcc1: check-libcc1
37065 check-libcc1:
37066 @: $(MAKE); $(unstage)
37067 @r=`${PWD_COMMAND}`; export r; \
37068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37069 $(HOST_EXPORTS) \
37070 (cd $(HOST_SUBDIR)/libcc1 && \
37071 $(MAKE) $(FLAGS_TO_PASS) check)
37073 @endif libcc1
37075 .PHONY: install-libcc1 maybe-install-libcc1
37076 maybe-install-libcc1:
37077 @if libcc1
37078 maybe-install-libcc1: install-libcc1
37080 install-libcc1: installdirs
37081 @: $(MAKE); $(unstage)
37082 @r=`${PWD_COMMAND}`; export r; \
37083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37084 $(HOST_EXPORTS) \
37085 (cd $(HOST_SUBDIR)/libcc1 && \
37086 $(MAKE) $(FLAGS_TO_PASS) install)
37088 @endif libcc1
37090 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37091 maybe-install-strip-libcc1:
37092 @if libcc1
37093 maybe-install-strip-libcc1: install-strip-libcc1
37095 install-strip-libcc1: installdirs
37096 @: $(MAKE); $(unstage)
37097 @r=`${PWD_COMMAND}`; export r; \
37098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37099 $(HOST_EXPORTS) \
37100 (cd $(HOST_SUBDIR)/libcc1 && \
37101 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37103 @endif libcc1
37105 # Other targets (info, dvi, pdf, etc.)
37107 .PHONY: maybe-info-libcc1 info-libcc1
37108 maybe-info-libcc1:
37109 @if libcc1
37110 maybe-info-libcc1: info-libcc1
37112 info-libcc1: \
37113 configure-libcc1
37114 @: $(MAKE); $(unstage)
37115 @[ -f ./libcc1/Makefile ] || exit 0; \
37116 r=`${PWD_COMMAND}`; export r; \
37117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37118 $(HOST_EXPORTS) \
37119 for flag in $(EXTRA_HOST_FLAGS) ; do \
37120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37121 done; \
37122 echo "Doing info in libcc1"; \
37123 (cd $(HOST_SUBDIR)/libcc1 && \
37124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37126 "RANLIB=$${RANLIB}" \
37127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37128 info) \
37129 || exit 1
37131 @endif libcc1
37133 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37134 maybe-dvi-libcc1:
37135 @if libcc1
37136 maybe-dvi-libcc1: dvi-libcc1
37138 dvi-libcc1: \
37139 configure-libcc1
37140 @: $(MAKE); $(unstage)
37141 @[ -f ./libcc1/Makefile ] || exit 0; \
37142 r=`${PWD_COMMAND}`; export r; \
37143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37144 $(HOST_EXPORTS) \
37145 for flag in $(EXTRA_HOST_FLAGS) ; do \
37146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37147 done; \
37148 echo "Doing dvi in libcc1"; \
37149 (cd $(HOST_SUBDIR)/libcc1 && \
37150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37152 "RANLIB=$${RANLIB}" \
37153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37154 dvi) \
37155 || exit 1
37157 @endif libcc1
37159 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37160 maybe-pdf-libcc1:
37161 @if libcc1
37162 maybe-pdf-libcc1: pdf-libcc1
37164 pdf-libcc1: \
37165 configure-libcc1
37166 @: $(MAKE); $(unstage)
37167 @[ -f ./libcc1/Makefile ] || exit 0; \
37168 r=`${PWD_COMMAND}`; export r; \
37169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37170 $(HOST_EXPORTS) \
37171 for flag in $(EXTRA_HOST_FLAGS) ; do \
37172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37173 done; \
37174 echo "Doing pdf in libcc1"; \
37175 (cd $(HOST_SUBDIR)/libcc1 && \
37176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37178 "RANLIB=$${RANLIB}" \
37179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37180 pdf) \
37181 || exit 1
37183 @endif libcc1
37185 .PHONY: maybe-html-libcc1 html-libcc1
37186 maybe-html-libcc1:
37187 @if libcc1
37188 maybe-html-libcc1: html-libcc1
37190 html-libcc1: \
37191 configure-libcc1
37192 @: $(MAKE); $(unstage)
37193 @[ -f ./libcc1/Makefile ] || exit 0; \
37194 r=`${PWD_COMMAND}`; export r; \
37195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37196 $(HOST_EXPORTS) \
37197 for flag in $(EXTRA_HOST_FLAGS) ; do \
37198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37199 done; \
37200 echo "Doing html in libcc1"; \
37201 (cd $(HOST_SUBDIR)/libcc1 && \
37202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37204 "RANLIB=$${RANLIB}" \
37205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37206 html) \
37207 || exit 1
37209 @endif libcc1
37211 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37212 maybe-TAGS-libcc1:
37213 @if libcc1
37214 maybe-TAGS-libcc1: TAGS-libcc1
37216 TAGS-libcc1: \
37217 configure-libcc1
37218 @: $(MAKE); $(unstage)
37219 @[ -f ./libcc1/Makefile ] || exit 0; \
37220 r=`${PWD_COMMAND}`; export r; \
37221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37222 $(HOST_EXPORTS) \
37223 for flag in $(EXTRA_HOST_FLAGS) ; do \
37224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37225 done; \
37226 echo "Doing TAGS in libcc1"; \
37227 (cd $(HOST_SUBDIR)/libcc1 && \
37228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37230 "RANLIB=$${RANLIB}" \
37231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37232 TAGS) \
37233 || exit 1
37235 @endif libcc1
37237 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37238 maybe-install-info-libcc1:
37239 @if libcc1
37240 maybe-install-info-libcc1: install-info-libcc1
37242 install-info-libcc1: \
37243 configure-libcc1 \
37244 info-libcc1
37245 @: $(MAKE); $(unstage)
37246 @[ -f ./libcc1/Makefile ] || exit 0; \
37247 r=`${PWD_COMMAND}`; export r; \
37248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37249 $(HOST_EXPORTS) \
37250 for flag in $(EXTRA_HOST_FLAGS) ; do \
37251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37252 done; \
37253 echo "Doing install-info in libcc1"; \
37254 (cd $(HOST_SUBDIR)/libcc1 && \
37255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37257 "RANLIB=$${RANLIB}" \
37258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37259 install-info) \
37260 || exit 1
37262 @endif libcc1
37264 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37265 maybe-install-pdf-libcc1:
37266 @if libcc1
37267 maybe-install-pdf-libcc1: install-pdf-libcc1
37269 install-pdf-libcc1: \
37270 configure-libcc1 \
37271 pdf-libcc1
37272 @: $(MAKE); $(unstage)
37273 @[ -f ./libcc1/Makefile ] || exit 0; \
37274 r=`${PWD_COMMAND}`; export r; \
37275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37276 $(HOST_EXPORTS) \
37277 for flag in $(EXTRA_HOST_FLAGS) ; do \
37278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37279 done; \
37280 echo "Doing install-pdf in libcc1"; \
37281 (cd $(HOST_SUBDIR)/libcc1 && \
37282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37284 "RANLIB=$${RANLIB}" \
37285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37286 install-pdf) \
37287 || exit 1
37289 @endif libcc1
37291 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37292 maybe-install-html-libcc1:
37293 @if libcc1
37294 maybe-install-html-libcc1: install-html-libcc1
37296 install-html-libcc1: \
37297 configure-libcc1 \
37298 html-libcc1
37299 @: $(MAKE); $(unstage)
37300 @[ -f ./libcc1/Makefile ] || exit 0; \
37301 r=`${PWD_COMMAND}`; export r; \
37302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37303 $(HOST_EXPORTS) \
37304 for flag in $(EXTRA_HOST_FLAGS) ; do \
37305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37306 done; \
37307 echo "Doing install-html in libcc1"; \
37308 (cd $(HOST_SUBDIR)/libcc1 && \
37309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37311 "RANLIB=$${RANLIB}" \
37312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37313 install-html) \
37314 || exit 1
37316 @endif libcc1
37318 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
37319 maybe-installcheck-libcc1:
37320 @if libcc1
37321 maybe-installcheck-libcc1: installcheck-libcc1
37323 installcheck-libcc1: \
37324 configure-libcc1
37325 @: $(MAKE); $(unstage)
37326 @[ -f ./libcc1/Makefile ] || exit 0; \
37327 r=`${PWD_COMMAND}`; export r; \
37328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37329 $(HOST_EXPORTS) \
37330 for flag in $(EXTRA_HOST_FLAGS) ; do \
37331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37332 done; \
37333 echo "Doing installcheck in libcc1"; \
37334 (cd $(HOST_SUBDIR)/libcc1 && \
37335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37337 "RANLIB=$${RANLIB}" \
37338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37339 installcheck) \
37340 || exit 1
37342 @endif libcc1
37344 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
37345 maybe-mostlyclean-libcc1:
37346 @if libcc1
37347 maybe-mostlyclean-libcc1: mostlyclean-libcc1
37349 mostlyclean-libcc1:
37350 @: $(MAKE); $(unstage)
37351 @[ -f ./libcc1/Makefile ] || exit 0; \
37352 r=`${PWD_COMMAND}`; export r; \
37353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37354 $(HOST_EXPORTS) \
37355 for flag in $(EXTRA_HOST_FLAGS) ; do \
37356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37357 done; \
37358 echo "Doing mostlyclean in libcc1"; \
37359 (cd $(HOST_SUBDIR)/libcc1 && \
37360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37362 "RANLIB=$${RANLIB}" \
37363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37364 mostlyclean) \
37365 || exit 1
37367 @endif libcc1
37369 .PHONY: maybe-clean-libcc1 clean-libcc1
37370 maybe-clean-libcc1:
37371 @if libcc1
37372 maybe-clean-libcc1: clean-libcc1
37374 clean-libcc1:
37375 @: $(MAKE); $(unstage)
37376 @[ -f ./libcc1/Makefile ] || exit 0; \
37377 r=`${PWD_COMMAND}`; export r; \
37378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37379 $(HOST_EXPORTS) \
37380 for flag in $(EXTRA_HOST_FLAGS) ; do \
37381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37382 done; \
37383 echo "Doing clean in libcc1"; \
37384 (cd $(HOST_SUBDIR)/libcc1 && \
37385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37387 "RANLIB=$${RANLIB}" \
37388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37389 clean) \
37390 || exit 1
37392 @endif libcc1
37394 .PHONY: maybe-distclean-libcc1 distclean-libcc1
37395 maybe-distclean-libcc1:
37396 @if libcc1
37397 maybe-distclean-libcc1: distclean-libcc1
37399 distclean-libcc1:
37400 @: $(MAKE); $(unstage)
37401 @[ -f ./libcc1/Makefile ] || exit 0; \
37402 r=`${PWD_COMMAND}`; export r; \
37403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37404 $(HOST_EXPORTS) \
37405 for flag in $(EXTRA_HOST_FLAGS) ; do \
37406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37407 done; \
37408 echo "Doing distclean in libcc1"; \
37409 (cd $(HOST_SUBDIR)/libcc1 && \
37410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37412 "RANLIB=$${RANLIB}" \
37413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37414 distclean) \
37415 || exit 1
37417 @endif libcc1
37419 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
37420 maybe-maintainer-clean-libcc1:
37421 @if libcc1
37422 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
37424 maintainer-clean-libcc1:
37425 @: $(MAKE); $(unstage)
37426 @[ -f ./libcc1/Makefile ] || exit 0; \
37427 r=`${PWD_COMMAND}`; export r; \
37428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37429 $(HOST_EXPORTS) \
37430 for flag in $(EXTRA_HOST_FLAGS) ; do \
37431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37432 done; \
37433 echo "Doing maintainer-clean in libcc1"; \
37434 (cd $(HOST_SUBDIR)/libcc1 && \
37435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37437 "RANLIB=$${RANLIB}" \
37438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37439 maintainer-clean) \
37440 || exit 1
37442 @endif libcc1
37446 .PHONY: configure-gotools maybe-configure-gotools
37447 maybe-configure-gotools:
37448 @if gcc-bootstrap
37449 configure-gotools: stage_current
37450 @endif gcc-bootstrap
37451 @if gotools
37452 maybe-configure-gotools: configure-gotools
37453 configure-gotools:
37454 @: $(MAKE); $(unstage)
37455 @r=`${PWD_COMMAND}`; export r; \
37456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37457 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
37458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
37459 $(HOST_EXPORTS) \
37460 echo Configuring in $(HOST_SUBDIR)/gotools; \
37461 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
37462 case $(srcdir) in \
37463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37464 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
37465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37466 esac; \
37467 module_srcdir=gotools; \
37468 $(SHELL) \
37469 $$s/$$module_srcdir/configure \
37470 --srcdir=$${topdir}/$$module_srcdir \
37471 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37472 --target=${target_alias} \
37473 || exit 1
37474 @endif gotools
37480 .PHONY: all-gotools maybe-all-gotools
37481 maybe-all-gotools:
37482 @if gcc-bootstrap
37483 all-gotools: stage_current
37484 @endif gcc-bootstrap
37485 @if gotools
37486 TARGET-gotools=all
37487 maybe-all-gotools: all-gotools
37488 all-gotools: configure-gotools
37489 @: $(MAKE); $(unstage)
37490 @r=`${PWD_COMMAND}`; export r; \
37491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37492 $(HOST_EXPORTS) \
37493 (cd $(HOST_SUBDIR)/gotools && \
37494 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37495 $(TARGET-gotools))
37496 @endif gotools
37501 .PHONY: check-gotools maybe-check-gotools
37502 maybe-check-gotools:
37503 @if gotools
37504 maybe-check-gotools: check-gotools
37506 check-gotools:
37507 @: $(MAKE); $(unstage)
37508 @r=`${PWD_COMMAND}`; export r; \
37509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37510 $(HOST_EXPORTS) \
37511 (cd $(HOST_SUBDIR)/gotools && \
37512 $(MAKE) $(FLAGS_TO_PASS) check)
37514 @endif gotools
37516 .PHONY: install-gotools maybe-install-gotools
37517 maybe-install-gotools:
37518 @if gotools
37519 maybe-install-gotools: install-gotools
37521 install-gotools: installdirs
37522 @: $(MAKE); $(unstage)
37523 @r=`${PWD_COMMAND}`; export r; \
37524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37525 $(HOST_EXPORTS) \
37526 (cd $(HOST_SUBDIR)/gotools && \
37527 $(MAKE) $(FLAGS_TO_PASS) install)
37529 @endif gotools
37531 .PHONY: install-strip-gotools maybe-install-strip-gotools
37532 maybe-install-strip-gotools:
37533 @if gotools
37534 maybe-install-strip-gotools: install-strip-gotools
37536 install-strip-gotools: installdirs
37537 @: $(MAKE); $(unstage)
37538 @r=`${PWD_COMMAND}`; export r; \
37539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37540 $(HOST_EXPORTS) \
37541 (cd $(HOST_SUBDIR)/gotools && \
37542 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37544 @endif gotools
37546 # Other targets (info, dvi, pdf, etc.)
37548 .PHONY: maybe-info-gotools info-gotools
37549 maybe-info-gotools:
37550 @if gotools
37551 maybe-info-gotools: info-gotools
37553 info-gotools: \
37554 configure-gotools
37555 @: $(MAKE); $(unstage)
37556 @[ -f ./gotools/Makefile ] || exit 0; \
37557 r=`${PWD_COMMAND}`; export r; \
37558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37559 $(HOST_EXPORTS) \
37560 for flag in $(EXTRA_HOST_FLAGS) ; do \
37561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37562 done; \
37563 echo "Doing info in gotools"; \
37564 (cd $(HOST_SUBDIR)/gotools && \
37565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37567 "RANLIB=$${RANLIB}" \
37568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37569 info) \
37570 || exit 1
37572 @endif gotools
37574 .PHONY: maybe-dvi-gotools dvi-gotools
37575 maybe-dvi-gotools:
37576 @if gotools
37577 maybe-dvi-gotools: dvi-gotools
37579 dvi-gotools: \
37580 configure-gotools
37581 @: $(MAKE); $(unstage)
37582 @[ -f ./gotools/Makefile ] || exit 0; \
37583 r=`${PWD_COMMAND}`; export r; \
37584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37585 $(HOST_EXPORTS) \
37586 for flag in $(EXTRA_HOST_FLAGS) ; do \
37587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37588 done; \
37589 echo "Doing dvi in gotools"; \
37590 (cd $(HOST_SUBDIR)/gotools && \
37591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37593 "RANLIB=$${RANLIB}" \
37594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37595 dvi) \
37596 || exit 1
37598 @endif gotools
37600 .PHONY: maybe-pdf-gotools pdf-gotools
37601 maybe-pdf-gotools:
37602 @if gotools
37603 maybe-pdf-gotools: pdf-gotools
37605 pdf-gotools: \
37606 configure-gotools
37607 @: $(MAKE); $(unstage)
37608 @[ -f ./gotools/Makefile ] || exit 0; \
37609 r=`${PWD_COMMAND}`; export r; \
37610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37611 $(HOST_EXPORTS) \
37612 for flag in $(EXTRA_HOST_FLAGS) ; do \
37613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37614 done; \
37615 echo "Doing pdf in gotools"; \
37616 (cd $(HOST_SUBDIR)/gotools && \
37617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37619 "RANLIB=$${RANLIB}" \
37620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37621 pdf) \
37622 || exit 1
37624 @endif gotools
37626 .PHONY: maybe-html-gotools html-gotools
37627 maybe-html-gotools:
37628 @if gotools
37629 maybe-html-gotools: html-gotools
37631 html-gotools: \
37632 configure-gotools
37633 @: $(MAKE); $(unstage)
37634 @[ -f ./gotools/Makefile ] || exit 0; \
37635 r=`${PWD_COMMAND}`; export r; \
37636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37637 $(HOST_EXPORTS) \
37638 for flag in $(EXTRA_HOST_FLAGS) ; do \
37639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37640 done; \
37641 echo "Doing html in gotools"; \
37642 (cd $(HOST_SUBDIR)/gotools && \
37643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37645 "RANLIB=$${RANLIB}" \
37646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37647 html) \
37648 || exit 1
37650 @endif gotools
37652 .PHONY: maybe-TAGS-gotools TAGS-gotools
37653 maybe-TAGS-gotools:
37654 @if gotools
37655 maybe-TAGS-gotools: TAGS-gotools
37657 TAGS-gotools: \
37658 configure-gotools
37659 @: $(MAKE); $(unstage)
37660 @[ -f ./gotools/Makefile ] || exit 0; \
37661 r=`${PWD_COMMAND}`; export r; \
37662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37663 $(HOST_EXPORTS) \
37664 for flag in $(EXTRA_HOST_FLAGS) ; do \
37665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37666 done; \
37667 echo "Doing TAGS in gotools"; \
37668 (cd $(HOST_SUBDIR)/gotools && \
37669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37671 "RANLIB=$${RANLIB}" \
37672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37673 TAGS) \
37674 || exit 1
37676 @endif gotools
37678 .PHONY: maybe-install-info-gotools install-info-gotools
37679 maybe-install-info-gotools:
37680 @if gotools
37681 maybe-install-info-gotools: install-info-gotools
37683 install-info-gotools: \
37684 configure-gotools \
37685 info-gotools
37686 @: $(MAKE); $(unstage)
37687 @[ -f ./gotools/Makefile ] || exit 0; \
37688 r=`${PWD_COMMAND}`; export r; \
37689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37690 $(HOST_EXPORTS) \
37691 for flag in $(EXTRA_HOST_FLAGS) ; do \
37692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37693 done; \
37694 echo "Doing install-info in gotools"; \
37695 (cd $(HOST_SUBDIR)/gotools && \
37696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37698 "RANLIB=$${RANLIB}" \
37699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37700 install-info) \
37701 || exit 1
37703 @endif gotools
37705 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
37706 maybe-install-pdf-gotools:
37707 @if gotools
37708 maybe-install-pdf-gotools: install-pdf-gotools
37710 install-pdf-gotools: \
37711 configure-gotools \
37712 pdf-gotools
37713 @: $(MAKE); $(unstage)
37714 @[ -f ./gotools/Makefile ] || exit 0; \
37715 r=`${PWD_COMMAND}`; export r; \
37716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37717 $(HOST_EXPORTS) \
37718 for flag in $(EXTRA_HOST_FLAGS) ; do \
37719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37720 done; \
37721 echo "Doing install-pdf in gotools"; \
37722 (cd $(HOST_SUBDIR)/gotools && \
37723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37725 "RANLIB=$${RANLIB}" \
37726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37727 install-pdf) \
37728 || exit 1
37730 @endif gotools
37732 .PHONY: maybe-install-html-gotools install-html-gotools
37733 maybe-install-html-gotools:
37734 @if gotools
37735 maybe-install-html-gotools: install-html-gotools
37737 install-html-gotools: \
37738 configure-gotools \
37739 html-gotools
37740 @: $(MAKE); $(unstage)
37741 @[ -f ./gotools/Makefile ] || exit 0; \
37742 r=`${PWD_COMMAND}`; export r; \
37743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37744 $(HOST_EXPORTS) \
37745 for flag in $(EXTRA_HOST_FLAGS) ; do \
37746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37747 done; \
37748 echo "Doing install-html in gotools"; \
37749 (cd $(HOST_SUBDIR)/gotools && \
37750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37752 "RANLIB=$${RANLIB}" \
37753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37754 install-html) \
37755 || exit 1
37757 @endif gotools
37759 .PHONY: maybe-installcheck-gotools installcheck-gotools
37760 maybe-installcheck-gotools:
37761 @if gotools
37762 maybe-installcheck-gotools: installcheck-gotools
37764 installcheck-gotools: \
37765 configure-gotools
37766 @: $(MAKE); $(unstage)
37767 @[ -f ./gotools/Makefile ] || exit 0; \
37768 r=`${PWD_COMMAND}`; export r; \
37769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37770 $(HOST_EXPORTS) \
37771 for flag in $(EXTRA_HOST_FLAGS) ; do \
37772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37773 done; \
37774 echo "Doing installcheck in gotools"; \
37775 (cd $(HOST_SUBDIR)/gotools && \
37776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37778 "RANLIB=$${RANLIB}" \
37779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37780 installcheck) \
37781 || exit 1
37783 @endif gotools
37785 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
37786 maybe-mostlyclean-gotools:
37787 @if gotools
37788 maybe-mostlyclean-gotools: mostlyclean-gotools
37790 mostlyclean-gotools:
37791 @: $(MAKE); $(unstage)
37792 @[ -f ./gotools/Makefile ] || exit 0; \
37793 r=`${PWD_COMMAND}`; export r; \
37794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37795 $(HOST_EXPORTS) \
37796 for flag in $(EXTRA_HOST_FLAGS) ; do \
37797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37798 done; \
37799 echo "Doing mostlyclean in gotools"; \
37800 (cd $(HOST_SUBDIR)/gotools && \
37801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37803 "RANLIB=$${RANLIB}" \
37804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37805 mostlyclean) \
37806 || exit 1
37808 @endif gotools
37810 .PHONY: maybe-clean-gotools clean-gotools
37811 maybe-clean-gotools:
37812 @if gotools
37813 maybe-clean-gotools: clean-gotools
37815 clean-gotools:
37816 @: $(MAKE); $(unstage)
37817 @[ -f ./gotools/Makefile ] || exit 0; \
37818 r=`${PWD_COMMAND}`; export r; \
37819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37820 $(HOST_EXPORTS) \
37821 for flag in $(EXTRA_HOST_FLAGS) ; do \
37822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37823 done; \
37824 echo "Doing clean in gotools"; \
37825 (cd $(HOST_SUBDIR)/gotools && \
37826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37828 "RANLIB=$${RANLIB}" \
37829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37830 clean) \
37831 || exit 1
37833 @endif gotools
37835 .PHONY: maybe-distclean-gotools distclean-gotools
37836 maybe-distclean-gotools:
37837 @if gotools
37838 maybe-distclean-gotools: distclean-gotools
37840 distclean-gotools:
37841 @: $(MAKE); $(unstage)
37842 @[ -f ./gotools/Makefile ] || exit 0; \
37843 r=`${PWD_COMMAND}`; export r; \
37844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37845 $(HOST_EXPORTS) \
37846 for flag in $(EXTRA_HOST_FLAGS) ; do \
37847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37848 done; \
37849 echo "Doing distclean in gotools"; \
37850 (cd $(HOST_SUBDIR)/gotools && \
37851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37853 "RANLIB=$${RANLIB}" \
37854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37855 distclean) \
37856 || exit 1
37858 @endif gotools
37860 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
37861 maybe-maintainer-clean-gotools:
37862 @if gotools
37863 maybe-maintainer-clean-gotools: maintainer-clean-gotools
37865 maintainer-clean-gotools:
37866 @: $(MAKE); $(unstage)
37867 @[ -f ./gotools/Makefile ] || exit 0; \
37868 r=`${PWD_COMMAND}`; export r; \
37869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37870 $(HOST_EXPORTS) \
37871 for flag in $(EXTRA_HOST_FLAGS) ; do \
37872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37873 done; \
37874 echo "Doing maintainer-clean in gotools"; \
37875 (cd $(HOST_SUBDIR)/gotools && \
37876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37878 "RANLIB=$${RANLIB}" \
37879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37880 maintainer-clean) \
37881 || exit 1
37883 @endif gotools
37887 # ---------------------------------------
37888 # Modules which run on the target machine
37889 # ---------------------------------------
37894 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
37895 maybe-configure-target-libstdc++-v3:
37896 @if gcc-bootstrap
37897 configure-target-libstdc++-v3: stage_current
37898 @endif gcc-bootstrap
37899 @if target-libstdc++-v3
37900 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
37901 configure-target-libstdc++-v3:
37902 @r=`${PWD_COMMAND}`; export r; \
37903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37904 echo "Checking multilib configuration for libstdc++-v3..."; \
37905 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37906 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37907 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37908 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37909 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37910 else \
37911 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37912 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37913 fi; \
37914 else \
37915 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37916 fi; \
37917 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37918 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37919 $(RAW_CXX_TARGET_EXPORTS) \
37920 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
37921 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
37922 case $(srcdir) in \
37923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37924 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37926 esac; \
37927 module_srcdir=libstdc++-v3; \
37928 rm -f no-such-file || : ; \
37929 CONFIG_SITE=no-such-file $(SHELL) \
37930 $$s/$$module_srcdir/configure \
37931 --srcdir=$${topdir}/$$module_srcdir \
37932 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37933 --target=${target_alias} \
37934 || exit 1
37935 @endif target-libstdc++-v3
37939 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
37940 maybe-configure-stage1-target-libstdc++-v3:
37941 @if target-libstdc++-v3-bootstrap
37942 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
37943 configure-stage1-target-libstdc++-v3:
37944 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37945 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37946 @r=`${PWD_COMMAND}`; export r; \
37947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37948 TFLAGS="$(STAGE1_TFLAGS)"; \
37949 echo "Checking multilib configuration for libstdc++-v3..."; \
37950 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37951 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37952 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37953 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37954 else \
37955 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37956 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37957 fi; \
37958 else \
37959 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37960 fi; \
37961 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37962 $(RAW_CXX_TARGET_EXPORTS) \
37963 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37964 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37965 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37966 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
37967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37968 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
37969 case $(srcdir) in \
37970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37971 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37973 esac; \
37974 module_srcdir=libstdc++-v3; \
37975 $(SHELL) $$s/$$module_srcdir/configure \
37976 --srcdir=$${topdir}/$$module_srcdir \
37977 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37978 --target=${target_alias} \
37980 $(STAGE1_CONFIGURE_FLAGS)
37981 @endif target-libstdc++-v3-bootstrap
37983 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
37984 maybe-configure-stage2-target-libstdc++-v3:
37985 @if target-libstdc++-v3-bootstrap
37986 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
37987 configure-stage2-target-libstdc++-v3:
37988 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37989 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37990 @r=`${PWD_COMMAND}`; export r; \
37991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37992 TFLAGS="$(STAGE2_TFLAGS)"; \
37993 echo "Checking multilib configuration for libstdc++-v3..."; \
37994 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37995 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37996 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37997 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37998 else \
37999 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38000 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38001 fi; \
38002 else \
38003 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38004 fi; \
38005 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38006 $(RAW_CXX_TARGET_EXPORTS) \
38008 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38011 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
38012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38013 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38014 case $(srcdir) in \
38015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38016 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38018 esac; \
38019 module_srcdir=libstdc++-v3; \
38020 $(SHELL) $$s/$$module_srcdir/configure \
38021 --srcdir=$${topdir}/$$module_srcdir \
38022 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38023 --target=${target_alias} \
38024 --with-build-libsubdir=$(HOST_SUBDIR) \
38025 $(STAGE2_CONFIGURE_FLAGS)
38026 @endif target-libstdc++-v3-bootstrap
38028 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
38029 maybe-configure-stage3-target-libstdc++-v3:
38030 @if target-libstdc++-v3-bootstrap
38031 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38032 configure-stage3-target-libstdc++-v3:
38033 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38034 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38035 @r=`${PWD_COMMAND}`; export r; \
38036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38037 TFLAGS="$(STAGE3_TFLAGS)"; \
38038 echo "Checking multilib configuration for libstdc++-v3..."; \
38039 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38040 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38041 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38042 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38043 else \
38044 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38045 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38046 fi; \
38047 else \
38048 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38049 fi; \
38050 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38051 $(RAW_CXX_TARGET_EXPORTS) \
38053 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38054 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38055 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38056 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
38057 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38058 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38059 case $(srcdir) in \
38060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38061 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38063 esac; \
38064 module_srcdir=libstdc++-v3; \
38065 $(SHELL) $$s/$$module_srcdir/configure \
38066 --srcdir=$${topdir}/$$module_srcdir \
38067 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38068 --target=${target_alias} \
38069 --with-build-libsubdir=$(HOST_SUBDIR) \
38070 $(STAGE3_CONFIGURE_FLAGS)
38071 @endif target-libstdc++-v3-bootstrap
38073 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
38074 maybe-configure-stage4-target-libstdc++-v3:
38075 @if target-libstdc++-v3-bootstrap
38076 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38077 configure-stage4-target-libstdc++-v3:
38078 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38079 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38080 @r=`${PWD_COMMAND}`; export r; \
38081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38082 TFLAGS="$(STAGE4_TFLAGS)"; \
38083 echo "Checking multilib configuration for libstdc++-v3..."; \
38084 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38085 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38086 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38087 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38088 else \
38089 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38090 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38091 fi; \
38092 else \
38093 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38094 fi; \
38095 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38096 $(RAW_CXX_TARGET_EXPORTS) \
38098 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38099 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38100 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38101 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
38102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38103 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38104 case $(srcdir) in \
38105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38106 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38108 esac; \
38109 module_srcdir=libstdc++-v3; \
38110 $(SHELL) $$s/$$module_srcdir/configure \
38111 --srcdir=$${topdir}/$$module_srcdir \
38112 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38113 --target=${target_alias} \
38114 --with-build-libsubdir=$(HOST_SUBDIR) \
38115 $(STAGE4_CONFIGURE_FLAGS)
38116 @endif target-libstdc++-v3-bootstrap
38118 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
38119 maybe-configure-stageprofile-target-libstdc++-v3:
38120 @if target-libstdc++-v3-bootstrap
38121 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38122 configure-stageprofile-target-libstdc++-v3:
38123 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38124 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38125 @r=`${PWD_COMMAND}`; export r; \
38126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38127 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38128 echo "Checking multilib configuration for libstdc++-v3..."; \
38129 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38130 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38131 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38132 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38133 else \
38134 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38135 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38136 fi; \
38137 else \
38138 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38139 fi; \
38140 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38141 $(RAW_CXX_TARGET_EXPORTS) \
38143 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38144 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38145 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38146 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
38147 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38148 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38149 case $(srcdir) in \
38150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38151 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38153 esac; \
38154 module_srcdir=libstdc++-v3; \
38155 $(SHELL) $$s/$$module_srcdir/configure \
38156 --srcdir=$${topdir}/$$module_srcdir \
38157 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38158 --target=${target_alias} \
38159 --with-build-libsubdir=$(HOST_SUBDIR) \
38160 $(STAGEprofile_CONFIGURE_FLAGS)
38161 @endif target-libstdc++-v3-bootstrap
38163 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
38164 maybe-configure-stagetrain-target-libstdc++-v3:
38165 @if target-libstdc++-v3-bootstrap
38166 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38167 configure-stagetrain-target-libstdc++-v3:
38168 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38169 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38170 @r=`${PWD_COMMAND}`; export r; \
38171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38172 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38173 echo "Checking multilib configuration for libstdc++-v3..."; \
38174 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38175 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38176 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38177 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38178 else \
38179 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38180 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38181 fi; \
38182 else \
38183 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38184 fi; \
38185 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38186 $(RAW_CXX_TARGET_EXPORTS) \
38188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38190 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38191 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
38192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38193 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38194 case $(srcdir) in \
38195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38196 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38198 esac; \
38199 module_srcdir=libstdc++-v3; \
38200 $(SHELL) $$s/$$module_srcdir/configure \
38201 --srcdir=$${topdir}/$$module_srcdir \
38202 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38203 --target=${target_alias} \
38204 --with-build-libsubdir=$(HOST_SUBDIR) \
38205 $(STAGEtrain_CONFIGURE_FLAGS)
38206 @endif target-libstdc++-v3-bootstrap
38208 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
38209 maybe-configure-stagefeedback-target-libstdc++-v3:
38210 @if target-libstdc++-v3-bootstrap
38211 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38212 configure-stagefeedback-target-libstdc++-v3:
38213 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38214 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38215 @r=`${PWD_COMMAND}`; export r; \
38216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38217 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38218 echo "Checking multilib configuration for libstdc++-v3..."; \
38219 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38220 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38221 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38222 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38223 else \
38224 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38225 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38226 fi; \
38227 else \
38228 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38229 fi; \
38230 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38231 $(RAW_CXX_TARGET_EXPORTS) \
38233 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38235 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38236 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38238 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38239 case $(srcdir) in \
38240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38241 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38243 esac; \
38244 module_srcdir=libstdc++-v3; \
38245 $(SHELL) $$s/$$module_srcdir/configure \
38246 --srcdir=$${topdir}/$$module_srcdir \
38247 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38248 --target=${target_alias} \
38249 --with-build-libsubdir=$(HOST_SUBDIR) \
38250 $(STAGEfeedback_CONFIGURE_FLAGS)
38251 @endif target-libstdc++-v3-bootstrap
38253 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
38254 maybe-configure-stageautoprofile-target-libstdc++-v3:
38255 @if target-libstdc++-v3-bootstrap
38256 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38257 configure-stageautoprofile-target-libstdc++-v3:
38258 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38259 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38260 @r=`${PWD_COMMAND}`; export r; \
38261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38262 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38263 echo "Checking multilib configuration for libstdc++-v3..."; \
38264 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38265 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38266 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38267 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38268 else \
38269 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38270 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38271 fi; \
38272 else \
38273 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38274 fi; \
38275 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38276 $(RAW_CXX_TARGET_EXPORTS) \
38278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38281 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
38282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38283 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38284 case $(srcdir) in \
38285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38286 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38288 esac; \
38289 module_srcdir=libstdc++-v3; \
38290 $(SHELL) $$s/$$module_srcdir/configure \
38291 --srcdir=$${topdir}/$$module_srcdir \
38292 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38293 --target=${target_alias} \
38294 --with-build-libsubdir=$(HOST_SUBDIR) \
38295 $(STAGEautoprofile_CONFIGURE_FLAGS)
38296 @endif target-libstdc++-v3-bootstrap
38298 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
38299 maybe-configure-stageautofeedback-target-libstdc++-v3:
38300 @if target-libstdc++-v3-bootstrap
38301 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38302 configure-stageautofeedback-target-libstdc++-v3:
38303 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38304 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38305 @r=`${PWD_COMMAND}`; export r; \
38306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38307 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38308 echo "Checking multilib configuration for libstdc++-v3..."; \
38309 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38310 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38311 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38312 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38313 else \
38314 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38315 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38316 fi; \
38317 else \
38318 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38319 fi; \
38320 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38321 $(RAW_CXX_TARGET_EXPORTS) \
38323 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38324 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38325 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38326 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38328 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38329 case $(srcdir) in \
38330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38331 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38333 esac; \
38334 module_srcdir=libstdc++-v3; \
38335 $(SHELL) $$s/$$module_srcdir/configure \
38336 --srcdir=$${topdir}/$$module_srcdir \
38337 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38338 --target=${target_alias} \
38339 --with-build-libsubdir=$(HOST_SUBDIR) \
38340 $(STAGEautofeedback_CONFIGURE_FLAGS)
38341 @endif target-libstdc++-v3-bootstrap
38347 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
38348 maybe-all-target-libstdc++-v3:
38349 @if gcc-bootstrap
38350 all-target-libstdc++-v3: stage_current
38351 @endif gcc-bootstrap
38352 @if target-libstdc++-v3
38353 TARGET-target-libstdc++-v3=all
38354 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
38355 all-target-libstdc++-v3: configure-target-libstdc++-v3
38356 @r=`${PWD_COMMAND}`; export r; \
38357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38358 $(RAW_CXX_TARGET_EXPORTS) \
38359 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38360 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38361 $(TARGET-target-libstdc++-v3))
38362 @endif target-libstdc++-v3
38366 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
38367 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
38368 maybe-all-stage1-target-libstdc++-v3:
38369 maybe-clean-stage1-target-libstdc++-v3:
38370 @if target-libstdc++-v3-bootstrap
38371 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
38372 all-stage1: all-stage1-target-libstdc++-v3
38373 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38374 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
38375 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38376 @r=`${PWD_COMMAND}`; export r; \
38377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38378 TFLAGS="$(STAGE1_TFLAGS)"; \
38379 $(RAW_CXX_TARGET_EXPORTS) \
38380 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38383 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38384 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38385 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38389 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38391 TFLAGS="$(STAGE1_TFLAGS)" \
38392 $(TARGET-stage1-target-libstdc++-v3)
38394 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
38395 clean-stage1: clean-stage1-target-libstdc++-v3
38396 clean-stage1-target-libstdc++-v3:
38397 @if [ $(current_stage) = stage1 ]; then \
38398 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38399 else \
38400 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
38401 $(MAKE) stage1-start; \
38402 fi; \
38403 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38404 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38405 clean
38406 @endif target-libstdc++-v3-bootstrap
38409 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
38410 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
38411 maybe-all-stage2-target-libstdc++-v3:
38412 maybe-clean-stage2-target-libstdc++-v3:
38413 @if target-libstdc++-v3-bootstrap
38414 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
38415 all-stage2: all-stage2-target-libstdc++-v3
38416 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38417 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
38418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38419 @r=`${PWD_COMMAND}`; export r; \
38420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38421 TFLAGS="$(STAGE2_TFLAGS)"; \
38422 $(RAW_CXX_TARGET_EXPORTS) \
38424 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38427 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38428 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38429 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38433 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38434 TFLAGS="$(STAGE2_TFLAGS)" \
38435 $(TARGET-stage2-target-libstdc++-v3)
38437 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
38438 clean-stage2: clean-stage2-target-libstdc++-v3
38439 clean-stage2-target-libstdc++-v3:
38440 @if [ $(current_stage) = stage2 ]; then \
38441 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38442 else \
38443 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
38444 $(MAKE) stage2-start; \
38445 fi; \
38446 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38447 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38448 @endif target-libstdc++-v3-bootstrap
38451 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
38452 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
38453 maybe-all-stage3-target-libstdc++-v3:
38454 maybe-clean-stage3-target-libstdc++-v3:
38455 @if target-libstdc++-v3-bootstrap
38456 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
38457 all-stage3: all-stage3-target-libstdc++-v3
38458 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38459 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38461 @r=`${PWD_COMMAND}`; export r; \
38462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38463 TFLAGS="$(STAGE3_TFLAGS)"; \
38464 $(RAW_CXX_TARGET_EXPORTS) \
38466 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38469 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38470 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38471 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38475 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38476 TFLAGS="$(STAGE3_TFLAGS)" \
38477 $(TARGET-stage3-target-libstdc++-v3)
38479 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
38480 clean-stage3: clean-stage3-target-libstdc++-v3
38481 clean-stage3-target-libstdc++-v3:
38482 @if [ $(current_stage) = stage3 ]; then \
38483 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38484 else \
38485 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
38486 $(MAKE) stage3-start; \
38487 fi; \
38488 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38489 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38490 @endif target-libstdc++-v3-bootstrap
38493 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
38494 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
38495 maybe-all-stage4-target-libstdc++-v3:
38496 maybe-clean-stage4-target-libstdc++-v3:
38497 @if target-libstdc++-v3-bootstrap
38498 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
38499 all-stage4: all-stage4-target-libstdc++-v3
38500 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38501 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38502 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38503 @r=`${PWD_COMMAND}`; export r; \
38504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38505 TFLAGS="$(STAGE4_TFLAGS)"; \
38506 $(RAW_CXX_TARGET_EXPORTS) \
38508 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38511 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38512 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38513 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38517 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38518 TFLAGS="$(STAGE4_TFLAGS)" \
38519 $(TARGET-stage4-target-libstdc++-v3)
38521 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
38522 clean-stage4: clean-stage4-target-libstdc++-v3
38523 clean-stage4-target-libstdc++-v3:
38524 @if [ $(current_stage) = stage4 ]; then \
38525 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38526 else \
38527 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
38528 $(MAKE) stage4-start; \
38529 fi; \
38530 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38531 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38532 @endif target-libstdc++-v3-bootstrap
38535 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
38536 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
38537 maybe-all-stageprofile-target-libstdc++-v3:
38538 maybe-clean-stageprofile-target-libstdc++-v3:
38539 @if target-libstdc++-v3-bootstrap
38540 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
38541 all-stageprofile: all-stageprofile-target-libstdc++-v3
38542 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38543 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38544 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38545 @r=`${PWD_COMMAND}`; export r; \
38546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38547 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38548 $(RAW_CXX_TARGET_EXPORTS) \
38550 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38553 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38554 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38555 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38559 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38560 TFLAGS="$(STAGEprofile_TFLAGS)" \
38561 $(TARGET-stageprofile-target-libstdc++-v3)
38563 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
38564 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
38565 clean-stageprofile-target-libstdc++-v3:
38566 @if [ $(current_stage) = stageprofile ]; then \
38567 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38568 else \
38569 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
38570 $(MAKE) stageprofile-start; \
38571 fi; \
38572 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38573 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38574 @endif target-libstdc++-v3-bootstrap
38577 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
38578 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
38579 maybe-all-stagetrain-target-libstdc++-v3:
38580 maybe-clean-stagetrain-target-libstdc++-v3:
38581 @if target-libstdc++-v3-bootstrap
38582 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
38583 all-stagetrain: all-stagetrain-target-libstdc++-v3
38584 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38585 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38586 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38587 @r=`${PWD_COMMAND}`; export r; \
38588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38589 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38590 $(RAW_CXX_TARGET_EXPORTS) \
38592 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38595 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38596 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38597 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38601 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38602 TFLAGS="$(STAGEtrain_TFLAGS)" \
38603 $(TARGET-stagetrain-target-libstdc++-v3)
38605 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
38606 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
38607 clean-stagetrain-target-libstdc++-v3:
38608 @if [ $(current_stage) = stagetrain ]; then \
38609 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38610 else \
38611 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
38612 $(MAKE) stagetrain-start; \
38613 fi; \
38614 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38615 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38616 @endif target-libstdc++-v3-bootstrap
38619 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
38620 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
38621 maybe-all-stagefeedback-target-libstdc++-v3:
38622 maybe-clean-stagefeedback-target-libstdc++-v3:
38623 @if target-libstdc++-v3-bootstrap
38624 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
38625 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
38626 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38627 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38628 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38629 @r=`${PWD_COMMAND}`; export r; \
38630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38631 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38632 $(RAW_CXX_TARGET_EXPORTS) \
38634 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38637 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38643 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38644 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38645 $(TARGET-stagefeedback-target-libstdc++-v3)
38647 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
38648 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
38649 clean-stagefeedback-target-libstdc++-v3:
38650 @if [ $(current_stage) = stagefeedback ]; then \
38651 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38652 else \
38653 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
38654 $(MAKE) stagefeedback-start; \
38655 fi; \
38656 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38657 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38658 @endif target-libstdc++-v3-bootstrap
38661 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
38662 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
38663 maybe-all-stageautoprofile-target-libstdc++-v3:
38664 maybe-clean-stageautoprofile-target-libstdc++-v3:
38665 @if target-libstdc++-v3-bootstrap
38666 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
38667 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
38668 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38669 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38670 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38671 @r=`${PWD_COMMAND}`; export r; \
38672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38673 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38674 $(RAW_CXX_TARGET_EXPORTS) \
38676 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38677 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38679 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38680 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38681 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38685 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38686 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38687 $(TARGET-stageautoprofile-target-libstdc++-v3)
38689 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
38690 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
38691 clean-stageautoprofile-target-libstdc++-v3:
38692 @if [ $(current_stage) = stageautoprofile ]; then \
38693 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38694 else \
38695 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
38696 $(MAKE) stageautoprofile-start; \
38697 fi; \
38698 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38699 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38700 @endif target-libstdc++-v3-bootstrap
38703 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
38704 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
38705 maybe-all-stageautofeedback-target-libstdc++-v3:
38706 maybe-clean-stageautofeedback-target-libstdc++-v3:
38707 @if target-libstdc++-v3-bootstrap
38708 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
38709 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
38710 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38711 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38712 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38713 @r=`${PWD_COMMAND}`; export r; \
38714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38715 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38716 $(RAW_CXX_TARGET_EXPORTS) \
38718 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38721 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38722 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38723 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38727 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38728 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38729 $(TARGET-stageautofeedback-target-libstdc++-v3)
38731 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
38732 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
38733 clean-stageautofeedback-target-libstdc++-v3:
38734 @if [ $(current_stage) = stageautofeedback ]; then \
38735 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38736 else \
38737 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
38738 $(MAKE) stageautofeedback-start; \
38739 fi; \
38740 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38741 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38742 @endif target-libstdc++-v3-bootstrap
38749 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
38750 maybe-check-target-libstdc++-v3:
38751 @if target-libstdc++-v3
38752 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
38754 check-target-libstdc++-v3:
38755 @: $(MAKE); $(unstage)
38756 @r=`${PWD_COMMAND}`; export r; \
38757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38758 $(RAW_CXX_TARGET_EXPORTS) \
38759 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38760 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38762 @endif target-libstdc++-v3
38764 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
38765 maybe-install-target-libstdc++-v3:
38766 @if target-libstdc++-v3
38767 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
38769 install-target-libstdc++-v3: installdirs
38770 @: $(MAKE); $(unstage)
38771 @r=`${PWD_COMMAND}`; export r; \
38772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38773 $(RAW_CXX_TARGET_EXPORTS) \
38774 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38775 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38777 @endif target-libstdc++-v3
38779 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
38780 maybe-install-strip-target-libstdc++-v3:
38781 @if target-libstdc++-v3
38782 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
38784 install-strip-target-libstdc++-v3: installdirs
38785 @: $(MAKE); $(unstage)
38786 @r=`${PWD_COMMAND}`; export r; \
38787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38788 $(RAW_CXX_TARGET_EXPORTS) \
38789 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38790 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38792 @endif target-libstdc++-v3
38794 # Other targets (info, dvi, pdf, etc.)
38796 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
38797 maybe-info-target-libstdc++-v3:
38798 @if target-libstdc++-v3
38799 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
38801 info-target-libstdc++-v3: \
38802 configure-target-libstdc++-v3
38803 @: $(MAKE); $(unstage)
38804 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38805 r=`${PWD_COMMAND}`; export r; \
38806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38807 $(RAW_CXX_TARGET_EXPORTS) \
38808 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38809 for flag in $(EXTRA_TARGET_FLAGS); do \
38810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38811 done; \
38812 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38815 "RANLIB=$${RANLIB}" \
38816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38817 info) \
38818 || exit 1
38820 @endif target-libstdc++-v3
38822 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
38823 maybe-dvi-target-libstdc++-v3:
38824 @if target-libstdc++-v3
38825 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
38827 dvi-target-libstdc++-v3: \
38828 configure-target-libstdc++-v3
38829 @: $(MAKE); $(unstage)
38830 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38831 r=`${PWD_COMMAND}`; export r; \
38832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38833 $(RAW_CXX_TARGET_EXPORTS) \
38834 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
38835 for flag in $(EXTRA_TARGET_FLAGS); do \
38836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38837 done; \
38838 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38841 "RANLIB=$${RANLIB}" \
38842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38843 dvi) \
38844 || exit 1
38846 @endif target-libstdc++-v3
38848 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
38849 maybe-pdf-target-libstdc++-v3:
38850 @if target-libstdc++-v3
38851 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
38853 pdf-target-libstdc++-v3: \
38854 configure-target-libstdc++-v3
38855 @: $(MAKE); $(unstage)
38856 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38857 r=`${PWD_COMMAND}`; export r; \
38858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38859 $(RAW_CXX_TARGET_EXPORTS) \
38860 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38861 for flag in $(EXTRA_TARGET_FLAGS); do \
38862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38863 done; \
38864 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38867 "RANLIB=$${RANLIB}" \
38868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38869 pdf) \
38870 || exit 1
38872 @endif target-libstdc++-v3
38874 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
38875 maybe-html-target-libstdc++-v3:
38876 @if target-libstdc++-v3
38877 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
38879 html-target-libstdc++-v3: \
38880 configure-target-libstdc++-v3
38881 @: $(MAKE); $(unstage)
38882 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38883 r=`${PWD_COMMAND}`; export r; \
38884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38885 $(RAW_CXX_TARGET_EXPORTS) \
38886 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38887 for flag in $(EXTRA_TARGET_FLAGS); do \
38888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38889 done; \
38890 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38893 "RANLIB=$${RANLIB}" \
38894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38895 html) \
38896 || exit 1
38898 @endif target-libstdc++-v3
38900 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
38901 maybe-TAGS-target-libstdc++-v3:
38902 @if target-libstdc++-v3
38903 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
38905 TAGS-target-libstdc++-v3: \
38906 configure-target-libstdc++-v3
38907 @: $(MAKE); $(unstage)
38908 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38909 r=`${PWD_COMMAND}`; export r; \
38910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38911 $(RAW_CXX_TARGET_EXPORTS) \
38912 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
38913 for flag in $(EXTRA_TARGET_FLAGS); do \
38914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38915 done; \
38916 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38919 "RANLIB=$${RANLIB}" \
38920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38921 TAGS) \
38922 || exit 1
38924 @endif target-libstdc++-v3
38926 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
38927 maybe-install-info-target-libstdc++-v3:
38928 @if target-libstdc++-v3
38929 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
38931 install-info-target-libstdc++-v3: \
38932 configure-target-libstdc++-v3 \
38933 info-target-libstdc++-v3
38934 @: $(MAKE); $(unstage)
38935 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38936 r=`${PWD_COMMAND}`; export r; \
38937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38938 $(RAW_CXX_TARGET_EXPORTS) \
38939 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38940 for flag in $(EXTRA_TARGET_FLAGS); do \
38941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38942 done; \
38943 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38946 "RANLIB=$${RANLIB}" \
38947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38948 install-info) \
38949 || exit 1
38951 @endif target-libstdc++-v3
38953 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
38954 maybe-install-pdf-target-libstdc++-v3:
38955 @if target-libstdc++-v3
38956 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
38958 install-pdf-target-libstdc++-v3: \
38959 configure-target-libstdc++-v3 \
38960 pdf-target-libstdc++-v3
38961 @: $(MAKE); $(unstage)
38962 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38963 r=`${PWD_COMMAND}`; export r; \
38964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38965 $(RAW_CXX_TARGET_EXPORTS) \
38966 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38967 for flag in $(EXTRA_TARGET_FLAGS); do \
38968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38969 done; \
38970 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38973 "RANLIB=$${RANLIB}" \
38974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38975 install-pdf) \
38976 || exit 1
38978 @endif target-libstdc++-v3
38980 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
38981 maybe-install-html-target-libstdc++-v3:
38982 @if target-libstdc++-v3
38983 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
38985 install-html-target-libstdc++-v3: \
38986 configure-target-libstdc++-v3 \
38987 html-target-libstdc++-v3
38988 @: $(MAKE); $(unstage)
38989 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38990 r=`${PWD_COMMAND}`; export r; \
38991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38992 $(RAW_CXX_TARGET_EXPORTS) \
38993 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38994 for flag in $(EXTRA_TARGET_FLAGS); do \
38995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38996 done; \
38997 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39000 "RANLIB=$${RANLIB}" \
39001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39002 install-html) \
39003 || exit 1
39005 @endif target-libstdc++-v3
39007 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
39008 maybe-installcheck-target-libstdc++-v3:
39009 @if target-libstdc++-v3
39010 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
39012 installcheck-target-libstdc++-v3: \
39013 configure-target-libstdc++-v3
39014 @: $(MAKE); $(unstage)
39015 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39016 r=`${PWD_COMMAND}`; export r; \
39017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39018 $(RAW_CXX_TARGET_EXPORTS) \
39019 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
39020 for flag in $(EXTRA_TARGET_FLAGS); do \
39021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39022 done; \
39023 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39026 "RANLIB=$${RANLIB}" \
39027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39028 installcheck) \
39029 || exit 1
39031 @endif target-libstdc++-v3
39033 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
39034 maybe-mostlyclean-target-libstdc++-v3:
39035 @if target-libstdc++-v3
39036 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
39038 mostlyclean-target-libstdc++-v3:
39039 @: $(MAKE); $(unstage)
39040 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39041 r=`${PWD_COMMAND}`; export r; \
39042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39043 $(RAW_CXX_TARGET_EXPORTS) \
39044 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39045 for flag in $(EXTRA_TARGET_FLAGS); do \
39046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39047 done; \
39048 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39051 "RANLIB=$${RANLIB}" \
39052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39053 mostlyclean) \
39054 || exit 1
39056 @endif target-libstdc++-v3
39058 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
39059 maybe-clean-target-libstdc++-v3:
39060 @if target-libstdc++-v3
39061 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
39063 clean-target-libstdc++-v3:
39064 @: $(MAKE); $(unstage)
39065 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39066 r=`${PWD_COMMAND}`; export r; \
39067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39068 $(RAW_CXX_TARGET_EXPORTS) \
39069 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39070 for flag in $(EXTRA_TARGET_FLAGS); do \
39071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39072 done; \
39073 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39076 "RANLIB=$${RANLIB}" \
39077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39078 clean) \
39079 || exit 1
39081 @endif target-libstdc++-v3
39083 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
39084 maybe-distclean-target-libstdc++-v3:
39085 @if target-libstdc++-v3
39086 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
39088 distclean-target-libstdc++-v3:
39089 @: $(MAKE); $(unstage)
39090 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39091 r=`${PWD_COMMAND}`; export r; \
39092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39093 $(RAW_CXX_TARGET_EXPORTS) \
39094 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39095 for flag in $(EXTRA_TARGET_FLAGS); do \
39096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39097 done; \
39098 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39101 "RANLIB=$${RANLIB}" \
39102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39103 distclean) \
39104 || exit 1
39106 @endif target-libstdc++-v3
39108 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
39109 maybe-maintainer-clean-target-libstdc++-v3:
39110 @if target-libstdc++-v3
39111 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
39113 maintainer-clean-target-libstdc++-v3:
39114 @: $(MAKE); $(unstage)
39115 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39116 r=`${PWD_COMMAND}`; export r; \
39117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39118 $(RAW_CXX_TARGET_EXPORTS) \
39119 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39120 for flag in $(EXTRA_TARGET_FLAGS); do \
39121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39122 done; \
39123 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39126 "RANLIB=$${RANLIB}" \
39127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39128 maintainer-clean) \
39129 || exit 1
39131 @endif target-libstdc++-v3
39137 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
39138 maybe-configure-target-libsanitizer:
39139 @if gcc-bootstrap
39140 configure-target-libsanitizer: stage_current
39141 @endif gcc-bootstrap
39142 @if target-libsanitizer
39143 maybe-configure-target-libsanitizer: configure-target-libsanitizer
39144 configure-target-libsanitizer:
39145 @r=`${PWD_COMMAND}`; export r; \
39146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39147 echo "Checking multilib configuration for libsanitizer..."; \
39148 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39149 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39150 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39151 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39152 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39153 else \
39154 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39155 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39156 fi; \
39157 else \
39158 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39159 fi; \
39160 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39162 $(RAW_CXX_TARGET_EXPORTS) \
39163 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
39164 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
39165 case $(srcdir) in \
39166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39167 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39169 esac; \
39170 module_srcdir=libsanitizer; \
39171 rm -f no-such-file || : ; \
39172 CONFIG_SITE=no-such-file $(SHELL) \
39173 $$s/$$module_srcdir/configure \
39174 --srcdir=$${topdir}/$$module_srcdir \
39175 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39176 --target=${target_alias} \
39177 || exit 1
39178 @endif target-libsanitizer
39182 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
39183 maybe-configure-stage1-target-libsanitizer:
39184 @if target-libsanitizer-bootstrap
39185 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39186 configure-stage1-target-libsanitizer:
39187 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39188 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39189 @r=`${PWD_COMMAND}`; export r; \
39190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39191 TFLAGS="$(STAGE1_TFLAGS)"; \
39192 echo "Checking multilib configuration for libsanitizer..."; \
39193 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39194 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39195 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39196 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39197 else \
39198 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39199 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39200 fi; \
39201 else \
39202 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39203 fi; \
39204 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39205 $(RAW_CXX_TARGET_EXPORTS) \
39206 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39207 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39208 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39209 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
39210 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39211 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39212 case $(srcdir) in \
39213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39214 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39216 esac; \
39217 module_srcdir=libsanitizer; \
39218 $(SHELL) $$s/$$module_srcdir/configure \
39219 --srcdir=$${topdir}/$$module_srcdir \
39220 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39221 --target=${target_alias} \
39223 $(STAGE1_CONFIGURE_FLAGS)
39224 @endif target-libsanitizer-bootstrap
39226 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
39227 maybe-configure-stage2-target-libsanitizer:
39228 @if target-libsanitizer-bootstrap
39229 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39230 configure-stage2-target-libsanitizer:
39231 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39232 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39233 @r=`${PWD_COMMAND}`; export r; \
39234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39235 TFLAGS="$(STAGE2_TFLAGS)"; \
39236 echo "Checking multilib configuration for libsanitizer..."; \
39237 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39238 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39239 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39240 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39241 else \
39242 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39243 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39244 fi; \
39245 else \
39246 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39247 fi; \
39248 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39249 $(RAW_CXX_TARGET_EXPORTS) \
39251 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39252 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39253 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39254 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
39255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39256 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39257 case $(srcdir) in \
39258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39259 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39261 esac; \
39262 module_srcdir=libsanitizer; \
39263 $(SHELL) $$s/$$module_srcdir/configure \
39264 --srcdir=$${topdir}/$$module_srcdir \
39265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39266 --target=${target_alias} \
39267 --with-build-libsubdir=$(HOST_SUBDIR) \
39268 $(STAGE2_CONFIGURE_FLAGS)
39269 @endif target-libsanitizer-bootstrap
39271 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
39272 maybe-configure-stage3-target-libsanitizer:
39273 @if target-libsanitizer-bootstrap
39274 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39275 configure-stage3-target-libsanitizer:
39276 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39277 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39278 @r=`${PWD_COMMAND}`; export r; \
39279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39280 TFLAGS="$(STAGE3_TFLAGS)"; \
39281 echo "Checking multilib configuration for libsanitizer..."; \
39282 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39283 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39284 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39285 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39286 else \
39287 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39288 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39289 fi; \
39290 else \
39291 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39292 fi; \
39293 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39294 $(RAW_CXX_TARGET_EXPORTS) \
39296 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39297 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39298 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39299 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
39300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39301 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39302 case $(srcdir) in \
39303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39304 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39306 esac; \
39307 module_srcdir=libsanitizer; \
39308 $(SHELL) $$s/$$module_srcdir/configure \
39309 --srcdir=$${topdir}/$$module_srcdir \
39310 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39311 --target=${target_alias} \
39312 --with-build-libsubdir=$(HOST_SUBDIR) \
39313 $(STAGE3_CONFIGURE_FLAGS)
39314 @endif target-libsanitizer-bootstrap
39316 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
39317 maybe-configure-stage4-target-libsanitizer:
39318 @if target-libsanitizer-bootstrap
39319 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39320 configure-stage4-target-libsanitizer:
39321 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39322 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39323 @r=`${PWD_COMMAND}`; export r; \
39324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39325 TFLAGS="$(STAGE4_TFLAGS)"; \
39326 echo "Checking multilib configuration for libsanitizer..."; \
39327 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39328 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39329 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39330 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39331 else \
39332 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39333 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39334 fi; \
39335 else \
39336 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39337 fi; \
39338 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39339 $(RAW_CXX_TARGET_EXPORTS) \
39341 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39342 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39343 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39344 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
39345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39346 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39347 case $(srcdir) in \
39348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39349 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39351 esac; \
39352 module_srcdir=libsanitizer; \
39353 $(SHELL) $$s/$$module_srcdir/configure \
39354 --srcdir=$${topdir}/$$module_srcdir \
39355 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39356 --target=${target_alias} \
39357 --with-build-libsubdir=$(HOST_SUBDIR) \
39358 $(STAGE4_CONFIGURE_FLAGS)
39359 @endif target-libsanitizer-bootstrap
39361 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
39362 maybe-configure-stageprofile-target-libsanitizer:
39363 @if target-libsanitizer-bootstrap
39364 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39365 configure-stageprofile-target-libsanitizer:
39366 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39367 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39368 @r=`${PWD_COMMAND}`; export r; \
39369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39370 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39371 echo "Checking multilib configuration for libsanitizer..."; \
39372 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39373 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39374 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39375 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39376 else \
39377 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39378 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39379 fi; \
39380 else \
39381 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39382 fi; \
39383 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39384 $(RAW_CXX_TARGET_EXPORTS) \
39386 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39387 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39388 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39389 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
39390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39391 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39392 case $(srcdir) in \
39393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39394 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39396 esac; \
39397 module_srcdir=libsanitizer; \
39398 $(SHELL) $$s/$$module_srcdir/configure \
39399 --srcdir=$${topdir}/$$module_srcdir \
39400 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39401 --target=${target_alias} \
39402 --with-build-libsubdir=$(HOST_SUBDIR) \
39403 $(STAGEprofile_CONFIGURE_FLAGS)
39404 @endif target-libsanitizer-bootstrap
39406 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
39407 maybe-configure-stagetrain-target-libsanitizer:
39408 @if target-libsanitizer-bootstrap
39409 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39410 configure-stagetrain-target-libsanitizer:
39411 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39412 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39413 @r=`${PWD_COMMAND}`; export r; \
39414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39415 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39416 echo "Checking multilib configuration for libsanitizer..."; \
39417 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39418 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39419 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39420 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39421 else \
39422 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39423 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39424 fi; \
39425 else \
39426 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39427 fi; \
39428 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39429 $(RAW_CXX_TARGET_EXPORTS) \
39431 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39432 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39433 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39434 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
39435 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39436 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39437 case $(srcdir) in \
39438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39439 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39441 esac; \
39442 module_srcdir=libsanitizer; \
39443 $(SHELL) $$s/$$module_srcdir/configure \
39444 --srcdir=$${topdir}/$$module_srcdir \
39445 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39446 --target=${target_alias} \
39447 --with-build-libsubdir=$(HOST_SUBDIR) \
39448 $(STAGEtrain_CONFIGURE_FLAGS)
39449 @endif target-libsanitizer-bootstrap
39451 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
39452 maybe-configure-stagefeedback-target-libsanitizer:
39453 @if target-libsanitizer-bootstrap
39454 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39455 configure-stagefeedback-target-libsanitizer:
39456 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39457 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39458 @r=`${PWD_COMMAND}`; export r; \
39459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39460 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39461 echo "Checking multilib configuration for libsanitizer..."; \
39462 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39463 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39464 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39465 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39466 else \
39467 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39468 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39469 fi; \
39470 else \
39471 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39472 fi; \
39473 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39474 $(RAW_CXX_TARGET_EXPORTS) \
39476 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39477 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39478 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39479 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
39480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39481 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39482 case $(srcdir) in \
39483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39484 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39486 esac; \
39487 module_srcdir=libsanitizer; \
39488 $(SHELL) $$s/$$module_srcdir/configure \
39489 --srcdir=$${topdir}/$$module_srcdir \
39490 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39491 --target=${target_alias} \
39492 --with-build-libsubdir=$(HOST_SUBDIR) \
39493 $(STAGEfeedback_CONFIGURE_FLAGS)
39494 @endif target-libsanitizer-bootstrap
39496 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
39497 maybe-configure-stageautoprofile-target-libsanitizer:
39498 @if target-libsanitizer-bootstrap
39499 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39500 configure-stageautoprofile-target-libsanitizer:
39501 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39502 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39503 @r=`${PWD_COMMAND}`; export r; \
39504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39505 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39506 echo "Checking multilib configuration for libsanitizer..."; \
39507 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39508 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39509 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39510 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39511 else \
39512 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39513 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39514 fi; \
39515 else \
39516 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39517 fi; \
39518 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39519 $(RAW_CXX_TARGET_EXPORTS) \
39521 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39522 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39523 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39524 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
39525 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39526 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39527 case $(srcdir) in \
39528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39529 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39531 esac; \
39532 module_srcdir=libsanitizer; \
39533 $(SHELL) $$s/$$module_srcdir/configure \
39534 --srcdir=$${topdir}/$$module_srcdir \
39535 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39536 --target=${target_alias} \
39537 --with-build-libsubdir=$(HOST_SUBDIR) \
39538 $(STAGEautoprofile_CONFIGURE_FLAGS)
39539 @endif target-libsanitizer-bootstrap
39541 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
39542 maybe-configure-stageautofeedback-target-libsanitizer:
39543 @if target-libsanitizer-bootstrap
39544 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39545 configure-stageautofeedback-target-libsanitizer:
39546 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39547 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39548 @r=`${PWD_COMMAND}`; export r; \
39549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39550 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39551 echo "Checking multilib configuration for libsanitizer..."; \
39552 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39553 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39554 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39555 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39556 else \
39557 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39558 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39559 fi; \
39560 else \
39561 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39562 fi; \
39563 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39564 $(RAW_CXX_TARGET_EXPORTS) \
39566 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39567 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39568 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39569 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
39570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39571 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39572 case $(srcdir) in \
39573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39574 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39576 esac; \
39577 module_srcdir=libsanitizer; \
39578 $(SHELL) $$s/$$module_srcdir/configure \
39579 --srcdir=$${topdir}/$$module_srcdir \
39580 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39581 --target=${target_alias} \
39582 --with-build-libsubdir=$(HOST_SUBDIR) \
39583 $(STAGEautofeedback_CONFIGURE_FLAGS)
39584 @endif target-libsanitizer-bootstrap
39590 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
39591 maybe-all-target-libsanitizer:
39592 @if gcc-bootstrap
39593 all-target-libsanitizer: stage_current
39594 @endif gcc-bootstrap
39595 @if target-libsanitizer
39596 TARGET-target-libsanitizer=all
39597 maybe-all-target-libsanitizer: all-target-libsanitizer
39598 all-target-libsanitizer: configure-target-libsanitizer
39599 @r=`${PWD_COMMAND}`; export r; \
39600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39601 $(RAW_CXX_TARGET_EXPORTS) \
39602 (cd $(TARGET_SUBDIR)/libsanitizer && \
39603 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39604 $(TARGET-target-libsanitizer))
39605 @endif target-libsanitizer
39609 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
39610 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
39611 maybe-all-stage1-target-libsanitizer:
39612 maybe-clean-stage1-target-libsanitizer:
39613 @if target-libsanitizer-bootstrap
39614 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
39615 all-stage1: all-stage1-target-libsanitizer
39616 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
39617 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39618 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39619 @r=`${PWD_COMMAND}`; export r; \
39620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39621 TFLAGS="$(STAGE1_TFLAGS)"; \
39622 $(RAW_CXX_TARGET_EXPORTS) \
39623 cd $(TARGET_SUBDIR)/libsanitizer && \
39625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39626 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39627 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39628 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39632 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39634 TFLAGS="$(STAGE1_TFLAGS)" \
39635 $(TARGET-stage1-target-libsanitizer)
39637 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
39638 clean-stage1: clean-stage1-target-libsanitizer
39639 clean-stage1-target-libsanitizer:
39640 @if [ $(current_stage) = stage1 ]; then \
39641 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39642 else \
39643 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
39644 $(MAKE) stage1-start; \
39645 fi; \
39646 cd $(TARGET_SUBDIR)/libsanitizer && \
39647 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39648 clean
39649 @endif target-libsanitizer-bootstrap
39652 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
39653 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
39654 maybe-all-stage2-target-libsanitizer:
39655 maybe-clean-stage2-target-libsanitizer:
39656 @if target-libsanitizer-bootstrap
39657 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
39658 all-stage2: all-stage2-target-libsanitizer
39659 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
39660 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39661 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39662 @r=`${PWD_COMMAND}`; export r; \
39663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39664 TFLAGS="$(STAGE2_TFLAGS)"; \
39665 $(RAW_CXX_TARGET_EXPORTS) \
39667 cd $(TARGET_SUBDIR)/libsanitizer && \
39669 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39670 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39671 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39672 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39673 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39674 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39675 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39676 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39677 TFLAGS="$(STAGE2_TFLAGS)" \
39678 $(TARGET-stage2-target-libsanitizer)
39680 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
39681 clean-stage2: clean-stage2-target-libsanitizer
39682 clean-stage2-target-libsanitizer:
39683 @if [ $(current_stage) = stage2 ]; then \
39684 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39685 else \
39686 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
39687 $(MAKE) stage2-start; \
39688 fi; \
39689 cd $(TARGET_SUBDIR)/libsanitizer && \
39690 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39691 @endif target-libsanitizer-bootstrap
39694 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
39695 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
39696 maybe-all-stage3-target-libsanitizer:
39697 maybe-clean-stage3-target-libsanitizer:
39698 @if target-libsanitizer-bootstrap
39699 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
39700 all-stage3: all-stage3-target-libsanitizer
39701 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
39702 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39703 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39704 @r=`${PWD_COMMAND}`; export r; \
39705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39706 TFLAGS="$(STAGE3_TFLAGS)"; \
39707 $(RAW_CXX_TARGET_EXPORTS) \
39709 cd $(TARGET_SUBDIR)/libsanitizer && \
39711 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39712 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39713 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39714 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39715 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39716 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39717 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39718 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39719 TFLAGS="$(STAGE3_TFLAGS)" \
39720 $(TARGET-stage3-target-libsanitizer)
39722 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
39723 clean-stage3: clean-stage3-target-libsanitizer
39724 clean-stage3-target-libsanitizer:
39725 @if [ $(current_stage) = stage3 ]; then \
39726 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39727 else \
39728 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
39729 $(MAKE) stage3-start; \
39730 fi; \
39731 cd $(TARGET_SUBDIR)/libsanitizer && \
39732 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39733 @endif target-libsanitizer-bootstrap
39736 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
39737 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
39738 maybe-all-stage4-target-libsanitizer:
39739 maybe-clean-stage4-target-libsanitizer:
39740 @if target-libsanitizer-bootstrap
39741 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
39742 all-stage4: all-stage4-target-libsanitizer
39743 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
39744 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39745 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39746 @r=`${PWD_COMMAND}`; export r; \
39747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39748 TFLAGS="$(STAGE4_TFLAGS)"; \
39749 $(RAW_CXX_TARGET_EXPORTS) \
39751 cd $(TARGET_SUBDIR)/libsanitizer && \
39753 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39754 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39755 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39756 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39757 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39758 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39759 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39760 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39761 TFLAGS="$(STAGE4_TFLAGS)" \
39762 $(TARGET-stage4-target-libsanitizer)
39764 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
39765 clean-stage4: clean-stage4-target-libsanitizer
39766 clean-stage4-target-libsanitizer:
39767 @if [ $(current_stage) = stage4 ]; then \
39768 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39769 else \
39770 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
39771 $(MAKE) stage4-start; \
39772 fi; \
39773 cd $(TARGET_SUBDIR)/libsanitizer && \
39774 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39775 @endif target-libsanitizer-bootstrap
39778 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
39779 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
39780 maybe-all-stageprofile-target-libsanitizer:
39781 maybe-clean-stageprofile-target-libsanitizer:
39782 @if target-libsanitizer-bootstrap
39783 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
39784 all-stageprofile: all-stageprofile-target-libsanitizer
39785 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39786 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39787 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39788 @r=`${PWD_COMMAND}`; export r; \
39789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39790 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39791 $(RAW_CXX_TARGET_EXPORTS) \
39793 cd $(TARGET_SUBDIR)/libsanitizer && \
39795 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39796 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39797 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39798 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39799 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39800 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39801 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39802 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39803 TFLAGS="$(STAGEprofile_TFLAGS)" \
39804 $(TARGET-stageprofile-target-libsanitizer)
39806 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
39807 clean-stageprofile: clean-stageprofile-target-libsanitizer
39808 clean-stageprofile-target-libsanitizer:
39809 @if [ $(current_stage) = stageprofile ]; then \
39810 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39811 else \
39812 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
39813 $(MAKE) stageprofile-start; \
39814 fi; \
39815 cd $(TARGET_SUBDIR)/libsanitizer && \
39816 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39817 @endif target-libsanitizer-bootstrap
39820 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
39821 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
39822 maybe-all-stagetrain-target-libsanitizer:
39823 maybe-clean-stagetrain-target-libsanitizer:
39824 @if target-libsanitizer-bootstrap
39825 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
39826 all-stagetrain: all-stagetrain-target-libsanitizer
39827 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
39828 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39829 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39830 @r=`${PWD_COMMAND}`; export r; \
39831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39832 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39833 $(RAW_CXX_TARGET_EXPORTS) \
39835 cd $(TARGET_SUBDIR)/libsanitizer && \
39837 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39838 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39839 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39840 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39841 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39842 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39843 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39844 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39845 TFLAGS="$(STAGEtrain_TFLAGS)" \
39846 $(TARGET-stagetrain-target-libsanitizer)
39848 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
39849 clean-stagetrain: clean-stagetrain-target-libsanitizer
39850 clean-stagetrain-target-libsanitizer:
39851 @if [ $(current_stage) = stagetrain ]; then \
39852 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39853 else \
39854 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
39855 $(MAKE) stagetrain-start; \
39856 fi; \
39857 cd $(TARGET_SUBDIR)/libsanitizer && \
39858 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39859 @endif target-libsanitizer-bootstrap
39862 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
39863 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
39864 maybe-all-stagefeedback-target-libsanitizer:
39865 maybe-clean-stagefeedback-target-libsanitizer:
39866 @if target-libsanitizer-bootstrap
39867 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
39868 all-stagefeedback: all-stagefeedback-target-libsanitizer
39869 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39870 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39871 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39872 @r=`${PWD_COMMAND}`; export r; \
39873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39874 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39875 $(RAW_CXX_TARGET_EXPORTS) \
39877 cd $(TARGET_SUBDIR)/libsanitizer && \
39879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39880 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39881 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39882 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39883 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39884 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39885 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39886 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39887 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39888 $(TARGET-stagefeedback-target-libsanitizer)
39890 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
39891 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
39892 clean-stagefeedback-target-libsanitizer:
39893 @if [ $(current_stage) = stagefeedback ]; then \
39894 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39895 else \
39896 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
39897 $(MAKE) stagefeedback-start; \
39898 fi; \
39899 cd $(TARGET_SUBDIR)/libsanitizer && \
39900 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39901 @endif target-libsanitizer-bootstrap
39904 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
39905 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
39906 maybe-all-stageautoprofile-target-libsanitizer:
39907 maybe-clean-stageautoprofile-target-libsanitizer:
39908 @if target-libsanitizer-bootstrap
39909 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
39910 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
39911 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39912 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39913 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39914 @r=`${PWD_COMMAND}`; export r; \
39915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39916 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39917 $(RAW_CXX_TARGET_EXPORTS) \
39919 cd $(TARGET_SUBDIR)/libsanitizer && \
39920 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39922 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39923 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39924 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39928 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39929 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39930 $(TARGET-stageautoprofile-target-libsanitizer)
39932 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
39933 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
39934 clean-stageautoprofile-target-libsanitizer:
39935 @if [ $(current_stage) = stageautoprofile ]; then \
39936 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39937 else \
39938 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
39939 $(MAKE) stageautoprofile-start; \
39940 fi; \
39941 cd $(TARGET_SUBDIR)/libsanitizer && \
39942 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39943 @endif target-libsanitizer-bootstrap
39946 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
39947 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
39948 maybe-all-stageautofeedback-target-libsanitizer:
39949 maybe-clean-stageautofeedback-target-libsanitizer:
39950 @if target-libsanitizer-bootstrap
39951 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
39952 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
39953 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39954 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39955 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39956 @r=`${PWD_COMMAND}`; export r; \
39957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39958 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39959 $(RAW_CXX_TARGET_EXPORTS) \
39961 cd $(TARGET_SUBDIR)/libsanitizer && \
39963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39964 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39965 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39966 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39970 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39971 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39972 $(TARGET-stageautofeedback-target-libsanitizer)
39974 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
39975 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
39976 clean-stageautofeedback-target-libsanitizer:
39977 @if [ $(current_stage) = stageautofeedback ]; then \
39978 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39979 else \
39980 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
39981 $(MAKE) stageautofeedback-start; \
39982 fi; \
39983 cd $(TARGET_SUBDIR)/libsanitizer && \
39984 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39985 @endif target-libsanitizer-bootstrap
39992 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
39993 maybe-check-target-libsanitizer:
39994 @if target-libsanitizer
39995 maybe-check-target-libsanitizer: check-target-libsanitizer
39997 check-target-libsanitizer:
39998 @: $(MAKE); $(unstage)
39999 @r=`${PWD_COMMAND}`; export r; \
40000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40001 $(RAW_CXX_TARGET_EXPORTS) \
40002 (cd $(TARGET_SUBDIR)/libsanitizer && \
40003 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40005 @endif target-libsanitizer
40007 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
40008 maybe-install-target-libsanitizer:
40009 @if target-libsanitizer
40010 maybe-install-target-libsanitizer: install-target-libsanitizer
40012 install-target-libsanitizer: installdirs
40013 @: $(MAKE); $(unstage)
40014 @r=`${PWD_COMMAND}`; export r; \
40015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40016 $(RAW_CXX_TARGET_EXPORTS) \
40017 (cd $(TARGET_SUBDIR)/libsanitizer && \
40018 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40020 @endif target-libsanitizer
40022 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
40023 maybe-install-strip-target-libsanitizer:
40024 @if target-libsanitizer
40025 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
40027 install-strip-target-libsanitizer: installdirs
40028 @: $(MAKE); $(unstage)
40029 @r=`${PWD_COMMAND}`; export r; \
40030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40031 $(RAW_CXX_TARGET_EXPORTS) \
40032 (cd $(TARGET_SUBDIR)/libsanitizer && \
40033 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40035 @endif target-libsanitizer
40037 # Other targets (info, dvi, pdf, etc.)
40039 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
40040 maybe-info-target-libsanitizer:
40041 @if target-libsanitizer
40042 maybe-info-target-libsanitizer: info-target-libsanitizer
40044 info-target-libsanitizer: \
40045 configure-target-libsanitizer
40046 @: $(MAKE); $(unstage)
40047 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40048 r=`${PWD_COMMAND}`; export r; \
40049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40050 $(RAW_CXX_TARGET_EXPORTS) \
40051 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
40052 for flag in $(EXTRA_TARGET_FLAGS); do \
40053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40054 done; \
40055 (cd $(TARGET_SUBDIR)/libsanitizer && \
40056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40058 "RANLIB=$${RANLIB}" \
40059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40060 info) \
40061 || exit 1
40063 @endif target-libsanitizer
40065 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
40066 maybe-dvi-target-libsanitizer:
40067 @if target-libsanitizer
40068 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
40070 dvi-target-libsanitizer: \
40071 configure-target-libsanitizer
40072 @: $(MAKE); $(unstage)
40073 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40074 r=`${PWD_COMMAND}`; export r; \
40075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40076 $(RAW_CXX_TARGET_EXPORTS) \
40077 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
40078 for flag in $(EXTRA_TARGET_FLAGS); do \
40079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40080 done; \
40081 (cd $(TARGET_SUBDIR)/libsanitizer && \
40082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40084 "RANLIB=$${RANLIB}" \
40085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40086 dvi) \
40087 || exit 1
40089 @endif target-libsanitizer
40091 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
40092 maybe-pdf-target-libsanitizer:
40093 @if target-libsanitizer
40094 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
40096 pdf-target-libsanitizer: \
40097 configure-target-libsanitizer
40098 @: $(MAKE); $(unstage)
40099 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40100 r=`${PWD_COMMAND}`; export r; \
40101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40102 $(RAW_CXX_TARGET_EXPORTS) \
40103 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40104 for flag in $(EXTRA_TARGET_FLAGS); do \
40105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40106 done; \
40107 (cd $(TARGET_SUBDIR)/libsanitizer && \
40108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40110 "RANLIB=$${RANLIB}" \
40111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40112 pdf) \
40113 || exit 1
40115 @endif target-libsanitizer
40117 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
40118 maybe-html-target-libsanitizer:
40119 @if target-libsanitizer
40120 maybe-html-target-libsanitizer: html-target-libsanitizer
40122 html-target-libsanitizer: \
40123 configure-target-libsanitizer
40124 @: $(MAKE); $(unstage)
40125 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40126 r=`${PWD_COMMAND}`; export r; \
40127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40128 $(RAW_CXX_TARGET_EXPORTS) \
40129 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
40130 for flag in $(EXTRA_TARGET_FLAGS); do \
40131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40132 done; \
40133 (cd $(TARGET_SUBDIR)/libsanitizer && \
40134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40136 "RANLIB=$${RANLIB}" \
40137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40138 html) \
40139 || exit 1
40141 @endif target-libsanitizer
40143 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
40144 maybe-TAGS-target-libsanitizer:
40145 @if target-libsanitizer
40146 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
40148 TAGS-target-libsanitizer: \
40149 configure-target-libsanitizer
40150 @: $(MAKE); $(unstage)
40151 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40152 r=`${PWD_COMMAND}`; export r; \
40153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40154 $(RAW_CXX_TARGET_EXPORTS) \
40155 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
40156 for flag in $(EXTRA_TARGET_FLAGS); do \
40157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40158 done; \
40159 (cd $(TARGET_SUBDIR)/libsanitizer && \
40160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40162 "RANLIB=$${RANLIB}" \
40163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40164 TAGS) \
40165 || exit 1
40167 @endif target-libsanitizer
40169 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
40170 maybe-install-info-target-libsanitizer:
40171 @if target-libsanitizer
40172 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
40174 install-info-target-libsanitizer: \
40175 configure-target-libsanitizer \
40176 info-target-libsanitizer
40177 @: $(MAKE); $(unstage)
40178 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40179 r=`${PWD_COMMAND}`; export r; \
40180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40181 $(RAW_CXX_TARGET_EXPORTS) \
40182 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
40183 for flag in $(EXTRA_TARGET_FLAGS); do \
40184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40185 done; \
40186 (cd $(TARGET_SUBDIR)/libsanitizer && \
40187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40189 "RANLIB=$${RANLIB}" \
40190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40191 install-info) \
40192 || exit 1
40194 @endif target-libsanitizer
40196 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
40197 maybe-install-pdf-target-libsanitizer:
40198 @if target-libsanitizer
40199 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
40201 install-pdf-target-libsanitizer: \
40202 configure-target-libsanitizer \
40203 pdf-target-libsanitizer
40204 @: $(MAKE); $(unstage)
40205 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40206 r=`${PWD_COMMAND}`; export r; \
40207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40208 $(RAW_CXX_TARGET_EXPORTS) \
40209 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40210 for flag in $(EXTRA_TARGET_FLAGS); do \
40211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40212 done; \
40213 (cd $(TARGET_SUBDIR)/libsanitizer && \
40214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40216 "RANLIB=$${RANLIB}" \
40217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40218 install-pdf) \
40219 || exit 1
40221 @endif target-libsanitizer
40223 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
40224 maybe-install-html-target-libsanitizer:
40225 @if target-libsanitizer
40226 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
40228 install-html-target-libsanitizer: \
40229 configure-target-libsanitizer \
40230 html-target-libsanitizer
40231 @: $(MAKE); $(unstage)
40232 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40233 r=`${PWD_COMMAND}`; export r; \
40234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40235 $(RAW_CXX_TARGET_EXPORTS) \
40236 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
40237 for flag in $(EXTRA_TARGET_FLAGS); do \
40238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40239 done; \
40240 (cd $(TARGET_SUBDIR)/libsanitizer && \
40241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40243 "RANLIB=$${RANLIB}" \
40244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40245 install-html) \
40246 || exit 1
40248 @endif target-libsanitizer
40250 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
40251 maybe-installcheck-target-libsanitizer:
40252 @if target-libsanitizer
40253 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
40255 installcheck-target-libsanitizer: \
40256 configure-target-libsanitizer
40257 @: $(MAKE); $(unstage)
40258 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40259 r=`${PWD_COMMAND}`; export r; \
40260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40261 $(RAW_CXX_TARGET_EXPORTS) \
40262 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
40263 for flag in $(EXTRA_TARGET_FLAGS); do \
40264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40265 done; \
40266 (cd $(TARGET_SUBDIR)/libsanitizer && \
40267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40269 "RANLIB=$${RANLIB}" \
40270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40271 installcheck) \
40272 || exit 1
40274 @endif target-libsanitizer
40276 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
40277 maybe-mostlyclean-target-libsanitizer:
40278 @if target-libsanitizer
40279 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
40281 mostlyclean-target-libsanitizer:
40282 @: $(MAKE); $(unstage)
40283 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40284 r=`${PWD_COMMAND}`; export r; \
40285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40286 $(RAW_CXX_TARGET_EXPORTS) \
40287 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
40288 for flag in $(EXTRA_TARGET_FLAGS); do \
40289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40290 done; \
40291 (cd $(TARGET_SUBDIR)/libsanitizer && \
40292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40294 "RANLIB=$${RANLIB}" \
40295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40296 mostlyclean) \
40297 || exit 1
40299 @endif target-libsanitizer
40301 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
40302 maybe-clean-target-libsanitizer:
40303 @if target-libsanitizer
40304 maybe-clean-target-libsanitizer: clean-target-libsanitizer
40306 clean-target-libsanitizer:
40307 @: $(MAKE); $(unstage)
40308 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40309 r=`${PWD_COMMAND}`; export r; \
40310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40311 $(RAW_CXX_TARGET_EXPORTS) \
40312 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
40313 for flag in $(EXTRA_TARGET_FLAGS); do \
40314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40315 done; \
40316 (cd $(TARGET_SUBDIR)/libsanitizer && \
40317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40319 "RANLIB=$${RANLIB}" \
40320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40321 clean) \
40322 || exit 1
40324 @endif target-libsanitizer
40326 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
40327 maybe-distclean-target-libsanitizer:
40328 @if target-libsanitizer
40329 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
40331 distclean-target-libsanitizer:
40332 @: $(MAKE); $(unstage)
40333 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40334 r=`${PWD_COMMAND}`; export r; \
40335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40336 $(RAW_CXX_TARGET_EXPORTS) \
40337 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
40338 for flag in $(EXTRA_TARGET_FLAGS); do \
40339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40340 done; \
40341 (cd $(TARGET_SUBDIR)/libsanitizer && \
40342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40344 "RANLIB=$${RANLIB}" \
40345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40346 distclean) \
40347 || exit 1
40349 @endif target-libsanitizer
40351 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
40352 maybe-maintainer-clean-target-libsanitizer:
40353 @if target-libsanitizer
40354 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
40356 maintainer-clean-target-libsanitizer:
40357 @: $(MAKE); $(unstage)
40358 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40359 r=`${PWD_COMMAND}`; export r; \
40360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40361 $(RAW_CXX_TARGET_EXPORTS) \
40362 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
40363 for flag in $(EXTRA_TARGET_FLAGS); do \
40364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40365 done; \
40366 (cd $(TARGET_SUBDIR)/libsanitizer && \
40367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40369 "RANLIB=$${RANLIB}" \
40370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40371 maintainer-clean) \
40372 || exit 1
40374 @endif target-libsanitizer
40380 .PHONY: configure-target-libmpx maybe-configure-target-libmpx
40381 maybe-configure-target-libmpx:
40382 @if gcc-bootstrap
40383 configure-target-libmpx: stage_current
40384 @endif gcc-bootstrap
40385 @if target-libmpx
40386 maybe-configure-target-libmpx: configure-target-libmpx
40387 configure-target-libmpx:
40388 @r=`${PWD_COMMAND}`; export r; \
40389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40390 echo "Checking multilib configuration for libmpx..."; \
40391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40392 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40393 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40394 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40395 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40396 else \
40397 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40398 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40399 fi; \
40400 else \
40401 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40402 fi; \
40403 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40404 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40405 $(NORMAL_TARGET_EXPORTS) \
40406 echo Configuring in $(TARGET_SUBDIR)/libmpx; \
40407 cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
40408 case $(srcdir) in \
40409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40410 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40412 esac; \
40413 module_srcdir=libmpx; \
40414 rm -f no-such-file || : ; \
40415 CONFIG_SITE=no-such-file $(SHELL) \
40416 $$s/$$module_srcdir/configure \
40417 --srcdir=$${topdir}/$$module_srcdir \
40418 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40419 --target=${target_alias} \
40420 || exit 1
40421 @endif target-libmpx
40425 .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
40426 maybe-configure-stage1-target-libmpx:
40427 @if target-libmpx-bootstrap
40428 maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
40429 configure-stage1-target-libmpx:
40430 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40431 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40432 @r=`${PWD_COMMAND}`; export r; \
40433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40434 TFLAGS="$(STAGE1_TFLAGS)"; \
40435 echo "Checking multilib configuration for libmpx..."; \
40436 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40437 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40438 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40439 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40440 else \
40441 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40442 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40443 fi; \
40444 else \
40445 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40446 fi; \
40447 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40448 $(NORMAL_TARGET_EXPORTS) \
40449 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40450 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40451 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40452 echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx; \
40453 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40454 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40455 case $(srcdir) in \
40456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40457 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40459 esac; \
40460 module_srcdir=libmpx; \
40461 $(SHELL) $$s/$$module_srcdir/configure \
40462 --srcdir=$${topdir}/$$module_srcdir \
40463 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40464 --target=${target_alias} \
40466 $(STAGE1_CONFIGURE_FLAGS)
40467 @endif target-libmpx-bootstrap
40469 .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
40470 maybe-configure-stage2-target-libmpx:
40471 @if target-libmpx-bootstrap
40472 maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
40473 configure-stage2-target-libmpx:
40474 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40475 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40476 @r=`${PWD_COMMAND}`; export r; \
40477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40478 TFLAGS="$(STAGE2_TFLAGS)"; \
40479 echo "Checking multilib configuration for libmpx..."; \
40480 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40481 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40482 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40483 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40484 else \
40485 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40486 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40487 fi; \
40488 else \
40489 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40490 fi; \
40491 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40492 $(NORMAL_TARGET_EXPORTS) \
40494 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40495 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40496 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40497 echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx; \
40498 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40499 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40500 case $(srcdir) in \
40501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40502 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40504 esac; \
40505 module_srcdir=libmpx; \
40506 $(SHELL) $$s/$$module_srcdir/configure \
40507 --srcdir=$${topdir}/$$module_srcdir \
40508 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40509 --target=${target_alias} \
40510 --with-build-libsubdir=$(HOST_SUBDIR) \
40511 $(STAGE2_CONFIGURE_FLAGS)
40512 @endif target-libmpx-bootstrap
40514 .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
40515 maybe-configure-stage3-target-libmpx:
40516 @if target-libmpx-bootstrap
40517 maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
40518 configure-stage3-target-libmpx:
40519 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40520 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40521 @r=`${PWD_COMMAND}`; export r; \
40522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40523 TFLAGS="$(STAGE3_TFLAGS)"; \
40524 echo "Checking multilib configuration for libmpx..."; \
40525 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40526 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40527 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40528 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40529 else \
40530 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40531 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40532 fi; \
40533 else \
40534 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40535 fi; \
40536 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40537 $(NORMAL_TARGET_EXPORTS) \
40539 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40540 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40541 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40542 echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx; \
40543 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40544 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40545 case $(srcdir) in \
40546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40547 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40549 esac; \
40550 module_srcdir=libmpx; \
40551 $(SHELL) $$s/$$module_srcdir/configure \
40552 --srcdir=$${topdir}/$$module_srcdir \
40553 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40554 --target=${target_alias} \
40555 --with-build-libsubdir=$(HOST_SUBDIR) \
40556 $(STAGE3_CONFIGURE_FLAGS)
40557 @endif target-libmpx-bootstrap
40559 .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
40560 maybe-configure-stage4-target-libmpx:
40561 @if target-libmpx-bootstrap
40562 maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
40563 configure-stage4-target-libmpx:
40564 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40565 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40566 @r=`${PWD_COMMAND}`; export r; \
40567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40568 TFLAGS="$(STAGE4_TFLAGS)"; \
40569 echo "Checking multilib configuration for libmpx..."; \
40570 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40571 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40572 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40573 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40574 else \
40575 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40576 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40577 fi; \
40578 else \
40579 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40580 fi; \
40581 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40582 $(NORMAL_TARGET_EXPORTS) \
40584 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40585 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40586 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40587 echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx; \
40588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40589 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40590 case $(srcdir) in \
40591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40592 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40594 esac; \
40595 module_srcdir=libmpx; \
40596 $(SHELL) $$s/$$module_srcdir/configure \
40597 --srcdir=$${topdir}/$$module_srcdir \
40598 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40599 --target=${target_alias} \
40600 --with-build-libsubdir=$(HOST_SUBDIR) \
40601 $(STAGE4_CONFIGURE_FLAGS)
40602 @endif target-libmpx-bootstrap
40604 .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
40605 maybe-configure-stageprofile-target-libmpx:
40606 @if target-libmpx-bootstrap
40607 maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
40608 configure-stageprofile-target-libmpx:
40609 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40610 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40611 @r=`${PWD_COMMAND}`; export r; \
40612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40613 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40614 echo "Checking multilib configuration for libmpx..."; \
40615 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40616 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40617 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40618 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40619 else \
40620 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40621 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40622 fi; \
40623 else \
40624 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40625 fi; \
40626 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40627 $(NORMAL_TARGET_EXPORTS) \
40629 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40630 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40631 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40632 echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx; \
40633 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40634 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40635 case $(srcdir) in \
40636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40637 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40639 esac; \
40640 module_srcdir=libmpx; \
40641 $(SHELL) $$s/$$module_srcdir/configure \
40642 --srcdir=$${topdir}/$$module_srcdir \
40643 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40644 --target=${target_alias} \
40645 --with-build-libsubdir=$(HOST_SUBDIR) \
40646 $(STAGEprofile_CONFIGURE_FLAGS)
40647 @endif target-libmpx-bootstrap
40649 .PHONY: configure-stagetrain-target-libmpx maybe-configure-stagetrain-target-libmpx
40650 maybe-configure-stagetrain-target-libmpx:
40651 @if target-libmpx-bootstrap
40652 maybe-configure-stagetrain-target-libmpx: configure-stagetrain-target-libmpx
40653 configure-stagetrain-target-libmpx:
40654 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40655 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40656 @r=`${PWD_COMMAND}`; export r; \
40657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40658 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40659 echo "Checking multilib configuration for libmpx..."; \
40660 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40661 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40662 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40663 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40664 else \
40665 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40666 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40667 fi; \
40668 else \
40669 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40670 fi; \
40671 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40672 $(NORMAL_TARGET_EXPORTS) \
40674 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40675 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40676 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40677 echo Configuring stage train in $(TARGET_SUBDIR)/libmpx; \
40678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40679 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40680 case $(srcdir) in \
40681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40682 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40684 esac; \
40685 module_srcdir=libmpx; \
40686 $(SHELL) $$s/$$module_srcdir/configure \
40687 --srcdir=$${topdir}/$$module_srcdir \
40688 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40689 --target=${target_alias} \
40690 --with-build-libsubdir=$(HOST_SUBDIR) \
40691 $(STAGEtrain_CONFIGURE_FLAGS)
40692 @endif target-libmpx-bootstrap
40694 .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
40695 maybe-configure-stagefeedback-target-libmpx:
40696 @if target-libmpx-bootstrap
40697 maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
40698 configure-stagefeedback-target-libmpx:
40699 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40700 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40701 @r=`${PWD_COMMAND}`; export r; \
40702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40703 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40704 echo "Checking multilib configuration for libmpx..."; \
40705 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40706 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40707 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40708 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40709 else \
40710 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40711 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40712 fi; \
40713 else \
40714 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40715 fi; \
40716 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40717 $(NORMAL_TARGET_EXPORTS) \
40719 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40720 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40721 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40722 echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx; \
40723 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40724 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40725 case $(srcdir) in \
40726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40727 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40729 esac; \
40730 module_srcdir=libmpx; \
40731 $(SHELL) $$s/$$module_srcdir/configure \
40732 --srcdir=$${topdir}/$$module_srcdir \
40733 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40734 --target=${target_alias} \
40735 --with-build-libsubdir=$(HOST_SUBDIR) \
40736 $(STAGEfeedback_CONFIGURE_FLAGS)
40737 @endif target-libmpx-bootstrap
40739 .PHONY: configure-stageautoprofile-target-libmpx maybe-configure-stageautoprofile-target-libmpx
40740 maybe-configure-stageautoprofile-target-libmpx:
40741 @if target-libmpx-bootstrap
40742 maybe-configure-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
40743 configure-stageautoprofile-target-libmpx:
40744 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40745 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40746 @r=`${PWD_COMMAND}`; export r; \
40747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40748 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40749 echo "Checking multilib configuration for libmpx..."; \
40750 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40751 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40752 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40753 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40754 else \
40755 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40756 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40757 fi; \
40758 else \
40759 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40760 fi; \
40761 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40762 $(NORMAL_TARGET_EXPORTS) \
40764 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40765 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40766 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40767 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libmpx; \
40768 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40769 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40770 case $(srcdir) in \
40771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40772 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40774 esac; \
40775 module_srcdir=libmpx; \
40776 $(SHELL) $$s/$$module_srcdir/configure \
40777 --srcdir=$${topdir}/$$module_srcdir \
40778 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40779 --target=${target_alias} \
40780 --with-build-libsubdir=$(HOST_SUBDIR) \
40781 $(STAGEautoprofile_CONFIGURE_FLAGS)
40782 @endif target-libmpx-bootstrap
40784 .PHONY: configure-stageautofeedback-target-libmpx maybe-configure-stageautofeedback-target-libmpx
40785 maybe-configure-stageautofeedback-target-libmpx:
40786 @if target-libmpx-bootstrap
40787 maybe-configure-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
40788 configure-stageautofeedback-target-libmpx:
40789 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40790 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
40791 @r=`${PWD_COMMAND}`; export r; \
40792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40793 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40794 echo "Checking multilib configuration for libmpx..."; \
40795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
40796 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40797 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
40798 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
40799 else \
40800 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
40801 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40802 fi; \
40803 else \
40804 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
40805 fi; \
40806 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
40807 $(NORMAL_TARGET_EXPORTS) \
40809 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40810 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40811 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40812 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libmpx; \
40813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
40814 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
40815 case $(srcdir) in \
40816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40817 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
40818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40819 esac; \
40820 module_srcdir=libmpx; \
40821 $(SHELL) $$s/$$module_srcdir/configure \
40822 --srcdir=$${topdir}/$$module_srcdir \
40823 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40824 --target=${target_alias} \
40825 --with-build-libsubdir=$(HOST_SUBDIR) \
40826 $(STAGEautofeedback_CONFIGURE_FLAGS)
40827 @endif target-libmpx-bootstrap
40833 .PHONY: all-target-libmpx maybe-all-target-libmpx
40834 maybe-all-target-libmpx:
40835 @if gcc-bootstrap
40836 all-target-libmpx: stage_current
40837 @endif gcc-bootstrap
40838 @if target-libmpx
40839 TARGET-target-libmpx=all
40840 maybe-all-target-libmpx: all-target-libmpx
40841 all-target-libmpx: configure-target-libmpx
40842 @r=`${PWD_COMMAND}`; export r; \
40843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40844 $(NORMAL_TARGET_EXPORTS) \
40845 (cd $(TARGET_SUBDIR)/libmpx && \
40846 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40847 $(TARGET-target-libmpx))
40848 @endif target-libmpx
40852 .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
40853 .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
40854 maybe-all-stage1-target-libmpx:
40855 maybe-clean-stage1-target-libmpx:
40856 @if target-libmpx-bootstrap
40857 maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
40858 all-stage1: all-stage1-target-libmpx
40859 TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
40860 all-stage1-target-libmpx: configure-stage1-target-libmpx
40861 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40862 @r=`${PWD_COMMAND}`; export r; \
40863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40864 TFLAGS="$(STAGE1_TFLAGS)"; \
40865 $(NORMAL_TARGET_EXPORTS) \
40866 cd $(TARGET_SUBDIR)/libmpx && \
40868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40869 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40870 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40871 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40875 $(EXTRA_TARGET_FLAGS) \
40877 TFLAGS="$(STAGE1_TFLAGS)" \
40878 $(TARGET-stage1-target-libmpx)
40880 maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
40881 clean-stage1: clean-stage1-target-libmpx
40882 clean-stage1-target-libmpx:
40883 @if [ $(current_stage) = stage1 ]; then \
40884 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
40885 else \
40886 [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
40887 $(MAKE) stage1-start; \
40888 fi; \
40889 cd $(TARGET_SUBDIR)/libmpx && \
40890 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40891 clean
40892 @endif target-libmpx-bootstrap
40895 .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
40896 .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
40897 maybe-all-stage2-target-libmpx:
40898 maybe-clean-stage2-target-libmpx:
40899 @if target-libmpx-bootstrap
40900 maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
40901 all-stage2: all-stage2-target-libmpx
40902 TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
40903 all-stage2-target-libmpx: configure-stage2-target-libmpx
40904 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40905 @r=`${PWD_COMMAND}`; export r; \
40906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40907 TFLAGS="$(STAGE2_TFLAGS)"; \
40908 $(NORMAL_TARGET_EXPORTS) \
40910 cd $(TARGET_SUBDIR)/libmpx && \
40912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40913 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40914 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40915 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40919 $(EXTRA_TARGET_FLAGS) \
40920 TFLAGS="$(STAGE2_TFLAGS)" \
40921 $(TARGET-stage2-target-libmpx)
40923 maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
40924 clean-stage2: clean-stage2-target-libmpx
40925 clean-stage2-target-libmpx:
40926 @if [ $(current_stage) = stage2 ]; then \
40927 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
40928 else \
40929 [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
40930 $(MAKE) stage2-start; \
40931 fi; \
40932 cd $(TARGET_SUBDIR)/libmpx && \
40933 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40934 @endif target-libmpx-bootstrap
40937 .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
40938 .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
40939 maybe-all-stage3-target-libmpx:
40940 maybe-clean-stage3-target-libmpx:
40941 @if target-libmpx-bootstrap
40942 maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
40943 all-stage3: all-stage3-target-libmpx
40944 TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
40945 all-stage3-target-libmpx: configure-stage3-target-libmpx
40946 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40947 @r=`${PWD_COMMAND}`; export r; \
40948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40949 TFLAGS="$(STAGE3_TFLAGS)"; \
40950 $(NORMAL_TARGET_EXPORTS) \
40952 cd $(TARGET_SUBDIR)/libmpx && \
40954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40955 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40956 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40957 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40961 $(EXTRA_TARGET_FLAGS) \
40962 TFLAGS="$(STAGE3_TFLAGS)" \
40963 $(TARGET-stage3-target-libmpx)
40965 maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
40966 clean-stage3: clean-stage3-target-libmpx
40967 clean-stage3-target-libmpx:
40968 @if [ $(current_stage) = stage3 ]; then \
40969 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
40970 else \
40971 [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
40972 $(MAKE) stage3-start; \
40973 fi; \
40974 cd $(TARGET_SUBDIR)/libmpx && \
40975 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40976 @endif target-libmpx-bootstrap
40979 .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
40980 .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
40981 maybe-all-stage4-target-libmpx:
40982 maybe-clean-stage4-target-libmpx:
40983 @if target-libmpx-bootstrap
40984 maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
40985 all-stage4: all-stage4-target-libmpx
40986 TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
40987 all-stage4-target-libmpx: configure-stage4-target-libmpx
40988 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40989 @r=`${PWD_COMMAND}`; export r; \
40990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40991 TFLAGS="$(STAGE4_TFLAGS)"; \
40992 $(NORMAL_TARGET_EXPORTS) \
40994 cd $(TARGET_SUBDIR)/libmpx && \
40996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40997 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41003 $(EXTRA_TARGET_FLAGS) \
41004 TFLAGS="$(STAGE4_TFLAGS)" \
41005 $(TARGET-stage4-target-libmpx)
41007 maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
41008 clean-stage4: clean-stage4-target-libmpx
41009 clean-stage4-target-libmpx:
41010 @if [ $(current_stage) = stage4 ]; then \
41011 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41012 else \
41013 [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
41014 $(MAKE) stage4-start; \
41015 fi; \
41016 cd $(TARGET_SUBDIR)/libmpx && \
41017 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41018 @endif target-libmpx-bootstrap
41021 .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
41022 .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
41023 maybe-all-stageprofile-target-libmpx:
41024 maybe-clean-stageprofile-target-libmpx:
41025 @if target-libmpx-bootstrap
41026 maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
41027 all-stageprofile: all-stageprofile-target-libmpx
41028 TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
41029 all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
41030 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41031 @r=`${PWD_COMMAND}`; export r; \
41032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41033 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41034 $(NORMAL_TARGET_EXPORTS) \
41036 cd $(TARGET_SUBDIR)/libmpx && \
41038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41039 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41040 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41041 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41045 $(EXTRA_TARGET_FLAGS) \
41046 TFLAGS="$(STAGEprofile_TFLAGS)" \
41047 $(TARGET-stageprofile-target-libmpx)
41049 maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
41050 clean-stageprofile: clean-stageprofile-target-libmpx
41051 clean-stageprofile-target-libmpx:
41052 @if [ $(current_stage) = stageprofile ]; then \
41053 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41054 else \
41055 [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
41056 $(MAKE) stageprofile-start; \
41057 fi; \
41058 cd $(TARGET_SUBDIR)/libmpx && \
41059 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41060 @endif target-libmpx-bootstrap
41063 .PHONY: all-stagetrain-target-libmpx maybe-all-stagetrain-target-libmpx
41064 .PHONY: clean-stagetrain-target-libmpx maybe-clean-stagetrain-target-libmpx
41065 maybe-all-stagetrain-target-libmpx:
41066 maybe-clean-stagetrain-target-libmpx:
41067 @if target-libmpx-bootstrap
41068 maybe-all-stagetrain-target-libmpx: all-stagetrain-target-libmpx
41069 all-stagetrain: all-stagetrain-target-libmpx
41070 TARGET-stagetrain-target-libmpx = $(TARGET-target-libmpx)
41071 all-stagetrain-target-libmpx: configure-stagetrain-target-libmpx
41072 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41073 @r=`${PWD_COMMAND}`; export r; \
41074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41075 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41076 $(NORMAL_TARGET_EXPORTS) \
41078 cd $(TARGET_SUBDIR)/libmpx && \
41080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41081 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41082 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41083 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41087 $(EXTRA_TARGET_FLAGS) \
41088 TFLAGS="$(STAGEtrain_TFLAGS)" \
41089 $(TARGET-stagetrain-target-libmpx)
41091 maybe-clean-stagetrain-target-libmpx: clean-stagetrain-target-libmpx
41092 clean-stagetrain: clean-stagetrain-target-libmpx
41093 clean-stagetrain-target-libmpx:
41094 @if [ $(current_stage) = stagetrain ]; then \
41095 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41096 else \
41097 [ -f $(TARGET_SUBDIR)/stagetrain-libmpx/Makefile ] || exit 0; \
41098 $(MAKE) stagetrain-start; \
41099 fi; \
41100 cd $(TARGET_SUBDIR)/libmpx && \
41101 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41102 @endif target-libmpx-bootstrap
41105 .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
41106 .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
41107 maybe-all-stagefeedback-target-libmpx:
41108 maybe-clean-stagefeedback-target-libmpx:
41109 @if target-libmpx-bootstrap
41110 maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
41111 all-stagefeedback: all-stagefeedback-target-libmpx
41112 TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
41113 all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
41114 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41115 @r=`${PWD_COMMAND}`; export r; \
41116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41117 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41118 $(NORMAL_TARGET_EXPORTS) \
41120 cd $(TARGET_SUBDIR)/libmpx && \
41122 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41123 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41124 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41125 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41126 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41127 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41128 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41129 $(EXTRA_TARGET_FLAGS) \
41130 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41131 $(TARGET-stagefeedback-target-libmpx)
41133 maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
41134 clean-stagefeedback: clean-stagefeedback-target-libmpx
41135 clean-stagefeedback-target-libmpx:
41136 @if [ $(current_stage) = stagefeedback ]; then \
41137 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41138 else \
41139 [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
41140 $(MAKE) stagefeedback-start; \
41141 fi; \
41142 cd $(TARGET_SUBDIR)/libmpx && \
41143 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41144 @endif target-libmpx-bootstrap
41147 .PHONY: all-stageautoprofile-target-libmpx maybe-all-stageautoprofile-target-libmpx
41148 .PHONY: clean-stageautoprofile-target-libmpx maybe-clean-stageautoprofile-target-libmpx
41149 maybe-all-stageautoprofile-target-libmpx:
41150 maybe-clean-stageautoprofile-target-libmpx:
41151 @if target-libmpx-bootstrap
41152 maybe-all-stageautoprofile-target-libmpx: all-stageautoprofile-target-libmpx
41153 all-stageautoprofile: all-stageautoprofile-target-libmpx
41154 TARGET-stageautoprofile-target-libmpx = $(TARGET-target-libmpx)
41155 all-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
41156 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41157 @r=`${PWD_COMMAND}`; export r; \
41158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41159 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41160 $(NORMAL_TARGET_EXPORTS) \
41162 cd $(TARGET_SUBDIR)/libmpx && \
41163 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41165 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41166 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41167 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41168 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41169 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41170 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41171 $(EXTRA_TARGET_FLAGS) \
41172 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41173 $(TARGET-stageautoprofile-target-libmpx)
41175 maybe-clean-stageautoprofile-target-libmpx: clean-stageautoprofile-target-libmpx
41176 clean-stageautoprofile: clean-stageautoprofile-target-libmpx
41177 clean-stageautoprofile-target-libmpx:
41178 @if [ $(current_stage) = stageautoprofile ]; then \
41179 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41180 else \
41181 [ -f $(TARGET_SUBDIR)/stageautoprofile-libmpx/Makefile ] || exit 0; \
41182 $(MAKE) stageautoprofile-start; \
41183 fi; \
41184 cd $(TARGET_SUBDIR)/libmpx && \
41185 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41186 @endif target-libmpx-bootstrap
41189 .PHONY: all-stageautofeedback-target-libmpx maybe-all-stageautofeedback-target-libmpx
41190 .PHONY: clean-stageautofeedback-target-libmpx maybe-clean-stageautofeedback-target-libmpx
41191 maybe-all-stageautofeedback-target-libmpx:
41192 maybe-clean-stageautofeedback-target-libmpx:
41193 @if target-libmpx-bootstrap
41194 maybe-all-stageautofeedback-target-libmpx: all-stageautofeedback-target-libmpx
41195 all-stageautofeedback: all-stageautofeedback-target-libmpx
41196 TARGET-stageautofeedback-target-libmpx = $(TARGET-target-libmpx)
41197 all-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
41198 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41199 @r=`${PWD_COMMAND}`; export r; \
41200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41201 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41202 $(NORMAL_TARGET_EXPORTS) \
41204 cd $(TARGET_SUBDIR)/libmpx && \
41206 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41207 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41208 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41209 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41210 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41211 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41212 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41213 $(EXTRA_TARGET_FLAGS) \
41214 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41215 $(TARGET-stageautofeedback-target-libmpx)
41217 maybe-clean-stageautofeedback-target-libmpx: clean-stageautofeedback-target-libmpx
41218 clean-stageautofeedback: clean-stageautofeedback-target-libmpx
41219 clean-stageautofeedback-target-libmpx:
41220 @if [ $(current_stage) = stageautofeedback ]; then \
41221 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41222 else \
41223 [ -f $(TARGET_SUBDIR)/stageautofeedback-libmpx/Makefile ] || exit 0; \
41224 $(MAKE) stageautofeedback-start; \
41225 fi; \
41226 cd $(TARGET_SUBDIR)/libmpx && \
41227 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41228 @endif target-libmpx-bootstrap
41235 .PHONY: check-target-libmpx maybe-check-target-libmpx
41236 maybe-check-target-libmpx:
41237 @if target-libmpx
41238 maybe-check-target-libmpx: check-target-libmpx
41240 check-target-libmpx:
41241 @: $(MAKE); $(unstage)
41242 @r=`${PWD_COMMAND}`; export r; \
41243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41244 $(NORMAL_TARGET_EXPORTS) \
41245 (cd $(TARGET_SUBDIR)/libmpx && \
41246 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41248 @endif target-libmpx
41250 .PHONY: install-target-libmpx maybe-install-target-libmpx
41251 maybe-install-target-libmpx:
41252 @if target-libmpx
41253 maybe-install-target-libmpx: install-target-libmpx
41255 install-target-libmpx: installdirs
41256 @: $(MAKE); $(unstage)
41257 @r=`${PWD_COMMAND}`; export r; \
41258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41259 $(NORMAL_TARGET_EXPORTS) \
41260 (cd $(TARGET_SUBDIR)/libmpx && \
41261 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41263 @endif target-libmpx
41265 .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
41266 maybe-install-strip-target-libmpx:
41267 @if target-libmpx
41268 maybe-install-strip-target-libmpx: install-strip-target-libmpx
41270 install-strip-target-libmpx: installdirs
41271 @: $(MAKE); $(unstage)
41272 @r=`${PWD_COMMAND}`; export r; \
41273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41274 $(NORMAL_TARGET_EXPORTS) \
41275 (cd $(TARGET_SUBDIR)/libmpx && \
41276 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41278 @endif target-libmpx
41280 # Other targets (info, dvi, pdf, etc.)
41282 .PHONY: maybe-info-target-libmpx info-target-libmpx
41283 maybe-info-target-libmpx:
41284 @if target-libmpx
41285 maybe-info-target-libmpx: info-target-libmpx
41287 info-target-libmpx: \
41288 configure-target-libmpx
41289 @: $(MAKE); $(unstage)
41290 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41291 r=`${PWD_COMMAND}`; export r; \
41292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41293 $(NORMAL_TARGET_EXPORTS) \
41294 echo "Doing info in $(TARGET_SUBDIR)/libmpx"; \
41295 for flag in $(EXTRA_TARGET_FLAGS); do \
41296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41297 done; \
41298 (cd $(TARGET_SUBDIR)/libmpx && \
41299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41301 "RANLIB=$${RANLIB}" \
41302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41303 info) \
41304 || exit 1
41306 @endif target-libmpx
41308 .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
41309 maybe-dvi-target-libmpx:
41310 @if target-libmpx
41311 maybe-dvi-target-libmpx: dvi-target-libmpx
41313 dvi-target-libmpx: \
41314 configure-target-libmpx
41315 @: $(MAKE); $(unstage)
41316 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41317 r=`${PWD_COMMAND}`; export r; \
41318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41319 $(NORMAL_TARGET_EXPORTS) \
41320 echo "Doing dvi in $(TARGET_SUBDIR)/libmpx"; \
41321 for flag in $(EXTRA_TARGET_FLAGS); do \
41322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41323 done; \
41324 (cd $(TARGET_SUBDIR)/libmpx && \
41325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41327 "RANLIB=$${RANLIB}" \
41328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41329 dvi) \
41330 || exit 1
41332 @endif target-libmpx
41334 .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
41335 maybe-pdf-target-libmpx:
41336 @if target-libmpx
41337 maybe-pdf-target-libmpx: pdf-target-libmpx
41339 pdf-target-libmpx: \
41340 configure-target-libmpx
41341 @: $(MAKE); $(unstage)
41342 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41343 r=`${PWD_COMMAND}`; export r; \
41344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41345 $(NORMAL_TARGET_EXPORTS) \
41346 echo "Doing pdf in $(TARGET_SUBDIR)/libmpx"; \
41347 for flag in $(EXTRA_TARGET_FLAGS); do \
41348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41349 done; \
41350 (cd $(TARGET_SUBDIR)/libmpx && \
41351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41353 "RANLIB=$${RANLIB}" \
41354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41355 pdf) \
41356 || exit 1
41358 @endif target-libmpx
41360 .PHONY: maybe-html-target-libmpx html-target-libmpx
41361 maybe-html-target-libmpx:
41362 @if target-libmpx
41363 maybe-html-target-libmpx: html-target-libmpx
41365 html-target-libmpx: \
41366 configure-target-libmpx
41367 @: $(MAKE); $(unstage)
41368 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41369 r=`${PWD_COMMAND}`; export r; \
41370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41371 $(NORMAL_TARGET_EXPORTS) \
41372 echo "Doing html in $(TARGET_SUBDIR)/libmpx"; \
41373 for flag in $(EXTRA_TARGET_FLAGS); do \
41374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41375 done; \
41376 (cd $(TARGET_SUBDIR)/libmpx && \
41377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41379 "RANLIB=$${RANLIB}" \
41380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41381 html) \
41382 || exit 1
41384 @endif target-libmpx
41386 .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
41387 maybe-TAGS-target-libmpx:
41388 @if target-libmpx
41389 maybe-TAGS-target-libmpx: TAGS-target-libmpx
41391 TAGS-target-libmpx: \
41392 configure-target-libmpx
41393 @: $(MAKE); $(unstage)
41394 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41395 r=`${PWD_COMMAND}`; export r; \
41396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41397 $(NORMAL_TARGET_EXPORTS) \
41398 echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx"; \
41399 for flag in $(EXTRA_TARGET_FLAGS); do \
41400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41401 done; \
41402 (cd $(TARGET_SUBDIR)/libmpx && \
41403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41405 "RANLIB=$${RANLIB}" \
41406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41407 TAGS) \
41408 || exit 1
41410 @endif target-libmpx
41412 .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
41413 maybe-install-info-target-libmpx:
41414 @if target-libmpx
41415 maybe-install-info-target-libmpx: install-info-target-libmpx
41417 install-info-target-libmpx: \
41418 configure-target-libmpx \
41419 info-target-libmpx
41420 @: $(MAKE); $(unstage)
41421 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41422 r=`${PWD_COMMAND}`; export r; \
41423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41424 $(NORMAL_TARGET_EXPORTS) \
41425 echo "Doing install-info in $(TARGET_SUBDIR)/libmpx"; \
41426 for flag in $(EXTRA_TARGET_FLAGS); do \
41427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41428 done; \
41429 (cd $(TARGET_SUBDIR)/libmpx && \
41430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41432 "RANLIB=$${RANLIB}" \
41433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41434 install-info) \
41435 || exit 1
41437 @endif target-libmpx
41439 .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
41440 maybe-install-pdf-target-libmpx:
41441 @if target-libmpx
41442 maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
41444 install-pdf-target-libmpx: \
41445 configure-target-libmpx \
41446 pdf-target-libmpx
41447 @: $(MAKE); $(unstage)
41448 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41449 r=`${PWD_COMMAND}`; export r; \
41450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41451 $(NORMAL_TARGET_EXPORTS) \
41452 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx"; \
41453 for flag in $(EXTRA_TARGET_FLAGS); do \
41454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41455 done; \
41456 (cd $(TARGET_SUBDIR)/libmpx && \
41457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41459 "RANLIB=$${RANLIB}" \
41460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41461 install-pdf) \
41462 || exit 1
41464 @endif target-libmpx
41466 .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
41467 maybe-install-html-target-libmpx:
41468 @if target-libmpx
41469 maybe-install-html-target-libmpx: install-html-target-libmpx
41471 install-html-target-libmpx: \
41472 configure-target-libmpx \
41473 html-target-libmpx
41474 @: $(MAKE); $(unstage)
41475 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41476 r=`${PWD_COMMAND}`; export r; \
41477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41478 $(NORMAL_TARGET_EXPORTS) \
41479 echo "Doing install-html in $(TARGET_SUBDIR)/libmpx"; \
41480 for flag in $(EXTRA_TARGET_FLAGS); do \
41481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41482 done; \
41483 (cd $(TARGET_SUBDIR)/libmpx && \
41484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41486 "RANLIB=$${RANLIB}" \
41487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41488 install-html) \
41489 || exit 1
41491 @endif target-libmpx
41493 .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
41494 maybe-installcheck-target-libmpx:
41495 @if target-libmpx
41496 maybe-installcheck-target-libmpx: installcheck-target-libmpx
41498 installcheck-target-libmpx: \
41499 configure-target-libmpx
41500 @: $(MAKE); $(unstage)
41501 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41502 r=`${PWD_COMMAND}`; export r; \
41503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41504 $(NORMAL_TARGET_EXPORTS) \
41505 echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx"; \
41506 for flag in $(EXTRA_TARGET_FLAGS); do \
41507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41508 done; \
41509 (cd $(TARGET_SUBDIR)/libmpx && \
41510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41512 "RANLIB=$${RANLIB}" \
41513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41514 installcheck) \
41515 || exit 1
41517 @endif target-libmpx
41519 .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
41520 maybe-mostlyclean-target-libmpx:
41521 @if target-libmpx
41522 maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
41524 mostlyclean-target-libmpx:
41525 @: $(MAKE); $(unstage)
41526 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41527 r=`${PWD_COMMAND}`; export r; \
41528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41529 $(NORMAL_TARGET_EXPORTS) \
41530 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx"; \
41531 for flag in $(EXTRA_TARGET_FLAGS); do \
41532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41533 done; \
41534 (cd $(TARGET_SUBDIR)/libmpx && \
41535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41537 "RANLIB=$${RANLIB}" \
41538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41539 mostlyclean) \
41540 || exit 1
41542 @endif target-libmpx
41544 .PHONY: maybe-clean-target-libmpx clean-target-libmpx
41545 maybe-clean-target-libmpx:
41546 @if target-libmpx
41547 maybe-clean-target-libmpx: clean-target-libmpx
41549 clean-target-libmpx:
41550 @: $(MAKE); $(unstage)
41551 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41552 r=`${PWD_COMMAND}`; export r; \
41553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41554 $(NORMAL_TARGET_EXPORTS) \
41555 echo "Doing clean in $(TARGET_SUBDIR)/libmpx"; \
41556 for flag in $(EXTRA_TARGET_FLAGS); do \
41557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41558 done; \
41559 (cd $(TARGET_SUBDIR)/libmpx && \
41560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41562 "RANLIB=$${RANLIB}" \
41563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41564 clean) \
41565 || exit 1
41567 @endif target-libmpx
41569 .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
41570 maybe-distclean-target-libmpx:
41571 @if target-libmpx
41572 maybe-distclean-target-libmpx: distclean-target-libmpx
41574 distclean-target-libmpx:
41575 @: $(MAKE); $(unstage)
41576 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41577 r=`${PWD_COMMAND}`; export r; \
41578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41579 $(NORMAL_TARGET_EXPORTS) \
41580 echo "Doing distclean in $(TARGET_SUBDIR)/libmpx"; \
41581 for flag in $(EXTRA_TARGET_FLAGS); do \
41582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41583 done; \
41584 (cd $(TARGET_SUBDIR)/libmpx && \
41585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41587 "RANLIB=$${RANLIB}" \
41588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41589 distclean) \
41590 || exit 1
41592 @endif target-libmpx
41594 .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
41595 maybe-maintainer-clean-target-libmpx:
41596 @if target-libmpx
41597 maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
41599 maintainer-clean-target-libmpx:
41600 @: $(MAKE); $(unstage)
41601 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
41602 r=`${PWD_COMMAND}`; export r; \
41603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41604 $(NORMAL_TARGET_EXPORTS) \
41605 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx"; \
41606 for flag in $(EXTRA_TARGET_FLAGS); do \
41607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41608 done; \
41609 (cd $(TARGET_SUBDIR)/libmpx && \
41610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41612 "RANLIB=$${RANLIB}" \
41613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41614 maintainer-clean) \
41615 || exit 1
41617 @endif target-libmpx
41623 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
41624 maybe-configure-target-libvtv:
41625 @if gcc-bootstrap
41626 configure-target-libvtv: stage_current
41627 @endif gcc-bootstrap
41628 @if target-libvtv
41629 maybe-configure-target-libvtv: configure-target-libvtv
41630 configure-target-libvtv:
41631 @r=`${PWD_COMMAND}`; export r; \
41632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41633 echo "Checking multilib configuration for libvtv..."; \
41634 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41635 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41636 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41637 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41638 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41639 else \
41640 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41641 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41642 fi; \
41643 else \
41644 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41645 fi; \
41646 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41647 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41648 $(RAW_CXX_TARGET_EXPORTS) \
41649 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
41650 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
41651 case $(srcdir) in \
41652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41653 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41655 esac; \
41656 module_srcdir=libvtv; \
41657 rm -f no-such-file || : ; \
41658 CONFIG_SITE=no-such-file $(SHELL) \
41659 $$s/$$module_srcdir/configure \
41660 --srcdir=$${topdir}/$$module_srcdir \
41661 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41662 --target=${target_alias} \
41663 || exit 1
41664 @endif target-libvtv
41668 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
41669 maybe-configure-stage1-target-libvtv:
41670 @if target-libvtv-bootstrap
41671 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
41672 configure-stage1-target-libvtv:
41673 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41674 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41675 @r=`${PWD_COMMAND}`; export r; \
41676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41677 TFLAGS="$(STAGE1_TFLAGS)"; \
41678 echo "Checking multilib configuration for libvtv..."; \
41679 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41680 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41681 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41682 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41683 else \
41684 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41685 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41686 fi; \
41687 else \
41688 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41689 fi; \
41690 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41691 $(RAW_CXX_TARGET_EXPORTS) \
41692 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41693 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41694 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41695 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
41696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41697 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41698 case $(srcdir) in \
41699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41700 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41702 esac; \
41703 module_srcdir=libvtv; \
41704 $(SHELL) $$s/$$module_srcdir/configure \
41705 --srcdir=$${topdir}/$$module_srcdir \
41706 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41707 --target=${target_alias} \
41709 $(STAGE1_CONFIGURE_FLAGS)
41710 @endif target-libvtv-bootstrap
41712 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
41713 maybe-configure-stage2-target-libvtv:
41714 @if target-libvtv-bootstrap
41715 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
41716 configure-stage2-target-libvtv:
41717 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41718 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41719 @r=`${PWD_COMMAND}`; export r; \
41720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41721 TFLAGS="$(STAGE2_TFLAGS)"; \
41722 echo "Checking multilib configuration for libvtv..."; \
41723 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41724 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41725 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41726 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41727 else \
41728 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41729 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41730 fi; \
41731 else \
41732 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41733 fi; \
41734 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41735 $(RAW_CXX_TARGET_EXPORTS) \
41737 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41738 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41739 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41740 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
41741 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41742 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41743 case $(srcdir) in \
41744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41745 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41747 esac; \
41748 module_srcdir=libvtv; \
41749 $(SHELL) $$s/$$module_srcdir/configure \
41750 --srcdir=$${topdir}/$$module_srcdir \
41751 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41752 --target=${target_alias} \
41753 --with-build-libsubdir=$(HOST_SUBDIR) \
41754 $(STAGE2_CONFIGURE_FLAGS)
41755 @endif target-libvtv-bootstrap
41757 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
41758 maybe-configure-stage3-target-libvtv:
41759 @if target-libvtv-bootstrap
41760 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
41761 configure-stage3-target-libvtv:
41762 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41763 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41764 @r=`${PWD_COMMAND}`; export r; \
41765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41766 TFLAGS="$(STAGE3_TFLAGS)"; \
41767 echo "Checking multilib configuration for libvtv..."; \
41768 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41769 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41770 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41771 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41772 else \
41773 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41774 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41775 fi; \
41776 else \
41777 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41778 fi; \
41779 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41780 $(RAW_CXX_TARGET_EXPORTS) \
41782 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41783 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41784 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41785 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
41786 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41787 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41788 case $(srcdir) in \
41789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41790 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41792 esac; \
41793 module_srcdir=libvtv; \
41794 $(SHELL) $$s/$$module_srcdir/configure \
41795 --srcdir=$${topdir}/$$module_srcdir \
41796 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41797 --target=${target_alias} \
41798 --with-build-libsubdir=$(HOST_SUBDIR) \
41799 $(STAGE3_CONFIGURE_FLAGS)
41800 @endif target-libvtv-bootstrap
41802 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
41803 maybe-configure-stage4-target-libvtv:
41804 @if target-libvtv-bootstrap
41805 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
41806 configure-stage4-target-libvtv:
41807 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41808 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41809 @r=`${PWD_COMMAND}`; export r; \
41810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41811 TFLAGS="$(STAGE4_TFLAGS)"; \
41812 echo "Checking multilib configuration for libvtv..."; \
41813 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41814 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41815 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41816 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41817 else \
41818 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41819 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41820 fi; \
41821 else \
41822 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41823 fi; \
41824 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41825 $(RAW_CXX_TARGET_EXPORTS) \
41827 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41828 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41829 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41830 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
41831 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41832 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41833 case $(srcdir) in \
41834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41835 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41837 esac; \
41838 module_srcdir=libvtv; \
41839 $(SHELL) $$s/$$module_srcdir/configure \
41840 --srcdir=$${topdir}/$$module_srcdir \
41841 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41842 --target=${target_alias} \
41843 --with-build-libsubdir=$(HOST_SUBDIR) \
41844 $(STAGE4_CONFIGURE_FLAGS)
41845 @endif target-libvtv-bootstrap
41847 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
41848 maybe-configure-stageprofile-target-libvtv:
41849 @if target-libvtv-bootstrap
41850 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
41851 configure-stageprofile-target-libvtv:
41852 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41853 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41854 @r=`${PWD_COMMAND}`; export r; \
41855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41856 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41857 echo "Checking multilib configuration for libvtv..."; \
41858 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41859 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41860 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41861 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41862 else \
41863 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41864 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41865 fi; \
41866 else \
41867 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41868 fi; \
41869 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41870 $(RAW_CXX_TARGET_EXPORTS) \
41872 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41873 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41874 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41875 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
41876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41877 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41878 case $(srcdir) in \
41879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41880 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41882 esac; \
41883 module_srcdir=libvtv; \
41884 $(SHELL) $$s/$$module_srcdir/configure \
41885 --srcdir=$${topdir}/$$module_srcdir \
41886 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41887 --target=${target_alias} \
41888 --with-build-libsubdir=$(HOST_SUBDIR) \
41889 $(STAGEprofile_CONFIGURE_FLAGS)
41890 @endif target-libvtv-bootstrap
41892 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
41893 maybe-configure-stagetrain-target-libvtv:
41894 @if target-libvtv-bootstrap
41895 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
41896 configure-stagetrain-target-libvtv:
41897 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41898 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41899 @r=`${PWD_COMMAND}`; export r; \
41900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41901 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41902 echo "Checking multilib configuration for libvtv..."; \
41903 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41904 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41905 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41906 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41907 else \
41908 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41909 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41910 fi; \
41911 else \
41912 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41913 fi; \
41914 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41915 $(RAW_CXX_TARGET_EXPORTS) \
41917 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41918 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41919 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41920 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
41921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41922 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41923 case $(srcdir) in \
41924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41925 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41927 esac; \
41928 module_srcdir=libvtv; \
41929 $(SHELL) $$s/$$module_srcdir/configure \
41930 --srcdir=$${topdir}/$$module_srcdir \
41931 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41932 --target=${target_alias} \
41933 --with-build-libsubdir=$(HOST_SUBDIR) \
41934 $(STAGEtrain_CONFIGURE_FLAGS)
41935 @endif target-libvtv-bootstrap
41937 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
41938 maybe-configure-stagefeedback-target-libvtv:
41939 @if target-libvtv-bootstrap
41940 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
41941 configure-stagefeedback-target-libvtv:
41942 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41943 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41944 @r=`${PWD_COMMAND}`; export r; \
41945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41946 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41947 echo "Checking multilib configuration for libvtv..."; \
41948 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41949 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41950 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41951 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41952 else \
41953 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41954 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41955 fi; \
41956 else \
41957 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
41958 fi; \
41959 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
41960 $(RAW_CXX_TARGET_EXPORTS) \
41962 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41963 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41964 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41965 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
41966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
41967 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
41968 case $(srcdir) in \
41969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41970 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
41971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41972 esac; \
41973 module_srcdir=libvtv; \
41974 $(SHELL) $$s/$$module_srcdir/configure \
41975 --srcdir=$${topdir}/$$module_srcdir \
41976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41977 --target=${target_alias} \
41978 --with-build-libsubdir=$(HOST_SUBDIR) \
41979 $(STAGEfeedback_CONFIGURE_FLAGS)
41980 @endif target-libvtv-bootstrap
41982 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
41983 maybe-configure-stageautoprofile-target-libvtv:
41984 @if target-libvtv-bootstrap
41985 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
41986 configure-stageautoprofile-target-libvtv:
41987 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41988 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
41989 @r=`${PWD_COMMAND}`; export r; \
41990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41991 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41992 echo "Checking multilib configuration for libvtv..."; \
41993 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
41994 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41995 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
41996 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
41997 else \
41998 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
41999 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42000 fi; \
42001 else \
42002 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42003 fi; \
42004 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42005 $(RAW_CXX_TARGET_EXPORTS) \
42007 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42008 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42009 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42010 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
42011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42012 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42013 case $(srcdir) in \
42014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42015 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42017 esac; \
42018 module_srcdir=libvtv; \
42019 $(SHELL) $$s/$$module_srcdir/configure \
42020 --srcdir=$${topdir}/$$module_srcdir \
42021 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42022 --target=${target_alias} \
42023 --with-build-libsubdir=$(HOST_SUBDIR) \
42024 $(STAGEautoprofile_CONFIGURE_FLAGS)
42025 @endif target-libvtv-bootstrap
42027 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
42028 maybe-configure-stageautofeedback-target-libvtv:
42029 @if target-libvtv-bootstrap
42030 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42031 configure-stageautofeedback-target-libvtv:
42032 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42033 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42034 @r=`${PWD_COMMAND}`; export r; \
42035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42036 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42037 echo "Checking multilib configuration for libvtv..."; \
42038 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42039 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42040 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42041 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42042 else \
42043 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42044 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42045 fi; \
42046 else \
42047 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42048 fi; \
42049 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42050 $(RAW_CXX_TARGET_EXPORTS) \
42052 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42053 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42054 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42055 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
42056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42057 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42058 case $(srcdir) in \
42059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42060 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42062 esac; \
42063 module_srcdir=libvtv; \
42064 $(SHELL) $$s/$$module_srcdir/configure \
42065 --srcdir=$${topdir}/$$module_srcdir \
42066 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42067 --target=${target_alias} \
42068 --with-build-libsubdir=$(HOST_SUBDIR) \
42069 $(STAGEautofeedback_CONFIGURE_FLAGS)
42070 @endif target-libvtv-bootstrap
42076 .PHONY: all-target-libvtv maybe-all-target-libvtv
42077 maybe-all-target-libvtv:
42078 @if gcc-bootstrap
42079 all-target-libvtv: stage_current
42080 @endif gcc-bootstrap
42081 @if target-libvtv
42082 TARGET-target-libvtv=all
42083 maybe-all-target-libvtv: all-target-libvtv
42084 all-target-libvtv: configure-target-libvtv
42085 @r=`${PWD_COMMAND}`; export r; \
42086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42087 $(RAW_CXX_TARGET_EXPORTS) \
42088 (cd $(TARGET_SUBDIR)/libvtv && \
42089 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42090 $(TARGET-target-libvtv))
42091 @endif target-libvtv
42095 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
42096 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
42097 maybe-all-stage1-target-libvtv:
42098 maybe-clean-stage1-target-libvtv:
42099 @if target-libvtv-bootstrap
42100 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
42101 all-stage1: all-stage1-target-libvtv
42102 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
42103 all-stage1-target-libvtv: configure-stage1-target-libvtv
42104 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42105 @r=`${PWD_COMMAND}`; export r; \
42106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42107 TFLAGS="$(STAGE1_TFLAGS)"; \
42108 $(RAW_CXX_TARGET_EXPORTS) \
42109 cd $(TARGET_SUBDIR)/libvtv && \
42111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42112 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42118 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42120 TFLAGS="$(STAGE1_TFLAGS)" \
42121 $(TARGET-stage1-target-libvtv)
42123 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
42124 clean-stage1: clean-stage1-target-libvtv
42125 clean-stage1-target-libvtv:
42126 @if [ $(current_stage) = stage1 ]; then \
42127 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42128 else \
42129 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
42130 $(MAKE) stage1-start; \
42131 fi; \
42132 cd $(TARGET_SUBDIR)/libvtv && \
42133 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42134 clean
42135 @endif target-libvtv-bootstrap
42138 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
42139 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
42140 maybe-all-stage2-target-libvtv:
42141 maybe-clean-stage2-target-libvtv:
42142 @if target-libvtv-bootstrap
42143 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
42144 all-stage2: all-stage2-target-libvtv
42145 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
42146 all-stage2-target-libvtv: configure-stage2-target-libvtv
42147 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42148 @r=`${PWD_COMMAND}`; export r; \
42149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42150 TFLAGS="$(STAGE2_TFLAGS)"; \
42151 $(RAW_CXX_TARGET_EXPORTS) \
42153 cd $(TARGET_SUBDIR)/libvtv && \
42155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42156 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42157 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42158 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42162 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42163 TFLAGS="$(STAGE2_TFLAGS)" \
42164 $(TARGET-stage2-target-libvtv)
42166 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
42167 clean-stage2: clean-stage2-target-libvtv
42168 clean-stage2-target-libvtv:
42169 @if [ $(current_stage) = stage2 ]; then \
42170 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42171 else \
42172 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
42173 $(MAKE) stage2-start; \
42174 fi; \
42175 cd $(TARGET_SUBDIR)/libvtv && \
42176 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42177 @endif target-libvtv-bootstrap
42180 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
42181 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
42182 maybe-all-stage3-target-libvtv:
42183 maybe-clean-stage3-target-libvtv:
42184 @if target-libvtv-bootstrap
42185 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
42186 all-stage3: all-stage3-target-libvtv
42187 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
42188 all-stage3-target-libvtv: configure-stage3-target-libvtv
42189 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42190 @r=`${PWD_COMMAND}`; export r; \
42191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42192 TFLAGS="$(STAGE3_TFLAGS)"; \
42193 $(RAW_CXX_TARGET_EXPORTS) \
42195 cd $(TARGET_SUBDIR)/libvtv && \
42197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42198 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42200 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42204 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42205 TFLAGS="$(STAGE3_TFLAGS)" \
42206 $(TARGET-stage3-target-libvtv)
42208 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
42209 clean-stage3: clean-stage3-target-libvtv
42210 clean-stage3-target-libvtv:
42211 @if [ $(current_stage) = stage3 ]; then \
42212 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42213 else \
42214 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
42215 $(MAKE) stage3-start; \
42216 fi; \
42217 cd $(TARGET_SUBDIR)/libvtv && \
42218 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42219 @endif target-libvtv-bootstrap
42222 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
42223 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
42224 maybe-all-stage4-target-libvtv:
42225 maybe-clean-stage4-target-libvtv:
42226 @if target-libvtv-bootstrap
42227 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
42228 all-stage4: all-stage4-target-libvtv
42229 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
42230 all-stage4-target-libvtv: configure-stage4-target-libvtv
42231 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42232 @r=`${PWD_COMMAND}`; export r; \
42233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42234 TFLAGS="$(STAGE4_TFLAGS)"; \
42235 $(RAW_CXX_TARGET_EXPORTS) \
42237 cd $(TARGET_SUBDIR)/libvtv && \
42239 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42240 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42241 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42242 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42243 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42244 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42245 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42246 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42247 TFLAGS="$(STAGE4_TFLAGS)" \
42248 $(TARGET-stage4-target-libvtv)
42250 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
42251 clean-stage4: clean-stage4-target-libvtv
42252 clean-stage4-target-libvtv:
42253 @if [ $(current_stage) = stage4 ]; then \
42254 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42255 else \
42256 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
42257 $(MAKE) stage4-start; \
42258 fi; \
42259 cd $(TARGET_SUBDIR)/libvtv && \
42260 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42261 @endif target-libvtv-bootstrap
42264 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
42265 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
42266 maybe-all-stageprofile-target-libvtv:
42267 maybe-clean-stageprofile-target-libvtv:
42268 @if target-libvtv-bootstrap
42269 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
42270 all-stageprofile: all-stageprofile-target-libvtv
42271 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
42272 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
42273 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42274 @r=`${PWD_COMMAND}`; export r; \
42275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42276 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42277 $(RAW_CXX_TARGET_EXPORTS) \
42279 cd $(TARGET_SUBDIR)/libvtv && \
42281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42282 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42283 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42284 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42288 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42289 TFLAGS="$(STAGEprofile_TFLAGS)" \
42290 $(TARGET-stageprofile-target-libvtv)
42292 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
42293 clean-stageprofile: clean-stageprofile-target-libvtv
42294 clean-stageprofile-target-libvtv:
42295 @if [ $(current_stage) = stageprofile ]; then \
42296 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42297 else \
42298 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
42299 $(MAKE) stageprofile-start; \
42300 fi; \
42301 cd $(TARGET_SUBDIR)/libvtv && \
42302 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42303 @endif target-libvtv-bootstrap
42306 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
42307 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
42308 maybe-all-stagetrain-target-libvtv:
42309 maybe-clean-stagetrain-target-libvtv:
42310 @if target-libvtv-bootstrap
42311 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
42312 all-stagetrain: all-stagetrain-target-libvtv
42313 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
42314 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
42315 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42316 @r=`${PWD_COMMAND}`; export r; \
42317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42318 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42319 $(RAW_CXX_TARGET_EXPORTS) \
42321 cd $(TARGET_SUBDIR)/libvtv && \
42323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42324 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42325 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42326 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42330 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42331 TFLAGS="$(STAGEtrain_TFLAGS)" \
42332 $(TARGET-stagetrain-target-libvtv)
42334 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
42335 clean-stagetrain: clean-stagetrain-target-libvtv
42336 clean-stagetrain-target-libvtv:
42337 @if [ $(current_stage) = stagetrain ]; then \
42338 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42339 else \
42340 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
42341 $(MAKE) stagetrain-start; \
42342 fi; \
42343 cd $(TARGET_SUBDIR)/libvtv && \
42344 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42345 @endif target-libvtv-bootstrap
42348 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
42349 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
42350 maybe-all-stagefeedback-target-libvtv:
42351 maybe-clean-stagefeedback-target-libvtv:
42352 @if target-libvtv-bootstrap
42353 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
42354 all-stagefeedback: all-stagefeedback-target-libvtv
42355 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
42356 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42357 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42358 @r=`${PWD_COMMAND}`; export r; \
42359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42360 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42361 $(RAW_CXX_TARGET_EXPORTS) \
42363 cd $(TARGET_SUBDIR)/libvtv && \
42365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42366 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42367 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42368 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42372 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42373 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42374 $(TARGET-stagefeedback-target-libvtv)
42376 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
42377 clean-stagefeedback: clean-stagefeedback-target-libvtv
42378 clean-stagefeedback-target-libvtv:
42379 @if [ $(current_stage) = stagefeedback ]; then \
42380 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42381 else \
42382 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
42383 $(MAKE) stagefeedback-start; \
42384 fi; \
42385 cd $(TARGET_SUBDIR)/libvtv && \
42386 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42387 @endif target-libvtv-bootstrap
42390 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
42391 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
42392 maybe-all-stageautoprofile-target-libvtv:
42393 maybe-clean-stageautoprofile-target-libvtv:
42394 @if target-libvtv-bootstrap
42395 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
42396 all-stageautoprofile: all-stageautoprofile-target-libvtv
42397 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
42398 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42399 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42400 @r=`${PWD_COMMAND}`; export r; \
42401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42402 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42403 $(RAW_CXX_TARGET_EXPORTS) \
42405 cd $(TARGET_SUBDIR)/libvtv && \
42406 $$s/gcc/config/i386/$(AUTO_PROFILE) \
42407 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42408 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42409 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42410 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42411 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42412 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42413 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42414 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42415 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
42416 $(TARGET-stageautoprofile-target-libvtv)
42418 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
42419 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
42420 clean-stageautoprofile-target-libvtv:
42421 @if [ $(current_stage) = stageautoprofile ]; then \
42422 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42423 else \
42424 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
42425 $(MAKE) stageautoprofile-start; \
42426 fi; \
42427 cd $(TARGET_SUBDIR)/libvtv && \
42428 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42429 @endif target-libvtv-bootstrap
42432 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
42433 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
42434 maybe-all-stageautofeedback-target-libvtv:
42435 maybe-clean-stageautofeedback-target-libvtv:
42436 @if target-libvtv-bootstrap
42437 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
42438 all-stageautofeedback: all-stageautofeedback-target-libvtv
42439 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
42440 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42441 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42442 @r=`${PWD_COMMAND}`; export r; \
42443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42444 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42445 $(RAW_CXX_TARGET_EXPORTS) \
42447 cd $(TARGET_SUBDIR)/libvtv && \
42449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42450 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42451 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42452 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42456 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42457 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
42458 $(TARGET-stageautofeedback-target-libvtv)
42460 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
42461 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
42462 clean-stageautofeedback-target-libvtv:
42463 @if [ $(current_stage) = stageautofeedback ]; then \
42464 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42465 else \
42466 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
42467 $(MAKE) stageautofeedback-start; \
42468 fi; \
42469 cd $(TARGET_SUBDIR)/libvtv && \
42470 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42471 @endif target-libvtv-bootstrap
42478 .PHONY: check-target-libvtv maybe-check-target-libvtv
42479 maybe-check-target-libvtv:
42480 @if target-libvtv
42481 maybe-check-target-libvtv: check-target-libvtv
42483 check-target-libvtv:
42484 @: $(MAKE); $(unstage)
42485 @r=`${PWD_COMMAND}`; export r; \
42486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42487 $(RAW_CXX_TARGET_EXPORTS) \
42488 (cd $(TARGET_SUBDIR)/libvtv && \
42489 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
42491 @endif target-libvtv
42493 .PHONY: install-target-libvtv maybe-install-target-libvtv
42494 maybe-install-target-libvtv:
42495 @if target-libvtv
42496 maybe-install-target-libvtv: install-target-libvtv
42498 install-target-libvtv: installdirs
42499 @: $(MAKE); $(unstage)
42500 @r=`${PWD_COMMAND}`; export r; \
42501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42502 $(RAW_CXX_TARGET_EXPORTS) \
42503 (cd $(TARGET_SUBDIR)/libvtv && \
42504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42506 @endif target-libvtv
42508 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
42509 maybe-install-strip-target-libvtv:
42510 @if target-libvtv
42511 maybe-install-strip-target-libvtv: install-strip-target-libvtv
42513 install-strip-target-libvtv: installdirs
42514 @: $(MAKE); $(unstage)
42515 @r=`${PWD_COMMAND}`; export r; \
42516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42517 $(RAW_CXX_TARGET_EXPORTS) \
42518 (cd $(TARGET_SUBDIR)/libvtv && \
42519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42521 @endif target-libvtv
42523 # Other targets (info, dvi, pdf, etc.)
42525 .PHONY: maybe-info-target-libvtv info-target-libvtv
42526 maybe-info-target-libvtv:
42527 @if target-libvtv
42528 maybe-info-target-libvtv: info-target-libvtv
42530 info-target-libvtv: \
42531 configure-target-libvtv
42532 @: $(MAKE); $(unstage)
42533 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42534 r=`${PWD_COMMAND}`; export r; \
42535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42536 $(RAW_CXX_TARGET_EXPORTS) \
42537 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
42538 for flag in $(EXTRA_TARGET_FLAGS); do \
42539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42540 done; \
42541 (cd $(TARGET_SUBDIR)/libvtv && \
42542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42544 "RANLIB=$${RANLIB}" \
42545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42546 info) \
42547 || exit 1
42549 @endif target-libvtv
42551 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
42552 maybe-dvi-target-libvtv:
42553 @if target-libvtv
42554 maybe-dvi-target-libvtv: dvi-target-libvtv
42556 dvi-target-libvtv: \
42557 configure-target-libvtv
42558 @: $(MAKE); $(unstage)
42559 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42560 r=`${PWD_COMMAND}`; export r; \
42561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42562 $(RAW_CXX_TARGET_EXPORTS) \
42563 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
42564 for flag in $(EXTRA_TARGET_FLAGS); do \
42565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42566 done; \
42567 (cd $(TARGET_SUBDIR)/libvtv && \
42568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42570 "RANLIB=$${RANLIB}" \
42571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42572 dvi) \
42573 || exit 1
42575 @endif target-libvtv
42577 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
42578 maybe-pdf-target-libvtv:
42579 @if target-libvtv
42580 maybe-pdf-target-libvtv: pdf-target-libvtv
42582 pdf-target-libvtv: \
42583 configure-target-libvtv
42584 @: $(MAKE); $(unstage)
42585 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42586 r=`${PWD_COMMAND}`; export r; \
42587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42588 $(RAW_CXX_TARGET_EXPORTS) \
42589 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
42590 for flag in $(EXTRA_TARGET_FLAGS); do \
42591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42592 done; \
42593 (cd $(TARGET_SUBDIR)/libvtv && \
42594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42596 "RANLIB=$${RANLIB}" \
42597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42598 pdf) \
42599 || exit 1
42601 @endif target-libvtv
42603 .PHONY: maybe-html-target-libvtv html-target-libvtv
42604 maybe-html-target-libvtv:
42605 @if target-libvtv
42606 maybe-html-target-libvtv: html-target-libvtv
42608 html-target-libvtv: \
42609 configure-target-libvtv
42610 @: $(MAKE); $(unstage)
42611 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42612 r=`${PWD_COMMAND}`; export r; \
42613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42614 $(RAW_CXX_TARGET_EXPORTS) \
42615 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
42616 for flag in $(EXTRA_TARGET_FLAGS); do \
42617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42618 done; \
42619 (cd $(TARGET_SUBDIR)/libvtv && \
42620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42622 "RANLIB=$${RANLIB}" \
42623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42624 html) \
42625 || exit 1
42627 @endif target-libvtv
42629 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
42630 maybe-TAGS-target-libvtv:
42631 @if target-libvtv
42632 maybe-TAGS-target-libvtv: TAGS-target-libvtv
42634 TAGS-target-libvtv: \
42635 configure-target-libvtv
42636 @: $(MAKE); $(unstage)
42637 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42638 r=`${PWD_COMMAND}`; export r; \
42639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42640 $(RAW_CXX_TARGET_EXPORTS) \
42641 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
42642 for flag in $(EXTRA_TARGET_FLAGS); do \
42643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42644 done; \
42645 (cd $(TARGET_SUBDIR)/libvtv && \
42646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42648 "RANLIB=$${RANLIB}" \
42649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42650 TAGS) \
42651 || exit 1
42653 @endif target-libvtv
42655 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
42656 maybe-install-info-target-libvtv:
42657 @if target-libvtv
42658 maybe-install-info-target-libvtv: install-info-target-libvtv
42660 install-info-target-libvtv: \
42661 configure-target-libvtv \
42662 info-target-libvtv
42663 @: $(MAKE); $(unstage)
42664 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42665 r=`${PWD_COMMAND}`; export r; \
42666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42667 $(RAW_CXX_TARGET_EXPORTS) \
42668 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
42669 for flag in $(EXTRA_TARGET_FLAGS); do \
42670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42671 done; \
42672 (cd $(TARGET_SUBDIR)/libvtv && \
42673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42675 "RANLIB=$${RANLIB}" \
42676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42677 install-info) \
42678 || exit 1
42680 @endif target-libvtv
42682 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
42683 maybe-install-pdf-target-libvtv:
42684 @if target-libvtv
42685 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
42687 install-pdf-target-libvtv: \
42688 configure-target-libvtv \
42689 pdf-target-libvtv
42690 @: $(MAKE); $(unstage)
42691 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42692 r=`${PWD_COMMAND}`; export r; \
42693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42694 $(RAW_CXX_TARGET_EXPORTS) \
42695 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
42696 for flag in $(EXTRA_TARGET_FLAGS); do \
42697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42698 done; \
42699 (cd $(TARGET_SUBDIR)/libvtv && \
42700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42702 "RANLIB=$${RANLIB}" \
42703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42704 install-pdf) \
42705 || exit 1
42707 @endif target-libvtv
42709 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
42710 maybe-install-html-target-libvtv:
42711 @if target-libvtv
42712 maybe-install-html-target-libvtv: install-html-target-libvtv
42714 install-html-target-libvtv: \
42715 configure-target-libvtv \
42716 html-target-libvtv
42717 @: $(MAKE); $(unstage)
42718 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42719 r=`${PWD_COMMAND}`; export r; \
42720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42721 $(RAW_CXX_TARGET_EXPORTS) \
42722 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
42723 for flag in $(EXTRA_TARGET_FLAGS); do \
42724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42725 done; \
42726 (cd $(TARGET_SUBDIR)/libvtv && \
42727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42729 "RANLIB=$${RANLIB}" \
42730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42731 install-html) \
42732 || exit 1
42734 @endif target-libvtv
42736 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
42737 maybe-installcheck-target-libvtv:
42738 @if target-libvtv
42739 maybe-installcheck-target-libvtv: installcheck-target-libvtv
42741 installcheck-target-libvtv: \
42742 configure-target-libvtv
42743 @: $(MAKE); $(unstage)
42744 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42745 r=`${PWD_COMMAND}`; export r; \
42746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42747 $(RAW_CXX_TARGET_EXPORTS) \
42748 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
42749 for flag in $(EXTRA_TARGET_FLAGS); do \
42750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42751 done; \
42752 (cd $(TARGET_SUBDIR)/libvtv && \
42753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42755 "RANLIB=$${RANLIB}" \
42756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42757 installcheck) \
42758 || exit 1
42760 @endif target-libvtv
42762 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
42763 maybe-mostlyclean-target-libvtv:
42764 @if target-libvtv
42765 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
42767 mostlyclean-target-libvtv:
42768 @: $(MAKE); $(unstage)
42769 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42770 r=`${PWD_COMMAND}`; export r; \
42771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42772 $(RAW_CXX_TARGET_EXPORTS) \
42773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
42774 for flag in $(EXTRA_TARGET_FLAGS); do \
42775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42776 done; \
42777 (cd $(TARGET_SUBDIR)/libvtv && \
42778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42780 "RANLIB=$${RANLIB}" \
42781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42782 mostlyclean) \
42783 || exit 1
42785 @endif target-libvtv
42787 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
42788 maybe-clean-target-libvtv:
42789 @if target-libvtv
42790 maybe-clean-target-libvtv: clean-target-libvtv
42792 clean-target-libvtv:
42793 @: $(MAKE); $(unstage)
42794 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42795 r=`${PWD_COMMAND}`; export r; \
42796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42797 $(RAW_CXX_TARGET_EXPORTS) \
42798 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
42799 for flag in $(EXTRA_TARGET_FLAGS); do \
42800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42801 done; \
42802 (cd $(TARGET_SUBDIR)/libvtv && \
42803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42805 "RANLIB=$${RANLIB}" \
42806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42807 clean) \
42808 || exit 1
42810 @endif target-libvtv
42812 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
42813 maybe-distclean-target-libvtv:
42814 @if target-libvtv
42815 maybe-distclean-target-libvtv: distclean-target-libvtv
42817 distclean-target-libvtv:
42818 @: $(MAKE); $(unstage)
42819 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42820 r=`${PWD_COMMAND}`; export r; \
42821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42822 $(RAW_CXX_TARGET_EXPORTS) \
42823 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
42824 for flag in $(EXTRA_TARGET_FLAGS); do \
42825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42826 done; \
42827 (cd $(TARGET_SUBDIR)/libvtv && \
42828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42830 "RANLIB=$${RANLIB}" \
42831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42832 distclean) \
42833 || exit 1
42835 @endif target-libvtv
42837 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
42838 maybe-maintainer-clean-target-libvtv:
42839 @if target-libvtv
42840 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
42842 maintainer-clean-target-libvtv:
42843 @: $(MAKE); $(unstage)
42844 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42845 r=`${PWD_COMMAND}`; export r; \
42846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42847 $(RAW_CXX_TARGET_EXPORTS) \
42848 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
42849 for flag in $(EXTRA_TARGET_FLAGS); do \
42850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42851 done; \
42852 (cd $(TARGET_SUBDIR)/libvtv && \
42853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42855 "RANLIB=$${RANLIB}" \
42856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42857 maintainer-clean) \
42858 || exit 1
42860 @endif target-libvtv
42866 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
42867 maybe-configure-target-libcilkrts:
42868 @if gcc-bootstrap
42869 configure-target-libcilkrts: stage_current
42870 @endif gcc-bootstrap
42871 @if target-libcilkrts
42872 maybe-configure-target-libcilkrts: configure-target-libcilkrts
42873 configure-target-libcilkrts:
42874 @: $(MAKE); $(unstage)
42875 @r=`${PWD_COMMAND}`; export r; \
42876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42877 echo "Checking multilib configuration for libcilkrts..."; \
42878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
42879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null; \
42880 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42881 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42882 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
42883 else \
42884 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
42885 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42886 fi; \
42887 else \
42888 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42889 fi; \
42890 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
42891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
42892 $(NORMAL_TARGET_EXPORTS) \
42893 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
42894 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
42895 case $(srcdir) in \
42896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42897 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
42898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42899 esac; \
42900 module_srcdir=libcilkrts; \
42901 rm -f no-such-file || : ; \
42902 CONFIG_SITE=no-such-file $(SHELL) \
42903 $$s/$$module_srcdir/configure \
42904 --srcdir=$${topdir}/$$module_srcdir \
42905 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42906 --target=${target_alias} \
42907 || exit 1
42908 @endif target-libcilkrts
42914 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
42915 maybe-all-target-libcilkrts:
42916 @if gcc-bootstrap
42917 all-target-libcilkrts: stage_current
42918 @endif gcc-bootstrap
42919 @if target-libcilkrts
42920 TARGET-target-libcilkrts=all
42921 maybe-all-target-libcilkrts: all-target-libcilkrts
42922 all-target-libcilkrts: configure-target-libcilkrts
42923 @: $(MAKE); $(unstage)
42924 @r=`${PWD_COMMAND}`; export r; \
42925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42926 $(NORMAL_TARGET_EXPORTS) \
42927 (cd $(TARGET_SUBDIR)/libcilkrts && \
42928 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42929 $(TARGET-target-libcilkrts))
42930 @endif target-libcilkrts
42936 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
42937 maybe-check-target-libcilkrts:
42938 @if target-libcilkrts
42939 maybe-check-target-libcilkrts: check-target-libcilkrts
42941 check-target-libcilkrts:
42942 @: $(MAKE); $(unstage)
42943 @r=`${PWD_COMMAND}`; export r; \
42944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42945 $(NORMAL_TARGET_EXPORTS) \
42946 (cd $(TARGET_SUBDIR)/libcilkrts && \
42947 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42949 @endif target-libcilkrts
42951 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
42952 maybe-install-target-libcilkrts:
42953 @if target-libcilkrts
42954 maybe-install-target-libcilkrts: install-target-libcilkrts
42956 install-target-libcilkrts: installdirs
42957 @: $(MAKE); $(unstage)
42958 @r=`${PWD_COMMAND}`; export r; \
42959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42960 $(NORMAL_TARGET_EXPORTS) \
42961 (cd $(TARGET_SUBDIR)/libcilkrts && \
42962 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42964 @endif target-libcilkrts
42966 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
42967 maybe-install-strip-target-libcilkrts:
42968 @if target-libcilkrts
42969 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
42971 install-strip-target-libcilkrts: installdirs
42972 @: $(MAKE); $(unstage)
42973 @r=`${PWD_COMMAND}`; export r; \
42974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42975 $(NORMAL_TARGET_EXPORTS) \
42976 (cd $(TARGET_SUBDIR)/libcilkrts && \
42977 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42979 @endif target-libcilkrts
42981 # Other targets (info, dvi, pdf, etc.)
42983 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
42984 maybe-info-target-libcilkrts:
42985 @if target-libcilkrts
42986 maybe-info-target-libcilkrts: info-target-libcilkrts
42988 info-target-libcilkrts: \
42989 configure-target-libcilkrts
42990 @: $(MAKE); $(unstage)
42991 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
42992 r=`${PWD_COMMAND}`; export r; \
42993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42994 $(NORMAL_TARGET_EXPORTS) \
42995 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts"; \
42996 for flag in $(EXTRA_TARGET_FLAGS); do \
42997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42998 done; \
42999 (cd $(TARGET_SUBDIR)/libcilkrts && \
43000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43002 "RANLIB=$${RANLIB}" \
43003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43004 info) \
43005 || exit 1
43007 @endif target-libcilkrts
43009 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
43010 maybe-dvi-target-libcilkrts:
43011 @if target-libcilkrts
43012 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
43014 dvi-target-libcilkrts: \
43015 configure-target-libcilkrts
43016 @: $(MAKE); $(unstage)
43017 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43018 r=`${PWD_COMMAND}`; export r; \
43019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43020 $(NORMAL_TARGET_EXPORTS) \
43021 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts"; \
43022 for flag in $(EXTRA_TARGET_FLAGS); do \
43023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43024 done; \
43025 (cd $(TARGET_SUBDIR)/libcilkrts && \
43026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43028 "RANLIB=$${RANLIB}" \
43029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43030 dvi) \
43031 || exit 1
43033 @endif target-libcilkrts
43035 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
43036 maybe-pdf-target-libcilkrts:
43037 @if target-libcilkrts
43038 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
43040 pdf-target-libcilkrts: \
43041 configure-target-libcilkrts
43042 @: $(MAKE); $(unstage)
43043 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43044 r=`${PWD_COMMAND}`; export r; \
43045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43046 $(NORMAL_TARGET_EXPORTS) \
43047 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts"; \
43048 for flag in $(EXTRA_TARGET_FLAGS); do \
43049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43050 done; \
43051 (cd $(TARGET_SUBDIR)/libcilkrts && \
43052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43054 "RANLIB=$${RANLIB}" \
43055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43056 pdf) \
43057 || exit 1
43059 @endif target-libcilkrts
43061 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
43062 maybe-html-target-libcilkrts:
43063 @if target-libcilkrts
43064 maybe-html-target-libcilkrts: html-target-libcilkrts
43066 html-target-libcilkrts: \
43067 configure-target-libcilkrts
43068 @: $(MAKE); $(unstage)
43069 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43070 r=`${PWD_COMMAND}`; export r; \
43071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43072 $(NORMAL_TARGET_EXPORTS) \
43073 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts"; \
43074 for flag in $(EXTRA_TARGET_FLAGS); do \
43075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43076 done; \
43077 (cd $(TARGET_SUBDIR)/libcilkrts && \
43078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43080 "RANLIB=$${RANLIB}" \
43081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43082 html) \
43083 || exit 1
43085 @endif target-libcilkrts
43087 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
43088 maybe-TAGS-target-libcilkrts:
43089 @if target-libcilkrts
43090 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
43092 TAGS-target-libcilkrts: \
43093 configure-target-libcilkrts
43094 @: $(MAKE); $(unstage)
43095 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43096 r=`${PWD_COMMAND}`; export r; \
43097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43098 $(NORMAL_TARGET_EXPORTS) \
43099 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts"; \
43100 for flag in $(EXTRA_TARGET_FLAGS); do \
43101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43102 done; \
43103 (cd $(TARGET_SUBDIR)/libcilkrts && \
43104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43106 "RANLIB=$${RANLIB}" \
43107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43108 TAGS) \
43109 || exit 1
43111 @endif target-libcilkrts
43113 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
43114 maybe-install-info-target-libcilkrts:
43115 @if target-libcilkrts
43116 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
43118 install-info-target-libcilkrts: \
43119 configure-target-libcilkrts \
43120 info-target-libcilkrts
43121 @: $(MAKE); $(unstage)
43122 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43123 r=`${PWD_COMMAND}`; export r; \
43124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43125 $(NORMAL_TARGET_EXPORTS) \
43126 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts"; \
43127 for flag in $(EXTRA_TARGET_FLAGS); do \
43128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43129 done; \
43130 (cd $(TARGET_SUBDIR)/libcilkrts && \
43131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43133 "RANLIB=$${RANLIB}" \
43134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43135 install-info) \
43136 || exit 1
43138 @endif target-libcilkrts
43140 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
43141 maybe-install-pdf-target-libcilkrts:
43142 @if target-libcilkrts
43143 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
43145 install-pdf-target-libcilkrts: \
43146 configure-target-libcilkrts \
43147 pdf-target-libcilkrts
43148 @: $(MAKE); $(unstage)
43149 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43150 r=`${PWD_COMMAND}`; export r; \
43151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43152 $(NORMAL_TARGET_EXPORTS) \
43153 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts"; \
43154 for flag in $(EXTRA_TARGET_FLAGS); do \
43155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43156 done; \
43157 (cd $(TARGET_SUBDIR)/libcilkrts && \
43158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43160 "RANLIB=$${RANLIB}" \
43161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43162 install-pdf) \
43163 || exit 1
43165 @endif target-libcilkrts
43167 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
43168 maybe-install-html-target-libcilkrts:
43169 @if target-libcilkrts
43170 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
43172 install-html-target-libcilkrts: \
43173 configure-target-libcilkrts \
43174 html-target-libcilkrts
43175 @: $(MAKE); $(unstage)
43176 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43177 r=`${PWD_COMMAND}`; export r; \
43178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43179 $(NORMAL_TARGET_EXPORTS) \
43180 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts"; \
43181 for flag in $(EXTRA_TARGET_FLAGS); do \
43182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43183 done; \
43184 (cd $(TARGET_SUBDIR)/libcilkrts && \
43185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43187 "RANLIB=$${RANLIB}" \
43188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43189 install-html) \
43190 || exit 1
43192 @endif target-libcilkrts
43194 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
43195 maybe-installcheck-target-libcilkrts:
43196 @if target-libcilkrts
43197 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
43199 installcheck-target-libcilkrts: \
43200 configure-target-libcilkrts
43201 @: $(MAKE); $(unstage)
43202 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43203 r=`${PWD_COMMAND}`; export r; \
43204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43205 $(NORMAL_TARGET_EXPORTS) \
43206 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts"; \
43207 for flag in $(EXTRA_TARGET_FLAGS); do \
43208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43209 done; \
43210 (cd $(TARGET_SUBDIR)/libcilkrts && \
43211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43213 "RANLIB=$${RANLIB}" \
43214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43215 installcheck) \
43216 || exit 1
43218 @endif target-libcilkrts
43220 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
43221 maybe-mostlyclean-target-libcilkrts:
43222 @if target-libcilkrts
43223 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
43225 mostlyclean-target-libcilkrts:
43226 @: $(MAKE); $(unstage)
43227 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43228 r=`${PWD_COMMAND}`; export r; \
43229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43230 $(NORMAL_TARGET_EXPORTS) \
43231 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts"; \
43232 for flag in $(EXTRA_TARGET_FLAGS); do \
43233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43234 done; \
43235 (cd $(TARGET_SUBDIR)/libcilkrts && \
43236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43238 "RANLIB=$${RANLIB}" \
43239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43240 mostlyclean) \
43241 || exit 1
43243 @endif target-libcilkrts
43245 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
43246 maybe-clean-target-libcilkrts:
43247 @if target-libcilkrts
43248 maybe-clean-target-libcilkrts: clean-target-libcilkrts
43250 clean-target-libcilkrts:
43251 @: $(MAKE); $(unstage)
43252 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43253 r=`${PWD_COMMAND}`; export r; \
43254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43255 $(NORMAL_TARGET_EXPORTS) \
43256 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts"; \
43257 for flag in $(EXTRA_TARGET_FLAGS); do \
43258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43259 done; \
43260 (cd $(TARGET_SUBDIR)/libcilkrts && \
43261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43263 "RANLIB=$${RANLIB}" \
43264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43265 clean) \
43266 || exit 1
43268 @endif target-libcilkrts
43270 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
43271 maybe-distclean-target-libcilkrts:
43272 @if target-libcilkrts
43273 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
43275 distclean-target-libcilkrts:
43276 @: $(MAKE); $(unstage)
43277 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43278 r=`${PWD_COMMAND}`; export r; \
43279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43280 $(NORMAL_TARGET_EXPORTS) \
43281 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts"; \
43282 for flag in $(EXTRA_TARGET_FLAGS); do \
43283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43284 done; \
43285 (cd $(TARGET_SUBDIR)/libcilkrts && \
43286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43288 "RANLIB=$${RANLIB}" \
43289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43290 distclean) \
43291 || exit 1
43293 @endif target-libcilkrts
43295 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
43296 maybe-maintainer-clean-target-libcilkrts:
43297 @if target-libcilkrts
43298 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
43300 maintainer-clean-target-libcilkrts:
43301 @: $(MAKE); $(unstage)
43302 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
43303 r=`${PWD_COMMAND}`; export r; \
43304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43305 $(NORMAL_TARGET_EXPORTS) \
43306 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts"; \
43307 for flag in $(EXTRA_TARGET_FLAGS); do \
43308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43309 done; \
43310 (cd $(TARGET_SUBDIR)/libcilkrts && \
43311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43313 "RANLIB=$${RANLIB}" \
43314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43315 maintainer-clean) \
43316 || exit 1
43318 @endif target-libcilkrts
43324 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
43325 maybe-configure-target-liboffloadmic:
43326 @if gcc-bootstrap
43327 configure-target-liboffloadmic: stage_current
43328 @endif gcc-bootstrap
43329 @if target-liboffloadmic
43330 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
43331 configure-target-liboffloadmic:
43332 @: $(MAKE); $(unstage)
43333 @r=`${PWD_COMMAND}`; export r; \
43334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43335 echo "Checking multilib configuration for liboffloadmic..."; \
43336 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
43337 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
43338 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
43339 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
43340 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
43341 else \
43342 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
43343 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
43344 fi; \
43345 else \
43346 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
43347 fi; \
43348 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
43349 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
43350 $(NORMAL_TARGET_EXPORTS) \
43351 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
43352 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
43353 case $(srcdir) in \
43354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43355 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
43356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43357 esac; \
43358 module_srcdir=liboffloadmic; \
43359 rm -f no-such-file || : ; \
43360 CONFIG_SITE=no-such-file $(SHELL) \
43361 $$s/$$module_srcdir/configure \
43362 --srcdir=$${topdir}/$$module_srcdir \
43363 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43364 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
43365 || exit 1
43366 @endif target-liboffloadmic
43372 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
43373 maybe-all-target-liboffloadmic:
43374 @if gcc-bootstrap
43375 all-target-liboffloadmic: stage_current
43376 @endif gcc-bootstrap
43377 @if target-liboffloadmic
43378 TARGET-target-liboffloadmic=all
43379 maybe-all-target-liboffloadmic: all-target-liboffloadmic
43380 all-target-liboffloadmic: configure-target-liboffloadmic
43381 @: $(MAKE); $(unstage)
43382 @r=`${PWD_COMMAND}`; export r; \
43383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43384 $(NORMAL_TARGET_EXPORTS) \
43385 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43386 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43387 $(TARGET-target-liboffloadmic))
43388 @endif target-liboffloadmic
43394 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
43395 maybe-check-target-liboffloadmic:
43396 @if target-liboffloadmic
43397 maybe-check-target-liboffloadmic: check-target-liboffloadmic
43399 check-target-liboffloadmic:
43400 @: $(MAKE); $(unstage)
43401 @r=`${PWD_COMMAND}`; export r; \
43402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43403 $(NORMAL_TARGET_EXPORTS) \
43404 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43405 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43407 @endif target-liboffloadmic
43409 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
43410 maybe-install-target-liboffloadmic:
43411 @if target-liboffloadmic
43412 maybe-install-target-liboffloadmic: install-target-liboffloadmic
43414 install-target-liboffloadmic: installdirs
43415 @: $(MAKE); $(unstage)
43416 @r=`${PWD_COMMAND}`; export r; \
43417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43418 $(NORMAL_TARGET_EXPORTS) \
43419 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43420 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43422 @endif target-liboffloadmic
43424 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
43425 maybe-install-strip-target-liboffloadmic:
43426 @if target-liboffloadmic
43427 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
43429 install-strip-target-liboffloadmic: installdirs
43430 @: $(MAKE); $(unstage)
43431 @r=`${PWD_COMMAND}`; export r; \
43432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43433 $(NORMAL_TARGET_EXPORTS) \
43434 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43435 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43437 @endif target-liboffloadmic
43439 # Other targets (info, dvi, pdf, etc.)
43441 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
43442 maybe-info-target-liboffloadmic:
43443 @if target-liboffloadmic
43444 maybe-info-target-liboffloadmic: info-target-liboffloadmic
43446 info-target-liboffloadmic: \
43447 configure-target-liboffloadmic
43448 @: $(MAKE); $(unstage)
43449 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43450 r=`${PWD_COMMAND}`; export r; \
43451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43452 $(NORMAL_TARGET_EXPORTS) \
43453 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
43454 for flag in $(EXTRA_TARGET_FLAGS); do \
43455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43456 done; \
43457 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43460 "RANLIB=$${RANLIB}" \
43461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43462 info) \
43463 || exit 1
43465 @endif target-liboffloadmic
43467 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
43468 maybe-dvi-target-liboffloadmic:
43469 @if target-liboffloadmic
43470 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
43472 dvi-target-liboffloadmic: \
43473 configure-target-liboffloadmic
43474 @: $(MAKE); $(unstage)
43475 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43476 r=`${PWD_COMMAND}`; export r; \
43477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43478 $(NORMAL_TARGET_EXPORTS) \
43479 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
43480 for flag in $(EXTRA_TARGET_FLAGS); do \
43481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43482 done; \
43483 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43486 "RANLIB=$${RANLIB}" \
43487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43488 dvi) \
43489 || exit 1
43491 @endif target-liboffloadmic
43493 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
43494 maybe-pdf-target-liboffloadmic:
43495 @if target-liboffloadmic
43496 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
43498 pdf-target-liboffloadmic: \
43499 configure-target-liboffloadmic
43500 @: $(MAKE); $(unstage)
43501 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43502 r=`${PWD_COMMAND}`; export r; \
43503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43504 $(NORMAL_TARGET_EXPORTS) \
43505 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43506 for flag in $(EXTRA_TARGET_FLAGS); do \
43507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43508 done; \
43509 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43512 "RANLIB=$${RANLIB}" \
43513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43514 pdf) \
43515 || exit 1
43517 @endif target-liboffloadmic
43519 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
43520 maybe-html-target-liboffloadmic:
43521 @if target-liboffloadmic
43522 maybe-html-target-liboffloadmic: html-target-liboffloadmic
43524 html-target-liboffloadmic: \
43525 configure-target-liboffloadmic
43526 @: $(MAKE); $(unstage)
43527 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43528 r=`${PWD_COMMAND}`; export r; \
43529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43530 $(NORMAL_TARGET_EXPORTS) \
43531 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
43532 for flag in $(EXTRA_TARGET_FLAGS); do \
43533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43534 done; \
43535 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43538 "RANLIB=$${RANLIB}" \
43539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43540 html) \
43541 || exit 1
43543 @endif target-liboffloadmic
43545 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
43546 maybe-TAGS-target-liboffloadmic:
43547 @if target-liboffloadmic
43548 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
43550 TAGS-target-liboffloadmic: \
43551 configure-target-liboffloadmic
43552 @: $(MAKE); $(unstage)
43553 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43554 r=`${PWD_COMMAND}`; export r; \
43555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43556 $(NORMAL_TARGET_EXPORTS) \
43557 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
43558 for flag in $(EXTRA_TARGET_FLAGS); do \
43559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43560 done; \
43561 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43564 "RANLIB=$${RANLIB}" \
43565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43566 TAGS) \
43567 || exit 1
43569 @endif target-liboffloadmic
43571 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
43572 maybe-install-info-target-liboffloadmic:
43573 @if target-liboffloadmic
43574 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
43576 install-info-target-liboffloadmic: \
43577 configure-target-liboffloadmic \
43578 info-target-liboffloadmic
43579 @: $(MAKE); $(unstage)
43580 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43581 r=`${PWD_COMMAND}`; export r; \
43582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43583 $(NORMAL_TARGET_EXPORTS) \
43584 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
43585 for flag in $(EXTRA_TARGET_FLAGS); do \
43586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43587 done; \
43588 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43591 "RANLIB=$${RANLIB}" \
43592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43593 install-info) \
43594 || exit 1
43596 @endif target-liboffloadmic
43598 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
43599 maybe-install-pdf-target-liboffloadmic:
43600 @if target-liboffloadmic
43601 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
43603 install-pdf-target-liboffloadmic: \
43604 configure-target-liboffloadmic \
43605 pdf-target-liboffloadmic
43606 @: $(MAKE); $(unstage)
43607 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43608 r=`${PWD_COMMAND}`; export r; \
43609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43610 $(NORMAL_TARGET_EXPORTS) \
43611 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43612 for flag in $(EXTRA_TARGET_FLAGS); do \
43613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43614 done; \
43615 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43618 "RANLIB=$${RANLIB}" \
43619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43620 install-pdf) \
43621 || exit 1
43623 @endif target-liboffloadmic
43625 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
43626 maybe-install-html-target-liboffloadmic:
43627 @if target-liboffloadmic
43628 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
43630 install-html-target-liboffloadmic: \
43631 configure-target-liboffloadmic \
43632 html-target-liboffloadmic
43633 @: $(MAKE); $(unstage)
43634 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43635 r=`${PWD_COMMAND}`; export r; \
43636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43637 $(NORMAL_TARGET_EXPORTS) \
43638 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
43639 for flag in $(EXTRA_TARGET_FLAGS); do \
43640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43641 done; \
43642 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43645 "RANLIB=$${RANLIB}" \
43646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43647 install-html) \
43648 || exit 1
43650 @endif target-liboffloadmic
43652 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
43653 maybe-installcheck-target-liboffloadmic:
43654 @if target-liboffloadmic
43655 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
43657 installcheck-target-liboffloadmic: \
43658 configure-target-liboffloadmic
43659 @: $(MAKE); $(unstage)
43660 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43661 r=`${PWD_COMMAND}`; export r; \
43662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43663 $(NORMAL_TARGET_EXPORTS) \
43664 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
43665 for flag in $(EXTRA_TARGET_FLAGS); do \
43666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43667 done; \
43668 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43671 "RANLIB=$${RANLIB}" \
43672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43673 installcheck) \
43674 || exit 1
43676 @endif target-liboffloadmic
43678 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
43679 maybe-mostlyclean-target-liboffloadmic:
43680 @if target-liboffloadmic
43681 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
43683 mostlyclean-target-liboffloadmic:
43684 @: $(MAKE); $(unstage)
43685 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43686 r=`${PWD_COMMAND}`; export r; \
43687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43688 $(NORMAL_TARGET_EXPORTS) \
43689 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43690 for flag in $(EXTRA_TARGET_FLAGS); do \
43691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43692 done; \
43693 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43696 "RANLIB=$${RANLIB}" \
43697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43698 mostlyclean) \
43699 || exit 1
43701 @endif target-liboffloadmic
43703 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
43704 maybe-clean-target-liboffloadmic:
43705 @if target-liboffloadmic
43706 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
43708 clean-target-liboffloadmic:
43709 @: $(MAKE); $(unstage)
43710 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43711 r=`${PWD_COMMAND}`; export r; \
43712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43713 $(NORMAL_TARGET_EXPORTS) \
43714 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43715 for flag in $(EXTRA_TARGET_FLAGS); do \
43716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43717 done; \
43718 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43721 "RANLIB=$${RANLIB}" \
43722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43723 clean) \
43724 || exit 1
43726 @endif target-liboffloadmic
43728 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
43729 maybe-distclean-target-liboffloadmic:
43730 @if target-liboffloadmic
43731 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
43733 distclean-target-liboffloadmic:
43734 @: $(MAKE); $(unstage)
43735 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43736 r=`${PWD_COMMAND}`; export r; \
43737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43738 $(NORMAL_TARGET_EXPORTS) \
43739 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43740 for flag in $(EXTRA_TARGET_FLAGS); do \
43741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43742 done; \
43743 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43746 "RANLIB=$${RANLIB}" \
43747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43748 distclean) \
43749 || exit 1
43751 @endif target-liboffloadmic
43753 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
43754 maybe-maintainer-clean-target-liboffloadmic:
43755 @if target-liboffloadmic
43756 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
43758 maintainer-clean-target-liboffloadmic:
43759 @: $(MAKE); $(unstage)
43760 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43761 r=`${PWD_COMMAND}`; export r; \
43762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43763 $(NORMAL_TARGET_EXPORTS) \
43764 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43765 for flag in $(EXTRA_TARGET_FLAGS); do \
43766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43767 done; \
43768 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43771 "RANLIB=$${RANLIB}" \
43772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43773 maintainer-clean) \
43774 || exit 1
43776 @endif target-liboffloadmic
43782 .PHONY: configure-target-libssp maybe-configure-target-libssp
43783 maybe-configure-target-libssp:
43784 @if gcc-bootstrap
43785 configure-target-libssp: stage_current
43786 @endif gcc-bootstrap
43787 @if target-libssp
43788 maybe-configure-target-libssp: configure-target-libssp
43789 configure-target-libssp:
43790 @: $(MAKE); $(unstage)
43791 @r=`${PWD_COMMAND}`; export r; \
43792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43793 echo "Checking multilib configuration for libssp..."; \
43794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
43796 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
43797 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
43798 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
43799 else \
43800 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
43801 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43802 fi; \
43803 else \
43804 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43805 fi; \
43806 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
43807 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43808 $(NORMAL_TARGET_EXPORTS) \
43809 echo Configuring in $(TARGET_SUBDIR)/libssp; \
43810 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
43811 case $(srcdir) in \
43812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43813 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
43814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43815 esac; \
43816 module_srcdir=libssp; \
43817 rm -f no-such-file || : ; \
43818 CONFIG_SITE=no-such-file $(SHELL) \
43819 $$s/$$module_srcdir/configure \
43820 --srcdir=$${topdir}/$$module_srcdir \
43821 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43822 --target=${target_alias} \
43823 || exit 1
43824 @endif target-libssp
43830 .PHONY: all-target-libssp maybe-all-target-libssp
43831 maybe-all-target-libssp:
43832 @if gcc-bootstrap
43833 all-target-libssp: stage_current
43834 @endif gcc-bootstrap
43835 @if target-libssp
43836 TARGET-target-libssp=all
43837 maybe-all-target-libssp: all-target-libssp
43838 all-target-libssp: configure-target-libssp
43839 @: $(MAKE); $(unstage)
43840 @r=`${PWD_COMMAND}`; export r; \
43841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43842 $(NORMAL_TARGET_EXPORTS) \
43843 (cd $(TARGET_SUBDIR)/libssp && \
43844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43845 $(TARGET-target-libssp))
43846 @endif target-libssp
43852 .PHONY: check-target-libssp maybe-check-target-libssp
43853 maybe-check-target-libssp:
43854 @if target-libssp
43855 maybe-check-target-libssp: check-target-libssp
43857 check-target-libssp:
43858 @: $(MAKE); $(unstage)
43859 @r=`${PWD_COMMAND}`; export r; \
43860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43861 $(NORMAL_TARGET_EXPORTS) \
43862 (cd $(TARGET_SUBDIR)/libssp && \
43863 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43865 @endif target-libssp
43867 .PHONY: install-target-libssp maybe-install-target-libssp
43868 maybe-install-target-libssp:
43869 @if target-libssp
43870 maybe-install-target-libssp: install-target-libssp
43872 install-target-libssp: installdirs
43873 @: $(MAKE); $(unstage)
43874 @r=`${PWD_COMMAND}`; export r; \
43875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43876 $(NORMAL_TARGET_EXPORTS) \
43877 (cd $(TARGET_SUBDIR)/libssp && \
43878 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43880 @endif target-libssp
43882 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
43883 maybe-install-strip-target-libssp:
43884 @if target-libssp
43885 maybe-install-strip-target-libssp: install-strip-target-libssp
43887 install-strip-target-libssp: installdirs
43888 @: $(MAKE); $(unstage)
43889 @r=`${PWD_COMMAND}`; export r; \
43890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43891 $(NORMAL_TARGET_EXPORTS) \
43892 (cd $(TARGET_SUBDIR)/libssp && \
43893 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43895 @endif target-libssp
43897 # Other targets (info, dvi, pdf, etc.)
43899 .PHONY: maybe-info-target-libssp info-target-libssp
43900 maybe-info-target-libssp:
43901 @if target-libssp
43902 maybe-info-target-libssp: info-target-libssp
43904 info-target-libssp: \
43905 configure-target-libssp
43906 @: $(MAKE); $(unstage)
43907 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43908 r=`${PWD_COMMAND}`; export r; \
43909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43910 $(NORMAL_TARGET_EXPORTS) \
43911 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
43912 for flag in $(EXTRA_TARGET_FLAGS); do \
43913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43914 done; \
43915 (cd $(TARGET_SUBDIR)/libssp && \
43916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43918 "RANLIB=$${RANLIB}" \
43919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43920 info) \
43921 || exit 1
43923 @endif target-libssp
43925 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
43926 maybe-dvi-target-libssp:
43927 @if target-libssp
43928 maybe-dvi-target-libssp: dvi-target-libssp
43930 dvi-target-libssp: \
43931 configure-target-libssp
43932 @: $(MAKE); $(unstage)
43933 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43934 r=`${PWD_COMMAND}`; export r; \
43935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43936 $(NORMAL_TARGET_EXPORTS) \
43937 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
43938 for flag in $(EXTRA_TARGET_FLAGS); do \
43939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43940 done; \
43941 (cd $(TARGET_SUBDIR)/libssp && \
43942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43944 "RANLIB=$${RANLIB}" \
43945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43946 dvi) \
43947 || exit 1
43949 @endif target-libssp
43951 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
43952 maybe-pdf-target-libssp:
43953 @if target-libssp
43954 maybe-pdf-target-libssp: pdf-target-libssp
43956 pdf-target-libssp: \
43957 configure-target-libssp
43958 @: $(MAKE); $(unstage)
43959 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43960 r=`${PWD_COMMAND}`; export r; \
43961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43962 $(NORMAL_TARGET_EXPORTS) \
43963 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
43964 for flag in $(EXTRA_TARGET_FLAGS); do \
43965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43966 done; \
43967 (cd $(TARGET_SUBDIR)/libssp && \
43968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43970 "RANLIB=$${RANLIB}" \
43971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43972 pdf) \
43973 || exit 1
43975 @endif target-libssp
43977 .PHONY: maybe-html-target-libssp html-target-libssp
43978 maybe-html-target-libssp:
43979 @if target-libssp
43980 maybe-html-target-libssp: html-target-libssp
43982 html-target-libssp: \
43983 configure-target-libssp
43984 @: $(MAKE); $(unstage)
43985 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
43986 r=`${PWD_COMMAND}`; export r; \
43987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43988 $(NORMAL_TARGET_EXPORTS) \
43989 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
43990 for flag in $(EXTRA_TARGET_FLAGS); do \
43991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43992 done; \
43993 (cd $(TARGET_SUBDIR)/libssp && \
43994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43996 "RANLIB=$${RANLIB}" \
43997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43998 html) \
43999 || exit 1
44001 @endif target-libssp
44003 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
44004 maybe-TAGS-target-libssp:
44005 @if target-libssp
44006 maybe-TAGS-target-libssp: TAGS-target-libssp
44008 TAGS-target-libssp: \
44009 configure-target-libssp
44010 @: $(MAKE); $(unstage)
44011 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44012 r=`${PWD_COMMAND}`; export r; \
44013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44014 $(NORMAL_TARGET_EXPORTS) \
44015 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
44016 for flag in $(EXTRA_TARGET_FLAGS); do \
44017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44018 done; \
44019 (cd $(TARGET_SUBDIR)/libssp && \
44020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44022 "RANLIB=$${RANLIB}" \
44023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44024 TAGS) \
44025 || exit 1
44027 @endif target-libssp
44029 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
44030 maybe-install-info-target-libssp:
44031 @if target-libssp
44032 maybe-install-info-target-libssp: install-info-target-libssp
44034 install-info-target-libssp: \
44035 configure-target-libssp \
44036 info-target-libssp
44037 @: $(MAKE); $(unstage)
44038 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44039 r=`${PWD_COMMAND}`; export r; \
44040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44041 $(NORMAL_TARGET_EXPORTS) \
44042 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
44043 for flag in $(EXTRA_TARGET_FLAGS); do \
44044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44045 done; \
44046 (cd $(TARGET_SUBDIR)/libssp && \
44047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44049 "RANLIB=$${RANLIB}" \
44050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44051 install-info) \
44052 || exit 1
44054 @endif target-libssp
44056 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
44057 maybe-install-pdf-target-libssp:
44058 @if target-libssp
44059 maybe-install-pdf-target-libssp: install-pdf-target-libssp
44061 install-pdf-target-libssp: \
44062 configure-target-libssp \
44063 pdf-target-libssp
44064 @: $(MAKE); $(unstage)
44065 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44066 r=`${PWD_COMMAND}`; export r; \
44067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44068 $(NORMAL_TARGET_EXPORTS) \
44069 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
44070 for flag in $(EXTRA_TARGET_FLAGS); do \
44071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44072 done; \
44073 (cd $(TARGET_SUBDIR)/libssp && \
44074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44076 "RANLIB=$${RANLIB}" \
44077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44078 install-pdf) \
44079 || exit 1
44081 @endif target-libssp
44083 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
44084 maybe-install-html-target-libssp:
44085 @if target-libssp
44086 maybe-install-html-target-libssp: install-html-target-libssp
44088 install-html-target-libssp: \
44089 configure-target-libssp \
44090 html-target-libssp
44091 @: $(MAKE); $(unstage)
44092 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44093 r=`${PWD_COMMAND}`; export r; \
44094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44095 $(NORMAL_TARGET_EXPORTS) \
44096 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
44097 for flag in $(EXTRA_TARGET_FLAGS); do \
44098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44099 done; \
44100 (cd $(TARGET_SUBDIR)/libssp && \
44101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44103 "RANLIB=$${RANLIB}" \
44104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44105 install-html) \
44106 || exit 1
44108 @endif target-libssp
44110 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
44111 maybe-installcheck-target-libssp:
44112 @if target-libssp
44113 maybe-installcheck-target-libssp: installcheck-target-libssp
44115 installcheck-target-libssp: \
44116 configure-target-libssp
44117 @: $(MAKE); $(unstage)
44118 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44119 r=`${PWD_COMMAND}`; export r; \
44120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44121 $(NORMAL_TARGET_EXPORTS) \
44122 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
44123 for flag in $(EXTRA_TARGET_FLAGS); do \
44124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44125 done; \
44126 (cd $(TARGET_SUBDIR)/libssp && \
44127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44129 "RANLIB=$${RANLIB}" \
44130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44131 installcheck) \
44132 || exit 1
44134 @endif target-libssp
44136 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
44137 maybe-mostlyclean-target-libssp:
44138 @if target-libssp
44139 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
44141 mostlyclean-target-libssp:
44142 @: $(MAKE); $(unstage)
44143 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44144 r=`${PWD_COMMAND}`; export r; \
44145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44146 $(NORMAL_TARGET_EXPORTS) \
44147 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
44148 for flag in $(EXTRA_TARGET_FLAGS); do \
44149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44150 done; \
44151 (cd $(TARGET_SUBDIR)/libssp && \
44152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44154 "RANLIB=$${RANLIB}" \
44155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44156 mostlyclean) \
44157 || exit 1
44159 @endif target-libssp
44161 .PHONY: maybe-clean-target-libssp clean-target-libssp
44162 maybe-clean-target-libssp:
44163 @if target-libssp
44164 maybe-clean-target-libssp: clean-target-libssp
44166 clean-target-libssp:
44167 @: $(MAKE); $(unstage)
44168 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44169 r=`${PWD_COMMAND}`; export r; \
44170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44171 $(NORMAL_TARGET_EXPORTS) \
44172 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
44173 for flag in $(EXTRA_TARGET_FLAGS); do \
44174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44175 done; \
44176 (cd $(TARGET_SUBDIR)/libssp && \
44177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44179 "RANLIB=$${RANLIB}" \
44180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44181 clean) \
44182 || exit 1
44184 @endif target-libssp
44186 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
44187 maybe-distclean-target-libssp:
44188 @if target-libssp
44189 maybe-distclean-target-libssp: distclean-target-libssp
44191 distclean-target-libssp:
44192 @: $(MAKE); $(unstage)
44193 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44194 r=`${PWD_COMMAND}`; export r; \
44195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44196 $(NORMAL_TARGET_EXPORTS) \
44197 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
44198 for flag in $(EXTRA_TARGET_FLAGS); do \
44199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44200 done; \
44201 (cd $(TARGET_SUBDIR)/libssp && \
44202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44204 "RANLIB=$${RANLIB}" \
44205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44206 distclean) \
44207 || exit 1
44209 @endif target-libssp
44211 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
44212 maybe-maintainer-clean-target-libssp:
44213 @if target-libssp
44214 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
44216 maintainer-clean-target-libssp:
44217 @: $(MAKE); $(unstage)
44218 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44219 r=`${PWD_COMMAND}`; export r; \
44220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44221 $(NORMAL_TARGET_EXPORTS) \
44222 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
44223 for flag in $(EXTRA_TARGET_FLAGS); do \
44224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44225 done; \
44226 (cd $(TARGET_SUBDIR)/libssp && \
44227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44229 "RANLIB=$${RANLIB}" \
44230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44231 maintainer-clean) \
44232 || exit 1
44234 @endif target-libssp
44240 .PHONY: configure-target-newlib maybe-configure-target-newlib
44241 maybe-configure-target-newlib:
44242 @if gcc-bootstrap
44243 configure-target-newlib: stage_current
44244 @endif gcc-bootstrap
44245 @if target-newlib
44246 maybe-configure-target-newlib: configure-target-newlib
44247 configure-target-newlib:
44248 @: $(MAKE); $(unstage)
44249 @r=`${PWD_COMMAND}`; export r; \
44250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44251 echo "Checking multilib configuration for newlib..."; \
44252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
44253 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
44254 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
44255 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
44256 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
44257 else \
44258 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
44259 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44260 fi; \
44261 else \
44262 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44263 fi; \
44264 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
44265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
44266 $(NORMAL_TARGET_EXPORTS) \
44267 echo Configuring in $(TARGET_SUBDIR)/newlib; \
44268 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
44269 case $(srcdir) in \
44270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44271 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
44272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44273 esac; \
44274 module_srcdir=newlib; \
44275 rm -f no-such-file || : ; \
44276 CONFIG_SITE=no-such-file $(SHELL) \
44277 $$s/$$module_srcdir/configure \
44278 --srcdir=$${topdir}/$$module_srcdir \
44279 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44280 --target=${target_alias} \
44281 || exit 1
44282 @endif target-newlib
44288 .PHONY: all-target-newlib maybe-all-target-newlib
44289 maybe-all-target-newlib:
44290 @if gcc-bootstrap
44291 all-target-newlib: stage_current
44292 @endif gcc-bootstrap
44293 @if target-newlib
44294 TARGET-target-newlib=all
44295 maybe-all-target-newlib: all-target-newlib
44296 all-target-newlib: configure-target-newlib
44297 @: $(MAKE); $(unstage)
44298 @r=`${PWD_COMMAND}`; export r; \
44299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44300 $(NORMAL_TARGET_EXPORTS) \
44301 (cd $(TARGET_SUBDIR)/newlib && \
44302 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44303 $(TARGET-target-newlib))
44304 @endif target-newlib
44310 .PHONY: check-target-newlib maybe-check-target-newlib
44311 maybe-check-target-newlib:
44312 @if target-newlib
44313 maybe-check-target-newlib: check-target-newlib
44315 check-target-newlib:
44316 @: $(MAKE); $(unstage)
44317 @r=`${PWD_COMMAND}`; export r; \
44318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44319 $(NORMAL_TARGET_EXPORTS) \
44320 (cd $(TARGET_SUBDIR)/newlib && \
44321 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44323 @endif target-newlib
44325 .PHONY: install-target-newlib maybe-install-target-newlib
44326 maybe-install-target-newlib:
44327 @if target-newlib
44328 maybe-install-target-newlib: install-target-newlib
44330 install-target-newlib: installdirs
44331 @: $(MAKE); $(unstage)
44332 @r=`${PWD_COMMAND}`; export r; \
44333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44334 $(NORMAL_TARGET_EXPORTS) \
44335 (cd $(TARGET_SUBDIR)/newlib && \
44336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44338 @endif target-newlib
44340 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
44341 maybe-install-strip-target-newlib:
44342 @if target-newlib
44343 maybe-install-strip-target-newlib: install-strip-target-newlib
44345 install-strip-target-newlib: installdirs
44346 @: $(MAKE); $(unstage)
44347 @r=`${PWD_COMMAND}`; export r; \
44348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44349 $(NORMAL_TARGET_EXPORTS) \
44350 (cd $(TARGET_SUBDIR)/newlib && \
44351 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44353 @endif target-newlib
44355 # Other targets (info, dvi, pdf, etc.)
44357 .PHONY: maybe-info-target-newlib info-target-newlib
44358 maybe-info-target-newlib:
44359 @if target-newlib
44360 maybe-info-target-newlib: info-target-newlib
44362 info-target-newlib: \
44363 configure-target-newlib
44364 @: $(MAKE); $(unstage)
44365 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44366 r=`${PWD_COMMAND}`; export r; \
44367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44368 $(NORMAL_TARGET_EXPORTS) \
44369 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
44370 for flag in $(EXTRA_TARGET_FLAGS); do \
44371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44372 done; \
44373 (cd $(TARGET_SUBDIR)/newlib && \
44374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44376 "RANLIB=$${RANLIB}" \
44377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44378 info) \
44379 || exit 1
44381 @endif target-newlib
44383 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
44384 maybe-dvi-target-newlib:
44385 @if target-newlib
44386 maybe-dvi-target-newlib: dvi-target-newlib
44388 dvi-target-newlib: \
44389 configure-target-newlib
44390 @: $(MAKE); $(unstage)
44391 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44392 r=`${PWD_COMMAND}`; export r; \
44393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44394 $(NORMAL_TARGET_EXPORTS) \
44395 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
44396 for flag in $(EXTRA_TARGET_FLAGS); do \
44397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44398 done; \
44399 (cd $(TARGET_SUBDIR)/newlib && \
44400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44402 "RANLIB=$${RANLIB}" \
44403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44404 dvi) \
44405 || exit 1
44407 @endif target-newlib
44409 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
44410 maybe-pdf-target-newlib:
44411 @if target-newlib
44412 maybe-pdf-target-newlib: pdf-target-newlib
44414 pdf-target-newlib: \
44415 configure-target-newlib
44416 @: $(MAKE); $(unstage)
44417 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44418 r=`${PWD_COMMAND}`; export r; \
44419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44420 $(NORMAL_TARGET_EXPORTS) \
44421 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
44422 for flag in $(EXTRA_TARGET_FLAGS); do \
44423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44424 done; \
44425 (cd $(TARGET_SUBDIR)/newlib && \
44426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44428 "RANLIB=$${RANLIB}" \
44429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44430 pdf) \
44431 || exit 1
44433 @endif target-newlib
44435 .PHONY: maybe-html-target-newlib html-target-newlib
44436 maybe-html-target-newlib:
44437 @if target-newlib
44438 maybe-html-target-newlib: html-target-newlib
44440 html-target-newlib: \
44441 configure-target-newlib
44442 @: $(MAKE); $(unstage)
44443 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44444 r=`${PWD_COMMAND}`; export r; \
44445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44446 $(NORMAL_TARGET_EXPORTS) \
44447 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
44448 for flag in $(EXTRA_TARGET_FLAGS); do \
44449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44450 done; \
44451 (cd $(TARGET_SUBDIR)/newlib && \
44452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44454 "RANLIB=$${RANLIB}" \
44455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44456 html) \
44457 || exit 1
44459 @endif target-newlib
44461 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
44462 maybe-TAGS-target-newlib:
44463 @if target-newlib
44464 maybe-TAGS-target-newlib: TAGS-target-newlib
44466 TAGS-target-newlib: \
44467 configure-target-newlib
44468 @: $(MAKE); $(unstage)
44469 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44470 r=`${PWD_COMMAND}`; export r; \
44471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44472 $(NORMAL_TARGET_EXPORTS) \
44473 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
44474 for flag in $(EXTRA_TARGET_FLAGS); do \
44475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44476 done; \
44477 (cd $(TARGET_SUBDIR)/newlib && \
44478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44480 "RANLIB=$${RANLIB}" \
44481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44482 TAGS) \
44483 || exit 1
44485 @endif target-newlib
44487 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
44488 maybe-install-info-target-newlib:
44489 @if target-newlib
44490 maybe-install-info-target-newlib: install-info-target-newlib
44492 install-info-target-newlib: \
44493 configure-target-newlib \
44494 info-target-newlib
44495 @: $(MAKE); $(unstage)
44496 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44497 r=`${PWD_COMMAND}`; export r; \
44498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44499 $(NORMAL_TARGET_EXPORTS) \
44500 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
44501 for flag in $(EXTRA_TARGET_FLAGS); do \
44502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44503 done; \
44504 (cd $(TARGET_SUBDIR)/newlib && \
44505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44507 "RANLIB=$${RANLIB}" \
44508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44509 install-info) \
44510 || exit 1
44512 @endif target-newlib
44514 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
44515 maybe-install-pdf-target-newlib:
44516 @if target-newlib
44517 maybe-install-pdf-target-newlib: install-pdf-target-newlib
44519 install-pdf-target-newlib: \
44520 configure-target-newlib \
44521 pdf-target-newlib
44522 @: $(MAKE); $(unstage)
44523 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44524 r=`${PWD_COMMAND}`; export r; \
44525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44526 $(NORMAL_TARGET_EXPORTS) \
44527 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
44528 for flag in $(EXTRA_TARGET_FLAGS); do \
44529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44530 done; \
44531 (cd $(TARGET_SUBDIR)/newlib && \
44532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44534 "RANLIB=$${RANLIB}" \
44535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44536 install-pdf) \
44537 || exit 1
44539 @endif target-newlib
44541 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
44542 maybe-install-html-target-newlib:
44543 @if target-newlib
44544 maybe-install-html-target-newlib: install-html-target-newlib
44546 install-html-target-newlib: \
44547 configure-target-newlib \
44548 html-target-newlib
44549 @: $(MAKE); $(unstage)
44550 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44551 r=`${PWD_COMMAND}`; export r; \
44552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44553 $(NORMAL_TARGET_EXPORTS) \
44554 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
44555 for flag in $(EXTRA_TARGET_FLAGS); do \
44556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44557 done; \
44558 (cd $(TARGET_SUBDIR)/newlib && \
44559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44561 "RANLIB=$${RANLIB}" \
44562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44563 install-html) \
44564 || exit 1
44566 @endif target-newlib
44568 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
44569 maybe-installcheck-target-newlib:
44570 @if target-newlib
44571 maybe-installcheck-target-newlib: installcheck-target-newlib
44573 installcheck-target-newlib: \
44574 configure-target-newlib
44575 @: $(MAKE); $(unstage)
44576 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44577 r=`${PWD_COMMAND}`; export r; \
44578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44579 $(NORMAL_TARGET_EXPORTS) \
44580 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
44581 for flag in $(EXTRA_TARGET_FLAGS); do \
44582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44583 done; \
44584 (cd $(TARGET_SUBDIR)/newlib && \
44585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44587 "RANLIB=$${RANLIB}" \
44588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44589 installcheck) \
44590 || exit 1
44592 @endif target-newlib
44594 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
44595 maybe-mostlyclean-target-newlib:
44596 @if target-newlib
44597 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
44599 mostlyclean-target-newlib:
44600 @: $(MAKE); $(unstage)
44601 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44602 r=`${PWD_COMMAND}`; export r; \
44603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44604 $(NORMAL_TARGET_EXPORTS) \
44605 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
44606 for flag in $(EXTRA_TARGET_FLAGS); do \
44607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44608 done; \
44609 (cd $(TARGET_SUBDIR)/newlib && \
44610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44612 "RANLIB=$${RANLIB}" \
44613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44614 mostlyclean) \
44615 || exit 1
44617 @endif target-newlib
44619 .PHONY: maybe-clean-target-newlib clean-target-newlib
44620 maybe-clean-target-newlib:
44621 @if target-newlib
44622 maybe-clean-target-newlib: clean-target-newlib
44624 clean-target-newlib:
44625 @: $(MAKE); $(unstage)
44626 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44627 r=`${PWD_COMMAND}`; export r; \
44628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44629 $(NORMAL_TARGET_EXPORTS) \
44630 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
44631 for flag in $(EXTRA_TARGET_FLAGS); do \
44632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44633 done; \
44634 (cd $(TARGET_SUBDIR)/newlib && \
44635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44637 "RANLIB=$${RANLIB}" \
44638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44639 clean) \
44640 || exit 1
44642 @endif target-newlib
44644 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
44645 maybe-distclean-target-newlib:
44646 @if target-newlib
44647 maybe-distclean-target-newlib: distclean-target-newlib
44649 distclean-target-newlib:
44650 @: $(MAKE); $(unstage)
44651 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44652 r=`${PWD_COMMAND}`; export r; \
44653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44654 $(NORMAL_TARGET_EXPORTS) \
44655 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
44656 for flag in $(EXTRA_TARGET_FLAGS); do \
44657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44658 done; \
44659 (cd $(TARGET_SUBDIR)/newlib && \
44660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44662 "RANLIB=$${RANLIB}" \
44663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44664 distclean) \
44665 || exit 1
44667 @endif target-newlib
44669 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
44670 maybe-maintainer-clean-target-newlib:
44671 @if target-newlib
44672 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
44674 maintainer-clean-target-newlib:
44675 @: $(MAKE); $(unstage)
44676 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44677 r=`${PWD_COMMAND}`; export r; \
44678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44679 $(NORMAL_TARGET_EXPORTS) \
44680 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
44681 for flag in $(EXTRA_TARGET_FLAGS); do \
44682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44683 done; \
44684 (cd $(TARGET_SUBDIR)/newlib && \
44685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44687 "RANLIB=$${RANLIB}" \
44688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44689 maintainer-clean) \
44690 || exit 1
44692 @endif target-newlib
44698 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
44699 maybe-configure-target-libgcc:
44700 @if gcc-bootstrap
44701 configure-target-libgcc: stage_current
44702 @endif gcc-bootstrap
44703 @if target-libgcc
44704 maybe-configure-target-libgcc: configure-target-libgcc
44705 configure-target-libgcc:
44706 @r=`${PWD_COMMAND}`; export r; \
44707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44708 echo "Checking multilib configuration for libgcc..."; \
44709 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44710 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44711 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44712 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44713 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44714 else \
44715 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44716 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44717 fi; \
44718 else \
44719 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44720 fi; \
44721 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44722 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44723 $(NORMAL_TARGET_EXPORTS) \
44724 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
44725 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
44726 case $(srcdir) in \
44727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44728 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44730 esac; \
44731 module_srcdir=libgcc; \
44732 rm -f no-such-file || : ; \
44733 CONFIG_SITE=no-such-file $(SHELL) \
44734 $$s/$$module_srcdir/configure \
44735 --srcdir=$${topdir}/$$module_srcdir \
44736 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44737 --target=${target_alias} \
44738 || exit 1
44739 @endif target-libgcc
44743 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
44744 maybe-configure-stage1-target-libgcc:
44745 @if target-libgcc-bootstrap
44746 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
44747 configure-stage1-target-libgcc:
44748 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44749 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44750 @r=`${PWD_COMMAND}`; export r; \
44751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44752 TFLAGS="$(STAGE1_TFLAGS)"; \
44753 echo "Checking multilib configuration for libgcc..."; \
44754 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44755 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44756 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44757 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44758 else \
44759 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44760 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44761 fi; \
44762 else \
44763 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44764 fi; \
44765 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44766 $(NORMAL_TARGET_EXPORTS) \
44767 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44768 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44769 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44770 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
44771 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44772 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44773 case $(srcdir) in \
44774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44775 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44777 esac; \
44778 module_srcdir=libgcc; \
44779 $(SHELL) $$s/$$module_srcdir/configure \
44780 --srcdir=$${topdir}/$$module_srcdir \
44781 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44782 --target=${target_alias} \
44784 $(STAGE1_CONFIGURE_FLAGS)
44785 @endif target-libgcc-bootstrap
44787 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
44788 maybe-configure-stage2-target-libgcc:
44789 @if target-libgcc-bootstrap
44790 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
44791 configure-stage2-target-libgcc:
44792 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44793 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44794 @r=`${PWD_COMMAND}`; export r; \
44795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44796 TFLAGS="$(STAGE2_TFLAGS)"; \
44797 echo "Checking multilib configuration for libgcc..."; \
44798 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44799 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44800 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44801 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44802 else \
44803 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44804 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44805 fi; \
44806 else \
44807 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44808 fi; \
44809 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44810 $(NORMAL_TARGET_EXPORTS) \
44812 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44813 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44814 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44815 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
44816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44817 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44818 case $(srcdir) in \
44819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44820 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44822 esac; \
44823 module_srcdir=libgcc; \
44824 $(SHELL) $$s/$$module_srcdir/configure \
44825 --srcdir=$${topdir}/$$module_srcdir \
44826 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44827 --target=${target_alias} \
44828 --with-build-libsubdir=$(HOST_SUBDIR) \
44829 $(STAGE2_CONFIGURE_FLAGS)
44830 @endif target-libgcc-bootstrap
44832 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
44833 maybe-configure-stage3-target-libgcc:
44834 @if target-libgcc-bootstrap
44835 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
44836 configure-stage3-target-libgcc:
44837 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44838 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44839 @r=`${PWD_COMMAND}`; export r; \
44840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44841 TFLAGS="$(STAGE3_TFLAGS)"; \
44842 echo "Checking multilib configuration for libgcc..."; \
44843 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44844 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44845 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44846 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44847 else \
44848 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44849 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44850 fi; \
44851 else \
44852 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44853 fi; \
44854 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44855 $(NORMAL_TARGET_EXPORTS) \
44857 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44858 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44859 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44860 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
44861 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44862 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44863 case $(srcdir) in \
44864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44865 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44867 esac; \
44868 module_srcdir=libgcc; \
44869 $(SHELL) $$s/$$module_srcdir/configure \
44870 --srcdir=$${topdir}/$$module_srcdir \
44871 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44872 --target=${target_alias} \
44873 --with-build-libsubdir=$(HOST_SUBDIR) \
44874 $(STAGE3_CONFIGURE_FLAGS)
44875 @endif target-libgcc-bootstrap
44877 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
44878 maybe-configure-stage4-target-libgcc:
44879 @if target-libgcc-bootstrap
44880 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
44881 configure-stage4-target-libgcc:
44882 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44883 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44884 @r=`${PWD_COMMAND}`; export r; \
44885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44886 TFLAGS="$(STAGE4_TFLAGS)"; \
44887 echo "Checking multilib configuration for libgcc..."; \
44888 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44889 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44890 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44891 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44892 else \
44893 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44894 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44895 fi; \
44896 else \
44897 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44898 fi; \
44899 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44900 $(NORMAL_TARGET_EXPORTS) \
44902 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44903 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44904 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44905 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
44906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44907 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44908 case $(srcdir) in \
44909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44910 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44912 esac; \
44913 module_srcdir=libgcc; \
44914 $(SHELL) $$s/$$module_srcdir/configure \
44915 --srcdir=$${topdir}/$$module_srcdir \
44916 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44917 --target=${target_alias} \
44918 --with-build-libsubdir=$(HOST_SUBDIR) \
44919 $(STAGE4_CONFIGURE_FLAGS)
44920 @endif target-libgcc-bootstrap
44922 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
44923 maybe-configure-stageprofile-target-libgcc:
44924 @if target-libgcc-bootstrap
44925 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
44926 configure-stageprofile-target-libgcc:
44927 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44928 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44929 @r=`${PWD_COMMAND}`; export r; \
44930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44931 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44932 echo "Checking multilib configuration for libgcc..."; \
44933 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44934 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44935 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44936 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44937 else \
44938 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44939 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44940 fi; \
44941 else \
44942 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44943 fi; \
44944 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44945 $(NORMAL_TARGET_EXPORTS) \
44947 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44948 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44949 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44950 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
44951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44952 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44953 case $(srcdir) in \
44954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44955 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44957 esac; \
44958 module_srcdir=libgcc; \
44959 $(SHELL) $$s/$$module_srcdir/configure \
44960 --srcdir=$${topdir}/$$module_srcdir \
44961 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44962 --target=${target_alias} \
44963 --with-build-libsubdir=$(HOST_SUBDIR) \
44964 $(STAGEprofile_CONFIGURE_FLAGS)
44965 @endif target-libgcc-bootstrap
44967 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
44968 maybe-configure-stagetrain-target-libgcc:
44969 @if target-libgcc-bootstrap
44970 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
44971 configure-stagetrain-target-libgcc:
44972 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44973 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44974 @r=`${PWD_COMMAND}`; export r; \
44975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44976 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44977 echo "Checking multilib configuration for libgcc..."; \
44978 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44979 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44980 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44981 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44982 else \
44983 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44984 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44985 fi; \
44986 else \
44987 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44988 fi; \
44989 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44990 $(NORMAL_TARGET_EXPORTS) \
44992 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44993 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44994 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44995 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
44996 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44997 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44998 case $(srcdir) in \
44999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45000 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45002 esac; \
45003 module_srcdir=libgcc; \
45004 $(SHELL) $$s/$$module_srcdir/configure \
45005 --srcdir=$${topdir}/$$module_srcdir \
45006 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45007 --target=${target_alias} \
45008 --with-build-libsubdir=$(HOST_SUBDIR) \
45009 $(STAGEtrain_CONFIGURE_FLAGS)
45010 @endif target-libgcc-bootstrap
45012 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
45013 maybe-configure-stagefeedback-target-libgcc:
45014 @if target-libgcc-bootstrap
45015 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45016 configure-stagefeedback-target-libgcc:
45017 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45018 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45019 @r=`${PWD_COMMAND}`; export r; \
45020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45021 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45022 echo "Checking multilib configuration for libgcc..."; \
45023 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45024 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45025 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45026 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45027 else \
45028 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45029 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45030 fi; \
45031 else \
45032 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45033 fi; \
45034 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45035 $(NORMAL_TARGET_EXPORTS) \
45037 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45038 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45039 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45040 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
45041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45042 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45043 case $(srcdir) in \
45044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45045 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45047 esac; \
45048 module_srcdir=libgcc; \
45049 $(SHELL) $$s/$$module_srcdir/configure \
45050 --srcdir=$${topdir}/$$module_srcdir \
45051 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45052 --target=${target_alias} \
45053 --with-build-libsubdir=$(HOST_SUBDIR) \
45054 $(STAGEfeedback_CONFIGURE_FLAGS)
45055 @endif target-libgcc-bootstrap
45057 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
45058 maybe-configure-stageautoprofile-target-libgcc:
45059 @if target-libgcc-bootstrap
45060 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45061 configure-stageautoprofile-target-libgcc:
45062 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45063 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45064 @r=`${PWD_COMMAND}`; export r; \
45065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45066 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45067 echo "Checking multilib configuration for libgcc..."; \
45068 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45069 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45070 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45071 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45072 else \
45073 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45074 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45075 fi; \
45076 else \
45077 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45078 fi; \
45079 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45080 $(NORMAL_TARGET_EXPORTS) \
45082 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45083 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45084 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45085 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
45086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45087 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45088 case $(srcdir) in \
45089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45090 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45092 esac; \
45093 module_srcdir=libgcc; \
45094 $(SHELL) $$s/$$module_srcdir/configure \
45095 --srcdir=$${topdir}/$$module_srcdir \
45096 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45097 --target=${target_alias} \
45098 --with-build-libsubdir=$(HOST_SUBDIR) \
45099 $(STAGEautoprofile_CONFIGURE_FLAGS)
45100 @endif target-libgcc-bootstrap
45102 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
45103 maybe-configure-stageautofeedback-target-libgcc:
45104 @if target-libgcc-bootstrap
45105 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45106 configure-stageautofeedback-target-libgcc:
45107 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45108 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45109 @r=`${PWD_COMMAND}`; export r; \
45110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45111 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45112 echo "Checking multilib configuration for libgcc..."; \
45113 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45114 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45115 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45116 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45117 else \
45118 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45119 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45120 fi; \
45121 else \
45122 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45123 fi; \
45124 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45125 $(NORMAL_TARGET_EXPORTS) \
45127 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45128 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45129 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45130 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
45131 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45132 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45133 case $(srcdir) in \
45134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45135 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45137 esac; \
45138 module_srcdir=libgcc; \
45139 $(SHELL) $$s/$$module_srcdir/configure \
45140 --srcdir=$${topdir}/$$module_srcdir \
45141 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45142 --target=${target_alias} \
45143 --with-build-libsubdir=$(HOST_SUBDIR) \
45144 $(STAGEautofeedback_CONFIGURE_FLAGS)
45145 @endif target-libgcc-bootstrap
45151 .PHONY: all-target-libgcc maybe-all-target-libgcc
45152 maybe-all-target-libgcc:
45153 @if gcc-bootstrap
45154 all-target-libgcc: stage_current
45155 @endif gcc-bootstrap
45156 @if target-libgcc
45157 TARGET-target-libgcc=all
45158 maybe-all-target-libgcc: all-target-libgcc
45159 all-target-libgcc: configure-target-libgcc
45160 @r=`${PWD_COMMAND}`; export r; \
45161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45162 $(NORMAL_TARGET_EXPORTS) \
45163 (cd $(TARGET_SUBDIR)/libgcc && \
45164 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45165 $(TARGET-target-libgcc))
45166 @endif target-libgcc
45170 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
45171 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
45172 maybe-all-stage1-target-libgcc:
45173 maybe-clean-stage1-target-libgcc:
45174 @if target-libgcc-bootstrap
45175 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
45176 all-stage1: all-stage1-target-libgcc
45177 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
45178 all-stage1-target-libgcc: configure-stage1-target-libgcc
45179 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45180 @r=`${PWD_COMMAND}`; export r; \
45181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45182 TFLAGS="$(STAGE1_TFLAGS)"; \
45183 $(NORMAL_TARGET_EXPORTS) \
45184 cd $(TARGET_SUBDIR)/libgcc && \
45186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45187 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45188 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45189 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45193 $(EXTRA_TARGET_FLAGS) \
45195 TFLAGS="$(STAGE1_TFLAGS)" \
45196 $(TARGET-stage1-target-libgcc)
45198 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
45199 clean-stage1: clean-stage1-target-libgcc
45200 clean-stage1-target-libgcc:
45201 @if [ $(current_stage) = stage1 ]; then \
45202 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45203 else \
45204 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
45205 $(MAKE) stage1-start; \
45206 fi; \
45207 cd $(TARGET_SUBDIR)/libgcc && \
45208 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45209 clean
45210 @endif target-libgcc-bootstrap
45213 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
45214 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
45215 maybe-all-stage2-target-libgcc:
45216 maybe-clean-stage2-target-libgcc:
45217 @if target-libgcc-bootstrap
45218 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
45219 all-stage2: all-stage2-target-libgcc
45220 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
45221 all-stage2-target-libgcc: configure-stage2-target-libgcc
45222 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45223 @r=`${PWD_COMMAND}`; export r; \
45224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45225 TFLAGS="$(STAGE2_TFLAGS)"; \
45226 $(NORMAL_TARGET_EXPORTS) \
45228 cd $(TARGET_SUBDIR)/libgcc && \
45230 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45231 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45232 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45233 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45237 $(EXTRA_TARGET_FLAGS) \
45238 TFLAGS="$(STAGE2_TFLAGS)" \
45239 $(TARGET-stage2-target-libgcc)
45241 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
45242 clean-stage2: clean-stage2-target-libgcc
45243 clean-stage2-target-libgcc:
45244 @if [ $(current_stage) = stage2 ]; then \
45245 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45246 else \
45247 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
45248 $(MAKE) stage2-start; \
45249 fi; \
45250 cd $(TARGET_SUBDIR)/libgcc && \
45251 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45252 @endif target-libgcc-bootstrap
45255 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
45256 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
45257 maybe-all-stage3-target-libgcc:
45258 maybe-clean-stage3-target-libgcc:
45259 @if target-libgcc-bootstrap
45260 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
45261 all-stage3: all-stage3-target-libgcc
45262 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
45263 all-stage3-target-libgcc: configure-stage3-target-libgcc
45264 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45265 @r=`${PWD_COMMAND}`; export r; \
45266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45267 TFLAGS="$(STAGE3_TFLAGS)"; \
45268 $(NORMAL_TARGET_EXPORTS) \
45270 cd $(TARGET_SUBDIR)/libgcc && \
45272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45273 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45275 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45279 $(EXTRA_TARGET_FLAGS) \
45280 TFLAGS="$(STAGE3_TFLAGS)" \
45281 $(TARGET-stage3-target-libgcc)
45283 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
45284 clean-stage3: clean-stage3-target-libgcc
45285 clean-stage3-target-libgcc:
45286 @if [ $(current_stage) = stage3 ]; then \
45287 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45288 else \
45289 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
45290 $(MAKE) stage3-start; \
45291 fi; \
45292 cd $(TARGET_SUBDIR)/libgcc && \
45293 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45294 @endif target-libgcc-bootstrap
45297 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
45298 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
45299 maybe-all-stage4-target-libgcc:
45300 maybe-clean-stage4-target-libgcc:
45301 @if target-libgcc-bootstrap
45302 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
45303 all-stage4: all-stage4-target-libgcc
45304 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
45305 all-stage4-target-libgcc: configure-stage4-target-libgcc
45306 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45307 @r=`${PWD_COMMAND}`; export r; \
45308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45309 TFLAGS="$(STAGE4_TFLAGS)"; \
45310 $(NORMAL_TARGET_EXPORTS) \
45312 cd $(TARGET_SUBDIR)/libgcc && \
45314 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45315 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45316 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45317 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45321 $(EXTRA_TARGET_FLAGS) \
45322 TFLAGS="$(STAGE4_TFLAGS)" \
45323 $(TARGET-stage4-target-libgcc)
45325 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
45326 clean-stage4: clean-stage4-target-libgcc
45327 clean-stage4-target-libgcc:
45328 @if [ $(current_stage) = stage4 ]; then \
45329 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45330 else \
45331 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
45332 $(MAKE) stage4-start; \
45333 fi; \
45334 cd $(TARGET_SUBDIR)/libgcc && \
45335 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45336 @endif target-libgcc-bootstrap
45339 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
45340 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
45341 maybe-all-stageprofile-target-libgcc:
45342 maybe-clean-stageprofile-target-libgcc:
45343 @if target-libgcc-bootstrap
45344 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
45345 all-stageprofile: all-stageprofile-target-libgcc
45346 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
45347 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45348 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45349 @r=`${PWD_COMMAND}`; export r; \
45350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45351 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45352 $(NORMAL_TARGET_EXPORTS) \
45354 cd $(TARGET_SUBDIR)/libgcc && \
45356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45357 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45358 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45359 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45363 $(EXTRA_TARGET_FLAGS) \
45364 TFLAGS="$(STAGEprofile_TFLAGS)" \
45365 $(TARGET-stageprofile-target-libgcc)
45367 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
45368 clean-stageprofile: clean-stageprofile-target-libgcc
45369 clean-stageprofile-target-libgcc:
45370 @if [ $(current_stage) = stageprofile ]; then \
45371 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45372 else \
45373 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
45374 $(MAKE) stageprofile-start; \
45375 fi; \
45376 cd $(TARGET_SUBDIR)/libgcc && \
45377 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45378 @endif target-libgcc-bootstrap
45381 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
45382 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
45383 maybe-all-stagetrain-target-libgcc:
45384 maybe-clean-stagetrain-target-libgcc:
45385 @if target-libgcc-bootstrap
45386 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
45387 all-stagetrain: all-stagetrain-target-libgcc
45388 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
45389 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
45390 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45391 @r=`${PWD_COMMAND}`; export r; \
45392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45393 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45394 $(NORMAL_TARGET_EXPORTS) \
45396 cd $(TARGET_SUBDIR)/libgcc && \
45398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45399 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45400 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45401 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45405 $(EXTRA_TARGET_FLAGS) \
45406 TFLAGS="$(STAGEtrain_TFLAGS)" \
45407 $(TARGET-stagetrain-target-libgcc)
45409 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
45410 clean-stagetrain: clean-stagetrain-target-libgcc
45411 clean-stagetrain-target-libgcc:
45412 @if [ $(current_stage) = stagetrain ]; then \
45413 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45414 else \
45415 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
45416 $(MAKE) stagetrain-start; \
45417 fi; \
45418 cd $(TARGET_SUBDIR)/libgcc && \
45419 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45420 @endif target-libgcc-bootstrap
45423 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
45424 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
45425 maybe-all-stagefeedback-target-libgcc:
45426 maybe-clean-stagefeedback-target-libgcc:
45427 @if target-libgcc-bootstrap
45428 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
45429 all-stagefeedback: all-stagefeedback-target-libgcc
45430 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
45431 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45432 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45433 @r=`${PWD_COMMAND}`; export r; \
45434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45435 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45436 $(NORMAL_TARGET_EXPORTS) \
45438 cd $(TARGET_SUBDIR)/libgcc && \
45440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45441 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45442 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45443 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45447 $(EXTRA_TARGET_FLAGS) \
45448 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45449 $(TARGET-stagefeedback-target-libgcc)
45451 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
45452 clean-stagefeedback: clean-stagefeedback-target-libgcc
45453 clean-stagefeedback-target-libgcc:
45454 @if [ $(current_stage) = stagefeedback ]; then \
45455 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45456 else \
45457 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
45458 $(MAKE) stagefeedback-start; \
45459 fi; \
45460 cd $(TARGET_SUBDIR)/libgcc && \
45461 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45462 @endif target-libgcc-bootstrap
45465 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
45466 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
45467 maybe-all-stageautoprofile-target-libgcc:
45468 maybe-clean-stageautoprofile-target-libgcc:
45469 @if target-libgcc-bootstrap
45470 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
45471 all-stageautoprofile: all-stageautoprofile-target-libgcc
45472 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
45473 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45474 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45475 @r=`${PWD_COMMAND}`; export r; \
45476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45477 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45478 $(NORMAL_TARGET_EXPORTS) \
45480 cd $(TARGET_SUBDIR)/libgcc && \
45481 $$s/gcc/config/i386/$(AUTO_PROFILE) \
45482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45483 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45484 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45485 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45489 $(EXTRA_TARGET_FLAGS) \
45490 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
45491 $(TARGET-stageautoprofile-target-libgcc)
45493 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
45494 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
45495 clean-stageautoprofile-target-libgcc:
45496 @if [ $(current_stage) = stageautoprofile ]; then \
45497 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45498 else \
45499 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
45500 $(MAKE) stageautoprofile-start; \
45501 fi; \
45502 cd $(TARGET_SUBDIR)/libgcc && \
45503 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45504 @endif target-libgcc-bootstrap
45507 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
45508 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
45509 maybe-all-stageautofeedback-target-libgcc:
45510 maybe-clean-stageautofeedback-target-libgcc:
45511 @if target-libgcc-bootstrap
45512 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
45513 all-stageautofeedback: all-stageautofeedback-target-libgcc
45514 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
45515 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45516 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45517 @r=`${PWD_COMMAND}`; export r; \
45518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45519 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45520 $(NORMAL_TARGET_EXPORTS) \
45522 cd $(TARGET_SUBDIR)/libgcc && \
45524 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45525 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45526 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45527 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45528 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45529 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45530 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45531 $(EXTRA_TARGET_FLAGS) \
45532 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
45533 $(TARGET-stageautofeedback-target-libgcc)
45535 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
45536 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
45537 clean-stageautofeedback-target-libgcc:
45538 @if [ $(current_stage) = stageautofeedback ]; then \
45539 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45540 else \
45541 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
45542 $(MAKE) stageautofeedback-start; \
45543 fi; \
45544 cd $(TARGET_SUBDIR)/libgcc && \
45545 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45546 @endif target-libgcc-bootstrap
45553 .PHONY: check-target-libgcc maybe-check-target-libgcc
45554 maybe-check-target-libgcc:
45555 @if target-libgcc
45556 maybe-check-target-libgcc: check-target-libgcc
45558 # Dummy target for uncheckable module.
45559 check-target-libgcc:
45561 @endif target-libgcc
45563 .PHONY: install-target-libgcc maybe-install-target-libgcc
45564 maybe-install-target-libgcc:
45565 @if target-libgcc
45566 maybe-install-target-libgcc: install-target-libgcc
45568 install-target-libgcc: installdirs
45569 @: $(MAKE); $(unstage)
45570 @r=`${PWD_COMMAND}`; export r; \
45571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45572 $(NORMAL_TARGET_EXPORTS) \
45573 (cd $(TARGET_SUBDIR)/libgcc && \
45574 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45576 @endif target-libgcc
45578 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
45579 maybe-install-strip-target-libgcc:
45580 @if target-libgcc
45581 maybe-install-strip-target-libgcc: install-strip-target-libgcc
45583 install-strip-target-libgcc: installdirs
45584 @: $(MAKE); $(unstage)
45585 @r=`${PWD_COMMAND}`; export r; \
45586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45587 $(NORMAL_TARGET_EXPORTS) \
45588 (cd $(TARGET_SUBDIR)/libgcc && \
45589 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45591 @endif target-libgcc
45593 # Other targets (info, dvi, pdf, etc.)
45595 .PHONY: maybe-info-target-libgcc info-target-libgcc
45596 maybe-info-target-libgcc:
45597 @if target-libgcc
45598 maybe-info-target-libgcc: info-target-libgcc
45600 info-target-libgcc: \
45601 configure-target-libgcc
45602 @: $(MAKE); $(unstage)
45603 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45604 r=`${PWD_COMMAND}`; export r; \
45605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45606 $(NORMAL_TARGET_EXPORTS) \
45607 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
45608 for flag in $(EXTRA_TARGET_FLAGS); do \
45609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45610 done; \
45611 (cd $(TARGET_SUBDIR)/libgcc && \
45612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45614 "RANLIB=$${RANLIB}" \
45615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45616 info) \
45617 || exit 1
45619 @endif target-libgcc
45621 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
45622 maybe-dvi-target-libgcc:
45623 @if target-libgcc
45624 maybe-dvi-target-libgcc: dvi-target-libgcc
45626 dvi-target-libgcc: \
45627 configure-target-libgcc
45628 @: $(MAKE); $(unstage)
45629 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45630 r=`${PWD_COMMAND}`; export r; \
45631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45632 $(NORMAL_TARGET_EXPORTS) \
45633 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
45634 for flag in $(EXTRA_TARGET_FLAGS); do \
45635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45636 done; \
45637 (cd $(TARGET_SUBDIR)/libgcc && \
45638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45640 "RANLIB=$${RANLIB}" \
45641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45642 dvi) \
45643 || exit 1
45645 @endif target-libgcc
45647 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
45648 maybe-pdf-target-libgcc:
45649 @if target-libgcc
45650 maybe-pdf-target-libgcc: pdf-target-libgcc
45652 pdf-target-libgcc: \
45653 configure-target-libgcc
45654 @: $(MAKE); $(unstage)
45655 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45656 r=`${PWD_COMMAND}`; export r; \
45657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45658 $(NORMAL_TARGET_EXPORTS) \
45659 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
45660 for flag in $(EXTRA_TARGET_FLAGS); do \
45661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45662 done; \
45663 (cd $(TARGET_SUBDIR)/libgcc && \
45664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45666 "RANLIB=$${RANLIB}" \
45667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45668 pdf) \
45669 || exit 1
45671 @endif target-libgcc
45673 .PHONY: maybe-html-target-libgcc html-target-libgcc
45674 maybe-html-target-libgcc:
45675 @if target-libgcc
45676 maybe-html-target-libgcc: html-target-libgcc
45678 html-target-libgcc: \
45679 configure-target-libgcc
45680 @: $(MAKE); $(unstage)
45681 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45682 r=`${PWD_COMMAND}`; export r; \
45683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45684 $(NORMAL_TARGET_EXPORTS) \
45685 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
45686 for flag in $(EXTRA_TARGET_FLAGS); do \
45687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45688 done; \
45689 (cd $(TARGET_SUBDIR)/libgcc && \
45690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45692 "RANLIB=$${RANLIB}" \
45693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45694 html) \
45695 || exit 1
45697 @endif target-libgcc
45699 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
45700 maybe-TAGS-target-libgcc:
45701 @if target-libgcc
45702 maybe-TAGS-target-libgcc: TAGS-target-libgcc
45704 TAGS-target-libgcc: \
45705 configure-target-libgcc
45706 @: $(MAKE); $(unstage)
45707 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45708 r=`${PWD_COMMAND}`; export r; \
45709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45710 $(NORMAL_TARGET_EXPORTS) \
45711 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
45712 for flag in $(EXTRA_TARGET_FLAGS); do \
45713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45714 done; \
45715 (cd $(TARGET_SUBDIR)/libgcc && \
45716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45718 "RANLIB=$${RANLIB}" \
45719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45720 TAGS) \
45721 || exit 1
45723 @endif target-libgcc
45725 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
45726 maybe-install-info-target-libgcc:
45727 @if target-libgcc
45728 maybe-install-info-target-libgcc: install-info-target-libgcc
45730 install-info-target-libgcc: \
45731 configure-target-libgcc \
45732 info-target-libgcc
45733 @: $(MAKE); $(unstage)
45734 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45735 r=`${PWD_COMMAND}`; export r; \
45736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45737 $(NORMAL_TARGET_EXPORTS) \
45738 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
45739 for flag in $(EXTRA_TARGET_FLAGS); do \
45740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45741 done; \
45742 (cd $(TARGET_SUBDIR)/libgcc && \
45743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45745 "RANLIB=$${RANLIB}" \
45746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45747 install-info) \
45748 || exit 1
45750 @endif target-libgcc
45752 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
45753 maybe-install-pdf-target-libgcc:
45754 @if target-libgcc
45755 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
45757 install-pdf-target-libgcc: \
45758 configure-target-libgcc \
45759 pdf-target-libgcc
45760 @: $(MAKE); $(unstage)
45761 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45762 r=`${PWD_COMMAND}`; export r; \
45763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45764 $(NORMAL_TARGET_EXPORTS) \
45765 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
45766 for flag in $(EXTRA_TARGET_FLAGS); do \
45767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45768 done; \
45769 (cd $(TARGET_SUBDIR)/libgcc && \
45770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45772 "RANLIB=$${RANLIB}" \
45773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45774 install-pdf) \
45775 || exit 1
45777 @endif target-libgcc
45779 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
45780 maybe-install-html-target-libgcc:
45781 @if target-libgcc
45782 maybe-install-html-target-libgcc: install-html-target-libgcc
45784 install-html-target-libgcc: \
45785 configure-target-libgcc \
45786 html-target-libgcc
45787 @: $(MAKE); $(unstage)
45788 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45789 r=`${PWD_COMMAND}`; export r; \
45790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45791 $(NORMAL_TARGET_EXPORTS) \
45792 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
45793 for flag in $(EXTRA_TARGET_FLAGS); do \
45794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45795 done; \
45796 (cd $(TARGET_SUBDIR)/libgcc && \
45797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45799 "RANLIB=$${RANLIB}" \
45800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45801 install-html) \
45802 || exit 1
45804 @endif target-libgcc
45806 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
45807 maybe-installcheck-target-libgcc:
45808 @if target-libgcc
45809 maybe-installcheck-target-libgcc: installcheck-target-libgcc
45811 installcheck-target-libgcc: \
45812 configure-target-libgcc
45813 @: $(MAKE); $(unstage)
45814 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45815 r=`${PWD_COMMAND}`; export r; \
45816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45817 $(NORMAL_TARGET_EXPORTS) \
45818 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
45819 for flag in $(EXTRA_TARGET_FLAGS); do \
45820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45821 done; \
45822 (cd $(TARGET_SUBDIR)/libgcc && \
45823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45825 "RANLIB=$${RANLIB}" \
45826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45827 installcheck) \
45828 || exit 1
45830 @endif target-libgcc
45832 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
45833 maybe-mostlyclean-target-libgcc:
45834 @if target-libgcc
45835 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
45837 mostlyclean-target-libgcc:
45838 @: $(MAKE); $(unstage)
45839 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45840 r=`${PWD_COMMAND}`; export r; \
45841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45842 $(NORMAL_TARGET_EXPORTS) \
45843 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
45844 for flag in $(EXTRA_TARGET_FLAGS); do \
45845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45846 done; \
45847 (cd $(TARGET_SUBDIR)/libgcc && \
45848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45850 "RANLIB=$${RANLIB}" \
45851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45852 mostlyclean) \
45853 || exit 1
45855 @endif target-libgcc
45857 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
45858 maybe-clean-target-libgcc:
45859 @if target-libgcc
45860 maybe-clean-target-libgcc: clean-target-libgcc
45862 clean-target-libgcc:
45863 @: $(MAKE); $(unstage)
45864 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45865 r=`${PWD_COMMAND}`; export r; \
45866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45867 $(NORMAL_TARGET_EXPORTS) \
45868 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
45869 for flag in $(EXTRA_TARGET_FLAGS); do \
45870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45871 done; \
45872 (cd $(TARGET_SUBDIR)/libgcc && \
45873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45875 "RANLIB=$${RANLIB}" \
45876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45877 clean) \
45878 || exit 1
45880 @endif target-libgcc
45882 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
45883 maybe-distclean-target-libgcc:
45884 @if target-libgcc
45885 maybe-distclean-target-libgcc: distclean-target-libgcc
45887 distclean-target-libgcc:
45888 @: $(MAKE); $(unstage)
45889 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45890 r=`${PWD_COMMAND}`; export r; \
45891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45892 $(NORMAL_TARGET_EXPORTS) \
45893 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
45894 for flag in $(EXTRA_TARGET_FLAGS); do \
45895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45896 done; \
45897 (cd $(TARGET_SUBDIR)/libgcc && \
45898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45900 "RANLIB=$${RANLIB}" \
45901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45902 distclean) \
45903 || exit 1
45905 @endif target-libgcc
45907 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
45908 maybe-maintainer-clean-target-libgcc:
45909 @if target-libgcc
45910 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
45912 maintainer-clean-target-libgcc:
45913 @: $(MAKE); $(unstage)
45914 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45915 r=`${PWD_COMMAND}`; export r; \
45916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45917 $(NORMAL_TARGET_EXPORTS) \
45918 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
45919 for flag in $(EXTRA_TARGET_FLAGS); do \
45920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45921 done; \
45922 (cd $(TARGET_SUBDIR)/libgcc && \
45923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45925 "RANLIB=$${RANLIB}" \
45926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45927 maintainer-clean) \
45928 || exit 1
45930 @endif target-libgcc
45936 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
45937 maybe-configure-target-libbacktrace:
45938 @if gcc-bootstrap
45939 configure-target-libbacktrace: stage_current
45940 @endif gcc-bootstrap
45941 @if target-libbacktrace
45942 maybe-configure-target-libbacktrace: configure-target-libbacktrace
45943 configure-target-libbacktrace:
45944 @: $(MAKE); $(unstage)
45945 @r=`${PWD_COMMAND}`; export r; \
45946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45947 echo "Checking multilib configuration for libbacktrace..."; \
45948 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
45949 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
45950 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
45951 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
45952 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
45953 else \
45954 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
45955 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
45956 fi; \
45957 else \
45958 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
45959 fi; \
45960 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
45961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
45962 $(NORMAL_TARGET_EXPORTS) \
45963 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
45964 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
45965 case $(srcdir) in \
45966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45967 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
45968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45969 esac; \
45970 module_srcdir=libbacktrace; \
45971 rm -f no-such-file || : ; \
45972 CONFIG_SITE=no-such-file $(SHELL) \
45973 $$s/$$module_srcdir/configure \
45974 --srcdir=$${topdir}/$$module_srcdir \
45975 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45976 --target=${target_alias} \
45977 || exit 1
45978 @endif target-libbacktrace
45984 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
45985 maybe-all-target-libbacktrace:
45986 @if gcc-bootstrap
45987 all-target-libbacktrace: stage_current
45988 @endif gcc-bootstrap
45989 @if target-libbacktrace
45990 TARGET-target-libbacktrace=all
45991 maybe-all-target-libbacktrace: all-target-libbacktrace
45992 all-target-libbacktrace: configure-target-libbacktrace
45993 @: $(MAKE); $(unstage)
45994 @r=`${PWD_COMMAND}`; export r; \
45995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45996 $(NORMAL_TARGET_EXPORTS) \
45997 (cd $(TARGET_SUBDIR)/libbacktrace && \
45998 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45999 $(TARGET-target-libbacktrace))
46000 @endif target-libbacktrace
46006 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
46007 maybe-check-target-libbacktrace:
46008 @if target-libbacktrace
46009 maybe-check-target-libbacktrace: check-target-libbacktrace
46011 check-target-libbacktrace:
46012 @: $(MAKE); $(unstage)
46013 @r=`${PWD_COMMAND}`; export r; \
46014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46015 $(NORMAL_TARGET_EXPORTS) \
46016 (cd $(TARGET_SUBDIR)/libbacktrace && \
46017 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46019 @endif target-libbacktrace
46021 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
46022 maybe-install-target-libbacktrace:
46023 @if target-libbacktrace
46024 maybe-install-target-libbacktrace: install-target-libbacktrace
46026 install-target-libbacktrace: installdirs
46027 @: $(MAKE); $(unstage)
46028 @r=`${PWD_COMMAND}`; export r; \
46029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46030 $(NORMAL_TARGET_EXPORTS) \
46031 (cd $(TARGET_SUBDIR)/libbacktrace && \
46032 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46034 @endif target-libbacktrace
46036 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
46037 maybe-install-strip-target-libbacktrace:
46038 @if target-libbacktrace
46039 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
46041 install-strip-target-libbacktrace: installdirs
46042 @: $(MAKE); $(unstage)
46043 @r=`${PWD_COMMAND}`; export r; \
46044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46045 $(NORMAL_TARGET_EXPORTS) \
46046 (cd $(TARGET_SUBDIR)/libbacktrace && \
46047 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46049 @endif target-libbacktrace
46051 # Other targets (info, dvi, pdf, etc.)
46053 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
46054 maybe-info-target-libbacktrace:
46055 @if target-libbacktrace
46056 maybe-info-target-libbacktrace: info-target-libbacktrace
46058 info-target-libbacktrace: \
46059 configure-target-libbacktrace
46060 @: $(MAKE); $(unstage)
46061 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46062 r=`${PWD_COMMAND}`; export r; \
46063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46064 $(NORMAL_TARGET_EXPORTS) \
46065 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
46066 for flag in $(EXTRA_TARGET_FLAGS); do \
46067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46068 done; \
46069 (cd $(TARGET_SUBDIR)/libbacktrace && \
46070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46072 "RANLIB=$${RANLIB}" \
46073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46074 info) \
46075 || exit 1
46077 @endif target-libbacktrace
46079 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
46080 maybe-dvi-target-libbacktrace:
46081 @if target-libbacktrace
46082 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
46084 dvi-target-libbacktrace: \
46085 configure-target-libbacktrace
46086 @: $(MAKE); $(unstage)
46087 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46088 r=`${PWD_COMMAND}`; export r; \
46089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46090 $(NORMAL_TARGET_EXPORTS) \
46091 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
46092 for flag in $(EXTRA_TARGET_FLAGS); do \
46093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46094 done; \
46095 (cd $(TARGET_SUBDIR)/libbacktrace && \
46096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46098 "RANLIB=$${RANLIB}" \
46099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46100 dvi) \
46101 || exit 1
46103 @endif target-libbacktrace
46105 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
46106 maybe-pdf-target-libbacktrace:
46107 @if target-libbacktrace
46108 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
46110 pdf-target-libbacktrace: \
46111 configure-target-libbacktrace
46112 @: $(MAKE); $(unstage)
46113 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46114 r=`${PWD_COMMAND}`; export r; \
46115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46116 $(NORMAL_TARGET_EXPORTS) \
46117 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
46118 for flag in $(EXTRA_TARGET_FLAGS); do \
46119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46120 done; \
46121 (cd $(TARGET_SUBDIR)/libbacktrace && \
46122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46124 "RANLIB=$${RANLIB}" \
46125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46126 pdf) \
46127 || exit 1
46129 @endif target-libbacktrace
46131 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
46132 maybe-html-target-libbacktrace:
46133 @if target-libbacktrace
46134 maybe-html-target-libbacktrace: html-target-libbacktrace
46136 html-target-libbacktrace: \
46137 configure-target-libbacktrace
46138 @: $(MAKE); $(unstage)
46139 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46140 r=`${PWD_COMMAND}`; export r; \
46141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46142 $(NORMAL_TARGET_EXPORTS) \
46143 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
46144 for flag in $(EXTRA_TARGET_FLAGS); do \
46145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46146 done; \
46147 (cd $(TARGET_SUBDIR)/libbacktrace && \
46148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46150 "RANLIB=$${RANLIB}" \
46151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46152 html) \
46153 || exit 1
46155 @endif target-libbacktrace
46157 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
46158 maybe-TAGS-target-libbacktrace:
46159 @if target-libbacktrace
46160 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
46162 TAGS-target-libbacktrace: \
46163 configure-target-libbacktrace
46164 @: $(MAKE); $(unstage)
46165 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46166 r=`${PWD_COMMAND}`; export r; \
46167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46168 $(NORMAL_TARGET_EXPORTS) \
46169 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
46170 for flag in $(EXTRA_TARGET_FLAGS); do \
46171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46172 done; \
46173 (cd $(TARGET_SUBDIR)/libbacktrace && \
46174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46176 "RANLIB=$${RANLIB}" \
46177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46178 TAGS) \
46179 || exit 1
46181 @endif target-libbacktrace
46183 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
46184 maybe-install-info-target-libbacktrace:
46185 @if target-libbacktrace
46186 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
46188 install-info-target-libbacktrace: \
46189 configure-target-libbacktrace \
46190 info-target-libbacktrace
46191 @: $(MAKE); $(unstage)
46192 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46193 r=`${PWD_COMMAND}`; export r; \
46194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46195 $(NORMAL_TARGET_EXPORTS) \
46196 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
46197 for flag in $(EXTRA_TARGET_FLAGS); do \
46198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46199 done; \
46200 (cd $(TARGET_SUBDIR)/libbacktrace && \
46201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46203 "RANLIB=$${RANLIB}" \
46204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46205 install-info) \
46206 || exit 1
46208 @endif target-libbacktrace
46210 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
46211 maybe-install-pdf-target-libbacktrace:
46212 @if target-libbacktrace
46213 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
46215 install-pdf-target-libbacktrace: \
46216 configure-target-libbacktrace \
46217 pdf-target-libbacktrace
46218 @: $(MAKE); $(unstage)
46219 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46220 r=`${PWD_COMMAND}`; export r; \
46221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46222 $(NORMAL_TARGET_EXPORTS) \
46223 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
46224 for flag in $(EXTRA_TARGET_FLAGS); do \
46225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46226 done; \
46227 (cd $(TARGET_SUBDIR)/libbacktrace && \
46228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46230 "RANLIB=$${RANLIB}" \
46231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46232 install-pdf) \
46233 || exit 1
46235 @endif target-libbacktrace
46237 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
46238 maybe-install-html-target-libbacktrace:
46239 @if target-libbacktrace
46240 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
46242 install-html-target-libbacktrace: \
46243 configure-target-libbacktrace \
46244 html-target-libbacktrace
46245 @: $(MAKE); $(unstage)
46246 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46247 r=`${PWD_COMMAND}`; export r; \
46248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46249 $(NORMAL_TARGET_EXPORTS) \
46250 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
46251 for flag in $(EXTRA_TARGET_FLAGS); do \
46252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46253 done; \
46254 (cd $(TARGET_SUBDIR)/libbacktrace && \
46255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46257 "RANLIB=$${RANLIB}" \
46258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46259 install-html) \
46260 || exit 1
46262 @endif target-libbacktrace
46264 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
46265 maybe-installcheck-target-libbacktrace:
46266 @if target-libbacktrace
46267 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
46269 installcheck-target-libbacktrace: \
46270 configure-target-libbacktrace
46271 @: $(MAKE); $(unstage)
46272 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46273 r=`${PWD_COMMAND}`; export r; \
46274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46275 $(NORMAL_TARGET_EXPORTS) \
46276 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
46277 for flag in $(EXTRA_TARGET_FLAGS); do \
46278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46279 done; \
46280 (cd $(TARGET_SUBDIR)/libbacktrace && \
46281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46283 "RANLIB=$${RANLIB}" \
46284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46285 installcheck) \
46286 || exit 1
46288 @endif target-libbacktrace
46290 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
46291 maybe-mostlyclean-target-libbacktrace:
46292 @if target-libbacktrace
46293 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
46295 mostlyclean-target-libbacktrace:
46296 @: $(MAKE); $(unstage)
46297 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46298 r=`${PWD_COMMAND}`; export r; \
46299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46300 $(NORMAL_TARGET_EXPORTS) \
46301 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
46302 for flag in $(EXTRA_TARGET_FLAGS); do \
46303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46304 done; \
46305 (cd $(TARGET_SUBDIR)/libbacktrace && \
46306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46308 "RANLIB=$${RANLIB}" \
46309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46310 mostlyclean) \
46311 || exit 1
46313 @endif target-libbacktrace
46315 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
46316 maybe-clean-target-libbacktrace:
46317 @if target-libbacktrace
46318 maybe-clean-target-libbacktrace: clean-target-libbacktrace
46320 clean-target-libbacktrace:
46321 @: $(MAKE); $(unstage)
46322 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46323 r=`${PWD_COMMAND}`; export r; \
46324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46325 $(NORMAL_TARGET_EXPORTS) \
46326 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
46327 for flag in $(EXTRA_TARGET_FLAGS); do \
46328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46329 done; \
46330 (cd $(TARGET_SUBDIR)/libbacktrace && \
46331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46333 "RANLIB=$${RANLIB}" \
46334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46335 clean) \
46336 || exit 1
46338 @endif target-libbacktrace
46340 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
46341 maybe-distclean-target-libbacktrace:
46342 @if target-libbacktrace
46343 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
46345 distclean-target-libbacktrace:
46346 @: $(MAKE); $(unstage)
46347 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46348 r=`${PWD_COMMAND}`; export r; \
46349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46350 $(NORMAL_TARGET_EXPORTS) \
46351 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
46352 for flag in $(EXTRA_TARGET_FLAGS); do \
46353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46354 done; \
46355 (cd $(TARGET_SUBDIR)/libbacktrace && \
46356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46358 "RANLIB=$${RANLIB}" \
46359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46360 distclean) \
46361 || exit 1
46363 @endif target-libbacktrace
46365 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
46366 maybe-maintainer-clean-target-libbacktrace:
46367 @if target-libbacktrace
46368 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
46370 maintainer-clean-target-libbacktrace:
46371 @: $(MAKE); $(unstage)
46372 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46373 r=`${PWD_COMMAND}`; export r; \
46374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46375 $(NORMAL_TARGET_EXPORTS) \
46376 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
46377 for flag in $(EXTRA_TARGET_FLAGS); do \
46378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46379 done; \
46380 (cd $(TARGET_SUBDIR)/libbacktrace && \
46381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46383 "RANLIB=$${RANLIB}" \
46384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46385 maintainer-clean) \
46386 || exit 1
46388 @endif target-libbacktrace
46394 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
46395 maybe-configure-target-libquadmath:
46396 @if gcc-bootstrap
46397 configure-target-libquadmath: stage_current
46398 @endif gcc-bootstrap
46399 @if target-libquadmath
46400 maybe-configure-target-libquadmath: configure-target-libquadmath
46401 configure-target-libquadmath:
46402 @: $(MAKE); $(unstage)
46403 @r=`${PWD_COMMAND}`; export r; \
46404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46405 echo "Checking multilib configuration for libquadmath..."; \
46406 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46407 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
46408 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46409 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46410 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
46411 else \
46412 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
46413 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46414 fi; \
46415 else \
46416 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46417 fi; \
46418 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
46419 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46420 $(NORMAL_TARGET_EXPORTS) \
46421 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
46422 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
46423 case $(srcdir) in \
46424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46425 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
46426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46427 esac; \
46428 module_srcdir=libquadmath; \
46429 rm -f no-such-file || : ; \
46430 CONFIG_SITE=no-such-file $(SHELL) \
46431 $$s/$$module_srcdir/configure \
46432 --srcdir=$${topdir}/$$module_srcdir \
46433 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46434 --target=${target_alias} \
46435 || exit 1
46436 @endif target-libquadmath
46442 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
46443 maybe-all-target-libquadmath:
46444 @if gcc-bootstrap
46445 all-target-libquadmath: stage_current
46446 @endif gcc-bootstrap
46447 @if target-libquadmath
46448 TARGET-target-libquadmath=all
46449 maybe-all-target-libquadmath: all-target-libquadmath
46450 all-target-libquadmath: configure-target-libquadmath
46451 @: $(MAKE); $(unstage)
46452 @r=`${PWD_COMMAND}`; export r; \
46453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46454 $(NORMAL_TARGET_EXPORTS) \
46455 (cd $(TARGET_SUBDIR)/libquadmath && \
46456 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46457 $(TARGET-target-libquadmath))
46458 @endif target-libquadmath
46464 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
46465 maybe-check-target-libquadmath:
46466 @if target-libquadmath
46467 maybe-check-target-libquadmath: check-target-libquadmath
46469 check-target-libquadmath:
46470 @: $(MAKE); $(unstage)
46471 @r=`${PWD_COMMAND}`; export r; \
46472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46473 $(NORMAL_TARGET_EXPORTS) \
46474 (cd $(TARGET_SUBDIR)/libquadmath && \
46475 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46477 @endif target-libquadmath
46479 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
46480 maybe-install-target-libquadmath:
46481 @if target-libquadmath
46482 maybe-install-target-libquadmath: install-target-libquadmath
46484 install-target-libquadmath: installdirs
46485 @: $(MAKE); $(unstage)
46486 @r=`${PWD_COMMAND}`; export r; \
46487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46488 $(NORMAL_TARGET_EXPORTS) \
46489 (cd $(TARGET_SUBDIR)/libquadmath && \
46490 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46492 @endif target-libquadmath
46494 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
46495 maybe-install-strip-target-libquadmath:
46496 @if target-libquadmath
46497 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
46499 install-strip-target-libquadmath: installdirs
46500 @: $(MAKE); $(unstage)
46501 @r=`${PWD_COMMAND}`; export r; \
46502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46503 $(NORMAL_TARGET_EXPORTS) \
46504 (cd $(TARGET_SUBDIR)/libquadmath && \
46505 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46507 @endif target-libquadmath
46509 # Other targets (info, dvi, pdf, etc.)
46511 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
46512 maybe-info-target-libquadmath:
46513 @if target-libquadmath
46514 maybe-info-target-libquadmath: info-target-libquadmath
46516 info-target-libquadmath: \
46517 configure-target-libquadmath
46518 @: $(MAKE); $(unstage)
46519 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46520 r=`${PWD_COMMAND}`; export r; \
46521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46522 $(NORMAL_TARGET_EXPORTS) \
46523 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
46524 for flag in $(EXTRA_TARGET_FLAGS); do \
46525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46526 done; \
46527 (cd $(TARGET_SUBDIR)/libquadmath && \
46528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46530 "RANLIB=$${RANLIB}" \
46531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46532 info) \
46533 || exit 1
46535 @endif target-libquadmath
46537 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
46538 maybe-dvi-target-libquadmath:
46539 @if target-libquadmath
46540 maybe-dvi-target-libquadmath: dvi-target-libquadmath
46542 dvi-target-libquadmath: \
46543 configure-target-libquadmath
46544 @: $(MAKE); $(unstage)
46545 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46546 r=`${PWD_COMMAND}`; export r; \
46547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46548 $(NORMAL_TARGET_EXPORTS) \
46549 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
46550 for flag in $(EXTRA_TARGET_FLAGS); do \
46551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46552 done; \
46553 (cd $(TARGET_SUBDIR)/libquadmath && \
46554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46556 "RANLIB=$${RANLIB}" \
46557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46558 dvi) \
46559 || exit 1
46561 @endif target-libquadmath
46563 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
46564 maybe-pdf-target-libquadmath:
46565 @if target-libquadmath
46566 maybe-pdf-target-libquadmath: pdf-target-libquadmath
46568 pdf-target-libquadmath: \
46569 configure-target-libquadmath
46570 @: $(MAKE); $(unstage)
46571 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46572 r=`${PWD_COMMAND}`; export r; \
46573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46574 $(NORMAL_TARGET_EXPORTS) \
46575 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
46576 for flag in $(EXTRA_TARGET_FLAGS); do \
46577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46578 done; \
46579 (cd $(TARGET_SUBDIR)/libquadmath && \
46580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46582 "RANLIB=$${RANLIB}" \
46583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46584 pdf) \
46585 || exit 1
46587 @endif target-libquadmath
46589 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
46590 maybe-html-target-libquadmath:
46591 @if target-libquadmath
46592 maybe-html-target-libquadmath: html-target-libquadmath
46594 html-target-libquadmath: \
46595 configure-target-libquadmath
46596 @: $(MAKE); $(unstage)
46597 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46598 r=`${PWD_COMMAND}`; export r; \
46599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46600 $(NORMAL_TARGET_EXPORTS) \
46601 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
46602 for flag in $(EXTRA_TARGET_FLAGS); do \
46603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46604 done; \
46605 (cd $(TARGET_SUBDIR)/libquadmath && \
46606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46608 "RANLIB=$${RANLIB}" \
46609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46610 html) \
46611 || exit 1
46613 @endif target-libquadmath
46615 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
46616 maybe-TAGS-target-libquadmath:
46617 @if target-libquadmath
46618 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
46620 TAGS-target-libquadmath: \
46621 configure-target-libquadmath
46622 @: $(MAKE); $(unstage)
46623 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46624 r=`${PWD_COMMAND}`; export r; \
46625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46626 $(NORMAL_TARGET_EXPORTS) \
46627 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
46628 for flag in $(EXTRA_TARGET_FLAGS); do \
46629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46630 done; \
46631 (cd $(TARGET_SUBDIR)/libquadmath && \
46632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46634 "RANLIB=$${RANLIB}" \
46635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46636 TAGS) \
46637 || exit 1
46639 @endif target-libquadmath
46641 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
46642 maybe-install-info-target-libquadmath:
46643 @if target-libquadmath
46644 maybe-install-info-target-libquadmath: install-info-target-libquadmath
46646 install-info-target-libquadmath: \
46647 configure-target-libquadmath \
46648 info-target-libquadmath
46649 @: $(MAKE); $(unstage)
46650 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46651 r=`${PWD_COMMAND}`; export r; \
46652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46653 $(NORMAL_TARGET_EXPORTS) \
46654 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
46655 for flag in $(EXTRA_TARGET_FLAGS); do \
46656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46657 done; \
46658 (cd $(TARGET_SUBDIR)/libquadmath && \
46659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46661 "RANLIB=$${RANLIB}" \
46662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46663 install-info) \
46664 || exit 1
46666 @endif target-libquadmath
46668 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
46669 maybe-install-pdf-target-libquadmath:
46670 @if target-libquadmath
46671 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
46673 install-pdf-target-libquadmath: \
46674 configure-target-libquadmath \
46675 pdf-target-libquadmath
46676 @: $(MAKE); $(unstage)
46677 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46678 r=`${PWD_COMMAND}`; export r; \
46679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46680 $(NORMAL_TARGET_EXPORTS) \
46681 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
46682 for flag in $(EXTRA_TARGET_FLAGS); do \
46683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46684 done; \
46685 (cd $(TARGET_SUBDIR)/libquadmath && \
46686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46688 "RANLIB=$${RANLIB}" \
46689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46690 install-pdf) \
46691 || exit 1
46693 @endif target-libquadmath
46695 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
46696 maybe-install-html-target-libquadmath:
46697 @if target-libquadmath
46698 maybe-install-html-target-libquadmath: install-html-target-libquadmath
46700 install-html-target-libquadmath: \
46701 configure-target-libquadmath \
46702 html-target-libquadmath
46703 @: $(MAKE); $(unstage)
46704 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46705 r=`${PWD_COMMAND}`; export r; \
46706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46707 $(NORMAL_TARGET_EXPORTS) \
46708 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
46709 for flag in $(EXTRA_TARGET_FLAGS); do \
46710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46711 done; \
46712 (cd $(TARGET_SUBDIR)/libquadmath && \
46713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46715 "RANLIB=$${RANLIB}" \
46716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46717 install-html) \
46718 || exit 1
46720 @endif target-libquadmath
46722 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
46723 maybe-installcheck-target-libquadmath:
46724 @if target-libquadmath
46725 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
46727 installcheck-target-libquadmath: \
46728 configure-target-libquadmath
46729 @: $(MAKE); $(unstage)
46730 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46731 r=`${PWD_COMMAND}`; export r; \
46732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46733 $(NORMAL_TARGET_EXPORTS) \
46734 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
46735 for flag in $(EXTRA_TARGET_FLAGS); do \
46736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46737 done; \
46738 (cd $(TARGET_SUBDIR)/libquadmath && \
46739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46741 "RANLIB=$${RANLIB}" \
46742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46743 installcheck) \
46744 || exit 1
46746 @endif target-libquadmath
46748 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
46749 maybe-mostlyclean-target-libquadmath:
46750 @if target-libquadmath
46751 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
46753 mostlyclean-target-libquadmath:
46754 @: $(MAKE); $(unstage)
46755 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46756 r=`${PWD_COMMAND}`; export r; \
46757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46758 $(NORMAL_TARGET_EXPORTS) \
46759 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
46760 for flag in $(EXTRA_TARGET_FLAGS); do \
46761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46762 done; \
46763 (cd $(TARGET_SUBDIR)/libquadmath && \
46764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46766 "RANLIB=$${RANLIB}" \
46767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46768 mostlyclean) \
46769 || exit 1
46771 @endif target-libquadmath
46773 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
46774 maybe-clean-target-libquadmath:
46775 @if target-libquadmath
46776 maybe-clean-target-libquadmath: clean-target-libquadmath
46778 clean-target-libquadmath:
46779 @: $(MAKE); $(unstage)
46780 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46781 r=`${PWD_COMMAND}`; export r; \
46782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46783 $(NORMAL_TARGET_EXPORTS) \
46784 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
46785 for flag in $(EXTRA_TARGET_FLAGS); do \
46786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46787 done; \
46788 (cd $(TARGET_SUBDIR)/libquadmath && \
46789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46791 "RANLIB=$${RANLIB}" \
46792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46793 clean) \
46794 || exit 1
46796 @endif target-libquadmath
46798 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
46799 maybe-distclean-target-libquadmath:
46800 @if target-libquadmath
46801 maybe-distclean-target-libquadmath: distclean-target-libquadmath
46803 distclean-target-libquadmath:
46804 @: $(MAKE); $(unstage)
46805 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46806 r=`${PWD_COMMAND}`; export r; \
46807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46808 $(NORMAL_TARGET_EXPORTS) \
46809 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
46810 for flag in $(EXTRA_TARGET_FLAGS); do \
46811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46812 done; \
46813 (cd $(TARGET_SUBDIR)/libquadmath && \
46814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46816 "RANLIB=$${RANLIB}" \
46817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46818 distclean) \
46819 || exit 1
46821 @endif target-libquadmath
46823 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
46824 maybe-maintainer-clean-target-libquadmath:
46825 @if target-libquadmath
46826 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
46828 maintainer-clean-target-libquadmath:
46829 @: $(MAKE); $(unstage)
46830 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46831 r=`${PWD_COMMAND}`; export r; \
46832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46833 $(NORMAL_TARGET_EXPORTS) \
46834 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
46835 for flag in $(EXTRA_TARGET_FLAGS); do \
46836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46837 done; \
46838 (cd $(TARGET_SUBDIR)/libquadmath && \
46839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46841 "RANLIB=$${RANLIB}" \
46842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46843 maintainer-clean) \
46844 || exit 1
46846 @endif target-libquadmath
46852 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
46853 maybe-configure-target-libgfortran:
46854 @if gcc-bootstrap
46855 configure-target-libgfortran: stage_current
46856 @endif gcc-bootstrap
46857 @if target-libgfortran
46858 maybe-configure-target-libgfortran: configure-target-libgfortran
46859 configure-target-libgfortran:
46860 @: $(MAKE); $(unstage)
46861 @r=`${PWD_COMMAND}`; export r; \
46862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46863 echo "Checking multilib configuration for libgfortran..."; \
46864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46865 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
46866 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46867 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46868 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
46869 else \
46870 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
46871 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46872 fi; \
46873 else \
46874 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46875 fi; \
46876 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
46877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46878 $(NORMAL_TARGET_EXPORTS) \
46879 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
46880 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
46881 case $(srcdir) in \
46882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46883 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
46884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46885 esac; \
46886 module_srcdir=libgfortran; \
46887 rm -f no-such-file || : ; \
46888 CONFIG_SITE=no-such-file $(SHELL) \
46889 $$s/$$module_srcdir/configure \
46890 --srcdir=$${topdir}/$$module_srcdir \
46891 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46892 --target=${target_alias} \
46893 || exit 1
46894 @endif target-libgfortran
46900 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
46901 maybe-all-target-libgfortran:
46902 @if gcc-bootstrap
46903 all-target-libgfortran: stage_current
46904 @endif gcc-bootstrap
46905 @if target-libgfortran
46906 TARGET-target-libgfortran=all
46907 maybe-all-target-libgfortran: all-target-libgfortran
46908 all-target-libgfortran: configure-target-libgfortran
46909 @: $(MAKE); $(unstage)
46910 @r=`${PWD_COMMAND}`; export r; \
46911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46912 $(NORMAL_TARGET_EXPORTS) \
46913 (cd $(TARGET_SUBDIR)/libgfortran && \
46914 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46915 $(TARGET-target-libgfortran))
46916 @endif target-libgfortran
46922 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
46923 maybe-check-target-libgfortran:
46924 @if target-libgfortran
46925 maybe-check-target-libgfortran: check-target-libgfortran
46927 check-target-libgfortran:
46928 @: $(MAKE); $(unstage)
46929 @r=`${PWD_COMMAND}`; export r; \
46930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46931 $(NORMAL_TARGET_EXPORTS) \
46932 (cd $(TARGET_SUBDIR)/libgfortran && \
46933 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46935 @endif target-libgfortran
46937 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
46938 maybe-install-target-libgfortran:
46939 @if target-libgfortran
46940 maybe-install-target-libgfortran: install-target-libgfortran
46942 install-target-libgfortran: installdirs
46943 @: $(MAKE); $(unstage)
46944 @r=`${PWD_COMMAND}`; export r; \
46945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46946 $(NORMAL_TARGET_EXPORTS) \
46947 (cd $(TARGET_SUBDIR)/libgfortran && \
46948 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46950 @endif target-libgfortran
46952 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
46953 maybe-install-strip-target-libgfortran:
46954 @if target-libgfortran
46955 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
46957 install-strip-target-libgfortran: installdirs
46958 @: $(MAKE); $(unstage)
46959 @r=`${PWD_COMMAND}`; export r; \
46960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46961 $(NORMAL_TARGET_EXPORTS) \
46962 (cd $(TARGET_SUBDIR)/libgfortran && \
46963 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46965 @endif target-libgfortran
46967 # Other targets (info, dvi, pdf, etc.)
46969 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
46970 maybe-info-target-libgfortran:
46971 @if target-libgfortran
46972 maybe-info-target-libgfortran: info-target-libgfortran
46974 info-target-libgfortran: \
46975 configure-target-libgfortran
46976 @: $(MAKE); $(unstage)
46977 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
46978 r=`${PWD_COMMAND}`; export r; \
46979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46980 $(NORMAL_TARGET_EXPORTS) \
46981 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
46982 for flag in $(EXTRA_TARGET_FLAGS); do \
46983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46984 done; \
46985 (cd $(TARGET_SUBDIR)/libgfortran && \
46986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46988 "RANLIB=$${RANLIB}" \
46989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46990 info) \
46991 || exit 1
46993 @endif target-libgfortran
46995 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
46996 maybe-dvi-target-libgfortran:
46997 @if target-libgfortran
46998 maybe-dvi-target-libgfortran: dvi-target-libgfortran
47000 dvi-target-libgfortran: \
47001 configure-target-libgfortran
47002 @: $(MAKE); $(unstage)
47003 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47004 r=`${PWD_COMMAND}`; export r; \
47005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47006 $(NORMAL_TARGET_EXPORTS) \
47007 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
47008 for flag in $(EXTRA_TARGET_FLAGS); do \
47009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47010 done; \
47011 (cd $(TARGET_SUBDIR)/libgfortran && \
47012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47014 "RANLIB=$${RANLIB}" \
47015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47016 dvi) \
47017 || exit 1
47019 @endif target-libgfortran
47021 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
47022 maybe-pdf-target-libgfortran:
47023 @if target-libgfortran
47024 maybe-pdf-target-libgfortran: pdf-target-libgfortran
47026 pdf-target-libgfortran: \
47027 configure-target-libgfortran
47028 @: $(MAKE); $(unstage)
47029 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47030 r=`${PWD_COMMAND}`; export r; \
47031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47032 $(NORMAL_TARGET_EXPORTS) \
47033 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
47034 for flag in $(EXTRA_TARGET_FLAGS); do \
47035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47036 done; \
47037 (cd $(TARGET_SUBDIR)/libgfortran && \
47038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47040 "RANLIB=$${RANLIB}" \
47041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47042 pdf) \
47043 || exit 1
47045 @endif target-libgfortran
47047 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
47048 maybe-html-target-libgfortran:
47049 @if target-libgfortran
47050 maybe-html-target-libgfortran: html-target-libgfortran
47052 html-target-libgfortran: \
47053 configure-target-libgfortran
47054 @: $(MAKE); $(unstage)
47055 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47056 r=`${PWD_COMMAND}`; export r; \
47057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47058 $(NORMAL_TARGET_EXPORTS) \
47059 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
47060 for flag in $(EXTRA_TARGET_FLAGS); do \
47061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47062 done; \
47063 (cd $(TARGET_SUBDIR)/libgfortran && \
47064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47066 "RANLIB=$${RANLIB}" \
47067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47068 html) \
47069 || exit 1
47071 @endif target-libgfortran
47073 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
47074 maybe-TAGS-target-libgfortran:
47075 @if target-libgfortran
47076 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
47078 TAGS-target-libgfortran: \
47079 configure-target-libgfortran
47080 @: $(MAKE); $(unstage)
47081 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47082 r=`${PWD_COMMAND}`; export r; \
47083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47084 $(NORMAL_TARGET_EXPORTS) \
47085 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
47086 for flag in $(EXTRA_TARGET_FLAGS); do \
47087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47088 done; \
47089 (cd $(TARGET_SUBDIR)/libgfortran && \
47090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47092 "RANLIB=$${RANLIB}" \
47093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47094 TAGS) \
47095 || exit 1
47097 @endif target-libgfortran
47099 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
47100 maybe-install-info-target-libgfortran:
47101 @if target-libgfortran
47102 maybe-install-info-target-libgfortran: install-info-target-libgfortran
47104 install-info-target-libgfortran: \
47105 configure-target-libgfortran \
47106 info-target-libgfortran
47107 @: $(MAKE); $(unstage)
47108 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47109 r=`${PWD_COMMAND}`; export r; \
47110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47111 $(NORMAL_TARGET_EXPORTS) \
47112 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
47113 for flag in $(EXTRA_TARGET_FLAGS); do \
47114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47115 done; \
47116 (cd $(TARGET_SUBDIR)/libgfortran && \
47117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47119 "RANLIB=$${RANLIB}" \
47120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47121 install-info) \
47122 || exit 1
47124 @endif target-libgfortran
47126 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
47127 maybe-install-pdf-target-libgfortran:
47128 @if target-libgfortran
47129 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
47131 install-pdf-target-libgfortran: \
47132 configure-target-libgfortran \
47133 pdf-target-libgfortran
47134 @: $(MAKE); $(unstage)
47135 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47136 r=`${PWD_COMMAND}`; export r; \
47137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47138 $(NORMAL_TARGET_EXPORTS) \
47139 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
47140 for flag in $(EXTRA_TARGET_FLAGS); do \
47141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47142 done; \
47143 (cd $(TARGET_SUBDIR)/libgfortran && \
47144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47146 "RANLIB=$${RANLIB}" \
47147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47148 install-pdf) \
47149 || exit 1
47151 @endif target-libgfortran
47153 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
47154 maybe-install-html-target-libgfortran:
47155 @if target-libgfortran
47156 maybe-install-html-target-libgfortran: install-html-target-libgfortran
47158 install-html-target-libgfortran: \
47159 configure-target-libgfortran \
47160 html-target-libgfortran
47161 @: $(MAKE); $(unstage)
47162 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47163 r=`${PWD_COMMAND}`; export r; \
47164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47165 $(NORMAL_TARGET_EXPORTS) \
47166 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
47167 for flag in $(EXTRA_TARGET_FLAGS); do \
47168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47169 done; \
47170 (cd $(TARGET_SUBDIR)/libgfortran && \
47171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47173 "RANLIB=$${RANLIB}" \
47174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47175 install-html) \
47176 || exit 1
47178 @endif target-libgfortran
47180 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
47181 maybe-installcheck-target-libgfortran:
47182 @if target-libgfortran
47183 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
47185 installcheck-target-libgfortran: \
47186 configure-target-libgfortran
47187 @: $(MAKE); $(unstage)
47188 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47189 r=`${PWD_COMMAND}`; export r; \
47190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47191 $(NORMAL_TARGET_EXPORTS) \
47192 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
47193 for flag in $(EXTRA_TARGET_FLAGS); do \
47194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47195 done; \
47196 (cd $(TARGET_SUBDIR)/libgfortran && \
47197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47199 "RANLIB=$${RANLIB}" \
47200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47201 installcheck) \
47202 || exit 1
47204 @endif target-libgfortran
47206 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
47207 maybe-mostlyclean-target-libgfortran:
47208 @if target-libgfortran
47209 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
47211 mostlyclean-target-libgfortran:
47212 @: $(MAKE); $(unstage)
47213 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47214 r=`${PWD_COMMAND}`; export r; \
47215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47216 $(NORMAL_TARGET_EXPORTS) \
47217 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
47218 for flag in $(EXTRA_TARGET_FLAGS); do \
47219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47220 done; \
47221 (cd $(TARGET_SUBDIR)/libgfortran && \
47222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47224 "RANLIB=$${RANLIB}" \
47225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47226 mostlyclean) \
47227 || exit 1
47229 @endif target-libgfortran
47231 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
47232 maybe-clean-target-libgfortran:
47233 @if target-libgfortran
47234 maybe-clean-target-libgfortran: clean-target-libgfortran
47236 clean-target-libgfortran:
47237 @: $(MAKE); $(unstage)
47238 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47239 r=`${PWD_COMMAND}`; export r; \
47240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47241 $(NORMAL_TARGET_EXPORTS) \
47242 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
47243 for flag in $(EXTRA_TARGET_FLAGS); do \
47244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47245 done; \
47246 (cd $(TARGET_SUBDIR)/libgfortran && \
47247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47249 "RANLIB=$${RANLIB}" \
47250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47251 clean) \
47252 || exit 1
47254 @endif target-libgfortran
47256 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
47257 maybe-distclean-target-libgfortran:
47258 @if target-libgfortran
47259 maybe-distclean-target-libgfortran: distclean-target-libgfortran
47261 distclean-target-libgfortran:
47262 @: $(MAKE); $(unstage)
47263 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47264 r=`${PWD_COMMAND}`; export r; \
47265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47266 $(NORMAL_TARGET_EXPORTS) \
47267 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
47268 for flag in $(EXTRA_TARGET_FLAGS); do \
47269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47270 done; \
47271 (cd $(TARGET_SUBDIR)/libgfortran && \
47272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47274 "RANLIB=$${RANLIB}" \
47275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47276 distclean) \
47277 || exit 1
47279 @endif target-libgfortran
47281 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
47282 maybe-maintainer-clean-target-libgfortran:
47283 @if target-libgfortran
47284 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
47286 maintainer-clean-target-libgfortran:
47287 @: $(MAKE); $(unstage)
47288 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47289 r=`${PWD_COMMAND}`; export r; \
47290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47291 $(NORMAL_TARGET_EXPORTS) \
47292 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
47293 for flag in $(EXTRA_TARGET_FLAGS); do \
47294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47295 done; \
47296 (cd $(TARGET_SUBDIR)/libgfortran && \
47297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47299 "RANLIB=$${RANLIB}" \
47300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47301 maintainer-clean) \
47302 || exit 1
47304 @endif target-libgfortran
47310 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
47311 maybe-configure-target-libobjc:
47312 @if gcc-bootstrap
47313 configure-target-libobjc: stage_current
47314 @endif gcc-bootstrap
47315 @if target-libobjc
47316 maybe-configure-target-libobjc: configure-target-libobjc
47317 configure-target-libobjc:
47318 @: $(MAKE); $(unstage)
47319 @r=`${PWD_COMMAND}`; export r; \
47320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47321 echo "Checking multilib configuration for libobjc..."; \
47322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
47323 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
47324 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
47325 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
47326 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
47327 else \
47328 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
47329 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
47330 fi; \
47331 else \
47332 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
47333 fi; \
47334 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
47335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
47336 $(NORMAL_TARGET_EXPORTS) \
47337 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
47338 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
47339 case $(srcdir) in \
47340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47341 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
47342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47343 esac; \
47344 module_srcdir=libobjc; \
47345 rm -f no-such-file || : ; \
47346 CONFIG_SITE=no-such-file $(SHELL) \
47347 $$s/$$module_srcdir/configure \
47348 --srcdir=$${topdir}/$$module_srcdir \
47349 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47350 --target=${target_alias} \
47351 || exit 1
47352 @endif target-libobjc
47358 .PHONY: all-target-libobjc maybe-all-target-libobjc
47359 maybe-all-target-libobjc:
47360 @if gcc-bootstrap
47361 all-target-libobjc: stage_current
47362 @endif gcc-bootstrap
47363 @if target-libobjc
47364 TARGET-target-libobjc=all
47365 maybe-all-target-libobjc: all-target-libobjc
47366 all-target-libobjc: configure-target-libobjc
47367 @: $(MAKE); $(unstage)
47368 @r=`${PWD_COMMAND}`; export r; \
47369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47370 $(NORMAL_TARGET_EXPORTS) \
47371 (cd $(TARGET_SUBDIR)/libobjc && \
47372 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47373 $(TARGET-target-libobjc))
47374 @endif target-libobjc
47380 .PHONY: check-target-libobjc maybe-check-target-libobjc
47381 maybe-check-target-libobjc:
47382 @if target-libobjc
47383 maybe-check-target-libobjc: check-target-libobjc
47385 check-target-libobjc:
47386 @: $(MAKE); $(unstage)
47387 @r=`${PWD_COMMAND}`; export r; \
47388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47389 $(NORMAL_TARGET_EXPORTS) \
47390 (cd $(TARGET_SUBDIR)/libobjc && \
47391 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47393 @endif target-libobjc
47395 .PHONY: install-target-libobjc maybe-install-target-libobjc
47396 maybe-install-target-libobjc:
47397 @if target-libobjc
47398 maybe-install-target-libobjc: install-target-libobjc
47400 install-target-libobjc: installdirs
47401 @: $(MAKE); $(unstage)
47402 @r=`${PWD_COMMAND}`; export r; \
47403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47404 $(NORMAL_TARGET_EXPORTS) \
47405 (cd $(TARGET_SUBDIR)/libobjc && \
47406 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47408 @endif target-libobjc
47410 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
47411 maybe-install-strip-target-libobjc:
47412 @if target-libobjc
47413 maybe-install-strip-target-libobjc: install-strip-target-libobjc
47415 install-strip-target-libobjc: installdirs
47416 @: $(MAKE); $(unstage)
47417 @r=`${PWD_COMMAND}`; export r; \
47418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47419 $(NORMAL_TARGET_EXPORTS) \
47420 (cd $(TARGET_SUBDIR)/libobjc && \
47421 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47423 @endif target-libobjc
47425 # Other targets (info, dvi, pdf, etc.)
47427 .PHONY: maybe-info-target-libobjc info-target-libobjc
47428 maybe-info-target-libobjc:
47429 @if target-libobjc
47430 maybe-info-target-libobjc: info-target-libobjc
47432 info-target-libobjc: \
47433 configure-target-libobjc
47434 @: $(MAKE); $(unstage)
47435 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47436 r=`${PWD_COMMAND}`; export r; \
47437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47438 $(NORMAL_TARGET_EXPORTS) \
47439 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
47440 for flag in $(EXTRA_TARGET_FLAGS); do \
47441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47442 done; \
47443 (cd $(TARGET_SUBDIR)/libobjc && \
47444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47446 "RANLIB=$${RANLIB}" \
47447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47448 info) \
47449 || exit 1
47451 @endif target-libobjc
47453 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
47454 maybe-dvi-target-libobjc:
47455 @if target-libobjc
47456 maybe-dvi-target-libobjc: dvi-target-libobjc
47458 dvi-target-libobjc: \
47459 configure-target-libobjc
47460 @: $(MAKE); $(unstage)
47461 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47462 r=`${PWD_COMMAND}`; export r; \
47463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47464 $(NORMAL_TARGET_EXPORTS) \
47465 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
47466 for flag in $(EXTRA_TARGET_FLAGS); do \
47467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47468 done; \
47469 (cd $(TARGET_SUBDIR)/libobjc && \
47470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47472 "RANLIB=$${RANLIB}" \
47473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47474 dvi) \
47475 || exit 1
47477 @endif target-libobjc
47479 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
47480 maybe-pdf-target-libobjc:
47481 @if target-libobjc
47482 maybe-pdf-target-libobjc: pdf-target-libobjc
47484 pdf-target-libobjc: \
47485 configure-target-libobjc
47486 @: $(MAKE); $(unstage)
47487 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47488 r=`${PWD_COMMAND}`; export r; \
47489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47490 $(NORMAL_TARGET_EXPORTS) \
47491 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
47492 for flag in $(EXTRA_TARGET_FLAGS); do \
47493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47494 done; \
47495 (cd $(TARGET_SUBDIR)/libobjc && \
47496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47498 "RANLIB=$${RANLIB}" \
47499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47500 pdf) \
47501 || exit 1
47503 @endif target-libobjc
47505 .PHONY: maybe-html-target-libobjc html-target-libobjc
47506 maybe-html-target-libobjc:
47507 @if target-libobjc
47508 maybe-html-target-libobjc: html-target-libobjc
47510 html-target-libobjc: \
47511 configure-target-libobjc
47512 @: $(MAKE); $(unstage)
47513 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47514 r=`${PWD_COMMAND}`; export r; \
47515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47516 $(NORMAL_TARGET_EXPORTS) \
47517 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
47518 for flag in $(EXTRA_TARGET_FLAGS); do \
47519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47520 done; \
47521 (cd $(TARGET_SUBDIR)/libobjc && \
47522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47524 "RANLIB=$${RANLIB}" \
47525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47526 html) \
47527 || exit 1
47529 @endif target-libobjc
47531 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
47532 maybe-TAGS-target-libobjc:
47533 @if target-libobjc
47534 maybe-TAGS-target-libobjc: TAGS-target-libobjc
47536 TAGS-target-libobjc: \
47537 configure-target-libobjc
47538 @: $(MAKE); $(unstage)
47539 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47540 r=`${PWD_COMMAND}`; export r; \
47541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47542 $(NORMAL_TARGET_EXPORTS) \
47543 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
47544 for flag in $(EXTRA_TARGET_FLAGS); do \
47545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47546 done; \
47547 (cd $(TARGET_SUBDIR)/libobjc && \
47548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47550 "RANLIB=$${RANLIB}" \
47551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47552 TAGS) \
47553 || exit 1
47555 @endif target-libobjc
47557 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
47558 maybe-install-info-target-libobjc:
47559 @if target-libobjc
47560 maybe-install-info-target-libobjc: install-info-target-libobjc
47562 install-info-target-libobjc: \
47563 configure-target-libobjc \
47564 info-target-libobjc
47565 @: $(MAKE); $(unstage)
47566 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47567 r=`${PWD_COMMAND}`; export r; \
47568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47569 $(NORMAL_TARGET_EXPORTS) \
47570 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
47571 for flag in $(EXTRA_TARGET_FLAGS); do \
47572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47573 done; \
47574 (cd $(TARGET_SUBDIR)/libobjc && \
47575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47577 "RANLIB=$${RANLIB}" \
47578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47579 install-info) \
47580 || exit 1
47582 @endif target-libobjc
47584 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
47585 maybe-install-pdf-target-libobjc:
47586 @if target-libobjc
47587 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
47589 install-pdf-target-libobjc: \
47590 configure-target-libobjc \
47591 pdf-target-libobjc
47592 @: $(MAKE); $(unstage)
47593 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47594 r=`${PWD_COMMAND}`; export r; \
47595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47596 $(NORMAL_TARGET_EXPORTS) \
47597 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
47598 for flag in $(EXTRA_TARGET_FLAGS); do \
47599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47600 done; \
47601 (cd $(TARGET_SUBDIR)/libobjc && \
47602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47604 "RANLIB=$${RANLIB}" \
47605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47606 install-pdf) \
47607 || exit 1
47609 @endif target-libobjc
47611 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
47612 maybe-install-html-target-libobjc:
47613 @if target-libobjc
47614 maybe-install-html-target-libobjc: install-html-target-libobjc
47616 install-html-target-libobjc: \
47617 configure-target-libobjc \
47618 html-target-libobjc
47619 @: $(MAKE); $(unstage)
47620 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47621 r=`${PWD_COMMAND}`; export r; \
47622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47623 $(NORMAL_TARGET_EXPORTS) \
47624 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
47625 for flag in $(EXTRA_TARGET_FLAGS); do \
47626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47627 done; \
47628 (cd $(TARGET_SUBDIR)/libobjc && \
47629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47631 "RANLIB=$${RANLIB}" \
47632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47633 install-html) \
47634 || exit 1
47636 @endif target-libobjc
47638 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
47639 maybe-installcheck-target-libobjc:
47640 @if target-libobjc
47641 maybe-installcheck-target-libobjc: installcheck-target-libobjc
47643 installcheck-target-libobjc: \
47644 configure-target-libobjc
47645 @: $(MAKE); $(unstage)
47646 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47647 r=`${PWD_COMMAND}`; export r; \
47648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47649 $(NORMAL_TARGET_EXPORTS) \
47650 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
47651 for flag in $(EXTRA_TARGET_FLAGS); do \
47652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47653 done; \
47654 (cd $(TARGET_SUBDIR)/libobjc && \
47655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47657 "RANLIB=$${RANLIB}" \
47658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47659 installcheck) \
47660 || exit 1
47662 @endif target-libobjc
47664 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
47665 maybe-mostlyclean-target-libobjc:
47666 @if target-libobjc
47667 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
47669 mostlyclean-target-libobjc:
47670 @: $(MAKE); $(unstage)
47671 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47672 r=`${PWD_COMMAND}`; export r; \
47673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47674 $(NORMAL_TARGET_EXPORTS) \
47675 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
47676 for flag in $(EXTRA_TARGET_FLAGS); do \
47677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47678 done; \
47679 (cd $(TARGET_SUBDIR)/libobjc && \
47680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47682 "RANLIB=$${RANLIB}" \
47683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47684 mostlyclean) \
47685 || exit 1
47687 @endif target-libobjc
47689 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
47690 maybe-clean-target-libobjc:
47691 @if target-libobjc
47692 maybe-clean-target-libobjc: clean-target-libobjc
47694 clean-target-libobjc:
47695 @: $(MAKE); $(unstage)
47696 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47697 r=`${PWD_COMMAND}`; export r; \
47698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47699 $(NORMAL_TARGET_EXPORTS) \
47700 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
47701 for flag in $(EXTRA_TARGET_FLAGS); do \
47702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47703 done; \
47704 (cd $(TARGET_SUBDIR)/libobjc && \
47705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47707 "RANLIB=$${RANLIB}" \
47708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47709 clean) \
47710 || exit 1
47712 @endif target-libobjc
47714 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
47715 maybe-distclean-target-libobjc:
47716 @if target-libobjc
47717 maybe-distclean-target-libobjc: distclean-target-libobjc
47719 distclean-target-libobjc:
47720 @: $(MAKE); $(unstage)
47721 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47722 r=`${PWD_COMMAND}`; export r; \
47723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47724 $(NORMAL_TARGET_EXPORTS) \
47725 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
47726 for flag in $(EXTRA_TARGET_FLAGS); do \
47727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47728 done; \
47729 (cd $(TARGET_SUBDIR)/libobjc && \
47730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47732 "RANLIB=$${RANLIB}" \
47733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47734 distclean) \
47735 || exit 1
47737 @endif target-libobjc
47739 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
47740 maybe-maintainer-clean-target-libobjc:
47741 @if target-libobjc
47742 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
47744 maintainer-clean-target-libobjc:
47745 @: $(MAKE); $(unstage)
47746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47747 r=`${PWD_COMMAND}`; export r; \
47748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47749 $(NORMAL_TARGET_EXPORTS) \
47750 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
47751 for flag in $(EXTRA_TARGET_FLAGS); do \
47752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47753 done; \
47754 (cd $(TARGET_SUBDIR)/libobjc && \
47755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47757 "RANLIB=$${RANLIB}" \
47758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47759 maintainer-clean) \
47760 || exit 1
47762 @endif target-libobjc
47768 .PHONY: configure-target-libgo maybe-configure-target-libgo
47769 maybe-configure-target-libgo:
47770 @if gcc-bootstrap
47771 configure-target-libgo: stage_current
47772 @endif gcc-bootstrap
47773 @if target-libgo
47774 maybe-configure-target-libgo: configure-target-libgo
47775 configure-target-libgo:
47776 @: $(MAKE); $(unstage)
47777 @r=`${PWD_COMMAND}`; export r; \
47778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47779 echo "Checking multilib configuration for libgo..."; \
47780 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47781 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
47782 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
47783 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
47784 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
47785 else \
47786 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
47787 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47788 fi; \
47789 else \
47790 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47791 fi; \
47792 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
47793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47794 $(NORMAL_TARGET_EXPORTS) \
47795 echo Configuring in $(TARGET_SUBDIR)/libgo; \
47796 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
47797 case $(srcdir) in \
47798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47799 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
47800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47801 esac; \
47802 module_srcdir=libgo; \
47803 rm -f no-such-file || : ; \
47804 CONFIG_SITE=no-such-file $(SHELL) \
47805 $$s/$$module_srcdir/configure \
47806 --srcdir=$${topdir}/$$module_srcdir \
47807 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47808 --target=${target_alias} \
47809 || exit 1
47810 @endif target-libgo
47816 .PHONY: all-target-libgo maybe-all-target-libgo
47817 maybe-all-target-libgo:
47818 @if gcc-bootstrap
47819 all-target-libgo: stage_current
47820 @endif gcc-bootstrap
47821 @if target-libgo
47822 TARGET-target-libgo=all
47823 maybe-all-target-libgo: all-target-libgo
47824 all-target-libgo: configure-target-libgo
47825 @: $(MAKE); $(unstage)
47826 @r=`${PWD_COMMAND}`; export r; \
47827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47828 $(NORMAL_TARGET_EXPORTS) \
47829 (cd $(TARGET_SUBDIR)/libgo && \
47830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47831 $(TARGET-target-libgo))
47832 @endif target-libgo
47838 .PHONY: check-target-libgo maybe-check-target-libgo
47839 maybe-check-target-libgo:
47840 @if target-libgo
47841 maybe-check-target-libgo: check-target-libgo
47843 check-target-libgo:
47844 @: $(MAKE); $(unstage)
47845 @r=`${PWD_COMMAND}`; export r; \
47846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47847 $(NORMAL_TARGET_EXPORTS) \
47848 (cd $(TARGET_SUBDIR)/libgo && \
47849 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47851 @endif target-libgo
47853 .PHONY: install-target-libgo maybe-install-target-libgo
47854 maybe-install-target-libgo:
47855 @if target-libgo
47856 maybe-install-target-libgo: install-target-libgo
47858 install-target-libgo: installdirs
47859 @: $(MAKE); $(unstage)
47860 @r=`${PWD_COMMAND}`; export r; \
47861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47862 $(NORMAL_TARGET_EXPORTS) \
47863 (cd $(TARGET_SUBDIR)/libgo && \
47864 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47866 @endif target-libgo
47868 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
47869 maybe-install-strip-target-libgo:
47870 @if target-libgo
47871 maybe-install-strip-target-libgo: install-strip-target-libgo
47873 install-strip-target-libgo: installdirs
47874 @: $(MAKE); $(unstage)
47875 @r=`${PWD_COMMAND}`; export r; \
47876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47877 $(NORMAL_TARGET_EXPORTS) \
47878 (cd $(TARGET_SUBDIR)/libgo && \
47879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47881 @endif target-libgo
47883 # Other targets (info, dvi, pdf, etc.)
47885 .PHONY: maybe-info-target-libgo info-target-libgo
47886 maybe-info-target-libgo:
47887 @if target-libgo
47888 maybe-info-target-libgo: info-target-libgo
47890 info-target-libgo: \
47891 configure-target-libgo
47892 @: $(MAKE); $(unstage)
47893 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47894 r=`${PWD_COMMAND}`; export r; \
47895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47896 $(NORMAL_TARGET_EXPORTS) \
47897 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
47898 for flag in $(EXTRA_TARGET_FLAGS); do \
47899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47900 done; \
47901 (cd $(TARGET_SUBDIR)/libgo && \
47902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47904 "RANLIB=$${RANLIB}" \
47905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47906 info) \
47907 || exit 1
47909 @endif target-libgo
47911 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
47912 maybe-dvi-target-libgo:
47913 @if target-libgo
47914 maybe-dvi-target-libgo: dvi-target-libgo
47916 dvi-target-libgo: \
47917 configure-target-libgo
47918 @: $(MAKE); $(unstage)
47919 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47920 r=`${PWD_COMMAND}`; export r; \
47921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47922 $(NORMAL_TARGET_EXPORTS) \
47923 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
47924 for flag in $(EXTRA_TARGET_FLAGS); do \
47925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47926 done; \
47927 (cd $(TARGET_SUBDIR)/libgo && \
47928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47930 "RANLIB=$${RANLIB}" \
47931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47932 dvi) \
47933 || exit 1
47935 @endif target-libgo
47937 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
47938 maybe-pdf-target-libgo:
47939 @if target-libgo
47940 maybe-pdf-target-libgo: pdf-target-libgo
47942 pdf-target-libgo: \
47943 configure-target-libgo
47944 @: $(MAKE); $(unstage)
47945 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47946 r=`${PWD_COMMAND}`; export r; \
47947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47948 $(NORMAL_TARGET_EXPORTS) \
47949 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
47950 for flag in $(EXTRA_TARGET_FLAGS); do \
47951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47952 done; \
47953 (cd $(TARGET_SUBDIR)/libgo && \
47954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47956 "RANLIB=$${RANLIB}" \
47957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47958 pdf) \
47959 || exit 1
47961 @endif target-libgo
47963 .PHONY: maybe-html-target-libgo html-target-libgo
47964 maybe-html-target-libgo:
47965 @if target-libgo
47966 maybe-html-target-libgo: html-target-libgo
47968 html-target-libgo: \
47969 configure-target-libgo
47970 @: $(MAKE); $(unstage)
47971 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47972 r=`${PWD_COMMAND}`; export r; \
47973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47974 $(NORMAL_TARGET_EXPORTS) \
47975 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
47976 for flag in $(EXTRA_TARGET_FLAGS); do \
47977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47978 done; \
47979 (cd $(TARGET_SUBDIR)/libgo && \
47980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47982 "RANLIB=$${RANLIB}" \
47983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47984 html) \
47985 || exit 1
47987 @endif target-libgo
47989 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
47990 maybe-TAGS-target-libgo:
47991 @if target-libgo
47992 maybe-TAGS-target-libgo: TAGS-target-libgo
47994 TAGS-target-libgo: \
47995 configure-target-libgo
47996 @: $(MAKE); $(unstage)
47997 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47998 r=`${PWD_COMMAND}`; export r; \
47999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48000 $(NORMAL_TARGET_EXPORTS) \
48001 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
48002 for flag in $(EXTRA_TARGET_FLAGS); do \
48003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48004 done; \
48005 (cd $(TARGET_SUBDIR)/libgo && \
48006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48008 "RANLIB=$${RANLIB}" \
48009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48010 TAGS) \
48011 || exit 1
48013 @endif target-libgo
48015 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
48016 maybe-install-info-target-libgo:
48017 @if target-libgo
48018 maybe-install-info-target-libgo: install-info-target-libgo
48020 install-info-target-libgo: \
48021 configure-target-libgo \
48022 info-target-libgo
48023 @: $(MAKE); $(unstage)
48024 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48025 r=`${PWD_COMMAND}`; export r; \
48026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48027 $(NORMAL_TARGET_EXPORTS) \
48028 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
48029 for flag in $(EXTRA_TARGET_FLAGS); do \
48030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48031 done; \
48032 (cd $(TARGET_SUBDIR)/libgo && \
48033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48035 "RANLIB=$${RANLIB}" \
48036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48037 install-info) \
48038 || exit 1
48040 @endif target-libgo
48042 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
48043 maybe-install-pdf-target-libgo:
48044 @if target-libgo
48045 maybe-install-pdf-target-libgo: install-pdf-target-libgo
48047 install-pdf-target-libgo: \
48048 configure-target-libgo \
48049 pdf-target-libgo
48050 @: $(MAKE); $(unstage)
48051 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48052 r=`${PWD_COMMAND}`; export r; \
48053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48054 $(NORMAL_TARGET_EXPORTS) \
48055 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
48056 for flag in $(EXTRA_TARGET_FLAGS); do \
48057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48058 done; \
48059 (cd $(TARGET_SUBDIR)/libgo && \
48060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48062 "RANLIB=$${RANLIB}" \
48063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48064 install-pdf) \
48065 || exit 1
48067 @endif target-libgo
48069 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
48070 maybe-install-html-target-libgo:
48071 @if target-libgo
48072 maybe-install-html-target-libgo: install-html-target-libgo
48074 install-html-target-libgo: \
48075 configure-target-libgo \
48076 html-target-libgo
48077 @: $(MAKE); $(unstage)
48078 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48079 r=`${PWD_COMMAND}`; export r; \
48080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48081 $(NORMAL_TARGET_EXPORTS) \
48082 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
48083 for flag in $(EXTRA_TARGET_FLAGS); do \
48084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48085 done; \
48086 (cd $(TARGET_SUBDIR)/libgo && \
48087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48089 "RANLIB=$${RANLIB}" \
48090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48091 install-html) \
48092 || exit 1
48094 @endif target-libgo
48096 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
48097 maybe-installcheck-target-libgo:
48098 @if target-libgo
48099 maybe-installcheck-target-libgo: installcheck-target-libgo
48101 installcheck-target-libgo: \
48102 configure-target-libgo
48103 @: $(MAKE); $(unstage)
48104 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48105 r=`${PWD_COMMAND}`; export r; \
48106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48107 $(NORMAL_TARGET_EXPORTS) \
48108 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
48109 for flag in $(EXTRA_TARGET_FLAGS); do \
48110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48111 done; \
48112 (cd $(TARGET_SUBDIR)/libgo && \
48113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48115 "RANLIB=$${RANLIB}" \
48116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48117 installcheck) \
48118 || exit 1
48120 @endif target-libgo
48122 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
48123 maybe-mostlyclean-target-libgo:
48124 @if target-libgo
48125 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
48127 mostlyclean-target-libgo:
48128 @: $(MAKE); $(unstage)
48129 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48130 r=`${PWD_COMMAND}`; export r; \
48131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48132 $(NORMAL_TARGET_EXPORTS) \
48133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
48134 for flag in $(EXTRA_TARGET_FLAGS); do \
48135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48136 done; \
48137 (cd $(TARGET_SUBDIR)/libgo && \
48138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48140 "RANLIB=$${RANLIB}" \
48141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48142 mostlyclean) \
48143 || exit 1
48145 @endif target-libgo
48147 .PHONY: maybe-clean-target-libgo clean-target-libgo
48148 maybe-clean-target-libgo:
48149 @if target-libgo
48150 maybe-clean-target-libgo: clean-target-libgo
48152 clean-target-libgo:
48153 @: $(MAKE); $(unstage)
48154 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48155 r=`${PWD_COMMAND}`; export r; \
48156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48157 $(NORMAL_TARGET_EXPORTS) \
48158 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
48159 for flag in $(EXTRA_TARGET_FLAGS); do \
48160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48161 done; \
48162 (cd $(TARGET_SUBDIR)/libgo && \
48163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48165 "RANLIB=$${RANLIB}" \
48166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48167 clean) \
48168 || exit 1
48170 @endif target-libgo
48172 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
48173 maybe-distclean-target-libgo:
48174 @if target-libgo
48175 maybe-distclean-target-libgo: distclean-target-libgo
48177 distclean-target-libgo:
48178 @: $(MAKE); $(unstage)
48179 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48180 r=`${PWD_COMMAND}`; export r; \
48181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48182 $(NORMAL_TARGET_EXPORTS) \
48183 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
48184 for flag in $(EXTRA_TARGET_FLAGS); do \
48185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48186 done; \
48187 (cd $(TARGET_SUBDIR)/libgo && \
48188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48190 "RANLIB=$${RANLIB}" \
48191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48192 distclean) \
48193 || exit 1
48195 @endif target-libgo
48197 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
48198 maybe-maintainer-clean-target-libgo:
48199 @if target-libgo
48200 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
48202 maintainer-clean-target-libgo:
48203 @: $(MAKE); $(unstage)
48204 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48205 r=`${PWD_COMMAND}`; export r; \
48206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48207 $(NORMAL_TARGET_EXPORTS) \
48208 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
48209 for flag in $(EXTRA_TARGET_FLAGS); do \
48210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48211 done; \
48212 (cd $(TARGET_SUBDIR)/libgo && \
48213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48215 "RANLIB=$${RANLIB}" \
48216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48217 maintainer-clean) \
48218 || exit 1
48220 @endif target-libgo
48226 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
48227 maybe-configure-target-libhsail-rt:
48228 @if gcc-bootstrap
48229 configure-target-libhsail-rt: stage_current
48230 @endif gcc-bootstrap
48231 @if target-libhsail-rt
48232 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
48233 configure-target-libhsail-rt:
48234 @: $(MAKE); $(unstage)
48235 @r=`${PWD_COMMAND}`; export r; \
48236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48237 echo "Checking multilib configuration for libhsail-rt..."; \
48238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
48239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
48240 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
48241 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
48242 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
48243 else \
48244 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
48245 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
48246 fi; \
48247 else \
48248 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
48249 fi; \
48250 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
48251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
48252 $(NORMAL_TARGET_EXPORTS) \
48253 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
48254 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
48255 case $(srcdir) in \
48256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48257 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
48258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48259 esac; \
48260 module_srcdir=libhsail-rt; \
48261 rm -f no-such-file || : ; \
48262 CONFIG_SITE=no-such-file $(SHELL) \
48263 $$s/$$module_srcdir/configure \
48264 --srcdir=$${topdir}/$$module_srcdir \
48265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48266 --target=${target_alias} \
48267 || exit 1
48268 @endif target-libhsail-rt
48274 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
48275 maybe-all-target-libhsail-rt:
48276 @if gcc-bootstrap
48277 all-target-libhsail-rt: stage_current
48278 @endif gcc-bootstrap
48279 @if target-libhsail-rt
48280 TARGET-target-libhsail-rt=all
48281 maybe-all-target-libhsail-rt: all-target-libhsail-rt
48282 all-target-libhsail-rt: configure-target-libhsail-rt
48283 @: $(MAKE); $(unstage)
48284 @r=`${PWD_COMMAND}`; export r; \
48285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48286 $(NORMAL_TARGET_EXPORTS) \
48287 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48288 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48289 $(TARGET-target-libhsail-rt))
48290 @endif target-libhsail-rt
48296 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
48297 maybe-check-target-libhsail-rt:
48298 @if target-libhsail-rt
48299 maybe-check-target-libhsail-rt: check-target-libhsail-rt
48301 check-target-libhsail-rt:
48302 @: $(MAKE); $(unstage)
48303 @r=`${PWD_COMMAND}`; export r; \
48304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48305 $(NORMAL_TARGET_EXPORTS) \
48306 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48307 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48309 @endif target-libhsail-rt
48311 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
48312 maybe-install-target-libhsail-rt:
48313 @if target-libhsail-rt
48314 maybe-install-target-libhsail-rt: install-target-libhsail-rt
48316 install-target-libhsail-rt: installdirs
48317 @: $(MAKE); $(unstage)
48318 @r=`${PWD_COMMAND}`; export r; \
48319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48320 $(NORMAL_TARGET_EXPORTS) \
48321 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48324 @endif target-libhsail-rt
48326 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
48327 maybe-install-strip-target-libhsail-rt:
48328 @if target-libhsail-rt
48329 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
48331 install-strip-target-libhsail-rt: installdirs
48332 @: $(MAKE); $(unstage)
48333 @r=`${PWD_COMMAND}`; export r; \
48334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48335 $(NORMAL_TARGET_EXPORTS) \
48336 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48339 @endif target-libhsail-rt
48341 # Other targets (info, dvi, pdf, etc.)
48343 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
48344 maybe-info-target-libhsail-rt:
48345 @if target-libhsail-rt
48346 maybe-info-target-libhsail-rt: info-target-libhsail-rt
48348 info-target-libhsail-rt: \
48349 configure-target-libhsail-rt
48350 @: $(MAKE); $(unstage)
48351 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48352 r=`${PWD_COMMAND}`; export r; \
48353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48354 $(NORMAL_TARGET_EXPORTS) \
48355 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
48356 for flag in $(EXTRA_TARGET_FLAGS); do \
48357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48358 done; \
48359 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48362 "RANLIB=$${RANLIB}" \
48363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48364 info) \
48365 || exit 1
48367 @endif target-libhsail-rt
48369 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
48370 maybe-dvi-target-libhsail-rt:
48371 @if target-libhsail-rt
48372 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
48374 dvi-target-libhsail-rt: \
48375 configure-target-libhsail-rt
48376 @: $(MAKE); $(unstage)
48377 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48378 r=`${PWD_COMMAND}`; export r; \
48379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48380 $(NORMAL_TARGET_EXPORTS) \
48381 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
48382 for flag in $(EXTRA_TARGET_FLAGS); do \
48383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48384 done; \
48385 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48388 "RANLIB=$${RANLIB}" \
48389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48390 dvi) \
48391 || exit 1
48393 @endif target-libhsail-rt
48395 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
48396 maybe-pdf-target-libhsail-rt:
48397 @if target-libhsail-rt
48398 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
48400 pdf-target-libhsail-rt: \
48401 configure-target-libhsail-rt
48402 @: $(MAKE); $(unstage)
48403 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48404 r=`${PWD_COMMAND}`; export r; \
48405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48406 $(NORMAL_TARGET_EXPORTS) \
48407 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48408 for flag in $(EXTRA_TARGET_FLAGS); do \
48409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48410 done; \
48411 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48414 "RANLIB=$${RANLIB}" \
48415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48416 pdf) \
48417 || exit 1
48419 @endif target-libhsail-rt
48421 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
48422 maybe-html-target-libhsail-rt:
48423 @if target-libhsail-rt
48424 maybe-html-target-libhsail-rt: html-target-libhsail-rt
48426 html-target-libhsail-rt: \
48427 configure-target-libhsail-rt
48428 @: $(MAKE); $(unstage)
48429 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48430 r=`${PWD_COMMAND}`; export r; \
48431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48432 $(NORMAL_TARGET_EXPORTS) \
48433 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
48434 for flag in $(EXTRA_TARGET_FLAGS); do \
48435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48436 done; \
48437 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48440 "RANLIB=$${RANLIB}" \
48441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48442 html) \
48443 || exit 1
48445 @endif target-libhsail-rt
48447 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
48448 maybe-TAGS-target-libhsail-rt:
48449 @if target-libhsail-rt
48450 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
48452 TAGS-target-libhsail-rt: \
48453 configure-target-libhsail-rt
48454 @: $(MAKE); $(unstage)
48455 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48456 r=`${PWD_COMMAND}`; export r; \
48457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48458 $(NORMAL_TARGET_EXPORTS) \
48459 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
48460 for flag in $(EXTRA_TARGET_FLAGS); do \
48461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48462 done; \
48463 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48466 "RANLIB=$${RANLIB}" \
48467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48468 TAGS) \
48469 || exit 1
48471 @endif target-libhsail-rt
48473 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
48474 maybe-install-info-target-libhsail-rt:
48475 @if target-libhsail-rt
48476 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
48478 install-info-target-libhsail-rt: \
48479 configure-target-libhsail-rt \
48480 info-target-libhsail-rt
48481 @: $(MAKE); $(unstage)
48482 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48483 r=`${PWD_COMMAND}`; export r; \
48484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48485 $(NORMAL_TARGET_EXPORTS) \
48486 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
48487 for flag in $(EXTRA_TARGET_FLAGS); do \
48488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48489 done; \
48490 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48493 "RANLIB=$${RANLIB}" \
48494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48495 install-info) \
48496 || exit 1
48498 @endif target-libhsail-rt
48500 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
48501 maybe-install-pdf-target-libhsail-rt:
48502 @if target-libhsail-rt
48503 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
48505 install-pdf-target-libhsail-rt: \
48506 configure-target-libhsail-rt \
48507 pdf-target-libhsail-rt
48508 @: $(MAKE); $(unstage)
48509 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48510 r=`${PWD_COMMAND}`; export r; \
48511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48512 $(NORMAL_TARGET_EXPORTS) \
48513 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48514 for flag in $(EXTRA_TARGET_FLAGS); do \
48515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48516 done; \
48517 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48520 "RANLIB=$${RANLIB}" \
48521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48522 install-pdf) \
48523 || exit 1
48525 @endif target-libhsail-rt
48527 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
48528 maybe-install-html-target-libhsail-rt:
48529 @if target-libhsail-rt
48530 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
48532 install-html-target-libhsail-rt: \
48533 configure-target-libhsail-rt \
48534 html-target-libhsail-rt
48535 @: $(MAKE); $(unstage)
48536 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48537 r=`${PWD_COMMAND}`; export r; \
48538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48539 $(NORMAL_TARGET_EXPORTS) \
48540 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
48541 for flag in $(EXTRA_TARGET_FLAGS); do \
48542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48543 done; \
48544 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48547 "RANLIB=$${RANLIB}" \
48548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48549 install-html) \
48550 || exit 1
48552 @endif target-libhsail-rt
48554 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
48555 maybe-installcheck-target-libhsail-rt:
48556 @if target-libhsail-rt
48557 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
48559 installcheck-target-libhsail-rt: \
48560 configure-target-libhsail-rt
48561 @: $(MAKE); $(unstage)
48562 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48563 r=`${PWD_COMMAND}`; export r; \
48564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48565 $(NORMAL_TARGET_EXPORTS) \
48566 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
48567 for flag in $(EXTRA_TARGET_FLAGS); do \
48568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48569 done; \
48570 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48573 "RANLIB=$${RANLIB}" \
48574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48575 installcheck) \
48576 || exit 1
48578 @endif target-libhsail-rt
48580 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
48581 maybe-mostlyclean-target-libhsail-rt:
48582 @if target-libhsail-rt
48583 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
48585 mostlyclean-target-libhsail-rt:
48586 @: $(MAKE); $(unstage)
48587 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48588 r=`${PWD_COMMAND}`; export r; \
48589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48590 $(NORMAL_TARGET_EXPORTS) \
48591 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48592 for flag in $(EXTRA_TARGET_FLAGS); do \
48593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48594 done; \
48595 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48598 "RANLIB=$${RANLIB}" \
48599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48600 mostlyclean) \
48601 || exit 1
48603 @endif target-libhsail-rt
48605 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
48606 maybe-clean-target-libhsail-rt:
48607 @if target-libhsail-rt
48608 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
48610 clean-target-libhsail-rt:
48611 @: $(MAKE); $(unstage)
48612 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48613 r=`${PWD_COMMAND}`; export r; \
48614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48615 $(NORMAL_TARGET_EXPORTS) \
48616 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48617 for flag in $(EXTRA_TARGET_FLAGS); do \
48618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48619 done; \
48620 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48623 "RANLIB=$${RANLIB}" \
48624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48625 clean) \
48626 || exit 1
48628 @endif target-libhsail-rt
48630 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
48631 maybe-distclean-target-libhsail-rt:
48632 @if target-libhsail-rt
48633 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
48635 distclean-target-libhsail-rt:
48636 @: $(MAKE); $(unstage)
48637 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48638 r=`${PWD_COMMAND}`; export r; \
48639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48640 $(NORMAL_TARGET_EXPORTS) \
48641 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48642 for flag in $(EXTRA_TARGET_FLAGS); do \
48643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48644 done; \
48645 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48648 "RANLIB=$${RANLIB}" \
48649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48650 distclean) \
48651 || exit 1
48653 @endif target-libhsail-rt
48655 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
48656 maybe-maintainer-clean-target-libhsail-rt:
48657 @if target-libhsail-rt
48658 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
48660 maintainer-clean-target-libhsail-rt:
48661 @: $(MAKE); $(unstage)
48662 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48663 r=`${PWD_COMMAND}`; export r; \
48664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48665 $(NORMAL_TARGET_EXPORTS) \
48666 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48667 for flag in $(EXTRA_TARGET_FLAGS); do \
48668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48669 done; \
48670 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48673 "RANLIB=$${RANLIB}" \
48674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48675 maintainer-clean) \
48676 || exit 1
48678 @endif target-libhsail-rt
48684 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
48685 maybe-configure-target-libtermcap:
48686 @if gcc-bootstrap
48687 configure-target-libtermcap: stage_current
48688 @endif gcc-bootstrap
48689 @if target-libtermcap
48690 maybe-configure-target-libtermcap: configure-target-libtermcap
48691 configure-target-libtermcap:
48692 @: $(MAKE); $(unstage)
48693 @r=`${PWD_COMMAND}`; export r; \
48694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48695 echo "Checking multilib configuration for libtermcap..."; \
48696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
48697 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
48698 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48699 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48700 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
48701 else \
48702 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
48703 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48704 fi; \
48705 else \
48706 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48707 fi; \
48708 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
48709 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
48710 $(NORMAL_TARGET_EXPORTS) \
48711 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
48712 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
48713 case $(srcdir) in \
48714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48715 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
48716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48717 esac; \
48718 module_srcdir=libtermcap; \
48719 rm -f no-such-file || : ; \
48720 CONFIG_SITE=no-such-file $(SHELL) \
48721 $$s/$$module_srcdir/configure \
48722 --srcdir=$${topdir}/$$module_srcdir \
48723 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48724 --target=${target_alias} \
48725 || exit 1
48726 @endif target-libtermcap
48732 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
48733 maybe-all-target-libtermcap:
48734 @if gcc-bootstrap
48735 all-target-libtermcap: stage_current
48736 @endif gcc-bootstrap
48737 @if target-libtermcap
48738 TARGET-target-libtermcap=all
48739 maybe-all-target-libtermcap: all-target-libtermcap
48740 all-target-libtermcap: configure-target-libtermcap
48741 @: $(MAKE); $(unstage)
48742 @r=`${PWD_COMMAND}`; export r; \
48743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48744 $(NORMAL_TARGET_EXPORTS) \
48745 (cd $(TARGET_SUBDIR)/libtermcap && \
48746 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48747 $(TARGET-target-libtermcap))
48748 @endif target-libtermcap
48754 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
48755 maybe-check-target-libtermcap:
48756 @if target-libtermcap
48757 maybe-check-target-libtermcap: check-target-libtermcap
48759 # Dummy target for uncheckable module.
48760 check-target-libtermcap:
48762 @endif target-libtermcap
48764 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
48765 maybe-install-target-libtermcap:
48766 @if target-libtermcap
48767 maybe-install-target-libtermcap: install-target-libtermcap
48769 install-target-libtermcap: installdirs
48770 @: $(MAKE); $(unstage)
48771 @r=`${PWD_COMMAND}`; export r; \
48772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48773 $(NORMAL_TARGET_EXPORTS) \
48774 (cd $(TARGET_SUBDIR)/libtermcap && \
48775 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48777 @endif target-libtermcap
48779 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
48780 maybe-install-strip-target-libtermcap:
48781 @if target-libtermcap
48782 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
48784 install-strip-target-libtermcap: installdirs
48785 @: $(MAKE); $(unstage)
48786 @r=`${PWD_COMMAND}`; export r; \
48787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48788 $(NORMAL_TARGET_EXPORTS) \
48789 (cd $(TARGET_SUBDIR)/libtermcap && \
48790 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48792 @endif target-libtermcap
48794 # Other targets (info, dvi, pdf, etc.)
48796 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
48797 maybe-info-target-libtermcap:
48798 @if target-libtermcap
48799 maybe-info-target-libtermcap: info-target-libtermcap
48801 info-target-libtermcap: \
48802 configure-target-libtermcap
48803 @: $(MAKE); $(unstage)
48804 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48805 r=`${PWD_COMMAND}`; export r; \
48806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48807 $(NORMAL_TARGET_EXPORTS) \
48808 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
48809 for flag in $(EXTRA_TARGET_FLAGS); do \
48810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48811 done; \
48812 (cd $(TARGET_SUBDIR)/libtermcap && \
48813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48815 "RANLIB=$${RANLIB}" \
48816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48817 info) \
48818 || exit 1
48820 @endif target-libtermcap
48822 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
48823 maybe-dvi-target-libtermcap:
48824 @if target-libtermcap
48825 maybe-dvi-target-libtermcap: dvi-target-libtermcap
48827 dvi-target-libtermcap: \
48828 configure-target-libtermcap
48829 @: $(MAKE); $(unstage)
48830 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48831 r=`${PWD_COMMAND}`; export r; \
48832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48833 $(NORMAL_TARGET_EXPORTS) \
48834 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
48835 for flag in $(EXTRA_TARGET_FLAGS); do \
48836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48837 done; \
48838 (cd $(TARGET_SUBDIR)/libtermcap && \
48839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48841 "RANLIB=$${RANLIB}" \
48842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48843 dvi) \
48844 || exit 1
48846 @endif target-libtermcap
48848 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
48849 maybe-pdf-target-libtermcap:
48850 @if target-libtermcap
48851 maybe-pdf-target-libtermcap: pdf-target-libtermcap
48853 pdf-target-libtermcap: \
48854 configure-target-libtermcap
48855 @: $(MAKE); $(unstage)
48856 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48857 r=`${PWD_COMMAND}`; export r; \
48858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48859 $(NORMAL_TARGET_EXPORTS) \
48860 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
48861 for flag in $(EXTRA_TARGET_FLAGS); do \
48862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48863 done; \
48864 (cd $(TARGET_SUBDIR)/libtermcap && \
48865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48867 "RANLIB=$${RANLIB}" \
48868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48869 pdf) \
48870 || exit 1
48872 @endif target-libtermcap
48874 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
48875 maybe-html-target-libtermcap:
48876 @if target-libtermcap
48877 maybe-html-target-libtermcap: html-target-libtermcap
48879 html-target-libtermcap: \
48880 configure-target-libtermcap
48881 @: $(MAKE); $(unstage)
48882 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48883 r=`${PWD_COMMAND}`; export r; \
48884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48885 $(NORMAL_TARGET_EXPORTS) \
48886 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
48887 for flag in $(EXTRA_TARGET_FLAGS); do \
48888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48889 done; \
48890 (cd $(TARGET_SUBDIR)/libtermcap && \
48891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48893 "RANLIB=$${RANLIB}" \
48894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48895 html) \
48896 || exit 1
48898 @endif target-libtermcap
48900 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
48901 maybe-TAGS-target-libtermcap:
48902 @if target-libtermcap
48903 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
48905 TAGS-target-libtermcap: \
48906 configure-target-libtermcap
48907 @: $(MAKE); $(unstage)
48908 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48909 r=`${PWD_COMMAND}`; export r; \
48910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48911 $(NORMAL_TARGET_EXPORTS) \
48912 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
48913 for flag in $(EXTRA_TARGET_FLAGS); do \
48914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48915 done; \
48916 (cd $(TARGET_SUBDIR)/libtermcap && \
48917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48919 "RANLIB=$${RANLIB}" \
48920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48921 TAGS) \
48922 || exit 1
48924 @endif target-libtermcap
48926 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
48927 maybe-install-info-target-libtermcap:
48928 @if target-libtermcap
48929 maybe-install-info-target-libtermcap: install-info-target-libtermcap
48931 install-info-target-libtermcap: \
48932 configure-target-libtermcap \
48933 info-target-libtermcap
48934 @: $(MAKE); $(unstage)
48935 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48936 r=`${PWD_COMMAND}`; export r; \
48937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48938 $(NORMAL_TARGET_EXPORTS) \
48939 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
48940 for flag in $(EXTRA_TARGET_FLAGS); do \
48941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48942 done; \
48943 (cd $(TARGET_SUBDIR)/libtermcap && \
48944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48946 "RANLIB=$${RANLIB}" \
48947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48948 install-info) \
48949 || exit 1
48951 @endif target-libtermcap
48953 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
48954 maybe-install-pdf-target-libtermcap:
48955 @if target-libtermcap
48956 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
48958 install-pdf-target-libtermcap: \
48959 configure-target-libtermcap \
48960 pdf-target-libtermcap
48961 @: $(MAKE); $(unstage)
48962 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48963 r=`${PWD_COMMAND}`; export r; \
48964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48965 $(NORMAL_TARGET_EXPORTS) \
48966 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
48967 for flag in $(EXTRA_TARGET_FLAGS); do \
48968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48969 done; \
48970 (cd $(TARGET_SUBDIR)/libtermcap && \
48971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48973 "RANLIB=$${RANLIB}" \
48974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48975 install-pdf) \
48976 || exit 1
48978 @endif target-libtermcap
48980 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
48981 maybe-install-html-target-libtermcap:
48982 @if target-libtermcap
48983 maybe-install-html-target-libtermcap: install-html-target-libtermcap
48985 install-html-target-libtermcap: \
48986 configure-target-libtermcap \
48987 html-target-libtermcap
48988 @: $(MAKE); $(unstage)
48989 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
48990 r=`${PWD_COMMAND}`; export r; \
48991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48992 $(NORMAL_TARGET_EXPORTS) \
48993 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
48994 for flag in $(EXTRA_TARGET_FLAGS); do \
48995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48996 done; \
48997 (cd $(TARGET_SUBDIR)/libtermcap && \
48998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49000 "RANLIB=$${RANLIB}" \
49001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49002 install-html) \
49003 || exit 1
49005 @endif target-libtermcap
49007 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
49008 maybe-installcheck-target-libtermcap:
49009 @if target-libtermcap
49010 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
49012 installcheck-target-libtermcap: \
49013 configure-target-libtermcap
49014 @: $(MAKE); $(unstage)
49015 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49016 r=`${PWD_COMMAND}`; export r; \
49017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49018 $(NORMAL_TARGET_EXPORTS) \
49019 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
49020 for flag in $(EXTRA_TARGET_FLAGS); do \
49021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49022 done; \
49023 (cd $(TARGET_SUBDIR)/libtermcap && \
49024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49026 "RANLIB=$${RANLIB}" \
49027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49028 installcheck) \
49029 || exit 1
49031 @endif target-libtermcap
49033 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
49034 maybe-mostlyclean-target-libtermcap:
49035 @if target-libtermcap
49036 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
49038 # libtermcap doesn't support mostlyclean.
49039 mostlyclean-target-libtermcap:
49041 @endif target-libtermcap
49043 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
49044 maybe-clean-target-libtermcap:
49045 @if target-libtermcap
49046 maybe-clean-target-libtermcap: clean-target-libtermcap
49048 # libtermcap doesn't support clean.
49049 clean-target-libtermcap:
49051 @endif target-libtermcap
49053 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
49054 maybe-distclean-target-libtermcap:
49055 @if target-libtermcap
49056 maybe-distclean-target-libtermcap: distclean-target-libtermcap
49058 # libtermcap doesn't support distclean.
49059 distclean-target-libtermcap:
49061 @endif target-libtermcap
49063 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
49064 maybe-maintainer-clean-target-libtermcap:
49065 @if target-libtermcap
49066 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
49068 # libtermcap doesn't support maintainer-clean.
49069 maintainer-clean-target-libtermcap:
49071 @endif target-libtermcap
49077 .PHONY: configure-target-winsup maybe-configure-target-winsup
49078 maybe-configure-target-winsup:
49079 @if gcc-bootstrap
49080 configure-target-winsup: stage_current
49081 @endif gcc-bootstrap
49082 @if target-winsup
49083 maybe-configure-target-winsup: configure-target-winsup
49084 configure-target-winsup:
49085 @: $(MAKE); $(unstage)
49086 @r=`${PWD_COMMAND}`; export r; \
49087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49088 echo "Checking multilib configuration for winsup..."; \
49089 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49090 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
49091 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
49092 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
49093 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
49094 else \
49095 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
49096 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49097 fi; \
49098 else \
49099 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49100 fi; \
49101 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
49102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49103 $(NORMAL_TARGET_EXPORTS) \
49104 echo Configuring in $(TARGET_SUBDIR)/winsup; \
49105 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
49106 case $(srcdir) in \
49107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49108 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
49109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49110 esac; \
49111 module_srcdir=winsup; \
49112 rm -f no-such-file || : ; \
49113 CONFIG_SITE=no-such-file $(SHELL) \
49114 $$s/$$module_srcdir/configure \
49115 --srcdir=$${topdir}/$$module_srcdir \
49116 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49117 --target=${target_alias} \
49118 || exit 1
49119 @endif target-winsup
49125 .PHONY: all-target-winsup maybe-all-target-winsup
49126 maybe-all-target-winsup:
49127 @if gcc-bootstrap
49128 all-target-winsup: stage_current
49129 @endif gcc-bootstrap
49130 @if target-winsup
49131 TARGET-target-winsup=all
49132 maybe-all-target-winsup: all-target-winsup
49133 all-target-winsup: configure-target-winsup
49134 @: $(MAKE); $(unstage)
49135 @r=`${PWD_COMMAND}`; export r; \
49136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49137 $(NORMAL_TARGET_EXPORTS) \
49138 (cd $(TARGET_SUBDIR)/winsup && \
49139 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49140 $(TARGET-target-winsup))
49141 @endif target-winsup
49147 .PHONY: check-target-winsup maybe-check-target-winsup
49148 maybe-check-target-winsup:
49149 @if target-winsup
49150 maybe-check-target-winsup: check-target-winsup
49152 check-target-winsup:
49153 @: $(MAKE); $(unstage)
49154 @r=`${PWD_COMMAND}`; export r; \
49155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49156 $(NORMAL_TARGET_EXPORTS) \
49157 (cd $(TARGET_SUBDIR)/winsup && \
49158 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49160 @endif target-winsup
49162 .PHONY: install-target-winsup maybe-install-target-winsup
49163 maybe-install-target-winsup:
49164 @if target-winsup
49165 maybe-install-target-winsup: install-target-winsup
49167 install-target-winsup: installdirs
49168 @: $(MAKE); $(unstage)
49169 @r=`${PWD_COMMAND}`; export r; \
49170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49171 $(NORMAL_TARGET_EXPORTS) \
49172 (cd $(TARGET_SUBDIR)/winsup && \
49173 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49175 @endif target-winsup
49177 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
49178 maybe-install-strip-target-winsup:
49179 @if target-winsup
49180 maybe-install-strip-target-winsup: install-strip-target-winsup
49182 install-strip-target-winsup: installdirs
49183 @: $(MAKE); $(unstage)
49184 @r=`${PWD_COMMAND}`; export r; \
49185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49186 $(NORMAL_TARGET_EXPORTS) \
49187 (cd $(TARGET_SUBDIR)/winsup && \
49188 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49190 @endif target-winsup
49192 # Other targets (info, dvi, pdf, etc.)
49194 .PHONY: maybe-info-target-winsup info-target-winsup
49195 maybe-info-target-winsup:
49196 @if target-winsup
49197 maybe-info-target-winsup: info-target-winsup
49199 info-target-winsup: \
49200 configure-target-winsup
49201 @: $(MAKE); $(unstage)
49202 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49203 r=`${PWD_COMMAND}`; export r; \
49204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49205 $(NORMAL_TARGET_EXPORTS) \
49206 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
49207 for flag in $(EXTRA_TARGET_FLAGS); do \
49208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49209 done; \
49210 (cd $(TARGET_SUBDIR)/winsup && \
49211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49213 "RANLIB=$${RANLIB}" \
49214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49215 info) \
49216 || exit 1
49218 @endif target-winsup
49220 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
49221 maybe-dvi-target-winsup:
49222 @if target-winsup
49223 maybe-dvi-target-winsup: dvi-target-winsup
49225 dvi-target-winsup: \
49226 configure-target-winsup
49227 @: $(MAKE); $(unstage)
49228 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49229 r=`${PWD_COMMAND}`; export r; \
49230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49231 $(NORMAL_TARGET_EXPORTS) \
49232 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
49233 for flag in $(EXTRA_TARGET_FLAGS); do \
49234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49235 done; \
49236 (cd $(TARGET_SUBDIR)/winsup && \
49237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49239 "RANLIB=$${RANLIB}" \
49240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49241 dvi) \
49242 || exit 1
49244 @endif target-winsup
49246 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
49247 maybe-pdf-target-winsup:
49248 @if target-winsup
49249 maybe-pdf-target-winsup: pdf-target-winsup
49251 pdf-target-winsup: \
49252 configure-target-winsup
49253 @: $(MAKE); $(unstage)
49254 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49255 r=`${PWD_COMMAND}`; export r; \
49256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49257 $(NORMAL_TARGET_EXPORTS) \
49258 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
49259 for flag in $(EXTRA_TARGET_FLAGS); do \
49260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49261 done; \
49262 (cd $(TARGET_SUBDIR)/winsup && \
49263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49265 "RANLIB=$${RANLIB}" \
49266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49267 pdf) \
49268 || exit 1
49270 @endif target-winsup
49272 .PHONY: maybe-html-target-winsup html-target-winsup
49273 maybe-html-target-winsup:
49274 @if target-winsup
49275 maybe-html-target-winsup: html-target-winsup
49277 html-target-winsup: \
49278 configure-target-winsup
49279 @: $(MAKE); $(unstage)
49280 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49281 r=`${PWD_COMMAND}`; export r; \
49282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49283 $(NORMAL_TARGET_EXPORTS) \
49284 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
49285 for flag in $(EXTRA_TARGET_FLAGS); do \
49286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49287 done; \
49288 (cd $(TARGET_SUBDIR)/winsup && \
49289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49291 "RANLIB=$${RANLIB}" \
49292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49293 html) \
49294 || exit 1
49296 @endif target-winsup
49298 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
49299 maybe-TAGS-target-winsup:
49300 @if target-winsup
49301 maybe-TAGS-target-winsup: TAGS-target-winsup
49303 TAGS-target-winsup: \
49304 configure-target-winsup
49305 @: $(MAKE); $(unstage)
49306 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49307 r=`${PWD_COMMAND}`; export r; \
49308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49309 $(NORMAL_TARGET_EXPORTS) \
49310 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
49311 for flag in $(EXTRA_TARGET_FLAGS); do \
49312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49313 done; \
49314 (cd $(TARGET_SUBDIR)/winsup && \
49315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49317 "RANLIB=$${RANLIB}" \
49318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49319 TAGS) \
49320 || exit 1
49322 @endif target-winsup
49324 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
49325 maybe-install-info-target-winsup:
49326 @if target-winsup
49327 maybe-install-info-target-winsup: install-info-target-winsup
49329 install-info-target-winsup: \
49330 configure-target-winsup \
49331 info-target-winsup
49332 @: $(MAKE); $(unstage)
49333 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49334 r=`${PWD_COMMAND}`; export r; \
49335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49336 $(NORMAL_TARGET_EXPORTS) \
49337 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
49338 for flag in $(EXTRA_TARGET_FLAGS); do \
49339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49340 done; \
49341 (cd $(TARGET_SUBDIR)/winsup && \
49342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49344 "RANLIB=$${RANLIB}" \
49345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49346 install-info) \
49347 || exit 1
49349 @endif target-winsup
49351 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
49352 maybe-install-pdf-target-winsup:
49353 @if target-winsup
49354 maybe-install-pdf-target-winsup: install-pdf-target-winsup
49356 install-pdf-target-winsup: \
49357 configure-target-winsup \
49358 pdf-target-winsup
49359 @: $(MAKE); $(unstage)
49360 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49361 r=`${PWD_COMMAND}`; export r; \
49362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49363 $(NORMAL_TARGET_EXPORTS) \
49364 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
49365 for flag in $(EXTRA_TARGET_FLAGS); do \
49366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49367 done; \
49368 (cd $(TARGET_SUBDIR)/winsup && \
49369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49371 "RANLIB=$${RANLIB}" \
49372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49373 install-pdf) \
49374 || exit 1
49376 @endif target-winsup
49378 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
49379 maybe-install-html-target-winsup:
49380 @if target-winsup
49381 maybe-install-html-target-winsup: install-html-target-winsup
49383 install-html-target-winsup: \
49384 configure-target-winsup \
49385 html-target-winsup
49386 @: $(MAKE); $(unstage)
49387 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49388 r=`${PWD_COMMAND}`; export r; \
49389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49390 $(NORMAL_TARGET_EXPORTS) \
49391 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
49392 for flag in $(EXTRA_TARGET_FLAGS); do \
49393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49394 done; \
49395 (cd $(TARGET_SUBDIR)/winsup && \
49396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49398 "RANLIB=$${RANLIB}" \
49399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49400 install-html) \
49401 || exit 1
49403 @endif target-winsup
49405 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
49406 maybe-installcheck-target-winsup:
49407 @if target-winsup
49408 maybe-installcheck-target-winsup: installcheck-target-winsup
49410 installcheck-target-winsup: \
49411 configure-target-winsup
49412 @: $(MAKE); $(unstage)
49413 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49414 r=`${PWD_COMMAND}`; export r; \
49415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49416 $(NORMAL_TARGET_EXPORTS) \
49417 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
49418 for flag in $(EXTRA_TARGET_FLAGS); do \
49419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49420 done; \
49421 (cd $(TARGET_SUBDIR)/winsup && \
49422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49424 "RANLIB=$${RANLIB}" \
49425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49426 installcheck) \
49427 || exit 1
49429 @endif target-winsup
49431 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
49432 maybe-mostlyclean-target-winsup:
49433 @if target-winsup
49434 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
49436 mostlyclean-target-winsup:
49437 @: $(MAKE); $(unstage)
49438 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49439 r=`${PWD_COMMAND}`; export r; \
49440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49441 $(NORMAL_TARGET_EXPORTS) \
49442 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
49443 for flag in $(EXTRA_TARGET_FLAGS); do \
49444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49445 done; \
49446 (cd $(TARGET_SUBDIR)/winsup && \
49447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49449 "RANLIB=$${RANLIB}" \
49450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49451 mostlyclean) \
49452 || exit 1
49454 @endif target-winsup
49456 .PHONY: maybe-clean-target-winsup clean-target-winsup
49457 maybe-clean-target-winsup:
49458 @if target-winsup
49459 maybe-clean-target-winsup: clean-target-winsup
49461 clean-target-winsup:
49462 @: $(MAKE); $(unstage)
49463 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49464 r=`${PWD_COMMAND}`; export r; \
49465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49466 $(NORMAL_TARGET_EXPORTS) \
49467 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
49468 for flag in $(EXTRA_TARGET_FLAGS); do \
49469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49470 done; \
49471 (cd $(TARGET_SUBDIR)/winsup && \
49472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49474 "RANLIB=$${RANLIB}" \
49475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49476 clean) \
49477 || exit 1
49479 @endif target-winsup
49481 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
49482 maybe-distclean-target-winsup:
49483 @if target-winsup
49484 maybe-distclean-target-winsup: distclean-target-winsup
49486 distclean-target-winsup:
49487 @: $(MAKE); $(unstage)
49488 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49489 r=`${PWD_COMMAND}`; export r; \
49490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49491 $(NORMAL_TARGET_EXPORTS) \
49492 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
49493 for flag in $(EXTRA_TARGET_FLAGS); do \
49494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49495 done; \
49496 (cd $(TARGET_SUBDIR)/winsup && \
49497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49499 "RANLIB=$${RANLIB}" \
49500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49501 distclean) \
49502 || exit 1
49504 @endif target-winsup
49506 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
49507 maybe-maintainer-clean-target-winsup:
49508 @if target-winsup
49509 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
49511 maintainer-clean-target-winsup:
49512 @: $(MAKE); $(unstage)
49513 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49514 r=`${PWD_COMMAND}`; export r; \
49515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49516 $(NORMAL_TARGET_EXPORTS) \
49517 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
49518 for flag in $(EXTRA_TARGET_FLAGS); do \
49519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49520 done; \
49521 (cd $(TARGET_SUBDIR)/winsup && \
49522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49524 "RANLIB=$${RANLIB}" \
49525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49526 maintainer-clean) \
49527 || exit 1
49529 @endif target-winsup
49535 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
49536 maybe-configure-target-libgloss:
49537 @if gcc-bootstrap
49538 configure-target-libgloss: stage_current
49539 @endif gcc-bootstrap
49540 @if target-libgloss
49541 maybe-configure-target-libgloss: configure-target-libgloss
49542 configure-target-libgloss:
49543 @: $(MAKE); $(unstage)
49544 @r=`${PWD_COMMAND}`; export r; \
49545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49546 echo "Checking multilib configuration for libgloss..."; \
49547 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
49548 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
49549 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49550 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49551 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
49552 else \
49553 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
49554 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49555 fi; \
49556 else \
49557 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49558 fi; \
49559 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
49560 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
49561 $(NORMAL_TARGET_EXPORTS) \
49562 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
49563 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
49564 case $(srcdir) in \
49565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49566 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
49567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49568 esac; \
49569 module_srcdir=libgloss; \
49570 rm -f no-such-file || : ; \
49571 CONFIG_SITE=no-such-file $(SHELL) \
49572 $$s/$$module_srcdir/configure \
49573 --srcdir=$${topdir}/$$module_srcdir \
49574 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49575 --target=${target_alias} \
49576 || exit 1
49577 @endif target-libgloss
49583 .PHONY: all-target-libgloss maybe-all-target-libgloss
49584 maybe-all-target-libgloss:
49585 @if gcc-bootstrap
49586 all-target-libgloss: stage_current
49587 @endif gcc-bootstrap
49588 @if target-libgloss
49589 TARGET-target-libgloss=all
49590 maybe-all-target-libgloss: all-target-libgloss
49591 all-target-libgloss: configure-target-libgloss
49592 @: $(MAKE); $(unstage)
49593 @r=`${PWD_COMMAND}`; export r; \
49594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49595 $(NORMAL_TARGET_EXPORTS) \
49596 (cd $(TARGET_SUBDIR)/libgloss && \
49597 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49598 $(TARGET-target-libgloss))
49599 @endif target-libgloss
49605 .PHONY: check-target-libgloss maybe-check-target-libgloss
49606 maybe-check-target-libgloss:
49607 @if target-libgloss
49608 maybe-check-target-libgloss: check-target-libgloss
49610 # Dummy target for uncheckable module.
49611 check-target-libgloss:
49613 @endif target-libgloss
49615 .PHONY: install-target-libgloss maybe-install-target-libgloss
49616 maybe-install-target-libgloss:
49617 @if target-libgloss
49618 maybe-install-target-libgloss: install-target-libgloss
49620 install-target-libgloss: installdirs
49621 @: $(MAKE); $(unstage)
49622 @r=`${PWD_COMMAND}`; export r; \
49623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49624 $(NORMAL_TARGET_EXPORTS) \
49625 (cd $(TARGET_SUBDIR)/libgloss && \
49626 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49628 @endif target-libgloss
49630 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
49631 maybe-install-strip-target-libgloss:
49632 @if target-libgloss
49633 maybe-install-strip-target-libgloss: install-strip-target-libgloss
49635 install-strip-target-libgloss: installdirs
49636 @: $(MAKE); $(unstage)
49637 @r=`${PWD_COMMAND}`; export r; \
49638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49639 $(NORMAL_TARGET_EXPORTS) \
49640 (cd $(TARGET_SUBDIR)/libgloss && \
49641 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49643 @endif target-libgloss
49645 # Other targets (info, dvi, pdf, etc.)
49647 .PHONY: maybe-info-target-libgloss info-target-libgloss
49648 maybe-info-target-libgloss:
49649 @if target-libgloss
49650 maybe-info-target-libgloss: info-target-libgloss
49652 info-target-libgloss: \
49653 configure-target-libgloss
49654 @: $(MAKE); $(unstage)
49655 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49656 r=`${PWD_COMMAND}`; export r; \
49657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49658 $(NORMAL_TARGET_EXPORTS) \
49659 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
49660 for flag in $(EXTRA_TARGET_FLAGS); do \
49661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49662 done; \
49663 (cd $(TARGET_SUBDIR)/libgloss && \
49664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49666 "RANLIB=$${RANLIB}" \
49667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49668 info) \
49669 || exit 1
49671 @endif target-libgloss
49673 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
49674 maybe-dvi-target-libgloss:
49675 @if target-libgloss
49676 maybe-dvi-target-libgloss: dvi-target-libgloss
49678 dvi-target-libgloss: \
49679 configure-target-libgloss
49680 @: $(MAKE); $(unstage)
49681 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49682 r=`${PWD_COMMAND}`; export r; \
49683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49684 $(NORMAL_TARGET_EXPORTS) \
49685 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
49686 for flag in $(EXTRA_TARGET_FLAGS); do \
49687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49688 done; \
49689 (cd $(TARGET_SUBDIR)/libgloss && \
49690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49692 "RANLIB=$${RANLIB}" \
49693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49694 dvi) \
49695 || exit 1
49697 @endif target-libgloss
49699 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
49700 maybe-pdf-target-libgloss:
49701 @if target-libgloss
49702 maybe-pdf-target-libgloss: pdf-target-libgloss
49704 pdf-target-libgloss: \
49705 configure-target-libgloss
49706 @: $(MAKE); $(unstage)
49707 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49708 r=`${PWD_COMMAND}`; export r; \
49709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49710 $(NORMAL_TARGET_EXPORTS) \
49711 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
49712 for flag in $(EXTRA_TARGET_FLAGS); do \
49713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49714 done; \
49715 (cd $(TARGET_SUBDIR)/libgloss && \
49716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49718 "RANLIB=$${RANLIB}" \
49719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49720 pdf) \
49721 || exit 1
49723 @endif target-libgloss
49725 .PHONY: maybe-html-target-libgloss html-target-libgloss
49726 maybe-html-target-libgloss:
49727 @if target-libgloss
49728 maybe-html-target-libgloss: html-target-libgloss
49730 html-target-libgloss: \
49731 configure-target-libgloss
49732 @: $(MAKE); $(unstage)
49733 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49734 r=`${PWD_COMMAND}`; export r; \
49735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49736 $(NORMAL_TARGET_EXPORTS) \
49737 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
49738 for flag in $(EXTRA_TARGET_FLAGS); do \
49739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49740 done; \
49741 (cd $(TARGET_SUBDIR)/libgloss && \
49742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49744 "RANLIB=$${RANLIB}" \
49745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49746 html) \
49747 || exit 1
49749 @endif target-libgloss
49751 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
49752 maybe-TAGS-target-libgloss:
49753 @if target-libgloss
49754 maybe-TAGS-target-libgloss: TAGS-target-libgloss
49756 TAGS-target-libgloss: \
49757 configure-target-libgloss
49758 @: $(MAKE); $(unstage)
49759 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49760 r=`${PWD_COMMAND}`; export r; \
49761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49762 $(NORMAL_TARGET_EXPORTS) \
49763 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
49764 for flag in $(EXTRA_TARGET_FLAGS); do \
49765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49766 done; \
49767 (cd $(TARGET_SUBDIR)/libgloss && \
49768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49770 "RANLIB=$${RANLIB}" \
49771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49772 TAGS) \
49773 || exit 1
49775 @endif target-libgloss
49777 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
49778 maybe-install-info-target-libgloss:
49779 @if target-libgloss
49780 maybe-install-info-target-libgloss: install-info-target-libgloss
49782 install-info-target-libgloss: \
49783 configure-target-libgloss \
49784 info-target-libgloss
49785 @: $(MAKE); $(unstage)
49786 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49787 r=`${PWD_COMMAND}`; export r; \
49788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49789 $(NORMAL_TARGET_EXPORTS) \
49790 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
49791 for flag in $(EXTRA_TARGET_FLAGS); do \
49792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49793 done; \
49794 (cd $(TARGET_SUBDIR)/libgloss && \
49795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49797 "RANLIB=$${RANLIB}" \
49798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49799 install-info) \
49800 || exit 1
49802 @endif target-libgloss
49804 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
49805 maybe-install-pdf-target-libgloss:
49806 @if target-libgloss
49807 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
49809 install-pdf-target-libgloss: \
49810 configure-target-libgloss \
49811 pdf-target-libgloss
49812 @: $(MAKE); $(unstage)
49813 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49814 r=`${PWD_COMMAND}`; export r; \
49815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49816 $(NORMAL_TARGET_EXPORTS) \
49817 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
49818 for flag in $(EXTRA_TARGET_FLAGS); do \
49819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49820 done; \
49821 (cd $(TARGET_SUBDIR)/libgloss && \
49822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49824 "RANLIB=$${RANLIB}" \
49825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49826 install-pdf) \
49827 || exit 1
49829 @endif target-libgloss
49831 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
49832 maybe-install-html-target-libgloss:
49833 @if target-libgloss
49834 maybe-install-html-target-libgloss: install-html-target-libgloss
49836 install-html-target-libgloss: \
49837 configure-target-libgloss \
49838 html-target-libgloss
49839 @: $(MAKE); $(unstage)
49840 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49841 r=`${PWD_COMMAND}`; export r; \
49842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49843 $(NORMAL_TARGET_EXPORTS) \
49844 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
49845 for flag in $(EXTRA_TARGET_FLAGS); do \
49846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49847 done; \
49848 (cd $(TARGET_SUBDIR)/libgloss && \
49849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49851 "RANLIB=$${RANLIB}" \
49852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49853 install-html) \
49854 || exit 1
49856 @endif target-libgloss
49858 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
49859 maybe-installcheck-target-libgloss:
49860 @if target-libgloss
49861 maybe-installcheck-target-libgloss: installcheck-target-libgloss
49863 installcheck-target-libgloss: \
49864 configure-target-libgloss
49865 @: $(MAKE); $(unstage)
49866 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49867 r=`${PWD_COMMAND}`; export r; \
49868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49869 $(NORMAL_TARGET_EXPORTS) \
49870 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
49871 for flag in $(EXTRA_TARGET_FLAGS); do \
49872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49873 done; \
49874 (cd $(TARGET_SUBDIR)/libgloss && \
49875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49877 "RANLIB=$${RANLIB}" \
49878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49879 installcheck) \
49880 || exit 1
49882 @endif target-libgloss
49884 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
49885 maybe-mostlyclean-target-libgloss:
49886 @if target-libgloss
49887 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
49889 mostlyclean-target-libgloss:
49890 @: $(MAKE); $(unstage)
49891 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49892 r=`${PWD_COMMAND}`; export r; \
49893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49894 $(NORMAL_TARGET_EXPORTS) \
49895 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
49896 for flag in $(EXTRA_TARGET_FLAGS); do \
49897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49898 done; \
49899 (cd $(TARGET_SUBDIR)/libgloss && \
49900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49902 "RANLIB=$${RANLIB}" \
49903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49904 mostlyclean) \
49905 || exit 1
49907 @endif target-libgloss
49909 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
49910 maybe-clean-target-libgloss:
49911 @if target-libgloss
49912 maybe-clean-target-libgloss: clean-target-libgloss
49914 clean-target-libgloss:
49915 @: $(MAKE); $(unstage)
49916 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49917 r=`${PWD_COMMAND}`; export r; \
49918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49919 $(NORMAL_TARGET_EXPORTS) \
49920 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
49921 for flag in $(EXTRA_TARGET_FLAGS); do \
49922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49923 done; \
49924 (cd $(TARGET_SUBDIR)/libgloss && \
49925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49927 "RANLIB=$${RANLIB}" \
49928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49929 clean) \
49930 || exit 1
49932 @endif target-libgloss
49934 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
49935 maybe-distclean-target-libgloss:
49936 @if target-libgloss
49937 maybe-distclean-target-libgloss: distclean-target-libgloss
49939 distclean-target-libgloss:
49940 @: $(MAKE); $(unstage)
49941 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49942 r=`${PWD_COMMAND}`; export r; \
49943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49944 $(NORMAL_TARGET_EXPORTS) \
49945 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
49946 for flag in $(EXTRA_TARGET_FLAGS); do \
49947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49948 done; \
49949 (cd $(TARGET_SUBDIR)/libgloss && \
49950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49952 "RANLIB=$${RANLIB}" \
49953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49954 distclean) \
49955 || exit 1
49957 @endif target-libgloss
49959 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
49960 maybe-maintainer-clean-target-libgloss:
49961 @if target-libgloss
49962 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
49964 maintainer-clean-target-libgloss:
49965 @: $(MAKE); $(unstage)
49966 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
49967 r=`${PWD_COMMAND}`; export r; \
49968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49969 $(NORMAL_TARGET_EXPORTS) \
49970 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
49971 for flag in $(EXTRA_TARGET_FLAGS); do \
49972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49973 done; \
49974 (cd $(TARGET_SUBDIR)/libgloss && \
49975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49977 "RANLIB=$${RANLIB}" \
49978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49979 maintainer-clean) \
49980 || exit 1
49982 @endif target-libgloss
49988 .PHONY: configure-target-libffi maybe-configure-target-libffi
49989 maybe-configure-target-libffi:
49990 @if gcc-bootstrap
49991 configure-target-libffi: stage_current
49992 @endif gcc-bootstrap
49993 @if target-libffi
49994 maybe-configure-target-libffi: configure-target-libffi
49995 configure-target-libffi:
49996 @: $(MAKE); $(unstage)
49997 @r=`${PWD_COMMAND}`; export r; \
49998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49999 echo "Checking multilib configuration for libffi..."; \
50000 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50001 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
50002 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
50003 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
50004 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
50005 else \
50006 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
50007 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50008 fi; \
50009 else \
50010 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50011 fi; \
50012 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
50013 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50014 $(NORMAL_TARGET_EXPORTS) \
50015 echo Configuring in $(TARGET_SUBDIR)/libffi; \
50016 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
50017 case $(srcdir) in \
50018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50019 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
50020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50021 esac; \
50022 module_srcdir=libffi; \
50023 rm -f no-such-file || : ; \
50024 CONFIG_SITE=no-such-file $(SHELL) \
50025 $$s/$$module_srcdir/configure \
50026 --srcdir=$${topdir}/$$module_srcdir \
50027 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50028 --target=${target_alias} \
50029 || exit 1
50030 @endif target-libffi
50036 .PHONY: all-target-libffi maybe-all-target-libffi
50037 maybe-all-target-libffi:
50038 @if gcc-bootstrap
50039 all-target-libffi: stage_current
50040 @endif gcc-bootstrap
50041 @if target-libffi
50042 TARGET-target-libffi=all
50043 maybe-all-target-libffi: all-target-libffi
50044 all-target-libffi: configure-target-libffi
50045 @: $(MAKE); $(unstage)
50046 @r=`${PWD_COMMAND}`; export r; \
50047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50048 $(NORMAL_TARGET_EXPORTS) \
50049 (cd $(TARGET_SUBDIR)/libffi && \
50050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50051 $(TARGET-target-libffi))
50052 @endif target-libffi
50058 .PHONY: check-target-libffi maybe-check-target-libffi
50059 maybe-check-target-libffi:
50060 @if target-libffi
50061 maybe-check-target-libffi: check-target-libffi
50063 check-target-libffi:
50064 @: $(MAKE); $(unstage)
50065 @r=`${PWD_COMMAND}`; export r; \
50066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50067 $(NORMAL_TARGET_EXPORTS) \
50068 (cd $(TARGET_SUBDIR)/libffi && \
50069 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50071 @endif target-libffi
50073 .PHONY: install-target-libffi maybe-install-target-libffi
50074 maybe-install-target-libffi:
50075 @if target-libffi
50076 maybe-install-target-libffi: install-target-libffi
50078 # Dummy target for uninstallable.
50079 install-target-libffi:
50081 @endif target-libffi
50083 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
50084 maybe-install-strip-target-libffi:
50085 @if target-libffi
50086 maybe-install-strip-target-libffi: install-strip-target-libffi
50088 # Dummy target for uninstallable.
50089 install-strip-target-libffi:
50091 @endif target-libffi
50093 # Other targets (info, dvi, pdf, etc.)
50095 .PHONY: maybe-info-target-libffi info-target-libffi
50096 maybe-info-target-libffi:
50097 @if target-libffi
50098 maybe-info-target-libffi: info-target-libffi
50100 info-target-libffi: \
50101 configure-target-libffi
50102 @: $(MAKE); $(unstage)
50103 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50104 r=`${PWD_COMMAND}`; export r; \
50105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50106 $(NORMAL_TARGET_EXPORTS) \
50107 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
50108 for flag in $(EXTRA_TARGET_FLAGS); do \
50109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50110 done; \
50111 (cd $(TARGET_SUBDIR)/libffi && \
50112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50114 "RANLIB=$${RANLIB}" \
50115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50116 info) \
50117 || exit 1
50119 @endif target-libffi
50121 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
50122 maybe-dvi-target-libffi:
50123 @if target-libffi
50124 maybe-dvi-target-libffi: dvi-target-libffi
50126 dvi-target-libffi: \
50127 configure-target-libffi
50128 @: $(MAKE); $(unstage)
50129 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50130 r=`${PWD_COMMAND}`; export r; \
50131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50132 $(NORMAL_TARGET_EXPORTS) \
50133 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
50134 for flag in $(EXTRA_TARGET_FLAGS); do \
50135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50136 done; \
50137 (cd $(TARGET_SUBDIR)/libffi && \
50138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50140 "RANLIB=$${RANLIB}" \
50141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50142 dvi) \
50143 || exit 1
50145 @endif target-libffi
50147 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
50148 maybe-pdf-target-libffi:
50149 @if target-libffi
50150 maybe-pdf-target-libffi: pdf-target-libffi
50152 pdf-target-libffi: \
50153 configure-target-libffi
50154 @: $(MAKE); $(unstage)
50155 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50156 r=`${PWD_COMMAND}`; export r; \
50157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50158 $(NORMAL_TARGET_EXPORTS) \
50159 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
50160 for flag in $(EXTRA_TARGET_FLAGS); do \
50161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50162 done; \
50163 (cd $(TARGET_SUBDIR)/libffi && \
50164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50166 "RANLIB=$${RANLIB}" \
50167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50168 pdf) \
50169 || exit 1
50171 @endif target-libffi
50173 .PHONY: maybe-html-target-libffi html-target-libffi
50174 maybe-html-target-libffi:
50175 @if target-libffi
50176 maybe-html-target-libffi: html-target-libffi
50178 html-target-libffi: \
50179 configure-target-libffi
50180 @: $(MAKE); $(unstage)
50181 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50182 r=`${PWD_COMMAND}`; export r; \
50183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50184 $(NORMAL_TARGET_EXPORTS) \
50185 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
50186 for flag in $(EXTRA_TARGET_FLAGS); do \
50187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50188 done; \
50189 (cd $(TARGET_SUBDIR)/libffi && \
50190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50192 "RANLIB=$${RANLIB}" \
50193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50194 html) \
50195 || exit 1
50197 @endif target-libffi
50199 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
50200 maybe-TAGS-target-libffi:
50201 @if target-libffi
50202 maybe-TAGS-target-libffi: TAGS-target-libffi
50204 TAGS-target-libffi: \
50205 configure-target-libffi
50206 @: $(MAKE); $(unstage)
50207 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50208 r=`${PWD_COMMAND}`; export r; \
50209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50210 $(NORMAL_TARGET_EXPORTS) \
50211 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
50212 for flag in $(EXTRA_TARGET_FLAGS); do \
50213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50214 done; \
50215 (cd $(TARGET_SUBDIR)/libffi && \
50216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50218 "RANLIB=$${RANLIB}" \
50219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50220 TAGS) \
50221 || exit 1
50223 @endif target-libffi
50225 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
50226 maybe-install-info-target-libffi:
50227 @if target-libffi
50228 maybe-install-info-target-libffi: install-info-target-libffi
50230 install-info-target-libffi: \
50231 configure-target-libffi \
50232 info-target-libffi
50233 @: $(MAKE); $(unstage)
50234 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50235 r=`${PWD_COMMAND}`; export r; \
50236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50237 $(NORMAL_TARGET_EXPORTS) \
50238 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
50239 for flag in $(EXTRA_TARGET_FLAGS); do \
50240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50241 done; \
50242 (cd $(TARGET_SUBDIR)/libffi && \
50243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50245 "RANLIB=$${RANLIB}" \
50246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50247 install-info) \
50248 || exit 1
50250 @endif target-libffi
50252 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
50253 maybe-install-pdf-target-libffi:
50254 @if target-libffi
50255 maybe-install-pdf-target-libffi: install-pdf-target-libffi
50257 install-pdf-target-libffi: \
50258 configure-target-libffi \
50259 pdf-target-libffi
50260 @: $(MAKE); $(unstage)
50261 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50262 r=`${PWD_COMMAND}`; export r; \
50263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50264 $(NORMAL_TARGET_EXPORTS) \
50265 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
50266 for flag in $(EXTRA_TARGET_FLAGS); do \
50267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50268 done; \
50269 (cd $(TARGET_SUBDIR)/libffi && \
50270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50272 "RANLIB=$${RANLIB}" \
50273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50274 install-pdf) \
50275 || exit 1
50277 @endif target-libffi
50279 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
50280 maybe-install-html-target-libffi:
50281 @if target-libffi
50282 maybe-install-html-target-libffi: install-html-target-libffi
50284 install-html-target-libffi: \
50285 configure-target-libffi \
50286 html-target-libffi
50287 @: $(MAKE); $(unstage)
50288 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50289 r=`${PWD_COMMAND}`; export r; \
50290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50291 $(NORMAL_TARGET_EXPORTS) \
50292 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
50293 for flag in $(EXTRA_TARGET_FLAGS); do \
50294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50295 done; \
50296 (cd $(TARGET_SUBDIR)/libffi && \
50297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50299 "RANLIB=$${RANLIB}" \
50300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50301 install-html) \
50302 || exit 1
50304 @endif target-libffi
50306 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
50307 maybe-installcheck-target-libffi:
50308 @if target-libffi
50309 maybe-installcheck-target-libffi: installcheck-target-libffi
50311 installcheck-target-libffi: \
50312 configure-target-libffi
50313 @: $(MAKE); $(unstage)
50314 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50315 r=`${PWD_COMMAND}`; export r; \
50316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50317 $(NORMAL_TARGET_EXPORTS) \
50318 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
50319 for flag in $(EXTRA_TARGET_FLAGS); do \
50320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50321 done; \
50322 (cd $(TARGET_SUBDIR)/libffi && \
50323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50325 "RANLIB=$${RANLIB}" \
50326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50327 installcheck) \
50328 || exit 1
50330 @endif target-libffi
50332 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
50333 maybe-mostlyclean-target-libffi:
50334 @if target-libffi
50335 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
50337 mostlyclean-target-libffi:
50338 @: $(MAKE); $(unstage)
50339 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50340 r=`${PWD_COMMAND}`; export r; \
50341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50342 $(NORMAL_TARGET_EXPORTS) \
50343 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
50344 for flag in $(EXTRA_TARGET_FLAGS); do \
50345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50346 done; \
50347 (cd $(TARGET_SUBDIR)/libffi && \
50348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50350 "RANLIB=$${RANLIB}" \
50351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50352 mostlyclean) \
50353 || exit 1
50355 @endif target-libffi
50357 .PHONY: maybe-clean-target-libffi clean-target-libffi
50358 maybe-clean-target-libffi:
50359 @if target-libffi
50360 maybe-clean-target-libffi: clean-target-libffi
50362 clean-target-libffi:
50363 @: $(MAKE); $(unstage)
50364 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50365 r=`${PWD_COMMAND}`; export r; \
50366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50367 $(NORMAL_TARGET_EXPORTS) \
50368 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
50369 for flag in $(EXTRA_TARGET_FLAGS); do \
50370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50371 done; \
50372 (cd $(TARGET_SUBDIR)/libffi && \
50373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50375 "RANLIB=$${RANLIB}" \
50376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50377 clean) \
50378 || exit 1
50380 @endif target-libffi
50382 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
50383 maybe-distclean-target-libffi:
50384 @if target-libffi
50385 maybe-distclean-target-libffi: distclean-target-libffi
50387 distclean-target-libffi:
50388 @: $(MAKE); $(unstage)
50389 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50390 r=`${PWD_COMMAND}`; export r; \
50391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50392 $(NORMAL_TARGET_EXPORTS) \
50393 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
50394 for flag in $(EXTRA_TARGET_FLAGS); do \
50395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50396 done; \
50397 (cd $(TARGET_SUBDIR)/libffi && \
50398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50400 "RANLIB=$${RANLIB}" \
50401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50402 distclean) \
50403 || exit 1
50405 @endif target-libffi
50407 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
50408 maybe-maintainer-clean-target-libffi:
50409 @if target-libffi
50410 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
50412 maintainer-clean-target-libffi:
50413 @: $(MAKE); $(unstage)
50414 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50415 r=`${PWD_COMMAND}`; export r; \
50416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50417 $(NORMAL_TARGET_EXPORTS) \
50418 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
50419 for flag in $(EXTRA_TARGET_FLAGS); do \
50420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50421 done; \
50422 (cd $(TARGET_SUBDIR)/libffi && \
50423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50425 "RANLIB=$${RANLIB}" \
50426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50427 maintainer-clean) \
50428 || exit 1
50430 @endif target-libffi
50436 .PHONY: configure-target-zlib maybe-configure-target-zlib
50437 maybe-configure-target-zlib:
50438 @if gcc-bootstrap
50439 configure-target-zlib: stage_current
50440 @endif gcc-bootstrap
50441 @if target-zlib
50442 maybe-configure-target-zlib: configure-target-zlib
50443 configure-target-zlib:
50444 @: $(MAKE); $(unstage)
50445 @r=`${PWD_COMMAND}`; export r; \
50446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50447 echo "Checking multilib configuration for zlib..."; \
50448 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
50449 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
50450 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
50451 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
50452 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
50453 else \
50454 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
50455 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
50456 fi; \
50457 else \
50458 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
50459 fi; \
50460 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
50461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
50462 $(NORMAL_TARGET_EXPORTS) \
50463 echo Configuring in $(TARGET_SUBDIR)/zlib; \
50464 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
50465 case $(srcdir) in \
50466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50467 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
50468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50469 esac; \
50470 module_srcdir=zlib; \
50471 rm -f no-such-file || : ; \
50472 CONFIG_SITE=no-such-file $(SHELL) \
50473 $$s/$$module_srcdir/configure \
50474 --srcdir=$${topdir}/$$module_srcdir \
50475 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50476 --target=${target_alias} \
50477 || exit 1
50478 @endif target-zlib
50484 .PHONY: all-target-zlib maybe-all-target-zlib
50485 maybe-all-target-zlib:
50486 @if gcc-bootstrap
50487 all-target-zlib: stage_current
50488 @endif gcc-bootstrap
50489 @if target-zlib
50490 TARGET-target-zlib=all
50491 maybe-all-target-zlib: all-target-zlib
50492 all-target-zlib: configure-target-zlib
50493 @: $(MAKE); $(unstage)
50494 @r=`${PWD_COMMAND}`; export r; \
50495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50496 $(NORMAL_TARGET_EXPORTS) \
50497 (cd $(TARGET_SUBDIR)/zlib && \
50498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50499 $(TARGET-target-zlib))
50500 @endif target-zlib
50506 .PHONY: check-target-zlib maybe-check-target-zlib
50507 maybe-check-target-zlib:
50508 @if target-zlib
50509 maybe-check-target-zlib: check-target-zlib
50511 check-target-zlib:
50512 @: $(MAKE); $(unstage)
50513 @r=`${PWD_COMMAND}`; export r; \
50514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50515 $(NORMAL_TARGET_EXPORTS) \
50516 (cd $(TARGET_SUBDIR)/zlib && \
50517 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50519 @endif target-zlib
50521 .PHONY: install-target-zlib maybe-install-target-zlib
50522 maybe-install-target-zlib:
50523 @if target-zlib
50524 maybe-install-target-zlib: install-target-zlib
50526 install-target-zlib: installdirs
50527 @: $(MAKE); $(unstage)
50528 @r=`${PWD_COMMAND}`; export r; \
50529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50530 $(NORMAL_TARGET_EXPORTS) \
50531 (cd $(TARGET_SUBDIR)/zlib && \
50532 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50534 @endif target-zlib
50536 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
50537 maybe-install-strip-target-zlib:
50538 @if target-zlib
50539 maybe-install-strip-target-zlib: install-strip-target-zlib
50541 install-strip-target-zlib: installdirs
50542 @: $(MAKE); $(unstage)
50543 @r=`${PWD_COMMAND}`; export r; \
50544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50545 $(NORMAL_TARGET_EXPORTS) \
50546 (cd $(TARGET_SUBDIR)/zlib && \
50547 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50549 @endif target-zlib
50551 # Other targets (info, dvi, pdf, etc.)
50553 .PHONY: maybe-info-target-zlib info-target-zlib
50554 maybe-info-target-zlib:
50555 @if target-zlib
50556 maybe-info-target-zlib: info-target-zlib
50558 info-target-zlib: \
50559 configure-target-zlib
50560 @: $(MAKE); $(unstage)
50561 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50562 r=`${PWD_COMMAND}`; export r; \
50563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50564 $(NORMAL_TARGET_EXPORTS) \
50565 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
50566 for flag in $(EXTRA_TARGET_FLAGS); do \
50567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50568 done; \
50569 (cd $(TARGET_SUBDIR)/zlib && \
50570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50572 "RANLIB=$${RANLIB}" \
50573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50574 info) \
50575 || exit 1
50577 @endif target-zlib
50579 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
50580 maybe-dvi-target-zlib:
50581 @if target-zlib
50582 maybe-dvi-target-zlib: dvi-target-zlib
50584 dvi-target-zlib: \
50585 configure-target-zlib
50586 @: $(MAKE); $(unstage)
50587 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50588 r=`${PWD_COMMAND}`; export r; \
50589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50590 $(NORMAL_TARGET_EXPORTS) \
50591 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
50592 for flag in $(EXTRA_TARGET_FLAGS); do \
50593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50594 done; \
50595 (cd $(TARGET_SUBDIR)/zlib && \
50596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50598 "RANLIB=$${RANLIB}" \
50599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50600 dvi) \
50601 || exit 1
50603 @endif target-zlib
50605 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
50606 maybe-pdf-target-zlib:
50607 @if target-zlib
50608 maybe-pdf-target-zlib: pdf-target-zlib
50610 pdf-target-zlib: \
50611 configure-target-zlib
50612 @: $(MAKE); $(unstage)
50613 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50614 r=`${PWD_COMMAND}`; export r; \
50615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50616 $(NORMAL_TARGET_EXPORTS) \
50617 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
50618 for flag in $(EXTRA_TARGET_FLAGS); do \
50619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50620 done; \
50621 (cd $(TARGET_SUBDIR)/zlib && \
50622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50624 "RANLIB=$${RANLIB}" \
50625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50626 pdf) \
50627 || exit 1
50629 @endif target-zlib
50631 .PHONY: maybe-html-target-zlib html-target-zlib
50632 maybe-html-target-zlib:
50633 @if target-zlib
50634 maybe-html-target-zlib: html-target-zlib
50636 html-target-zlib: \
50637 configure-target-zlib
50638 @: $(MAKE); $(unstage)
50639 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50640 r=`${PWD_COMMAND}`; export r; \
50641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50642 $(NORMAL_TARGET_EXPORTS) \
50643 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
50644 for flag in $(EXTRA_TARGET_FLAGS); do \
50645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50646 done; \
50647 (cd $(TARGET_SUBDIR)/zlib && \
50648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50650 "RANLIB=$${RANLIB}" \
50651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50652 html) \
50653 || exit 1
50655 @endif target-zlib
50657 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
50658 maybe-TAGS-target-zlib:
50659 @if target-zlib
50660 maybe-TAGS-target-zlib: TAGS-target-zlib
50662 TAGS-target-zlib: \
50663 configure-target-zlib
50664 @: $(MAKE); $(unstage)
50665 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50666 r=`${PWD_COMMAND}`; export r; \
50667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50668 $(NORMAL_TARGET_EXPORTS) \
50669 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
50670 for flag in $(EXTRA_TARGET_FLAGS); do \
50671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50672 done; \
50673 (cd $(TARGET_SUBDIR)/zlib && \
50674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50676 "RANLIB=$${RANLIB}" \
50677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50678 TAGS) \
50679 || exit 1
50681 @endif target-zlib
50683 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
50684 maybe-install-info-target-zlib:
50685 @if target-zlib
50686 maybe-install-info-target-zlib: install-info-target-zlib
50688 install-info-target-zlib: \
50689 configure-target-zlib \
50690 info-target-zlib
50691 @: $(MAKE); $(unstage)
50692 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50693 r=`${PWD_COMMAND}`; export r; \
50694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50695 $(NORMAL_TARGET_EXPORTS) \
50696 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
50697 for flag in $(EXTRA_TARGET_FLAGS); do \
50698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50699 done; \
50700 (cd $(TARGET_SUBDIR)/zlib && \
50701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50703 "RANLIB=$${RANLIB}" \
50704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50705 install-info) \
50706 || exit 1
50708 @endif target-zlib
50710 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
50711 maybe-install-pdf-target-zlib:
50712 @if target-zlib
50713 maybe-install-pdf-target-zlib: install-pdf-target-zlib
50715 install-pdf-target-zlib: \
50716 configure-target-zlib \
50717 pdf-target-zlib
50718 @: $(MAKE); $(unstage)
50719 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50720 r=`${PWD_COMMAND}`; export r; \
50721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50722 $(NORMAL_TARGET_EXPORTS) \
50723 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
50724 for flag in $(EXTRA_TARGET_FLAGS); do \
50725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50726 done; \
50727 (cd $(TARGET_SUBDIR)/zlib && \
50728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50730 "RANLIB=$${RANLIB}" \
50731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50732 install-pdf) \
50733 || exit 1
50735 @endif target-zlib
50737 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
50738 maybe-install-html-target-zlib:
50739 @if target-zlib
50740 maybe-install-html-target-zlib: install-html-target-zlib
50742 install-html-target-zlib: \
50743 configure-target-zlib \
50744 html-target-zlib
50745 @: $(MAKE); $(unstage)
50746 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50747 r=`${PWD_COMMAND}`; export r; \
50748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50749 $(NORMAL_TARGET_EXPORTS) \
50750 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
50751 for flag in $(EXTRA_TARGET_FLAGS); do \
50752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50753 done; \
50754 (cd $(TARGET_SUBDIR)/zlib && \
50755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50757 "RANLIB=$${RANLIB}" \
50758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50759 install-html) \
50760 || exit 1
50762 @endif target-zlib
50764 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
50765 maybe-installcheck-target-zlib:
50766 @if target-zlib
50767 maybe-installcheck-target-zlib: installcheck-target-zlib
50769 installcheck-target-zlib: \
50770 configure-target-zlib
50771 @: $(MAKE); $(unstage)
50772 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50773 r=`${PWD_COMMAND}`; export r; \
50774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50775 $(NORMAL_TARGET_EXPORTS) \
50776 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
50777 for flag in $(EXTRA_TARGET_FLAGS); do \
50778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50779 done; \
50780 (cd $(TARGET_SUBDIR)/zlib && \
50781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50783 "RANLIB=$${RANLIB}" \
50784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50785 installcheck) \
50786 || exit 1
50788 @endif target-zlib
50790 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
50791 maybe-mostlyclean-target-zlib:
50792 @if target-zlib
50793 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
50795 mostlyclean-target-zlib:
50796 @: $(MAKE); $(unstage)
50797 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50798 r=`${PWD_COMMAND}`; export r; \
50799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50800 $(NORMAL_TARGET_EXPORTS) \
50801 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
50802 for flag in $(EXTRA_TARGET_FLAGS); do \
50803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50804 done; \
50805 (cd $(TARGET_SUBDIR)/zlib && \
50806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50808 "RANLIB=$${RANLIB}" \
50809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50810 mostlyclean) \
50811 || exit 1
50813 @endif target-zlib
50815 .PHONY: maybe-clean-target-zlib clean-target-zlib
50816 maybe-clean-target-zlib:
50817 @if target-zlib
50818 maybe-clean-target-zlib: clean-target-zlib
50820 clean-target-zlib:
50821 @: $(MAKE); $(unstage)
50822 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50823 r=`${PWD_COMMAND}`; export r; \
50824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50825 $(NORMAL_TARGET_EXPORTS) \
50826 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
50827 for flag in $(EXTRA_TARGET_FLAGS); do \
50828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50829 done; \
50830 (cd $(TARGET_SUBDIR)/zlib && \
50831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50833 "RANLIB=$${RANLIB}" \
50834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50835 clean) \
50836 || exit 1
50838 @endif target-zlib
50840 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
50841 maybe-distclean-target-zlib:
50842 @if target-zlib
50843 maybe-distclean-target-zlib: distclean-target-zlib
50845 distclean-target-zlib:
50846 @: $(MAKE); $(unstage)
50847 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50848 r=`${PWD_COMMAND}`; export r; \
50849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50850 $(NORMAL_TARGET_EXPORTS) \
50851 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
50852 for flag in $(EXTRA_TARGET_FLAGS); do \
50853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50854 done; \
50855 (cd $(TARGET_SUBDIR)/zlib && \
50856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50858 "RANLIB=$${RANLIB}" \
50859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50860 distclean) \
50861 || exit 1
50863 @endif target-zlib
50865 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
50866 maybe-maintainer-clean-target-zlib:
50867 @if target-zlib
50868 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
50870 maintainer-clean-target-zlib:
50871 @: $(MAKE); $(unstage)
50872 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
50873 r=`${PWD_COMMAND}`; export r; \
50874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50875 $(NORMAL_TARGET_EXPORTS) \
50876 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
50877 for flag in $(EXTRA_TARGET_FLAGS); do \
50878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50879 done; \
50880 (cd $(TARGET_SUBDIR)/zlib && \
50881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50883 "RANLIB=$${RANLIB}" \
50884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50885 maintainer-clean) \
50886 || exit 1
50888 @endif target-zlib
50894 .PHONY: configure-target-rda maybe-configure-target-rda
50895 maybe-configure-target-rda:
50896 @if gcc-bootstrap
50897 configure-target-rda: stage_current
50898 @endif gcc-bootstrap
50899 @if target-rda
50900 maybe-configure-target-rda: configure-target-rda
50901 configure-target-rda:
50902 @: $(MAKE); $(unstage)
50903 @r=`${PWD_COMMAND}`; export r; \
50904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50905 echo "Checking multilib configuration for rda..."; \
50906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
50907 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
50908 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
50909 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
50910 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
50911 else \
50912 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
50913 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
50914 fi; \
50915 else \
50916 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
50917 fi; \
50918 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
50919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
50920 $(NORMAL_TARGET_EXPORTS) \
50921 echo Configuring in $(TARGET_SUBDIR)/rda; \
50922 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
50923 case $(srcdir) in \
50924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50925 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
50926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50927 esac; \
50928 module_srcdir=rda; \
50929 rm -f no-such-file || : ; \
50930 CONFIG_SITE=no-such-file $(SHELL) \
50931 $$s/$$module_srcdir/configure \
50932 --srcdir=$${topdir}/$$module_srcdir \
50933 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50934 --target=${target_alias} \
50935 || exit 1
50936 @endif target-rda
50942 .PHONY: all-target-rda maybe-all-target-rda
50943 maybe-all-target-rda:
50944 @if gcc-bootstrap
50945 all-target-rda: stage_current
50946 @endif gcc-bootstrap
50947 @if target-rda
50948 TARGET-target-rda=all
50949 maybe-all-target-rda: all-target-rda
50950 all-target-rda: configure-target-rda
50951 @: $(MAKE); $(unstage)
50952 @r=`${PWD_COMMAND}`; export r; \
50953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50954 $(NORMAL_TARGET_EXPORTS) \
50955 (cd $(TARGET_SUBDIR)/rda && \
50956 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50957 $(TARGET-target-rda))
50958 @endif target-rda
50964 .PHONY: check-target-rda maybe-check-target-rda
50965 maybe-check-target-rda:
50966 @if target-rda
50967 maybe-check-target-rda: check-target-rda
50969 check-target-rda:
50970 @: $(MAKE); $(unstage)
50971 @r=`${PWD_COMMAND}`; export r; \
50972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50973 $(NORMAL_TARGET_EXPORTS) \
50974 (cd $(TARGET_SUBDIR)/rda && \
50975 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50977 @endif target-rda
50979 .PHONY: install-target-rda maybe-install-target-rda
50980 maybe-install-target-rda:
50981 @if target-rda
50982 maybe-install-target-rda: install-target-rda
50984 install-target-rda: installdirs
50985 @: $(MAKE); $(unstage)
50986 @r=`${PWD_COMMAND}`; export r; \
50987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50988 $(NORMAL_TARGET_EXPORTS) \
50989 (cd $(TARGET_SUBDIR)/rda && \
50990 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50992 @endif target-rda
50994 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
50995 maybe-install-strip-target-rda:
50996 @if target-rda
50997 maybe-install-strip-target-rda: install-strip-target-rda
50999 install-strip-target-rda: installdirs
51000 @: $(MAKE); $(unstage)
51001 @r=`${PWD_COMMAND}`; export r; \
51002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51003 $(NORMAL_TARGET_EXPORTS) \
51004 (cd $(TARGET_SUBDIR)/rda && \
51005 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51007 @endif target-rda
51009 # Other targets (info, dvi, pdf, etc.)
51011 .PHONY: maybe-info-target-rda info-target-rda
51012 maybe-info-target-rda:
51013 @if target-rda
51014 maybe-info-target-rda: info-target-rda
51016 info-target-rda: \
51017 configure-target-rda
51018 @: $(MAKE); $(unstage)
51019 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51020 r=`${PWD_COMMAND}`; export r; \
51021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51022 $(NORMAL_TARGET_EXPORTS) \
51023 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
51024 for flag in $(EXTRA_TARGET_FLAGS); do \
51025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51026 done; \
51027 (cd $(TARGET_SUBDIR)/rda && \
51028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51030 "RANLIB=$${RANLIB}" \
51031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51032 info) \
51033 || exit 1
51035 @endif target-rda
51037 .PHONY: maybe-dvi-target-rda dvi-target-rda
51038 maybe-dvi-target-rda:
51039 @if target-rda
51040 maybe-dvi-target-rda: dvi-target-rda
51042 dvi-target-rda: \
51043 configure-target-rda
51044 @: $(MAKE); $(unstage)
51045 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51046 r=`${PWD_COMMAND}`; export r; \
51047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51048 $(NORMAL_TARGET_EXPORTS) \
51049 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
51050 for flag in $(EXTRA_TARGET_FLAGS); do \
51051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51052 done; \
51053 (cd $(TARGET_SUBDIR)/rda && \
51054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51056 "RANLIB=$${RANLIB}" \
51057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51058 dvi) \
51059 || exit 1
51061 @endif target-rda
51063 .PHONY: maybe-pdf-target-rda pdf-target-rda
51064 maybe-pdf-target-rda:
51065 @if target-rda
51066 maybe-pdf-target-rda: pdf-target-rda
51068 pdf-target-rda: \
51069 configure-target-rda
51070 @: $(MAKE); $(unstage)
51071 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51072 r=`${PWD_COMMAND}`; export r; \
51073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51074 $(NORMAL_TARGET_EXPORTS) \
51075 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
51076 for flag in $(EXTRA_TARGET_FLAGS); do \
51077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51078 done; \
51079 (cd $(TARGET_SUBDIR)/rda && \
51080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51082 "RANLIB=$${RANLIB}" \
51083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51084 pdf) \
51085 || exit 1
51087 @endif target-rda
51089 .PHONY: maybe-html-target-rda html-target-rda
51090 maybe-html-target-rda:
51091 @if target-rda
51092 maybe-html-target-rda: html-target-rda
51094 html-target-rda: \
51095 configure-target-rda
51096 @: $(MAKE); $(unstage)
51097 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51098 r=`${PWD_COMMAND}`; export r; \
51099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51100 $(NORMAL_TARGET_EXPORTS) \
51101 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
51102 for flag in $(EXTRA_TARGET_FLAGS); do \
51103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51104 done; \
51105 (cd $(TARGET_SUBDIR)/rda && \
51106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51108 "RANLIB=$${RANLIB}" \
51109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51110 html) \
51111 || exit 1
51113 @endif target-rda
51115 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
51116 maybe-TAGS-target-rda:
51117 @if target-rda
51118 maybe-TAGS-target-rda: TAGS-target-rda
51120 TAGS-target-rda: \
51121 configure-target-rda
51122 @: $(MAKE); $(unstage)
51123 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51124 r=`${PWD_COMMAND}`; export r; \
51125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51126 $(NORMAL_TARGET_EXPORTS) \
51127 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
51128 for flag in $(EXTRA_TARGET_FLAGS); do \
51129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51130 done; \
51131 (cd $(TARGET_SUBDIR)/rda && \
51132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51134 "RANLIB=$${RANLIB}" \
51135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51136 TAGS) \
51137 || exit 1
51139 @endif target-rda
51141 .PHONY: maybe-install-info-target-rda install-info-target-rda
51142 maybe-install-info-target-rda:
51143 @if target-rda
51144 maybe-install-info-target-rda: install-info-target-rda
51146 install-info-target-rda: \
51147 configure-target-rda \
51148 info-target-rda
51149 @: $(MAKE); $(unstage)
51150 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51151 r=`${PWD_COMMAND}`; export r; \
51152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51153 $(NORMAL_TARGET_EXPORTS) \
51154 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
51155 for flag in $(EXTRA_TARGET_FLAGS); do \
51156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51157 done; \
51158 (cd $(TARGET_SUBDIR)/rda && \
51159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51161 "RANLIB=$${RANLIB}" \
51162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51163 install-info) \
51164 || exit 1
51166 @endif target-rda
51168 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
51169 maybe-install-pdf-target-rda:
51170 @if target-rda
51171 maybe-install-pdf-target-rda: install-pdf-target-rda
51173 install-pdf-target-rda: \
51174 configure-target-rda \
51175 pdf-target-rda
51176 @: $(MAKE); $(unstage)
51177 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51178 r=`${PWD_COMMAND}`; export r; \
51179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51180 $(NORMAL_TARGET_EXPORTS) \
51181 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
51182 for flag in $(EXTRA_TARGET_FLAGS); do \
51183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51184 done; \
51185 (cd $(TARGET_SUBDIR)/rda && \
51186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51188 "RANLIB=$${RANLIB}" \
51189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51190 install-pdf) \
51191 || exit 1
51193 @endif target-rda
51195 .PHONY: maybe-install-html-target-rda install-html-target-rda
51196 maybe-install-html-target-rda:
51197 @if target-rda
51198 maybe-install-html-target-rda: install-html-target-rda
51200 install-html-target-rda: \
51201 configure-target-rda \
51202 html-target-rda
51203 @: $(MAKE); $(unstage)
51204 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51205 r=`${PWD_COMMAND}`; export r; \
51206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51207 $(NORMAL_TARGET_EXPORTS) \
51208 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
51209 for flag in $(EXTRA_TARGET_FLAGS); do \
51210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51211 done; \
51212 (cd $(TARGET_SUBDIR)/rda && \
51213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51215 "RANLIB=$${RANLIB}" \
51216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51217 install-html) \
51218 || exit 1
51220 @endif target-rda
51222 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
51223 maybe-installcheck-target-rda:
51224 @if target-rda
51225 maybe-installcheck-target-rda: installcheck-target-rda
51227 installcheck-target-rda: \
51228 configure-target-rda
51229 @: $(MAKE); $(unstage)
51230 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51231 r=`${PWD_COMMAND}`; export r; \
51232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51233 $(NORMAL_TARGET_EXPORTS) \
51234 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
51235 for flag in $(EXTRA_TARGET_FLAGS); do \
51236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51237 done; \
51238 (cd $(TARGET_SUBDIR)/rda && \
51239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51241 "RANLIB=$${RANLIB}" \
51242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51243 installcheck) \
51244 || exit 1
51246 @endif target-rda
51248 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
51249 maybe-mostlyclean-target-rda:
51250 @if target-rda
51251 maybe-mostlyclean-target-rda: mostlyclean-target-rda
51253 mostlyclean-target-rda:
51254 @: $(MAKE); $(unstage)
51255 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51256 r=`${PWD_COMMAND}`; export r; \
51257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51258 $(NORMAL_TARGET_EXPORTS) \
51259 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
51260 for flag in $(EXTRA_TARGET_FLAGS); do \
51261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51262 done; \
51263 (cd $(TARGET_SUBDIR)/rda && \
51264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51266 "RANLIB=$${RANLIB}" \
51267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51268 mostlyclean) \
51269 || exit 1
51271 @endif target-rda
51273 .PHONY: maybe-clean-target-rda clean-target-rda
51274 maybe-clean-target-rda:
51275 @if target-rda
51276 maybe-clean-target-rda: clean-target-rda
51278 clean-target-rda:
51279 @: $(MAKE); $(unstage)
51280 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51281 r=`${PWD_COMMAND}`; export r; \
51282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51283 $(NORMAL_TARGET_EXPORTS) \
51284 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
51285 for flag in $(EXTRA_TARGET_FLAGS); do \
51286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51287 done; \
51288 (cd $(TARGET_SUBDIR)/rda && \
51289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51291 "RANLIB=$${RANLIB}" \
51292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51293 clean) \
51294 || exit 1
51296 @endif target-rda
51298 .PHONY: maybe-distclean-target-rda distclean-target-rda
51299 maybe-distclean-target-rda:
51300 @if target-rda
51301 maybe-distclean-target-rda: distclean-target-rda
51303 distclean-target-rda:
51304 @: $(MAKE); $(unstage)
51305 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51306 r=`${PWD_COMMAND}`; export r; \
51307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51308 $(NORMAL_TARGET_EXPORTS) \
51309 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
51310 for flag in $(EXTRA_TARGET_FLAGS); do \
51311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51312 done; \
51313 (cd $(TARGET_SUBDIR)/rda && \
51314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51316 "RANLIB=$${RANLIB}" \
51317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51318 distclean) \
51319 || exit 1
51321 @endif target-rda
51323 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
51324 maybe-maintainer-clean-target-rda:
51325 @if target-rda
51326 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
51328 maintainer-clean-target-rda:
51329 @: $(MAKE); $(unstage)
51330 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51331 r=`${PWD_COMMAND}`; export r; \
51332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51333 $(NORMAL_TARGET_EXPORTS) \
51334 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
51335 for flag in $(EXTRA_TARGET_FLAGS); do \
51336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51337 done; \
51338 (cd $(TARGET_SUBDIR)/rda && \
51339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51341 "RANLIB=$${RANLIB}" \
51342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51343 maintainer-clean) \
51344 || exit 1
51346 @endif target-rda
51352 .PHONY: configure-target-libada maybe-configure-target-libada
51353 maybe-configure-target-libada:
51354 @if gcc-bootstrap
51355 configure-target-libada: stage_current
51356 @endif gcc-bootstrap
51357 @if target-libada
51358 maybe-configure-target-libada: configure-target-libada
51359 configure-target-libada:
51360 @: $(MAKE); $(unstage)
51361 @r=`${PWD_COMMAND}`; export r; \
51362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51363 echo "Checking multilib configuration for libada..."; \
51364 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51365 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
51366 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
51367 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
51368 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
51369 else \
51370 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
51371 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51372 fi; \
51373 else \
51374 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51375 fi; \
51376 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
51377 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51378 $(NORMAL_TARGET_EXPORTS) \
51379 echo Configuring in $(TARGET_SUBDIR)/libada; \
51380 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
51381 case $(srcdir) in \
51382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51383 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
51384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51385 esac; \
51386 module_srcdir=libada; \
51387 rm -f no-such-file || : ; \
51388 CONFIG_SITE=no-such-file $(SHELL) \
51389 $$s/$$module_srcdir/configure \
51390 --srcdir=$${topdir}/$$module_srcdir \
51391 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51392 --target=${target_alias} \
51393 || exit 1
51394 @endif target-libada
51400 .PHONY: all-target-libada maybe-all-target-libada
51401 maybe-all-target-libada:
51402 @if gcc-bootstrap
51403 all-target-libada: stage_current
51404 @endif gcc-bootstrap
51405 @if target-libada
51406 TARGET-target-libada=all
51407 maybe-all-target-libada: all-target-libada
51408 all-target-libada: configure-target-libada
51409 @: $(MAKE); $(unstage)
51410 @r=`${PWD_COMMAND}`; export r; \
51411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51412 $(NORMAL_TARGET_EXPORTS) \
51413 (cd $(TARGET_SUBDIR)/libada && \
51414 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51415 $(TARGET-target-libada))
51416 @endif target-libada
51422 .PHONY: check-target-libada maybe-check-target-libada
51423 maybe-check-target-libada:
51424 @if target-libada
51425 maybe-check-target-libada: check-target-libada
51427 check-target-libada:
51428 @: $(MAKE); $(unstage)
51429 @r=`${PWD_COMMAND}`; export r; \
51430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51431 $(NORMAL_TARGET_EXPORTS) \
51432 (cd $(TARGET_SUBDIR)/libada && \
51433 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51435 @endif target-libada
51437 .PHONY: install-target-libada maybe-install-target-libada
51438 maybe-install-target-libada:
51439 @if target-libada
51440 maybe-install-target-libada: install-target-libada
51442 install-target-libada: installdirs
51443 @: $(MAKE); $(unstage)
51444 @r=`${PWD_COMMAND}`; export r; \
51445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51446 $(NORMAL_TARGET_EXPORTS) \
51447 (cd $(TARGET_SUBDIR)/libada && \
51448 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51450 @endif target-libada
51452 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
51453 maybe-install-strip-target-libada:
51454 @if target-libada
51455 maybe-install-strip-target-libada: install-strip-target-libada
51457 install-strip-target-libada: installdirs
51458 @: $(MAKE); $(unstage)
51459 @r=`${PWD_COMMAND}`; export r; \
51460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51461 $(NORMAL_TARGET_EXPORTS) \
51462 (cd $(TARGET_SUBDIR)/libada && \
51463 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51465 @endif target-libada
51467 # Other targets (info, dvi, pdf, etc.)
51469 .PHONY: maybe-info-target-libada info-target-libada
51470 maybe-info-target-libada:
51471 @if target-libada
51472 maybe-info-target-libada: info-target-libada
51474 info-target-libada: \
51475 configure-target-libada
51476 @: $(MAKE); $(unstage)
51477 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51478 r=`${PWD_COMMAND}`; export r; \
51479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51480 $(NORMAL_TARGET_EXPORTS) \
51481 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
51482 for flag in $(EXTRA_TARGET_FLAGS); do \
51483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51484 done; \
51485 (cd $(TARGET_SUBDIR)/libada && \
51486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51488 "RANLIB=$${RANLIB}" \
51489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51490 info) \
51491 || exit 1
51493 @endif target-libada
51495 .PHONY: maybe-dvi-target-libada dvi-target-libada
51496 maybe-dvi-target-libada:
51497 @if target-libada
51498 maybe-dvi-target-libada: dvi-target-libada
51500 dvi-target-libada: \
51501 configure-target-libada
51502 @: $(MAKE); $(unstage)
51503 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51504 r=`${PWD_COMMAND}`; export r; \
51505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51506 $(NORMAL_TARGET_EXPORTS) \
51507 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
51508 for flag in $(EXTRA_TARGET_FLAGS); do \
51509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51510 done; \
51511 (cd $(TARGET_SUBDIR)/libada && \
51512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51514 "RANLIB=$${RANLIB}" \
51515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51516 dvi) \
51517 || exit 1
51519 @endif target-libada
51521 .PHONY: maybe-pdf-target-libada pdf-target-libada
51522 maybe-pdf-target-libada:
51523 @if target-libada
51524 maybe-pdf-target-libada: pdf-target-libada
51526 pdf-target-libada: \
51527 configure-target-libada
51528 @: $(MAKE); $(unstage)
51529 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51530 r=`${PWD_COMMAND}`; export r; \
51531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51532 $(NORMAL_TARGET_EXPORTS) \
51533 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
51534 for flag in $(EXTRA_TARGET_FLAGS); do \
51535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51536 done; \
51537 (cd $(TARGET_SUBDIR)/libada && \
51538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51540 "RANLIB=$${RANLIB}" \
51541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51542 pdf) \
51543 || exit 1
51545 @endif target-libada
51547 .PHONY: maybe-html-target-libada html-target-libada
51548 maybe-html-target-libada:
51549 @if target-libada
51550 maybe-html-target-libada: html-target-libada
51552 html-target-libada: \
51553 configure-target-libada
51554 @: $(MAKE); $(unstage)
51555 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51556 r=`${PWD_COMMAND}`; export r; \
51557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51558 $(NORMAL_TARGET_EXPORTS) \
51559 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
51560 for flag in $(EXTRA_TARGET_FLAGS); do \
51561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51562 done; \
51563 (cd $(TARGET_SUBDIR)/libada && \
51564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51566 "RANLIB=$${RANLIB}" \
51567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51568 html) \
51569 || exit 1
51571 @endif target-libada
51573 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
51574 maybe-TAGS-target-libada:
51575 @if target-libada
51576 maybe-TAGS-target-libada: TAGS-target-libada
51578 TAGS-target-libada: \
51579 configure-target-libada
51580 @: $(MAKE); $(unstage)
51581 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51582 r=`${PWD_COMMAND}`; export r; \
51583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51584 $(NORMAL_TARGET_EXPORTS) \
51585 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
51586 for flag in $(EXTRA_TARGET_FLAGS); do \
51587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51588 done; \
51589 (cd $(TARGET_SUBDIR)/libada && \
51590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51592 "RANLIB=$${RANLIB}" \
51593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51594 TAGS) \
51595 || exit 1
51597 @endif target-libada
51599 .PHONY: maybe-install-info-target-libada install-info-target-libada
51600 maybe-install-info-target-libada:
51601 @if target-libada
51602 maybe-install-info-target-libada: install-info-target-libada
51604 install-info-target-libada: \
51605 configure-target-libada \
51606 info-target-libada
51607 @: $(MAKE); $(unstage)
51608 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51609 r=`${PWD_COMMAND}`; export r; \
51610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51611 $(NORMAL_TARGET_EXPORTS) \
51612 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
51613 for flag in $(EXTRA_TARGET_FLAGS); do \
51614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51615 done; \
51616 (cd $(TARGET_SUBDIR)/libada && \
51617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51619 "RANLIB=$${RANLIB}" \
51620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51621 install-info) \
51622 || exit 1
51624 @endif target-libada
51626 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
51627 maybe-install-pdf-target-libada:
51628 @if target-libada
51629 maybe-install-pdf-target-libada: install-pdf-target-libada
51631 install-pdf-target-libada: \
51632 configure-target-libada \
51633 pdf-target-libada
51634 @: $(MAKE); $(unstage)
51635 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51636 r=`${PWD_COMMAND}`; export r; \
51637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51638 $(NORMAL_TARGET_EXPORTS) \
51639 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
51640 for flag in $(EXTRA_TARGET_FLAGS); do \
51641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51642 done; \
51643 (cd $(TARGET_SUBDIR)/libada && \
51644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51646 "RANLIB=$${RANLIB}" \
51647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51648 install-pdf) \
51649 || exit 1
51651 @endif target-libada
51653 .PHONY: maybe-install-html-target-libada install-html-target-libada
51654 maybe-install-html-target-libada:
51655 @if target-libada
51656 maybe-install-html-target-libada: install-html-target-libada
51658 install-html-target-libada: \
51659 configure-target-libada \
51660 html-target-libada
51661 @: $(MAKE); $(unstage)
51662 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51663 r=`${PWD_COMMAND}`; export r; \
51664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51665 $(NORMAL_TARGET_EXPORTS) \
51666 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
51667 for flag in $(EXTRA_TARGET_FLAGS); do \
51668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51669 done; \
51670 (cd $(TARGET_SUBDIR)/libada && \
51671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51673 "RANLIB=$${RANLIB}" \
51674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51675 install-html) \
51676 || exit 1
51678 @endif target-libada
51680 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
51681 maybe-installcheck-target-libada:
51682 @if target-libada
51683 maybe-installcheck-target-libada: installcheck-target-libada
51685 installcheck-target-libada: \
51686 configure-target-libada
51687 @: $(MAKE); $(unstage)
51688 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51689 r=`${PWD_COMMAND}`; export r; \
51690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51691 $(NORMAL_TARGET_EXPORTS) \
51692 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
51693 for flag in $(EXTRA_TARGET_FLAGS); do \
51694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51695 done; \
51696 (cd $(TARGET_SUBDIR)/libada && \
51697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51699 "RANLIB=$${RANLIB}" \
51700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51701 installcheck) \
51702 || exit 1
51704 @endif target-libada
51706 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
51707 maybe-mostlyclean-target-libada:
51708 @if target-libada
51709 maybe-mostlyclean-target-libada: mostlyclean-target-libada
51711 mostlyclean-target-libada:
51712 @: $(MAKE); $(unstage)
51713 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51714 r=`${PWD_COMMAND}`; export r; \
51715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51716 $(NORMAL_TARGET_EXPORTS) \
51717 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
51718 for flag in $(EXTRA_TARGET_FLAGS); do \
51719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51720 done; \
51721 (cd $(TARGET_SUBDIR)/libada && \
51722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51724 "RANLIB=$${RANLIB}" \
51725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51726 mostlyclean) \
51727 || exit 1
51729 @endif target-libada
51731 .PHONY: maybe-clean-target-libada clean-target-libada
51732 maybe-clean-target-libada:
51733 @if target-libada
51734 maybe-clean-target-libada: clean-target-libada
51736 clean-target-libada:
51737 @: $(MAKE); $(unstage)
51738 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51739 r=`${PWD_COMMAND}`; export r; \
51740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51741 $(NORMAL_TARGET_EXPORTS) \
51742 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
51743 for flag in $(EXTRA_TARGET_FLAGS); do \
51744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51745 done; \
51746 (cd $(TARGET_SUBDIR)/libada && \
51747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51749 "RANLIB=$${RANLIB}" \
51750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51751 clean) \
51752 || exit 1
51754 @endif target-libada
51756 .PHONY: maybe-distclean-target-libada distclean-target-libada
51757 maybe-distclean-target-libada:
51758 @if target-libada
51759 maybe-distclean-target-libada: distclean-target-libada
51761 distclean-target-libada:
51762 @: $(MAKE); $(unstage)
51763 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51764 r=`${PWD_COMMAND}`; export r; \
51765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51766 $(NORMAL_TARGET_EXPORTS) \
51767 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
51768 for flag in $(EXTRA_TARGET_FLAGS); do \
51769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51770 done; \
51771 (cd $(TARGET_SUBDIR)/libada && \
51772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51774 "RANLIB=$${RANLIB}" \
51775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51776 distclean) \
51777 || exit 1
51779 @endif target-libada
51781 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
51782 maybe-maintainer-clean-target-libada:
51783 @if target-libada
51784 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
51786 maintainer-clean-target-libada:
51787 @: $(MAKE); $(unstage)
51788 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
51789 r=`${PWD_COMMAND}`; export r; \
51790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51791 $(NORMAL_TARGET_EXPORTS) \
51792 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
51793 for flag in $(EXTRA_TARGET_FLAGS); do \
51794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51795 done; \
51796 (cd $(TARGET_SUBDIR)/libada && \
51797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51799 "RANLIB=$${RANLIB}" \
51800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51801 maintainer-clean) \
51802 || exit 1
51804 @endif target-libada
51810 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
51811 maybe-configure-target-libgomp:
51812 @if gcc-bootstrap
51813 configure-target-libgomp: stage_current
51814 @endif gcc-bootstrap
51815 @if target-libgomp
51816 maybe-configure-target-libgomp: configure-target-libgomp
51817 configure-target-libgomp:
51818 @r=`${PWD_COMMAND}`; export r; \
51819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51820 echo "Checking multilib configuration for libgomp..."; \
51821 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51822 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51823 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51824 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51825 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51826 else \
51827 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51828 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51829 fi; \
51830 else \
51831 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51832 fi; \
51833 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51834 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51835 $(NORMAL_TARGET_EXPORTS) \
51836 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
51837 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
51838 case $(srcdir) in \
51839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51840 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51842 esac; \
51843 module_srcdir=libgomp; \
51844 rm -f no-such-file || : ; \
51845 CONFIG_SITE=no-such-file $(SHELL) \
51846 $$s/$$module_srcdir/configure \
51847 --srcdir=$${topdir}/$$module_srcdir \
51848 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51849 --target=${target_alias} \
51850 || exit 1
51851 @endif target-libgomp
51855 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
51856 maybe-configure-stage1-target-libgomp:
51857 @if target-libgomp-bootstrap
51858 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
51859 configure-stage1-target-libgomp:
51860 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
51861 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51862 @r=`${PWD_COMMAND}`; export r; \
51863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51864 TFLAGS="$(STAGE1_TFLAGS)"; \
51865 echo "Checking multilib configuration for libgomp..."; \
51866 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51867 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51868 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51869 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51870 else \
51871 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51872 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51873 fi; \
51874 else \
51875 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51876 fi; \
51877 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51878 $(NORMAL_TARGET_EXPORTS) \
51879 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51880 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51881 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51882 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
51883 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51884 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51885 case $(srcdir) in \
51886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51887 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51889 esac; \
51890 module_srcdir=libgomp; \
51891 $(SHELL) $$s/$$module_srcdir/configure \
51892 --srcdir=$${topdir}/$$module_srcdir \
51893 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51894 --target=${target_alias} \
51896 $(STAGE1_CONFIGURE_FLAGS)
51897 @endif target-libgomp-bootstrap
51899 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
51900 maybe-configure-stage2-target-libgomp:
51901 @if target-libgomp-bootstrap
51902 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
51903 configure-stage2-target-libgomp:
51904 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
51905 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51906 @r=`${PWD_COMMAND}`; export r; \
51907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51908 TFLAGS="$(STAGE2_TFLAGS)"; \
51909 echo "Checking multilib configuration for libgomp..."; \
51910 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51911 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51912 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51913 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51914 else \
51915 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51916 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51917 fi; \
51918 else \
51919 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51920 fi; \
51921 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51922 $(NORMAL_TARGET_EXPORTS) \
51924 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51925 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51926 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51927 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
51928 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51929 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51930 case $(srcdir) in \
51931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51932 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51934 esac; \
51935 module_srcdir=libgomp; \
51936 $(SHELL) $$s/$$module_srcdir/configure \
51937 --srcdir=$${topdir}/$$module_srcdir \
51938 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51939 --target=${target_alias} \
51940 --with-build-libsubdir=$(HOST_SUBDIR) \
51941 $(STAGE2_CONFIGURE_FLAGS)
51942 @endif target-libgomp-bootstrap
51944 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
51945 maybe-configure-stage3-target-libgomp:
51946 @if target-libgomp-bootstrap
51947 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
51948 configure-stage3-target-libgomp:
51949 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
51950 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51951 @r=`${PWD_COMMAND}`; export r; \
51952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51953 TFLAGS="$(STAGE3_TFLAGS)"; \
51954 echo "Checking multilib configuration for libgomp..."; \
51955 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51956 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51957 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51958 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51959 else \
51960 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51961 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51962 fi; \
51963 else \
51964 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51965 fi; \
51966 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51967 $(NORMAL_TARGET_EXPORTS) \
51969 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51970 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51971 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51972 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
51973 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51974 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51975 case $(srcdir) in \
51976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51977 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51979 esac; \
51980 module_srcdir=libgomp; \
51981 $(SHELL) $$s/$$module_srcdir/configure \
51982 --srcdir=$${topdir}/$$module_srcdir \
51983 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51984 --target=${target_alias} \
51985 --with-build-libsubdir=$(HOST_SUBDIR) \
51986 $(STAGE3_CONFIGURE_FLAGS)
51987 @endif target-libgomp-bootstrap
51989 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
51990 maybe-configure-stage4-target-libgomp:
51991 @if target-libgomp-bootstrap
51992 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
51993 configure-stage4-target-libgomp:
51994 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
51995 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
51996 @r=`${PWD_COMMAND}`; export r; \
51997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51998 TFLAGS="$(STAGE4_TFLAGS)"; \
51999 echo "Checking multilib configuration for libgomp..."; \
52000 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52001 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52002 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52003 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52004 else \
52005 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52006 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52007 fi; \
52008 else \
52009 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52010 fi; \
52011 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52012 $(NORMAL_TARGET_EXPORTS) \
52014 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52015 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52016 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52017 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
52018 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52019 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52020 case $(srcdir) in \
52021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52022 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52024 esac; \
52025 module_srcdir=libgomp; \
52026 $(SHELL) $$s/$$module_srcdir/configure \
52027 --srcdir=$${topdir}/$$module_srcdir \
52028 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52029 --target=${target_alias} \
52030 --with-build-libsubdir=$(HOST_SUBDIR) \
52031 $(STAGE4_CONFIGURE_FLAGS)
52032 @endif target-libgomp-bootstrap
52034 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
52035 maybe-configure-stageprofile-target-libgomp:
52036 @if target-libgomp-bootstrap
52037 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
52038 configure-stageprofile-target-libgomp:
52039 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
52040 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52041 @r=`${PWD_COMMAND}`; export r; \
52042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52043 TFLAGS="$(STAGEprofile_TFLAGS)"; \
52044 echo "Checking multilib configuration for libgomp..."; \
52045 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52046 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52047 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52048 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52049 else \
52050 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52051 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52052 fi; \
52053 else \
52054 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52055 fi; \
52056 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52057 $(NORMAL_TARGET_EXPORTS) \
52059 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52060 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52061 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52062 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
52063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52064 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52065 case $(srcdir) in \
52066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52067 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52069 esac; \
52070 module_srcdir=libgomp; \
52071 $(SHELL) $$s/$$module_srcdir/configure \
52072 --srcdir=$${topdir}/$$module_srcdir \
52073 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52074 --target=${target_alias} \
52075 --with-build-libsubdir=$(HOST_SUBDIR) \
52076 $(STAGEprofile_CONFIGURE_FLAGS)
52077 @endif target-libgomp-bootstrap
52079 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
52080 maybe-configure-stagetrain-target-libgomp:
52081 @if target-libgomp-bootstrap
52082 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
52083 configure-stagetrain-target-libgomp:
52084 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
52085 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52086 @r=`${PWD_COMMAND}`; export r; \
52087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52088 TFLAGS="$(STAGEtrain_TFLAGS)"; \
52089 echo "Checking multilib configuration for libgomp..."; \
52090 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52091 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52092 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52093 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52094 else \
52095 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52096 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52097 fi; \
52098 else \
52099 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52100 fi; \
52101 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52102 $(NORMAL_TARGET_EXPORTS) \
52104 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52105 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52106 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52107 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
52108 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52109 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52110 case $(srcdir) in \
52111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52112 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52114 esac; \
52115 module_srcdir=libgomp; \
52116 $(SHELL) $$s/$$module_srcdir/configure \
52117 --srcdir=$${topdir}/$$module_srcdir \
52118 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52119 --target=${target_alias} \
52120 --with-build-libsubdir=$(HOST_SUBDIR) \
52121 $(STAGEtrain_CONFIGURE_FLAGS)
52122 @endif target-libgomp-bootstrap
52124 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
52125 maybe-configure-stagefeedback-target-libgomp:
52126 @if target-libgomp-bootstrap
52127 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
52128 configure-stagefeedback-target-libgomp:
52129 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
52130 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52131 @r=`${PWD_COMMAND}`; export r; \
52132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52133 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
52134 echo "Checking multilib configuration for libgomp..."; \
52135 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52136 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52137 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52138 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52139 else \
52140 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52141 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52142 fi; \
52143 else \
52144 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52145 fi; \
52146 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52147 $(NORMAL_TARGET_EXPORTS) \
52149 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52150 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52151 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52152 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
52153 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52154 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52155 case $(srcdir) in \
52156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52157 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52159 esac; \
52160 module_srcdir=libgomp; \
52161 $(SHELL) $$s/$$module_srcdir/configure \
52162 --srcdir=$${topdir}/$$module_srcdir \
52163 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52164 --target=${target_alias} \
52165 --with-build-libsubdir=$(HOST_SUBDIR) \
52166 $(STAGEfeedback_CONFIGURE_FLAGS)
52167 @endif target-libgomp-bootstrap
52169 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
52170 maybe-configure-stageautoprofile-target-libgomp:
52171 @if target-libgomp-bootstrap
52172 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
52173 configure-stageautoprofile-target-libgomp:
52174 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
52175 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52176 @r=`${PWD_COMMAND}`; export r; \
52177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52178 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
52179 echo "Checking multilib configuration for libgomp..."; \
52180 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52181 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52182 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52183 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52184 else \
52185 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52186 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52187 fi; \
52188 else \
52189 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52190 fi; \
52191 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52192 $(NORMAL_TARGET_EXPORTS) \
52194 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52195 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52196 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52197 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
52198 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52199 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52200 case $(srcdir) in \
52201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52202 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52204 esac; \
52205 module_srcdir=libgomp; \
52206 $(SHELL) $$s/$$module_srcdir/configure \
52207 --srcdir=$${topdir}/$$module_srcdir \
52208 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52209 --target=${target_alias} \
52210 --with-build-libsubdir=$(HOST_SUBDIR) \
52211 $(STAGEautoprofile_CONFIGURE_FLAGS)
52212 @endif target-libgomp-bootstrap
52214 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
52215 maybe-configure-stageautofeedback-target-libgomp:
52216 @if target-libgomp-bootstrap
52217 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
52218 configure-stageautofeedback-target-libgomp:
52219 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
52220 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52221 @r=`${PWD_COMMAND}`; export r; \
52222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52223 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
52224 echo "Checking multilib configuration for libgomp..."; \
52225 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52226 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52227 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52228 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52229 else \
52230 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52231 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52232 fi; \
52233 else \
52234 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52235 fi; \
52236 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52237 $(NORMAL_TARGET_EXPORTS) \
52239 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52240 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52241 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52242 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
52243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52244 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52245 case $(srcdir) in \
52246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52247 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52249 esac; \
52250 module_srcdir=libgomp; \
52251 $(SHELL) $$s/$$module_srcdir/configure \
52252 --srcdir=$${topdir}/$$module_srcdir \
52253 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52254 --target=${target_alias} \
52255 --with-build-libsubdir=$(HOST_SUBDIR) \
52256 $(STAGEautofeedback_CONFIGURE_FLAGS)
52257 @endif target-libgomp-bootstrap
52263 .PHONY: all-target-libgomp maybe-all-target-libgomp
52264 maybe-all-target-libgomp:
52265 @if gcc-bootstrap
52266 all-target-libgomp: stage_current
52267 @endif gcc-bootstrap
52268 @if target-libgomp
52269 TARGET-target-libgomp=all
52270 maybe-all-target-libgomp: all-target-libgomp
52271 all-target-libgomp: configure-target-libgomp
52272 @r=`${PWD_COMMAND}`; export r; \
52273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52274 $(NORMAL_TARGET_EXPORTS) \
52275 (cd $(TARGET_SUBDIR)/libgomp && \
52276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52277 $(TARGET-target-libgomp))
52278 @endif target-libgomp
52282 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
52283 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
52284 maybe-all-stage1-target-libgomp:
52285 maybe-clean-stage1-target-libgomp:
52286 @if target-libgomp-bootstrap
52287 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
52288 all-stage1: all-stage1-target-libgomp
52289 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
52290 all-stage1-target-libgomp: configure-stage1-target-libgomp
52291 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
52292 @r=`${PWD_COMMAND}`; export r; \
52293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52294 TFLAGS="$(STAGE1_TFLAGS)"; \
52295 $(NORMAL_TARGET_EXPORTS) \
52296 cd $(TARGET_SUBDIR)/libgomp && \
52298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52299 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52300 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52301 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52305 $(EXTRA_TARGET_FLAGS) \
52307 TFLAGS="$(STAGE1_TFLAGS)" \
52308 $(TARGET-stage1-target-libgomp)
52310 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
52311 clean-stage1: clean-stage1-target-libgomp
52312 clean-stage1-target-libgomp:
52313 @if [ $(current_stage) = stage1 ]; then \
52314 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52315 else \
52316 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
52317 $(MAKE) stage1-start; \
52318 fi; \
52319 cd $(TARGET_SUBDIR)/libgomp && \
52320 $(MAKE) $(EXTRA_TARGET_FLAGS) \
52321 clean
52322 @endif target-libgomp-bootstrap
52325 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
52326 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
52327 maybe-all-stage2-target-libgomp:
52328 maybe-clean-stage2-target-libgomp:
52329 @if target-libgomp-bootstrap
52330 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
52331 all-stage2: all-stage2-target-libgomp
52332 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
52333 all-stage2-target-libgomp: configure-stage2-target-libgomp
52334 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
52335 @r=`${PWD_COMMAND}`; export r; \
52336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52337 TFLAGS="$(STAGE2_TFLAGS)"; \
52338 $(NORMAL_TARGET_EXPORTS) \
52340 cd $(TARGET_SUBDIR)/libgomp && \
52342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52343 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52344 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52345 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52349 $(EXTRA_TARGET_FLAGS) \
52350 TFLAGS="$(STAGE2_TFLAGS)" \
52351 $(TARGET-stage2-target-libgomp)
52353 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
52354 clean-stage2: clean-stage2-target-libgomp
52355 clean-stage2-target-libgomp:
52356 @if [ $(current_stage) = stage2 ]; then \
52357 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52358 else \
52359 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
52360 $(MAKE) stage2-start; \
52361 fi; \
52362 cd $(TARGET_SUBDIR)/libgomp && \
52363 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52364 @endif target-libgomp-bootstrap
52367 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
52368 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
52369 maybe-all-stage3-target-libgomp:
52370 maybe-clean-stage3-target-libgomp:
52371 @if target-libgomp-bootstrap
52372 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
52373 all-stage3: all-stage3-target-libgomp
52374 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
52375 all-stage3-target-libgomp: configure-stage3-target-libgomp
52376 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
52377 @r=`${PWD_COMMAND}`; export r; \
52378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52379 TFLAGS="$(STAGE3_TFLAGS)"; \
52380 $(NORMAL_TARGET_EXPORTS) \
52382 cd $(TARGET_SUBDIR)/libgomp && \
52384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52385 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52386 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52387 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52391 $(EXTRA_TARGET_FLAGS) \
52392 TFLAGS="$(STAGE3_TFLAGS)" \
52393 $(TARGET-stage3-target-libgomp)
52395 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
52396 clean-stage3: clean-stage3-target-libgomp
52397 clean-stage3-target-libgomp:
52398 @if [ $(current_stage) = stage3 ]; then \
52399 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52400 else \
52401 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
52402 $(MAKE) stage3-start; \
52403 fi; \
52404 cd $(TARGET_SUBDIR)/libgomp && \
52405 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52406 @endif target-libgomp-bootstrap
52409 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
52410 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
52411 maybe-all-stage4-target-libgomp:
52412 maybe-clean-stage4-target-libgomp:
52413 @if target-libgomp-bootstrap
52414 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
52415 all-stage4: all-stage4-target-libgomp
52416 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
52417 all-stage4-target-libgomp: configure-stage4-target-libgomp
52418 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
52419 @r=`${PWD_COMMAND}`; export r; \
52420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52421 TFLAGS="$(STAGE4_TFLAGS)"; \
52422 $(NORMAL_TARGET_EXPORTS) \
52424 cd $(TARGET_SUBDIR)/libgomp && \
52426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52427 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52428 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52429 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52433 $(EXTRA_TARGET_FLAGS) \
52434 TFLAGS="$(STAGE4_TFLAGS)" \
52435 $(TARGET-stage4-target-libgomp)
52437 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
52438 clean-stage4: clean-stage4-target-libgomp
52439 clean-stage4-target-libgomp:
52440 @if [ $(current_stage) = stage4 ]; then \
52441 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52442 else \
52443 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
52444 $(MAKE) stage4-start; \
52445 fi; \
52446 cd $(TARGET_SUBDIR)/libgomp && \
52447 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52448 @endif target-libgomp-bootstrap
52451 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
52452 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
52453 maybe-all-stageprofile-target-libgomp:
52454 maybe-clean-stageprofile-target-libgomp:
52455 @if target-libgomp-bootstrap
52456 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
52457 all-stageprofile: all-stageprofile-target-libgomp
52458 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
52459 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
52460 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
52461 @r=`${PWD_COMMAND}`; export r; \
52462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52463 TFLAGS="$(STAGEprofile_TFLAGS)"; \
52464 $(NORMAL_TARGET_EXPORTS) \
52466 cd $(TARGET_SUBDIR)/libgomp && \
52468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52469 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52470 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52471 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52475 $(EXTRA_TARGET_FLAGS) \
52476 TFLAGS="$(STAGEprofile_TFLAGS)" \
52477 $(TARGET-stageprofile-target-libgomp)
52479 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
52480 clean-stageprofile: clean-stageprofile-target-libgomp
52481 clean-stageprofile-target-libgomp:
52482 @if [ $(current_stage) = stageprofile ]; then \
52483 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52484 else \
52485 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
52486 $(MAKE) stageprofile-start; \
52487 fi; \
52488 cd $(TARGET_SUBDIR)/libgomp && \
52489 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52490 @endif target-libgomp-bootstrap
52493 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
52494 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
52495 maybe-all-stagetrain-target-libgomp:
52496 maybe-clean-stagetrain-target-libgomp:
52497 @if target-libgomp-bootstrap
52498 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
52499 all-stagetrain: all-stagetrain-target-libgomp
52500 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
52501 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
52502 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
52503 @r=`${PWD_COMMAND}`; export r; \
52504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52505 TFLAGS="$(STAGEtrain_TFLAGS)"; \
52506 $(NORMAL_TARGET_EXPORTS) \
52508 cd $(TARGET_SUBDIR)/libgomp && \
52510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52511 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52512 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52513 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52517 $(EXTRA_TARGET_FLAGS) \
52518 TFLAGS="$(STAGEtrain_TFLAGS)" \
52519 $(TARGET-stagetrain-target-libgomp)
52521 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
52522 clean-stagetrain: clean-stagetrain-target-libgomp
52523 clean-stagetrain-target-libgomp:
52524 @if [ $(current_stage) = stagetrain ]; then \
52525 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52526 else \
52527 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
52528 $(MAKE) stagetrain-start; \
52529 fi; \
52530 cd $(TARGET_SUBDIR)/libgomp && \
52531 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52532 @endif target-libgomp-bootstrap
52535 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
52536 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
52537 maybe-all-stagefeedback-target-libgomp:
52538 maybe-clean-stagefeedback-target-libgomp:
52539 @if target-libgomp-bootstrap
52540 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
52541 all-stagefeedback: all-stagefeedback-target-libgomp
52542 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
52543 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
52544 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
52545 @r=`${PWD_COMMAND}`; export r; \
52546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52547 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
52548 $(NORMAL_TARGET_EXPORTS) \
52550 cd $(TARGET_SUBDIR)/libgomp && \
52552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52553 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52554 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52555 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52559 $(EXTRA_TARGET_FLAGS) \
52560 TFLAGS="$(STAGEfeedback_TFLAGS)" \
52561 $(TARGET-stagefeedback-target-libgomp)
52563 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
52564 clean-stagefeedback: clean-stagefeedback-target-libgomp
52565 clean-stagefeedback-target-libgomp:
52566 @if [ $(current_stage) = stagefeedback ]; then \
52567 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52568 else \
52569 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
52570 $(MAKE) stagefeedback-start; \
52571 fi; \
52572 cd $(TARGET_SUBDIR)/libgomp && \
52573 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52574 @endif target-libgomp-bootstrap
52577 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
52578 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
52579 maybe-all-stageautoprofile-target-libgomp:
52580 maybe-clean-stageautoprofile-target-libgomp:
52581 @if target-libgomp-bootstrap
52582 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
52583 all-stageautoprofile: all-stageautoprofile-target-libgomp
52584 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
52585 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
52586 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
52587 @r=`${PWD_COMMAND}`; export r; \
52588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52589 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
52590 $(NORMAL_TARGET_EXPORTS) \
52592 cd $(TARGET_SUBDIR)/libgomp && \
52593 $$s/gcc/config/i386/$(AUTO_PROFILE) \
52594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52595 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52596 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52597 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52601 $(EXTRA_TARGET_FLAGS) \
52602 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
52603 $(TARGET-stageautoprofile-target-libgomp)
52605 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
52606 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
52607 clean-stageautoprofile-target-libgomp:
52608 @if [ $(current_stage) = stageautoprofile ]; then \
52609 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52610 else \
52611 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
52612 $(MAKE) stageautoprofile-start; \
52613 fi; \
52614 cd $(TARGET_SUBDIR)/libgomp && \
52615 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52616 @endif target-libgomp-bootstrap
52619 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
52620 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
52621 maybe-all-stageautofeedback-target-libgomp:
52622 maybe-clean-stageautofeedback-target-libgomp:
52623 @if target-libgomp-bootstrap
52624 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
52625 all-stageautofeedback: all-stageautofeedback-target-libgomp
52626 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
52627 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
52628 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
52629 @r=`${PWD_COMMAND}`; export r; \
52630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52631 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
52632 $(NORMAL_TARGET_EXPORTS) \
52634 cd $(TARGET_SUBDIR)/libgomp && \
52636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52637 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52643 $(EXTRA_TARGET_FLAGS) \
52644 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
52645 $(TARGET-stageautofeedback-target-libgomp)
52647 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
52648 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
52649 clean-stageautofeedback-target-libgomp:
52650 @if [ $(current_stage) = stageautofeedback ]; then \
52651 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52652 else \
52653 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
52654 $(MAKE) stageautofeedback-start; \
52655 fi; \
52656 cd $(TARGET_SUBDIR)/libgomp && \
52657 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52658 @endif target-libgomp-bootstrap
52665 .PHONY: check-target-libgomp maybe-check-target-libgomp
52666 maybe-check-target-libgomp:
52667 @if target-libgomp
52668 maybe-check-target-libgomp: check-target-libgomp
52670 check-target-libgomp:
52671 @: $(MAKE); $(unstage)
52672 @r=`${PWD_COMMAND}`; export r; \
52673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52674 $(NORMAL_TARGET_EXPORTS) \
52675 (cd $(TARGET_SUBDIR)/libgomp && \
52676 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52678 @endif target-libgomp
52680 .PHONY: install-target-libgomp maybe-install-target-libgomp
52681 maybe-install-target-libgomp:
52682 @if target-libgomp
52683 maybe-install-target-libgomp: install-target-libgomp
52685 install-target-libgomp: installdirs
52686 @: $(MAKE); $(unstage)
52687 @r=`${PWD_COMMAND}`; export r; \
52688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52689 $(NORMAL_TARGET_EXPORTS) \
52690 (cd $(TARGET_SUBDIR)/libgomp && \
52691 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52693 @endif target-libgomp
52695 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
52696 maybe-install-strip-target-libgomp:
52697 @if target-libgomp
52698 maybe-install-strip-target-libgomp: install-strip-target-libgomp
52700 install-strip-target-libgomp: installdirs
52701 @: $(MAKE); $(unstage)
52702 @r=`${PWD_COMMAND}`; export r; \
52703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52704 $(NORMAL_TARGET_EXPORTS) \
52705 (cd $(TARGET_SUBDIR)/libgomp && \
52706 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52708 @endif target-libgomp
52710 # Other targets (info, dvi, pdf, etc.)
52712 .PHONY: maybe-info-target-libgomp info-target-libgomp
52713 maybe-info-target-libgomp:
52714 @if target-libgomp
52715 maybe-info-target-libgomp: info-target-libgomp
52717 info-target-libgomp: \
52718 configure-target-libgomp
52719 @: $(MAKE); $(unstage)
52720 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52721 r=`${PWD_COMMAND}`; export r; \
52722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52723 $(NORMAL_TARGET_EXPORTS) \
52724 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
52725 for flag in $(EXTRA_TARGET_FLAGS); do \
52726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52727 done; \
52728 (cd $(TARGET_SUBDIR)/libgomp && \
52729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52731 "RANLIB=$${RANLIB}" \
52732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52733 info) \
52734 || exit 1
52736 @endif target-libgomp
52738 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
52739 maybe-dvi-target-libgomp:
52740 @if target-libgomp
52741 maybe-dvi-target-libgomp: dvi-target-libgomp
52743 dvi-target-libgomp: \
52744 configure-target-libgomp
52745 @: $(MAKE); $(unstage)
52746 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52747 r=`${PWD_COMMAND}`; export r; \
52748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52749 $(NORMAL_TARGET_EXPORTS) \
52750 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
52751 for flag in $(EXTRA_TARGET_FLAGS); do \
52752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52753 done; \
52754 (cd $(TARGET_SUBDIR)/libgomp && \
52755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52757 "RANLIB=$${RANLIB}" \
52758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52759 dvi) \
52760 || exit 1
52762 @endif target-libgomp
52764 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
52765 maybe-pdf-target-libgomp:
52766 @if target-libgomp
52767 maybe-pdf-target-libgomp: pdf-target-libgomp
52769 pdf-target-libgomp: \
52770 configure-target-libgomp
52771 @: $(MAKE); $(unstage)
52772 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52773 r=`${PWD_COMMAND}`; export r; \
52774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52775 $(NORMAL_TARGET_EXPORTS) \
52776 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
52777 for flag in $(EXTRA_TARGET_FLAGS); do \
52778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52779 done; \
52780 (cd $(TARGET_SUBDIR)/libgomp && \
52781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52783 "RANLIB=$${RANLIB}" \
52784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52785 pdf) \
52786 || exit 1
52788 @endif target-libgomp
52790 .PHONY: maybe-html-target-libgomp html-target-libgomp
52791 maybe-html-target-libgomp:
52792 @if target-libgomp
52793 maybe-html-target-libgomp: html-target-libgomp
52795 html-target-libgomp: \
52796 configure-target-libgomp
52797 @: $(MAKE); $(unstage)
52798 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52799 r=`${PWD_COMMAND}`; export r; \
52800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52801 $(NORMAL_TARGET_EXPORTS) \
52802 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
52803 for flag in $(EXTRA_TARGET_FLAGS); do \
52804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52805 done; \
52806 (cd $(TARGET_SUBDIR)/libgomp && \
52807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52809 "RANLIB=$${RANLIB}" \
52810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52811 html) \
52812 || exit 1
52814 @endif target-libgomp
52816 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
52817 maybe-TAGS-target-libgomp:
52818 @if target-libgomp
52819 maybe-TAGS-target-libgomp: TAGS-target-libgomp
52821 TAGS-target-libgomp: \
52822 configure-target-libgomp
52823 @: $(MAKE); $(unstage)
52824 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52825 r=`${PWD_COMMAND}`; export r; \
52826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52827 $(NORMAL_TARGET_EXPORTS) \
52828 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
52829 for flag in $(EXTRA_TARGET_FLAGS); do \
52830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52831 done; \
52832 (cd $(TARGET_SUBDIR)/libgomp && \
52833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52835 "RANLIB=$${RANLIB}" \
52836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52837 TAGS) \
52838 || exit 1
52840 @endif target-libgomp
52842 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
52843 maybe-install-info-target-libgomp:
52844 @if target-libgomp
52845 maybe-install-info-target-libgomp: install-info-target-libgomp
52847 install-info-target-libgomp: \
52848 configure-target-libgomp \
52849 info-target-libgomp
52850 @: $(MAKE); $(unstage)
52851 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52852 r=`${PWD_COMMAND}`; export r; \
52853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52854 $(NORMAL_TARGET_EXPORTS) \
52855 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
52856 for flag in $(EXTRA_TARGET_FLAGS); do \
52857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52858 done; \
52859 (cd $(TARGET_SUBDIR)/libgomp && \
52860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52862 "RANLIB=$${RANLIB}" \
52863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52864 install-info) \
52865 || exit 1
52867 @endif target-libgomp
52869 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
52870 maybe-install-pdf-target-libgomp:
52871 @if target-libgomp
52872 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
52874 install-pdf-target-libgomp: \
52875 configure-target-libgomp \
52876 pdf-target-libgomp
52877 @: $(MAKE); $(unstage)
52878 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52879 r=`${PWD_COMMAND}`; export r; \
52880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52881 $(NORMAL_TARGET_EXPORTS) \
52882 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
52883 for flag in $(EXTRA_TARGET_FLAGS); do \
52884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52885 done; \
52886 (cd $(TARGET_SUBDIR)/libgomp && \
52887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52889 "RANLIB=$${RANLIB}" \
52890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52891 install-pdf) \
52892 || exit 1
52894 @endif target-libgomp
52896 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
52897 maybe-install-html-target-libgomp:
52898 @if target-libgomp
52899 maybe-install-html-target-libgomp: install-html-target-libgomp
52901 install-html-target-libgomp: \
52902 configure-target-libgomp \
52903 html-target-libgomp
52904 @: $(MAKE); $(unstage)
52905 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52906 r=`${PWD_COMMAND}`; export r; \
52907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52908 $(NORMAL_TARGET_EXPORTS) \
52909 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
52910 for flag in $(EXTRA_TARGET_FLAGS); do \
52911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52912 done; \
52913 (cd $(TARGET_SUBDIR)/libgomp && \
52914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52916 "RANLIB=$${RANLIB}" \
52917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52918 install-html) \
52919 || exit 1
52921 @endif target-libgomp
52923 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
52924 maybe-installcheck-target-libgomp:
52925 @if target-libgomp
52926 maybe-installcheck-target-libgomp: installcheck-target-libgomp
52928 installcheck-target-libgomp: \
52929 configure-target-libgomp
52930 @: $(MAKE); $(unstage)
52931 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52932 r=`${PWD_COMMAND}`; export r; \
52933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52934 $(NORMAL_TARGET_EXPORTS) \
52935 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
52936 for flag in $(EXTRA_TARGET_FLAGS); do \
52937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52938 done; \
52939 (cd $(TARGET_SUBDIR)/libgomp && \
52940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52942 "RANLIB=$${RANLIB}" \
52943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52944 installcheck) \
52945 || exit 1
52947 @endif target-libgomp
52949 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
52950 maybe-mostlyclean-target-libgomp:
52951 @if target-libgomp
52952 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
52954 mostlyclean-target-libgomp:
52955 @: $(MAKE); $(unstage)
52956 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52957 r=`${PWD_COMMAND}`; export r; \
52958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52959 $(NORMAL_TARGET_EXPORTS) \
52960 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
52961 for flag in $(EXTRA_TARGET_FLAGS); do \
52962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52963 done; \
52964 (cd $(TARGET_SUBDIR)/libgomp && \
52965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52967 "RANLIB=$${RANLIB}" \
52968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52969 mostlyclean) \
52970 || exit 1
52972 @endif target-libgomp
52974 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
52975 maybe-clean-target-libgomp:
52976 @if target-libgomp
52977 maybe-clean-target-libgomp: clean-target-libgomp
52979 clean-target-libgomp:
52980 @: $(MAKE); $(unstage)
52981 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52982 r=`${PWD_COMMAND}`; export r; \
52983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52984 $(NORMAL_TARGET_EXPORTS) \
52985 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
52986 for flag in $(EXTRA_TARGET_FLAGS); do \
52987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52988 done; \
52989 (cd $(TARGET_SUBDIR)/libgomp && \
52990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52992 "RANLIB=$${RANLIB}" \
52993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52994 clean) \
52995 || exit 1
52997 @endif target-libgomp
52999 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
53000 maybe-distclean-target-libgomp:
53001 @if target-libgomp
53002 maybe-distclean-target-libgomp: distclean-target-libgomp
53004 distclean-target-libgomp:
53005 @: $(MAKE); $(unstage)
53006 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53007 r=`${PWD_COMMAND}`; export r; \
53008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53009 $(NORMAL_TARGET_EXPORTS) \
53010 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
53011 for flag in $(EXTRA_TARGET_FLAGS); do \
53012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53013 done; \
53014 (cd $(TARGET_SUBDIR)/libgomp && \
53015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53017 "RANLIB=$${RANLIB}" \
53018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53019 distclean) \
53020 || exit 1
53022 @endif target-libgomp
53024 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
53025 maybe-maintainer-clean-target-libgomp:
53026 @if target-libgomp
53027 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
53029 maintainer-clean-target-libgomp:
53030 @: $(MAKE); $(unstage)
53031 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53032 r=`${PWD_COMMAND}`; export r; \
53033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53034 $(NORMAL_TARGET_EXPORTS) \
53035 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
53036 for flag in $(EXTRA_TARGET_FLAGS); do \
53037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53038 done; \
53039 (cd $(TARGET_SUBDIR)/libgomp && \
53040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53042 "RANLIB=$${RANLIB}" \
53043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53044 maintainer-clean) \
53045 || exit 1
53047 @endif target-libgomp
53053 .PHONY: configure-target-libitm maybe-configure-target-libitm
53054 maybe-configure-target-libitm:
53055 @if gcc-bootstrap
53056 configure-target-libitm: stage_current
53057 @endif gcc-bootstrap
53058 @if target-libitm
53059 maybe-configure-target-libitm: configure-target-libitm
53060 configure-target-libitm:
53061 @: $(MAKE); $(unstage)
53062 @r=`${PWD_COMMAND}`; export r; \
53063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53064 echo "Checking multilib configuration for libitm..."; \
53065 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53066 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
53067 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
53068 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
53069 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
53070 else \
53071 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
53072 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53073 fi; \
53074 else \
53075 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53076 fi; \
53077 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
53078 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53079 $(NORMAL_TARGET_EXPORTS) \
53080 echo Configuring in $(TARGET_SUBDIR)/libitm; \
53081 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
53082 case $(srcdir) in \
53083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53084 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
53085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53086 esac; \
53087 module_srcdir=libitm; \
53088 rm -f no-such-file || : ; \
53089 CONFIG_SITE=no-such-file $(SHELL) \
53090 $$s/$$module_srcdir/configure \
53091 --srcdir=$${topdir}/$$module_srcdir \
53092 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53093 --target=${target_alias} \
53094 || exit 1
53095 @endif target-libitm
53101 .PHONY: all-target-libitm maybe-all-target-libitm
53102 maybe-all-target-libitm:
53103 @if gcc-bootstrap
53104 all-target-libitm: stage_current
53105 @endif gcc-bootstrap
53106 @if target-libitm
53107 TARGET-target-libitm=all
53108 maybe-all-target-libitm: all-target-libitm
53109 all-target-libitm: configure-target-libitm
53110 @: $(MAKE); $(unstage)
53111 @r=`${PWD_COMMAND}`; export r; \
53112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53113 $(NORMAL_TARGET_EXPORTS) \
53114 (cd $(TARGET_SUBDIR)/libitm && \
53115 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53116 $(TARGET-target-libitm))
53117 @endif target-libitm
53123 .PHONY: check-target-libitm maybe-check-target-libitm
53124 maybe-check-target-libitm:
53125 @if target-libitm
53126 maybe-check-target-libitm: check-target-libitm
53128 check-target-libitm:
53129 @: $(MAKE); $(unstage)
53130 @r=`${PWD_COMMAND}`; export r; \
53131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53132 $(NORMAL_TARGET_EXPORTS) \
53133 (cd $(TARGET_SUBDIR)/libitm && \
53134 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53136 @endif target-libitm
53138 .PHONY: install-target-libitm maybe-install-target-libitm
53139 maybe-install-target-libitm:
53140 @if target-libitm
53141 maybe-install-target-libitm: install-target-libitm
53143 install-target-libitm: installdirs
53144 @: $(MAKE); $(unstage)
53145 @r=`${PWD_COMMAND}`; export r; \
53146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53147 $(NORMAL_TARGET_EXPORTS) \
53148 (cd $(TARGET_SUBDIR)/libitm && \
53149 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53151 @endif target-libitm
53153 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
53154 maybe-install-strip-target-libitm:
53155 @if target-libitm
53156 maybe-install-strip-target-libitm: install-strip-target-libitm
53158 install-strip-target-libitm: installdirs
53159 @: $(MAKE); $(unstage)
53160 @r=`${PWD_COMMAND}`; export r; \
53161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53162 $(NORMAL_TARGET_EXPORTS) \
53163 (cd $(TARGET_SUBDIR)/libitm && \
53164 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53166 @endif target-libitm
53168 # Other targets (info, dvi, pdf, etc.)
53170 .PHONY: maybe-info-target-libitm info-target-libitm
53171 maybe-info-target-libitm:
53172 @if target-libitm
53173 maybe-info-target-libitm: info-target-libitm
53175 info-target-libitm: \
53176 configure-target-libitm
53177 @: $(MAKE); $(unstage)
53178 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53179 r=`${PWD_COMMAND}`; export r; \
53180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53181 $(NORMAL_TARGET_EXPORTS) \
53182 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
53183 for flag in $(EXTRA_TARGET_FLAGS); do \
53184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53185 done; \
53186 (cd $(TARGET_SUBDIR)/libitm && \
53187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53189 "RANLIB=$${RANLIB}" \
53190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53191 info) \
53192 || exit 1
53194 @endif target-libitm
53196 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
53197 maybe-dvi-target-libitm:
53198 @if target-libitm
53199 maybe-dvi-target-libitm: dvi-target-libitm
53201 dvi-target-libitm: \
53202 configure-target-libitm
53203 @: $(MAKE); $(unstage)
53204 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53205 r=`${PWD_COMMAND}`; export r; \
53206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53207 $(NORMAL_TARGET_EXPORTS) \
53208 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
53209 for flag in $(EXTRA_TARGET_FLAGS); do \
53210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53211 done; \
53212 (cd $(TARGET_SUBDIR)/libitm && \
53213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53215 "RANLIB=$${RANLIB}" \
53216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53217 dvi) \
53218 || exit 1
53220 @endif target-libitm
53222 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
53223 maybe-pdf-target-libitm:
53224 @if target-libitm
53225 maybe-pdf-target-libitm: pdf-target-libitm
53227 pdf-target-libitm: \
53228 configure-target-libitm
53229 @: $(MAKE); $(unstage)
53230 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53231 r=`${PWD_COMMAND}`; export r; \
53232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53233 $(NORMAL_TARGET_EXPORTS) \
53234 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
53235 for flag in $(EXTRA_TARGET_FLAGS); do \
53236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53237 done; \
53238 (cd $(TARGET_SUBDIR)/libitm && \
53239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53241 "RANLIB=$${RANLIB}" \
53242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53243 pdf) \
53244 || exit 1
53246 @endif target-libitm
53248 .PHONY: maybe-html-target-libitm html-target-libitm
53249 maybe-html-target-libitm:
53250 @if target-libitm
53251 maybe-html-target-libitm: html-target-libitm
53253 html-target-libitm: \
53254 configure-target-libitm
53255 @: $(MAKE); $(unstage)
53256 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53257 r=`${PWD_COMMAND}`; export r; \
53258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53259 $(NORMAL_TARGET_EXPORTS) \
53260 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
53261 for flag in $(EXTRA_TARGET_FLAGS); do \
53262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53263 done; \
53264 (cd $(TARGET_SUBDIR)/libitm && \
53265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53267 "RANLIB=$${RANLIB}" \
53268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53269 html) \
53270 || exit 1
53272 @endif target-libitm
53274 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
53275 maybe-TAGS-target-libitm:
53276 @if target-libitm
53277 maybe-TAGS-target-libitm: TAGS-target-libitm
53279 TAGS-target-libitm: \
53280 configure-target-libitm
53281 @: $(MAKE); $(unstage)
53282 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53283 r=`${PWD_COMMAND}`; export r; \
53284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53285 $(NORMAL_TARGET_EXPORTS) \
53286 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
53287 for flag in $(EXTRA_TARGET_FLAGS); do \
53288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53289 done; \
53290 (cd $(TARGET_SUBDIR)/libitm && \
53291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53293 "RANLIB=$${RANLIB}" \
53294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53295 TAGS) \
53296 || exit 1
53298 @endif target-libitm
53300 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
53301 maybe-install-info-target-libitm:
53302 @if target-libitm
53303 maybe-install-info-target-libitm: install-info-target-libitm
53305 install-info-target-libitm: \
53306 configure-target-libitm \
53307 info-target-libitm
53308 @: $(MAKE); $(unstage)
53309 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53310 r=`${PWD_COMMAND}`; export r; \
53311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53312 $(NORMAL_TARGET_EXPORTS) \
53313 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
53314 for flag in $(EXTRA_TARGET_FLAGS); do \
53315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53316 done; \
53317 (cd $(TARGET_SUBDIR)/libitm && \
53318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53320 "RANLIB=$${RANLIB}" \
53321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53322 install-info) \
53323 || exit 1
53325 @endif target-libitm
53327 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
53328 maybe-install-pdf-target-libitm:
53329 @if target-libitm
53330 maybe-install-pdf-target-libitm: install-pdf-target-libitm
53332 install-pdf-target-libitm: \
53333 configure-target-libitm \
53334 pdf-target-libitm
53335 @: $(MAKE); $(unstage)
53336 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53337 r=`${PWD_COMMAND}`; export r; \
53338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53339 $(NORMAL_TARGET_EXPORTS) \
53340 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
53341 for flag in $(EXTRA_TARGET_FLAGS); do \
53342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53343 done; \
53344 (cd $(TARGET_SUBDIR)/libitm && \
53345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53347 "RANLIB=$${RANLIB}" \
53348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53349 install-pdf) \
53350 || exit 1
53352 @endif target-libitm
53354 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
53355 maybe-install-html-target-libitm:
53356 @if target-libitm
53357 maybe-install-html-target-libitm: install-html-target-libitm
53359 install-html-target-libitm: \
53360 configure-target-libitm \
53361 html-target-libitm
53362 @: $(MAKE); $(unstage)
53363 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53364 r=`${PWD_COMMAND}`; export r; \
53365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53366 $(NORMAL_TARGET_EXPORTS) \
53367 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
53368 for flag in $(EXTRA_TARGET_FLAGS); do \
53369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53370 done; \
53371 (cd $(TARGET_SUBDIR)/libitm && \
53372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53374 "RANLIB=$${RANLIB}" \
53375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53376 install-html) \
53377 || exit 1
53379 @endif target-libitm
53381 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
53382 maybe-installcheck-target-libitm:
53383 @if target-libitm
53384 maybe-installcheck-target-libitm: installcheck-target-libitm
53386 installcheck-target-libitm: \
53387 configure-target-libitm
53388 @: $(MAKE); $(unstage)
53389 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53390 r=`${PWD_COMMAND}`; export r; \
53391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53392 $(NORMAL_TARGET_EXPORTS) \
53393 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
53394 for flag in $(EXTRA_TARGET_FLAGS); do \
53395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53396 done; \
53397 (cd $(TARGET_SUBDIR)/libitm && \
53398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53400 "RANLIB=$${RANLIB}" \
53401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53402 installcheck) \
53403 || exit 1
53405 @endif target-libitm
53407 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
53408 maybe-mostlyclean-target-libitm:
53409 @if target-libitm
53410 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
53412 mostlyclean-target-libitm:
53413 @: $(MAKE); $(unstage)
53414 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53415 r=`${PWD_COMMAND}`; export r; \
53416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53417 $(NORMAL_TARGET_EXPORTS) \
53418 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
53419 for flag in $(EXTRA_TARGET_FLAGS); do \
53420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53421 done; \
53422 (cd $(TARGET_SUBDIR)/libitm && \
53423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53425 "RANLIB=$${RANLIB}" \
53426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53427 mostlyclean) \
53428 || exit 1
53430 @endif target-libitm
53432 .PHONY: maybe-clean-target-libitm clean-target-libitm
53433 maybe-clean-target-libitm:
53434 @if target-libitm
53435 maybe-clean-target-libitm: clean-target-libitm
53437 clean-target-libitm:
53438 @: $(MAKE); $(unstage)
53439 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53440 r=`${PWD_COMMAND}`; export r; \
53441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53442 $(NORMAL_TARGET_EXPORTS) \
53443 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
53444 for flag in $(EXTRA_TARGET_FLAGS); do \
53445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53446 done; \
53447 (cd $(TARGET_SUBDIR)/libitm && \
53448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53450 "RANLIB=$${RANLIB}" \
53451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53452 clean) \
53453 || exit 1
53455 @endif target-libitm
53457 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
53458 maybe-distclean-target-libitm:
53459 @if target-libitm
53460 maybe-distclean-target-libitm: distclean-target-libitm
53462 distclean-target-libitm:
53463 @: $(MAKE); $(unstage)
53464 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53465 r=`${PWD_COMMAND}`; export r; \
53466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53467 $(NORMAL_TARGET_EXPORTS) \
53468 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
53469 for flag in $(EXTRA_TARGET_FLAGS); do \
53470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53471 done; \
53472 (cd $(TARGET_SUBDIR)/libitm && \
53473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53475 "RANLIB=$${RANLIB}" \
53476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53477 distclean) \
53478 || exit 1
53480 @endif target-libitm
53482 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
53483 maybe-maintainer-clean-target-libitm:
53484 @if target-libitm
53485 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
53487 maintainer-clean-target-libitm:
53488 @: $(MAKE); $(unstage)
53489 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53490 r=`${PWD_COMMAND}`; export r; \
53491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53492 $(NORMAL_TARGET_EXPORTS) \
53493 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
53494 for flag in $(EXTRA_TARGET_FLAGS); do \
53495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53496 done; \
53497 (cd $(TARGET_SUBDIR)/libitm && \
53498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53500 "RANLIB=$${RANLIB}" \
53501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53502 maintainer-clean) \
53503 || exit 1
53505 @endif target-libitm
53511 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
53512 maybe-configure-target-libatomic:
53513 @if gcc-bootstrap
53514 configure-target-libatomic: stage_current
53515 @endif gcc-bootstrap
53516 @if target-libatomic
53517 maybe-configure-target-libatomic: configure-target-libatomic
53518 configure-target-libatomic:
53519 @: $(MAKE); $(unstage)
53520 @r=`${PWD_COMMAND}`; export r; \
53521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53522 echo "Checking multilib configuration for libatomic..."; \
53523 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
53524 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
53525 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
53526 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
53527 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
53528 else \
53529 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
53530 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
53531 fi; \
53532 else \
53533 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
53534 fi; \
53535 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
53536 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
53537 $(NORMAL_TARGET_EXPORTS) \
53538 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
53539 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
53540 case $(srcdir) in \
53541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53542 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
53543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53544 esac; \
53545 module_srcdir=libatomic; \
53546 rm -f no-such-file || : ; \
53547 CONFIG_SITE=no-such-file $(SHELL) \
53548 $$s/$$module_srcdir/configure \
53549 --srcdir=$${topdir}/$$module_srcdir \
53550 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53551 --target=${target_alias} \
53552 || exit 1
53553 @endif target-libatomic
53559 .PHONY: all-target-libatomic maybe-all-target-libatomic
53560 maybe-all-target-libatomic:
53561 @if gcc-bootstrap
53562 all-target-libatomic: stage_current
53563 @endif gcc-bootstrap
53564 @if target-libatomic
53565 TARGET-target-libatomic=all
53566 maybe-all-target-libatomic: all-target-libatomic
53567 all-target-libatomic: configure-target-libatomic
53568 @: $(MAKE); $(unstage)
53569 @r=`${PWD_COMMAND}`; export r; \
53570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53571 $(NORMAL_TARGET_EXPORTS) \
53572 (cd $(TARGET_SUBDIR)/libatomic && \
53573 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53574 $(TARGET-target-libatomic))
53575 @endif target-libatomic
53581 .PHONY: check-target-libatomic maybe-check-target-libatomic
53582 maybe-check-target-libatomic:
53583 @if target-libatomic
53584 maybe-check-target-libatomic: check-target-libatomic
53586 check-target-libatomic:
53587 @: $(MAKE); $(unstage)
53588 @r=`${PWD_COMMAND}`; export r; \
53589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53590 $(NORMAL_TARGET_EXPORTS) \
53591 (cd $(TARGET_SUBDIR)/libatomic && \
53592 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53594 @endif target-libatomic
53596 .PHONY: install-target-libatomic maybe-install-target-libatomic
53597 maybe-install-target-libatomic:
53598 @if target-libatomic
53599 maybe-install-target-libatomic: install-target-libatomic
53601 install-target-libatomic: installdirs
53602 @: $(MAKE); $(unstage)
53603 @r=`${PWD_COMMAND}`; export r; \
53604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53605 $(NORMAL_TARGET_EXPORTS) \
53606 (cd $(TARGET_SUBDIR)/libatomic && \
53607 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53609 @endif target-libatomic
53611 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
53612 maybe-install-strip-target-libatomic:
53613 @if target-libatomic
53614 maybe-install-strip-target-libatomic: install-strip-target-libatomic
53616 install-strip-target-libatomic: installdirs
53617 @: $(MAKE); $(unstage)
53618 @r=`${PWD_COMMAND}`; export r; \
53619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53620 $(NORMAL_TARGET_EXPORTS) \
53621 (cd $(TARGET_SUBDIR)/libatomic && \
53622 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53624 @endif target-libatomic
53626 # Other targets (info, dvi, pdf, etc.)
53628 .PHONY: maybe-info-target-libatomic info-target-libatomic
53629 maybe-info-target-libatomic:
53630 @if target-libatomic
53631 maybe-info-target-libatomic: info-target-libatomic
53633 info-target-libatomic: \
53634 configure-target-libatomic
53635 @: $(MAKE); $(unstage)
53636 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53637 r=`${PWD_COMMAND}`; export r; \
53638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53639 $(NORMAL_TARGET_EXPORTS) \
53640 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
53641 for flag in $(EXTRA_TARGET_FLAGS); do \
53642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53643 done; \
53644 (cd $(TARGET_SUBDIR)/libatomic && \
53645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53647 "RANLIB=$${RANLIB}" \
53648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53649 info) \
53650 || exit 1
53652 @endif target-libatomic
53654 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
53655 maybe-dvi-target-libatomic:
53656 @if target-libatomic
53657 maybe-dvi-target-libatomic: dvi-target-libatomic
53659 dvi-target-libatomic: \
53660 configure-target-libatomic
53661 @: $(MAKE); $(unstage)
53662 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53663 r=`${PWD_COMMAND}`; export r; \
53664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53665 $(NORMAL_TARGET_EXPORTS) \
53666 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
53667 for flag in $(EXTRA_TARGET_FLAGS); do \
53668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53669 done; \
53670 (cd $(TARGET_SUBDIR)/libatomic && \
53671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53673 "RANLIB=$${RANLIB}" \
53674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53675 dvi) \
53676 || exit 1
53678 @endif target-libatomic
53680 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
53681 maybe-pdf-target-libatomic:
53682 @if target-libatomic
53683 maybe-pdf-target-libatomic: pdf-target-libatomic
53685 pdf-target-libatomic: \
53686 configure-target-libatomic
53687 @: $(MAKE); $(unstage)
53688 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53689 r=`${PWD_COMMAND}`; export r; \
53690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53691 $(NORMAL_TARGET_EXPORTS) \
53692 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
53693 for flag in $(EXTRA_TARGET_FLAGS); do \
53694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53695 done; \
53696 (cd $(TARGET_SUBDIR)/libatomic && \
53697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53699 "RANLIB=$${RANLIB}" \
53700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53701 pdf) \
53702 || exit 1
53704 @endif target-libatomic
53706 .PHONY: maybe-html-target-libatomic html-target-libatomic
53707 maybe-html-target-libatomic:
53708 @if target-libatomic
53709 maybe-html-target-libatomic: html-target-libatomic
53711 html-target-libatomic: \
53712 configure-target-libatomic
53713 @: $(MAKE); $(unstage)
53714 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53715 r=`${PWD_COMMAND}`; export r; \
53716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53717 $(NORMAL_TARGET_EXPORTS) \
53718 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
53719 for flag in $(EXTRA_TARGET_FLAGS); do \
53720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53721 done; \
53722 (cd $(TARGET_SUBDIR)/libatomic && \
53723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53725 "RANLIB=$${RANLIB}" \
53726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53727 html) \
53728 || exit 1
53730 @endif target-libatomic
53732 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
53733 maybe-TAGS-target-libatomic:
53734 @if target-libatomic
53735 maybe-TAGS-target-libatomic: TAGS-target-libatomic
53737 TAGS-target-libatomic: \
53738 configure-target-libatomic
53739 @: $(MAKE); $(unstage)
53740 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53741 r=`${PWD_COMMAND}`; export r; \
53742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53743 $(NORMAL_TARGET_EXPORTS) \
53744 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
53745 for flag in $(EXTRA_TARGET_FLAGS); do \
53746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53747 done; \
53748 (cd $(TARGET_SUBDIR)/libatomic && \
53749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53751 "RANLIB=$${RANLIB}" \
53752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53753 TAGS) \
53754 || exit 1
53756 @endif target-libatomic
53758 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
53759 maybe-install-info-target-libatomic:
53760 @if target-libatomic
53761 maybe-install-info-target-libatomic: install-info-target-libatomic
53763 install-info-target-libatomic: \
53764 configure-target-libatomic \
53765 info-target-libatomic
53766 @: $(MAKE); $(unstage)
53767 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53768 r=`${PWD_COMMAND}`; export r; \
53769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53770 $(NORMAL_TARGET_EXPORTS) \
53771 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
53772 for flag in $(EXTRA_TARGET_FLAGS); do \
53773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53774 done; \
53775 (cd $(TARGET_SUBDIR)/libatomic && \
53776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53778 "RANLIB=$${RANLIB}" \
53779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53780 install-info) \
53781 || exit 1
53783 @endif target-libatomic
53785 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
53786 maybe-install-pdf-target-libatomic:
53787 @if target-libatomic
53788 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
53790 install-pdf-target-libatomic: \
53791 configure-target-libatomic \
53792 pdf-target-libatomic
53793 @: $(MAKE); $(unstage)
53794 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53795 r=`${PWD_COMMAND}`; export r; \
53796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53797 $(NORMAL_TARGET_EXPORTS) \
53798 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
53799 for flag in $(EXTRA_TARGET_FLAGS); do \
53800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53801 done; \
53802 (cd $(TARGET_SUBDIR)/libatomic && \
53803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53805 "RANLIB=$${RANLIB}" \
53806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53807 install-pdf) \
53808 || exit 1
53810 @endif target-libatomic
53812 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
53813 maybe-install-html-target-libatomic:
53814 @if target-libatomic
53815 maybe-install-html-target-libatomic: install-html-target-libatomic
53817 install-html-target-libatomic: \
53818 configure-target-libatomic \
53819 html-target-libatomic
53820 @: $(MAKE); $(unstage)
53821 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53822 r=`${PWD_COMMAND}`; export r; \
53823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53824 $(NORMAL_TARGET_EXPORTS) \
53825 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
53826 for flag in $(EXTRA_TARGET_FLAGS); do \
53827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53828 done; \
53829 (cd $(TARGET_SUBDIR)/libatomic && \
53830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53832 "RANLIB=$${RANLIB}" \
53833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53834 install-html) \
53835 || exit 1
53837 @endif target-libatomic
53839 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
53840 maybe-installcheck-target-libatomic:
53841 @if target-libatomic
53842 maybe-installcheck-target-libatomic: installcheck-target-libatomic
53844 installcheck-target-libatomic: \
53845 configure-target-libatomic
53846 @: $(MAKE); $(unstage)
53847 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53848 r=`${PWD_COMMAND}`; export r; \
53849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53850 $(NORMAL_TARGET_EXPORTS) \
53851 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
53852 for flag in $(EXTRA_TARGET_FLAGS); do \
53853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53854 done; \
53855 (cd $(TARGET_SUBDIR)/libatomic && \
53856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53858 "RANLIB=$${RANLIB}" \
53859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53860 installcheck) \
53861 || exit 1
53863 @endif target-libatomic
53865 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
53866 maybe-mostlyclean-target-libatomic:
53867 @if target-libatomic
53868 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
53870 mostlyclean-target-libatomic:
53871 @: $(MAKE); $(unstage)
53872 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53873 r=`${PWD_COMMAND}`; export r; \
53874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53875 $(NORMAL_TARGET_EXPORTS) \
53876 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
53877 for flag in $(EXTRA_TARGET_FLAGS); do \
53878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53879 done; \
53880 (cd $(TARGET_SUBDIR)/libatomic && \
53881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53883 "RANLIB=$${RANLIB}" \
53884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53885 mostlyclean) \
53886 || exit 1
53888 @endif target-libatomic
53890 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
53891 maybe-clean-target-libatomic:
53892 @if target-libatomic
53893 maybe-clean-target-libatomic: clean-target-libatomic
53895 clean-target-libatomic:
53896 @: $(MAKE); $(unstage)
53897 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53898 r=`${PWD_COMMAND}`; export r; \
53899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53900 $(NORMAL_TARGET_EXPORTS) \
53901 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
53902 for flag in $(EXTRA_TARGET_FLAGS); do \
53903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53904 done; \
53905 (cd $(TARGET_SUBDIR)/libatomic && \
53906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53908 "RANLIB=$${RANLIB}" \
53909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53910 clean) \
53911 || exit 1
53913 @endif target-libatomic
53915 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
53916 maybe-distclean-target-libatomic:
53917 @if target-libatomic
53918 maybe-distclean-target-libatomic: distclean-target-libatomic
53920 distclean-target-libatomic:
53921 @: $(MAKE); $(unstage)
53922 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53923 r=`${PWD_COMMAND}`; export r; \
53924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53925 $(NORMAL_TARGET_EXPORTS) \
53926 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
53927 for flag in $(EXTRA_TARGET_FLAGS); do \
53928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53929 done; \
53930 (cd $(TARGET_SUBDIR)/libatomic && \
53931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53933 "RANLIB=$${RANLIB}" \
53934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53935 distclean) \
53936 || exit 1
53938 @endif target-libatomic
53940 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
53941 maybe-maintainer-clean-target-libatomic:
53942 @if target-libatomic
53943 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
53945 maintainer-clean-target-libatomic:
53946 @: $(MAKE); $(unstage)
53947 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
53948 r=`${PWD_COMMAND}`; export r; \
53949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53950 $(NORMAL_TARGET_EXPORTS) \
53951 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
53952 for flag in $(EXTRA_TARGET_FLAGS); do \
53953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53954 done; \
53955 (cd $(TARGET_SUBDIR)/libatomic && \
53956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53958 "RANLIB=$${RANLIB}" \
53959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53960 maintainer-clean) \
53961 || exit 1
53963 @endif target-libatomic
53967 @if target-libgomp
53968 .PHONY: check-target-libgomp-c++
53969 check-target-libgomp-c++:
53970 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
53972 @endif target-libgomp
53974 @if target-libitm
53975 .PHONY: check-target-libitm-c++
53976 check-target-libitm-c++:
53977 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
53979 @endif target-libitm
53981 # ----------
53982 # GCC module
53983 # ----------
53985 @if gcc-no-bootstrap
53986 .PHONY: cross
53987 cross: all-build all-gas all-ld
53988 @r=`${PWD_COMMAND}`; export r; \
53989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53990 $(HOST_EXPORTS) \
53991 echo "Building the C and C++ compiler"; \
53992 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
53993 @r=`${PWD_COMMAND}`; export r; \
53994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53995 echo "Building runtime libraries"; \
53996 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
53997 @endif gcc-no-bootstrap
53999 @if gcc
54001 .PHONY: check-gcc-c check-c
54002 check-gcc-c:
54003 r=`${PWD_COMMAND}`; export r; \
54004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54005 $(HOST_EXPORTS) \
54006 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
54007 check-c: check-gcc-c
54009 .PHONY: check-gcc-c++ check-c++
54010 check-gcc-c++:
54011 r=`${PWD_COMMAND}`; export r; \
54012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54013 $(HOST_EXPORTS) \
54014 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
54015 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
54017 .PHONY: check-gcc-fortran check-fortran
54018 check-gcc-fortran:
54019 r=`${PWD_COMMAND}`; export r; \
54020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54021 $(HOST_EXPORTS) \
54022 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
54023 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
54025 .PHONY: check-gcc-ada check-ada
54026 check-gcc-ada:
54027 r=`${PWD_COMMAND}`; export r; \
54028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54029 $(HOST_EXPORTS) \
54030 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
54031 check-ada: check-gcc-ada check-target-libada
54033 .PHONY: check-gcc-objc check-objc
54034 check-gcc-objc:
54035 r=`${PWD_COMMAND}`; export r; \
54036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54037 $(HOST_EXPORTS) \
54038 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
54039 check-objc: check-gcc-objc check-target-libobjc
54041 .PHONY: check-gcc-obj-c++ check-obj-c++
54042 check-gcc-obj-c++:
54043 r=`${PWD_COMMAND}`; export r; \
54044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54045 $(HOST_EXPORTS) \
54046 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
54047 check-obj-c++: check-gcc-obj-c++
54049 .PHONY: check-gcc-go check-go
54050 check-gcc-go:
54051 r=`${PWD_COMMAND}`; export r; \
54052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54053 $(HOST_EXPORTS) \
54054 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
54055 check-go: check-gcc-go check-target-libgo check-gotools
54057 .PHONY: check-gcc-brig check-brig
54058 check-gcc-brig:
54059 r=`${PWD_COMMAND}`; export r; \
54060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54061 $(HOST_EXPORTS) \
54062 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
54063 check-brig: check-gcc-brig check-target-libhsail-rt
54066 # The gcc part of install-no-fixedincludes, which relies on an intimate
54067 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
54068 .PHONY: gcc-install-no-fixedincludes
54069 gcc-install-no-fixedincludes:
54070 @if [ -f ./gcc/Makefile ]; then \
54071 r=`${PWD_COMMAND}`; export r; \
54072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54073 $(HOST_EXPORTS) \
54074 (cd ./gcc \
54075 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
54076 else true; fi
54077 @endif gcc
54079 # ---------------------
54080 # GCC bootstrap support
54081 # ---------------------
54083 # We track the current stage (the one in 'gcc') in the stage_current file.
54084 # stage_last instead tracks the stage that was built last. These targets
54085 # are dummy when toplevel bootstrap is not active.
54087 # While making host and target tools, symlinks to the final stage must be
54088 # there, so $(unstage) should be run at various points. To avoid excessive
54089 # recursive invocations of make, we "inline" them using a variable. These
54090 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
54091 # to avoid warnings from the GNU Make job server.
54093 unstage = :
54094 stage = :
54095 current_stage = ""
54097 @if gcc-bootstrap
54098 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
54099 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
54100 current_stage = "`cat stage_current 2> /dev/null`"
54101 @endif gcc-bootstrap
54103 .PHONY: unstage stage
54104 unstage:
54105 @: $(MAKE); $(unstage)
54106 stage:
54107 @: $(MAKE); $(stage)
54109 # Disable commands for lean bootstrap.
54110 LEAN = false
54112 # We name the build directories for the various stages "stage1-gcc",
54113 # "stage2-gcc","stage3-gcc", etc.
54115 # Since the 'compare' process will fail (on debugging information) if any
54116 # directory names are different, we need to link the gcc directory for
54117 # the previous stage to a constant name ('prev-gcc'), and to make the name of
54118 # the build directories constant as well. For the latter, we use naked names
54119 # like 'gcc', because the scripts in that directory assume it. We use
54120 # mv on platforms where symlinks to directories do not work or are not
54121 # reliable.
54123 # 'touch' doesn't work right on some platforms.
54124 STAMP = echo timestamp >
54126 # We only want to compare .o files, so set this!
54127 objext = .o
54130 .PHONY: stage1-start stage1-end
54132 stage1-start::
54133 @: $(MAKE); $(stage); \
54134 echo stage1 > stage_current; \
54135 echo stage1 > stage_last; \
54136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54137 @if bfd
54138 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
54139 mkdir stage1-bfd; \
54140 mv stage1-bfd bfd
54141 @endif bfd
54142 @if opcodes
54143 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
54144 mkdir stage1-opcodes; \
54145 mv stage1-opcodes opcodes
54146 @endif opcodes
54147 @if binutils
54148 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
54149 mkdir stage1-binutils; \
54150 mv stage1-binutils binutils
54151 @endif binutils
54152 @if fixincludes
54153 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
54154 mkdir stage1-fixincludes; \
54155 mv stage1-fixincludes fixincludes
54156 @endif fixincludes
54157 @if gas
54158 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
54159 mkdir stage1-gas; \
54160 mv stage1-gas gas
54161 @endif gas
54162 @if gcc
54163 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
54164 mkdir stage1-gcc; \
54165 mv stage1-gcc gcc
54166 @endif gcc
54167 @if gmp
54168 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
54169 mkdir stage1-gmp; \
54170 mv stage1-gmp gmp
54171 @endif gmp
54172 @if mpfr
54173 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
54174 mkdir stage1-mpfr; \
54175 mv stage1-mpfr mpfr
54176 @endif mpfr
54177 @if mpc
54178 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
54179 mkdir stage1-mpc; \
54180 mv stage1-mpc mpc
54181 @endif mpc
54182 @if isl
54183 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
54184 mkdir stage1-isl; \
54185 mv stage1-isl isl
54186 @endif isl
54187 @if libelf
54188 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
54189 mkdir stage1-libelf; \
54190 mv stage1-libelf libelf
54191 @endif libelf
54192 @if gold
54193 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
54194 mkdir stage1-gold; \
54195 mv stage1-gold gold
54196 @endif gold
54197 @if intl
54198 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
54199 mkdir stage1-intl; \
54200 mv stage1-intl intl
54201 @endif intl
54202 @if ld
54203 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
54204 mkdir stage1-ld; \
54205 mv stage1-ld ld
54206 @endif ld
54207 @if libbacktrace
54208 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
54209 mkdir stage1-libbacktrace; \
54210 mv stage1-libbacktrace libbacktrace
54211 @endif libbacktrace
54212 @if libcpp
54213 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
54214 mkdir stage1-libcpp; \
54215 mv stage1-libcpp libcpp
54216 @endif libcpp
54217 @if libdecnumber
54218 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
54219 mkdir stage1-libdecnumber; \
54220 mv stage1-libdecnumber libdecnumber
54221 @endif libdecnumber
54222 @if libiberty
54223 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
54224 mkdir stage1-libiberty; \
54225 mv stage1-libiberty libiberty
54226 @endif libiberty
54227 @if libiberty-linker-plugin
54228 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
54229 mkdir stage1-libiberty-linker-plugin; \
54230 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
54231 @endif libiberty-linker-plugin
54232 @if libiconv
54233 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
54234 mkdir stage1-libiconv; \
54235 mv stage1-libiconv libiconv
54236 @endif libiconv
54237 @if zlib
54238 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
54239 mkdir stage1-zlib; \
54240 mv stage1-zlib zlib
54241 @endif zlib
54242 @if lto-plugin
54243 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
54244 mkdir stage1-lto-plugin; \
54245 mv stage1-lto-plugin lto-plugin
54246 @endif lto-plugin
54247 @[ -d stage1-$(TARGET_SUBDIR) ] || \
54248 mkdir stage1-$(TARGET_SUBDIR); \
54249 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
54251 stage1-end::
54252 @if bfd
54253 @if test -d $(HOST_SUBDIR)/bfd; then \
54254 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
54256 @endif bfd
54257 @if opcodes
54258 @if test -d $(HOST_SUBDIR)/opcodes; then \
54259 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
54261 @endif opcodes
54262 @if binutils
54263 @if test -d $(HOST_SUBDIR)/binutils; then \
54264 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
54266 @endif binutils
54267 @if fixincludes
54268 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54269 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
54271 @endif fixincludes
54272 @if gas
54273 @if test -d $(HOST_SUBDIR)/gas; then \
54274 cd $(HOST_SUBDIR); mv gas stage1-gas; \
54276 @endif gas
54277 @if gcc
54278 @if test -d $(HOST_SUBDIR)/gcc; then \
54279 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
54281 @endif gcc
54282 @if gmp
54283 @if test -d $(HOST_SUBDIR)/gmp; then \
54284 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
54286 @endif gmp
54287 @if mpfr
54288 @if test -d $(HOST_SUBDIR)/mpfr; then \
54289 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
54291 @endif mpfr
54292 @if mpc
54293 @if test -d $(HOST_SUBDIR)/mpc; then \
54294 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
54296 @endif mpc
54297 @if isl
54298 @if test -d $(HOST_SUBDIR)/isl; then \
54299 cd $(HOST_SUBDIR); mv isl stage1-isl; \
54301 @endif isl
54302 @if libelf
54303 @if test -d $(HOST_SUBDIR)/libelf; then \
54304 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
54306 @endif libelf
54307 @if gold
54308 @if test -d $(HOST_SUBDIR)/gold; then \
54309 cd $(HOST_SUBDIR); mv gold stage1-gold; \
54311 @endif gold
54312 @if intl
54313 @if test -d $(HOST_SUBDIR)/intl; then \
54314 cd $(HOST_SUBDIR); mv intl stage1-intl; \
54316 @endif intl
54317 @if ld
54318 @if test -d $(HOST_SUBDIR)/ld; then \
54319 cd $(HOST_SUBDIR); mv ld stage1-ld; \
54321 @endif ld
54322 @if libbacktrace
54323 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54324 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
54326 @endif libbacktrace
54327 @if libcpp
54328 @if test -d $(HOST_SUBDIR)/libcpp; then \
54329 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
54331 @endif libcpp
54332 @if libdecnumber
54333 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54334 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
54336 @endif libdecnumber
54337 @if libiberty
54338 @if test -d $(HOST_SUBDIR)/libiberty; then \
54339 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
54341 @endif libiberty
54342 @if libiberty-linker-plugin
54343 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54344 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
54346 @endif libiberty-linker-plugin
54347 @if libiconv
54348 @if test -d $(HOST_SUBDIR)/libiconv; then \
54349 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
54351 @endif libiconv
54352 @if zlib
54353 @if test -d $(HOST_SUBDIR)/zlib; then \
54354 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
54356 @endif zlib
54357 @if lto-plugin
54358 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54359 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
54361 @endif lto-plugin
54362 @if test -d $(TARGET_SUBDIR); then \
54363 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
54365 rm -f stage_current
54367 # Bubble a bug fix through all the stages up to stage 1. They are
54368 # remade, but not reconfigured. The next stage (if any) will not be
54369 # reconfigured either.
54370 .PHONY: stage1-bubble
54371 stage1-bubble::
54372 @r=`${PWD_COMMAND}`; export r; \
54373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54374 if test -f stage1-lean ; then \
54375 echo Skipping rebuild of stage1; \
54376 else \
54377 $(MAKE) stage1-start; \
54378 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
54381 .PHONY: all-stage1 clean-stage1
54382 do-clean: clean-stage1
54384 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54385 # only possibility, but now it conflicts with no-bootstrap rules
54386 @if gcc-bootstrap
54391 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54393 .PHONY: distclean-stage1
54394 distclean-stage1::
54395 @: $(MAKE); $(stage)
54396 @test "`cat stage_last`" != stage1 || rm -f stage_last
54397 rm -rf stage1-*
54400 @endif gcc-bootstrap
54403 .PHONY: stage2-start stage2-end
54405 stage2-start::
54406 @: $(MAKE); $(stage); \
54407 echo stage2 > stage_current; \
54408 echo stage2 > stage_last; \
54409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54410 @if bfd
54411 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
54412 mkdir stage2-bfd; \
54413 mv stage2-bfd bfd; \
54414 mv stage1-bfd prev-bfd || test -f stage1-lean
54415 @endif bfd
54416 @if opcodes
54417 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
54418 mkdir stage2-opcodes; \
54419 mv stage2-opcodes opcodes; \
54420 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54421 @endif opcodes
54422 @if binutils
54423 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
54424 mkdir stage2-binutils; \
54425 mv stage2-binutils binutils; \
54426 mv stage1-binutils prev-binutils || test -f stage1-lean
54427 @endif binutils
54428 @if fixincludes
54429 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
54430 mkdir stage2-fixincludes; \
54431 mv stage2-fixincludes fixincludes; \
54432 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54433 @endif fixincludes
54434 @if gas
54435 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
54436 mkdir stage2-gas; \
54437 mv stage2-gas gas; \
54438 mv stage1-gas prev-gas || test -f stage1-lean
54439 @endif gas
54440 @if gcc
54441 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
54442 mkdir stage2-gcc; \
54443 mv stage2-gcc gcc; \
54444 mv stage1-gcc prev-gcc || test -f stage1-lean
54445 @endif gcc
54446 @if gmp
54447 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
54448 mkdir stage2-gmp; \
54449 mv stage2-gmp gmp; \
54450 mv stage1-gmp prev-gmp || test -f stage1-lean
54451 @endif gmp
54452 @if mpfr
54453 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
54454 mkdir stage2-mpfr; \
54455 mv stage2-mpfr mpfr; \
54456 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54457 @endif mpfr
54458 @if mpc
54459 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
54460 mkdir stage2-mpc; \
54461 mv stage2-mpc mpc; \
54462 mv stage1-mpc prev-mpc || test -f stage1-lean
54463 @endif mpc
54464 @if isl
54465 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
54466 mkdir stage2-isl; \
54467 mv stage2-isl isl; \
54468 mv stage1-isl prev-isl || test -f stage1-lean
54469 @endif isl
54470 @if libelf
54471 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
54472 mkdir stage2-libelf; \
54473 mv stage2-libelf libelf; \
54474 mv stage1-libelf prev-libelf || test -f stage1-lean
54475 @endif libelf
54476 @if gold
54477 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
54478 mkdir stage2-gold; \
54479 mv stage2-gold gold; \
54480 mv stage1-gold prev-gold || test -f stage1-lean
54481 @endif gold
54482 @if intl
54483 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
54484 mkdir stage2-intl; \
54485 mv stage2-intl intl; \
54486 mv stage1-intl prev-intl || test -f stage1-lean
54487 @endif intl
54488 @if ld
54489 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
54490 mkdir stage2-ld; \
54491 mv stage2-ld ld; \
54492 mv stage1-ld prev-ld || test -f stage1-lean
54493 @endif ld
54494 @if libbacktrace
54495 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
54496 mkdir stage2-libbacktrace; \
54497 mv stage2-libbacktrace libbacktrace; \
54498 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54499 @endif libbacktrace
54500 @if libcpp
54501 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
54502 mkdir stage2-libcpp; \
54503 mv stage2-libcpp libcpp; \
54504 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54505 @endif libcpp
54506 @if libdecnumber
54507 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
54508 mkdir stage2-libdecnumber; \
54509 mv stage2-libdecnumber libdecnumber; \
54510 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54511 @endif libdecnumber
54512 @if libiberty
54513 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
54514 mkdir stage2-libiberty; \
54515 mv stage2-libiberty libiberty; \
54516 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54517 @endif libiberty
54518 @if libiberty-linker-plugin
54519 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
54520 mkdir stage2-libiberty-linker-plugin; \
54521 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
54522 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54523 @endif libiberty-linker-plugin
54524 @if libiconv
54525 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
54526 mkdir stage2-libiconv; \
54527 mv stage2-libiconv libiconv; \
54528 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54529 @endif libiconv
54530 @if zlib
54531 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
54532 mkdir stage2-zlib; \
54533 mv stage2-zlib zlib; \
54534 mv stage1-zlib prev-zlib || test -f stage1-lean
54535 @endif zlib
54536 @if lto-plugin
54537 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
54538 mkdir stage2-lto-plugin; \
54539 mv stage2-lto-plugin lto-plugin; \
54540 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54541 @endif lto-plugin
54542 @[ -d stage2-$(TARGET_SUBDIR) ] || \
54543 mkdir stage2-$(TARGET_SUBDIR); \
54544 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54545 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54547 stage2-end::
54548 @if bfd
54549 @if test -d $(HOST_SUBDIR)/bfd; then \
54550 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
54551 mv prev-bfd stage1-bfd; : ; \
54553 @endif bfd
54554 @if opcodes
54555 @if test -d $(HOST_SUBDIR)/opcodes; then \
54556 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
54557 mv prev-opcodes stage1-opcodes; : ; \
54559 @endif opcodes
54560 @if binutils
54561 @if test -d $(HOST_SUBDIR)/binutils; then \
54562 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
54563 mv prev-binutils stage1-binutils; : ; \
54565 @endif binutils
54566 @if fixincludes
54567 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54568 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
54569 mv prev-fixincludes stage1-fixincludes; : ; \
54571 @endif fixincludes
54572 @if gas
54573 @if test -d $(HOST_SUBDIR)/gas; then \
54574 cd $(HOST_SUBDIR); mv gas stage2-gas; \
54575 mv prev-gas stage1-gas; : ; \
54577 @endif gas
54578 @if gcc
54579 @if test -d $(HOST_SUBDIR)/gcc; then \
54580 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
54581 mv prev-gcc stage1-gcc; : ; \
54583 @endif gcc
54584 @if gmp
54585 @if test -d $(HOST_SUBDIR)/gmp; then \
54586 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
54587 mv prev-gmp stage1-gmp; : ; \
54589 @endif gmp
54590 @if mpfr
54591 @if test -d $(HOST_SUBDIR)/mpfr; then \
54592 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
54593 mv prev-mpfr stage1-mpfr; : ; \
54595 @endif mpfr
54596 @if mpc
54597 @if test -d $(HOST_SUBDIR)/mpc; then \
54598 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
54599 mv prev-mpc stage1-mpc; : ; \
54601 @endif mpc
54602 @if isl
54603 @if test -d $(HOST_SUBDIR)/isl; then \
54604 cd $(HOST_SUBDIR); mv isl stage2-isl; \
54605 mv prev-isl stage1-isl; : ; \
54607 @endif isl
54608 @if libelf
54609 @if test -d $(HOST_SUBDIR)/libelf; then \
54610 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
54611 mv prev-libelf stage1-libelf; : ; \
54613 @endif libelf
54614 @if gold
54615 @if test -d $(HOST_SUBDIR)/gold; then \
54616 cd $(HOST_SUBDIR); mv gold stage2-gold; \
54617 mv prev-gold stage1-gold; : ; \
54619 @endif gold
54620 @if intl
54621 @if test -d $(HOST_SUBDIR)/intl; then \
54622 cd $(HOST_SUBDIR); mv intl stage2-intl; \
54623 mv prev-intl stage1-intl; : ; \
54625 @endif intl
54626 @if ld
54627 @if test -d $(HOST_SUBDIR)/ld; then \
54628 cd $(HOST_SUBDIR); mv ld stage2-ld; \
54629 mv prev-ld stage1-ld; : ; \
54631 @endif ld
54632 @if libbacktrace
54633 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54634 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
54635 mv prev-libbacktrace stage1-libbacktrace; : ; \
54637 @endif libbacktrace
54638 @if libcpp
54639 @if test -d $(HOST_SUBDIR)/libcpp; then \
54640 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
54641 mv prev-libcpp stage1-libcpp; : ; \
54643 @endif libcpp
54644 @if libdecnumber
54645 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54646 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
54647 mv prev-libdecnumber stage1-libdecnumber; : ; \
54649 @endif libdecnumber
54650 @if libiberty
54651 @if test -d $(HOST_SUBDIR)/libiberty; then \
54652 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
54653 mv prev-libiberty stage1-libiberty; : ; \
54655 @endif libiberty
54656 @if libiberty-linker-plugin
54657 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54658 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
54659 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54661 @endif libiberty-linker-plugin
54662 @if libiconv
54663 @if test -d $(HOST_SUBDIR)/libiconv; then \
54664 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
54665 mv prev-libiconv stage1-libiconv; : ; \
54667 @endif libiconv
54668 @if zlib
54669 @if test -d $(HOST_SUBDIR)/zlib; then \
54670 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
54671 mv prev-zlib stage1-zlib; : ; \
54673 @endif zlib
54674 @if lto-plugin
54675 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54676 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
54677 mv prev-lto-plugin stage1-lto-plugin; : ; \
54679 @endif lto-plugin
54680 @if test -d $(TARGET_SUBDIR); then \
54681 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
54682 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54684 rm -f stage_current
54686 # Bubble a bug fix through all the stages up to stage 2. They are
54687 # remade, but not reconfigured. The next stage (if any) will not be
54688 # reconfigured either.
54689 .PHONY: stage2-bubble
54690 stage2-bubble:: stage1-bubble
54691 @r=`${PWD_COMMAND}`; export r; \
54692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54693 if test -f stage2-lean || test -f stage1-lean ; then \
54694 echo Skipping rebuild of stage2; \
54695 else \
54696 $(MAKE) stage2-start; \
54697 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
54700 .PHONY: all-stage2 clean-stage2
54701 do-clean: clean-stage2
54703 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54704 # only possibility, but now it conflicts with no-bootstrap rules
54705 @if gcc-bootstrap
54709 .PHONY: bootstrap2 bootstrap2-lean
54710 bootstrap2:
54711 echo stage2 > stage_final
54712 @r=`${PWD_COMMAND}`; export r; \
54713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54714 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
54715 @: $(MAKE); $(unstage)
54716 @r=`${PWD_COMMAND}`; export r; \
54717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54718 TFLAGS="$(STAGE2_TFLAGS)"; \
54719 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54721 bootstrap2-lean:
54722 echo stage2 > stage_final
54723 @r=`${PWD_COMMAND}`; export r; \
54724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54725 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
54726 @: $(MAKE); $(unstage)
54727 @r=`${PWD_COMMAND}`; export r; \
54728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54729 TFLAGS="$(STAGE2_TFLAGS)"; \
54730 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54733 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54734 distclean-stage1:: distclean-stage2
54735 .PHONY: distclean-stage2
54736 distclean-stage2::
54737 @: $(MAKE); $(stage)
54738 @test "`cat stage_last`" != stage2 || rm -f stage_last
54739 rm -rf stage2-*
54742 @endif gcc-bootstrap
54745 .PHONY: stage3-start stage3-end
54747 stage3-start::
54748 @: $(MAKE); $(stage); \
54749 echo stage3 > stage_current; \
54750 echo stage3 > stage_last; \
54751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54752 @if bfd
54753 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
54754 mkdir stage3-bfd; \
54755 mv stage3-bfd bfd; \
54756 mv stage2-bfd prev-bfd || test -f stage2-lean
54757 @endif bfd
54758 @if opcodes
54759 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
54760 mkdir stage3-opcodes; \
54761 mv stage3-opcodes opcodes; \
54762 mv stage2-opcodes prev-opcodes || test -f stage2-lean
54763 @endif opcodes
54764 @if binutils
54765 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
54766 mkdir stage3-binutils; \
54767 mv stage3-binutils binutils; \
54768 mv stage2-binutils prev-binutils || test -f stage2-lean
54769 @endif binutils
54770 @if fixincludes
54771 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
54772 mkdir stage3-fixincludes; \
54773 mv stage3-fixincludes fixincludes; \
54774 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
54775 @endif fixincludes
54776 @if gas
54777 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
54778 mkdir stage3-gas; \
54779 mv stage3-gas gas; \
54780 mv stage2-gas prev-gas || test -f stage2-lean
54781 @endif gas
54782 @if gcc
54783 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
54784 mkdir stage3-gcc; \
54785 mv stage3-gcc gcc; \
54786 mv stage2-gcc prev-gcc || test -f stage2-lean
54787 @endif gcc
54788 @if gmp
54789 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
54790 mkdir stage3-gmp; \
54791 mv stage3-gmp gmp; \
54792 mv stage2-gmp prev-gmp || test -f stage2-lean
54793 @endif gmp
54794 @if mpfr
54795 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
54796 mkdir stage3-mpfr; \
54797 mv stage3-mpfr mpfr; \
54798 mv stage2-mpfr prev-mpfr || test -f stage2-lean
54799 @endif mpfr
54800 @if mpc
54801 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
54802 mkdir stage3-mpc; \
54803 mv stage3-mpc mpc; \
54804 mv stage2-mpc prev-mpc || test -f stage2-lean
54805 @endif mpc
54806 @if isl
54807 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
54808 mkdir stage3-isl; \
54809 mv stage3-isl isl; \
54810 mv stage2-isl prev-isl || test -f stage2-lean
54811 @endif isl
54812 @if libelf
54813 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
54814 mkdir stage3-libelf; \
54815 mv stage3-libelf libelf; \
54816 mv stage2-libelf prev-libelf || test -f stage2-lean
54817 @endif libelf
54818 @if gold
54819 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
54820 mkdir stage3-gold; \
54821 mv stage3-gold gold; \
54822 mv stage2-gold prev-gold || test -f stage2-lean
54823 @endif gold
54824 @if intl
54825 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
54826 mkdir stage3-intl; \
54827 mv stage3-intl intl; \
54828 mv stage2-intl prev-intl || test -f stage2-lean
54829 @endif intl
54830 @if ld
54831 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
54832 mkdir stage3-ld; \
54833 mv stage3-ld ld; \
54834 mv stage2-ld prev-ld || test -f stage2-lean
54835 @endif ld
54836 @if libbacktrace
54837 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
54838 mkdir stage3-libbacktrace; \
54839 mv stage3-libbacktrace libbacktrace; \
54840 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
54841 @endif libbacktrace
54842 @if libcpp
54843 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
54844 mkdir stage3-libcpp; \
54845 mv stage3-libcpp libcpp; \
54846 mv stage2-libcpp prev-libcpp || test -f stage2-lean
54847 @endif libcpp
54848 @if libdecnumber
54849 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
54850 mkdir stage3-libdecnumber; \
54851 mv stage3-libdecnumber libdecnumber; \
54852 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
54853 @endif libdecnumber
54854 @if libiberty
54855 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
54856 mkdir stage3-libiberty; \
54857 mv stage3-libiberty libiberty; \
54858 mv stage2-libiberty prev-libiberty || test -f stage2-lean
54859 @endif libiberty
54860 @if libiberty-linker-plugin
54861 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
54862 mkdir stage3-libiberty-linker-plugin; \
54863 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
54864 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
54865 @endif libiberty-linker-plugin
54866 @if libiconv
54867 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
54868 mkdir stage3-libiconv; \
54869 mv stage3-libiconv libiconv; \
54870 mv stage2-libiconv prev-libiconv || test -f stage2-lean
54871 @endif libiconv
54872 @if zlib
54873 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
54874 mkdir stage3-zlib; \
54875 mv stage3-zlib zlib; \
54876 mv stage2-zlib prev-zlib || test -f stage2-lean
54877 @endif zlib
54878 @if lto-plugin
54879 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
54880 mkdir stage3-lto-plugin; \
54881 mv stage3-lto-plugin lto-plugin; \
54882 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
54883 @endif lto-plugin
54884 @[ -d stage3-$(TARGET_SUBDIR) ] || \
54885 mkdir stage3-$(TARGET_SUBDIR); \
54886 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54887 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
54889 stage3-end::
54890 @if bfd
54891 @if test -d $(HOST_SUBDIR)/bfd; then \
54892 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
54893 mv prev-bfd stage2-bfd; : ; \
54895 @endif bfd
54896 @if opcodes
54897 @if test -d $(HOST_SUBDIR)/opcodes; then \
54898 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
54899 mv prev-opcodes stage2-opcodes; : ; \
54901 @endif opcodes
54902 @if binutils
54903 @if test -d $(HOST_SUBDIR)/binutils; then \
54904 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
54905 mv prev-binutils stage2-binutils; : ; \
54907 @endif binutils
54908 @if fixincludes
54909 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54910 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
54911 mv prev-fixincludes stage2-fixincludes; : ; \
54913 @endif fixincludes
54914 @if gas
54915 @if test -d $(HOST_SUBDIR)/gas; then \
54916 cd $(HOST_SUBDIR); mv gas stage3-gas; \
54917 mv prev-gas stage2-gas; : ; \
54919 @endif gas
54920 @if gcc
54921 @if test -d $(HOST_SUBDIR)/gcc; then \
54922 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
54923 mv prev-gcc stage2-gcc; : ; \
54925 @endif gcc
54926 @if gmp
54927 @if test -d $(HOST_SUBDIR)/gmp; then \
54928 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
54929 mv prev-gmp stage2-gmp; : ; \
54931 @endif gmp
54932 @if mpfr
54933 @if test -d $(HOST_SUBDIR)/mpfr; then \
54934 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
54935 mv prev-mpfr stage2-mpfr; : ; \
54937 @endif mpfr
54938 @if mpc
54939 @if test -d $(HOST_SUBDIR)/mpc; then \
54940 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
54941 mv prev-mpc stage2-mpc; : ; \
54943 @endif mpc
54944 @if isl
54945 @if test -d $(HOST_SUBDIR)/isl; then \
54946 cd $(HOST_SUBDIR); mv isl stage3-isl; \
54947 mv prev-isl stage2-isl; : ; \
54949 @endif isl
54950 @if libelf
54951 @if test -d $(HOST_SUBDIR)/libelf; then \
54952 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
54953 mv prev-libelf stage2-libelf; : ; \
54955 @endif libelf
54956 @if gold
54957 @if test -d $(HOST_SUBDIR)/gold; then \
54958 cd $(HOST_SUBDIR); mv gold stage3-gold; \
54959 mv prev-gold stage2-gold; : ; \
54961 @endif gold
54962 @if intl
54963 @if test -d $(HOST_SUBDIR)/intl; then \
54964 cd $(HOST_SUBDIR); mv intl stage3-intl; \
54965 mv prev-intl stage2-intl; : ; \
54967 @endif intl
54968 @if ld
54969 @if test -d $(HOST_SUBDIR)/ld; then \
54970 cd $(HOST_SUBDIR); mv ld stage3-ld; \
54971 mv prev-ld stage2-ld; : ; \
54973 @endif ld
54974 @if libbacktrace
54975 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54976 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
54977 mv prev-libbacktrace stage2-libbacktrace; : ; \
54979 @endif libbacktrace
54980 @if libcpp
54981 @if test -d $(HOST_SUBDIR)/libcpp; then \
54982 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
54983 mv prev-libcpp stage2-libcpp; : ; \
54985 @endif libcpp
54986 @if libdecnumber
54987 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54988 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
54989 mv prev-libdecnumber stage2-libdecnumber; : ; \
54991 @endif libdecnumber
54992 @if libiberty
54993 @if test -d $(HOST_SUBDIR)/libiberty; then \
54994 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
54995 mv prev-libiberty stage2-libiberty; : ; \
54997 @endif libiberty
54998 @if libiberty-linker-plugin
54999 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55000 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
55001 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
55003 @endif libiberty-linker-plugin
55004 @if libiconv
55005 @if test -d $(HOST_SUBDIR)/libiconv; then \
55006 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
55007 mv prev-libiconv stage2-libiconv; : ; \
55009 @endif libiconv
55010 @if zlib
55011 @if test -d $(HOST_SUBDIR)/zlib; then \
55012 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
55013 mv prev-zlib stage2-zlib; : ; \
55015 @endif zlib
55016 @if lto-plugin
55017 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55018 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
55019 mv prev-lto-plugin stage2-lto-plugin; : ; \
55021 @endif lto-plugin
55022 @if test -d $(TARGET_SUBDIR); then \
55023 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
55024 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
55026 rm -f stage_current
55028 # Bubble a bug fix through all the stages up to stage 3. They are
55029 # remade, but not reconfigured. The next stage (if any) will not be
55030 # reconfigured either.
55031 .PHONY: stage3-bubble
55032 stage3-bubble:: stage2-bubble
55033 @r=`${PWD_COMMAND}`; export r; \
55034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55035 if test -f stage3-lean || test -f stage2-lean ; then \
55036 echo Skipping rebuild of stage3; \
55037 else \
55038 $(MAKE) stage3-start; \
55039 if $(LEAN); then \
55040 rm -rf stage1-*; \
55041 $(STAMP) stage1-lean; \
55042 fi; \
55043 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
55045 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
55047 .PHONY: all-stage3 clean-stage3
55048 do-clean: clean-stage3
55050 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55051 # only possibility, but now it conflicts with no-bootstrap rules
55052 @if gcc-bootstrap
55054 compare:
55055 @r=`${PWD_COMMAND}`; export r; \
55056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55057 if test -f stage2-lean; then \
55058 echo Cannot compare object files as stage 2 was deleted.; \
55059 exit 0; \
55060 fi; \
55061 : $(MAKE); $(stage); \
55062 rm -f .bad_compare; \
55063 echo Comparing stages 2 and 3; \
55064 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
55065 files=`find stage3-* -name "*$(objext)" -print | \
55066 sed -n s,^stage$$sed-,,p`; \
55067 for file in $${files}; do \
55068 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
55069 if test ! -f $$f1; then continue; fi; \
55070 $(do-compare) > /dev/null 2>&1; \
55071 if test $$? -eq 1; then \
55072 case $$file in \
55073 @compare_exclusions@) \
55074 echo warning: $$file differs ;; \
55075 *) \
55076 echo $$file differs >> .bad_compare ;; \
55077 esac; \
55078 fi; \
55079 done; \
55080 if [ -f .bad_compare ]; then \
55081 echo "Bootstrap comparison failure!"; \
55082 cat .bad_compare; \
55083 exit 1; \
55084 else \
55085 echo Comparison successful.; \
55086 fi; \
55087 $(STAMP) compare
55088 if $(LEAN); then \
55089 rm -rf stage2-*; \
55090 $(STAMP) stage2-lean; \
55095 .PHONY: bootstrap bootstrap-lean
55096 bootstrap:
55097 echo stage3 > stage_final
55098 @r=`${PWD_COMMAND}`; export r; \
55099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55100 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55101 @: $(MAKE); $(unstage)
55102 @r=`${PWD_COMMAND}`; export r; \
55103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55104 TFLAGS="$(STAGE3_TFLAGS)"; \
55105 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55107 bootstrap-lean:
55108 echo stage3 > stage_final
55109 @r=`${PWD_COMMAND}`; export r; \
55110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55111 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
55112 @: $(MAKE); $(unstage)
55113 @r=`${PWD_COMMAND}`; export r; \
55114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55115 TFLAGS="$(STAGE3_TFLAGS)"; \
55116 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55119 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55120 distclean-stage2:: distclean-stage3
55121 .PHONY: distclean-stage3
55122 distclean-stage3::
55123 @: $(MAKE); $(stage)
55124 @test "`cat stage_last`" != stage3 || rm -f stage_last
55125 rm -rf stage3-* compare
55128 .PHONY: cleanstrap
55129 cleanstrap: do-distclean local-clean
55130 echo stage3 > stage_final
55131 @r=`${PWD_COMMAND}`; export r; \
55132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55133 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55134 @: $(MAKE); $(unstage)
55135 @r=`${PWD_COMMAND}`; export r; \
55136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55137 TFLAGS="$(STAGE3_TFLAGS)"; \
55138 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55140 @endif gcc-bootstrap
55143 .PHONY: stage4-start stage4-end
55145 stage4-start::
55146 @: $(MAKE); $(stage); \
55147 echo stage4 > stage_current; \
55148 echo stage4 > stage_last; \
55149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55150 @if bfd
55151 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
55152 mkdir stage4-bfd; \
55153 mv stage4-bfd bfd; \
55154 mv stage3-bfd prev-bfd || test -f stage3-lean
55155 @endif bfd
55156 @if opcodes
55157 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
55158 mkdir stage4-opcodes; \
55159 mv stage4-opcodes opcodes; \
55160 mv stage3-opcodes prev-opcodes || test -f stage3-lean
55161 @endif opcodes
55162 @if binutils
55163 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
55164 mkdir stage4-binutils; \
55165 mv stage4-binutils binutils; \
55166 mv stage3-binutils prev-binutils || test -f stage3-lean
55167 @endif binutils
55168 @if fixincludes
55169 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
55170 mkdir stage4-fixincludes; \
55171 mv stage4-fixincludes fixincludes; \
55172 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
55173 @endif fixincludes
55174 @if gas
55175 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
55176 mkdir stage4-gas; \
55177 mv stage4-gas gas; \
55178 mv stage3-gas prev-gas || test -f stage3-lean
55179 @endif gas
55180 @if gcc
55181 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
55182 mkdir stage4-gcc; \
55183 mv stage4-gcc gcc; \
55184 mv stage3-gcc prev-gcc || test -f stage3-lean
55185 @endif gcc
55186 @if gmp
55187 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
55188 mkdir stage4-gmp; \
55189 mv stage4-gmp gmp; \
55190 mv stage3-gmp prev-gmp || test -f stage3-lean
55191 @endif gmp
55192 @if mpfr
55193 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
55194 mkdir stage4-mpfr; \
55195 mv stage4-mpfr mpfr; \
55196 mv stage3-mpfr prev-mpfr || test -f stage3-lean
55197 @endif mpfr
55198 @if mpc
55199 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
55200 mkdir stage4-mpc; \
55201 mv stage4-mpc mpc; \
55202 mv stage3-mpc prev-mpc || test -f stage3-lean
55203 @endif mpc
55204 @if isl
55205 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
55206 mkdir stage4-isl; \
55207 mv stage4-isl isl; \
55208 mv stage3-isl prev-isl || test -f stage3-lean
55209 @endif isl
55210 @if libelf
55211 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
55212 mkdir stage4-libelf; \
55213 mv stage4-libelf libelf; \
55214 mv stage3-libelf prev-libelf || test -f stage3-lean
55215 @endif libelf
55216 @if gold
55217 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
55218 mkdir stage4-gold; \
55219 mv stage4-gold gold; \
55220 mv stage3-gold prev-gold || test -f stage3-lean
55221 @endif gold
55222 @if intl
55223 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
55224 mkdir stage4-intl; \
55225 mv stage4-intl intl; \
55226 mv stage3-intl prev-intl || test -f stage3-lean
55227 @endif intl
55228 @if ld
55229 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
55230 mkdir stage4-ld; \
55231 mv stage4-ld ld; \
55232 mv stage3-ld prev-ld || test -f stage3-lean
55233 @endif ld
55234 @if libbacktrace
55235 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
55236 mkdir stage4-libbacktrace; \
55237 mv stage4-libbacktrace libbacktrace; \
55238 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
55239 @endif libbacktrace
55240 @if libcpp
55241 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
55242 mkdir stage4-libcpp; \
55243 mv stage4-libcpp libcpp; \
55244 mv stage3-libcpp prev-libcpp || test -f stage3-lean
55245 @endif libcpp
55246 @if libdecnumber
55247 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
55248 mkdir stage4-libdecnumber; \
55249 mv stage4-libdecnumber libdecnumber; \
55250 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
55251 @endif libdecnumber
55252 @if libiberty
55253 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
55254 mkdir stage4-libiberty; \
55255 mv stage4-libiberty libiberty; \
55256 mv stage3-libiberty prev-libiberty || test -f stage3-lean
55257 @endif libiberty
55258 @if libiberty-linker-plugin
55259 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
55260 mkdir stage4-libiberty-linker-plugin; \
55261 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
55262 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
55263 @endif libiberty-linker-plugin
55264 @if libiconv
55265 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
55266 mkdir stage4-libiconv; \
55267 mv stage4-libiconv libiconv; \
55268 mv stage3-libiconv prev-libiconv || test -f stage3-lean
55269 @endif libiconv
55270 @if zlib
55271 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
55272 mkdir stage4-zlib; \
55273 mv stage4-zlib zlib; \
55274 mv stage3-zlib prev-zlib || test -f stage3-lean
55275 @endif zlib
55276 @if lto-plugin
55277 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
55278 mkdir stage4-lto-plugin; \
55279 mv stage4-lto-plugin lto-plugin; \
55280 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
55281 @endif lto-plugin
55282 @[ -d stage4-$(TARGET_SUBDIR) ] || \
55283 mkdir stage4-$(TARGET_SUBDIR); \
55284 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55285 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
55287 stage4-end::
55288 @if bfd
55289 @if test -d $(HOST_SUBDIR)/bfd; then \
55290 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
55291 mv prev-bfd stage3-bfd; : ; \
55293 @endif bfd
55294 @if opcodes
55295 @if test -d $(HOST_SUBDIR)/opcodes; then \
55296 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
55297 mv prev-opcodes stage3-opcodes; : ; \
55299 @endif opcodes
55300 @if binutils
55301 @if test -d $(HOST_SUBDIR)/binutils; then \
55302 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
55303 mv prev-binutils stage3-binutils; : ; \
55305 @endif binutils
55306 @if fixincludes
55307 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55308 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
55309 mv prev-fixincludes stage3-fixincludes; : ; \
55311 @endif fixincludes
55312 @if gas
55313 @if test -d $(HOST_SUBDIR)/gas; then \
55314 cd $(HOST_SUBDIR); mv gas stage4-gas; \
55315 mv prev-gas stage3-gas; : ; \
55317 @endif gas
55318 @if gcc
55319 @if test -d $(HOST_SUBDIR)/gcc; then \
55320 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
55321 mv prev-gcc stage3-gcc; : ; \
55323 @endif gcc
55324 @if gmp
55325 @if test -d $(HOST_SUBDIR)/gmp; then \
55326 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
55327 mv prev-gmp stage3-gmp; : ; \
55329 @endif gmp
55330 @if mpfr
55331 @if test -d $(HOST_SUBDIR)/mpfr; then \
55332 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
55333 mv prev-mpfr stage3-mpfr; : ; \
55335 @endif mpfr
55336 @if mpc
55337 @if test -d $(HOST_SUBDIR)/mpc; then \
55338 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
55339 mv prev-mpc stage3-mpc; : ; \
55341 @endif mpc
55342 @if isl
55343 @if test -d $(HOST_SUBDIR)/isl; then \
55344 cd $(HOST_SUBDIR); mv isl stage4-isl; \
55345 mv prev-isl stage3-isl; : ; \
55347 @endif isl
55348 @if libelf
55349 @if test -d $(HOST_SUBDIR)/libelf; then \
55350 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
55351 mv prev-libelf stage3-libelf; : ; \
55353 @endif libelf
55354 @if gold
55355 @if test -d $(HOST_SUBDIR)/gold; then \
55356 cd $(HOST_SUBDIR); mv gold stage4-gold; \
55357 mv prev-gold stage3-gold; : ; \
55359 @endif gold
55360 @if intl
55361 @if test -d $(HOST_SUBDIR)/intl; then \
55362 cd $(HOST_SUBDIR); mv intl stage4-intl; \
55363 mv prev-intl stage3-intl; : ; \
55365 @endif intl
55366 @if ld
55367 @if test -d $(HOST_SUBDIR)/ld; then \
55368 cd $(HOST_SUBDIR); mv ld stage4-ld; \
55369 mv prev-ld stage3-ld; : ; \
55371 @endif ld
55372 @if libbacktrace
55373 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55374 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
55375 mv prev-libbacktrace stage3-libbacktrace; : ; \
55377 @endif libbacktrace
55378 @if libcpp
55379 @if test -d $(HOST_SUBDIR)/libcpp; then \
55380 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
55381 mv prev-libcpp stage3-libcpp; : ; \
55383 @endif libcpp
55384 @if libdecnumber
55385 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55386 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
55387 mv prev-libdecnumber stage3-libdecnumber; : ; \
55389 @endif libdecnumber
55390 @if libiberty
55391 @if test -d $(HOST_SUBDIR)/libiberty; then \
55392 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
55393 mv prev-libiberty stage3-libiberty; : ; \
55395 @endif libiberty
55396 @if libiberty-linker-plugin
55397 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55398 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
55399 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
55401 @endif libiberty-linker-plugin
55402 @if libiconv
55403 @if test -d $(HOST_SUBDIR)/libiconv; then \
55404 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
55405 mv prev-libiconv stage3-libiconv; : ; \
55407 @endif libiconv
55408 @if zlib
55409 @if test -d $(HOST_SUBDIR)/zlib; then \
55410 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
55411 mv prev-zlib stage3-zlib; : ; \
55413 @endif zlib
55414 @if lto-plugin
55415 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55416 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
55417 mv prev-lto-plugin stage3-lto-plugin; : ; \
55419 @endif lto-plugin
55420 @if test -d $(TARGET_SUBDIR); then \
55421 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
55422 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
55424 rm -f stage_current
55426 # Bubble a bug fix through all the stages up to stage 4. They are
55427 # remade, but not reconfigured. The next stage (if any) will not be
55428 # reconfigured either.
55429 .PHONY: stage4-bubble
55430 stage4-bubble:: stage3-bubble
55431 @r=`${PWD_COMMAND}`; export r; \
55432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55433 if test -f stage4-lean || test -f stage3-lean ; then \
55434 echo Skipping rebuild of stage4; \
55435 else \
55436 $(MAKE) stage4-start; \
55437 if $(LEAN); then \
55438 rm -rf stage2-*; \
55439 $(STAMP) stage2-lean; \
55440 fi; \
55441 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
55443 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
55445 .PHONY: all-stage4 clean-stage4
55446 do-clean: clean-stage4
55448 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55449 # only possibility, but now it conflicts with no-bootstrap rules
55450 @if gcc-bootstrap
55452 compare3:
55453 @r=`${PWD_COMMAND}`; export r; \
55454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55455 if test -f stage3-lean; then \
55456 echo Cannot compare object files as stage 3 was deleted.; \
55457 exit 0; \
55458 fi; \
55459 : $(MAKE); $(stage); \
55460 rm -f .bad_compare; \
55461 echo Comparing stages 3 and 4; \
55462 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
55463 files=`find stage4-* -name "*$(objext)" -print | \
55464 sed -n s,^stage$$sed-,,p`; \
55465 for file in $${files}; do \
55466 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
55467 if test ! -f $$f1; then continue; fi; \
55468 $(do-compare3) > /dev/null 2>&1; \
55469 if test $$? -eq 1; then \
55470 case $$file in \
55471 @compare_exclusions@) \
55472 echo warning: $$file differs ;; \
55473 *) \
55474 echo $$file differs >> .bad_compare ;; \
55475 esac; \
55476 fi; \
55477 done; \
55478 if [ -f .bad_compare ]; then \
55479 echo "Bootstrap comparison failure!"; \
55480 cat .bad_compare; \
55481 exit 1; \
55482 else \
55483 echo Comparison successful.; \
55484 fi; \
55485 $(STAMP) compare3
55486 if $(LEAN); then \
55487 rm -rf stage3-*; \
55488 $(STAMP) stage3-lean; \
55493 .PHONY: bootstrap4 bootstrap4-lean
55494 bootstrap4:
55495 echo stage4 > stage_final
55496 @r=`${PWD_COMMAND}`; export r; \
55497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55498 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
55499 @: $(MAKE); $(unstage)
55500 @r=`${PWD_COMMAND}`; export r; \
55501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55502 TFLAGS="$(STAGE4_TFLAGS)"; \
55503 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55505 bootstrap4-lean:
55506 echo stage4 > stage_final
55507 @r=`${PWD_COMMAND}`; export r; \
55508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55509 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
55510 @: $(MAKE); $(unstage)
55511 @r=`${PWD_COMMAND}`; export r; \
55512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55513 TFLAGS="$(STAGE4_TFLAGS)"; \
55514 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55517 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55518 distclean-stage3:: distclean-stage4
55519 .PHONY: distclean-stage4
55520 distclean-stage4::
55521 @: $(MAKE); $(stage)
55522 @test "`cat stage_last`" != stage4 || rm -f stage_last
55523 rm -rf stage4-* compare3
55526 @endif gcc-bootstrap
55529 .PHONY: stageprofile-start stageprofile-end
55531 stageprofile-start::
55532 @: $(MAKE); $(stage); \
55533 echo stageprofile > stage_current; \
55534 echo stageprofile > stage_last; \
55535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55536 @if bfd
55537 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
55538 mkdir stageprofile-bfd; \
55539 mv stageprofile-bfd bfd; \
55540 mv stage1-bfd prev-bfd || test -f stage1-lean
55541 @endif bfd
55542 @if opcodes
55543 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
55544 mkdir stageprofile-opcodes; \
55545 mv stageprofile-opcodes opcodes; \
55546 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55547 @endif opcodes
55548 @if binutils
55549 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
55550 mkdir stageprofile-binutils; \
55551 mv stageprofile-binutils binutils; \
55552 mv stage1-binutils prev-binutils || test -f stage1-lean
55553 @endif binutils
55554 @if fixincludes
55555 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
55556 mkdir stageprofile-fixincludes; \
55557 mv stageprofile-fixincludes fixincludes; \
55558 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55559 @endif fixincludes
55560 @if gas
55561 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
55562 mkdir stageprofile-gas; \
55563 mv stageprofile-gas gas; \
55564 mv stage1-gas prev-gas || test -f stage1-lean
55565 @endif gas
55566 @if gcc
55567 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
55568 mkdir stageprofile-gcc; \
55569 mv stageprofile-gcc gcc; \
55570 mv stage1-gcc prev-gcc || test -f stage1-lean
55571 @endif gcc
55572 @if gmp
55573 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
55574 mkdir stageprofile-gmp; \
55575 mv stageprofile-gmp gmp; \
55576 mv stage1-gmp prev-gmp || test -f stage1-lean
55577 @endif gmp
55578 @if mpfr
55579 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
55580 mkdir stageprofile-mpfr; \
55581 mv stageprofile-mpfr mpfr; \
55582 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55583 @endif mpfr
55584 @if mpc
55585 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
55586 mkdir stageprofile-mpc; \
55587 mv stageprofile-mpc mpc; \
55588 mv stage1-mpc prev-mpc || test -f stage1-lean
55589 @endif mpc
55590 @if isl
55591 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
55592 mkdir stageprofile-isl; \
55593 mv stageprofile-isl isl; \
55594 mv stage1-isl prev-isl || test -f stage1-lean
55595 @endif isl
55596 @if libelf
55597 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
55598 mkdir stageprofile-libelf; \
55599 mv stageprofile-libelf libelf; \
55600 mv stage1-libelf prev-libelf || test -f stage1-lean
55601 @endif libelf
55602 @if gold
55603 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
55604 mkdir stageprofile-gold; \
55605 mv stageprofile-gold gold; \
55606 mv stage1-gold prev-gold || test -f stage1-lean
55607 @endif gold
55608 @if intl
55609 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
55610 mkdir stageprofile-intl; \
55611 mv stageprofile-intl intl; \
55612 mv stage1-intl prev-intl || test -f stage1-lean
55613 @endif intl
55614 @if ld
55615 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
55616 mkdir stageprofile-ld; \
55617 mv stageprofile-ld ld; \
55618 mv stage1-ld prev-ld || test -f stage1-lean
55619 @endif ld
55620 @if libbacktrace
55621 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
55622 mkdir stageprofile-libbacktrace; \
55623 mv stageprofile-libbacktrace libbacktrace; \
55624 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
55625 @endif libbacktrace
55626 @if libcpp
55627 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
55628 mkdir stageprofile-libcpp; \
55629 mv stageprofile-libcpp libcpp; \
55630 mv stage1-libcpp prev-libcpp || test -f stage1-lean
55631 @endif libcpp
55632 @if libdecnumber
55633 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
55634 mkdir stageprofile-libdecnumber; \
55635 mv stageprofile-libdecnumber libdecnumber; \
55636 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
55637 @endif libdecnumber
55638 @if libiberty
55639 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
55640 mkdir stageprofile-libiberty; \
55641 mv stageprofile-libiberty libiberty; \
55642 mv stage1-libiberty prev-libiberty || test -f stage1-lean
55643 @endif libiberty
55644 @if libiberty-linker-plugin
55645 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
55646 mkdir stageprofile-libiberty-linker-plugin; \
55647 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
55648 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
55649 @endif libiberty-linker-plugin
55650 @if libiconv
55651 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
55652 mkdir stageprofile-libiconv; \
55653 mv stageprofile-libiconv libiconv; \
55654 mv stage1-libiconv prev-libiconv || test -f stage1-lean
55655 @endif libiconv
55656 @if zlib
55657 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
55658 mkdir stageprofile-zlib; \
55659 mv stageprofile-zlib zlib; \
55660 mv stage1-zlib prev-zlib || test -f stage1-lean
55661 @endif zlib
55662 @if lto-plugin
55663 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
55664 mkdir stageprofile-lto-plugin; \
55665 mv stageprofile-lto-plugin lto-plugin; \
55666 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
55667 @endif lto-plugin
55668 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
55669 mkdir stageprofile-$(TARGET_SUBDIR); \
55670 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55671 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
55673 stageprofile-end::
55674 @if bfd
55675 @if test -d $(HOST_SUBDIR)/bfd; then \
55676 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
55677 mv prev-bfd stage1-bfd; : ; \
55679 @endif bfd
55680 @if opcodes
55681 @if test -d $(HOST_SUBDIR)/opcodes; then \
55682 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
55683 mv prev-opcodes stage1-opcodes; : ; \
55685 @endif opcodes
55686 @if binutils
55687 @if test -d $(HOST_SUBDIR)/binutils; then \
55688 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
55689 mv prev-binutils stage1-binutils; : ; \
55691 @endif binutils
55692 @if fixincludes
55693 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55694 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
55695 mv prev-fixincludes stage1-fixincludes; : ; \
55697 @endif fixincludes
55698 @if gas
55699 @if test -d $(HOST_SUBDIR)/gas; then \
55700 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
55701 mv prev-gas stage1-gas; : ; \
55703 @endif gas
55704 @if gcc
55705 @if test -d $(HOST_SUBDIR)/gcc; then \
55706 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
55707 mv prev-gcc stage1-gcc; : ; \
55709 @endif gcc
55710 @if gmp
55711 @if test -d $(HOST_SUBDIR)/gmp; then \
55712 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
55713 mv prev-gmp stage1-gmp; : ; \
55715 @endif gmp
55716 @if mpfr
55717 @if test -d $(HOST_SUBDIR)/mpfr; then \
55718 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
55719 mv prev-mpfr stage1-mpfr; : ; \
55721 @endif mpfr
55722 @if mpc
55723 @if test -d $(HOST_SUBDIR)/mpc; then \
55724 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
55725 mv prev-mpc stage1-mpc; : ; \
55727 @endif mpc
55728 @if isl
55729 @if test -d $(HOST_SUBDIR)/isl; then \
55730 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
55731 mv prev-isl stage1-isl; : ; \
55733 @endif isl
55734 @if libelf
55735 @if test -d $(HOST_SUBDIR)/libelf; then \
55736 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
55737 mv prev-libelf stage1-libelf; : ; \
55739 @endif libelf
55740 @if gold
55741 @if test -d $(HOST_SUBDIR)/gold; then \
55742 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
55743 mv prev-gold stage1-gold; : ; \
55745 @endif gold
55746 @if intl
55747 @if test -d $(HOST_SUBDIR)/intl; then \
55748 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
55749 mv prev-intl stage1-intl; : ; \
55751 @endif intl
55752 @if ld
55753 @if test -d $(HOST_SUBDIR)/ld; then \
55754 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
55755 mv prev-ld stage1-ld; : ; \
55757 @endif ld
55758 @if libbacktrace
55759 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55760 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
55761 mv prev-libbacktrace stage1-libbacktrace; : ; \
55763 @endif libbacktrace
55764 @if libcpp
55765 @if test -d $(HOST_SUBDIR)/libcpp; then \
55766 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
55767 mv prev-libcpp stage1-libcpp; : ; \
55769 @endif libcpp
55770 @if libdecnumber
55771 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55772 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
55773 mv prev-libdecnumber stage1-libdecnumber; : ; \
55775 @endif libdecnumber
55776 @if libiberty
55777 @if test -d $(HOST_SUBDIR)/libiberty; then \
55778 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
55779 mv prev-libiberty stage1-libiberty; : ; \
55781 @endif libiberty
55782 @if libiberty-linker-plugin
55783 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55784 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
55785 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55787 @endif libiberty-linker-plugin
55788 @if libiconv
55789 @if test -d $(HOST_SUBDIR)/libiconv; then \
55790 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
55791 mv prev-libiconv stage1-libiconv; : ; \
55793 @endif libiconv
55794 @if zlib
55795 @if test -d $(HOST_SUBDIR)/zlib; then \
55796 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
55797 mv prev-zlib stage1-zlib; : ; \
55799 @endif zlib
55800 @if lto-plugin
55801 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55802 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
55803 mv prev-lto-plugin stage1-lto-plugin; : ; \
55805 @endif lto-plugin
55806 @if test -d $(TARGET_SUBDIR); then \
55807 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
55808 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55810 rm -f stage_current
55812 # Bubble a bug fix through all the stages up to stage profile. They are
55813 # remade, but not reconfigured. The next stage (if any) will not be
55814 # reconfigured either.
55815 .PHONY: stageprofile-bubble
55816 stageprofile-bubble:: stage1-bubble
55817 @r=`${PWD_COMMAND}`; export r; \
55818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55819 if test -f stageprofile-lean || test -f stage1-lean ; then \
55820 echo Skipping rebuild of stageprofile; \
55821 else \
55822 $(MAKE) stageprofile-start; \
55823 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
55826 .PHONY: all-stageprofile clean-stageprofile
55827 do-clean: clean-stageprofile
55829 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55830 # only possibility, but now it conflicts with no-bootstrap rules
55831 @if gcc-bootstrap
55836 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55837 distclean-stage1:: distclean-stageprofile
55838 .PHONY: distclean-stageprofile
55839 distclean-stageprofile::
55840 @: $(MAKE); $(stage)
55841 @test "`cat stage_last`" != stageprofile || rm -f stage_last
55842 rm -rf stageprofile-*
55845 @endif gcc-bootstrap
55848 .PHONY: stagetrain-start stagetrain-end
55850 stagetrain-start::
55851 @: $(MAKE); $(stage); \
55852 echo stagetrain > stage_current; \
55853 echo stagetrain > stage_last; \
55854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55855 @if bfd
55856 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
55857 mkdir stagetrain-bfd; \
55858 mv stagetrain-bfd bfd; \
55859 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
55860 @endif bfd
55861 @if opcodes
55862 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
55863 mkdir stagetrain-opcodes; \
55864 mv stagetrain-opcodes opcodes; \
55865 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
55866 @endif opcodes
55867 @if binutils
55868 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
55869 mkdir stagetrain-binutils; \
55870 mv stagetrain-binutils binutils; \
55871 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
55872 @endif binutils
55873 @if fixincludes
55874 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
55875 mkdir stagetrain-fixincludes; \
55876 mv stagetrain-fixincludes fixincludes; \
55877 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
55878 @endif fixincludes
55879 @if gas
55880 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
55881 mkdir stagetrain-gas; \
55882 mv stagetrain-gas gas; \
55883 mv stageprofile-gas prev-gas || test -f stageprofile-lean
55884 @endif gas
55885 @if gcc
55886 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
55887 mkdir stagetrain-gcc; \
55888 mv stagetrain-gcc gcc; \
55889 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
55890 @endif gcc
55891 @if gmp
55892 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
55893 mkdir stagetrain-gmp; \
55894 mv stagetrain-gmp gmp; \
55895 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
55896 @endif gmp
55897 @if mpfr
55898 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
55899 mkdir stagetrain-mpfr; \
55900 mv stagetrain-mpfr mpfr; \
55901 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
55902 @endif mpfr
55903 @if mpc
55904 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
55905 mkdir stagetrain-mpc; \
55906 mv stagetrain-mpc mpc; \
55907 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
55908 @endif mpc
55909 @if isl
55910 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
55911 mkdir stagetrain-isl; \
55912 mv stagetrain-isl isl; \
55913 mv stageprofile-isl prev-isl || test -f stageprofile-lean
55914 @endif isl
55915 @if libelf
55916 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
55917 mkdir stagetrain-libelf; \
55918 mv stagetrain-libelf libelf; \
55919 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
55920 @endif libelf
55921 @if gold
55922 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
55923 mkdir stagetrain-gold; \
55924 mv stagetrain-gold gold; \
55925 mv stageprofile-gold prev-gold || test -f stageprofile-lean
55926 @endif gold
55927 @if intl
55928 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
55929 mkdir stagetrain-intl; \
55930 mv stagetrain-intl intl; \
55931 mv stageprofile-intl prev-intl || test -f stageprofile-lean
55932 @endif intl
55933 @if ld
55934 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
55935 mkdir stagetrain-ld; \
55936 mv stagetrain-ld ld; \
55937 mv stageprofile-ld prev-ld || test -f stageprofile-lean
55938 @endif ld
55939 @if libbacktrace
55940 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
55941 mkdir stagetrain-libbacktrace; \
55942 mv stagetrain-libbacktrace libbacktrace; \
55943 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
55944 @endif libbacktrace
55945 @if libcpp
55946 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
55947 mkdir stagetrain-libcpp; \
55948 mv stagetrain-libcpp libcpp; \
55949 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
55950 @endif libcpp
55951 @if libdecnumber
55952 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
55953 mkdir stagetrain-libdecnumber; \
55954 mv stagetrain-libdecnumber libdecnumber; \
55955 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
55956 @endif libdecnumber
55957 @if libiberty
55958 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
55959 mkdir stagetrain-libiberty; \
55960 mv stagetrain-libiberty libiberty; \
55961 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
55962 @endif libiberty
55963 @if libiberty-linker-plugin
55964 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
55965 mkdir stagetrain-libiberty-linker-plugin; \
55966 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
55967 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
55968 @endif libiberty-linker-plugin
55969 @if libiconv
55970 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
55971 mkdir stagetrain-libiconv; \
55972 mv stagetrain-libiconv libiconv; \
55973 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
55974 @endif libiconv
55975 @if zlib
55976 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
55977 mkdir stagetrain-zlib; \
55978 mv stagetrain-zlib zlib; \
55979 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
55980 @endif zlib
55981 @if lto-plugin
55982 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
55983 mkdir stagetrain-lto-plugin; \
55984 mv stagetrain-lto-plugin lto-plugin; \
55985 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
55986 @endif lto-plugin
55987 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
55988 mkdir stagetrain-$(TARGET_SUBDIR); \
55989 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55990 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
55992 stagetrain-end::
55993 @if bfd
55994 @if test -d $(HOST_SUBDIR)/bfd; then \
55995 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
55996 mv prev-bfd stageprofile-bfd; : ; \
55998 @endif bfd
55999 @if opcodes
56000 @if test -d $(HOST_SUBDIR)/opcodes; then \
56001 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
56002 mv prev-opcodes stageprofile-opcodes; : ; \
56004 @endif opcodes
56005 @if binutils
56006 @if test -d $(HOST_SUBDIR)/binutils; then \
56007 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
56008 mv prev-binutils stageprofile-binutils; : ; \
56010 @endif binutils
56011 @if fixincludes
56012 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56013 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
56014 mv prev-fixincludes stageprofile-fixincludes; : ; \
56016 @endif fixincludes
56017 @if gas
56018 @if test -d $(HOST_SUBDIR)/gas; then \
56019 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
56020 mv prev-gas stageprofile-gas; : ; \
56022 @endif gas
56023 @if gcc
56024 @if test -d $(HOST_SUBDIR)/gcc; then \
56025 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
56026 mv prev-gcc stageprofile-gcc; : ; \
56028 @endif gcc
56029 @if gmp
56030 @if test -d $(HOST_SUBDIR)/gmp; then \
56031 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
56032 mv prev-gmp stageprofile-gmp; : ; \
56034 @endif gmp
56035 @if mpfr
56036 @if test -d $(HOST_SUBDIR)/mpfr; then \
56037 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
56038 mv prev-mpfr stageprofile-mpfr; : ; \
56040 @endif mpfr
56041 @if mpc
56042 @if test -d $(HOST_SUBDIR)/mpc; then \
56043 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
56044 mv prev-mpc stageprofile-mpc; : ; \
56046 @endif mpc
56047 @if isl
56048 @if test -d $(HOST_SUBDIR)/isl; then \
56049 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
56050 mv prev-isl stageprofile-isl; : ; \
56052 @endif isl
56053 @if libelf
56054 @if test -d $(HOST_SUBDIR)/libelf; then \
56055 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
56056 mv prev-libelf stageprofile-libelf; : ; \
56058 @endif libelf
56059 @if gold
56060 @if test -d $(HOST_SUBDIR)/gold; then \
56061 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
56062 mv prev-gold stageprofile-gold; : ; \
56064 @endif gold
56065 @if intl
56066 @if test -d $(HOST_SUBDIR)/intl; then \
56067 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
56068 mv prev-intl stageprofile-intl; : ; \
56070 @endif intl
56071 @if ld
56072 @if test -d $(HOST_SUBDIR)/ld; then \
56073 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
56074 mv prev-ld stageprofile-ld; : ; \
56076 @endif ld
56077 @if libbacktrace
56078 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56079 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
56080 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
56082 @endif libbacktrace
56083 @if libcpp
56084 @if test -d $(HOST_SUBDIR)/libcpp; then \
56085 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
56086 mv prev-libcpp stageprofile-libcpp; : ; \
56088 @endif libcpp
56089 @if libdecnumber
56090 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56091 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
56092 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
56094 @endif libdecnumber
56095 @if libiberty
56096 @if test -d $(HOST_SUBDIR)/libiberty; then \
56097 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
56098 mv prev-libiberty stageprofile-libiberty; : ; \
56100 @endif libiberty
56101 @if libiberty-linker-plugin
56102 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56103 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
56104 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
56106 @endif libiberty-linker-plugin
56107 @if libiconv
56108 @if test -d $(HOST_SUBDIR)/libiconv; then \
56109 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
56110 mv prev-libiconv stageprofile-libiconv; : ; \
56112 @endif libiconv
56113 @if zlib
56114 @if test -d $(HOST_SUBDIR)/zlib; then \
56115 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
56116 mv prev-zlib stageprofile-zlib; : ; \
56118 @endif zlib
56119 @if lto-plugin
56120 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56121 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
56122 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
56124 @endif lto-plugin
56125 @if test -d $(TARGET_SUBDIR); then \
56126 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
56127 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
56129 rm -f stage_current
56131 # Bubble a bug fix through all the stages up to stage train. They are
56132 # remade, but not reconfigured. The next stage (if any) will not be
56133 # reconfigured either.
56134 .PHONY: stagetrain-bubble
56135 stagetrain-bubble:: stageprofile-bubble
56136 @r=`${PWD_COMMAND}`; export r; \
56137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56138 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
56139 echo Skipping rebuild of stagetrain; \
56140 else \
56141 $(MAKE) stagetrain-start; \
56142 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
56145 .PHONY: all-stagetrain clean-stagetrain
56146 do-clean: clean-stagetrain
56148 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56149 # only possibility, but now it conflicts with no-bootstrap rules
56150 @if gcc-bootstrap
56155 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56156 distclean-stageprofile:: distclean-stagetrain
56157 .PHONY: distclean-stagetrain
56158 distclean-stagetrain::
56159 @: $(MAKE); $(stage)
56160 @test "`cat stage_last`" != stagetrain || rm -f stage_last
56161 rm -rf stagetrain-*
56164 @endif gcc-bootstrap
56167 .PHONY: stagefeedback-start stagefeedback-end
56169 stagefeedback-start::
56170 @: $(MAKE); $(stage); \
56171 echo stagefeedback > stage_current; \
56172 echo stagefeedback > stage_last; \
56173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56174 @if bfd
56175 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
56176 mkdir stagefeedback-bfd; \
56177 mv stagefeedback-bfd bfd; \
56178 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
56179 @endif bfd
56180 @if opcodes
56181 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
56182 mkdir stagefeedback-opcodes; \
56183 mv stagefeedback-opcodes opcodes; \
56184 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
56185 @endif opcodes
56186 @if binutils
56187 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
56188 mkdir stagefeedback-binutils; \
56189 mv stagefeedback-binutils binutils; \
56190 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
56191 @endif binutils
56192 @if fixincludes
56193 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
56194 mkdir stagefeedback-fixincludes; \
56195 mv stagefeedback-fixincludes fixincludes; \
56196 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
56197 @endif fixincludes
56198 @if gas
56199 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
56200 mkdir stagefeedback-gas; \
56201 mv stagefeedback-gas gas; \
56202 mv stagetrain-gas prev-gas || test -f stagetrain-lean
56203 @endif gas
56204 @if gcc
56205 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
56206 mkdir stagefeedback-gcc; \
56207 mv stagefeedback-gcc gcc; \
56208 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
56209 @endif gcc
56210 @if gmp
56211 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
56212 mkdir stagefeedback-gmp; \
56213 mv stagefeedback-gmp gmp; \
56214 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
56215 @endif gmp
56216 @if mpfr
56217 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
56218 mkdir stagefeedback-mpfr; \
56219 mv stagefeedback-mpfr mpfr; \
56220 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
56221 @endif mpfr
56222 @if mpc
56223 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
56224 mkdir stagefeedback-mpc; \
56225 mv stagefeedback-mpc mpc; \
56226 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
56227 @endif mpc
56228 @if isl
56229 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
56230 mkdir stagefeedback-isl; \
56231 mv stagefeedback-isl isl; \
56232 mv stagetrain-isl prev-isl || test -f stagetrain-lean
56233 @endif isl
56234 @if libelf
56235 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
56236 mkdir stagefeedback-libelf; \
56237 mv stagefeedback-libelf libelf; \
56238 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
56239 @endif libelf
56240 @if gold
56241 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
56242 mkdir stagefeedback-gold; \
56243 mv stagefeedback-gold gold; \
56244 mv stagetrain-gold prev-gold || test -f stagetrain-lean
56245 @endif gold
56246 @if intl
56247 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
56248 mkdir stagefeedback-intl; \
56249 mv stagefeedback-intl intl; \
56250 mv stagetrain-intl prev-intl || test -f stagetrain-lean
56251 @endif intl
56252 @if ld
56253 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
56254 mkdir stagefeedback-ld; \
56255 mv stagefeedback-ld ld; \
56256 mv stagetrain-ld prev-ld || test -f stagetrain-lean
56257 @endif ld
56258 @if libbacktrace
56259 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
56260 mkdir stagefeedback-libbacktrace; \
56261 mv stagefeedback-libbacktrace libbacktrace; \
56262 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
56263 @endif libbacktrace
56264 @if libcpp
56265 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
56266 mkdir stagefeedback-libcpp; \
56267 mv stagefeedback-libcpp libcpp; \
56268 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
56269 @endif libcpp
56270 @if libdecnumber
56271 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
56272 mkdir stagefeedback-libdecnumber; \
56273 mv stagefeedback-libdecnumber libdecnumber; \
56274 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
56275 @endif libdecnumber
56276 @if libiberty
56277 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
56278 mkdir stagefeedback-libiberty; \
56279 mv stagefeedback-libiberty libiberty; \
56280 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
56281 @endif libiberty
56282 @if libiberty-linker-plugin
56283 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
56284 mkdir stagefeedback-libiberty-linker-plugin; \
56285 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
56286 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
56287 @endif libiberty-linker-plugin
56288 @if libiconv
56289 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
56290 mkdir stagefeedback-libiconv; \
56291 mv stagefeedback-libiconv libiconv; \
56292 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
56293 @endif libiconv
56294 @if zlib
56295 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
56296 mkdir stagefeedback-zlib; \
56297 mv stagefeedback-zlib zlib; \
56298 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
56299 @endif zlib
56300 @if lto-plugin
56301 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
56302 mkdir stagefeedback-lto-plugin; \
56303 mv stagefeedback-lto-plugin lto-plugin; \
56304 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
56305 @endif lto-plugin
56306 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
56307 mkdir stagefeedback-$(TARGET_SUBDIR); \
56308 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56309 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
56311 stagefeedback-end::
56312 @if bfd
56313 @if test -d $(HOST_SUBDIR)/bfd; then \
56314 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
56315 mv prev-bfd stagetrain-bfd; : ; \
56317 @endif bfd
56318 @if opcodes
56319 @if test -d $(HOST_SUBDIR)/opcodes; then \
56320 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
56321 mv prev-opcodes stagetrain-opcodes; : ; \
56323 @endif opcodes
56324 @if binutils
56325 @if test -d $(HOST_SUBDIR)/binutils; then \
56326 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
56327 mv prev-binutils stagetrain-binutils; : ; \
56329 @endif binutils
56330 @if fixincludes
56331 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56332 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
56333 mv prev-fixincludes stagetrain-fixincludes; : ; \
56335 @endif fixincludes
56336 @if gas
56337 @if test -d $(HOST_SUBDIR)/gas; then \
56338 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
56339 mv prev-gas stagetrain-gas; : ; \
56341 @endif gas
56342 @if gcc
56343 @if test -d $(HOST_SUBDIR)/gcc; then \
56344 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
56345 mv prev-gcc stagetrain-gcc; : ; \
56347 @endif gcc
56348 @if gmp
56349 @if test -d $(HOST_SUBDIR)/gmp; then \
56350 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
56351 mv prev-gmp stagetrain-gmp; : ; \
56353 @endif gmp
56354 @if mpfr
56355 @if test -d $(HOST_SUBDIR)/mpfr; then \
56356 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
56357 mv prev-mpfr stagetrain-mpfr; : ; \
56359 @endif mpfr
56360 @if mpc
56361 @if test -d $(HOST_SUBDIR)/mpc; then \
56362 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
56363 mv prev-mpc stagetrain-mpc; : ; \
56365 @endif mpc
56366 @if isl
56367 @if test -d $(HOST_SUBDIR)/isl; then \
56368 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
56369 mv prev-isl stagetrain-isl; : ; \
56371 @endif isl
56372 @if libelf
56373 @if test -d $(HOST_SUBDIR)/libelf; then \
56374 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
56375 mv prev-libelf stagetrain-libelf; : ; \
56377 @endif libelf
56378 @if gold
56379 @if test -d $(HOST_SUBDIR)/gold; then \
56380 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
56381 mv prev-gold stagetrain-gold; : ; \
56383 @endif gold
56384 @if intl
56385 @if test -d $(HOST_SUBDIR)/intl; then \
56386 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
56387 mv prev-intl stagetrain-intl; : ; \
56389 @endif intl
56390 @if ld
56391 @if test -d $(HOST_SUBDIR)/ld; then \
56392 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
56393 mv prev-ld stagetrain-ld; : ; \
56395 @endif ld
56396 @if libbacktrace
56397 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56398 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
56399 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
56401 @endif libbacktrace
56402 @if libcpp
56403 @if test -d $(HOST_SUBDIR)/libcpp; then \
56404 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
56405 mv prev-libcpp stagetrain-libcpp; : ; \
56407 @endif libcpp
56408 @if libdecnumber
56409 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56410 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
56411 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
56413 @endif libdecnumber
56414 @if libiberty
56415 @if test -d $(HOST_SUBDIR)/libiberty; then \
56416 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
56417 mv prev-libiberty stagetrain-libiberty; : ; \
56419 @endif libiberty
56420 @if libiberty-linker-plugin
56421 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56422 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
56423 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
56425 @endif libiberty-linker-plugin
56426 @if libiconv
56427 @if test -d $(HOST_SUBDIR)/libiconv; then \
56428 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
56429 mv prev-libiconv stagetrain-libiconv; : ; \
56431 @endif libiconv
56432 @if zlib
56433 @if test -d $(HOST_SUBDIR)/zlib; then \
56434 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
56435 mv prev-zlib stagetrain-zlib; : ; \
56437 @endif zlib
56438 @if lto-plugin
56439 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56440 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
56441 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
56443 @endif lto-plugin
56444 @if test -d $(TARGET_SUBDIR); then \
56445 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
56446 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
56448 rm -f stage_current
56450 # Bubble a bug fix through all the stages up to stage feedback. They are
56451 # remade, but not reconfigured. The next stage (if any) will not be
56452 # reconfigured either.
56453 .PHONY: stagefeedback-bubble
56454 stagefeedback-bubble:: stagetrain-bubble
56455 @r=`${PWD_COMMAND}`; export r; \
56456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56457 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
56458 echo Skipping rebuild of stagefeedback; \
56459 else \
56460 $(MAKE) stagefeedback-start; \
56461 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
56464 .PHONY: all-stagefeedback clean-stagefeedback
56465 do-clean: clean-stagefeedback
56467 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56468 # only possibility, but now it conflicts with no-bootstrap rules
56469 @if gcc-bootstrap
56473 .PHONY: profiledbootstrap profiledbootstrap-lean
56474 profiledbootstrap:
56475 echo stagefeedback > stage_final
56476 @r=`${PWD_COMMAND}`; export r; \
56477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56478 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
56479 @: $(MAKE); $(unstage)
56480 @r=`${PWD_COMMAND}`; export r; \
56481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56482 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56483 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56485 profiledbootstrap-lean:
56486 echo stagefeedback > stage_final
56487 @r=`${PWD_COMMAND}`; export r; \
56488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56489 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
56490 @: $(MAKE); $(unstage)
56491 @r=`${PWD_COMMAND}`; export r; \
56492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56493 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56494 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56497 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56498 distclean-stagetrain:: distclean-stagefeedback
56499 .PHONY: distclean-stagefeedback
56500 distclean-stagefeedback::
56501 @: $(MAKE); $(stage)
56502 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
56503 rm -rf stagefeedback-*
56506 @endif gcc-bootstrap
56509 .PHONY: stageautoprofile-start stageautoprofile-end
56511 stageautoprofile-start::
56512 @: $(MAKE); $(stage); \
56513 echo stageautoprofile > stage_current; \
56514 echo stageautoprofile > stage_last; \
56515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56516 @if bfd
56517 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
56518 mkdir stageautoprofile-bfd; \
56519 mv stageautoprofile-bfd bfd; \
56520 mv stage1-bfd prev-bfd || test -f stage1-lean
56521 @endif bfd
56522 @if opcodes
56523 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
56524 mkdir stageautoprofile-opcodes; \
56525 mv stageautoprofile-opcodes opcodes; \
56526 mv stage1-opcodes prev-opcodes || test -f stage1-lean
56527 @endif opcodes
56528 @if binutils
56529 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
56530 mkdir stageautoprofile-binutils; \
56531 mv stageautoprofile-binutils binutils; \
56532 mv stage1-binutils prev-binutils || test -f stage1-lean
56533 @endif binutils
56534 @if fixincludes
56535 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
56536 mkdir stageautoprofile-fixincludes; \
56537 mv stageautoprofile-fixincludes fixincludes; \
56538 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
56539 @endif fixincludes
56540 @if gas
56541 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
56542 mkdir stageautoprofile-gas; \
56543 mv stageautoprofile-gas gas; \
56544 mv stage1-gas prev-gas || test -f stage1-lean
56545 @endif gas
56546 @if gcc
56547 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
56548 mkdir stageautoprofile-gcc; \
56549 mv stageautoprofile-gcc gcc; \
56550 mv stage1-gcc prev-gcc || test -f stage1-lean
56551 @endif gcc
56552 @if gmp
56553 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
56554 mkdir stageautoprofile-gmp; \
56555 mv stageautoprofile-gmp gmp; \
56556 mv stage1-gmp prev-gmp || test -f stage1-lean
56557 @endif gmp
56558 @if mpfr
56559 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
56560 mkdir stageautoprofile-mpfr; \
56561 mv stageautoprofile-mpfr mpfr; \
56562 mv stage1-mpfr prev-mpfr || test -f stage1-lean
56563 @endif mpfr
56564 @if mpc
56565 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
56566 mkdir stageautoprofile-mpc; \
56567 mv stageautoprofile-mpc mpc; \
56568 mv stage1-mpc prev-mpc || test -f stage1-lean
56569 @endif mpc
56570 @if isl
56571 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
56572 mkdir stageautoprofile-isl; \
56573 mv stageautoprofile-isl isl; \
56574 mv stage1-isl prev-isl || test -f stage1-lean
56575 @endif isl
56576 @if libelf
56577 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
56578 mkdir stageautoprofile-libelf; \
56579 mv stageautoprofile-libelf libelf; \
56580 mv stage1-libelf prev-libelf || test -f stage1-lean
56581 @endif libelf
56582 @if gold
56583 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
56584 mkdir stageautoprofile-gold; \
56585 mv stageautoprofile-gold gold; \
56586 mv stage1-gold prev-gold || test -f stage1-lean
56587 @endif gold
56588 @if intl
56589 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
56590 mkdir stageautoprofile-intl; \
56591 mv stageautoprofile-intl intl; \
56592 mv stage1-intl prev-intl || test -f stage1-lean
56593 @endif intl
56594 @if ld
56595 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
56596 mkdir stageautoprofile-ld; \
56597 mv stageautoprofile-ld ld; \
56598 mv stage1-ld prev-ld || test -f stage1-lean
56599 @endif ld
56600 @if libbacktrace
56601 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
56602 mkdir stageautoprofile-libbacktrace; \
56603 mv stageautoprofile-libbacktrace libbacktrace; \
56604 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
56605 @endif libbacktrace
56606 @if libcpp
56607 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
56608 mkdir stageautoprofile-libcpp; \
56609 mv stageautoprofile-libcpp libcpp; \
56610 mv stage1-libcpp prev-libcpp || test -f stage1-lean
56611 @endif libcpp
56612 @if libdecnumber
56613 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
56614 mkdir stageautoprofile-libdecnumber; \
56615 mv stageautoprofile-libdecnumber libdecnumber; \
56616 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
56617 @endif libdecnumber
56618 @if libiberty
56619 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
56620 mkdir stageautoprofile-libiberty; \
56621 mv stageautoprofile-libiberty libiberty; \
56622 mv stage1-libiberty prev-libiberty || test -f stage1-lean
56623 @endif libiberty
56624 @if libiberty-linker-plugin
56625 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
56626 mkdir stageautoprofile-libiberty-linker-plugin; \
56627 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
56628 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
56629 @endif libiberty-linker-plugin
56630 @if libiconv
56631 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
56632 mkdir stageautoprofile-libiconv; \
56633 mv stageautoprofile-libiconv libiconv; \
56634 mv stage1-libiconv prev-libiconv || test -f stage1-lean
56635 @endif libiconv
56636 @if zlib
56637 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
56638 mkdir stageautoprofile-zlib; \
56639 mv stageautoprofile-zlib zlib; \
56640 mv stage1-zlib prev-zlib || test -f stage1-lean
56641 @endif zlib
56642 @if lto-plugin
56643 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
56644 mkdir stageautoprofile-lto-plugin; \
56645 mv stageautoprofile-lto-plugin lto-plugin; \
56646 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
56647 @endif lto-plugin
56648 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
56649 mkdir stageautoprofile-$(TARGET_SUBDIR); \
56650 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56651 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
56653 stageautoprofile-end::
56654 @if bfd
56655 @if test -d $(HOST_SUBDIR)/bfd; then \
56656 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
56657 mv prev-bfd stage1-bfd; : ; \
56659 @endif bfd
56660 @if opcodes
56661 @if test -d $(HOST_SUBDIR)/opcodes; then \
56662 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
56663 mv prev-opcodes stage1-opcodes; : ; \
56665 @endif opcodes
56666 @if binutils
56667 @if test -d $(HOST_SUBDIR)/binutils; then \
56668 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
56669 mv prev-binutils stage1-binutils; : ; \
56671 @endif binutils
56672 @if fixincludes
56673 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56674 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
56675 mv prev-fixincludes stage1-fixincludes; : ; \
56677 @endif fixincludes
56678 @if gas
56679 @if test -d $(HOST_SUBDIR)/gas; then \
56680 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
56681 mv prev-gas stage1-gas; : ; \
56683 @endif gas
56684 @if gcc
56685 @if test -d $(HOST_SUBDIR)/gcc; then \
56686 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
56687 mv prev-gcc stage1-gcc; : ; \
56689 @endif gcc
56690 @if gmp
56691 @if test -d $(HOST_SUBDIR)/gmp; then \
56692 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
56693 mv prev-gmp stage1-gmp; : ; \
56695 @endif gmp
56696 @if mpfr
56697 @if test -d $(HOST_SUBDIR)/mpfr; then \
56698 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
56699 mv prev-mpfr stage1-mpfr; : ; \
56701 @endif mpfr
56702 @if mpc
56703 @if test -d $(HOST_SUBDIR)/mpc; then \
56704 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
56705 mv prev-mpc stage1-mpc; : ; \
56707 @endif mpc
56708 @if isl
56709 @if test -d $(HOST_SUBDIR)/isl; then \
56710 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
56711 mv prev-isl stage1-isl; : ; \
56713 @endif isl
56714 @if libelf
56715 @if test -d $(HOST_SUBDIR)/libelf; then \
56716 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
56717 mv prev-libelf stage1-libelf; : ; \
56719 @endif libelf
56720 @if gold
56721 @if test -d $(HOST_SUBDIR)/gold; then \
56722 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
56723 mv prev-gold stage1-gold; : ; \
56725 @endif gold
56726 @if intl
56727 @if test -d $(HOST_SUBDIR)/intl; then \
56728 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
56729 mv prev-intl stage1-intl; : ; \
56731 @endif intl
56732 @if ld
56733 @if test -d $(HOST_SUBDIR)/ld; then \
56734 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
56735 mv prev-ld stage1-ld; : ; \
56737 @endif ld
56738 @if libbacktrace
56739 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56740 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
56741 mv prev-libbacktrace stage1-libbacktrace; : ; \
56743 @endif libbacktrace
56744 @if libcpp
56745 @if test -d $(HOST_SUBDIR)/libcpp; then \
56746 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
56747 mv prev-libcpp stage1-libcpp; : ; \
56749 @endif libcpp
56750 @if libdecnumber
56751 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56752 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
56753 mv prev-libdecnumber stage1-libdecnumber; : ; \
56755 @endif libdecnumber
56756 @if libiberty
56757 @if test -d $(HOST_SUBDIR)/libiberty; then \
56758 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
56759 mv prev-libiberty stage1-libiberty; : ; \
56761 @endif libiberty
56762 @if libiberty-linker-plugin
56763 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56764 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
56765 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
56767 @endif libiberty-linker-plugin
56768 @if libiconv
56769 @if test -d $(HOST_SUBDIR)/libiconv; then \
56770 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
56771 mv prev-libiconv stage1-libiconv; : ; \
56773 @endif libiconv
56774 @if zlib
56775 @if test -d $(HOST_SUBDIR)/zlib; then \
56776 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
56777 mv prev-zlib stage1-zlib; : ; \
56779 @endif zlib
56780 @if lto-plugin
56781 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56782 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
56783 mv prev-lto-plugin stage1-lto-plugin; : ; \
56785 @endif lto-plugin
56786 @if test -d $(TARGET_SUBDIR); then \
56787 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
56788 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
56790 rm -f stage_current
56792 # Bubble a bug fix through all the stages up to stage autoprofile. They are
56793 # remade, but not reconfigured. The next stage (if any) will not be
56794 # reconfigured either.
56795 .PHONY: stageautoprofile-bubble
56796 stageautoprofile-bubble:: stage1-bubble
56797 @r=`${PWD_COMMAND}`; export r; \
56798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56799 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
56800 echo Skipping rebuild of stageautoprofile; \
56801 else \
56802 $(MAKE) stageautoprofile-start; \
56803 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
56806 .PHONY: all-stageautoprofile clean-stageautoprofile
56807 do-clean: clean-stageautoprofile
56809 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56810 # only possibility, but now it conflicts with no-bootstrap rules
56811 @if gcc-bootstrap
56816 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56817 distclean-stage1:: distclean-stageautoprofile
56818 .PHONY: distclean-stageautoprofile
56819 distclean-stageautoprofile::
56820 @: $(MAKE); $(stage)
56821 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
56822 rm -rf stageautoprofile-*
56825 @endif gcc-bootstrap
56828 .PHONY: stageautofeedback-start stageautofeedback-end
56830 stageautofeedback-start::
56831 @: $(MAKE); $(stage); \
56832 echo stageautofeedback > stage_current; \
56833 echo stageautofeedback > stage_last; \
56834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56835 @if bfd
56836 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
56837 mkdir stageautofeedback-bfd; \
56838 mv stageautofeedback-bfd bfd; \
56839 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
56840 @endif bfd
56841 @if opcodes
56842 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
56843 mkdir stageautofeedback-opcodes; \
56844 mv stageautofeedback-opcodes opcodes; \
56845 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
56846 @endif opcodes
56847 @if binutils
56848 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
56849 mkdir stageautofeedback-binutils; \
56850 mv stageautofeedback-binutils binutils; \
56851 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
56852 @endif binutils
56853 @if fixincludes
56854 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
56855 mkdir stageautofeedback-fixincludes; \
56856 mv stageautofeedback-fixincludes fixincludes; \
56857 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
56858 @endif fixincludes
56859 @if gas
56860 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
56861 mkdir stageautofeedback-gas; \
56862 mv stageautofeedback-gas gas; \
56863 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
56864 @endif gas
56865 @if gcc
56866 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
56867 mkdir stageautofeedback-gcc; \
56868 mv stageautofeedback-gcc gcc; \
56869 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
56870 @endif gcc
56871 @if gmp
56872 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
56873 mkdir stageautofeedback-gmp; \
56874 mv stageautofeedback-gmp gmp; \
56875 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
56876 @endif gmp
56877 @if mpfr
56878 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
56879 mkdir stageautofeedback-mpfr; \
56880 mv stageautofeedback-mpfr mpfr; \
56881 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
56882 @endif mpfr
56883 @if mpc
56884 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
56885 mkdir stageautofeedback-mpc; \
56886 mv stageautofeedback-mpc mpc; \
56887 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
56888 @endif mpc
56889 @if isl
56890 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
56891 mkdir stageautofeedback-isl; \
56892 mv stageautofeedback-isl isl; \
56893 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
56894 @endif isl
56895 @if libelf
56896 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
56897 mkdir stageautofeedback-libelf; \
56898 mv stageautofeedback-libelf libelf; \
56899 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
56900 @endif libelf
56901 @if gold
56902 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
56903 mkdir stageautofeedback-gold; \
56904 mv stageautofeedback-gold gold; \
56905 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
56906 @endif gold
56907 @if intl
56908 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
56909 mkdir stageautofeedback-intl; \
56910 mv stageautofeedback-intl intl; \
56911 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
56912 @endif intl
56913 @if ld
56914 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
56915 mkdir stageautofeedback-ld; \
56916 mv stageautofeedback-ld ld; \
56917 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
56918 @endif ld
56919 @if libbacktrace
56920 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
56921 mkdir stageautofeedback-libbacktrace; \
56922 mv stageautofeedback-libbacktrace libbacktrace; \
56923 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
56924 @endif libbacktrace
56925 @if libcpp
56926 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
56927 mkdir stageautofeedback-libcpp; \
56928 mv stageautofeedback-libcpp libcpp; \
56929 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
56930 @endif libcpp
56931 @if libdecnumber
56932 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
56933 mkdir stageautofeedback-libdecnumber; \
56934 mv stageautofeedback-libdecnumber libdecnumber; \
56935 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
56936 @endif libdecnumber
56937 @if libiberty
56938 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
56939 mkdir stageautofeedback-libiberty; \
56940 mv stageautofeedback-libiberty libiberty; \
56941 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
56942 @endif libiberty
56943 @if libiberty-linker-plugin
56944 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
56945 mkdir stageautofeedback-libiberty-linker-plugin; \
56946 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
56947 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
56948 @endif libiberty-linker-plugin
56949 @if libiconv
56950 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
56951 mkdir stageautofeedback-libiconv; \
56952 mv stageautofeedback-libiconv libiconv; \
56953 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
56954 @endif libiconv
56955 @if zlib
56956 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
56957 mkdir stageautofeedback-zlib; \
56958 mv stageautofeedback-zlib zlib; \
56959 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
56960 @endif zlib
56961 @if lto-plugin
56962 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
56963 mkdir stageautofeedback-lto-plugin; \
56964 mv stageautofeedback-lto-plugin lto-plugin; \
56965 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
56966 @endif lto-plugin
56967 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
56968 mkdir stageautofeedback-$(TARGET_SUBDIR); \
56969 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56970 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
56972 stageautofeedback-end::
56973 @if bfd
56974 @if test -d $(HOST_SUBDIR)/bfd; then \
56975 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
56976 mv prev-bfd stageautoprofile-bfd; : ; \
56978 @endif bfd
56979 @if opcodes
56980 @if test -d $(HOST_SUBDIR)/opcodes; then \
56981 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
56982 mv prev-opcodes stageautoprofile-opcodes; : ; \
56984 @endif opcodes
56985 @if binutils
56986 @if test -d $(HOST_SUBDIR)/binutils; then \
56987 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
56988 mv prev-binutils stageautoprofile-binutils; : ; \
56990 @endif binutils
56991 @if fixincludes
56992 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56993 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
56994 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
56996 @endif fixincludes
56997 @if gas
56998 @if test -d $(HOST_SUBDIR)/gas; then \
56999 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
57000 mv prev-gas stageautoprofile-gas; : ; \
57002 @endif gas
57003 @if gcc
57004 @if test -d $(HOST_SUBDIR)/gcc; then \
57005 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
57006 mv prev-gcc stageautoprofile-gcc; : ; \
57008 @endif gcc
57009 @if gmp
57010 @if test -d $(HOST_SUBDIR)/gmp; then \
57011 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
57012 mv prev-gmp stageautoprofile-gmp; : ; \
57014 @endif gmp
57015 @if mpfr
57016 @if test -d $(HOST_SUBDIR)/mpfr; then \
57017 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
57018 mv prev-mpfr stageautoprofile-mpfr; : ; \
57020 @endif mpfr
57021 @if mpc
57022 @if test -d $(HOST_SUBDIR)/mpc; then \
57023 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
57024 mv prev-mpc stageautoprofile-mpc; : ; \
57026 @endif mpc
57027 @if isl
57028 @if test -d $(HOST_SUBDIR)/isl; then \
57029 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
57030 mv prev-isl stageautoprofile-isl; : ; \
57032 @endif isl
57033 @if libelf
57034 @if test -d $(HOST_SUBDIR)/libelf; then \
57035 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
57036 mv prev-libelf stageautoprofile-libelf; : ; \
57038 @endif libelf
57039 @if gold
57040 @if test -d $(HOST_SUBDIR)/gold; then \
57041 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
57042 mv prev-gold stageautoprofile-gold; : ; \
57044 @endif gold
57045 @if intl
57046 @if test -d $(HOST_SUBDIR)/intl; then \
57047 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
57048 mv prev-intl stageautoprofile-intl; : ; \
57050 @endif intl
57051 @if ld
57052 @if test -d $(HOST_SUBDIR)/ld; then \
57053 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
57054 mv prev-ld stageautoprofile-ld; : ; \
57056 @endif ld
57057 @if libbacktrace
57058 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57059 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
57060 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
57062 @endif libbacktrace
57063 @if libcpp
57064 @if test -d $(HOST_SUBDIR)/libcpp; then \
57065 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
57066 mv prev-libcpp stageautoprofile-libcpp; : ; \
57068 @endif libcpp
57069 @if libdecnumber
57070 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57071 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
57072 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
57074 @endif libdecnumber
57075 @if libiberty
57076 @if test -d $(HOST_SUBDIR)/libiberty; then \
57077 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
57078 mv prev-libiberty stageautoprofile-libiberty; : ; \
57080 @endif libiberty
57081 @if libiberty-linker-plugin
57082 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57083 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
57084 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
57086 @endif libiberty-linker-plugin
57087 @if libiconv
57088 @if test -d $(HOST_SUBDIR)/libiconv; then \
57089 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
57090 mv prev-libiconv stageautoprofile-libiconv; : ; \
57092 @endif libiconv
57093 @if zlib
57094 @if test -d $(HOST_SUBDIR)/zlib; then \
57095 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
57096 mv prev-zlib stageautoprofile-zlib; : ; \
57098 @endif zlib
57099 @if lto-plugin
57100 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57101 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
57102 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
57104 @endif lto-plugin
57105 @if test -d $(TARGET_SUBDIR); then \
57106 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
57107 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
57109 rm -f stage_current
57111 # Bubble a bug fix through all the stages up to stage autofeedback. They are
57112 # remade, but not reconfigured. The next stage (if any) will not be
57113 # reconfigured either.
57114 .PHONY: stageautofeedback-bubble
57115 stageautofeedback-bubble:: stageautoprofile-bubble
57116 @r=`${PWD_COMMAND}`; export r; \
57117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57118 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
57119 echo Skipping rebuild of stageautofeedback; \
57120 else \
57121 $(MAKE) stageautofeedback-start; \
57122 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
57125 .PHONY: all-stageautofeedback clean-stageautofeedback
57126 do-clean: clean-stageautofeedback
57128 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57129 # only possibility, but now it conflicts with no-bootstrap rules
57130 @if gcc-bootstrap
57134 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
57135 autoprofiledbootstrap:
57136 echo stageautofeedback > stage_final
57137 @r=`${PWD_COMMAND}`; export r; \
57138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57139 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
57140 @: $(MAKE); $(unstage)
57141 @r=`${PWD_COMMAND}`; export r; \
57142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57143 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57144 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57146 autoprofiledbootstrap-lean:
57147 echo stageautofeedback > stage_final
57148 @r=`${PWD_COMMAND}`; export r; \
57149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57150 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
57151 @: $(MAKE); $(unstage)
57152 @r=`${PWD_COMMAND}`; export r; \
57153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57154 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57155 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57158 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57159 distclean-stageautoprofile:: distclean-stageautofeedback
57160 .PHONY: distclean-stageautofeedback
57161 distclean-stageautofeedback::
57162 @: $(MAKE); $(stage)
57163 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
57164 rm -rf stageautofeedback-*
57167 @endif gcc-bootstrap
57171 stageprofile-end::
57172 $(MAKE) distclean-stagefeedback
57174 stagefeedback-start::
57175 @r=`${PWD_COMMAND}`; export r; \
57176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57177 for i in prev-*; do \
57178 j=`echo $$i | sed s/^prev-//`; \
57179 cd $$r/$$i && \
57180 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
57181 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
57182 done
57184 @if gcc-bootstrap
57185 do-distclean: distclean-stage1
57187 # Provide a GCC build when we're building target libraries. This does
57188 # not work as a dependency, just as the minimum necessary to avoid errors.
57189 stage_last:
57190 @r=`${PWD_COMMAND}`; export r; \
57191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57192 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
57194 # Same as unstage, but not phony and defaulting to stage1-start. We place
57195 # it in the dependency so that for example `make -j3 all-gcc' works.
57196 stage_current:
57197 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
57199 .PHONY: restrap
57200 restrap::
57201 @: $(MAKE); $(stage)
57202 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
57203 restrap:: all
57204 @endif gcc-bootstrap
57206 # --------------------------------------
57207 # Dependencies between different modules
57208 # --------------------------------------
57210 # Generic dependencies for target modules on host stuff, especially gcc
57211 @if gcc-bootstrap
57212 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
57213 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
57214 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
57215 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
57216 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
57217 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
57218 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
57219 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
57220 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
57221 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
57222 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
57223 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
57224 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
57225 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
57226 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
57227 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
57228 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
57229 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
57230 configure-stage1-target-libmpx: maybe-all-stage1-gcc
57231 configure-stage2-target-libmpx: maybe-all-stage2-gcc
57232 configure-stage3-target-libmpx: maybe-all-stage3-gcc
57233 configure-stage4-target-libmpx: maybe-all-stage4-gcc
57234 configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
57235 configure-stagetrain-target-libmpx: maybe-all-stagetrain-gcc
57236 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
57237 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-gcc
57238 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-gcc
57239 configure-stage1-target-libvtv: maybe-all-stage1-gcc
57240 configure-stage2-target-libvtv: maybe-all-stage2-gcc
57241 configure-stage3-target-libvtv: maybe-all-stage3-gcc
57242 configure-stage4-target-libvtv: maybe-all-stage4-gcc
57243 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
57244 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
57245 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
57246 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
57247 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
57248 configure-target-libcilkrts: stage_last
57249 configure-target-liboffloadmic: stage_last
57250 configure-target-libssp: stage_last
57251 configure-target-newlib: stage_last
57252 configure-stage1-target-libgcc: maybe-all-stage1-gcc
57253 configure-stage2-target-libgcc: maybe-all-stage2-gcc
57254 configure-stage3-target-libgcc: maybe-all-stage3-gcc
57255 configure-stage4-target-libgcc: maybe-all-stage4-gcc
57256 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
57257 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
57258 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
57259 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
57260 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
57261 configure-target-libbacktrace: stage_last
57262 configure-target-libquadmath: stage_last
57263 configure-target-libgfortran: stage_last
57264 configure-target-libobjc: stage_last
57265 configure-target-libgo: stage_last
57266 configure-target-libhsail-rt: stage_last
57267 configure-target-libtermcap: stage_last
57268 configure-target-winsup: stage_last
57269 configure-target-libgloss: stage_last
57270 configure-target-libffi: stage_last
57271 configure-target-zlib: stage_last
57272 configure-target-rda: stage_last
57273 configure-target-libada: stage_last
57274 configure-stage1-target-libgomp: maybe-all-stage1-gcc
57275 configure-stage2-target-libgomp: maybe-all-stage2-gcc
57276 configure-stage3-target-libgomp: maybe-all-stage3-gcc
57277 configure-stage4-target-libgomp: maybe-all-stage4-gcc
57278 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
57279 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
57280 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
57281 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
57282 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
57283 configure-target-libitm: stage_last
57284 configure-target-libatomic: stage_last
57285 @endif gcc-bootstrap
57287 @if gcc-no-bootstrap
57288 configure-target-libstdc++-v3: maybe-all-gcc
57289 configure-target-libsanitizer: maybe-all-gcc
57290 configure-target-libmpx: maybe-all-gcc
57291 configure-target-libvtv: maybe-all-gcc
57292 configure-target-libcilkrts: maybe-all-gcc
57293 configure-target-liboffloadmic: maybe-all-gcc
57294 configure-target-libssp: maybe-all-gcc
57295 configure-target-newlib: maybe-all-gcc
57296 configure-target-libgcc: maybe-all-gcc
57297 configure-target-libbacktrace: maybe-all-gcc
57298 configure-target-libquadmath: maybe-all-gcc
57299 configure-target-libgfortran: maybe-all-gcc
57300 configure-target-libobjc: maybe-all-gcc
57301 configure-target-libgo: maybe-all-gcc
57302 configure-target-libhsail-rt: maybe-all-gcc
57303 configure-target-libtermcap: maybe-all-gcc
57304 configure-target-winsup: maybe-all-gcc
57305 configure-target-libgloss: maybe-all-gcc
57306 configure-target-libffi: maybe-all-gcc
57307 configure-target-zlib: maybe-all-gcc
57308 configure-target-rda: maybe-all-gcc
57309 configure-target-libada: maybe-all-gcc
57310 configure-target-libgomp: maybe-all-gcc
57311 configure-target-libitm: maybe-all-gcc
57312 configure-target-libatomic: maybe-all-gcc
57313 @endif gcc-no-bootstrap
57316 # There are two types of dependencies here: 'hard' dependencies, where one
57317 # module simply won't build without the other; and 'soft' dependencies, where
57318 # if the depended-on module is missing, the depending module will do without
57319 # or find a substitute somewhere (perhaps installed). Soft dependencies
57320 # are made here to depend on a 'maybe-' target. If you're not sure,
57321 # it's safer to use a soft dependency.
57328 # With all the machinery above in place, it is pretty easy to generate
57329 # dependencies. Host dependencies are a bit more complex because we have
57330 # to check for bootstrap/prebootstrap dependencies. To resolve
57331 # prebootstrap dependencies, prebootstrap modules are gathered in
57332 # a hash table.
57333 all-build-bison: maybe-all-build-texinfo
57334 all-build-flex: maybe-all-build-texinfo
57335 all-build-flex: maybe-all-build-bison
57336 all-build-flex: maybe-all-build-m4
57337 all-build-libiberty: maybe-all-build-texinfo
57338 all-build-m4: maybe-all-build-texinfo
57339 all-build-fixincludes: maybe-all-build-libiberty
57340 all-build-libcpp: maybe-all-build-libiberty
57341 configure-gcc: maybe-configure-intl
57343 configure-stage1-gcc: maybe-configure-stage1-intl
57344 configure-stage2-gcc: maybe-configure-stage2-intl
57345 configure-stage3-gcc: maybe-configure-stage3-intl
57346 configure-stage4-gcc: maybe-configure-stage4-intl
57347 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
57348 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
57349 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
57350 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
57351 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
57352 configure-gcc: maybe-all-gmp
57354 configure-stage1-gcc: maybe-all-stage1-gmp
57355 configure-stage2-gcc: maybe-all-stage2-gmp
57356 configure-stage3-gcc: maybe-all-stage3-gmp
57357 configure-stage4-gcc: maybe-all-stage4-gmp
57358 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
57359 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
57360 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
57361 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
57362 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
57363 configure-gcc: maybe-all-mpfr
57365 configure-stage1-gcc: maybe-all-stage1-mpfr
57366 configure-stage2-gcc: maybe-all-stage2-mpfr
57367 configure-stage3-gcc: maybe-all-stage3-mpfr
57368 configure-stage4-gcc: maybe-all-stage4-mpfr
57369 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
57370 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
57371 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
57372 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
57373 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
57374 configure-gcc: maybe-all-mpc
57376 configure-stage1-gcc: maybe-all-stage1-mpc
57377 configure-stage2-gcc: maybe-all-stage2-mpc
57378 configure-stage3-gcc: maybe-all-stage3-mpc
57379 configure-stage4-gcc: maybe-all-stage4-mpc
57380 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
57381 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
57382 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
57383 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
57384 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
57385 configure-gcc: maybe-all-isl
57387 configure-stage1-gcc: maybe-all-stage1-isl
57388 configure-stage2-gcc: maybe-all-stage2-isl
57389 configure-stage3-gcc: maybe-all-stage3-isl
57390 configure-stage4-gcc: maybe-all-stage4-isl
57391 configure-stageprofile-gcc: maybe-all-stageprofile-isl
57392 configure-stagetrain-gcc: maybe-all-stagetrain-isl
57393 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
57394 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
57395 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
57396 configure-gcc: maybe-all-lto-plugin
57398 configure-stage1-gcc: maybe-all-stage1-lto-plugin
57399 configure-stage2-gcc: maybe-all-stage2-lto-plugin
57400 configure-stage3-gcc: maybe-all-stage3-lto-plugin
57401 configure-stage4-gcc: maybe-all-stage4-lto-plugin
57402 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
57403 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
57404 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
57405 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
57406 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
57407 configure-gcc: maybe-all-binutils
57409 configure-stage1-gcc: maybe-all-stage1-binutils
57410 configure-stage2-gcc: maybe-all-stage2-binutils
57411 configure-stage3-gcc: maybe-all-stage3-binutils
57412 configure-stage4-gcc: maybe-all-stage4-binutils
57413 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
57414 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
57415 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
57416 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
57417 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
57418 configure-gcc: maybe-all-gas
57420 configure-stage1-gcc: maybe-all-stage1-gas
57421 configure-stage2-gcc: maybe-all-stage2-gas
57422 configure-stage3-gcc: maybe-all-stage3-gas
57423 configure-stage4-gcc: maybe-all-stage4-gas
57424 configure-stageprofile-gcc: maybe-all-stageprofile-gas
57425 configure-stagetrain-gcc: maybe-all-stagetrain-gas
57426 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
57427 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
57428 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
57429 configure-gcc: maybe-all-ld
57431 configure-stage1-gcc: maybe-all-stage1-ld
57432 configure-stage2-gcc: maybe-all-stage2-ld
57433 configure-stage3-gcc: maybe-all-stage3-ld
57434 configure-stage4-gcc: maybe-all-stage4-ld
57435 configure-stageprofile-gcc: maybe-all-stageprofile-ld
57436 configure-stagetrain-gcc: maybe-all-stagetrain-ld
57437 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
57438 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
57439 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
57440 configure-gcc: maybe-all-gold
57442 configure-stage1-gcc: maybe-all-stage1-gold
57443 configure-stage2-gcc: maybe-all-stage2-gold
57444 configure-stage3-gcc: maybe-all-stage3-gold
57445 configure-stage4-gcc: maybe-all-stage4-gold
57446 configure-stageprofile-gcc: maybe-all-stageprofile-gold
57447 configure-stagetrain-gcc: maybe-all-stagetrain-gold
57448 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
57449 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
57450 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
57451 configure-gcc: maybe-all-libelf
57453 configure-stage1-gcc: maybe-all-stage1-libelf
57454 configure-stage2-gcc: maybe-all-stage2-libelf
57455 configure-stage3-gcc: maybe-all-stage3-libelf
57456 configure-stage4-gcc: maybe-all-stage4-libelf
57457 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
57458 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
57459 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
57460 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
57461 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
57462 configure-gcc: maybe-all-libiconv
57464 configure-stage1-gcc: maybe-all-stage1-libiconv
57465 configure-stage2-gcc: maybe-all-stage2-libiconv
57466 configure-stage3-gcc: maybe-all-stage3-libiconv
57467 configure-stage4-gcc: maybe-all-stage4-libiconv
57468 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
57469 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
57470 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
57471 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
57472 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
57473 all-gcc: all-libiberty
57475 all-stage1-gcc: all-stage1-libiberty
57476 all-stage2-gcc: all-stage2-libiberty
57477 all-stage3-gcc: all-stage3-libiberty
57478 all-stage4-gcc: all-stage4-libiberty
57479 all-stageprofile-gcc: all-stageprofile-libiberty
57480 all-stagetrain-gcc: all-stagetrain-libiberty
57481 all-stagefeedback-gcc: all-stagefeedback-libiberty
57482 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
57483 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
57484 all-gcc: maybe-all-intl
57486 all-stage1-gcc: maybe-all-stage1-intl
57487 all-stage2-gcc: maybe-all-stage2-intl
57488 all-stage3-gcc: maybe-all-stage3-intl
57489 all-stage4-gcc: maybe-all-stage4-intl
57490 all-stageprofile-gcc: maybe-all-stageprofile-intl
57491 all-stagetrain-gcc: maybe-all-stagetrain-intl
57492 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
57493 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
57494 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
57495 all-gcc: maybe-all-mpfr
57497 all-stage1-gcc: maybe-all-stage1-mpfr
57498 all-stage2-gcc: maybe-all-stage2-mpfr
57499 all-stage3-gcc: maybe-all-stage3-mpfr
57500 all-stage4-gcc: maybe-all-stage4-mpfr
57501 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
57502 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
57503 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
57504 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
57505 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
57506 all-gcc: maybe-all-mpc
57508 all-stage1-gcc: maybe-all-stage1-mpc
57509 all-stage2-gcc: maybe-all-stage2-mpc
57510 all-stage3-gcc: maybe-all-stage3-mpc
57511 all-stage4-gcc: maybe-all-stage4-mpc
57512 all-stageprofile-gcc: maybe-all-stageprofile-mpc
57513 all-stagetrain-gcc: maybe-all-stagetrain-mpc
57514 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
57515 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
57516 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
57517 all-gcc: maybe-all-isl
57519 all-stage1-gcc: maybe-all-stage1-isl
57520 all-stage2-gcc: maybe-all-stage2-isl
57521 all-stage3-gcc: maybe-all-stage3-isl
57522 all-stage4-gcc: maybe-all-stage4-isl
57523 all-stageprofile-gcc: maybe-all-stageprofile-isl
57524 all-stagetrain-gcc: maybe-all-stagetrain-isl
57525 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
57526 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
57527 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
57528 all-gcc: maybe-all-build-texinfo
57530 all-stage1-gcc: maybe-all-build-texinfo
57531 all-stage2-gcc: maybe-all-build-texinfo
57532 all-stage3-gcc: maybe-all-build-texinfo
57533 all-stage4-gcc: maybe-all-build-texinfo
57534 all-stageprofile-gcc: maybe-all-build-texinfo
57535 all-stagetrain-gcc: maybe-all-build-texinfo
57536 all-stagefeedback-gcc: maybe-all-build-texinfo
57537 all-stageautoprofile-gcc: maybe-all-build-texinfo
57538 all-stageautofeedback-gcc: maybe-all-build-texinfo
57539 all-gcc: maybe-all-build-bison
57541 all-stage1-gcc: maybe-all-build-bison
57542 all-stage2-gcc: maybe-all-build-bison
57543 all-stage3-gcc: maybe-all-build-bison
57544 all-stage4-gcc: maybe-all-build-bison
57545 all-stageprofile-gcc: maybe-all-build-bison
57546 all-stagetrain-gcc: maybe-all-build-bison
57547 all-stagefeedback-gcc: maybe-all-build-bison
57548 all-stageautoprofile-gcc: maybe-all-build-bison
57549 all-stageautofeedback-gcc: maybe-all-build-bison
57550 all-gcc: maybe-all-build-flex
57552 all-stage1-gcc: maybe-all-build-flex
57553 all-stage2-gcc: maybe-all-build-flex
57554 all-stage3-gcc: maybe-all-build-flex
57555 all-stage4-gcc: maybe-all-build-flex
57556 all-stageprofile-gcc: maybe-all-build-flex
57557 all-stagetrain-gcc: maybe-all-build-flex
57558 all-stagefeedback-gcc: maybe-all-build-flex
57559 all-stageautoprofile-gcc: maybe-all-build-flex
57560 all-stageautofeedback-gcc: maybe-all-build-flex
57561 all-gcc: maybe-all-build-libiberty
57563 all-stage1-gcc: maybe-all-build-libiberty
57564 all-stage2-gcc: maybe-all-build-libiberty
57565 all-stage3-gcc: maybe-all-build-libiberty
57566 all-stage4-gcc: maybe-all-build-libiberty
57567 all-stageprofile-gcc: maybe-all-build-libiberty
57568 all-stagetrain-gcc: maybe-all-build-libiberty
57569 all-stagefeedback-gcc: maybe-all-build-libiberty
57570 all-stageautoprofile-gcc: maybe-all-build-libiberty
57571 all-stageautofeedback-gcc: maybe-all-build-libiberty
57572 all-gcc: maybe-all-build-fixincludes
57574 all-stage1-gcc: maybe-all-build-fixincludes
57575 all-stage2-gcc: maybe-all-build-fixincludes
57576 all-stage3-gcc: maybe-all-build-fixincludes
57577 all-stage4-gcc: maybe-all-build-fixincludes
57578 all-stageprofile-gcc: maybe-all-build-fixincludes
57579 all-stagetrain-gcc: maybe-all-build-fixincludes
57580 all-stagefeedback-gcc: maybe-all-build-fixincludes
57581 all-stageautoprofile-gcc: maybe-all-build-fixincludes
57582 all-stageautofeedback-gcc: maybe-all-build-fixincludes
57583 all-gcc: maybe-all-build-libcpp
57585 all-stage1-gcc: maybe-all-build-libcpp
57586 all-stage2-gcc: maybe-all-build-libcpp
57587 all-stage3-gcc: maybe-all-build-libcpp
57588 all-stage4-gcc: maybe-all-build-libcpp
57589 all-stageprofile-gcc: maybe-all-build-libcpp
57590 all-stagetrain-gcc: maybe-all-build-libcpp
57591 all-stagefeedback-gcc: maybe-all-build-libcpp
57592 all-stageautoprofile-gcc: maybe-all-build-libcpp
57593 all-stageautofeedback-gcc: maybe-all-build-libcpp
57594 all-gcc: maybe-all-zlib
57596 all-stage1-gcc: maybe-all-stage1-zlib
57597 all-stage2-gcc: maybe-all-stage2-zlib
57598 all-stage3-gcc: maybe-all-stage3-zlib
57599 all-stage4-gcc: maybe-all-stage4-zlib
57600 all-stageprofile-gcc: maybe-all-stageprofile-zlib
57601 all-stagetrain-gcc: maybe-all-stagetrain-zlib
57602 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
57603 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
57604 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
57605 all-gcc: all-libbacktrace
57607 all-stage1-gcc: all-stage1-libbacktrace
57608 all-stage2-gcc: all-stage2-libbacktrace
57609 all-stage3-gcc: all-stage3-libbacktrace
57610 all-stage4-gcc: all-stage4-libbacktrace
57611 all-stageprofile-gcc: all-stageprofile-libbacktrace
57612 all-stagetrain-gcc: all-stagetrain-libbacktrace
57613 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
57614 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
57615 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
57616 all-gcc: all-libcpp
57618 all-stage1-gcc: all-stage1-libcpp
57619 all-stage2-gcc: all-stage2-libcpp
57620 all-stage3-gcc: all-stage3-libcpp
57621 all-stage4-gcc: all-stage4-libcpp
57622 all-stageprofile-gcc: all-stageprofile-libcpp
57623 all-stagetrain-gcc: all-stagetrain-libcpp
57624 all-stagefeedback-gcc: all-stagefeedback-libcpp
57625 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
57626 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
57627 all-gcc: all-libdecnumber
57629 all-stage1-gcc: all-stage1-libdecnumber
57630 all-stage2-gcc: all-stage2-libdecnumber
57631 all-stage3-gcc: all-stage3-libdecnumber
57632 all-stage4-gcc: all-stage4-libdecnumber
57633 all-stageprofile-gcc: all-stageprofile-libdecnumber
57634 all-stagetrain-gcc: all-stagetrain-libdecnumber
57635 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
57636 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
57637 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
57638 all-gcc: maybe-all-libiberty
57640 all-stage1-gcc: maybe-all-stage1-libiberty
57641 all-stage2-gcc: maybe-all-stage2-libiberty
57642 all-stage3-gcc: maybe-all-stage3-libiberty
57643 all-stage4-gcc: maybe-all-stage4-libiberty
57644 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
57645 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
57646 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
57647 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
57648 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
57649 all-gcc: maybe-all-fixincludes
57651 all-stage1-gcc: maybe-all-stage1-fixincludes
57652 all-stage2-gcc: maybe-all-stage2-fixincludes
57653 all-stage3-gcc: maybe-all-stage3-fixincludes
57654 all-stage4-gcc: maybe-all-stage4-fixincludes
57655 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
57656 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
57657 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
57658 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
57659 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
57660 all-gcc: maybe-all-lto-plugin
57662 all-stage1-gcc: maybe-all-stage1-lto-plugin
57663 all-stage2-gcc: maybe-all-stage2-lto-plugin
57664 all-stage3-gcc: maybe-all-stage3-lto-plugin
57665 all-stage4-gcc: maybe-all-stage4-lto-plugin
57666 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
57667 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
57668 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
57669 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
57670 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
57671 all-gcc: maybe-all-libiconv
57673 all-stage1-gcc: maybe-all-stage1-libiconv
57674 all-stage2-gcc: maybe-all-stage2-libiconv
57675 all-stage3-gcc: maybe-all-stage3-libiconv
57676 all-stage4-gcc: maybe-all-stage4-libiconv
57677 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
57678 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
57679 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
57680 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
57681 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
57682 info-gcc: maybe-all-build-libiberty
57684 info-stage1-gcc: maybe-all-build-libiberty
57685 info-stage2-gcc: maybe-all-build-libiberty
57686 info-stage3-gcc: maybe-all-build-libiberty
57687 info-stage4-gcc: maybe-all-build-libiberty
57688 info-stageprofile-gcc: maybe-all-build-libiberty
57689 info-stagetrain-gcc: maybe-all-build-libiberty
57690 info-stagefeedback-gcc: maybe-all-build-libiberty
57691 info-stageautoprofile-gcc: maybe-all-build-libiberty
57692 info-stageautofeedback-gcc: maybe-all-build-libiberty
57693 dvi-gcc: maybe-all-build-libiberty
57695 dvi-stage1-gcc: maybe-all-build-libiberty
57696 dvi-stage2-gcc: maybe-all-build-libiberty
57697 dvi-stage3-gcc: maybe-all-build-libiberty
57698 dvi-stage4-gcc: maybe-all-build-libiberty
57699 dvi-stageprofile-gcc: maybe-all-build-libiberty
57700 dvi-stagetrain-gcc: maybe-all-build-libiberty
57701 dvi-stagefeedback-gcc: maybe-all-build-libiberty
57702 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
57703 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
57704 pdf-gcc: maybe-all-build-libiberty
57706 pdf-stage1-gcc: maybe-all-build-libiberty
57707 pdf-stage2-gcc: maybe-all-build-libiberty
57708 pdf-stage3-gcc: maybe-all-build-libiberty
57709 pdf-stage4-gcc: maybe-all-build-libiberty
57710 pdf-stageprofile-gcc: maybe-all-build-libiberty
57711 pdf-stagetrain-gcc: maybe-all-build-libiberty
57712 pdf-stagefeedback-gcc: maybe-all-build-libiberty
57713 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
57714 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
57715 html-gcc: maybe-all-build-libiberty
57717 html-stage1-gcc: maybe-all-build-libiberty
57718 html-stage2-gcc: maybe-all-build-libiberty
57719 html-stage3-gcc: maybe-all-build-libiberty
57720 html-stage4-gcc: maybe-all-build-libiberty
57721 html-stageprofile-gcc: maybe-all-build-libiberty
57722 html-stagetrain-gcc: maybe-all-build-libiberty
57723 html-stagefeedback-gcc: maybe-all-build-libiberty
57724 html-stageautoprofile-gcc: maybe-all-build-libiberty
57725 html-stageautofeedback-gcc: maybe-all-build-libiberty
57726 install-gcc: maybe-install-fixincludes
57727 install-gcc: maybe-install-lto-plugin
57728 install-strip-gcc: maybe-install-strip-fixincludes
57729 install-strip-gcc: maybe-install-strip-lto-plugin
57730 configure-libcpp: configure-libiberty
57732 configure-stage1-libcpp: configure-stage1-libiberty
57733 configure-stage2-libcpp: configure-stage2-libiberty
57734 configure-stage3-libcpp: configure-stage3-libiberty
57735 configure-stage4-libcpp: configure-stage4-libiberty
57736 configure-stageprofile-libcpp: configure-stageprofile-libiberty
57737 configure-stagetrain-libcpp: configure-stagetrain-libiberty
57738 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
57739 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
57740 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
57741 configure-libcpp: maybe-configure-intl
57743 configure-stage1-libcpp: maybe-configure-stage1-intl
57744 configure-stage2-libcpp: maybe-configure-stage2-intl
57745 configure-stage3-libcpp: maybe-configure-stage3-intl
57746 configure-stage4-libcpp: maybe-configure-stage4-intl
57747 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
57748 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
57749 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
57750 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
57751 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
57752 configure-libcpp: maybe-all-libiconv
57754 configure-stage1-libcpp: maybe-all-stage1-libiconv
57755 configure-stage2-libcpp: maybe-all-stage2-libiconv
57756 configure-stage3-libcpp: maybe-all-stage3-libiconv
57757 configure-stage4-libcpp: maybe-all-stage4-libiconv
57758 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
57759 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
57760 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
57761 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
57762 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
57763 all-libcpp: all-libiberty
57765 all-stage1-libcpp: all-stage1-libiberty
57766 all-stage2-libcpp: all-stage2-libiberty
57767 all-stage3-libcpp: all-stage3-libiberty
57768 all-stage4-libcpp: all-stage4-libiberty
57769 all-stageprofile-libcpp: all-stageprofile-libiberty
57770 all-stagetrain-libcpp: all-stagetrain-libiberty
57771 all-stagefeedback-libcpp: all-stagefeedback-libiberty
57772 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
57773 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
57774 all-libcpp: maybe-all-intl
57776 all-stage1-libcpp: maybe-all-stage1-intl
57777 all-stage2-libcpp: maybe-all-stage2-intl
57778 all-stage3-libcpp: maybe-all-stage3-intl
57779 all-stage4-libcpp: maybe-all-stage4-intl
57780 all-stageprofile-libcpp: maybe-all-stageprofile-intl
57781 all-stagetrain-libcpp: maybe-all-stagetrain-intl
57782 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
57783 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
57784 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
57785 all-libcpp: maybe-all-libiconv
57787 all-stage1-libcpp: maybe-all-stage1-libiconv
57788 all-stage2-libcpp: maybe-all-stage2-libiconv
57789 all-stage3-libcpp: maybe-all-stage3-libiconv
57790 all-stage4-libcpp: maybe-all-stage4-libiconv
57791 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
57792 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
57793 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
57794 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
57795 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
57796 all-fixincludes: maybe-all-libiberty
57798 all-stage1-fixincludes: maybe-all-stage1-libiberty
57799 all-stage2-fixincludes: maybe-all-stage2-libiberty
57800 all-stage3-fixincludes: maybe-all-stage3-libiberty
57801 all-stage4-fixincludes: maybe-all-stage4-libiberty
57802 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
57803 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
57804 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
57805 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
57806 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
57807 all-gnattools: maybe-all-target-libada
57808 all-gnattools: maybe-all-target-libstdc++-v3
57809 all-lto-plugin: maybe-all-libiberty
57811 all-stage1-lto-plugin: maybe-all-stage1-libiberty
57812 all-stage2-lto-plugin: maybe-all-stage2-libiberty
57813 all-stage3-lto-plugin: maybe-all-stage3-libiberty
57814 all-stage4-lto-plugin: maybe-all-stage4-libiberty
57815 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
57816 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
57817 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
57818 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
57819 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
57820 all-lto-plugin: maybe-all-libiberty-linker-plugin
57822 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
57823 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
57824 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
57825 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
57826 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
57827 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
57828 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
57829 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
57830 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
57831 configure-libcc1: maybe-configure-gcc
57832 all-libcc1: maybe-all-gcc
57833 all-gotools: maybe-all-target-libgo
57834 all-utils: maybe-all-libiberty
57835 configure-intl: maybe-all-libiconv
57837 configure-stage1-intl: maybe-all-stage1-libiconv
57838 configure-stage2-intl: maybe-all-stage2-libiconv
57839 configure-stage3-intl: maybe-all-stage3-libiconv
57840 configure-stage4-intl: maybe-all-stage4-libiconv
57841 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
57842 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
57843 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
57844 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
57845 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
57846 configure-mpfr: maybe-all-gmp
57848 configure-stage1-mpfr: maybe-all-stage1-gmp
57849 configure-stage2-mpfr: maybe-all-stage2-gmp
57850 configure-stage3-mpfr: maybe-all-stage3-gmp
57851 configure-stage4-mpfr: maybe-all-stage4-gmp
57852 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
57853 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
57854 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
57855 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
57856 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
57857 configure-mpc: maybe-all-mpfr
57859 configure-stage1-mpc: maybe-all-stage1-mpfr
57860 configure-stage2-mpc: maybe-all-stage2-mpfr
57861 configure-stage3-mpc: maybe-all-stage3-mpfr
57862 configure-stage4-mpc: maybe-all-stage4-mpfr
57863 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
57864 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
57865 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
57866 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
57867 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
57868 configure-isl: maybe-all-gmp
57870 configure-stage1-isl: maybe-all-stage1-gmp
57871 configure-stage2-isl: maybe-all-stage2-gmp
57872 configure-stage3-isl: maybe-all-stage3-gmp
57873 configure-stage4-isl: maybe-all-stage4-gmp
57874 configure-stageprofile-isl: maybe-all-stageprofile-gmp
57875 configure-stagetrain-isl: maybe-all-stagetrain-gmp
57876 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
57877 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
57878 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
57879 all-intl: maybe-all-libiconv
57881 all-stage1-intl: maybe-all-stage1-libiconv
57882 all-stage2-intl: maybe-all-stage2-libiconv
57883 all-stage3-intl: maybe-all-stage3-libiconv
57884 all-stage4-intl: maybe-all-stage4-libiconv
57885 all-stageprofile-intl: maybe-all-stageprofile-libiconv
57886 all-stagetrain-intl: maybe-all-stagetrain-libiconv
57887 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
57888 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
57889 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
57890 configure-gdb: maybe-all-intl
57891 configure-gdb: maybe-configure-sim
57892 configure-gdb: maybe-all-bfd
57893 configure-gdb: maybe-all-libiconv
57894 all-gdb: maybe-all-libiberty
57895 all-gdb: maybe-all-libiconv
57896 all-gdb: maybe-all-opcodes
57897 all-gdb: maybe-all-readline
57898 all-gdb: maybe-all-build-bison
57899 all-gdb: maybe-all-sim
57900 all-gdb: maybe-all-libdecnumber
57901 all-gdb: maybe-all-libtermcap
57902 configure-libgui: maybe-configure-tcl
57903 configure-libgui: maybe-configure-tk
57904 all-libgui: maybe-all-tcl
57905 all-libgui: maybe-all-tk
57906 all-libgui: maybe-all-itcl
57907 configure-bfd: configure-libiberty
57909 configure-stage1-bfd: configure-stage1-libiberty
57910 configure-stage2-bfd: configure-stage2-libiberty
57911 configure-stage3-bfd: configure-stage3-libiberty
57912 configure-stage4-bfd: configure-stage4-libiberty
57913 configure-stageprofile-bfd: configure-stageprofile-libiberty
57914 configure-stagetrain-bfd: configure-stagetrain-libiberty
57915 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
57916 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
57917 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
57918 configure-bfd: maybe-configure-intl
57920 configure-stage1-bfd: maybe-configure-stage1-intl
57921 configure-stage2-bfd: maybe-configure-stage2-intl
57922 configure-stage3-bfd: maybe-configure-stage3-intl
57923 configure-stage4-bfd: maybe-configure-stage4-intl
57924 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
57925 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
57926 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
57927 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
57928 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
57929 all-bfd: maybe-all-libiberty
57931 all-stage1-bfd: maybe-all-stage1-libiberty
57932 all-stage2-bfd: maybe-all-stage2-libiberty
57933 all-stage3-bfd: maybe-all-stage3-libiberty
57934 all-stage4-bfd: maybe-all-stage4-libiberty
57935 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
57936 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
57937 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
57938 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
57939 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
57940 all-bfd: maybe-all-intl
57942 all-stage1-bfd: maybe-all-stage1-intl
57943 all-stage2-bfd: maybe-all-stage2-intl
57944 all-stage3-bfd: maybe-all-stage3-intl
57945 all-stage4-bfd: maybe-all-stage4-intl
57946 all-stageprofile-bfd: maybe-all-stageprofile-intl
57947 all-stagetrain-bfd: maybe-all-stagetrain-intl
57948 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
57949 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
57950 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
57951 all-bfd: maybe-all-zlib
57953 all-stage1-bfd: maybe-all-stage1-zlib
57954 all-stage2-bfd: maybe-all-stage2-zlib
57955 all-stage3-bfd: maybe-all-stage3-zlib
57956 all-stage4-bfd: maybe-all-stage4-zlib
57957 all-stageprofile-bfd: maybe-all-stageprofile-zlib
57958 all-stagetrain-bfd: maybe-all-stagetrain-zlib
57959 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
57960 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
57961 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
57962 configure-opcodes: configure-libiberty
57964 configure-stage1-opcodes: configure-stage1-libiberty
57965 configure-stage2-opcodes: configure-stage2-libiberty
57966 configure-stage3-opcodes: configure-stage3-libiberty
57967 configure-stage4-opcodes: configure-stage4-libiberty
57968 configure-stageprofile-opcodes: configure-stageprofile-libiberty
57969 configure-stagetrain-opcodes: configure-stagetrain-libiberty
57970 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
57971 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
57972 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
57973 all-opcodes: maybe-all-libiberty
57975 all-stage1-opcodes: maybe-all-stage1-libiberty
57976 all-stage2-opcodes: maybe-all-stage2-libiberty
57977 all-stage3-opcodes: maybe-all-stage3-libiberty
57978 all-stage4-opcodes: maybe-all-stage4-libiberty
57979 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
57980 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
57981 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
57982 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
57983 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
57984 configure-binutils: maybe-configure-intl
57986 configure-stage1-binutils: maybe-configure-stage1-intl
57987 configure-stage2-binutils: maybe-configure-stage2-intl
57988 configure-stage3-binutils: maybe-configure-stage3-intl
57989 configure-stage4-binutils: maybe-configure-stage4-intl
57990 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
57991 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
57992 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
57993 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
57994 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
57995 all-binutils: maybe-all-libiberty
57997 all-stage1-binutils: maybe-all-stage1-libiberty
57998 all-stage2-binutils: maybe-all-stage2-libiberty
57999 all-stage3-binutils: maybe-all-stage3-libiberty
58000 all-stage4-binutils: maybe-all-stage4-libiberty
58001 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
58002 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
58003 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
58004 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
58005 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
58006 all-binutils: maybe-all-opcodes
58008 all-stage1-binutils: maybe-all-stage1-opcodes
58009 all-stage2-binutils: maybe-all-stage2-opcodes
58010 all-stage3-binutils: maybe-all-stage3-opcodes
58011 all-stage4-binutils: maybe-all-stage4-opcodes
58012 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
58013 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
58014 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
58015 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
58016 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
58017 all-binutils: maybe-all-bfd
58019 all-stage1-binutils: maybe-all-stage1-bfd
58020 all-stage2-binutils: maybe-all-stage2-bfd
58021 all-stage3-binutils: maybe-all-stage3-bfd
58022 all-stage4-binutils: maybe-all-stage4-bfd
58023 all-stageprofile-binutils: maybe-all-stageprofile-bfd
58024 all-stagetrain-binutils: maybe-all-stagetrain-bfd
58025 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
58026 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
58027 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
58028 all-binutils: maybe-all-build-flex
58030 all-stage1-binutils: maybe-all-build-flex
58031 all-stage2-binutils: maybe-all-build-flex
58032 all-stage3-binutils: maybe-all-build-flex
58033 all-stage4-binutils: maybe-all-build-flex
58034 all-stageprofile-binutils: maybe-all-build-flex
58035 all-stagetrain-binutils: maybe-all-build-flex
58036 all-stagefeedback-binutils: maybe-all-build-flex
58037 all-stageautoprofile-binutils: maybe-all-build-flex
58038 all-stageautofeedback-binutils: maybe-all-build-flex
58039 all-binutils: maybe-all-build-bison
58041 all-stage1-binutils: maybe-all-build-bison
58042 all-stage2-binutils: maybe-all-build-bison
58043 all-stage3-binutils: maybe-all-build-bison
58044 all-stage4-binutils: maybe-all-build-bison
58045 all-stageprofile-binutils: maybe-all-build-bison
58046 all-stagetrain-binutils: maybe-all-build-bison
58047 all-stagefeedback-binutils: maybe-all-build-bison
58048 all-stageautoprofile-binutils: maybe-all-build-bison
58049 all-stageautofeedback-binutils: maybe-all-build-bison
58050 all-binutils: maybe-all-intl
58052 all-stage1-binutils: maybe-all-stage1-intl
58053 all-stage2-binutils: maybe-all-stage2-intl
58054 all-stage3-binutils: maybe-all-stage3-intl
58055 all-stage4-binutils: maybe-all-stage4-intl
58056 all-stageprofile-binutils: maybe-all-stageprofile-intl
58057 all-stagetrain-binutils: maybe-all-stagetrain-intl
58058 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
58059 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
58060 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
58061 all-binutils: maybe-all-gas
58063 all-stage1-binutils: maybe-all-stage1-gas
58064 all-stage2-binutils: maybe-all-stage2-gas
58065 all-stage3-binutils: maybe-all-stage3-gas
58066 all-stage4-binutils: maybe-all-stage4-gas
58067 all-stageprofile-binutils: maybe-all-stageprofile-gas
58068 all-stagetrain-binutils: maybe-all-stagetrain-gas
58069 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
58070 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
58071 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
58072 install-binutils: maybe-install-opcodes
58073 install-strip-binutils: maybe-install-strip-opcodes
58074 install-opcodes: maybe-install-bfd
58075 install-strip-opcodes: maybe-install-strip-bfd
58076 configure-gas: maybe-configure-intl
58078 configure-stage1-gas: maybe-configure-stage1-intl
58079 configure-stage2-gas: maybe-configure-stage2-intl
58080 configure-stage3-gas: maybe-configure-stage3-intl
58081 configure-stage4-gas: maybe-configure-stage4-intl
58082 configure-stageprofile-gas: maybe-configure-stageprofile-intl
58083 configure-stagetrain-gas: maybe-configure-stagetrain-intl
58084 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
58085 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
58086 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
58087 all-gas: maybe-all-libiberty
58089 all-stage1-gas: maybe-all-stage1-libiberty
58090 all-stage2-gas: maybe-all-stage2-libiberty
58091 all-stage3-gas: maybe-all-stage3-libiberty
58092 all-stage4-gas: maybe-all-stage4-libiberty
58093 all-stageprofile-gas: maybe-all-stageprofile-libiberty
58094 all-stagetrain-gas: maybe-all-stagetrain-libiberty
58095 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
58096 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
58097 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
58098 all-gas: maybe-all-opcodes
58100 all-stage1-gas: maybe-all-stage1-opcodes
58101 all-stage2-gas: maybe-all-stage2-opcodes
58102 all-stage3-gas: maybe-all-stage3-opcodes
58103 all-stage4-gas: maybe-all-stage4-opcodes
58104 all-stageprofile-gas: maybe-all-stageprofile-opcodes
58105 all-stagetrain-gas: maybe-all-stagetrain-opcodes
58106 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
58107 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
58108 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
58109 all-gas: maybe-all-bfd
58111 all-stage1-gas: maybe-all-stage1-bfd
58112 all-stage2-gas: maybe-all-stage2-bfd
58113 all-stage3-gas: maybe-all-stage3-bfd
58114 all-stage4-gas: maybe-all-stage4-bfd
58115 all-stageprofile-gas: maybe-all-stageprofile-bfd
58116 all-stagetrain-gas: maybe-all-stagetrain-bfd
58117 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
58118 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
58119 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
58120 all-gas: maybe-all-intl
58122 all-stage1-gas: maybe-all-stage1-intl
58123 all-stage2-gas: maybe-all-stage2-intl
58124 all-stage3-gas: maybe-all-stage3-intl
58125 all-stage4-gas: maybe-all-stage4-intl
58126 all-stageprofile-gas: maybe-all-stageprofile-intl
58127 all-stagetrain-gas: maybe-all-stagetrain-intl
58128 all-stagefeedback-gas: maybe-all-stagefeedback-intl
58129 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
58130 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
58131 configure-gprof: maybe-configure-intl
58132 all-gprof: maybe-all-libiberty
58133 all-gprof: maybe-all-bfd
58134 all-gprof: maybe-all-opcodes
58135 all-gprof: maybe-all-intl
58136 all-gprof: maybe-all-gas
58137 configure-ld: maybe-configure-intl
58139 configure-stage1-ld: maybe-configure-stage1-intl
58140 configure-stage2-ld: maybe-configure-stage2-intl
58141 configure-stage3-ld: maybe-configure-stage3-intl
58142 configure-stage4-ld: maybe-configure-stage4-intl
58143 configure-stageprofile-ld: maybe-configure-stageprofile-intl
58144 configure-stagetrain-ld: maybe-configure-stagetrain-intl
58145 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
58146 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
58147 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
58148 all-ld: maybe-all-libiberty
58150 all-stage1-ld: maybe-all-stage1-libiberty
58151 all-stage2-ld: maybe-all-stage2-libiberty
58152 all-stage3-ld: maybe-all-stage3-libiberty
58153 all-stage4-ld: maybe-all-stage4-libiberty
58154 all-stageprofile-ld: maybe-all-stageprofile-libiberty
58155 all-stagetrain-ld: maybe-all-stagetrain-libiberty
58156 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
58157 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
58158 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
58159 all-ld: maybe-all-bfd
58161 all-stage1-ld: maybe-all-stage1-bfd
58162 all-stage2-ld: maybe-all-stage2-bfd
58163 all-stage3-ld: maybe-all-stage3-bfd
58164 all-stage4-ld: maybe-all-stage4-bfd
58165 all-stageprofile-ld: maybe-all-stageprofile-bfd
58166 all-stagetrain-ld: maybe-all-stagetrain-bfd
58167 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
58168 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
58169 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
58170 all-ld: maybe-all-opcodes
58172 all-stage1-ld: maybe-all-stage1-opcodes
58173 all-stage2-ld: maybe-all-stage2-opcodes
58174 all-stage3-ld: maybe-all-stage3-opcodes
58175 all-stage4-ld: maybe-all-stage4-opcodes
58176 all-stageprofile-ld: maybe-all-stageprofile-opcodes
58177 all-stagetrain-ld: maybe-all-stagetrain-opcodes
58178 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
58179 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
58180 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
58181 all-ld: maybe-all-build-bison
58183 all-stage1-ld: maybe-all-build-bison
58184 all-stage2-ld: maybe-all-build-bison
58185 all-stage3-ld: maybe-all-build-bison
58186 all-stage4-ld: maybe-all-build-bison
58187 all-stageprofile-ld: maybe-all-build-bison
58188 all-stagetrain-ld: maybe-all-build-bison
58189 all-stagefeedback-ld: maybe-all-build-bison
58190 all-stageautoprofile-ld: maybe-all-build-bison
58191 all-stageautofeedback-ld: maybe-all-build-bison
58192 all-ld: maybe-all-build-flex
58194 all-stage1-ld: maybe-all-build-flex
58195 all-stage2-ld: maybe-all-build-flex
58196 all-stage3-ld: maybe-all-build-flex
58197 all-stage4-ld: maybe-all-build-flex
58198 all-stageprofile-ld: maybe-all-build-flex
58199 all-stagetrain-ld: maybe-all-build-flex
58200 all-stagefeedback-ld: maybe-all-build-flex
58201 all-stageautoprofile-ld: maybe-all-build-flex
58202 all-stageautofeedback-ld: maybe-all-build-flex
58203 all-ld: maybe-all-intl
58205 all-stage1-ld: maybe-all-stage1-intl
58206 all-stage2-ld: maybe-all-stage2-intl
58207 all-stage3-ld: maybe-all-stage3-intl
58208 all-stage4-ld: maybe-all-stage4-intl
58209 all-stageprofile-ld: maybe-all-stageprofile-intl
58210 all-stagetrain-ld: maybe-all-stagetrain-intl
58211 all-stagefeedback-ld: maybe-all-stagefeedback-intl
58212 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
58213 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
58214 all-ld: maybe-all-gas
58216 all-stage1-ld: maybe-all-stage1-gas
58217 all-stage2-ld: maybe-all-stage2-gas
58218 all-stage3-ld: maybe-all-stage3-gas
58219 all-stage4-ld: maybe-all-stage4-gas
58220 all-stageprofile-ld: maybe-all-stageprofile-gas
58221 all-stagetrain-ld: maybe-all-stagetrain-gas
58222 all-stagefeedback-ld: maybe-all-stagefeedback-gas
58223 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
58224 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
58225 all-ld: maybe-all-binutils
58227 all-stage1-ld: maybe-all-stage1-binutils
58228 all-stage2-ld: maybe-all-stage2-binutils
58229 all-stage3-ld: maybe-all-stage3-binutils
58230 all-stage4-ld: maybe-all-stage4-binutils
58231 all-stageprofile-ld: maybe-all-stageprofile-binutils
58232 all-stagetrain-ld: maybe-all-stagetrain-binutils
58233 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
58234 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
58235 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
58236 install-ld: maybe-install-gold
58237 install-strip-ld: maybe-install-strip-gold
58238 configure-gold: maybe-configure-intl
58240 configure-stage1-gold: maybe-configure-stage1-intl
58241 configure-stage2-gold: maybe-configure-stage2-intl
58242 configure-stage3-gold: maybe-configure-stage3-intl
58243 configure-stage4-gold: maybe-configure-stage4-intl
58244 configure-stageprofile-gold: maybe-configure-stageprofile-intl
58245 configure-stagetrain-gold: maybe-configure-stagetrain-intl
58246 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
58247 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
58248 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
58249 all-gold: maybe-all-libiberty
58251 all-stage1-gold: maybe-all-stage1-libiberty
58252 all-stage2-gold: maybe-all-stage2-libiberty
58253 all-stage3-gold: maybe-all-stage3-libiberty
58254 all-stage4-gold: maybe-all-stage4-libiberty
58255 all-stageprofile-gold: maybe-all-stageprofile-libiberty
58256 all-stagetrain-gold: maybe-all-stagetrain-libiberty
58257 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
58258 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
58259 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
58260 all-gold: maybe-all-intl
58262 all-stage1-gold: maybe-all-stage1-intl
58263 all-stage2-gold: maybe-all-stage2-intl
58264 all-stage3-gold: maybe-all-stage3-intl
58265 all-stage4-gold: maybe-all-stage4-intl
58266 all-stageprofile-gold: maybe-all-stageprofile-intl
58267 all-stagetrain-gold: maybe-all-stagetrain-intl
58268 all-stagefeedback-gold: maybe-all-stagefeedback-intl
58269 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
58270 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
58271 all-gold: maybe-all-bfd
58273 all-stage1-gold: maybe-all-stage1-bfd
58274 all-stage2-gold: maybe-all-stage2-bfd
58275 all-stage3-gold: maybe-all-stage3-bfd
58276 all-stage4-gold: maybe-all-stage4-bfd
58277 all-stageprofile-gold: maybe-all-stageprofile-bfd
58278 all-stagetrain-gold: maybe-all-stagetrain-bfd
58279 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
58280 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
58281 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
58282 all-gold: maybe-all-build-bison
58284 all-stage1-gold: maybe-all-build-bison
58285 all-stage2-gold: maybe-all-build-bison
58286 all-stage3-gold: maybe-all-build-bison
58287 all-stage4-gold: maybe-all-build-bison
58288 all-stageprofile-gold: maybe-all-build-bison
58289 all-stagetrain-gold: maybe-all-build-bison
58290 all-stagefeedback-gold: maybe-all-build-bison
58291 all-stageautoprofile-gold: maybe-all-build-bison
58292 all-stageautofeedback-gold: maybe-all-build-bison
58293 all-gold: maybe-all-gas
58295 all-stage1-gold: maybe-all-stage1-gas
58296 all-stage2-gold: maybe-all-stage2-gas
58297 all-stage3-gold: maybe-all-stage3-gas
58298 all-stage4-gold: maybe-all-stage4-gas
58299 all-stageprofile-gold: maybe-all-stageprofile-gas
58300 all-stagetrain-gold: maybe-all-stagetrain-gas
58301 all-stagefeedback-gold: maybe-all-stagefeedback-gas
58302 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58303 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58304 check-gold: maybe-all-binutils
58306 check-stage1-gold: maybe-all-stage1-binutils
58307 check-stage2-gold: maybe-all-stage2-binutils
58308 check-stage3-gold: maybe-all-stage3-binutils
58309 check-stage4-gold: maybe-all-stage4-binutils
58310 check-stageprofile-gold: maybe-all-stageprofile-binutils
58311 check-stagetrain-gold: maybe-all-stagetrain-binutils
58312 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
58313 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
58314 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
58315 check-gold: maybe-all-gas
58317 check-stage1-gold: maybe-all-stage1-gas
58318 check-stage2-gold: maybe-all-stage2-gas
58319 check-stage3-gold: maybe-all-stage3-gas
58320 check-stage4-gold: maybe-all-stage4-gas
58321 check-stageprofile-gold: maybe-all-stageprofile-gas
58322 check-stagetrain-gold: maybe-all-stagetrain-gas
58323 check-stagefeedback-gold: maybe-all-stagefeedback-gas
58324 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58325 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58326 configure-opcodes: maybe-configure-intl
58328 configure-stage1-opcodes: maybe-configure-stage1-intl
58329 configure-stage2-opcodes: maybe-configure-stage2-intl
58330 configure-stage3-opcodes: maybe-configure-stage3-intl
58331 configure-stage4-opcodes: maybe-configure-stage4-intl
58332 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
58333 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
58334 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
58335 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
58336 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
58337 all-opcodes: maybe-all-bfd
58339 all-stage1-opcodes: maybe-all-stage1-bfd
58340 all-stage2-opcodes: maybe-all-stage2-bfd
58341 all-stage3-opcodes: maybe-all-stage3-bfd
58342 all-stage4-opcodes: maybe-all-stage4-bfd
58343 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
58344 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
58345 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
58346 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
58347 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
58348 all-opcodes: maybe-all-libiberty
58350 all-stage1-opcodes: maybe-all-stage1-libiberty
58351 all-stage2-opcodes: maybe-all-stage2-libiberty
58352 all-stage3-opcodes: maybe-all-stage3-libiberty
58353 all-stage4-opcodes: maybe-all-stage4-libiberty
58354 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58355 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
58356 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58357 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
58358 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
58359 all-opcodes: maybe-all-intl
58361 all-stage1-opcodes: maybe-all-stage1-intl
58362 all-stage2-opcodes: maybe-all-stage2-intl
58363 all-stage3-opcodes: maybe-all-stage3-intl
58364 all-stage4-opcodes: maybe-all-stage4-intl
58365 all-stageprofile-opcodes: maybe-all-stageprofile-intl
58366 all-stagetrain-opcodes: maybe-all-stagetrain-intl
58367 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
58368 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
58369 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
58370 all-dejagnu: maybe-all-tcl
58371 all-dejagnu: maybe-all-expect
58372 all-dejagnu: maybe-all-tk
58373 configure-expect: maybe-configure-tcl
58374 configure-expect: maybe-configure-tk
58375 all-expect: maybe-all-tcl
58376 all-expect: maybe-all-tk
58377 configure-itcl: maybe-configure-tcl
58378 configure-itcl: maybe-configure-tk
58379 all-itcl: maybe-all-tcl
58380 all-itcl: maybe-all-tk
58381 install-itcl: maybe-install-tcl
58382 install-strip-itcl: maybe-install-strip-tcl
58383 configure-tk: maybe-configure-tcl
58384 all-tk: maybe-all-tcl
58385 all-sid: maybe-all-libiberty
58386 all-sid: maybe-all-bfd
58387 all-sid: maybe-all-opcodes
58388 all-sid: maybe-all-tcl
58389 all-sid: maybe-all-tk
58390 install-sid: maybe-install-tcl
58391 install-strip-sid: maybe-install-strip-tcl
58392 install-sid: maybe-install-tk
58393 install-strip-sid: maybe-install-strip-tk
58394 configure-sim: maybe-configure-intl
58395 all-sim: maybe-all-intl
58396 all-sim: maybe-all-libiberty
58397 all-sim: maybe-all-bfd
58398 all-sim: maybe-all-opcodes
58399 all-sim: maybe-all-readline
58400 all-sim: maybe-configure-gdb
58401 all-fastjar: maybe-all-zlib
58402 all-fastjar: maybe-all-build-texinfo
58403 all-fastjar: maybe-all-libiberty
58404 all-bison: maybe-all-intl
58405 all-bison: maybe-all-build-texinfo
58406 all-flex: maybe-all-build-bison
58407 all-flex: maybe-all-intl
58408 all-flex: maybe-all-m4
58409 all-flex: maybe-all-build-texinfo
58410 all-m4: maybe-all-intl
58411 all-m4: maybe-all-build-texinfo
58412 configure-target-fastjar: maybe-configure-target-zlib
58413 all-target-fastjar: maybe-all-target-zlib
58414 configure-target-libgo: maybe-configure-target-libffi
58415 configure-target-libgo: maybe-all-target-libstdc++-v3
58416 all-target-libgo: maybe-all-target-libbacktrace
58417 all-target-libgo: maybe-all-target-libffi
58418 all-target-libgo: maybe-all-target-libatomic
58419 configure-target-libstdc++-v3: maybe-configure-target-libgomp
58421 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
58422 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
58423 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
58424 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
58425 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
58426 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
58427 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
58428 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
58429 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
58430 configure-target-liboffloadmic: maybe-configure-target-libgomp
58431 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
58433 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
58434 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
58435 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
58436 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
58437 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
58438 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
58439 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
58440 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
58441 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
58442 configure-target-libvtv: maybe-all-target-libstdc++-v3
58444 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
58445 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
58446 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
58447 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
58448 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
58449 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
58450 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
58451 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
58452 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
58453 all-target-libstdc++-v3: maybe-configure-target-libgomp
58455 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
58456 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
58457 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
58458 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
58459 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
58460 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
58461 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
58462 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
58463 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
58464 all-target-liboffloadmic: maybe-all-target-libgomp
58465 install-target-libgo: maybe-install-target-libatomic
58466 install-target-libgfortran: maybe-install-target-libquadmath
58467 install-target-libgfortran: maybe-install-target-libgcc
58468 install-target-libsanitizer: maybe-install-target-libstdc++-v3
58469 install-target-libsanitizer: maybe-install-target-libgcc
58470 install-target-libvtv: maybe-install-target-libstdc++-v3
58471 install-target-libvtv: maybe-install-target-libgcc
58472 install-target-libcilkrts: maybe-install-target-libstdc++-v3
58473 install-target-libcilkrts: maybe-install-target-libgcc
58474 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
58475 install-target-liboffloadmic: maybe-install-target-libgcc
58476 install-target-libitm: maybe-install-target-libgcc
58477 install-target-libobjc: maybe-install-target-libgcc
58478 install-target-libstdc++-v3: maybe-install-target-libgcc
58479 all-target-libgloss: maybe-all-target-newlib
58480 all-target-winsup: maybe-all-target-libtermcap
58481 configure-target-newlib: maybe-all-binutils
58482 configure-target-newlib: maybe-all-ld
58483 configure-target-libgfortran: maybe-all-target-libquadmath
58484 configure-target-libgfortran: maybe-all-target-libbacktrace
58487 # Dependencies for target modules on other target modules are
58488 # described by lang_env_dependencies; the defaults apply to anything
58489 # not mentioned there.
58492 @if gcc-bootstrap
58493 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
58494 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
58495 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
58496 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
58497 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
58498 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
58499 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
58500 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
58501 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
58502 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
58503 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
58504 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
58505 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
58506 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
58507 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
58508 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
58509 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
58510 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
58511 configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
58512 configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
58513 configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
58514 configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
58515 configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
58516 configure-stagetrain-target-libmpx: maybe-all-stagetrain-target-libgcc
58517 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
58518 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-target-libgcc
58519 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-target-libgcc
58520 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
58521 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
58522 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
58523 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
58524 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
58525 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
58526 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
58527 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
58528 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
58529 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
58530 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
58531 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
58532 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
58533 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
58534 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
58535 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
58536 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
58537 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
58538 @endif gcc-bootstrap
58540 @if gcc-no-bootstrap
58541 configure-target-libstdc++-v3: maybe-all-target-libgcc
58542 configure-target-libsanitizer: maybe-all-target-libgcc
58543 configure-target-libmpx: maybe-all-target-libgcc
58544 configure-target-libvtv: maybe-all-target-libgcc
58545 configure-target-libcilkrts: maybe-all-target-libgcc
58546 configure-target-liboffloadmic: maybe-all-target-libgcc
58547 configure-target-libssp: maybe-all-target-libgcc
58548 configure-target-newlib: maybe-all-target-libgcc
58549 configure-target-libbacktrace: maybe-all-target-libgcc
58550 configure-target-libquadmath: maybe-all-target-libgcc
58551 configure-target-libgfortran: maybe-all-target-libgcc
58552 configure-target-libobjc: maybe-all-target-libgcc
58553 configure-target-libgo: maybe-all-target-libgcc
58554 configure-target-libhsail-rt: maybe-all-target-libgcc
58555 configure-target-libtermcap: maybe-all-target-libgcc
58556 configure-target-winsup: maybe-all-target-libgcc
58557 configure-target-libgloss: maybe-all-target-libgcc
58558 configure-target-libffi: maybe-all-target-libgcc
58559 configure-target-zlib: maybe-all-target-libgcc
58560 configure-target-rda: maybe-all-target-libgcc
58561 configure-target-libada: maybe-all-target-libgcc
58562 configure-target-libgomp: maybe-all-target-libgcc
58563 configure-target-libitm: maybe-all-target-libgcc
58564 configure-target-libatomic: maybe-all-target-libgcc
58565 @endif gcc-no-bootstrap
58568 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
58570 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
58572 configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
58574 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
58576 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
58577 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
58579 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
58580 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
58582 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
58586 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
58588 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
58590 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
58592 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
58594 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
58596 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
58598 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
58600 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
58603 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
58604 configure-target-libffi: maybe-all-target-libstdc++-v3
58606 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
58608 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
58610 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
58612 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
58614 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
58615 configure-target-libitm: maybe-all-target-libstdc++-v3
58617 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
58620 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
58621 GDB_TK = @GDB_TK@
58622 INSTALL_GDB_TK = @INSTALL_GDB_TK@
58623 configure-gdb: $(CONFIGURE_GDB_TK)
58624 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
58625 install-gdb: $(INSTALL_GDB_TK)
58627 # Serialization dependencies. Host configures don't work well in parallel to
58628 # each other, due to contention over config.cache. Target configures and
58629 # build configures are similar.
58630 @serialization_dependencies@
58632 # --------------------------------
58633 # Regenerating top level configury
58634 # --------------------------------
58636 # Rebuilding Makefile.in, using autogen.
58637 AUTOGEN = autogen
58638 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
58639 cd $(srcdir) && $(AUTOGEN) Makefile.def
58641 # Rebuilding Makefile.
58642 Makefile: $(srcdir)/Makefile.in config.status
58643 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
58645 config.status: configure
58646 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
58648 # Rebuilding configure.
58649 AUTOCONF = autoconf
58650 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
58651 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
58652 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
58653 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
58654 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
58655 cd $(srcdir) && $(AUTOCONF)
58657 # ------------------------------
58658 # Special directives to GNU Make
58659 # ------------------------------
58661 # Don't pass command-line variables to submakes.
58662 .NOEXPORT:
58663 MAKEOVERRIDES=
58665 # end of Makefile.in